Made everythjing be as const

This commit is contained in:
2025-09-01 14:22:47 +02:00
parent b4ecd2e607
commit 658f664366
3 changed files with 17 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
export const TITLE = "SkyWars"
export const INITIAL_XP = [0, 20, 70, 150, 250, 500, 1000, 2000, 3500, 6000, 10000, 15000]
export const RECURRING_XP = 10000
export const TITLE = "SkyWars" as const
export const INITIAL_XP = [0, 20, 70, 150, 250, 500, 1000, 2000, 3500, 6000, 10000, 15000] as const
export const RECURRING_XP = 10000 as const
export const PRESTIGES = [
{ level: 0, color: "gray", b_color: "gray", name: "None" },
@@ -34,7 +34,7 @@ export const PRESTIGES = [
{ level: 140, color: "red", b_color: "green", name: "Warlock" },
{ level: 145, color: "aqua", b_color: "green", name: "Emperor" },
{ level: 150, color: "rainbow", b_color: "red", name: "Mythic" }
]
] as const
export const ICONS = {
default: "\u22c6", // ⋆
@@ -82,7 +82,7 @@ export const ICONS = {
mythic_prestige: "\u0ca0_\u0ca0", // ಠ_ಠ
favor_icon: "\u2694", // ⚔
omega_icon: "\u03a9" // Ω
}
} as const
export const MODES = [
{ id: "_ranked", name: "Ranked" },
@@ -93,7 +93,7 @@ export const MODES = [
{ id: "_mega_normal", name: "Mega" },
{ id: "_mega_doubles", name: "Mega Doubles" },
{ id: "", name: "Overall" }
]
] as const
export const HEADS = [
{ id: "eww", name: "Eww!", color: "dark-gray" },
@@ -106,4 +106,4 @@ export const HEADS = [
{ id: "sweet", name: "Sweet", color: "aqua" },
{ id: "divine", name: "Divine", color: "gold" },
{ id: "heavenly", name: "Heavenly", color: "dark-purple" }
]
] as const