Module:ItemData/nav: Difference between revisions

m Reverted edit by 149.28.42.29 (talk) to last revision by Sur
Tag: Rollback
add english item name for template (test)
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))
table.insert(items, lang_module.get_string(item_key, 'en'), lang_module.get_string(item_key))
end
end
end
end