Module:ItemTables: Difference between revisionsGive feedback
Jump to navigation
Jump to search
new return |
change to string values |
||
| Line 15: | Line 15: | ||
--check Data:ItemData.json for properties | --check Data:ItemData.json for properties | ||
p.get_prop = function(frame) | p.get_prop = function(frame) | ||
local shopTableValues = | local shopTableValues = "" | ||
local item_name = frame.args[1] | local item_name = frame.args[1] | ||
local property = frame.args[2] | local property = frame.args[2] | ||
| Line 22: | Line 22: | ||
if(type(item) == table) then | if(type(item) == table) then | ||
for i,v in pairs(item) do | for i,v in pairs(item) do | ||
local shopTableValues = | local shopTableValues = v .. ", " | ||
--local tableValues = get_json_item(item) | --local tableValues = get_json_item(item) | ||
end | end | ||