diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-11 12:44:41 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-11 12:44:41 -0400 |
commit | 97c365e5d2932f6cd1a871d82072aab5d78a653e (patch) | |
tree | 150d241cfbe831c3d60854eb0fff2803b628888c /Archipelago/client.gd | |
parent | dfabc170a4b9cda3c290eb5160616cf4af406e61 (diff) | |
download | lingo-archipelago-97c365e5d2932f6cd1a871d82072aab5d78a653e.tar.gz lingo-archipelago-97c365e5d2932f6cd1a871d82072aab5d78a653e.tar.bz2 lingo-archipelago-97c365e5d2932f6cd1a871d82072aab5d78a653e.zip |
Use base game messages node
Now that it's been integrated into the game itself.
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index b7050b6..12e5e99 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -362,7 +362,7 @@ func _on_data(): | |||
362 | 362 | ||
363 | var item_color = colorForItemType(message["item"]["flags"]) | 363 | var item_color = colorForItemType(message["item"]["flags"]) |
364 | 364 | ||
365 | var messages_node = get_tree().get_root().get_node("Spatial/AP_Messages") | 365 | var messages_node = get_tree().get_root().get_node("Spatial/Messages") |
366 | if message["type"] == "Hint": | 366 | if message["type"] == "Hint": |
367 | var is_for = "" | 367 | var is_for = "" |
368 | if message["receiving"] != _slot: | 368 | if message["receiving"] != _slot: |
@@ -387,7 +387,7 @@ func _on_data(): | |||
387 | and message.has("data") | 387 | and message.has("data") |
388 | and message["tags"].has("DeathLink") | 388 | and message["tags"].has("DeathLink") |
389 | ): | 389 | ): |
390 | var messages_node = get_tree().get_root().get_node("Spatial/AP_Messages") | 390 | var messages_node = get_tree().get_root().get_node("Spatial/Messages") |
391 | var first_sentence = "Received Death" | 391 | var first_sentence = "Received Death" |
392 | var second_sentence = "" | 392 | var second_sentence = "" |
393 | if message["data"].has("source"): | 393 | if message["data"].has("source"): |
@@ -613,7 +613,7 @@ func processItem(item, index, from, flags): | |||
613 | 613 | ||
614 | var item_color = colorForItemType(flags) | 614 | var item_color = colorForItemType(flags) |
615 | 615 | ||
616 | var messages_node = get_tree().get_root().get_node("Spatial/AP_Messages") | 616 | var messages_node = get_tree().get_root().get_node("Spatial/Messages") |
617 | if from == _slot: | 617 | if from == _slot: |
618 | messages_node.showMessage("Found [color=%s]%s[/color]" % [item_color, item_name]) | 618 | messages_node.showMessage("Found [color=%s]%s[/color]" % [item_color, item_name]) |
619 | else: | 619 | else: |