Module:ItemData/nav: Difference between revisions

add english item name for template (test)
Undo revision 22013 by Gammaton32 (talk)
Tag: Undo
Line 38: Line 38:
if item_data["Name"] ~= nil and item_data["IsDisabled"] == false and this_cost ~= nil and this_slot ~= nil then
if item_data["Name"] ~= nil and item_data["IsDisabled"] == false and this_cost ~= nil and this_slot ~= nil then
if slot == this_slot and this_cost>=min_souls and this_cost<max_souls then
if slot == this_slot and this_cost>=min_souls and this_cost<max_souls then
table.insert(items, lang_module.get_string(item_key, 'en'), lang_module.get_string(item_key))
table.insert(items, lang_module.get_string(item_key))
end
end
end
end