This commit is contained in:
Team3
2026-09-05 10:25:55 +02:00
parent 8b60164592
commit 124a55a03e
16 changed files with 659 additions and 92 deletions

View File

@@ -73,6 +73,7 @@ func _process(delta: float) -> void:
ui.setze_hinweis("")
return
Game.notiz_sperre = maxf(0.0, Game.notiz_sperre - delta)
Game.situationen_ticken(dt, auf_erde and not Game.schlaeft_ziel())
_fokus_suchen()
_dabeisein()
_hinweis_setzen()
@@ -131,6 +132,9 @@ func _notiz_hinweis(mensch: Bewohner) -> String:
var tat := Orte.text(mensch.activity)
if str(mensch.data["id"]) != Game.active_mission:
return tat
if Game.situation_bei(str(mensch.data["id"])):
return "%s · [E] jetzt eine Technik" % \
Probleme.SITUATIONEN[Game.situation["key"]]["name"]
if Game.notiz_sperre > 0.0:
return "%s (%.0f s)" % [tat, Game.notiz_sperre]
if Game.erkannt(str(mensch.data["id"]), int(mensch.slot)):
@@ -181,6 +185,8 @@ func _dabeisein() -> void:
var id: String = str(_fokus_mensch.data["id"])
if id == Game.active_mission:
Game.sehen(id, int(_fokus_mensch.slot))
if Game.situation_bei(id):
Game.situation_sehen()
## Den Moment benennen: hier läuft etwas schief. Das ist der Kern des
@@ -227,7 +233,11 @@ func _verfolgen() -> void:
func _interagieren() -> void:
if _fokus_mensch != null:
ui.anwenden_panel(_fokus_mensch)
# Der offene Moment geht vor: er ist gleich wieder vorbei
if Game.situation_bei(str(_fokus_mensch.data["id"])):
ui.situation_panel(_fokus_mensch)
else:
ui.anwenden_panel(_fokus_mensch)
return
if _fokus == null:
return