From ba4648f8122972609154f2d166c4759dcd92dd90 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 8 Apr 2024 17:56:51 -0400 Subject: [PATCH] Minor class cleanup --- src/engine/gameManager/ForgeManager.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 778d9a1e..4053c126 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -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); }