diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-03-21 13:03:55 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-03-21 13:03:55 -0400 |
| commit | 99f8ca163acdfc7660479a20576fd8c2c9cf4fc4 (patch) | |
| tree | dec30fa050a6f503f5efddff62e4b6544db93505 /Archipelago/load.gd | |
| parent | acbac60f328ee9458eba94dc5a9cdf3d3a028436 (diff) | |
| download | lingo-archipelago-99f8ca163acdfc7660479a20576fd8c2c9cf4fc4.tar.gz lingo-archipelago-99f8ca163acdfc7660479a20576fd8c2c9cf4fc4.tar.bz2 lingo-archipelago-99f8ca163acdfc7660479a20576fd8c2c9cf4fc4.zip | |
Remove notifier nodes
Diffstat (limited to 'Archipelago/load.gd')
| -rw-r--r-- | Archipelago/load.gd | 17 |
1 files changed, 0 insertions, 17 deletions
| diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 57c49a3..e050f23 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
| @@ -513,23 +513,6 @@ func _load(): | |||
| 513 | fearless_door.name = "Door_hider_new1" | 513 | fearless_door.name = "Door_hider_new1" |
| 514 | fearless_door.translation.y = 5 | 514 | fearless_door.translation.y = 5 |
| 515 | get_node("Doors/Naps Room Doors").add_child(fearless_door) | 515 | get_node("Doors/Naps Room Doors").add_child(fearless_door) |
| 516 | |||
| 517 | # Set up notifiers for each achievement panel, for the tracker. | ||
| 518 | var notifier_script = apclient.SCRIPT_notifier | ||
| 519 | for panel in gamedata.panels: | ||
| 520 | if "achievement" in panel: | ||
| 521 | var panel_node = panels_parent.get_node(panel["id"]) | ||
| 522 | var script_instance = notifier_script.new() | ||
| 523 | script_instance.name = "Achievement_Notifier" | ||
| 524 | script_instance.key = "Achievement|%s" % panel["achievement"] | ||
| 525 | panel_node.add_child(script_instance) | ||
| 526 | |||
| 527 | if "hunt" in panel and panel["hunt"] and not (gamedata.classification_by_location_id[panel["loc"]] & apclient._location_classification_bit): | ||
| 528 | var panel_node = panels_parent.get_node(panel["id"]) | ||
| 529 | var script_instance = notifier_script.new() | ||
| 530 | script_instance.name = "Hunt_Notifier" | ||
| 531 | script_instance.key = "Hunt|%d" % panel["loc"] | ||
| 532 | panel_node.add_child(script_instance) | ||
| 533 | 516 | ||
| 534 | # Make stack/double puzzles into proxies, unless panelsanity is on. | 517 | # Make stack/double puzzles into proxies, unless panelsanity is on. |
| 535 | if apclient._location_classification_bit != apclient.kCLASSIFICATION_LOCAL_INSANITY: | 518 | if apclient._location_classification_bit != apclient.kCLASSIFICATION_LOCAL_INSANITY: |
