From 8b38f1a695f1d45aeb5ebdf27d9fcef3c6d0634e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 8 Apr 2024 04:42:44 -0400 Subject: [PATCH] Track items and their workorders. --- src/engine/loot/WorkOrder.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/loot/WorkOrder.java b/src/engine/loot/WorkOrder.java index c3677bf8..f06a8881 100644 --- a/src/engine/loot/WorkOrder.java +++ b/src/engine/loot/WorkOrder.java @@ -8,9 +8,11 @@ package engine.loot; +import engine.objects.Item; import engine.objects.NPC; import org.jetbrains.annotations.NotNull; +import java.util.ArrayList; import java.util.concurrent.Delayed; import java.util.concurrent.TimeUnit; @@ -30,6 +32,7 @@ public class WorkOrder implements Delayed { public long rollingDuration; public long completionTime; public boolean runCompleted; + public ArrayList cooking = new ArrayList<>(); public WorkOrder() {