Track items and their workorders.
This commit is contained in:
@@ -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() {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user