Module:Disassemble/data

-- -- blank template --	[] = { often = , sometimes = , rarely = , itemqty = 1, compqty = 8, xp = 0.1 }, -- NOTES: -- Do not include xp rates of 0.1 as the default, this is done in the parent module (other default xp rates are fine to include) -- Do not includean 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 }, ['clothing'] = { often = 'Cover, Padded, Simple', rarely = 'Variable', compqty = 1, xp = 0.3 }, ['runes'] = { often = 'Magic', sometimes = 'Crafted', rarely = 'Powerful', itemqty = 50, compqty = 8 }, ['food'] = { often = 'Organic', sometimes = 'Crafted', rarely = 'Living, Healthy, Enhancing', compqty = 1 },

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

-- grouped with logs untanned hides ['logs'] = { often = 'Simple', rarely = 'Living', compqty = 1 }, ['seeds'] = { often = 'Organic', rarely = 'Living', compqty = 1 }, ['herbs'] = { often = 'Organic', sometimes = 'Crafted', rarely = 'Living, Healthy, Enhancing', compqty = 1 },

['pouches'] = { often = 'Spiritual, Crafted, Flexible', rarely = 'Powerful', compqty = 3 }, ['scrolls'] = { often = 'Spiritual, Crafted', rarely = 'Powerful', compqty = 2 }, ['charms'] = { often = 'Spiritual', compqty = 1 },

['divination'] = { often = 'Magic', sometimes = 'Crafted', rarely = 'Ethereal', compqty = 3 },

['bones'] = { often = 'Organic', rarely = 'Pious', compqty = 2 }, ['ashes'] = { often = 'Organic', rarely = 'Pious, Ethereal', compqty = 2 },

['ores'] = { often = 'Simple', compqty = 1 }, ['bars'] = { often = 'Simple, Crafted', compqty = 2 },

-- grouped with planks: tanned hides (leather) ['planks'] = { often = 'Simple, Crafted', compqty = 1 },

['glass'] = { often = 'Clear, Delicate, Smooth', rarely = 'Enhancing', compqty = 2 },

-- =================	-- EQUIPMENT -- =================	['jewellery'] = { often = 'Delicate, Connector, Smooth', rarely = 'Precious, Enhancing', compqty = 5 },

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

-- magic items ['magic shield'] = { often = 'Cover, Magic, Deflecting', rarely = 'Powerful, Protective', compqty = 8 }, ['magic helm'] = { often = 'Cover, Magic, Deflecting', rarely = 'Powerful, Protective', compqty = 6 }, ['magic cape'] = { often = 'Cover, Magic, Deflecting', rarely = 'Powerful, Protective', compqty = 6 }, ['magic legs'] = { often = 'Cover, Magic, Deflecting', rarely = 'Powerful, Protective', compqty = 8 }, ['magic body'] = { often = 'Cover, Magic, Deflecting', rarely = 'Powerful, Protective', compqty = 8 }, ['magic gloves'] = { often = 'Cover, Magic, Deflecting', rarely = 'Powerful, Protective', compqty = 4 }, ['magic boots'] = { often = 'Cover, Magic, Deflecting', rarely = 'Powerful, Protective', compqty = 4 }, ['staff'] = { often = 'Stave, Magic, Padded', rarely = 'Powerful, Imbued', compqty = 12 },

-- ranged items ['ranged shield'] = { often = 'Cover, Tensile, Deflecting', rarely = 'Evasive, Protective', compqty = 8 }, ['ranged helm'] = { often = 'Cover, Tensile, Deflecting', rarely = 'Evasive, Protective', compqty = 6 }, ['ranged cape'] = { often = 'Cover, Tensile, Deflecting', rarely = 'Evasive, Protective', compqty = 6 }, ['ranged legs'] = { often = 'Cover, Tensile, Deflecting', rarely = 'Evasive, Protective', compqty = 8 }, ['ranged body'] = { often = 'Cover, Tensile, Deflecting', rarely = 'Evasive, Protective', compqty = 8 }, ['ranged gloves'] = { often = 'Cover, Tensile, Deflecting', rarely = 'Evasive, Protective', compqty = 4 }, ['ranged boots'] = { often = 'Cover, Tensile, Deflecting', rarely = 'Evasive, Protective', compqty = 4 }, ['shortbows'] = { often = 'Stave, Tensile, Flexible', rarely = 'Precise, Dextrous', compqty = 12 }, ['shieldbows'] = { often = 'Stave, Tensile, Flexible', rarely = 'Precise, Strong', compqty = 12 }, ['arrows'] = { often = 'Stave, Head, Crafted', rarely = 'Precise', itemqty = 50, compqty = 6 }, ['bolts'] = { often = 'Base, Head, Spiked', rarely = 'Stunning', itemqty = 50, compqty = 6 }, ['crossbows'] = { often = 'Connector, Tensile, Spiked', rarely = 'Stunning, Dextrous', compqty = 8 }, ['2h crossbows'] = { often = 'Conntector, Tensile, Crafted', rarely = 'Stunning, Dextrous', compqty = 12 },

-- hybrid items ['hybrid helm'] = { often = 'Cover, Deflecting', rarely = 'Powerful, Evasive, Protective', compqty = 6 }, ['hybrid cape'] = { often = 'Cover, Deflecting', rarely = 'Powerful, Evasive, Protective', compqty = 6 }, ['hybrid legs'] = { often = 'Cover, Deflecting', rarely = 'Powerful, Evasive, Protective', compqty = 8 }, ['hybrid body'] = { often = 'Cover, Deflecting', rarely = 'Powerful, Evasive, Protective', compqty = 8 }, ['hybrid gloves'] = { often = 'Cover, Deflecting', rarely = 'Powerful, Evasive, Protective', compqty = 4 }, ['hybrid boots'] = { often = 'Cover, Deflecting', rarely = 'Powerful, Evasive, Protective', compqty = 4 }, }

-- aliases -- create an entry with the same name as the category above -- create an array of aliases (all lowercase) local aliases = { ['gems'] = { 'gem' }, ['seeds'] = { 'seed' }, ['pouches'] = { 'pouch' }, ['scrolls'] = { 'scroll' }, ['jewellery'] = { 'jewelry' }, ['divination'] = { 'divine location', 'portent', 'portents', 'sign', 'signs' }, ['staff'] = { 'staves' }, ['shortbows'] = { 'shortbow' }, ['shieldbows'] = { 'shieldbow', 'longbow', 'longbows' }, ['planks'] = { 'plank', 'leather' }, ['logs'] = { 'hides' }, }

for w, v in pairs(aliases) do	for _, y in ipairs(v) do		data[y] = data[w] end end

return data