Minor class cleanup

This commit is contained in:
2024-04-08 17:56:51 -04:00
parent 1d0ab95b88
commit ba4648f812
+12 -2
View File
@@ -40,7 +40,7 @@ public enum ForgeManager implements Runnable {
if (workOrder.runCanceled || workOrder.runCompleted)
continue;
// Fulfill workOrder
// Create negative ID items to add to collections
for (int i = 0; i < workOrder.slotCount; ++i) {
@@ -94,8 +94,18 @@ public enum ForgeManager implements Runnable {
if (workOrder.slotCount > 0 && workOrder.total_to_produce == 0)
workOrder.slotCount = 1;
Logger.info(workOrder.toString());
// Create negative ID items to add to collections
for (int i = 0; i < workOrder.slotCount; ++i) {
// Create workOrder items; one for each slot
// assigned to this workOrder.
// if Prefix and suffix are null random roll item
// otherwise roll what was asked for
}
Logger.info(workOrder.toString());
workOrder.vendor.workOrders.add(workOrder);
workOrders.add(workOrder);
}