From 39cf2251c3bd561c7721d5f1c272bbf92fe3499d Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Mon, 17 Jan 2022 17:23:42 +0100 Subject: enemy system online --- assets/json/enemies_gen.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'assets/json/enemies_gen.py') 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 -- cgit v1.2.3-54-g00ecf