Files
impostor/inc/decision/decision.do_work.lua
mr.one 9a3c9ee28c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- ddr special logic seems to be working in solation
2026-03-21 17:26:39 +01:00

21 lines
581 B
Lua

Decision.register({
id = "do_work",
label = "Do Work",
handle = function()
Meter.hide()
Util.go_to_screen_by_id("work")
MinigameDDRWindow.start("game", nil, {
on_win = function()
if (Context.minigame_ddr.special_mode_condition and Context.ascension.level == 1) then
Context.should_ascend = true
Context.minigame_ddr.special_mode_condition = false
end
Meter.show()
Util.go_to_screen_by_id("office")
Window.set_current("game")
Context.have_done_work_today = true
end,
})
end,
})