diff --git a/items/joker/epic.lua b/items/joker/epic.lua index 7257e38..a6591a4 100644 --- a/items/joker/epic.lua +++ b/items/joker/epic.lua @@ -131,4 +131,37 @@ SMODS.Joker { idea = { "PurplePickle" }, code = { "wilfredlam0418", "Glitchkat10" }, } -} \ No newline at end of file +} + +SMODS.Joker { + key = "how_many_pickles", + name = "How Many Pickles?", + config = { extra = { mult = 9 } }, + rarity = "cry_epic", + atlas = "crp_placeholder", + pos = { x = 5, y = 0 }, + cost = 20, + blueprint_compat = true, + demicoloncompat = true, + loc_vars = function(self, info_queue, card) + return { vars = { lenient_bignum(card.ability.extra.mult), card.ability.extra.mult < 910 and " The ghost is not yet done writing..." or "" } } + end, + calculate = function(self, card, context) + if context.joker_main or context.forcetrigger then + return { + mult = lenient_bignum(card.ability.extra.mult) + } + end + if ((context.end_of_round and G.GAME.blind.boss) or context.forcetrigger) and card.ability.extra.mult < 910 then + if card.ability.extra.mult >= 91 then + card.ability.extra.mult = 910 + else + card.ability.extra.mult = 91 + end + end + end, + crp_credits = { + idea = { "ottermatter", "Glitchkat10" }, + code = { "wilfredlam0418" }, + } +} diff --git a/items/joker/rare.lua b/items/joker/rare.lua index 1129972..873dd12 100644 --- a/items/joker/rare.lua +++ b/items/joker/rare.lua @@ -388,6 +388,34 @@ SMODS.Joker { } } +SMODS.Joker { + key = "the_three", + name = "The Three", + config = { extra = { xchips = 3, xmult = 3, money = 3 } }, + rarity = 3, + atlas = "crp_placeholder", + pos = { x = 4, y = 0 }, + blueprint_compat = true, + demicoloncompat = true, + loc_vars = function(self, info_queue, card) + return { vars = { card.ability.extra.xchips, card.ability.extra.xmult, card.ability.extra.money } } + end, + cost = 6, + calculate = function(self, card, context) + if (context.joker_main and pseudorandom("crp_the_three") < 1 / 3) or context.forcetrigger then + ease_dollars(card.ability.extra.money) + return { + xchips = card.ability.extra.xchips, + xmult = card.ability.extra.xmult + } + end + end, + crp_credits = { + idea = { "lunarisillustratez" }, + code = { "wilfredlam0418" } + } +} + SMODS.Joker { key = "photo_of_grouchy", name = "Photo of Grouchy Jimbo", diff --git a/items/joker/trash.lua b/items/joker/trash.lua index 5098d84..aa03835 100644 --- a/items/joker/trash.lua +++ b/items/joker/trash.lua @@ -195,4 +195,40 @@ SMODS.Joker { idea = { "CanadianShark26" }, code = { "Glitchkat10" } } -} \ No newline at end of file +} + +SMODS.Joker { + key = "useless_time", + name = "Useless Time", + config = { immutable = { start = 0 }, extra = { chips = 0, chips_mod = 1 } } + rarity = "crp_trash", + atlas = "crp_placeholder", + pos = { x = 1, y = 0 }, + cost = 0, + blueprint_compat = false, + demicoloncompat = false, + loc_vars = function(self, info_queue, card) + return { math.ceil(13 - (os.time() - card.ability.immutable.start) / 315360000000000000000000000) } + end, + add_to_deck = function(self, card, from_debuff) + if not from_debuff then + card.ability.immutable.start = os.time() + end + end, + calculate = function(self, card, context) + if context.joker_main then + if os.time - card.ability.immutable.start >= 4099680000000000000000000000 then + card.ability.extra.chips = lenient_bignum(card.ability.extra.chips) + lenient_bignum(card.ability.extra.chips_mod) + end + if card.ability.extra.chips > 0 then + return { + chips = card.ability.extra.chips + } + end + end + end, + crp_credits = { + idea = { "Realnarwhal" }, + code = { "wilfredlam0418" } + } +} diff --git a/items/joker/uncommon.lua b/items/joker/uncommon.lua index 3b897ea..29073d8 100644 --- a/items/joker/uncommon.lua +++ b/items/joker/uncommon.lua @@ -191,6 +191,39 @@ SMODS.Joker { } } +SMODS.Joker { + key = "eye_for_an_eye", + name = "E(ye) for an E(ye)", + config = { extra = { chips = 10, xmult = 10 } } + rarity = 2, + atlas = "crp_placeholder", + pos = { x = 3, y = 0 }, + cost = 5, + blueprint_compat = true, + demicoloncompat = true, + loc_vars = function(self, info_queue, card) + return { vars = { card.ability.extra.chips, card.ability.extra.xmult } } + end, + calculate = function(self, card, context) + if (context.joker_main) or context.forcetrigger then + return { + message = "รท" .. lenient_bignum(card.ability.extra.chips) .. " Chips", + Xchip_mod = 1 / lenient_bignum(card.ability.extra.chips), + colour = G.C.CHIPS, + extra = { + message = "X" .. lenient_bignum(card.ability.extra.xmult) .. " Mult", + Xmult_mod = 1 / lenient_bignum(card.ability.extra.xmult), + colour = G.C.MULT, + }, + } + end + end, + crp_credits = { + idea = { "SageSeraph" }, + code = { "wilfredlam0418" } + } +} + SMODS.Joker { key = "tag_hoarder", name = "Tag Hoarder", @@ -349,4 +382,53 @@ SMODS.Joker { idea = { "Psychomaniac14" }, code = { "wilfredlam0418" } } -} \ No newline at end of file +} + +SMODS.Joker { + key = "issue_with_copper", + name = "The Issue with Copper", + config = { extra = { state = 1, mult = 15, xmult = 3 } }, + rarity = 2, + atlas = "crp_placeholder", + pos = { x = 3, y = 0 }, + blueprint_compat = true, + demicoloncompat = true, + pools = { Meme = true }, + cost = 6, + loc_vars = function(self, info_queue, card) + return { + card.ability.extra.mult, + card.ability.extra.xmult, + colours = { + G.C.RED and card.ability.extra.state == 1 or G.C.UI.TEXT_INACTIVE, + G.C.RED and card.ability.extra.state == 2 or G.C.UI.TEXT_INACTIVE, + G.C.RED and card.ability.extra.state == 3 or G.C.UI.TEXT_INACTIVE, + G.C.RED and card.ability.extra.state == 4 or G.C.UI.TEXT_INACTIVE, + G.C.RED and card.ability.extra.state == 5 or G.C.UI.TEXT_INACTIVE, + G.C.RED and card.ability.extra.state == 6 or G.C.UI.TEXT_INACTIVE, + G.C.RED and card.ability.extra.state == 7 or G.C.UI.TEXT_INACTIVE + } + } + end, + calculate = function(self, card, context) + if context.joker_main or context.forcetrigger then + if card.ability.extra.state <= 3 then + return { mult = card.ability.extra.mult } + elseif card.ability.extra.state == 7 then + return { xmult = card.ability.extra.xmult } + end + end + + if (context.end_of_round and not context.game_over and context.main_eval and not context.blueprint) or context.forcetrigger then + card.ability.extra.state = card.ability.extra.state + 1 + return { + message = "Next state!", + colour = G.C.FILTER + } + end + end, + crp_credits = { + idea = { "wilfredlam0418" }, + code = { "wilfredlam0418" } + } +} diff --git a/localization/en-us.lua b/localization/en-us.lua index a94b7a9..ec7b41e 100644 --- a/localization/en-us.lua +++ b/localization/en-us.lua @@ -730,6 +730,12 @@ return { "{C:edition,X:dark_edition}^^#1#{} Mult against {C:attention}Small Blinds" } }, + j_crp_how_many_pickles = { + name = "How Many Pickles?", + text = { + "{C:mult}+Mult{} equal to the number of pickles", "{C:inactive}(Currently {C:code}#1#{C:inactive} pickles.#2#)" + } + }, j_crp_inside_joker = { name = "Inside Joke r", text = { @@ -779,6 +785,13 @@ return { "{C:attention}Grouchy Jimbo{} is owned" } }, + j_crp_the_three = { + name = "The Three", + text = { + "{C:red}Fixed {C:green}1 in 3{} chance for", + "{C:white,X:chips}X#1#{} Chips, {C:white,X:mult}X#2#{} Mult, and {C:money}+$#3#" + } + }, j_crp_dumpster_diver = { name = "Dumpster Diver", text = { @@ -2191,4 +2204,4 @@ return { alt = "~ #1#", } } -} \ No newline at end of file +}