From 2a0e8782afca1998d2a1ad4fc697b7b5fd97c028 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 23 Oct 2023 14:56:19 -0400 Subject: [PATCH] Framework for workorder creation. --- src/engine/loot/WorkOrder.java | 1 + src/engine/net/client/handlers/ItemProductionMsgHandler.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/engine/loot/WorkOrder.java b/src/engine/loot/WorkOrder.java index 8f8d6ae6..bc040c42 100644 --- a/src/engine/loot/WorkOrder.java +++ b/src/engine/loot/WorkOrder.java @@ -24,6 +24,7 @@ public class WorkOrder implements Delayed { public int slotCount; public int itemCount; public int itemBase; + public String itemName; public int prefixToken; public int suffixToken; public boolean isRandom; diff --git a/src/engine/net/client/handlers/ItemProductionMsgHandler.java b/src/engine/net/client/handlers/ItemProductionMsgHandler.java index 17531936..b80f3c7f 100644 --- a/src/engine/net/client/handlers/ItemProductionMsgHandler.java +++ b/src/engine/net/client/handlers/ItemProductionMsgHandler.java @@ -466,6 +466,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { workOrder.itemCount = msg.getTotalProduction(); workOrder.prefixToken = msg.getpToken(); workOrder.suffixToken = msg.getsToken(); + workOrder.itemName = msg.getName(); //Create Multiple Item Function.. Fill all empty slots if (msg.isMultiple()) {