feat: added ascension meter, done 0-1 asc logic, fixed mysterious man behaviours
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed

This commit is contained in:
Zoltan Timar
2026-03-19 18:22:06 +01:00
parent 823c3313af
commit b4dcdaba58
18 changed files with 278 additions and 31 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,
})