From ef495e042d51a55e41e19c2b46b6b62dc89a2762 Mon Sep 17 00:00:00 2001 From: Eternalnacho Date: Sat, 16 May 2026 00:41:00 -0500 Subject: [PATCH] Add Carbink --- localization/en-us.lua | 8 ++++++++ pokemon/pokejokers_24.lua | 34 +++++++++++++++++++++++++++++++++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/localization/en-us.lua b/localization/en-us.lua index aeb8b93b..838a4f56 100644 --- a/localization/en-us.lua +++ b/localization/en-us.lua @@ -5115,6 +5115,14 @@ return { "or {C:dark_edition}Polychrome{} to it", } }, + j_poke_carbink = { + name = "Carbink", + text = { + "{C:hazard}+#1#{} hazard layer", + "{C:attention}Hazard{} Cards are also", + "considered {C:attention}Gold{} cards", + } + }, j_poke_pumpkaboo_small = { name = 'Pumpkaboo (Small)', text = { diff --git a/pokemon/pokejokers_24.lua b/pokemon/pokejokers_24.lua index bbf3ab6c..4e8b8ddc 100644 --- a/pokemon/pokejokers_24.lua +++ b/pokemon/pokejokers_24.lua @@ -52,6 +52,38 @@ local sylveon={ -- Hawlucha 701 -- Dedenne 702 -- Carbink 703 +local carbink = { + name = "carbink", + pos = {x = 11, y = 3}, + config = {extra = { hazard_level = 1 }}, + loc_vars = function(self, info_queue, card) + type_tooltip(self, info_queue, card) + info_queue[#info_queue+1] = {set = 'Other', key = 'hazard_level', vars = poke_get_hazard_level_vars()} + info_queue[#info_queue+1] = G.P_CENTERS.m_hazard + info_queue[#info_queue+1] = G.P_CENTERS.m_gold + return { vars = { card.ability.extra.hazard_level } } + end, + designer = "Eternalnacho", + rarity = 3, + cost = 7, + stage = "Basic", + ptype = "Fairy", + gen = 6, + blueprint_compat = false, + enhancement_gate = 'm_poke_hazard', + calculate = function(self, card, context) + if context.check_enhancement and context.other_card.config.center.key == 'm_poke_hazard' then + return { m_gold = true } + end + end, + add_to_deck = function(self, card, from_debuff) + poke_change_hazard_level(card.ability.extra.hazard_level) + end, + remove_from_deck = function(self, card, from_debuff) + poke_change_hazard_level(-card.ability.extra.hazard_level) + end, + attributes = {"hazards", "passive", "modify_card", "enhancements"} +} -- Goomy 704 -- Sliggoo 705 -- Goodra 706 @@ -300,5 +332,5 @@ local gourgeist={ -- Diancie 719 -- Hoopa 720 return {name = "Pokemon Jokers 691-720", - list = {sylveon, pumpkaboo, gourgeist}, + list = {sylveon, carbink, pumpkaboo, gourgeist}, }