summaryrefslogtreecommitdiff
path: root/Scenes/Maps/World3.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-05-03 09:32:22 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-05-03 09:32:22 +0200
commit516d22c1737a9c94026b5ff0c9856bc5549aa416 (patch)
treecd9ef3089d1c8bdfc440b5673f7ad0d0dce787a9 /Scenes/Maps/World3.gd
parentd192b1546ab39180cdc28d2621c117539e3d26d6 (diff)
update
Diffstat (limited to 'Scenes/Maps/World3.gd')
-rw-r--r--Scenes/Maps/World3.gd17
1 files changed, 16 insertions, 1 deletions
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"))
+ )