Phase 8: Lexicon-Buch-UI — blätterbares Buch ersetzt das Journal (CR 4)

- Diegetische Buch-UI an der journal-Taste: Einband + Pergament-Blatt,
  blättern mit Pfeiltasten/Steuerkreuz oder Buttons, J/Esc klappt zu
- Seiten: Kalender-Innencover (Tag 1–10, heutiger Tag markiert),
  Drache & Signet, drei Fach-Seiten aus data/lexicon/subjects.json
  (füllen sich über die Wissens-Zähler), Personen & Gerüchte
  (Codex-Übernahme), Muster-Board mit CR-2-Leitfrage „Warum ist Wren
  mit 16 hier?" (liest w1_fragment_-Flags, Fundament für Phase 10),
  eigene Notizen (persistiert über GameState.lexicon_notes im Save)
- Battle-Brief- und Geschichts-Station zählen jetzt Fachwissen
  (knowledge_flag) wie die Rotunde
- Journal-Szene und -Skript entfernt, player.tscn instanziert das Lexicon
- Buchführung: Lexicon-Teil von CR 4 nach CHANGEREQUESTS_DONE

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-07-16 06:30:18 +02:00
parent 8aa318a9c2
commit 9148087814
12 changed files with 613 additions and 211 deletions

View file

@ -43,6 +43,7 @@ var faction_standings: Dictionary = {}
var bound_dragon: Dictionary = {}
var is_permadeath_enabled := true
var saved_scene_path := ""
var lexicon_notes := ""
## Setzt alle Werte auf die Startwerte eines neuen Spiels zurück.
@ -60,6 +61,7 @@ func reset() -> void:
faction_standings.clear()
bound_dragon.clear()
saved_scene_path = ""
lexicon_notes = ""
blade_heart_tone_changed.emit(blade_heart_tone)
@ -177,6 +179,7 @@ func to_save_dict() -> Dictionary:
var scene_path := "" if current_scene == null else str(current_scene.scene_file_path)
return {
"current_scene": scene_path,
"lexicon_notes": lexicon_notes,
"strength": strength,
"agility": agility,
"intellect": intellect,
@ -226,6 +229,7 @@ func apply_save_dict(data: Dictionary) -> void:
if saved_dragon is Dictionary:
bound_dragon = saved_dragon.duplicate()
saved_scene_path = str(data.get("current_scene", ""))
lexicon_notes = str(data.get("lexicon_notes", ""))
TimeSystem.apply_save_state(int(data.get("time_day", 1)), int(data.get("time_slot", 0)), bool(data.get("time_slot_used", false)))
blade_heart_tone_changed.emit(blade_heart_tone)
for npc_id in relationships: