|
|
|
@ -103,6 +103,8 @@ public enum ForgeManager implements Runnable {
@@ -103,6 +103,8 @@ public enum ForgeManager implements Runnable {
|
|
|
|
|
|
|
|
|
|
workOrder.production_cost = calcProductionCost(workOrder); |
|
|
|
|
|
|
|
|
|
// Set total cost for this production run
|
|
|
|
|
|
|
|
|
|
for (mbEnums.ResourceType resourceType : workOrder.production_cost.keySet()) |
|
|
|
|
workOrder.production_cost.compute(resourceType, (k, resourceValue) -> resourceValue * workOrder.total_to_produce); |
|
|
|
|
|
|
|
|
|