Skip to content

Commit dcdedbf

Browse files
authored
Merge branch 'main' into main
2 parents 64dacbe + edcf00b commit dcdedbf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+17083
-7579
lines changed

Cryptid.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@
99
"priority": 114,
1010
"badge_colour": "708b91",
1111
"badge_text_colour": "FFFFFF",
12-
"version": "0.5.5b",
12+
"version": "0.5.9-dev2",
1313
"dependencies": [
14-
"Talisman (>=2.2.0~dev)",
15-
"Steamodded (>=1.0.0~BETA-0406a)"
14+
"Talisman (>=2.2.0a)",
15+
"Steamodded (>=1.0.0~BETA-0525b)"
1616
],
1717
"conflicts": [
1818
"Saturn",
19-
"AntePreview (>= 2.0.0~0c16a) (<<3.0.0)"
19+
"AntePreview (>= 2.0.0~0c16a) (<<3.0.0)",
20+
"Cartomancer (<= 4.11)"
21+
],
22+
"provides": [
23+
"Cryptlib"
2024
]
2125
}

Cryptid.lua

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ local mod_path = "" .. SMODS.current_mod.path -- this path changes when each mod
1010
Cryptid.path = mod_path
1111
Cryptid_config = SMODS.current_mod.config
1212

13+
-- Lovely Patch Target, toggles being able to change gameset config. Here for mod support
14+
Cryptid_config.gameset_toggle = true
15+
1316
-- Enable optional features
1417
SMODS.current_mod.optional_features = {
1518
retrigger_joker = true,
@@ -19,8 +22,10 @@ SMODS.current_mod.optional_features = {
1922
-- Cryptid doesn't use them YET, but these should be uncommented if Cryptid uses them
2023
-- These ones add new card areas that Steamodded will calculate through
2124
-- Might already be useful for sticker calc
25+
26+
-- Cryptid uses cardarea deck now
2227
cardareas = {
23-
--deck = true,
28+
deck = true,
2429
discard = true, -- used by scorch
2530
},
2631
}
@@ -124,7 +129,7 @@ end
124129
-- either in [Mod]/Cryptid.lua or [Mod]/Cryptid/*.lua
125130
for _, mod in pairs(SMODS.Mods) do
126131
-- Note: Crashes with lone lua files
127-
if mod.path and mod.id ~= "Cryptid" then
132+
if not mod.disabled and mod.path and mod.id ~= "Cryptid" then
128133
local path = mod.path
129134
local files = NFS.getDirectoryItems(path)
130135
for _, file in ipairs(files) do
@@ -182,6 +187,14 @@ function SMODS.injectItems(...)
182187
end
183188
end
184189
end
190+
Cryptid.inject_pointer_aliases()
191+
end
192+
193+
local old_repitions = SMODS.calculate_repetitions
194+
SMODS.calculate_repetitions = function(card, context, reps)
195+
local reps = old_repitions(card, context, reps)
196+
reps = reps or { 1 }
197+
return reps
185198
end
186199

187200
local cryptidConfigTab = function()

assets/1x/atlasepic.png

14.1 KB
Loading

assets/1x/atlasnotjokers.png

-832 Bytes
Loading

assets/1x/atlasthree.png

12 KB
Loading

assets/1x/bl_cry.png

-17 KB
Loading

assets/1x/cry_misc.png

6.3 KB
Loading

assets/1x/pack_cry.png

545 Bytes
Loading

assets/1x/sticker_cry.png

1.32 KB
Loading

assets/2x/atlasepic.png

6.41 KB
Loading

0 commit comments

Comments
 (0)