--!strict local Text = require(game:GetService("ReplicatedStorage"):WaitForChild("Hunter"):WaitForChild("Strings") :: ModuleScript).interface.RifleSkinCatalog local entries = table.freeze({ table.freeze({ id = "BlueFlame", name = Text.goluboePlamya, accent = Color3.fromRGB(100, 223, 255) }), table.freeze({ id = "ThunderBlade", name = Text.grozovoyKlinok, accent = Color3.fromRGB(193, 142, 255) }), table.freeze({ id = "CrimsonSeal", name = Text.alayaPechat, accent = Color3.fromRGB(255, 113, 81) }), table.freeze({ id = "Sakura", name = Text.sakura, accent = Color3.fromRGB(255, 161, 209) }), table.freeze({ id = "NeonGlitch", name = Text.neonovyySboy, accent = Color3.fromRGB(138, 255, 80) }), table.freeze({ id = "LunarOrbit", name = Text.lunnayaOrbita, accent = Color3.fromRGB(255, 210, 120) }), }) local Catalog = {} local function indexOf(id: unknown): number for index, entry in entries do if id == entry.id then return index end end return 1 end function Catalog.get(id: unknown) return entries[indexOf(id)] end function Catalog.next(id: unknown) return entries[indexOf(id) % #entries + 1] end return table.freeze(Catalog)