Module:Sandbox/User:Artoire/1: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
mNo edit summary
Line 334: Line 334:
else
else
if weapon.pole then
if weapon.pole then
j.needed_poles = needed_poles
dbg.needed_poles = needed_poles
j.lookup_buy_poles = lookup_price(weapon.pole.name)
dbg.lookup_buy_poles = lookup_price(weapon.pole.name)
cost = cost + needed_poles * lookup_price(weapon.pole.name).buy
cost = cost + needed_poles * lookup_price(weapon.pole.name).buy
end
end
Line 341: Line 341:


if args.debug then
if args.debug then
j.cost = cost
dbg.cost = cost
row
row
:td{ mw.text.jsonEncode(j), attr = { colspan = "10" } }
:td{ mw.text.jsonEncode(dbg), attr = { colspan = "10" } }
else
else
row:node(currency._cell(cost, { html = 'yes' }))
row:node(currency._cell(cost, { html = 'yes' }))