about summary refs log tree commit diff stats
path: root/Archipelago/client.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r--Archipelago/client.gd8
1 files changed, 7 insertions, 1 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index dba8227..97e2ca4 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd
@@ -523,7 +523,7 @@ func processItem(item, index, from):
523 _has_colors.append(lcol) 523 _has_colors.append(lcol)
524 emit_signal("evaluate_solvability") 524 emit_signal("evaluate_solvability")
525 525
526 # Show a message about the item if it's new. 526 # Show a message about the item if it's new. Also apply effects here.
527 if index != null and index > _last_new_item: 527 if index != null and index > _last_new_item:
528 _last_new_item = index 528 _last_new_item = index
529 saveLocaldata() 529 saveLocaldata()
@@ -545,6 +545,12 @@ func processItem(item, index, from):
545 else: 545 else:
546 messages_node.showMessage("Received %s from %s" % [item_name, player_name]) 546 messages_node.showMessage("Received %s from %s" % [item_name, player_name])
547 547
548 var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects")
549 if item_name == "Slowness Trap":
550 effects_node.trigger_slowness_trap()
551 if item_name == "Iceland Trap":
552 effects_node.trigger_iceland_trap()
553
548 554
549func doorIsVanilla(door): 555func doorIsVanilla(door):
550 return !_mentioned_doors.has(door) 556 return !_mentioned_doors.has(door)