workerOrder cost updating

This commit is contained in:
2024-04-12 15:41:15 -04:00
parent a16cda8a4a
commit 2200cb9bef
+1
View File
@@ -105,6 +105,7 @@ public enum ForgeManager implements Runnable {
// Set total cost for this production run
workOrder.production_cost_total.putAll(workOrder.production_cost);
workOrder.production_cost.forEach((key, value) -> workOrder.production_cost_total.compute(key, (k, v) -> v * workOrder.total_to_produce));
// Single item rolls are total_to_produce of 0;