Browse Source

Framework for workorder creation.

feature-workorder
MagicBot 1 year ago
parent
commit
2a0e8782af
  1. 1
      src/engine/loot/WorkOrder.java
  2. 1
      src/engine/net/client/handlers/ItemProductionMsgHandler.java

1
src/engine/loot/WorkOrder.java

@ -24,6 +24,7 @@ public class WorkOrder implements Delayed {
public int slotCount; public int slotCount;
public int itemCount; public int itemCount;
public int itemBase; public int itemBase;
public String itemName;
public int prefixToken; public int prefixToken;
public int suffixToken; public int suffixToken;
public boolean isRandom; public boolean isRandom;

1
src/engine/net/client/handlers/ItemProductionMsgHandler.java

@ -466,6 +466,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
workOrder.itemCount = msg.getTotalProduction(); workOrder.itemCount = msg.getTotalProduction();
workOrder.prefixToken = msg.getpToken(); workOrder.prefixToken = msg.getpToken();
workOrder.suffixToken = msg.getsToken(); workOrder.suffixToken = msg.getsToken();
workOrder.itemName = msg.getName();
//Create Multiple Item Function.. Fill all empty slots //Create Multiple Item Function.. Fill all empty slots
if (msg.isMultiple()) { if (msg.isMultiple()) {

Loading…
Cancel
Save