This commit is contained in:
team3
2026-08-30 11:50:09 +02:00
parent 4d771c9a6e
commit a46eba4145
23 changed files with 816 additions and 601 deletions

View File

@@ -100,18 +100,11 @@ func _fokus_suchen() -> void:
func _hinweis_setzen() -> void:
if _fokus_mensch != null:
ui.setze_hinweis("[E] %s ansprechen — %s" %
[_fokus_mensch.data["name"], HumanDB.activity_text(_fokus_mensch.activity)])
[_fokus_mensch.data["name"], Orte.text(_fokus_mensch.activity)])
elif _fokus != null:
var kind: String = _fokus.get_meta("kind")
var titel: String = _fokus.get_meta("titel")
match kind:
"technik":
ui.setze_hinweis("[E] %s%s" % [titel,
"" if not Game.knows(_fokus.get_meta("arg")) else " (gelernt)"])
"mission":
ui.setze_hinweis("[E] %s — Mission ansehen" % titel)
"vertiefen":
ui.setze_hinweis("[E] Meditieren")
"erde":
ui.setze_hinweis("[E] Zur Erde reisen")
"traum":
@@ -135,8 +128,8 @@ func _unhandled_input(event: InputEvent) -> void:
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
player.look_enabled = true
return
if event.is_action_pressed("kodex"):
ui.kodex_panel()
if event.is_action_pressed("journal"):
ui.journal_panel()
get_viewport().set_input_as_handled()
return
if event.is_action_pressed("interagieren"):
@@ -151,14 +144,7 @@ func _interagieren() -> void:
if _fokus == null:
return
var kind: String = _fokus.get_meta("kind")
var arg: String = _fokus.get_meta("arg")
match kind:
"technik":
ui.technik_panel(arg)
"mission":
ui.mission_panel(arg)
"vertiefen":
ui.vertiefen_panel()
"erde":
if Game.active_mission == "" and Game.completed.size() < HumanDB.LIST.size():
Game.notified.emit(