Talking-head dialogue: DialogueDirector, DialogueBox, conversations and speakers

Conversations saved in game/resources/dialogue/ play once at their night and
phase in a paper box with talking heads; example: the morning of day 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-07 21:33:54 -04:00
parent bbd8012fff
commit 1d92f49d96
22 changed files with 1158 additions and 2 deletions

View file

@ -92,7 +92,8 @@ func _process(delta: float) -> void:
if sim == null:
return
var s := sim.campaign.state
if not enabled or dismissed or s.night != 1 or sim.campaign.is_over() or sim._menu_open():
if not enabled or dismissed or s.night != 1 or sim.campaign.is_over() or sim._menu_open() \
or (sim.dialogue != null and sim.dialogue.is_playing()):
_show("")
return
_check_done()