Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
f68f861
remove unnecessary seed code
lord-ruby Jul 13, 2025
7a35913
fix log for showdown blinds
lord-ruby Jul 13, 2025
a9455b0
better abstract nil checks
lord-ruby Jul 13, 2025
dfd63fb
jolly-bot: auto-format Lua files using Stylua
Jul 13, 2025
3f5080c
let azure & blue seals work with voxel
lord-ruby Jul 13, 2025
5c3856d
jolly-bot: auto-format Lua files using Stylua
Jul 13, 2025
8e587f5
hopefully fixes quantify boosters
lord-ruby Jul 13, 2025
d967572
jolly-bot: auto-format Lua files using Stylua
Jul 13, 2025
c9fb5ce
better checks for when to call context
lord-ruby Jul 13, 2025
768a51a
jolly-bot: auto-format Lua files using Stylua
Jul 13, 2025
9e6c722
landlord fix
lord-ruby Jul 13, 2025
f45b9c6
pity prize + kitty printer fix / get_next_tag api
lord-ruby Jul 13, 2025
0d152d5
jolly-bot: auto-format Lua files using Stylua
Jul 13, 2025
785aa64
fix typo
lord-ruby Jul 13, 2025
6bbc0d9
smods.is_eternal related changes
lord-ruby Jul 13, 2025
7918e06
jolly-bot: auto-format Lua files using Stylua
Jul 13, 2025
549eeb6
more eternal stuff
lord-ruby Jul 13, 2025
34773de
Merge branch 'main' of https://github.com/SpectralPack/Cryptid
lord-ruby Jul 13, 2025
cf7abc0
The Landlord Fixes
Jevonnissocoolman Jul 13, 2025
268247c
Merge atlases
Jevonnissocoolman Jul 13, 2025
9dc7ac7
Merge pull request #759 from Jevonnissocoolman/main2
Jevonnissocoolman Jul 13, 2025
881fe60
Remove Saturn conflict
Jevonnissocoolman Jul 15, 2025
bae7517
Clone tag fix
Jevonnissocoolman Jul 15, 2025
40867a6
Avoid use of any integer to float coercion in shaders to support mobile
Emik03 Jul 15, 2025
c481790
Switch Obsidian Orb to whitelist
Jevonnissocoolman Jul 17, 2025
7315607
Merge pull request #760 from Emik03/mobile-compatible-shaders
Jevonnissocoolman Jul 17, 2025
49883a3
Fix Pirate dagger Incorrectly checking eternal
Jevonnissocoolman Jul 17, 2025
34f476b
fix hooking oops
lord-ruby Jul 18, 2025
83a6677
Misc changes
Jevonnissocoolman Jul 18, 2025
a5d2af7
increase version
Jevonnissocoolman Jul 18, 2025
7e74db5
better checks for end round hook
lord-ruby Jul 18, 2025
d12ba04
Merge branch 'balance-things' into temp-1
lord-ruby Jul 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Cryptid.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
"priority": 114,
"badge_colour": "708b91",
"badge_text_colour": "FFFFFF",
"version": "0.5.10",
"version": "0.5.11",
"dependencies": [
"Steamodded (>=1.0.0~BETA-0711a)"
],
"conflicts": [
"Saturn",
"AntePreview (>= 2.0.0~0c16a) (<<3.0.0)",
"Cartomancer (<= 4.11)"
],
Expand Down
Binary file modified assets/1x/cry_misc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/1x/intercept_sprite.png
Binary file not shown.
Binary file modified assets/2x/cry_misc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/2x/intercept_sprite.png
Binary file not shown.
68 changes: 47 additions & 21 deletions items/blind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ local oldox = {
boss = {
min = 2,
max = 10,
yes_orb = true,
},
atlas = "nostalgia",
order = 4,
Expand All @@ -36,6 +37,7 @@ local oldhouse = {
boss = {
min = 3,
max = 10,
yes_orb = true,
},
atlas = "nostalgia",
order = 5,
Expand Down Expand Up @@ -64,6 +66,7 @@ local oldarm = {
boss = {
min = 3,
max = 10,
yes_orb = true,
},
atlas = "nostalgia",
order = 6,
Expand Down Expand Up @@ -92,6 +95,7 @@ local oldfish = {
boss = {
min = 2,
max = 10,
yes_orb = true,
},
atlas = "nostalgia",
order = 7,
Expand All @@ -117,6 +121,7 @@ local oldmanacle = {
boss = {
min = 1,
max = 10,
yes_orb = true,
},
atlas = "nostalgia",
order = 8,
Expand All @@ -142,6 +147,7 @@ local oldserpent = {
boss = {
min = 5,
max = 10,
yes_orb = true,
},
atlas = "nostalgia",
order = 9,
Expand All @@ -167,6 +173,7 @@ local oldpillar = {
boss = {
min = 3,
max = 10,
yes_orb = true,
},
atlas = "nostalgia",
order = 10,
Expand Down Expand Up @@ -195,6 +202,7 @@ local oldflint = {
boss = {
min = 3,
max = 10,
yes_orb = true,
},
atlas = "nostalgia",
order = 11,
Expand Down Expand Up @@ -223,6 +231,7 @@ local oldmark = {
boss = {
min = 4,
max = 10,
yes_orb = true,
},
atlas = "nostalgia",
order = 12,
Expand Down Expand Up @@ -251,6 +260,7 @@ local tax = {
boss = {
min = 2,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 2,
Expand Down Expand Up @@ -303,6 +313,7 @@ local box = {
boss = {
min = 1,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 13,
Expand All @@ -329,6 +340,7 @@ local clock = {
boss = {
min = 2,
max = 10,
yes_orb = true,
},
config = {
tw_bl = {
Expand Down Expand Up @@ -368,6 +380,7 @@ local trick = {
boss = {
min = 1,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 14,
Expand Down Expand Up @@ -404,6 +417,7 @@ local joke = {
boss = {
min = 1,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 15,
Expand Down Expand Up @@ -451,6 +465,7 @@ local hammer = {
boss = {
min = 2,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 19,
Expand Down Expand Up @@ -487,6 +502,7 @@ local magic = {
boss = {
min = 2,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 20,
Expand Down Expand Up @@ -523,6 +539,7 @@ local windmill = {
boss = {
min = 4,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 16,
Expand All @@ -547,6 +564,7 @@ local striker = {
boss = {
min = 4,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 1,
Expand All @@ -571,6 +589,7 @@ local shackle = {
boss = {
min = 1,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 18,
Expand Down Expand Up @@ -605,6 +624,7 @@ local pin = {
boss = {
min = 4,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 17,
Expand Down Expand Up @@ -648,6 +668,7 @@ local scorch = {
boss = {
min = 1,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 21,
Expand All @@ -663,11 +684,11 @@ local scorch = {
and (context.cardarea == G.play or context.cardarea == "unscored")
and not G.GAME.blind.disabled
then
return { remove = not context.destroy_card.ability.eternal }
return { remove = not SMODS.is_eternal(context.destroying_card) }
end
if context.discard and not G.GAME.blind.disabled then
for i, card in ipairs(G.hand.highlighted) do
return { remove = not card.ability.eternal }
return { remove = not SMODS.is_eternal(card) }
end
end
end,
Expand Down Expand Up @@ -699,6 +720,7 @@ local greed = {
boss = {
min = 1,
max = 10,
yes_orb = true,
},
atlas = "blinds",
order = 22,
Expand Down Expand Up @@ -764,6 +786,7 @@ local decision = {
boss = {
min = 4,
max = 666666,
yes_orb = true,
},
atlas = "blinds",
order = 23,
Expand Down Expand Up @@ -848,6 +871,7 @@ local repulsor = {
boss = {
min = 4,
max = 666666,
yes_orb = true,
},
atlas = "blinds_two",
order = 24,
Expand Down Expand Up @@ -899,6 +923,7 @@ local chromatic = {
boss = {
min = 1,
max = 666666,
yes_orb = true,
},
atlas = "blinds_two",
order = 25,
Expand All @@ -925,31 +950,29 @@ local landlord = {
pos = { x = 0, y = 2 },
dollars = 5,
boss = {
min = 1,
min = 4,
max = 666666,
yes_orb = true,
},
atlas = "blinds_two",
order = 26,
boss_colour = HEX("c89f13"),
calculate = function(self, blind, context)
if context.after then
local jokers = {}
for i, v in pairs(G.jokers.cards) do
if not v.ability.rental then
jokers[#jokers + 1] = v
end
end
if #jokers > 0 then
G.E_MANAGER:add_event(Event({
func = function()
local joker = pseudorandom_element(jokers, pseudoseed("cry_landlord"))
joker.ability.rental = true
joker:juice_up()
return true
end,
}))
debuff_hand = function(self, cards, hand, handname, check)
G.GAME.blind.triggered = false
local jokers = {}
for i, v in pairs(G.jokers.cards) do
if not v.ability.rental then
jokers[#jokers + 1] = v
end
end
if #jokers > 0 then
G.GAME.blind.triggered = true
if not check then
local joker = pseudorandom_element(jokers, pseudoseed("cry_landlord"))
joker:set_rental(true)
joker:juice_up()
G.GAME.blind:wiggle()
end
end
end,
}
Expand All @@ -973,6 +996,7 @@ local lavender_loop = {
min = 3,
max = 10,
showdown = true,
yes_orb = true,
},
atlas = "blinds",
order = 91,
Expand Down Expand Up @@ -1074,6 +1098,7 @@ local vermillion_virus = {
min = 3,
max = 10,
showdown = true,
yes_orb = true,
},
atlas = "blinds",
order = 90,
Expand All @@ -1083,7 +1108,7 @@ local vermillion_virus = {
local idx
--Check for eligible cards (not eternal and not immune)
for i = 1, #G.jokers.cards do
if not G.jokers.cards[i].config.center.immune_to_vermillion and not G.jokers.cards[i].ability.eternal then
if not G.jokers.cards[i].config.center.immune_to_vermillion and not SMODS.is_eternal(G.jokers.cards[i]) then
eligible_cards[#eligible_cards + 1] = G.jokers.cards[i]
end
end
Expand Down Expand Up @@ -1125,6 +1150,7 @@ local sapphire_stamp = {
min = 3,
max = 10,
showdown = true,
yes_orb = true,
},
atlas = "blinds",
order = 92,
Expand Down
11 changes: 7 additions & 4 deletions items/code.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,7 @@ local rework = {
return card.ability.set == "Joker"
end)
return #cards == 1
and not SMODS.is_eternal(cards[1])
and cards[1].ability.name
~= ("cry-meteor" or "cry-exoplanet" or "cry-stardust" or "cry_cursed" or "Diet Cola")
end,
Expand Down Expand Up @@ -1318,7 +1319,7 @@ local merge = {
if
#hand ~= 1
or #consumeables ~= 1
or consumeables[1].ability.eternal
or SMODS.is_eternal(consumeables[1])
or consumeables[1].ability.set == "Unique"
then
return false
Expand Down Expand Up @@ -1421,7 +1422,7 @@ local commit = {
return card.ability.set == "Joker" and not card.getting_sliced
end)
return #jokers == 1
and not jokers[1].ability.eternal
and not SMODS.is_eternal(jokers[1])
and not (type(jokers[1].config.center.rarity) == "number" and jokers[1].config.center.rarity >= 5)
end,
use = function(self, card, area, copier)
Expand Down Expand Up @@ -2185,6 +2186,8 @@ local hooked = {
and context.post_trigger
and not context.forcetrigger
and not context.other_context.forcetrigger
and not context.other_context.mod_probability
and not context.other_context.fixed_probability
then
if not card.ability.cry_hook_triggers_left then
card.ability.cry_hook_triggers_left = 8
Expand Down Expand Up @@ -4209,7 +4212,7 @@ local alttab = {
local tag = nil
local type = G.GAME.blind:get_type()
local tag_key = Cryptid.get_next_tag()
if tag_Key then
if tag_key then
tag = Tag(tag_key)
elseif type == "Boss" then
tag = Tag(get_next_tag_key())
Expand Down Expand Up @@ -4966,7 +4969,7 @@ local cut = {
if
G.consumeables.cards[i].ability.set == "Code"
and not G.consumeables.cards[i].getting_sliced
and not G.consumeables.cards[i].ability.eternal
and not SMODS.is_eternal(G.consumeables.cards[i])
then
destructable_codecard[#destructable_codecard + 1] = G.consumeables.cards[i]
end
Expand Down
4 changes: 2 additions & 2 deletions items/epic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,7 @@ local curse_sob = {
check_for_unlock = function(self, args)
if Cryptid.safe_get(G, "jokers") then
for i = 1, #G.jokers.cards do
if G.jokers.cards[i].config.center.key == "j_obelisk" and G.jokers.cards[i].ability.eternal then
if G.jokers.cards[i].config.center.key == "j_obelisk" and SMODS.is_eternal(G.jokers.cards[i]) then
unlock_card(self)
end
end
Expand Down Expand Up @@ -2052,7 +2052,7 @@ local fleshpanopticon = {
return true
end,
}))
if not card.ability.eternal then
if not SMODS.is_eternal(card) then
G.E_MANAGER:add_event(Event({
func = function()
play_sound("tarot1")
Expand Down
2 changes: 1 addition & 1 deletion items/exotic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ local gateway = {
use = function(self, card, area, copier)
local deletable_jokers = {}
for k, v in pairs(G.jokers.cards) do
if not v.ability.eternal then
if not SMODS.is_eternal(v) then
deletable_jokers[#deletable_jokers + 1] = v
end
end
Expand Down
2 changes: 1 addition & 1 deletion items/m.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,7 @@ local macabre = {
and not v:is_jolly()
and v.config.center.key ~= "j_cry_mprime"
and not (
v.ability.eternal
SMODS.is_eternal(v)
or v.getting_sliced
or Cryptid.safe_get(v.config.center, "pools", "M")
)
Expand Down
Loading