about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-06-02 20:19:48 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-06-02 20:19:48 -0400
commit1a6f4c74af4e2c92239a7687dbb2852fbe1451b0 (patch)
tree87209cea1ef4952df2d2338cc1b2cfee990cc7c8
parent5217af39cd151b65717c144c6fc2472888dd45a1 (diff)
downloadlingo-archipelago-1a6f4c74af4e2c92239a7687dbb2852fbe1451b0.tar.gz
lingo-archipelago-1a6f4c74af4e2c92239a7687dbb2852fbe1451b0.tar.bz2
lingo-archipelago-1a6f4c74af4e2c92239a7687dbb2852fbe1451b0.zip
Reveal snipes in panel shuffle
-rw-r--r--Archipelago/load.gd22
-rw-r--r--data/LL1.yaml9
2 files changed, 25 insertions, 6 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
437func 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
423func archipelago_disconnected(reason): 445func 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)
diff --git a/data/LL1.yaml b/data/LL1.yaml index b8c1ef4..271beef 100644 --- a/data/LL1.yaml +++ b/data/LL1.yaml
@@ -1451,14 +1451,12 @@
1451- id: Backside Room/Panel_third_third 1451- id: Backside Room/Panel_third_third
1452 color: white 1452 color: white
1453 tag: midwhite 1453 tag: midwhite
1454# This is a mandatory wall-snipe, so we will not shuffle it.
1455- id: Backside Room/Panel_fourth_fourth 1454- id: Backside Room/Panel_fourth_fourth
1456 color: white 1455 color: white
1457 tag: forbid 1456 tag: midwhite
1458# This is a mandatory wall-snipe, so we will not shuffle it.
1459- id: Backside Room/Panel_zero_zero 1457- id: Backside Room/Panel_zero_zero
1460 color: white 1458 color: white
1461 tag: forbid 1459 tag: midwhite
1462- id: Backside Room/Panel_one_one 1460- id: Backside Room/Panel_one_one
1463 color: white 1461 color: white
1464 tag: midwhite 1462 tag: midwhite
@@ -2301,10 +2299,9 @@
2301- id: Ceiling Room/Panel_answer_4 2299- id: Ceiling Room/Panel_answer_4
2302 color: yellow 2300 color: yellow
2303 tag: topyellow 2301 tag: topyellow
2304# This is a mandatory wall-snipe, so we will not shuffle it.
2305- id: Chemistry Room/Panel_open 2302- id: Chemistry Room/Panel_open
2306 color: white 2303 color: white
2307 tag: forbid 2304 tag: midwhite
2308- id: Chemistry Room/Panel_close 2305- id: Chemistry Room/Panel_close
2309 color: black 2306 color: black
2310 tag: botblack 2307 tag: botblack