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 323: | Line 323: | ||
if needed_logs then |
if needed_logs then |
||
j.needed_logs = needed_logs |
j.needed_logs = needed_logs |
||
j. |
j.lookup_chop_log = lookup_price(pole_info.log) |
||
cost = cost + needed_logs * lookup_price(pole_info.log).sell |
cost = cost + needed_logs * lookup_price(pole_info.log).sell |
||
end |
end |
||
Line 329: | Line 329: | ||
if needed_logs then |
if needed_logs then |
||
j.needed_logs = needed_logs |
j.needed_logs = needed_logs |
||
j. |
j.lookup_buy_log = lookup_price(pole_info.log) |
||
cost = cost + needed_logs * lookup_price(pole_info.log).buy |
cost = cost + needed_logs * lookup_price(pole_info.log).buy |
||
end |
end |
||
else |
else |
||
if weapon.pole then |
if weapon.pole then |
||
j. |
j.needed_poles = needed_poles |
||
j. |
j.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 |