Refactored grid entity handling to allow for custom grid entity descriptions

relates to #866
This commit is contained in:
Wofsauge committed 2025-06-05 23:54:03 +02:00
1 parent 498af83e4f
commit 75461bedfe
7 files changed
+161 -65

No files matched your search

+1 -1
View File
@@ -551,7 +551,7 @@ function EID:applyConditionals(descObj)
local adjustedSubtype = EID:getAdjustedSubtype(descObj.ObjType, descObj.ObjVariant, descObj.ObjSubType)
local typeVar = descObj.ObjType.."."..descObj.ObjVariant -- for general conditions (Tarot Cloth, Book of Virtues)
local typeVarSub = descObj.ObjType.."."..descObj.ObjVariant.."."..adjustedSubtype -- for specific conditions
local highestLayer = -999
local highestLayer = math.mininteger
local printedDescs = {}
-- Combine specific+generic conditions into one table (in that order)