diff --git a/manifest.json b/manifest.json index 65fefec..80d4301 100644 --- a/manifest.json +++ b/manifest.json @@ -17,5 +17,5 @@ "conflicts": [ "Jen" ], - "version": "1.6.4" + "version": "1.6.5" } \ No newline at end of file diff --git a/src/slugcat.lua b/src/slugcat.lua index 6930dea..59b84f3 100644 --- a/src/slugcat.lua +++ b/src/slugcat.lua @@ -386,6 +386,17 @@ SMODS.Joker { blueprint_compat = false, cost = Cryptid and 12 or 20, rarity = Cryptid and epic or 4, + Bakery_can_use = function(_, card) + return not card.debuff and Jane.can_use() and next(G.pack_cards.cards) + end, + Bakery_use_button_text = function() return "USE ALL" end, + Bakery_use_joker = function() + local c = G.pack_cards.cards + + for i = #c, 1, -1 do + local _ = (((c[i] or {}).ability or {}).consumeable or {}).hand_type and c[i]:use_consumeable() + end + end, } local orig_open = Card.open