Added config option to disable Flip item descriptions

This commit is contained in:
Wofsauge committed 2024-09-08 23:46:21 +02:00
1 parent c233a723d5
commit fd4370df19
3 files changed
+10 -1

No files matched your search

+2
View File
@@ -431,6 +431,8 @@ if MCMLoaded then
EID:AddBooleanSetting("Display", "DisplayVoidStatInfo", "Show Void Stat Increases", {infoText = "Displays the stats that would be gained by consuming a passive item."})
EID:AddBooleanSetting("Display", "DisplayGlitchedItemInfo", "Show Glitched Item Info", {repOnly = true,
infoText = "Note: Installing REPENTOGON is required for more detailed glitched item descriptions!"})
EID:AddBooleanSetting("Display", "DisplayFlipItemDescriptions", "Show Flip Item Descriptions", {repOnly = true,
infoText = "Display the effect of ghostly items, when player has the Flip item (T-Lazarus)"})
MCM.AddSpace("EID", "Display")
MCM.AddText("EID", "Display", "Hidden items")
+1 -1
View File
@@ -818,7 +818,7 @@ if EID.isRepentance then
-- Handle Flip description addition
local function FlipCallback(descObj)
local flipItemID = EID:getEntityData(descObj.Entity, "EID_FlipItemID")
if not flipItemID or flipItemID <= 0 then return descObj end
if not flipItemID or flipItemID <= 0 or not EID.Config["DisplayFlipItemDescriptions"] then return descObj end
-- Empty pedestal
if descObj.ObjSubType == 0 then
return EID:getDescriptionObj(5, 100, flipItemID)