Browse Source

Track items and their workorders.

combat-2
MagicBot 7 months ago
parent
commit
74a7a255be
  1. 2
      src/engine/objects/NPC.java

2
src/engine/objects/NPC.java

@ -15,6 +15,7 @@ import engine.gameManager.*;
import engine.job.JobContainer; import engine.job.JobContainer;
import engine.job.JobScheduler; import engine.job.JobScheduler;
import engine.jobs.UpgradeNPCJob; import engine.jobs.UpgradeNPCJob;
import engine.loot.WorkOrder;
import engine.math.Bounds; import engine.math.Bounds;
import engine.math.Vector3f; import engine.math.Vector3f;
import engine.math.Vector3fImmutable; import engine.math.Vector3fImmutable;
@ -78,6 +79,7 @@ public class NPC extends AbstractCharacter {
public int parentZoneUUID; public int parentZoneUUID;
public int equipmentSetID = 0; public int equipmentSetID = 0;
private int repairCost = 5; private int repairCost = 5;
ArrayList<WorkOrder> workOrders = new ArrayList<>();
// New NPC constructor. Fill in the blanks and then call // New NPC constructor. Fill in the blanks and then call
// PERSIST. // PERSIST.

Loading…
Cancel
Save