From 516d22c1737a9c94026b5ff0c9856bc5549aa416 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 3 May 2024 09:32:22 +0200 Subject: update --- Scenes/Maps/World3.gd | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'Scenes/Maps/World3.gd') diff --git a/Scenes/Maps/World3.gd b/Scenes/Maps/World3.gd index e8635c0..ad92435 100644 --- a/Scenes/Maps/World3.gd +++ b/Scenes/Maps/World3.gd @@ -6,6 +6,21 @@ func _ready(): get_node("Areas/Alpha/Objects/Sign").connect("interacted", func(): Utilities.dialog("Alpha/alpha-sign") ) - get_node("Areas/AlphaBeta6/Objects/Sign").connect("interacted", func(): + + get_node("Areas/AlphaBeta06/Objects/Sign").connect("interacted", func(): Utilities.dialog("Alpha/alpha-sign") ) + + get_node("Areas/Beta01/Objects/Button").connect("pressed", func(): + get_node("Areas/Beta01/Objects").remove_child(get_node("Areas/Beta01/Objects/Wood")) + ) + get_node("Areas/Beta01/Objects/Button2").connect("pressed", func(): + get_node("Areas/Beta01/Objects").remove_child(get_node("Areas/Beta01/Objects/Wood2")) + ) + + get_node("Areas/Beta02/Objects/Button").connect("pressed", func(): + get_node("Areas/Beta02/Objects").remove_child(get_node("Areas/Beta02/Objects/Wood")) + ) + get_node("Areas/Beta02/Objects/Button2").connect("pressed", func(): + get_node("Areas/Beta02/Objects").remove_child(get_node("Areas/Beta02/Objects/Wood2")) + ) -- cgit v1.2.3