aboutsummaryrefslogtreecommitdiff
path: root/assets/json/enemies_gen.py
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2022-01-17 17:23:42 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2022-01-17 17:23:42 +0100
commit39cf2251c3bd561c7721d5f1c272bbf92fe3499d (patch)
tree96230dca5006f768d51976b81602d1d67337eb81 /assets/json/enemies_gen.py
parentbedaaf9f57d0c24e2a81c0bf3c482a07382d78c1 (diff)
enemy system online
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