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:
parent
bbd8012fff
commit
1d92f49d96
22 changed files with 1158 additions and 2 deletions
|
|
@ -63,6 +63,8 @@ func _ready() -> void:
|
|||
sim.end_panel.menu_requested.connect(to_menu)
|
||||
if sim.tutorial != null:
|
||||
sim.tutorial.enabled = settings.show_tips
|
||||
if sim.dialogue != null:
|
||||
sim.dialogue.box.blocked = func() -> bool: return screen != Screen.PLAYING
|
||||
main_menu.continue_requested.connect(continue_vacation)
|
||||
main_menu.new_requested.connect(_ask_new_vacation)
|
||||
main_menu.settings_requested.connect(_open_settings)
|
||||
|
|
@ -188,6 +190,8 @@ func resume() -> void:
|
|||
get_tree().paused = false
|
||||
if sim.local_frozen:
|
||||
sim.freeze_local(false)
|
||||
if sim.dialogue != null:
|
||||
sim.dialogue.hold() # a conversation that was up stops the farm again
|
||||
|
||||
|
||||
func restart_night() -> void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue