Phase 5: Dreschen, Bindungs-RNG, Signet-Reveal, Wahrheit 3, Journal, Epilog
- Nachtrag 4c: jack_outcome-Story-Flag (success/failed, Default never_encountered) in beiden Ambush-Ausgaengen - data/dragons/dragons.json: Farben je 19, Schwarz 5; Schwaenze je 24, Federschwanz 4. data/signets/signets.json: zehn kanon-neutrale Signets - DragonBondSystem: Ablehnung Basis 20% (-Herz-Ton/20 max -5, -(Wren+Maren)/4 max -5, -/+5 je Jack-Ausgang, geklemmt 5-35); Federschwanz-Gewicht 4 + Herz-Ton/10 (max +10) + (Wren+Maren)/4 (max +5) +1 bei Jack-Erfolg (Herz-Pfad hebt ~4% auf ~17%); Vater-verbundener Drache als erzaehlerische Faerbung; fixe Zieh-Reihenfolge fuer seedbare Tests. SignetSystem lost aus der Tabelle - Dreschen-Szene (scenes/hatching): atmosphaerisches Set-Piece mit Kamera-Pan, Drachenkreis-Silhouetten, Bindungs-Sequenz ueber Sprechblasen; Wahrheit 3 als Moment der Bindung (Wiedererkennen statt Zufall, truth_3_revealed); Ablehnung bei Permadeath AN toedlich, bei AUS weitere Versuche (nach 3 erzwingt der Story-Modus die Bindung); Ergebnis in GameState.bound_dragon (gespeichert) + Auto-Save - Journal-Grundgeruest an der journal-Action (J/Y-Dreieck), Instanz im Player: zeigt Drache + Signet bzw. Platzhalter, fokus-navigierbar - Epilog (scenes/epilogue): Flug-Teaser als Platzhalter-Tableau - stiller Schwur, Wren winkt von unten, Rauch-Andeutung hinter der Grenze (Haken, nicht ausgespielt), Abspann-Bildschirm zurueck ins Hauptmenue = Ende v1 - Gauntlet-Endtrigger fuehrt jetzt ins Dreschen - Headless verifiziert (34 Checks): Jack-Flag, beide Formel-Profile, kompletter Bindungs-Durchlauf mit Journal und Save-Roundtrip, Epilog bis Hauptmenue, geseedete Ablehnung mit Game Over bei Permadeath AN Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
84a437825b
commit
d7f510eaf9
18 changed files with 852 additions and 14 deletions
|
|
@ -34,6 +34,7 @@ var relationships: Dictionary = {}
|
|||
var completed_dialogues: Dictionary = {}
|
||||
var story_flags: Dictionary = {}
|
||||
var faction_standings: Dictionary = {}
|
||||
var bound_dragon: Dictionary = {}
|
||||
var is_permadeath_enabled := true
|
||||
|
||||
|
||||
|
|
@ -50,6 +51,7 @@ func reset() -> void:
|
|||
completed_dialogues.clear()
|
||||
story_flags.clear()
|
||||
faction_standings.clear()
|
||||
bound_dragon.clear()
|
||||
blade_heart_tone_changed.emit(blade_heart_tone)
|
||||
|
||||
|
||||
|
|
@ -147,6 +149,17 @@ func adjust_faction_standing(faction_id: String, amount: int) -> void:
|
|||
set_faction_standing(faction_id, get_faction_standing(faction_id) + amount)
|
||||
|
||||
|
||||
## Speichert das Dreschen-Ergebnis (Farbe, Schwanztyp, Besonderheiten,
|
||||
## Signet) — gleiches Save-Muster wie story_flags.
|
||||
func set_bound_dragon(dragon: Dictionary) -> void:
|
||||
bound_dragon = dragon.duplicate()
|
||||
|
||||
|
||||
## Gibt zurück, ob Tyrveil bereits gebunden ist.
|
||||
func has_bound_dragon() -> bool:
|
||||
return not bound_dragon.is_empty()
|
||||
|
||||
|
||||
## Serialisiert den kompletten Zustand als Dictionary für das SaveSystem.
|
||||
func to_save_dict() -> Dictionary:
|
||||
return {
|
||||
|
|
@ -159,6 +172,7 @@ func to_save_dict() -> Dictionary:
|
|||
"completed_dialogues": completed_dialogues.duplicate(),
|
||||
"story_flags": story_flags.duplicate(),
|
||||
"faction_standings": faction_standings.duplicate(),
|
||||
"bound_dragon": bound_dragon.duplicate(),
|
||||
"is_permadeath_enabled": is_permadeath_enabled,
|
||||
"time_day": TimeSystem.day_count,
|
||||
"time_slot": TimeSystem.current_slot,
|
||||
|
|
@ -193,6 +207,10 @@ func apply_save_dict(data: Dictionary) -> void:
|
|||
var saved_standings: Dictionary = data.get("faction_standings", {})
|
||||
for faction_id in saved_standings:
|
||||
faction_standings[String(faction_id)] = clampi(int(saved_standings[faction_id]), RELATIONSHIP_MIN, RELATIONSHIP_MAX)
|
||||
bound_dragon = {}
|
||||
var saved_dragon: Variant = data.get("bound_dragon", {})
|
||||
if saved_dragon is Dictionary:
|
||||
bound_dragon = saved_dragon.duplicate()
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue