diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index b462b0c4..fde75522 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -39,6 +39,7 @@ public class ItemTemplate { public boolean item_eq_slots_type; public EnumSet item_eq_slots_or = EnumSet.noneOf(Enum.ItemEquipSlotType.class); public EnumSet item_eq_slots_and = EnumSet.noneOf(Enum.ItemEquipSlotType.class); + public boolean item_takeable; public int item_value; public int item_wt; public float item_passive_defense_mod; @@ -149,6 +150,7 @@ public class ItemTemplate { for (Object o : eq_slots_and) item_eq_slots_and.add(Enum.ItemEquipSlotType.valueOf((String) o)); + item_takeable = (boolean) jsonObject.get("item_takeable"); item_value = ((Long) jsonObject.get("item_value")).intValue(); item_wt = ((Long) jsonObject.get("item_wt")).intValue(); item_passive_defense_mod = ((Double) jsonObject.get("item_passive_defense_mod")).floatValue();