Skip to content

Commit a0858fb

Browse files
committed
small cross mod fix :cat_owl:
1 parent 82a2e16 commit a0858fb

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

Cryptid.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ local function process_items(f, mod)
5555
if item.key then
5656
if item.object_type and SMODS[item.object_type].class_prefix then
5757
item.key = SMODS[item.object_type].class_prefix .. "_" .. mod.prefix .. "_" .. item.key
58-
else
58+
elseif string.find(item.key, mod.prefix .. "_") ~= 1 then
5959
item.key = mod.prefix .. "_" .. item.key
6060
end
6161
end
62-
if item.atlas then
62+
if item.atlas and string.find(item.atlas, mod.prefix .. "_") ~= 1 then
6363
item.atlas = mod.prefix .. "_" .. item.atlas
6464
end
6565
-- this will also display the mod's own badge

assets/1x/atlasone.png

-10.9 KB
Loading

assets/2x/atlasone.png

-12.5 KB
Loading

items/misc_joker.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7800,6 +7800,9 @@ local cat_owl = { -- Lucky Cards are considered Echo Cards and vice versa
78007800
code = {
78017801
"Math",
78027802
},
7803+
art = {
7804+
"George the Rat",
7805+
}
78037806
},
78047807
}
78057808
local miscitems = {

0 commit comments

Comments
 (0)