Module:Sandbox/One Bar: Difference between revisions

One Bar (talk | contribs)
typo
One Bar (talk | contribs)
Remove unneeded function for demonstration
Line 20: Line 20:
p.get_cost = function(frame)
p.get_cost = function(frame)
local item_name = frame.args[1]
local item_name = frame.args[1]
return Format(get_cost(item_name))
return get_cost(item_name)
end
end