screen init, update, optional decision condition
This commit is contained in:
@@ -4,5 +4,4 @@ Decision.register({
|
||||
handle = function()
|
||||
Util.go_to_screen_by_id("home")
|
||||
end,
|
||||
condition = function() return true end
|
||||
})
|
||||
|
||||
@@ -4,5 +4,4 @@ Decision.register({
|
||||
handle = function()
|
||||
Util.go_to_screen_by_id("office")
|
||||
end,
|
||||
condition = function() return true end
|
||||
})
|
||||
|
||||
@@ -4,5 +4,4 @@ Decision.register({
|
||||
handle = function()
|
||||
Util.go_to_screen_by_id("toilet")
|
||||
end,
|
||||
condition = function() return true end
|
||||
})
|
||||
|
||||
@@ -4,5 +4,4 @@ Decision.register({
|
||||
handle = function()
|
||||
Util.go_to_screen_by_id("walking_to_home")
|
||||
end,
|
||||
condition = function() return true end
|
||||
})
|
||||
|
||||
@@ -4,5 +4,4 @@ Decision.register({
|
||||
handle = function()
|
||||
Util.go_to_screen_by_id("walking_to_office")
|
||||
end,
|
||||
condition = function() return true end
|
||||
})
|
||||
|
||||
@@ -4,5 +4,4 @@ Decision.register({
|
||||
handle = function()
|
||||
Situation.apply("drink_coffee")
|
||||
end,
|
||||
condition = function() return true end
|
||||
})
|
||||
|
||||
@@ -2,5 +2,4 @@ Decision.register({
|
||||
id = "play_button_mash",
|
||||
label = "Play Button Mash",
|
||||
handle = function() Meters.hide() MinigameButtonMashWindow.start(WINDOW_GAME) end,
|
||||
condition = function() return true end
|
||||
})
|
||||
|
||||
@@ -2,5 +2,4 @@ Decision.register({
|
||||
id = "play_ddr",
|
||||
label = "Play DDR (Random)",
|
||||
handle = function() Meters.hide() MinigameDDRWindow.start(WINDOW_GAME, nil) end,
|
||||
condition = function() return true end
|
||||
})
|
||||
|
||||
@@ -2,5 +2,4 @@ Decision.register({
|
||||
id = "play_rhythm",
|
||||
label = "Play Rhythm Game",
|
||||
handle = function() Meters.hide() MinigameRhythmWindow.start(WINDOW_GAME) end,
|
||||
condition = function() return true end
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user