Added Config option to toggle Transformation progress
This commit is contained in:
1 parent
ef53c20396
commit
e5f0b3c33e
4 files changed
+10
-1
No files matched your search
@@ -663,11 +663,12 @@ function EID:printDescription(desc, cachedID)
|
||||
if EID.Config["TransformationText"] then
|
||||
local transformationName = EID:getTransformationName(transform)
|
||||
if true then
|
||||
if EID.Config["TransformationProgress"] then
|
||||
-- TODO: call evaluate only when ItemQueue of player changes to save performance
|
||||
EID:evaluateTransformationProgress(transform)
|
||||
local numCollected = EID.TransformationProgress[EID:getPlayerID(EID.player)][transform]
|
||||
local numMax = EID.TransformationData[transform] and EID.TransformationData[transform].NumNeeded or 3
|
||||
transformationName = transformationName.." ("..numCollected.."/"..numMax..")"
|
||||
transformationName = transformationName.."("..numCollected.."/"..numMax..")"
|
||||
end
|
||||
local iconWidth = transformSprite[3] or -1
|
||||
local iconHeight = transformSprite[4] or -1
|
||||
|
||||
Reference in new issue
Block a user