Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Nothing should use examine anymore.)
No edit summary
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',
}
}