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,4 +1,4 @@
export const TITLE = "Bed Wars"
export const TITLE = "Bed Wars" as const
export const PRESTIGES = [
{ level: 0, colormap: "7", color: "gray", name: "None" },
{ level: 100, colormap: "f", color: "white", name: "Iron" },
@@ -51,13 +51,13 @@ export const PRESTIGES = [
{ level: 4800, colormap: "55c6eb3", color: "purple", name: "Autumn" },
{ level: 4900, colormap: "2affaa2", color: "green", name: "Mystic" },
{ level: 5000, colormap: "4459910", color: "dark-red", name: "Eternal" }
]
] as const
export const PRESTIGE_ICONS = [
{ level: 0, symbol: "✫" },
{ level: 1100, symbol: "✪" },
{ level: 2100, symbol: "⚝" },
{ level: 3100, symbol: "✥" }
]
] as const
export const MODES = [
{ id: "eight_one_", name: "Solo" },
{ id: "eight_two_", name: "Doubles" },
@@ -82,13 +82,13 @@ export const MODES = [
{ id: "four_four_underworld_", name: "Underworld 4v4v4v4" },
{ id: "castle_", name: "Castle" },
{ id: "", name: "Overall" }
]
] as const
export const PRACTICEMODES = [
{ id: "bridging", name: "Bridging" },
{ id: "mlg", name: "MLG" },
{ id: "fireball_jumping", name: "Fireball/TNT Jumping" },
{ id: "pearl_clutching", name: "Pearl Clutching" }
]
] as const
export const PRACTICEBRIDGING = {
bridging_distance: [30, 50, 100],
elevation: [
@@ -100,7 +100,7 @@ export const PRACTICEBRIDGING = {
{ id: "STRAIGHT", name: "Straight" },
{ id: "DIAGONAL", name: "Diagonal" }
]
}
} as const
export const SLUMBER_WALLETS = {
"MINI_WALLET": 25,
"LIGHT_SLUMBERS_WALLET": 99,
@@ -108,7 +108,7 @@ export const SLUMBER_WALLETS = {
"EXPLORERS_WALLET": 5000,
"HOTEL_STAFF_WALLET": 10000,
"PLATINUM_MEMBERSHIP_WALLET": 100000
}
} as const
export const SLUMBER_ROOMS = [
{ id: "room_1", name: "Throne Door" },
{ id: "room_2", name: "Hotel Door" },
@@ -123,4 +123,4 @@ export const SLUMBER_ROOMS = [
{ id: "room_11", name: "D\xa0\xa0\xa0o\xa0\xa00\xa0\xa0\xa0\xa0\xa0\xa0r" },
{ id: "room_12", name: "Garage Door" },
{ id: "owners_office", name: "Owner's Office" }
]
] as const

View File

@@ -13,7 +13,7 @@ export const MULTIPLIER = [
{ level: 150, value: 6.5 },
{ level: 200, value: 7 },
{ level: 250, value: 8 }
]
] as const
export const RANKMULTIPLIER = {
VIP: { value: 2, name: "VIP" },
@@ -21,5 +21,4 @@ export const RANKMULTIPLIER = {
MVP: { value: 4, name: "MVP" },
MVP_PLUS: { value: 5, name: "MVP+" },
YOUTUBER: { value: 7, name: "YouTuber" }
}
} as const

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