|
|
@ -34,7 +34,7 @@ public class Contract extends AbstractGameObject { |
|
|
|
private ArrayList<Integer> npcMenuOptions = new ArrayList<>(); |
|
|
|
private ArrayList<Integer> npcMenuOptions = new ArrayList<>(); |
|
|
|
private ArrayList<Integer> npcModTypeTable = new ArrayList<>(); |
|
|
|
private ArrayList<Integer> npcModTypeTable = new ArrayList<>(); |
|
|
|
private ArrayList<Integer> npcModSuffixTable = new ArrayList<>(); |
|
|
|
private ArrayList<Integer> npcModSuffixTable = new ArrayList<>(); |
|
|
|
private ArrayList<Byte> itemModTable = new ArrayList<>(); |
|
|
|
private ArrayList<Integer> itemModTable = new ArrayList<>(); |
|
|
|
private ArrayList<Item> sellInventory = new ArrayList<>(); |
|
|
|
private ArrayList<Item> sellInventory = new ArrayList<>(); |
|
|
|
public EnumSet<mbEnums.BuildingGroup> allowedBuildings; |
|
|
|
public EnumSet<mbEnums.BuildingGroup> allowedBuildings; |
|
|
|
private ArrayList<Integer> buyItemType = new ArrayList<>(); |
|
|
|
private ArrayList<Integer> buyItemType = new ArrayList<>(); |
|
|
@ -122,7 +122,7 @@ public class Contract extends AbstractGameObject { |
|
|
|
if (!itemMod.isEmpty()) { |
|
|
|
if (!itemMod.isEmpty()) { |
|
|
|
String[] data2 = itemMod.split(" "); |
|
|
|
String[] data2 = itemMod.split(" "); |
|
|
|
for (byte i = 0; i < data2.length; i++) { |
|
|
|
for (byte i = 0; i < data2.length; i++) { |
|
|
|
this.itemModTable.add(Byte.parseByte(data2[i])); |
|
|
|
this.itemModTable.add(Integer.parseInt(data2[i])); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@ -193,7 +193,7 @@ public class Contract extends AbstractGameObject { |
|
|
|
return npcModSuffixTable; |
|
|
|
return npcModSuffixTable; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ArrayList<Byte> getItemModTable() { |
|
|
|
public ArrayList<Integer> getItemModTable() { |
|
|
|
return itemModTable; |
|
|
|
return itemModTable; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|