Browse Source

Track items and their workorders.

combat-2
MagicBot 7 months ago
parent
commit
8b38f1a695
  1. 3
      src/engine/loot/WorkOrder.java

3
src/engine/loot/WorkOrder.java

@ -8,9 +8,11 @@
package engine.loot; package engine.loot;
import engine.objects.Item;
import engine.objects.NPC; import engine.objects.NPC;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.concurrent.Delayed; import java.util.concurrent.Delayed;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
@ -30,6 +32,7 @@ public class WorkOrder implements Delayed {
public long rollingDuration; public long rollingDuration;
public long completionTime; public long completionTime;
public boolean runCompleted; public boolean runCompleted;
public ArrayList<Item> cooking = new ArrayList<>();
public WorkOrder() { public WorkOrder() {

Loading…
Cancel
Save