feat: added standard day cycle, added mysterious man screen, added work screen, added new decisions, placed minigames in their proposed space
This commit is contained in:
15
inc/decision/decision.do_work.lua
Normal file
15
inc/decision/decision.do_work.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
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()
|
||||
Meter.show()
|
||||
Util.go_to_screen_by_id("office")
|
||||
Window.set_current("game")
|
||||
end,
|
||||
})
|
||||
end,
|
||||
})
|
||||
16
inc/decision/decision.go_to_sleep.lua
Normal file
16
inc/decision/decision.go_to_sleep.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
Decision.register({
|
||||
id = "go_to_sleep",
|
||||
label = "Go to Sleep",
|
||||
handle = function()
|
||||
Meter.hide()
|
||||
Day.increase()
|
||||
MinigameRhythmWindow.start("game", {
|
||||
focus_center_x = Config.screen.width / 2,
|
||||
focus_center_y = Config.screen.height / 2,
|
||||
focus_initial_radius = 0,
|
||||
on_win = function()
|
||||
MysteriousManWindow.start()
|
||||
end,
|
||||
})
|
||||
end,
|
||||
})
|
||||
Reference in New Issue
Block a user