From e120ae6e1879d15ae43c49c9d099320333775d7f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 8 May 2024 21:49:22 -0500 Subject: [PATCH] cleanup --- src/engine/objects/Contract.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/engine/objects/Contract.java b/src/engine/objects/Contract.java index 3132d155..08bbf149 100644 --- a/src/engine/objects/Contract.java +++ b/src/engine/objects/Contract.java @@ -198,6 +198,17 @@ public class Contract extends AbstractGameObject { } public ArrayList getSellInventory() { + if(this.getObjectUUID() == 900){ + ArrayList returnList = new ArrayList<>(); + for (int resourceID : Warehouse.getMaxResources().keySet()) { + //MobLoot resource = new MobLoot(resourceMerchant,ItemBase.getItemBase(resourceID),1,false); + //resource.magicValue = Warehouse.getCostForResource(resourceID); + MobEquipment resource = new MobEquipment(resourceID, 100.0f); + resource.magicValue = Warehouse.getCostForResource(resourceID); + returnList.add(resource); + } + return returnList; + } return this.sellInventory; }