Skip to content

Commit ca9b27b

Browse files
committed
unlock all unlocks none (main edition)
1 parent 6dc895f commit ca9b27b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

items/challenge.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,9 @@ function Game:start_run(args)
497497
table.insert(G.handlist, 1, "cry_Declare2")
498498
end
499499
Cryptid.base_values = {}
500+
if G.PROFILES[G.SETTINGS.profile].all_unlocked then
501+
G.PROFILES[G.SETTINGS.profile].cry_none = true
502+
end
500503
end
501504
local challenges = {
502505
sticker_sheet,

lib/overrides.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2189,3 +2189,9 @@ function SMODS.is_eternal(card)
21892189
end
21902190
return is_eternalref(card)
21912191
end
2192+
2193+
local unlock_allref = G.FUNCS.unlock_all
2194+
G.FUNCS.unlock_all = function(e)
2195+
unlock_allref(e)
2196+
G.PROFILES[G.SETTGINGS.profile].cry_none = true
2197+
end

0 commit comments

Comments
 (0)