diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-05-03 09:32:22 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-05-03 09:32:22 +0200 |
commit | 516d22c1737a9c94026b5ff0c9856bc5549aa416 (patch) | |
tree | cd9ef3089d1c8bdfc440b5673f7ad0d0dce787a9 /Scenes/Maps/World3.gd | |
parent | d192b1546ab39180cdc28d2621c117539e3d26d6 (diff) |
update
Diffstat (limited to 'Scenes/Maps/World3.gd')
-rw-r--r-- | Scenes/Maps/World3.gd | 17 |
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")) + ) |