Added config option to disable Flip item descriptions
This commit is contained in:
1 parent
c233a723d5
commit
fd4370df19
3 files changed
+10
-1
No files matched your search
@@ -314,6 +314,12 @@ EID.UserConfig = {
|
||||
-- Default = false
|
||||
["DisplayVoidStatInfo"] = false,
|
||||
|
||||
---------- Flip Items ----------
|
||||
-- If enabled, displays informations about the "ghost" item that is available for the other player when using the "Flip" item (T-Lazarus)
|
||||
-- REPENTANCE ONLY!!!
|
||||
-- Default = true
|
||||
["DisplayFlipItemDescriptions"] = true,
|
||||
|
||||
---------- Item Reminder Description ------------
|
||||
-- Enable/Disable item reminder feature.
|
||||
-- Hold Map (or the button action chosen below) to show a description of your active item's effect, recently picked up items, and things like Teleport 2.0's destination and Void's absorbed items
|
||||
@@ -606,6 +612,7 @@ EID.DefaultConfig = {
|
||||
["DisplayBagOfCrafting"] = "always",
|
||||
["DisplayCraneInfo"] = true,
|
||||
["DisplayVoidStatInfo"] = false,
|
||||
["DisplayFlipItemDescriptions"] = true,
|
||||
["BagOfCraftingResults"] = 7,
|
||||
["BagOfCraftingCombinationMax"] = 12,
|
||||
["BagOfCraftingRandomResults"] = 400,
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user