aboutsummaryrefslogtreecommitdiff
path: root/assets/json/enemies_gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'assets/json/enemies_gen.py')
-rw-r--r--assets/json/enemies_gen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/json/enemies_gen.py b/assets/json/enemies_gen.py
index 258b091..695b264 100644
--- a/assets/json/enemies_gen.py
+++ b/assets/json/enemies_gen.py
@@ -71,8 +71,10 @@ def get_enemy (node):
enemy['name'] = node
if node in edges:
enemy['spawn_on_death'] = edges[node]
+ else: enemy['spawn_num'] = 0
enemy["model_name"] = node + '.glb'
enemy["thumbnail_name"] = node + '.png'
+ enemy["resource"] = node[0]
return enemy