1,131
edits
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
-- * Text on drop | -- * Text on drop | ||
-- * Equipable | -- * Equipable | ||
-- * | -- * Tool info (skill levels etc) | ||
-- | -- | ||
------------------------ | ------------------------ | ||
| Line 64: | Line 64: | ||
{ name = 'damage', func = 'has_content' }, | { name = 'damage', func = 'has_content' }, | ||
-- Tool Params -- | |||
{ name = 'tool_type', func = 'has_content' }, | |||
} | } | ||
| Line 288: | Line 292: | ||
{ tag = 'th', content = 'Damage', colspan = '7' }, | { tag = 'th', content = 'Damage', colspan = '7' }, | ||
{ tag = 'argd', content = 'damage', colspan = '13' }, | { tag = 'argd', content = 'damage', colspan = '13' }, | ||
} | |||
end | |||
--[[ | |||
Add rows for weapon stuff | |||
]] | |||
if ret:paramDefined('tool_type') then | |||
ret:pad(20) | |||
:addRow{ | |||
{ tag = 'th', content = 'Tool', class = 'infobox-subheader', colspan = '20' }, | |||
} | |||
:pad(20) | |||
:addRow{ | |||
{ tag = 'th', content = 'Type', colspan = '7' }, | |||
{ tag = 'argd', content = 'tool_type', colspan = '13' }, | |||
} | } | ||
end | end | ||
| Line 362: | Line 382: | ||
['weapon'] = 'Weapons', | ['weapon'] = 'Weapons', | ||
}, | }, | ||
tool_type = { | |||
['fishing_rod'] = 'Fishing Rods', | |||
['rod'] = 'Fishing Rods', | |||
['fishingRod'] = 'Fishing Rods', | |||
['axe'] = 'Axes', | |||
['pickaxe'] = 'Pickaxes', | |||
['shears'] = 'Shears', | |||
} | |||
} | } | ||
} | } | ||