|
|
@@ -41,6 +41,8 @@ def calc_profit(recipe: Recipe, buildings: typing.Mapping[str, Building], materi
|
|
|
for bm in building['BuildingCosts'])
|
|
|
profit_per_run = revenue - cost
|
|
|
runs_per_day = 24 * 60 * 60 * 1000 / recipe['TimeMs']
|
|
|
+ if building['Ticker'] in ('FRM', 'ORC'):
|
|
|
+ runs_per_day *= 1.1212 # promitor's fertility
|
|
|
worker_consumable_daily_cost = building_daily_cost(building, prices)
|
|
|
cost_per_day = cost * runs_per_day + worker_consumable_daily_cost
|
|
|
output_per_day = output['Amount'] * runs_per_day
|