SMODS.Joker {
    key = "australianshepherd",
    unlocked = true,
    discovered = true, 
    blueprint_compat = true,
    eternal_compat = true,
    perishable_compat = true,
    rarity = 1,
    atlas = "NeatoJokers",
    pos = { x = 7, y = 1 },
    cost = 4,
    calculate = function(self, card, context)
        local whoami = context.blueprint_card or card
        if context.setting_blind and not whoami.getting_sliced and #G.consumeables.cards + G.GAME.consumeable_buffer < G.consumeables.config.card_limit then
            G.GAME.consumeable_buffer = G.GAME.consumeable_buffer + 1
            G.E_MANAGER:add_event(Event({
                func = function()
                    local card = SMODS.create_card{set = "Planet", area = G.consumeables}
                    card:add_to_deck()
                    G.consumeables:emplace(card)
                    G.GAME.consumeable_buffer = 0
                    return true
                end
            }))
            return {
                card = whoami,
                message = localize('k_dog'),
                colour = G.C.SECONDARY_SET.Planet,
            }
        end
    end
}
