Added shortcut function for adding general conditions
This commit is contained in:
1 parent
9703626b71
commit
2b3c48d1ea
2 files changed
+34
-2
No files matched your search
@@ -2160,6 +2160,8 @@ end
|
||||
function EID:GetEntityXMLName(Type, Variant, SubType)
|
||||
return EID.XMLEntityNames[Type.."."..Variant] or EID.XMLEntityNames[Type.."."..Variant.."."..SubType]
|
||||
end
|
||||
|
||||
---@diagnostic disable-next-line: duplicate-set-field
|
||||
function EID:GetEntityXMLNameByString(tvsString)
|
||||
local Type, Var, Sub = EID:SplitTVS(tvsString)
|
||||
return EID:GetEntityXMLName(Type, Var, Sub)
|
||||
|
||||
Reference in new issue
Block a user