Added config option to display object ids in the description text
This commit is contained in:
1 parent
b60c32df85
commit
cee5f1c85d
3 files changed
+38
-1
No files matched your search
@@ -906,6 +906,27 @@ if MCMLoaded then
|
||||
end
|
||||
}
|
||||
)
|
||||
-------Object ID---------
|
||||
MCM.AddSetting(
|
||||
"EID",
|
||||
"Visuals",
|
||||
{
|
||||
Type = ModConfigMenu.OptionType.BOOLEAN,
|
||||
CurrentSetting = function()
|
||||
return EID.Config["ShowObjectID"]
|
||||
end,
|
||||
Display = function()
|
||||
local onOff = "False"
|
||||
if EID.Config["ShowObjectID"] then
|
||||
onOff = "True"
|
||||
end
|
||||
return "Display Object ID: " .. onOff
|
||||
end,
|
||||
OnChange = function(currentBool)
|
||||
EID.Config["ShowObjectID"] = currentBool
|
||||
end
|
||||
}
|
||||
)
|
||||
---------------------------------------------------------------------------
|
||||
---------------------------------Visuals-----------------------------------
|
||||
|
||||
|
||||
Reference in new issue
Block a user