diff options
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r-- | Archipelago/load.gd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index a734459..436198f 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
@@ -127,6 +127,20 @@ func _load(): | |||
127 | 127 | ||
128 | set_gridmap_tile(-20.5, 1.5, -79.5, "MeshInstance9") | 128 | set_gridmap_tile(-20.5, 1.5, -79.5, "MeshInstance9") |
129 | 129 | ||
130 | # Remove opaque wall in front of FOURTH. | ||
131 | set_gridmap_tile(-71.5, 1.5, -64.5, "MeshInstance18") | ||
132 | |||
133 | # Move The Lab's OPEN out of the wall. | ||
134 | panels_parent.get_node("Chemistry Room/Panel_open").translation.x = -87.001 | ||
135 | |||
136 | # Move ZERO out of the wall and change the wall to be white. | ||
137 | panels_parent.get_node("Backside Room/Panel_zero_zero").translation.z = 16.499 | ||
138 | |||
139 | set_small_gridmap_tile(-76.25, 1.75, 16.75, "SmallMeshInstance5") | ||
140 | set_small_gridmap_tile(-76.75, 1.75, 16.75, "SmallMeshInstance5") | ||
141 | set_small_gridmap_tile(-76.25, 1.25, 16.75, "SmallMeshInstance5") | ||
142 | set_small_gridmap_tile(-76.75, 1.25, 16.75, "SmallMeshInstance5") | ||
143 | |||
130 | if apclient._panel_shuffle == apclient.kREARRANGE_PANELS: | 144 | if apclient._panel_shuffle == apclient.kREARRANGE_PANELS: |
131 | # Do the actual shuffling. | 145 | # Do the actual shuffling. |
132 | var panel_pools = {} | 146 | var panel_pools = {} |
@@ -420,6 +434,14 @@ func set_gridmap_tile(x, y, z, tile): | |||
420 | gridmap.set_cell_item(mapvec.x, mapvec.y, mapvec.z, mesh_library.find_item_by_name(tile)) | 434 | gridmap.set_cell_item(mapvec.x, mapvec.y, mapvec.z, mesh_library.find_item_by_name(tile)) |
421 | 435 | ||
422 | 436 | ||
437 | func set_small_gridmap_tile(x, y, z, tile): | ||
438 | var gridmap = self.get_node("GridMapSmall") | ||
439 | var mesh_library = gridmap.mesh_library | ||
440 | var mapvec = gridmap.world_to_map(gridmap.to_local(Vector3(x, y, z))) | ||
441 | |||
442 | gridmap.set_cell_item(mapvec.x, mapvec.y, mapvec.z, mesh_library.find_item_by_name(tile)) | ||
443 | |||
444 | |||
423 | func archipelago_disconnected(reason): | 445 | func archipelago_disconnected(reason): |
424 | var messages_node = self.get_node("Messages") | 446 | var messages_node = self.get_node("Messages") |
425 | messages_node.show_message(reason) | 447 | messages_node.show_message(reason) |