game: Stadttor führt in die Westmark — Ziele mit Ziel bleiben sichtbar
This commit is contained in:
parent
2c14fbf89c
commit
63a0fbc805
4 changed files with 19 additions and 5 deletions
|
|
@ -9,6 +9,11 @@ func _ready() -> void:
|
|||
ortsbild.ziel_gewaehlt.connect(func(z: String) -> void: getroffen["ziel"] = z)
|
||||
ortsbild._auf_ziel({"name": "Marktplatz", "ziel": "garana"})
|
||||
print("Hotspot meldet: ", getroffen["ziel"])
|
||||
# Das Stadttor ist der Einstieg in die generische Karte.
|
||||
for h in ortsbild._daten.get("hotspots", []):
|
||||
if h.get("id", "") == "tor":
|
||||
ortsbild._auf_ziel(h)
|
||||
print("Stadttor meldet: ", getroffen["ziel"])
|
||||
ortsbild.queue_free()
|
||||
|
||||
var stadt: Node = load("res://scenes/world/stadt.tscn").instantiate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue