Extend pre-impact pause and synchronize both call timers
This commit is contained in:
@@ -316,7 +316,7 @@ func show_menu() -> void:
|
||||
box.add_child(button("Позвонить маме" if completed == 0 else "Продолжить · звонок %d" % mini(completed + 1, 10), "start", func(): dial_call(mini(completed + 1, 10), false)))
|
||||
box.add_child(button("Проверка сцен · выбрать любой из 10 звонков", "testing", show_test_menu))
|
||||
box.add_child(button("Звук и титры", "settings", show_settings))
|
||||
box.add_child(label("0.2.4 · Катя: Jessica · Мама: Carol · ElevenLabs\nПрогресс сохраняется после находок и законченных звонков.", 16, MUTED))
|
||||
box.add_child(label("0.2.5 · Катя: Jessica · Мама: Carol · ElevenLabs\nПрогресс сохраняется после находок и законченных звонков.", 16, MUTED))
|
||||
|
||||
func show_settings() -> void:
|
||||
var box := modal()
|
||||
@@ -617,6 +617,7 @@ func strike() -> void:
|
||||
screen_fade.color = Color(0, 0, 0, 0.94)
|
||||
status_label.text = "Соединение прервано"
|
||||
refresh_commands()
|
||||
refresh_live()
|
||||
if viewing_messages: show_messages()
|
||||
if qa_mode: return
|
||||
var epoch := start_tick
|
||||
@@ -722,7 +723,6 @@ func refresh_live() -> void:
|
||||
var rise := clampf((elapsed-float(story.timeline.alarm))/6.0,0.0,1.0)
|
||||
rise = rise*rise*(3.0-2.0*rise)
|
||||
siren.volume_db = linear_to_db(lerpf(db_to_linear(-70),db_to_linear(-23),rise))
|
||||
clock_label.text = "" if chapter == 1 else "%02d:%02d" % [mini(int(elapsed), 90) / 60, mini(int(elapsed), 90) % 60]
|
||||
status_label.text = "Плохая связь" if place == "alcove" and not items.has("connected") else "На линии"
|
||||
if not running: status_label.text = "Соединение прервано" if impacted else "Готова позвонить"
|
||||
var names := {"flat": "В квартире", "inner": "Внутренний коридор", "landing": "Лестничная площадка", "alcove": "Боковой тамбур"}
|
||||
@@ -737,6 +737,7 @@ func refresh_live() -> void:
|
||||
update_choice_state()
|
||||
busy_bar.visible = not busy.is_empty()
|
||||
if not busy.is_empty(): busy_bar.value = clampf((elapsed - busy_start) / (busy_end - busy_start) * 100, 0, 100)
|
||||
stage.refresh_call_display()
|
||||
|
||||
func action_button(id: String, node: Node = null) -> Button:
|
||||
if node == null: node = ui
|
||||
|
||||
Reference in New Issue
Block a user