diff --git a/config.lua b/config.lua index cf0162b9..7261c340 100644 --- a/config.lua +++ b/config.lua @@ -6,4 +6,5 @@ return { ["override_glitched"] = true, ["omega_aleph"] = false, ["inversion_queues"] = 2, + ["curses_enabled"] = true } \ No newline at end of file diff --git a/items/misc/stakes.lua b/items/misc/stakes.lua index 59c9bb64..76d18bf9 100644 --- a/items/misc/stakes.lua +++ b/items/misc/stakes.lua @@ -134,6 +134,7 @@ Entropy.curses = { } function Entropy.get_curse_rate() + if not Entropy.config.curses_enabled then return 0 end if to_big(G.GAME.round_resets.ante) <= to_big(G.GAME.win_ante or 8) then return 0 end local key = G.GAME.selected_back and G.GAME.selected_back.effect.center.original_key local wins = G.PROFILES and G.SETTINGS.profile and G.PROFILES[G.SETTINGS.profile].deck_usage and G.PROFILES[G.SETTINGS.profile].deck_usage[key] and G.PROFILES[G.SETTINGS.profile].deck_usage[key].wins or {} diff --git a/lib/config.lua b/lib/config.lua index 58a46aae..05cc01f7 100644 --- a/lib/config.lua +++ b/lib/config.lua @@ -48,6 +48,12 @@ local entrConfigTab = function() ref_value = "family_mode", callback = Cryptid.reload_localization, }) + entr_nodes[#entr_nodes + 1] = create_toggle({ + label = localize("curses_enabled"), + active_colour = HEX("40c76d"), + ref_table = Entropy.config, + ref_value = "curses_enabled", + }) if SMODS.Mods["Cryptid"] and SMODS.Mods["Cryptid"].can_load then entr_nodes[#entr_nodes + 1] = create_toggle({ label = localize("k_entr_faster_ante_scaling"), diff --git a/localization/en-us.lua b/localization/en-us.lua index 38785135..5c962299 100644 --- a/localization/en-us.lua +++ b/localization/en-us.lua @@ -5523,6 +5523,7 @@ local decs = { flipside_full = 'Full', flipside_info = 'Inversion display when holding Flipside', + curses_enabled = "Enable Curses outside of Obsidian Stake", b_stat_CBlind = "Blind Token", b_stat_Fraud = "Fraud",