#[New Deck] Astronomer Deck
12 messages · Page 1 of 1 (latest)
I don't know what modloader you're using but you have to hook on the new game initialisation function
I don't remember the name but I can tell you tomorrow
I'm 99% sure it's in game.lua
I'm using Steamodded (using Lovely to inject). I got the basic framework of the deck I want to make by taking other people mods as inspiration (and help with the structure of how to write a mod), but I didn't see any that added Jokers to a deck.
You should check for a function named Game:start_something or Game:init_something
I'll tell you tomorrow if you ping me
@desert atlas here have a reminder for this guy
i made a deck inspired by this post #1215288436119048202 message
@mossy raven it should be something like that
local patch = [[
if self.name == 'Your deck name' then
G.E_MANAGER:add_event(Event({
func = function()
-- TODO: add jokers
end
}))
end
]]
injectTail("back.lua","Back:apply_to_run", patch)
Finally got it working and am ready to release it.
Astronomer Deck is the perfect deck for an aspiring astronomer.
Start with several vouchers and jokers perfectly suited for traveling the cosmos.
Enjoy a deck where every card has a Blue Seal to help you finish your celestial collection!
[New Deck] Astronomer Deck