debitWorkOrderCost method created

This commit is contained in:
2024-04-20 13:05:19 -04:00
parent 70e6756651
commit ac347db0c8
+2 -1
View File
@@ -123,7 +123,8 @@ public enum ForgeManager implements Runnable {
// Deduct gold cost from building
debitWorkOrderCost(workOrder);
if (debitWorkOrderCost(workOrder) == false)
return 58; //58: The formula is beyond the means of this facility
// Create in-memory items and add to collections