From ba266e506a29fd593c21e65632022fef901f8e83 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 12 May 2024 07:15:55 -0400 Subject: [PATCH] Comment cleanup --- src/engine/gameManager/ForgeManager.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index d59d4085..21070e43 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -36,7 +36,7 @@ public enum ForgeManager implements Runnable { // WorkOrders are persisted then reconstituted at bootstrap using table dyn.workorders. // Forge window (ManageNPCMsg) uses item.upgradeDate to serialize completion time. // - // Replaces garbage code that looked as if written by a mental patient with face boils. + // Replaces garbage code that looked as if written by a mental patient. // // @TODO Reuse same set of virtual items for all workOrder cycles. @@ -72,8 +72,8 @@ public enum ForgeManager implements Runnable { if (workOrder.total_produced >= workOrder.total_to_produce) { - // Set items as completed in the window. - // CONFIRM_PRODUCE to refresh item in the interface. + // CONFIRM_PRODUCE to refresh the interface after we add + // the Identified flag to the item. for (Item workOrderItem : workOrder.cooking) { workOrderItem.flags.add(mbEnums.ItemFlags.Identified); @@ -81,15 +81,15 @@ public enum ForgeManager implements Runnable { DispatchMessage.dispatchMsgToInterestArea(workOrder.vendor, outMsg, mbEnums.DispatchChannel.SECONDARY, 700, false, false); } - // Set to completed and update workOrder on disk + // Set this workOrder to completed and update on disk workOrder.runCompleted.set(true); DbManager.WarehouseQueries.WRITE_WORKORDER(workOrder); continue; } - // PERSIST current cooking batch of virtual - // item then add to the vendor inventory + // PERSIST our current cooking batch of virtual + // items then add to the vendor inventory completeWorkOrderBatch(workOrder);