Added Config option to toggle display of item description texts
This commit is contained in:
1 parent
2a2719009b
commit
275b677309
3 files changed
+9
-1
No files matched your search
@@ -163,6 +163,9 @@ EID.UserConfig = {
|
|||||||
-- Toggle display of collectible or trinket icons next to the item name
|
-- Toggle display of collectible or trinket icons next to the item name
|
||||||
-- Default = true
|
-- Default = true
|
||||||
["ShowItemIcon"] = true,
|
["ShowItemIcon"] = true,
|
||||||
|
-- Toggle display of collectible or Card and Pill descriptions
|
||||||
|
-- Default = true
|
||||||
|
["ShowItemDescription"] = true,
|
||||||
-- Toggle display of collectible descriptions
|
-- Toggle display of collectible descriptions
|
||||||
-- Default = true
|
-- Default = true
|
||||||
["DisplayItemInfo"] = true,
|
["DisplayItemInfo"] = true,
|
||||||
@@ -457,6 +460,7 @@ EID.DefaultConfig = {
|
|||||||
["ShowItemName"] = true,
|
["ShowItemName"] = true,
|
||||||
["ShowItemType"] = true,
|
["ShowItemType"] = true,
|
||||||
["ShowItemIcon"] = true,
|
["ShowItemIcon"] = true,
|
||||||
|
["ShowItemDescription"] = true,
|
||||||
["DisplayItemInfo"] = true,
|
["DisplayItemInfo"] = true,
|
||||||
["DisplayTrinketInfo"] = true,
|
["DisplayTrinketInfo"] = true,
|
||||||
["ItemNameColor"] = "ColorEIDObjName",
|
["ItemNameColor"] = "ColorEIDObjName",
|
||||||
|
|||||||
@@ -691,7 +691,10 @@ function EID:printDescription(desc, cachedID)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
EID:printBulletPoints(desc.Description, renderPos)
|
|
||||||
|
if EID.Config["ShowItemDescription"] then
|
||||||
|
EID:printBulletPoints(desc.Description, renderPos)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function EID:printBulletPoints(description, renderPos)
|
function EID:printBulletPoints(description, renderPos)
|
||||||
|
|||||||
@@ -528,6 +528,7 @@ if MCMLoaded then
|
|||||||
EID:AddBooleanSetting("Visuals", "ShowItemName", "Display Item Name")
|
EID:AddBooleanSetting("Visuals", "ShowItemName", "Display Item Name")
|
||||||
EID:AddBooleanSetting("Visuals", "ShowItemType", "Display Item Type")
|
EID:AddBooleanSetting("Visuals", "ShowItemType", "Display Item Type")
|
||||||
EID:AddBooleanSetting("Visuals", "ShowItemIcon", "Display Item Icon")
|
EID:AddBooleanSetting("Visuals", "ShowItemIcon", "Display Item Icon")
|
||||||
|
EID:AddBooleanSetting("Visuals", "ShowItemDescription", "Display Item Description")
|
||||||
EID:AddBooleanSetting("Visuals", "TransformationText", "Display Transformation Name")
|
EID:AddBooleanSetting("Visuals", "TransformationText", "Display Transformation Name")
|
||||||
EID:AddBooleanSetting("Visuals", "TransformationIcons", "Display Transformation Icon")
|
EID:AddBooleanSetting("Visuals", "TransformationIcons", "Display Transformation Icon")
|
||||||
EID:AddBooleanSetting("Visuals", "TransformationProgress", "Display Transformation Progress")
|
EID:AddBooleanSetting("Visuals", "TransformationProgress", "Display Transformation Progress")
|
||||||
|
|||||||
Reference in new issue
Block a user