Module:Disassemble/data

-- -- blank template --	[] = { often = , sometimes = , rarely = , itemqty = 1, compqty = 8,			alias = {}, cat = , name =  }, -- -- NOTES: -- Do not include an item quantity of 1, this is done in the parent module (other default amounts are fine to include)

local data = { ['default'] = { often = 'Simple', rarely = 'Variable', compqty = 1, alias = {}, cat = 'default', name = 'Default disassembly items' }, ['clothing'] = { often = 'Cover, Padded, Simple', rarely = 'Variable', compqty = 1, x10 = true, alias = {}, cat = 'clothing', name = 'Clothing' },

['talisman'] = { often = 'Magic', sometimes = 'Crafted', rarely = 'Powerful', compqty = 1, alias = {}, cat = 'runes', name = 'Talismans' }, ['runes'] = { often = 'Magic', sometimes = 'Crafted', rarely = 'Powerful', itemqty = 50, compqty = 8, alias = {}, cat = 'runes', name = 'Runes and talismans' },

-- grouped with food: herbs ['food'] = { often = 'Organic', sometimes = 'Crafted', rarely = 'Living, Healthy, Enhancing', compqty = 1, alias = { 'herbs', 'herb' }, cat = 'food', name = 'Food and herbs' },

['uncut gems'] = { often = 'Clear, Delicate, Smooth', rarely = 'Precious, Light', compqty = 1, alias = {}, cat = 'gems', name = 'Gems' }, ['gems'] = { often = 'Clear, Delicate, Smooth', rarely = 'Precious, Light', compqty = 2, alias = { 'gems' }, cat = 'gems', name = 'Gems' },

-- grouped with logs untanned hides ['logs'] = { often = 'Simple', rarely = 'Living', compqty = 1, alias = { 'hides' }, cat = 'logs', name = 'Logs and hides' }, ['seeds'] = { often = 'Organic', rarely = 'Living', compqty = 1, alias = { 'seed' }, cat = 'seeds', name = 'Seeds' }, ['potions'] = { often = 'Delicate, Organic, Crafted', rarely = 'Healthy, Enhancing', compqty = 1, potion = true, alias = { 'potion', 'flask', 'flasks' }, cat = 'potions', name = 'Potions and flasks' },

['pouches'] = { often = 'Spiritual, Crafted, Flexible', rarely = 'Powerful', compqty = 3, alias = { 'pouch' }, cat = 'pouches', name = 'Pouches' }, ['scrolls'] = { often = 'Spiritual, Crafted', rarely = 'Powerful', itemqty = 10, compqty = 2, alias = { 'scroll' }, cat = 'scrolls', name = 'Scrolls' }, ['charms'] = { often = 'Spiritual', compqty = 1, alias = {}, cat = 'charms', name = 'Charms' },

['divination'] = { often = 'Magic', sometimes = 'Crafted', rarely = 'Ethereal', compqty = 3, alias = { 'divine location', 'portent', 'portents', 'sign', 'signs' }, cat = 'divination', name = 'Signs, portents, and divine locations' },

['remains'] = { often = 'Organic', rarely = 'Pious', compqty = 1, alias = {}, cat = 'bones', name = 'Bones and remains' }, ['bones'] = { often = 'Organic', rarely = 'Pious', compqty = 2, alias = {}, cat = 'bones', name = 'Bones and remains' }, ['ashes'] = { often = 'Organic', rarely = 'Pious, Ethereal', compqty = 2, alias = {}, cat = 'ashes', name = 'Ashes' },

['ores'] = { often = 'Simple', compqty = 1, alias = {}, cat = 'ores', name = 'Ore' }, ['bars'] = { often = 'Simple, Crafted', compqty = 2, alias = {}, cat = 'planks', name = 'Planks, bars, and leather' },

-- grouped with planks: tanned hides (leather) ['planks'] = { often = 'Simple, Crafted', compqty = 1, alias = { 'plank', 'leather' }, cat = 'planks', name = 'Planks, bars, and leather' },

['glass'] = { often = 'Clear, Delicate, Smooth', rarely = 'Enhancing', compqty = 2, alias = {}, cat = 'glass', name = 'Glass items' },

['crystal tool'] = { often = 'Crystal', sometimes = 'Clear, Delicate, Smooth', compqty = 3, alias = {}, cat = 'crystal tool', name = 'Crystal tools' },

-- =================	-- EQUIPMENT -- =================	['jewellery'] = { often = 'Delicate, Connector, Smooth', rarely = 'Precious, Enhancing', compqty = 5, x10 = true, alias = { 'jewelry' }, cat = 'jewellery', name = 'Jewellery' }, ['unstrung jewellery'] = { often = 'Delicate, Connector, Smooth', rarely = 'Precious, Enhancing', compqty = 2, x10 = true, alias = { 'jewellery (u)'}, cat = 'jewellery', name = 'Jewellery' },

-- melee items ['melee 8'] = { often = 'Cover, Plated, Deflecting', rarely = 'Strong, Protective', compqty = 8, x10 = true, alias = { 'melee legs', 'melee body', 'melee shield' }, cat = 'melee armour', name = 'Melee armour' }, ['melee 6'] = { often = 'Cover, Plated, Deflecting', rarely = 'Strong, Protective', compqty = 6, x10 = true, alias = { 'melee helm', 'melee cape' }, cat = 'melee armour', name = 'Melee armour' }, ['melee 4'] = { often = 'Cover, Plated, Deflecting', rarely = 'Strong, Protective', compqty = 4, x10 = true, alias = { 'melee gloves', 'melee boots' }, cat = 'melee armour', name = 'Melee armour' },

['dagger'] = { often = 'Base, Blade, Spiked', rarely = 'Precise, Light', compqty = 8, x10 = true, alias = {}, cat = 'dagger', name = 'Daggers' }, ['hatchet'] = { often = 'Head, Blade, Connector', rarely = 'Sharp, Strong', compqty = 8, x10 = true, alias = {}, cat = 'hatchet', name = 'Hatchets' }, ['mace'] = { often = 'Base, Head, Smooth', rarely = 'Heavy, Dextrous', compqty = 8, x10 = true, alias = {}, cat = 'mace', name = 'Maces' }, ['2h mace'] = { often = 'Base, Head, Smooth', rarely = 'Heavy, Dextrous', compqty = 12, x10 = true, alias = {}, cat = 'mace', name = 'Maces' }, ['sword'] = { often = 'Base, Blade, Metallic', rarely = 'Precise, Dextrous', compqty = 8, x10 = true, alias = {}, cat = 'sword', name = 'Swords' }, ['scimitar'] = { often = 'Base, Blade, Metallic', rarely = 'Sharp, Subtle', compqty = 8, x10 = true, alias = {}, cat = 'scimitar', name = 'Scimitars' }, ['pickaxe'] = { often = 'Base, Head, Spiked', rarely = 'Heavy, Direct', compqty = 8, x10 = true, alias = {}, cat = 'pickaxe', name = 'Pickaxes' }, ['maul'] = { often = 'Base, Head, Plated', rarely = 'Heavy, Strong', compqty = 12, x10 = true, alias = {}, cat = 'maul', name = 'Mauls' }, ['longsword'] = { often = 'Base, Blade, Metallic', rarely = 'Sharp, Dextrous', compqty = 8, x10 = true, alias = {}, cat = 'longsword', name = 'Longswords' }, ['warhammer'] = { often = 'Base, Head, Smooth', rarely = 'Heavy, Strong', compqty = 8, x10 = true, alias = {}, cat = 'warhammer', name = 'Warhammers' }, ['battleaxe'] = { often = 'Head, Blade, Smooth', rarely = 'Sharp, Direct', compqty = 8, x10 = true, alias = {}, cat = 'battleaxe', name = 'Battleaxes' }, ['claw'] = { often = 'Connector, Blade, Spiked', rarely = 'Sharp, Swift', compqty = 8, x10 = true, alias = {}, cat = 'claw', name = 'Claws' }, ['2h sword'] = { often = 'Base, Blade, Metallic', rarely = 'Sharp, Strong', compqty = 12, x10 = true, alias = {}, cat = '2h sword', name = 'Two-handed swords' }, ['spear'] = { often = 'Stave, Blade, Crafted', rarely = 'Precise, Direct', compqty = 12, x10 = true, alias = {}, cat = 'spear', name = 'Spears and hastae' }, ['hasta'] = { often = 'Stave, Blade, Crafted', rarely = 'Precise, Direct', compqty = 8, x10 = true, alias = {}, cat = 'spear', name = 'Spears and hastae' }, ['halberd'] = { often = 'Stave, Blade, Deflecting', rarely = 'Sharp, Stunning', compqty = 12, x10 = true, alias = {}, cat = 'halberd', name = 'Halberds' }, ['defender'] = { often = 'Base, Deflecting', sometimes = 'Precise, Subtle', compqty = 8, x10 = true, alias = {}, cat = 'defender', name = 'Defenders, reprisers, and rebounders' }, ['whip'] = { often = 'Connector, Flexible, Blade', rarely = 'Sharp, Subtle', compqty = 8, x10 = true, alias = {}, cat = 'whip', name = 'Whips' },

-- magic items ['magic 8'] = { often = 'Cover, Magic, Deflecting', rarely = 'Powerful, Protective', compqty = 8, x10 = true, alias = { 'magic shield', 'magic body', 'magic legs' }, cat = 'magic armour', name = 'Magic armour' }, ['magic 6'] = { often = 'Cover, Magic, Deflecting', rarely = 'Powerful, Protective', compqty = 6, x10 = true, alias = { 'magic helm', 'magic cape' }, cat = 'magic armour', name = 'Magic armour' }, ['magic 4'] = { often = 'Cover, Magic, Deflecting', rarely = 'Powerful, Protective', compqty = 4, x10 = true, alias = { 'magic boots', 'magic gloves' }, cat = 'magic armour', name = 'Magic armour' }, ['staff'] = { often = 'Stave, Magic, Padded', rarely = 'Powerful, Imbued', compqty = 12, x10 = true, alias = { 'staves' }, cat = 'staff', name = 'Staves' }, ['wands'] = { often = 'Base, Head, Magic', rarely = 'Precise, Imbued', compqty = 8, x10 = true, alias = { 'wand' }, cat = 'wand', name = 'Wands' }, ['orbs'] = { often = 'Delicate, Magic, Smooth', rarely = 'Enhancing, Ethereal', compqty = 8, x10 = true, alias = { 'orb', 'book', 'books' }, cat = 'orb', name = 'Magic off-hand weapons' },

-- ranged items ['ranged 8'] = { often = 'Cover, Tensile, Padded', rarely = 'Evasive, Protective', compqty = 8, x10 = true, alias = { 'ranged shield', 'ranged body', 'ranged legs' }, cat = 'ranged armour', name = 'Ranged armour' }, ['ranged 6'] = { often = 'Cover, Tensile, Padded', rarely = 'Evasive, Protective', compqty = 6, x10 = true, alias = { 'ranged cape', 'ranged helm' }, cat = 'ranged armour', name = 'Ranged armour' }, ['ranged 4'] = { often = 'Cover, Tensile, Padded', rarely = 'Evasive, Protective', compqty = 4, x10 = true, alias = { 'ranged boots', 'ranged gloves' }, cat = 'ranged armour', name = 'Ranged armour' },

['shortbows'] = { often = 'Stave, Tensile, Flexible', rarely = 'Precise, Dextrous', compqty = 12, x10 = true, alias = { 'shortbow' }, cat = 'shortbows', name = 'Shortbows' }, ['shortbows (u)'] = { often = 'Stave, Tensile, Flexible', rarely = 'Precise, Dextrous', compqty = 4, x10 = true, alias = {}, cat = 'shortbows', name = 'Shortbows' }, ['shieldbows'] = { often = 'Stave, Tensile, Flexible', rarely = 'Precise, Strong', compqty = 12, x10 = true, alias = { 'shieldbow', 'longbow', 'longbows' }, cat = 'shieldbows', name = 'Shieldbows' }, ['shieldbows (u)'] = { often = 'Stave, Tensile, Flexible', rarely = 'Precise, Strong', compqty = 4, x10 = true, alias = {}, cat = 'shieldbows', name = 'Shieldbows' }, ['arrows'] = { often = 'Stave, Head, Crafted', rarely = 'Precise', itemqty = 50, compqty = 6, alias = {}, cat = 'arrows', name = 'Arrows and arrowheads' }, ['arrowheads'] = { often = 'Stave, Head, Crafted', rarely = 'Precise', itemqty = 50, compqty = 2, alias = {}, cat = 'arrows', name = 'Arrows and arrowheads' },

['bolts'] = { often = 'Base, Head, Spiked', rarely = 'Stunning', itemqty = 50, compqty = 6, alias = {}, cat = 'bolts', name = 'Bolts and bolt tips' }, ['bolt tips'] = { often = 'Head, Base, Spiked', rarely = 'Stunning', itemqty = 50, compqty = 2, alias = {}, cat = 'bolts', name = 'Bolts and bolt tips' }, ['crossbows'] = { often = 'Connector, Tensile, Spiked', rarely = 'Stunning, Dextrous', compqty = 8, x10 = true, alias = { 'crossbow' }, cat = 'crossbows', name = 'Crossbows and stocks' }, ['stock'] = { often = 'Connector, Tensile, Spiked', rarely = 'Stunning, Dextrous', compqty = 2, x10 = true, alias = {}, cat = 'crossbows', name = 'Crossbows and stocks' }, ['2h crossbows'] = { often = 'Connector, Tensile, Crafted', rarely = 'Stunning, Dextrous', compqty = 12, x10 = true, alias = {}, cat = '2h crossbows', name = 'Two-handed crossbows' },

['darts'] = { often = 'Simple, Blade, Spiked', rarely = 'Sharp, Swift', itemqty = 50, compqty = 8, alias = {}, cat = 'darts', name = 'Darts' }, ['knives'] = { often = 'Simple, Blade, Metallic', rarely = 'Sharp, Swift', itemqty = 50, compqty = 8, alias = {}, cat = 'knives', name = 'Throwing knives' },

-- hybrid items ['hybrid 8'] = { often = 'Cover, Deflecting', rarely = 'Powerful, Evasive, Protective', compqty = 8, x10 = true, alias = { 'hybrid body', 'hybrid legs', 'hybrid shield' }, cat = 'hybrid armour', name = 'Hybrid armour' }, ['hybrid 6'] = { often = 'Cover, Deflecting', rarely = 'Powerful, Evasive, Protective', compqty = 6, x10 = true, alias = { 'hybrid cape', 'hybrid helm' }, cat = 'hybrid armour', name = 'Hybrid armour' }, ['hybrid 4'] = { often = 'Cover, Deflecting', rarely = 'Powerful, Evasive, Protective', compqty = 4, x10 = true, alias = { 'hybrid boots', 'hybrid gloves' }, cat = 'hybrid armour', name = 'Hybrid armour' }, }

-- aliases local names = {} for w, _ in pairs(data) do	table.insert(names,w) end for _, v in ipairs(names) do	local aliases = data[v].alias or {} for _, y in ipairs(aliases) do		data[y] = data[v] end end

return data