local o=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local T=o:WaitForChild("\099\111\109\109\111\110")local m=require(T:WaitForChild("\069\113\117\105\112\109\101\110\116\082\101\110\100\101\114\101\114\115"))local M=require(script.Parent.util:WaitForChild("\098\121"))local N={{id="\104\097\116";image="\114\098\120\097\115\115\101\116\105\100\058\047\047\051\049\056\053\054\054\050\055\051\054",name="\072\097\116",maxEquipped=3;defaultRenderer=m.HatRenderer},{id="\102\097\099\101";image="\114\098\120\097\115\115\101\116\105\100\058\047\047\051\050\048\054\054\052\054\053\057\049";name="\070\097\099\101";maxEquipped=1,defaultRenderer=m.FaceRenderer};{id="\109\097\116\101\114\105\097\108",image="\114\098\120\097\115\115\101\116\105\100\058\047\047\051\049\056\053\054\054\050\051\056\049";name="\077\097\116\101\114\105\097\108";maxEquipped=1;defaultRenderer=m.MaterialRenderer};{id="\101\102\102\101\099\116",image="\114\098\120\097\115\115\101\116\105\100\058\047\047\051\049\056\053\054\054\050\053\049\048";name="\069\102\102\101\099\116";maxEquipped=3,defaultRenderer=m.EffectRenderer},{id="\112\101\116",image="\114\098\120\097\115\115\101\116\105\100\058\047\047\051\050\049\048\050\048\055\057\055\054",name="\080\101\116\115",maxEquipped=1;defaultRenderer=m.PetRenderer}}return{all=N,byId=M("\105\100",N)}
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local common = ReplicatedStorage:WaitForChild("common")
local EquipmentRenderers = require(common:WaitForChild("EquipmentRenderers"))

local by = require(script.Parent.util:WaitForChild("by"))

local catagories = {
    {
        id = "hat",
        image = "rbxassetid://3185662736", -- image used to represent this catagory
        name = "Hat",
        maxEquipped = 3,
        defaultRenderer = EquipmentRenderers.HatRenderer
    },
    {
        id = "face",
        image = "rbxassetid://3206646591",
        name = "Face",
        maxEquipped = 1,
        defaultRenderer = EquipmentRenderers.FaceRenderer
    },
    {
        id = "material",
        image = "rbxassetid://3185662381",
        name = "Material",
        maxEquipped = 1,
        defaultRenderer = EquipmentRenderers.MaterialRenderer
    },
    {
        id = "effect",
        image = "rbxassetid://3185662510",
        name = "Effect",
        maxEquipped = 3,
        defaultRenderer = EquipmentRenderers.EffectRenderer
    },
    -- {
    --     id = "tool",
    --     image = "rbxassetid://3185662627",
    --     name = "Tool",
    --     maxEquipped = 3,
    -- },
    -- {
    --     id = "ability",
    --     image = "rbxassetid://3185662029",
    --     name = "Ability",
    --     maxEquipped = 99,
    -- },
    {
        id = "pet",
        image = "rbxassetid://3210207976",
        name = "Pets",
        maxEquipped = 1,
        defaultRenderer = EquipmentRenderers.PetRenderer
    },
}

return {
    all = catagories,
    byId = by("id", catagories),
}