|
|
@ -198,6 +198,17 @@ public class Contract extends AbstractGameObject { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ArrayList<MobEquipment> getSellInventory() { |
|
|
|
public ArrayList<MobEquipment> getSellInventory() { |
|
|
|
|
|
|
|
if(this.getObjectUUID() == 900){ |
|
|
|
|
|
|
|
ArrayList<MobEquipment> 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; |
|
|
|
return this.sellInventory; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|