diff --git a/config.lua b/config.lua index 5af062b..45e0824 100644 --- a/config.lua +++ b/config.lua @@ -1,6 +1,7 @@ return { animated_icon = true, cool_phones = true, + crimson_bean = false, equinox_assist = false, faster_planets = false, harsh_ante_scaling = false, diff --git a/localization/en-us.lua b/localization/en-us.lua index cb71dfa..5cbc135 100644 --- a/localization/en-us.lua +++ b/localization/en-us.lua @@ -602,6 +602,7 @@ return { b_Roland_bye = "Bye!", b_Roland_comma = ", ", b_Roland_cool_phones = "cool phones (requires restart)", + b_Roland_crimson_bean = "Crimson Bean (overpowered)", b_Roland_debuffed = "DEBUFFED", b_Roland_disabled = "Disabled", b_Roland_enabled = "Enabled", diff --git a/src/joker.lua b/src/joker.lua index 294bc6c..c99658a 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -721,11 +721,12 @@ joker { crimson = function() local _ = G.jokers and f(G.jokers.cards, ipairs_reversed):where(is_frozen, false):each(function(v) local right = G.jokers.cards[v.rank + 1] + local is_bean = {j_mp_turtle_bean = true, j_turtle_bean = true} local debuffed_by_crimson = right and not right.debuff and right.config.center.key == "j_Roland_crimson" and - not ({j_mp_turtle_bean = true, j_turtle_bean = true})[v.config.center.key] + (SMODS.Mods.Roland.config.crimson_bean or not is_bean[v.config.center.key]) if debuffed_by_crimson and v.ability.Roland_crimson == nil then local debuff = not not v.debuff diff --git a/src/main.lua b/src/main.lua index e31eb99..ecbdbd6 100644 --- a/src/main.lua +++ b/src/main.lua @@ -1,5 +1,7 @@ local qol = assert(SMODS.load_file "src/lib/shared.lua")() or require "lib.shared" local f, q = qol[1], qol[2] +SMODS.current_mod.qol = qol +local animated = SMODS.current_mod.config.animated_icon q { front = true, @@ -53,9 +55,6 @@ local function toggle(id) }) end -SMODS.current_mod.qol = qol -local animated = SMODS.Mods.Roland.config.animated_icon - SMODS.Atlas { px = 256, py = 256, @@ -79,7 +78,7 @@ function SMODS.current_mod.config_tab() toggle "cool_phones", toggle "vitriol", toggle "equinox_assist", - G.P_CENTERS.c_Bakery_Scribe and toggle "scribable_basket", + toggle "crimson_bean", }, }, { @@ -90,6 +89,7 @@ function SMODS.current_mod.config_tab() toggle "illusion_seal", toggle "no_wild_debuff", SMODS.Mods.DebugPlus and toggle "import_funky", + G.P_CENTERS.c_Bakery_Scribe and toggle "scribable_basket", Talisman and toggle "harsh_ante_scaling", }, },