- ddr special logic seems to be working in solation
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
mr.one
2026-03-21 17:26:39 +01:00
parent c41bf23a45
commit 9a3c9ee28c
7 changed files with 154 additions and 26 deletions

View File

@@ -6,9 +6,9 @@ Decision.register({
Util.go_to_screen_by_id("work")
MinigameDDRWindow.start("game", nil, {
on_win = function()
if (Context.minigame_ddr.special_condition_met and Context.ascension.level == 1) then
if (Context.minigame_ddr.special_mode_condition and Context.ascension.level == 1) then
Context.should_ascend = true
Context.minigame_ddr.special_condition_met = false
Context.minigame_ddr.special_mode_condition = false
end
Meter.show()
Util.go_to_screen_by_id("office")

View File

@@ -1,5 +1,8 @@
Decision.register({
id = "play_ddr",
label = "Play DDR (Random)",
handle = function() Meter.hide() MinigameDDRWindow.start("game", nil) end,
handle = function()
Meter.hide()
MinigameDDRWindow.start("game", nil)
end,
})