feat: introduce weekly bonus for daily rewards, updating calculations, configuration, and command UI.

This commit is contained in:
syntaxbullet
2025-12-22 13:16:44 +01:00
parent b7b1dd87b8
commit f859618367
4 changed files with 34 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ export interface GameConfigType {
daily: {
amount: bigint;
streakBonus: bigint;
weeklyBonus: bigint;
cooldownMs: number;
},
transfers: {
@@ -79,6 +80,7 @@ const configSchema = z.object({
daily: z.object({
amount: bigIntSchema,
streakBonus: bigIntSchema,
weeklyBonus: bigIntSchema.default(50n),
cooldownMs: z.number(),
}),
transfers: z.object({