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:
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