local jokerInfo = {
    name = 'Chromed Up',
    config = {
        extra = {
            x_mult = 1.77
        }
    },
    rarity = 2,
    cost = 6,
    blueprint_compat = true,
    eternal_compat = true,
    perishable_compat = true,
    streamer = "vinny",
}

function jokerInfo.loc_vars(self, info_queue, card)
    info_queue[#info_queue+1] = G.P_CENTERS.m_steel
    info_queue[#info_queue+1] = {key = "csau_artistcredit", set = "Other", vars = { G.csau_team.gappie } }
    return { vars = { card.ability.extra.x_mult } }
end

function jokerInfo.in_pool(self, args)
    if not G.playing_cards then return true end
    for _, v in ipairs(G.playing_cards) do
        if v.ability.effect == "Steel Card" then
            return true
        end
    end
end

function jokerInfo.calculate(self, card, context)
    if context.individual and context.cardarea == G.play and not card.debuff
    and SMODS.has_enhancement(context.other_card, 'm_steel') then
        return {
            x_mult = card.ability.extra.x_mult,
            card = card
        }
    end
end

return jokerInfo