Editing Module:ChefPassiveList
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 116: | Line 116: | ||
item.profitPerXP = item.profit and item.XP and math.floor(item.profit / item.XP * 100) / 100 |
item.profitPerXP = item.profit and item.XP and math.floor(item.profit / item.XP * 100) / 100 |
||
-- 40 seconds to buy new supplies and travel and deposit and everything, per 12 products |
|||
-- no downtime for passive recipes |
|||
-- this part will be tricky for Chef since different recipes do different size batches, and travel to different shops |
|||
⚫ | |||
local |
local batchSize = 12 |
||
⚫ | |||
item.duration = item.duration and item.duration + downtime/batchSize |
item.duration = item.duration and item.duration + downtime/batchSize |
||
item.productPerHour = item.duration and 1 / item.duration * 3600 |
item.productPerHour = item.duration and 1 / item.duration * 3600 |