Browse Source

Deed fields defined in template

combat-2
MagicBot 8 months ago
parent
commit
995949c1ba
  1. 12
      src/engine/objects/ItemTemplate.java

12
src/engine/objects/ItemTemplate.java

@ -84,6 +84,18 @@ public class ItemTemplate {
public static HashMap<String, Integer> item_power_grant = new HashMap<>(); public static HashMap<String, Integer> item_power_grant = new HashMap<>();
public HashMap<String, int[]> item_power_action = new HashMap<>(); public HashMap<String, int[]> item_power_action = new HashMap<>();
public HashMap<Enum.ResourceType, Integer> item_resource_cost = new HashMap<>(); public HashMap<Enum.ResourceType, Integer> item_resource_cost = new HashMap<>();
// Deed related fields
public int deed_furniture_id;
public int deed_target_id;
public int deed_employment;
public int deed_start_rank;
public int deed_name_lookup;
public boolean deed_indoors;
public boolean deed_is_fortress;
public float deed_namelookup_val;
public boolean deed_custom_city;
public int deed_structure_id; public int deed_structure_id;
public ItemTemplate(JSONObject jsonObject) { public ItemTemplate(JSONObject jsonObject) {

Loading…
Cancel
Save