diff --git a/localization/en-us.lua b/localization/en-us.lua index 815822d..237e097 100644 --- a/localization/en-us.lua +++ b/localization/en-us.lua @@ -126,6 +126,14 @@ return { }, }, Joker = { + j_Roland_basket = { + name = "Basket", + text = { + "Sell this Joker to", + "create {C:dark_edition}Negative {}copies", + "of every consumable", + }, + }, j_Roland_bulldozer = { name = "Bulldozer", text = { @@ -169,6 +177,14 @@ return { }, }, }, + j_Roland_hardboiled = { + name = "Hard-Boiled", + text = { + "Sell this Joker to", + "turn all cards in", + "hand {C:dark_edition}Frozen", + }, + }, j_Roland_jokersr = { name = "Joker Sr.", text = {"{X:mult,C:white}X#1#{} Mult"}, diff --git a/src/joker.lua b/src/joker.lua index 0d181fb..f05f23c 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -464,6 +464,53 @@ joker { end, } +joker { + key = "hardboiled", + pronouns = "they_them", + cost = 5, + rarity = 2, + eternal_compat = false, + blueprint_compat = true, + perishable_compat = true, + loc_vars = function(_, info_queue) + table.insert(info_queue, G.P_CENTERS.e_Roland_frozen) + end, + calculate = function(_, _, context) + return (context.selling_self or context.forcetrigger) and f(G.hand.cards):each(function(v) + q { + delay = 0.1, + func = function() + v:set_edition {Roland_frozen = true} + end, + } + end) or nil + end, +} + +joker { + key = "basket", + pronouns = "they_them", + cost = 8, + rarity = 3, + eternal_compat = false, + blueprint_compat = true, + perishable_compat = true, + loc_vars = function(_, info_queue) + table.insert(info_queue, negative) + end, + calculate = function(_, _, context) + return (context.selling_self or context.forcetrigger) and f(G.consumeables.cards):each(function(v) + q { + delay = 1, + func = function() + play_sound "timpani" + SMODS.add_card {edition = "e_negative", key = v.config.center.key} + end, + } + end) or nil + end, +} + joker { key = "sapling", pronouns = "they_them",