Module:Data/Items

p = {} p.by_property = {}

function extend_obj p.by_property.by_attack = require("Module:Data/Item/Attack") or {} end

function p.get_by_property(item_name, property) return (p.by_property[property] or {})[item_name] or nil end

return p