Skip to content

Commit f43485c

Browse files
Custom Antimatter Deck (not clickbait)
- Custom antimatter deck support! read the bottom of items/decks.lua for more information - Reworded Antimatter deck description for edgecases (unsupported decks, other mods, etc) - Fixed "Circular dependency" popupus on the lovely log
1 parent 535c751 commit f43485c

File tree

4 files changed

+165
-209
lines changed

4 files changed

+165
-209
lines changed

Cryptid.lua

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ end
4242
local function process_items(f, mod)
4343
local ret = f()
4444
if not ret.disabled then
45-
if ret.init then
45+
if ret.init and type(ret.init) == "function" then
4646
ret:init()
4747
end
4848
if ret.items then
@@ -73,12 +73,6 @@ local function process_items(f, mod)
7373
if item.init then
7474
item:init()
7575
end
76-
--[[if not item.gameset_config then
77-
-- by default, disable on modest
78-
item.gameset_config = {
79-
modest = {disabled = true},
80-
}
81-
end--]]
8276
if not Cryptid.object_registry[item.object_type] then
8377
Cryptid.object_registry[item.object_type] = {}
8478
end

0 commit comments

Comments
 (0)