Editing Module:CarpenterList
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 88: | Line 88: | ||
-- iterate through intermediaries to add to XP and duration parameters |
-- iterate through intermediaries to add to XP and duration parameters |
||
for _, intermediate in ipairs(item.intermediates) do |
for _, intermediate in ipairs(item.intermediates) do |
||
-- SPECIFIC TO CARPENTER, where poles are made in batches of 2 |
|||
if string.find(item.name,'Pole') then |
|||
item.XP = item.XP and item.XP * 2 |
|||
end |
|||
-- look up activity XP and add it to running total |
-- look up activity XP and add it to running total |