Module:Item/Type

From Growtopia
Revision as of 16:53, 23 March 2019 by >NekoPillow
Jump to navigationJump to search

Documentation for this module may be created at Module:Item/Type/doc

local p = {
    -- Category | NAME, DESCRIPTION, ICON, TYPE
    ["category"] = {
        [0] = {"Fist", "", "Fist", "Tool"},
        [1] = {"Wrench", "", "Wrench", "Tool"},
        [2] = {"Door", "Transports player to specified destination when punched", "Door", "Foreground"},
        [3] = {"Lock", "Protects tiles from editing by unauthorized players", "World Lock", "Foreground"},
        [4] = {"Gems", "", "Gems", "Foreground"},
        --5 - Treasure
        --6 - Deadly Block
        --7 - Trampoline Block
        [8] = {"Consumable","","",false},
        --9 - Gateway
        [10] = {"Sign","Displays a message when walked over","Sign","Foreground"},
        --11- SFX Foreground
        --12- Toggleable Foreground
        [13] = {"Main Door","Default entrance and exit of a world","Main Door","Foreground"},
        --14 - Platform
        [15] = {"Bedrock","Unbreakable block","Bedrock","Foreground"},
    },
    -- ClothingType | NAME, DESCRIPTION, ICON, TYPE
    ["clothingType"] = {
        [0] = {"Hat", "", "", "Clothes"},
        [1] = {"Shirt", "", "", "Clothes"},
        [2] = {"Pants", "", "", "Clothes"},
        [3] = {"Feet", "", "", "Clothes"},
        [4] = {"Face", "", "", "Clothes"},
        [5] = {"Hand", "", "", "Clothes"},
        [6] = {"Back", "", "", "Clothes"},
        [7] = {"Hair", "", "", "Clothes"},
        [8] = {"Chest", "", "", "Clothes"},
    },
    -- CollisionType | DESCRIPTION
    ["collisionType"] = {
        [0] = {"No Collision"},
        [1] = {"Full Collision"},
        [2] = {"Collision on top"},
        [3] = {"No Collision if accessed"},
        [4] = {"No Collision if turned on"},
        [5] = {"One Side Collision (Horizontal)"},
        [6] = {"No Collision if VIP"},
        [7] = {"One Side Collision (Vertical - Down Only)"},
        [8] = {"No Collision if collected adventure item"},
        [9] = {"No Collision if turned off"},
        [10] = {"No Collision if same team"},
        [11] = {"No Collision if same guild"},
        [12] = {"No Collision after stepped on (Timed)"}
    },
    -- TextureType | DESCRIPTION
    ["textureType"] = {
        [1] = {"Single"},
        [2] = {"8 Directional"},
        [3] = {"Horizontal"},
        [4] = {"Attach to wall (5 Sprites)"},
        [5] = {"4 Directional"},
        [6] = {"Random Sprites"},
        [7] = {"Vertical"},
        [8] = {"Horizontal (Cave Platform)"},
        [9] = {"Attach to wall (4 Sprites)"},
    }
}
return p