From 53ccda77022992e1f749d4116fbc25ae98bcb48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tari=20Bal=C3=A1zs?= Date: Sun, 22 Mar 2026 21:42:13 +0100 Subject: [PATCH] - updated decision texts for less grammatical errors - fixed for "only_left" game maxing out before special win - game ends with TO BE CONTINUED at ASC 4 --- inc/audio/audio.generator.lua | 2 ++ inc/decision/decision.go_to_home.lua | 2 +- inc/decision/decision.go_to_walking_to_home.lua | 2 +- inc/decision/decision.go_to_walking_to_office.lua | 2 +- inc/screen/screen.mysterious_man.lua | 5 +++++ inc/window/window.minigame.ddr.lua | 3 +++ 6 files changed, 13 insertions(+), 3 deletions(-) diff --git a/inc/audio/audio.generator.lua b/inc/audio/audio.generator.lua index 71db319..b228b71 100644 --- a/inc/audio/audio.generator.lua +++ b/inc/audio/audio.generator.lua @@ -1,3 +1,5 @@ +local unpack = unpack or table.unpack + local musicator_markov_model = { model = { ["...|..."] = { diff --git a/inc/decision/decision.go_to_home.lua b/inc/decision/decision.go_to_home.lua index bc02eff..b898adb 100644 --- a/inc/decision/decision.go_to_home.lua +++ b/inc/decision/decision.go_to_home.lua @@ -1,6 +1,6 @@ Decision.register({ id = "go_to_home", - label = "Go to Home", + label = "Go Home", condition = function() return Context.have_been_to_office and Context.have_done_work_today end, diff --git a/inc/decision/decision.go_to_walking_to_home.lua b/inc/decision/decision.go_to_walking_to_home.lua index 842c639..ce5734d 100644 --- a/inc/decision/decision.go_to_walking_to_home.lua +++ b/inc/decision/decision.go_to_walking_to_home.lua @@ -1,6 +1,6 @@ Decision.register({ id = "go_to_walking_to_home", - label = "Walking to home", + label = "Walk home", handle = function() Util.go_to_screen_by_id("walking_to_home") end, diff --git a/inc/decision/decision.go_to_walking_to_office.lua b/inc/decision/decision.go_to_walking_to_office.lua index 73e0594..2a713dc 100644 --- a/inc/decision/decision.go_to_walking_to_office.lua +++ b/inc/decision/decision.go_to_walking_to_office.lua @@ -1,6 +1,6 @@ Decision.register({ id = "go_to_walking_to_office", - label = "Walking to office", + label = "Walk to office", handle = function() Util.go_to_screen_by_id("walking_to_office") end, diff --git a/inc/screen/screen.mysterious_man.lua b/inc/screen/screen.mysterious_man.lua index 0f081ba..e67d88d 100644 --- a/inc/screen/screen.mysterious_man.lua +++ b/inc/screen/screen.mysterious_man.lua @@ -214,6 +214,11 @@ Screen.register({ else text_done_timer = text_done_timer - 1 if text_done_timer <= 0 then + -- to be continued + if 4 <= Ascension.get_level() then + Window.set_current("continued") + end + go_to_day_state() end end diff --git a/inc/window/window.minigame.ddr.lua b/inc/window/window.minigame.ddr.lua index 0218cc6..415a4be 100644 --- a/inc/window/window.minigame.ddr.lua +++ b/inc/window/window.minigame.ddr.lua @@ -86,6 +86,9 @@ function MinigameDDRWindow.on_arrow_hit_special(arrow, game_context) if arrow.dir == "left" then Audio.sfx_arrowhit(arrow.note) game_context.special_mode_counter = game_context.special_mode_counter + 1 + if game_context.max_fill <= game_context.bar_fill + game_context.fill_per_hit then + game_context.bar_fill = game_context.bar_fill - game_context.fill_per_hit + end else if game_context.special_mode_condition then Audio.sfx_bloop() end game_context.special_mode_condition = false