summaryrefslogtreecommitdiff
path: root/Scenes/Maps/World3.gd
diff options
context:
space:
mode:
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"))
+ )