CRs: Umbenennung raus, Dialog-Maus + Abbruch-Hinweis, Viadukt 4x, Wren laeuft
- Charakter-Anlage entfernt: Neues Spiel fuehrt direkt aufs Viadukt, player_name zurueckgebaut (Anzeigename aus der speakers-Map, fix Tyrveil) - Dialog-Box: Hinweis X/Esc - Gespraech beenden (bei can_abort:false ausgeblendet); Maus wird im Dialog freigegeben und danach wieder eingefangen, Antwort-Buttons damit klickbar - Viadukt von ~55 m auf ~220 m: Gelaender-Steg, zwei versetzte Sprungluecken, Kletterstelle, 32-m-Wandgang, 36-m-gelaenderloser Zickzack-Steg, Rastplattform, Doppel-Kletterpartie mit Absprung, Insel-Spruenge, breite Wren-Passage; acht Checkpoints - Wren laeuft das Viadukt entlang (stoppt zoegernd an der kippenden Platte), Straucheln loest beim Einholen aus (3,5 m), Ausloese-Zone weg - Headless verifiziert; zwei Maus-Capture-Checks schlagen nur headless fehl (Capture ist ohne Display ein No-op, isoliert nachgewiesen) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
3cdf5f6ac5
commit
2ee3c3f782
12 changed files with 471 additions and 286 deletions
|
|
@ -23,9 +23,7 @@ const HUMANITY_MAX := 100
|
|||
const DEFAULT_STRENGTH := 35
|
||||
const DEFAULT_AGILITY := 35
|
||||
const DEFAULT_INTELLECT := 15
|
||||
const DEFAULT_PLAYER_NAME := "Tyrveil"
|
||||
|
||||
var player_name := DEFAULT_PLAYER_NAME
|
||||
var strength := DEFAULT_STRENGTH
|
||||
var agility := DEFAULT_AGILITY
|
||||
var intellect := DEFAULT_INTELLECT
|
||||
|
|
@ -39,7 +37,6 @@ var is_permadeath_enabled := true
|
|||
|
||||
## Setzt alle Werte auf die Startwerte eines neuen Spiels zurück.
|
||||
func reset() -> void:
|
||||
player_name = DEFAULT_PLAYER_NAME
|
||||
strength = DEFAULT_STRENGTH
|
||||
agility = DEFAULT_AGILITY
|
||||
intellect = DEFAULT_INTELLECT
|
||||
|
|
@ -130,7 +127,6 @@ func get_story_flag(flag_name: String, default: Variant = null) -> Variant:
|
|||
## Serialisiert den kompletten Zustand als Dictionary für das SaveSystem.
|
||||
func to_save_dict() -> Dictionary:
|
||||
return {
|
||||
"player_name": player_name,
|
||||
"strength": strength,
|
||||
"agility": agility,
|
||||
"intellect": intellect,
|
||||
|
|
@ -148,9 +144,6 @@ func to_save_dict() -> Dictionary:
|
|||
## normalisiert und alle Werte geklemmt; Änderungs-Signale werden nach dem
|
||||
## Laden ausgelöst.
|
||||
func apply_save_dict(data: Dictionary) -> void:
|
||||
player_name = str(data.get("player_name", DEFAULT_PLAYER_NAME))
|
||||
if player_name.strip_edges().is_empty():
|
||||
player_name = DEFAULT_PLAYER_NAME
|
||||
strength = clampi(int(data.get("strength", DEFAULT_STRENGTH)), STAT_MIN, STAT_MAX)
|
||||
agility = clampi(int(data.get("agility", DEFAULT_AGILITY)), STAT_MIN, STAT_MAX)
|
||||
intellect = clampi(int(data.get("intellect", DEFAULT_INTELLECT)), STAT_MIN, STAT_MAX)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue