Skip to content

Commit

Permalink
add coloured objects
Browse files Browse the repository at this point in the history
  • Loading branch information
PieterVdc committed Dec 31, 2023
1 parent 0b5bb06 commit b268da6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Scenes/Instances.gd
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,11 @@ func spawn_attached(xSlab, ySlab, slabID, ownership, subtile, tngObj): # Spawns
1: id.subtype = 116 # Blue
2: id.subtype = 117 # Green
3: id.subtype = 118 # Yellow
4: id.queue_free() # White
5: id.subtype = 119 # None
4: id.subtype = 161 # White
5: id.queue_free() # None
6: id.subtype = 164 # Purple
7: id.subtype = 166 # Black
8: id.subtype = 168 # Orange
elif slabID == Slabs.DUNGEON_HEART:
if tngObj[Slabset.obj.THING_SUBTYPE] == 111: # Heart Flame (Red)
match ownership:
Expand All @@ -399,6 +402,9 @@ func spawn_attached(xSlab, ySlab, slabID, ownership, subtile, tngObj): # Spawns
3: id.subtype = 122 # Yellow
4: id.queue_free() # White
5: id.queue_free() # None
6: id.subtype = 165 # Purple
7: id.subtype = 167 # Black
8: id.subtype = 169 # Orange

add_child(id)

Expand Down

0 comments on commit b268da6

Please sign in to comment.