diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index c43a6907..50ac2295 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -83,9 +83,6 @@ public class ItemTemplate { public HashMap item_power_action = new HashMap<>(); public HashMap item_resource_cost = new HashMap<>(); public int modTable; - - // Deed related fields - public int deed_type; public int deed_furniture_id; public int deed_target_id; @@ -102,6 +99,9 @@ public class ItemTemplate { public HashMap rune_skill_grant = new HashMap<>(); public HashMap skill_granted_skills = new HashMap<>(); public HashMap power_granted_skills = new HashMap<>(); + public String rune_type; + public String rune_sub_type; + public ItemTemplate(JSONObject jsonObject) { @@ -417,6 +417,9 @@ public class ItemTemplate { if (item_type.equals(Enum.ItemType.RUNE)) { + rune_type = (String) jsonObject.get("rune_type"); + rune_sub_type = (String) jsonObject.get("rune_sub_type"); + JSONArray attr_adj_json = (JSONArray) jsonObject.get("rune_attr_adj"); for (Object attributeEntry : attr_adj_json) {