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

m
no edit summary
mNo edit summary
mNo edit summary
Line 323:
if needed_logs then
j.needed_logs = needed_logs
j.lookup_loglookup_chop_log = lookup_price(pole_info.log)
cost = cost + needed_logs * lookup_price(pole_info.log).sell
end
Line 329:
if needed_logs then
j.needed_logs = needed_logs
j.lookup_loglookup_buy_log = lookup_price(pole_info.log)
cost = cost + needed_logs * lookup_price(pole_info.log).buy
end
else
if weapon.pole then
j.needed_logsneeded_poles = needed_poles
j.lookup_loglookup_buy_poles = lookup_price(weapon.pole.name)
cost = cost + needed_poles * lookup_price(weapon.pole.name).buy
end
697

edits