Editing Module:Param Parse
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 649: | Line 649: | ||
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', |
|||
} |
} |
||