Remove centers in non-Cryptid that only worked in Cryptid

This commit is contained in:
Emik 2026-02-16 16:49:39 +01:00
parent 14ac080804
commit a40e85c8c4
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
8 changed files with 360 additions and 346 deletions

View file

@ -17,5 +17,5 @@
"conflicts": [ "conflicts": [
"Jen" "Jen"
], ],
"version": "1.5.22" "version": "1.5.23"
} }

View file

@ -213,7 +213,8 @@ back {
end, end,
} }
back { if Cryptid then
back {
key = "mysterious", key = "mysterious",
atlas = "janedecks", atlas = "janedecks",
pos = {x = 1, y = 0}, pos = {x = 1, y = 0},
@ -253,7 +254,8 @@ back {
G.GAME.mysterious_init = true G.GAME.mysterious_init = true
end end
end, end,
} }
end
local function redeem_omen_globe() local function redeem_omen_globe()
G.GAME.used_vouchers.v_omen_globe = true G.GAME.used_vouchers.v_omen_globe = true

View file

@ -62,6 +62,10 @@ SMODS.Blind {
end, end,
} }
if not Cryptid then
return
end
SMODS.Blind { SMODS.Blind {
loc_txt = { loc_txt = {
name = "The Insignia", name = "The Insignia",

View file

@ -5,7 +5,8 @@ SMODS.Atlas {
path = Jane.config.texture_pack .. "/p_jane_boosters.png", path = Jane.config.texture_pack .. "/p_jane_boosters.png",
} }
for i = 1, 2 do if Cryptid then
for i = 1, 2 do
SMODS.Booster { SMODS.Booster {
key = "ministandard" .. i, key = "ministandard" .. i,
loc_txt = { loc_txt = {
@ -61,9 +62,9 @@ for i = 1, 2 do
G.booster_pack_sparkles:fade(1, 0) G.booster_pack_sparkles:fade(1, 0)
end, end,
} }
end end
for i = 1, 2 do for i = 1, 2 do
SMODS.Booster { SMODS.Booster {
key = "miniarcana" .. i, key = "miniarcana" .. i,
loc_txt = { loc_txt = {
@ -125,9 +126,9 @@ for i = 1, 2 do
G.booster_pack_sparkles:fade(1, 0) G.booster_pack_sparkles:fade(1, 0)
end, end,
} }
end end
for i = 1, 2 do for i = 1, 2 do
SMODS.Booster { SMODS.Booster {
key = "minicelestial" .. i, key = "minicelestial" .. i,
atlas = "janebooster", atlas = "janebooster",
@ -218,9 +219,9 @@ for i = 1, 2 do
card.ability.name = "Mini Celestial Pack" card.ability.name = "Mini Celestial Pack"
end, end,
} }
end end
for i = 1, 2 do for i = 1, 2 do
SMODS.Booster { SMODS.Booster {
key = "minispectral" .. i, key = "minispectral" .. i,
atlas = "janebooster", atlas = "janebooster",
@ -272,9 +273,8 @@ for i = 1, 2 do
G.booster_pack_sparkles:fade(1, 0) G.booster_pack_sparkles:fade(1, 0)
end, end,
} }
end end
if Cryptid then
SMODS.Booster { SMODS.Booster {
atlas = "janebooster", atlas = "janebooster",
key = "minicode", key = "minicode",

View file

@ -61,18 +61,14 @@ SMODS.Challenge {
end, end,
} }
G.localization.misc.v_text["ch_c_jane_downpour1"] = { G.localization.misc.v_text.ch_c_jane_downpour1 =
"Start with all {C:legendary}Rain World Jokers", {"Start with all {C:legendary}Rain World Jokers"}
}
G.localization.misc.v_text["ch_c_jane_downpour2"] = { G.localization.misc.v_text.ch_c_jane_downpour2 =
"Destroy a random {C:legendary}Rain World Joker {}when", {"Destroy a random {C:legendary}Rain World Joker {}when"}
}
G.localization.misc.v_text["ch_c_jane_downpour3"] = { G.localization.misc.v_text.ch_c_jane_downpour3 =
"{C:attention}Boss Blind {}is defeated, or {C:red}lose", {"{C:attention}Boss Blind {}is defeated, or {C:red}lose"}
}
G.localization.misc.v_text["ch_c_jane_downpour4"] = { G.localization.misc.v_text.ch_c_jane_downpour4 =
"Win on {C:attention}Ante 16", {"Win on {C:attention}Ante 16"}
}

View file

@ -152,34 +152,6 @@ local function randomize(targets, noanim)
end end
end end
SMODS.Consumable {
key = "obfuscation",
atlas = "janeacc",
set = "Spectral",
loc_txt = {
name = "Obfuscation",
text = {
"{C:green,E:1}Randomises{} all cards in hand",
"{C:inactive}(Rank, seal, edition,",
"{C:inactive}enhancement, and suit)",
},
},
pos = {x = 0, y = 4},
cost = 4,
can_use = function(_, _)
return Jane.can_use() and #((G.hand or {}).cards or {}) > 0
end,
use = function(_, card, _, _)
Jane.q(function()
play_sound("tarot1")
card:juice_up(0.3, 0.5)
end, 0.4)
randomize(G.hand.cards)
delay(0.5)
end,
}
SMODS.Consumable { SMODS.Consumable {
key = "conjure", key = "conjure",
set = "Spectral", set = "Spectral",
@ -280,10 +252,44 @@ SMODS.Consumable {
end, end,
} }
SMODS.Consumable {
key = "obfuscation",
atlas = "janeacc",
set = "Spectral",
hidden = not Cryptid,
soul_rate = not Cryptid and 0.003 or nil,
soul_set = not Cryptid and "Spectral" or nil,
loc_txt = {
name = "Obfuscation",
text = {
"{C:green,E:1}Randomises{} all cards in hand",
"{C:inactive}(Rank, seal, edition,",
"{C:inactive}enhancement, and suit)",
},
},
pos = {x = 0, y = 4},
cost = 4,
can_use = function(_, _)
return Jane.can_use() and #((G.hand or {}).cards or {}) > 0
end,
use = function(_, card, _, _)
Jane.q(function()
play_sound("tarot1")
card:juice_up(0.3, 0.5)
end, 0.4)
randomize(G.hand.cards)
delay(0.5)
end,
}
SMODS.Consumable { SMODS.Consumable {
key = "rift", key = "rift",
atlas = "janeacc", atlas = "janeacc",
set = "Spectral", set = "Spectral",
hidden = not Cryptid,
soul_rate = not Cryptid and 0.003 or nil,
soul_set = not Cryptid and "Spectral" or nil,
loc_txt = { loc_txt = {
name = "Rift", name = "Rift",
text = { text = {

View file

@ -1,3 +1,7 @@
if not Cryptid then
return
end
local function j() local function j()
return G.GAME.used_vouchers.v_jane_jolly_voucher and "j_jolly" or "j_joker" return G.GAME.used_vouchers.v_jane_jolly_voucher and "j_jolly" or "j_joker"
end end

View file

@ -12,7 +12,8 @@ SMODS.Atlas {
path = Jane.config.texture_pack .. "/v_jane_token_voucher.png", path = Jane.config.texture_pack .. "/v_jane_token_voucher.png",
} }
SMODS.Voucher { if Cryptid then
SMODS.Voucher {
key = "jolly_voucher", key = "jolly_voucher",
atlas = "janejollyvoucher", atlas = "janejollyvoucher",
loc_txt = { loc_txt = {
@ -26,7 +27,8 @@ SMODS.Voucher {
info_queue[#info_queue + 1] = G.P_CENTERS.j_jolly info_queue[#info_queue + 1] = G.P_CENTERS.j_jolly
return {vars = {}} return {vars = {}}
end, end,
} }
end
SMODS.Voucher { SMODS.Voucher {
key = "token_voucher", key = "token_voucher",
@ -36,7 +38,7 @@ SMODS.Voucher {
text = {"{C:attention}Tokens {}can appear", "in the shop"}, text = {"{C:attention}Tokens {}can appear", "in the shop"},
}, },
pos = {x = 0, y = 0}, pos = {x = 0, y = 0},
cost = 15, cost = 10,
redeem = function(_, _) redeem = function(_, _)
G.GAME["jane_tokens_rate"] = 1.5 G.GAME["jane_tokens_rate"] = 1.5
end, end,