73
edits
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
local Items = require('Module:Items') | local Items = require('Module:Items') | ||
local WEARABLES = {'Armour', 'Ring', 'Amulet'} | |||
local CHECK_ITEMS = {'Attack', 'Strength', 'Defence', 'Ranged', 'Magic'} | local CHECK_ITEMS = {'Attack', 'Strength', 'Defence', 'Ranged', 'Magic'} | ||
Line 79: | Line 80: | ||
if item.item.type == 'Weapon' then | if item.item.type == 'Weapon' then | ||
verb = 'Wield ' | verb = 'Wield ' | ||
elseif item.item.type | elseif Shared.contains(WEARABLES, item.item.type) then | ||
verb = 'Wear ' | verb = 'Wear ' | ||
end | end |
edits