
SMODS.Joker{ --Zeronos
    key = "zeronos",
    config = {
        extra = {
            cardsindiscard = 0
        }
    },
    loc_txt = {
        ['name'] = 'Zeronos',
        ['text'] = {
            [1] = '{C:blue}+30{} Chips for each remaining discard'
        },
        ['unlock'] = {
            [1] = 'Unlocked by default.'
        }
    },
    pos = {
        x = 8,
        y = 4
    },
    display_size = {
        w = 71 * 1, 
        h = 95 * 1
    },
    cost = 4,
    rarity = 1,
    blueprint_compat = true,
    eternal_compat = true,
    perishable_compat = true,
    unlocked = true,
    discovered = true,
    atlas = 'CustomJokers',
    pools = { ["kamenrider_kamenrider_jokers"] = true },
    
    loc_vars = function(self, info_queue, card)
        
        return {vars = {(#(G.discard and G.discard.cards or {})) * 30}}
    end,
    
    calculate = function(self, card, context)
        if context.cardarea == G.jokers and context.joker_main  then
            return {
                chips = (#(G.discard and G.discard.cards or {})) * 30
            }
        end
    end
}