feat: added sumphore & coworker discussions until asc 3, fixed game flow bugs, added mysterious man screen texts
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Zoltan Timar
2026-03-21 00:12:15 +01:00
parent f79233521d
commit 05091c7af2
17 changed files with 489 additions and 284 deletions

View File

@@ -40,7 +40,9 @@ function MinigameDDRWindow.init_context()
use_pattern = false,
return_window = nil,
win_timer = 0,
on_win = nil
on_win = nil,
special_condition_met = false,
total_misses = 0,
}
end
@@ -162,6 +164,7 @@ function MinigameDDRWindow.update()
if mg.win_timer > 0 then
mg.win_timer = mg.win_timer - 1
if mg.win_timer == 0 then
mg.special_condition_met = (mg.total_misses == 0)
Meter.on_minigame_complete()
if mg.on_win then
mg.on_win()
@@ -211,6 +214,7 @@ function MinigameDDRWindow.update()
if mg.bar_fill < 0 then
mg.bar_fill = 0
end
mg.total_misses = mg.total_misses + 1
end
end
-- iterate backwards to avoid index shift issues
@@ -254,6 +258,7 @@ function MinigameDDRWindow.update()
if mg.bar_fill < 0 then
mg.bar_fill = 0
end
mg.total_misses = mg.total_misses + 1
end
end
end

View File

@@ -70,6 +70,9 @@ function MinigameButtonMashWindow.update()
if mg.win_timer == 0 then
Meter.on_minigame_complete()
if mg.focus_center_x then Focus.stop() end
Context.home_norman_visible = true
Context.have_done_work_today = false
Context.have_been_to_office = false
if mg.on_win then
mg.on_win()
else