Salvage modifier + misc (#717)

* Add a Tainted Cain pedestal salvage modifier
* Add more Tainted Bethany conditionals for outliers like Isaac's Fork
* Prevent learning recipes before making them when Curse of the Blind is active
* Fix Dice Room co-op conditionals (forgot to test them, subtype needed offsetting by 1)
* Fix the health up modifier not saying when item has different effect for non-red players
* Fix a couple MCM demo desc bugs, and irrelevant spaces/text on AB+
* Fix French's textbox width not being applied by default
* Add some Azazel Brimstone conditionals
* Improve Glitched Crown co-op / salvage interactions
* Fix more cases of recipes being previewed when they shouldn't in Learned Recipe List
This commit is contained in:
Buurazu authored and GitHub committed 2024-09-06 17:39:21 +02:00
1 parent b1efbb0ca4
commit af0c95b8bb
9 files changed
+253 -82

No files matched your search

+19 -9
View File
@@ -388,13 +388,13 @@ if MCMLoaded then
-- Simple toggles of what descriptions the user wants displayed
EID:AddBooleanSetting("Display", "DisableStartOfRunWarnings", "Start of Run Warnings", {displayingTab = "", offText = "Enabled", onText = "Disabled",
EID:AddBooleanSetting("Display", "DisableStartOfRunWarnings", "Start of Run Warnings", {offText = "Enabled", onText = "Disabled",
repOnly = true, infoText = "Toggles warnings for achievements being disabled, the game being outdated, and modded crafting recipes."})
MCM.AddSpace("EID", "Display")
if EID.isRepentance then MCM.AddSpace("EID", "Display") end
MCM.AddText("EID", "Display", "Gameplay")
EID:AddBooleanSetting("Display", "HideInBattle", "Hide in Battle", {infoText = "Hides descriptions when enemies are present."})
EID:AddBooleanSetting("Display", "HideInBattle", "Hide in Battle", {displayingTab = "", infoText = "Hides descriptions when enemies are present."})
EID:AddBooleanSetting("Display", "InitiallyHidden", "Is Initially Hidden", {infoText = "Hides descriptions by default. Press the Toggle key to show them again."})
MCM.AddSpace("EID", "Display")
@@ -450,10 +450,11 @@ if MCMLoaded then
local diceSteps = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
-- Spindown Dice Settings
if EID.isRepentance then MCM.AddSpace("EID", "Display") end
MCM.AddText("EID", "Display", "Spindown Dice")
if EID.isRepentance then
MCM.AddSpace("EID", "Display")
MCM.AddText("EID", "Display", "Spindown Dice")
end
EID:AddScrollSetting("Display", "SpindownDiceResults", "Preview rerolls", diceSteps, {repOnly = true, label = " Items",
infoText = "Number of item previews to display when holding Spindown Dice."})
@@ -466,7 +467,16 @@ if MCMLoaded then
-- Spindown Dice skip locked items
EID:AddBooleanSetting("Display", "SpindownDiceSkipLocked", "Skip Locked Items",
{repOnly = true, infoText = {"The preview skips locked items, like the dice does.", "(The unlock status check is not perfect and may be wrong)"}})
MCM.AddSpace("EID", "Display")
MCM.AddText("EID", "Display", "Dynamic Descriptions")
EID:AddBooleanSetting("Display", "DynamicHealthUps", "Dynamic Health Up Text",
{infoText = "Changes Health Ups and removes healing effect text when playing as a character that can't have red health"})
EID:AddBooleanSetting("Display", "DynamicSalvageResult", "Show Tainted Cain Salvage Result",
{repOnly = true, infoText = "As Tainted Cain, replaces pedestal descriptions with what they will turn into"})
--------Obstruction---------
MCM.AddSpace("EID", "Display")
MCM.AddText("EID", "Display", "Unreachable items")
@@ -883,7 +893,7 @@ if MCMLoaded then
else
MCM.AddSpace("EID", "Save Game")
MCM.AddSpace("EID", "Save Game")
MCM.AddText("EID", "Save Game", "To enable savegame related features,")
MCM.AddText("EID", "Save Game", function() EID.MCMCompat_isDisplayingEIDTab = ""; return "To enable savegame related features," end)
MCM.AddText("EID", "Save Game", "please run \"scripts\\savegame_reader.exe\"")
MCM.AddText("EID", "Save Game", "found in the EID mod folder.")
end