Added feature to display Item icon next to name and a demo icon when in MCM
This commit is contained in:
1 parent
924bbafca6
commit
7df94cd5d5
5 files changed
+130
-53
No files matched your search
@@ -267,6 +267,7 @@ if ModConfigMenu then
|
||||
Minimum = 1,
|
||||
Maximum = 6,
|
||||
Display = function()
|
||||
EID.MCMCompat_isDisplayingEIDTab = true;
|
||||
return "Text Size: " .. EIDConfig["Scale"]
|
||||
end,
|
||||
OnChange = function(currentNum)
|
||||
@@ -397,4 +398,24 @@ if ModConfigMenu then
|
||||
end
|
||||
}
|
||||
)
|
||||
ModConfigMenu.AddSetting(
|
||||
"EID",
|
||||
"Display",
|
||||
{
|
||||
Type = ModConfigMenuOptionType.BOOLEAN,
|
||||
CurrentSetting = function()
|
||||
return EIDConfig["ShowItemIcon"]
|
||||
end,
|
||||
Display = function()
|
||||
local onOff = "False"
|
||||
if EIDConfig["ShowItemIcon"] then
|
||||
onOff = "True"
|
||||
end
|
||||
return "Display Item Icon: " .. onOff
|
||||
end,
|
||||
OnChange = function(currentBool)
|
||||
EIDConfig["ShowItemIcon"] = currentBool
|
||||
end
|
||||
}
|
||||
)
|
||||
end
|
||||
Reference in new issue
Block a user