CR 16: Permadeath raus — Tod führt auf den letzten Spielstand, ESC-Save
- is_permadeath_enabled komplett ausgebaut (GameState, Save-Feld, Hauptmenü-Toggle, Debug-Overlay-Zeile) - SaveSystem.reload_last_save(): lädt Spielstand + gespeicherte Szene; ohne Spielstand startet der Lauf frisch am Viadukt — verdrahtet an Viadukt-KillZone, Tag-9-QTE (Schleife raus, Weiche bleibt über den Tages-Replay erhalten) und Smàladhs Dreschen-Prüfung - Gauntlet-Stürze behalten Checkpoint-/Ernstlauf-Respawn, Jacks Niederlage ihren Fail-Pfad (Ausgänge bleiben spielrelevant) - Neues ESC-Pausenmenü in player.tscn: Weiterspielen, Speichern mit „Gespeichert."-Feedback, Hauptmenü, Beenden; exklusiv zum Lexicon - DialogueSystem: _wait_for_line übersteht Szenenwechsel mitten in der Zeile (is_instance_valid-Guard) - Buchführung: CR 16 nach CHANGEREQUESTS_DONE, ROADMAP-Status nachgezogen Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
f18e6d3a4d
commit
a38398c3ec
37 changed files with 829 additions and 203 deletions
|
|
@ -10,14 +10,13 @@ extends Node
|
|||
## zeitkritische Eingaben über bestehende Input-Actions (slide, jump,
|
||||
## sprint — Tastatur wie Controller identisch); während der QTE ist die
|
||||
## Spieler-Steuerung gesperrt und aller übrige Input wird geschluckt.
|
||||
## Erfolg: Wahl-Dialog Klinge/Herz mit Standing +3/+2. Scheitern: bei
|
||||
## Permadeath AN Game Over ins Hauptmenü (wie am Viadukt), bei Permadeath
|
||||
## AUS Prellungen und Gezeichneten-Standing FAIL_STANDING_PENALTY.
|
||||
## Erfolg: Wahl-Dialog Klinge/Herz mit Standing +3/+2. Scheitern ist
|
||||
## kein Tod (CR 16), sondern die Fail-Konsequenz: Prellungen, Fail-Dialog
|
||||
## und Gezeichneten-Standing FAIL_STANDING_PENALTY.
|
||||
|
||||
const INTRO_PATH := "res://data/dialogue/jack_intro.json"
|
||||
const WIN_PATH := "res://data/dialogue/jack_win.json"
|
||||
const FAIL_PATH := "res://data/dialogue/jack_fail.json"
|
||||
const MAIN_MENU_SCENE := "res://scenes/ui/main_menu.tscn"
|
||||
const AMBUSH_MIN_DAY := 2
|
||||
const QTE_STAGES := 3
|
||||
const QTE_WINDOW_SECONDS := 1.4
|
||||
|
|
@ -111,12 +110,6 @@ func _run_ambush(player: CharacterBody3D) -> void:
|
|||
DialogueSystem.PLAYER_SPEAKER_ID: player,
|
||||
})
|
||||
await DialogueSystem.dialogue_finished
|
||||
elif GameState.is_permadeath_enabled:
|
||||
GameState.set_story_flag("jack_outcome", "failed")
|
||||
print("Game Over — Barlowes Hinterhalt endet tödlich.")
|
||||
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
|
||||
get_tree().change_scene_to_file(MAIN_MENU_SCENE)
|
||||
return
|
||||
else:
|
||||
GameState.set_story_flag("jack_outcome", "failed")
|
||||
FactionSystem.adjust_standing(FactionSystem.MARKED_FACTION_ID, FAIL_STANDING_PENALTY)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue