summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.py b/utils.py
index 2e1d0e8..007bbcc 100644
--- a/utils.py
+++ b/utils.py
@@ -58,6 +58,8 @@ class ItemDB:
item_struct.name = item.get('name')
if item.get('weight'):
item_struct.weight = item.get('weight')
+ if item.get('type'):
+ item_struct.type = item.get('type')
item_struct.description = item.get('description')
self.item_names[int(item.get('id'))] = item_struct