Add Crimson Bean setting
This commit is contained in:
parent
c199c236ab
commit
995bd2c880
4 changed files with 8 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
return {
|
return {
|
||||||
animated_icon = true,
|
animated_icon = true,
|
||||||
cool_phones = true,
|
cool_phones = true,
|
||||||
|
crimson_bean = false,
|
||||||
equinox_assist = false,
|
equinox_assist = false,
|
||||||
faster_planets = false,
|
faster_planets = false,
|
||||||
harsh_ante_scaling = false,
|
harsh_ante_scaling = false,
|
||||||
|
|
|
||||||
|
|
@ -602,6 +602,7 @@ return {
|
||||||
b_Roland_bye = "Bye!",
|
b_Roland_bye = "Bye!",
|
||||||
b_Roland_comma = ", ",
|
b_Roland_comma = ", ",
|
||||||
b_Roland_cool_phones = "cool phones (requires restart)",
|
b_Roland_cool_phones = "cool phones (requires restart)",
|
||||||
|
b_Roland_crimson_bean = "Crimson Bean (overpowered)",
|
||||||
b_Roland_debuffed = "DEBUFFED",
|
b_Roland_debuffed = "DEBUFFED",
|
||||||
b_Roland_disabled = "Disabled",
|
b_Roland_disabled = "Disabled",
|
||||||
b_Roland_enabled = "Enabled",
|
b_Roland_enabled = "Enabled",
|
||||||
|
|
|
||||||
|
|
@ -721,11 +721,12 @@ joker {
|
||||||
crimson = function()
|
crimson = function()
|
||||||
local _ = G.jokers and f(G.jokers.cards, ipairs_reversed):where(is_frozen, false):each(function(v)
|
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 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
|
local debuffed_by_crimson = right and
|
||||||
not right.debuff and
|
not right.debuff and
|
||||||
right.config.center.key == "j_Roland_crimson" 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
|
if debuffed_by_crimson and v.ability.Roland_crimson == nil then
|
||||||
local debuff = not not v.debuff
|
local debuff = not not v.debuff
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
local qol = assert(SMODS.load_file "src/lib/shared.lua")() or require "lib.shared"
|
local qol = assert(SMODS.load_file "src/lib/shared.lua")() or require "lib.shared"
|
||||||
local f, q = qol[1], qol[2]
|
local f, q = qol[1], qol[2]
|
||||||
|
SMODS.current_mod.qol = qol
|
||||||
|
local animated = SMODS.current_mod.config.animated_icon
|
||||||
|
|
||||||
q {
|
q {
|
||||||
front = true,
|
front = true,
|
||||||
|
|
@ -53,9 +55,6 @@ local function toggle(id)
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
SMODS.current_mod.qol = qol
|
|
||||||
local animated = SMODS.Mods.Roland.config.animated_icon
|
|
||||||
|
|
||||||
SMODS.Atlas {
|
SMODS.Atlas {
|
||||||
px = 256,
|
px = 256,
|
||||||
py = 256,
|
py = 256,
|
||||||
|
|
@ -79,7 +78,7 @@ function SMODS.current_mod.config_tab()
|
||||||
toggle "cool_phones",
|
toggle "cool_phones",
|
||||||
toggle "vitriol",
|
toggle "vitriol",
|
||||||
toggle "equinox_assist",
|
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 "illusion_seal",
|
||||||
toggle "no_wild_debuff",
|
toggle "no_wild_debuff",
|
||||||
SMODS.Mods.DebugPlus and toggle "import_funky",
|
SMODS.Mods.DebugPlus and toggle "import_funky",
|
||||||
|
G.P_CENTERS.c_Bakery_Scribe and toggle "scribable_basket",
|
||||||
Talisman and toggle "harsh_ante_scaling",
|
Talisman and toggle "harsh_ante_scaling",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue