Module:Param Parse: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
The Gaffer (talk | contribs) No edit summary |
The Gaffer (talk | contribs) No edit summary Tag: Manual revert |
||
Line 609: | Line 609: | ||
smw_func = attack_style_smw, |
smw_func = attack_style_smw, |
||
category_incomplete = 'Needs vulnerable to', |
category_incomplete = 'Needs vulnerable to', |
||
} |
|||
function uses_item_smw(item) |
|||
local item = parse.has_content |
|||
if item then |
|||
return item |
|||
else |
|||
return nil |
|||
end |
|||
end |
|||
parse.uses_item = { |
|||
name = 'uses_item', |
|||
func = parse.has_content, |
|||
smw_property = 'Uses item', |
|||
smw_func = uses_item_smw, |
|||
category_incomplete = 'Needs used item', |
|||
} |
} |
||