CR: Dialog-Zeilen per confirm/interact bis zur naechsten Auswahl skippen
- confirm (Enter/A) und interact (E) ueberspringen laufende Zeilen, Zeile fuer Zeile bis zur naechsten Antwortauswahl; funktioniert auch in nicht abbrechbaren Dialogen, ohne den Abbruch-Schutz auszuhebeln - Hinweiszeile der Chatbox zeigt die Weiter-Taste, Abbruch nur wo erlaubt - Headless verifiziert (6 Checks) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
77c905de62
commit
84a437825b
3 changed files with 43 additions and 13 deletions
|
|
@ -27,13 +27,18 @@ func _ready() -> void:
|
|||
|
||||
|
||||
## Zeigt eine Dialog-Zeile mit Sprechernamen; eine noch offene
|
||||
## Antwortauswahl wird dabei geleert. Der Abbruch-Hinweis erscheint nur,
|
||||
## wenn der laufende Dialog abbrechbar ist.
|
||||
## Antwortauswahl wird dabei geleert. Die Hinweiszeile zeigt immer die
|
||||
## Weiter-Taste (Zeilen-Skip) und nur bei abbrechbaren Dialogen
|
||||
## zusätzlich den Abbruch.
|
||||
func show_line(speaker_name: String, text: String) -> void:
|
||||
_speaker_label.text = speaker_name
|
||||
_line_label.text = text
|
||||
_clear_options()
|
||||
_abort_hint.visible = DialogueSystem.is_abort_allowed
|
||||
if DialogueSystem.is_abort_allowed:
|
||||
_abort_hint.text = "Enter / E — weiter · X / Esc — Gespräch beenden"
|
||||
else:
|
||||
_abort_hint.text = "Enter / E — weiter"
|
||||
_abort_hint.visible = true
|
||||
visible = true
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue