added wool games stats card

This commit is contained in:
2025-09-10 19:08:04 +02:00
parent 00a423d270
commit 425bdda9c4
4 changed files with 35 additions and 2 deletions

View File

@@ -9,7 +9,8 @@ import {
pitStats,
skywarsStatsSchema,
tntGamesStatsSchema,
uhcSchema
uhcSchema,
woolGamesStatsSchema
} from "./stats"
export const playerSchema = z.looseObject({
@@ -34,7 +35,8 @@ export const playerSchema = z.looseObject({
Pit: pitStats.optional(),
TNTGames: tntGamesStatsSchema.optional(),
Walls3: megawallsStats.optional(),
MCGO: copsAndCrimsStatsSchema.optional()
MCGO: copsAndCrimsStatsSchema.optional(),
WoolGames: woolGamesStatsSchema.optional()
}).transform(({ Walls3, MCGO, ...rest }) => {
return {
MegaWalls: Walls3,

View File

@@ -723,3 +723,5 @@ export const copsAndCrimsStatsSchema = z.looseObject({
sniper_charge_bonus: z.number().default(0),
...copsAndCrimsGunUpgrades()
})
export const woolGamesStatsSchema = z.looseObject({})