diff options
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r-- | Archipelago/load.gd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index a2051c3..edfeb3c 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
@@ -186,6 +186,10 @@ func _load(): | |||
186 | set_gridmap_tile(-88.5, 4.5, -41.5, "MeshInstance8") | 186 | set_gridmap_tile(-88.5, 4.5, -41.5, "MeshInstance8") |
187 | set_gridmap_tile(-89.5, 4.5, -41.5, "MeshInstance4") | 187 | set_gridmap_tile(-89.5, 4.5, -41.5, "MeshInstance4") |
188 | 188 | ||
189 | # Remove black block from THE RED. | ||
190 | clear_gridmap_tile(68.5, 6.5, 76.5) | ||
191 | get_node("Decorations/PanelSign/sign19").queue_free() | ||
192 | |||
189 | if apclient.confusify_world: | 193 | if apclient.confusify_world: |
190 | # Remove welcome back / color hallway / sunwarp indicators. | 194 | # Remove welcome back / color hallway / sunwarp indicators. |
191 | get_node("Decorations/Signs/Welcome Back Signs").queue_free() | 195 | get_node("Decorations/Signs/Welcome Back Signs").queue_free() |
@@ -621,6 +625,14 @@ func set_gridmap_tile(x, y, z, tile): | |||
621 | gridmap.set_cell_item(mapvec.x, mapvec.y, mapvec.z, mesh_library.find_item_by_name(tile)) | 625 | gridmap.set_cell_item(mapvec.x, mapvec.y, mapvec.z, mesh_library.find_item_by_name(tile)) |
622 | 626 | ||
623 | 627 | ||
628 | func clear_gridmap_tile(x, y, z): | ||
629 | var gridmap = self.get_node("GridMap") | ||
630 | var mesh_library = gridmap.mesh_library | ||
631 | var mapvec = gridmap.world_to_map(gridmap.to_local(Vector3(x, y, z))) | ||
632 | |||
633 | gridmap.set_cell_item(mapvec.x, mapvec.y, mapvec.z, GridMap.INVALID_CELL_ITEM) | ||
634 | |||
635 | |||
624 | func set_small_gridmap_tile(x, y, z, tile): | 636 | func set_small_gridmap_tile(x, y, z, tile): |
625 | var gridmap = self.get_node("GridMapSmall") | 637 | var gridmap = self.get_node("GridMapSmall") |
626 | var mesh_library = gridmap.mesh_library | 638 | var mesh_library = gridmap.mesh_library |