feat: added ascension meter, done 0-1 asc logic, fixed mysterious man behaviours
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
Decision.register({
|
||||
id = "go_to_end",
|
||||
label = "Break the cycle",
|
||||
condition = function()
|
||||
return Ascension.is_complete()
|
||||
end,
|
||||
handle = function()
|
||||
Window.set_current("end")
|
||||
end,
|
||||
|
||||
@@ -9,7 +9,8 @@ Decision.register({
|
||||
focus_center_y = (Config.screen.height / 2) - 18,
|
||||
focus_initial_radius = 0,
|
||||
on_win = function()
|
||||
MysteriousManWindow.start()
|
||||
local ascended = Ascension.consume_increase()
|
||||
MysteriousManWindow.start({ skip_text = not ascended })
|
||||
end,
|
||||
})
|
||||
end,
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
Decision.register({
|
||||
id = "start_discussion",
|
||||
label = function()
|
||||
if Context.day_count >= 3 then
|
||||
if Context.have_met_sumphore then
|
||||
return "Talk to Sumphore"
|
||||
end
|
||||
return "Talk to the homeless guy"
|
||||
end,
|
||||
handle = function()
|
||||
if Context.day_count < 3 then
|
||||
if not Context.have_met_sumphore then
|
||||
Discussion.start("homeless_guy", "game")
|
||||
end
|
||||
if Context.day_count >= 3 then
|
||||
elseif Ascension.get_level() == 0 then
|
||||
Discussion.start("homeless_guy", "game", 4)
|
||||
else
|
||||
Discussion.start("sumphore_day_3", "game")
|
||||
return
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user