This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
Decision.register({
|
||||
id = "go_to_end",
|
||||
label = "Break the cycle",
|
||||
condition = function()
|
||||
return Ascension.is_complete()
|
||||
end,
|
||||
handle = function()
|
||||
Window.set_current("end")
|
||||
end,
|
||||
})
|
||||
@@ -2,6 +2,9 @@ Decision.register({
|
||||
id = "go_to_home",
|
||||
label = "Go Home",
|
||||
condition = function()
|
||||
if Ascension.get_level() >= 8 then
|
||||
return Context.have_been_to_office and Context.have_done_work_today
|
||||
end
|
||||
if CommuteGlitch.is_active() then
|
||||
local g = CommuteGlitch.get_level()
|
||||
if g >= 4 and g <= 5 then return false end
|
||||
@@ -12,6 +15,10 @@ Decision.register({
|
||||
return Context.have_been_to_office and Context.have_done_work_today
|
||||
end,
|
||||
handle = function()
|
||||
if Ascension.get_level() >= 8 then
|
||||
Util.go_to_screen_by_id("home")
|
||||
return
|
||||
end
|
||||
if CommuteGlitch.is_active() and CommuteGlitch.get_level() >= 7 then
|
||||
Context.should_ascend = true
|
||||
CommuteGlitch.reset()
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
Decision.register({
|
||||
id = "go_to_sleep",
|
||||
label = "Go to Sleep",
|
||||
label = function()
|
||||
if Ascension.get_level() >= 8 then
|
||||
return "Break the Loop"
|
||||
end
|
||||
return "Go to Sleep"
|
||||
end,
|
||||
condition = function()
|
||||
return Context.have_been_to_office and Context.have_done_work_today
|
||||
end,
|
||||
@@ -12,11 +17,15 @@ Decision.register({
|
||||
focus_center_y = (Config.screen.height / 2) - 18,
|
||||
focus_initial_radius = 0,
|
||||
on_win = function()
|
||||
if Ascension.get_level() == 8 then
|
||||
Ascension.increase()
|
||||
end
|
||||
local ascended = Ascension.consume_increase()
|
||||
local level = Ascension.get_level()
|
||||
MysteriousManScreen.start({
|
||||
skip_text = not ascended,
|
||||
text = ascended and MysteriousManScreen.get_text_for_level(level) or nil,
|
||||
break_mode = level >= 9,
|
||||
})
|
||||
end,
|
||||
})
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
Decision.register({
|
||||
id = "have_a_coffee",
|
||||
label = "Have a Coffee",
|
||||
condition = function()
|
||||
return Ascension.get_level() < 8
|
||||
end,
|
||||
handle = function()
|
||||
local level = Ascension.get_level()
|
||||
local disc_id = "coworker_disc_0"
|
||||
|
||||
@@ -6,6 +6,9 @@ Decision.register({
|
||||
end
|
||||
return "Talk to the homeless guy"
|
||||
end,
|
||||
condition = function()
|
||||
return Ascension.get_level() < 8
|
||||
end,
|
||||
handle = function()
|
||||
if not Context.have_met_sumphore then
|
||||
Discussion.start("homeless_guy", "game")
|
||||
|
||||
Reference in New Issue
Block a user