Added "Single Use Item" indicator text as a separate translation string
This commit is contained in:
1 parent
e864c137c5
commit
82b639ece7
33 files changed
+281
-218
No files matched your search
@@ -364,6 +364,14 @@ local function HealthUpCallback(descObj)
|
||||
return descObj
|
||||
end
|
||||
|
||||
-- Handle Single use Item description add-on
|
||||
local function SingleUseCallback(descObj)
|
||||
local infoText = EID:getDescriptionEntry("SingleUseInfo")
|
||||
descObj.Description = infoText .. "#" .. descObj.Description
|
||||
|
||||
return descObj
|
||||
end
|
||||
|
||||
if EID.isRepentance then
|
||||
-- Handle Birthright
|
||||
local function BirthrightCallback(descObj)
|
||||
@@ -1053,6 +1061,8 @@ local function EIDConditionsAB(descObj)
|
||||
if descObj.ObjVariant == PickupVariant.PICKUP_COLLECTIBLE then
|
||||
if EID.Config["ItemCollectionIndicator"] and EID:requiredForCollectionPage(descObj.ObjSubType) then table.insert(callbacks, ItemCollectionPageCallback) end
|
||||
|
||||
if EID.SingleUseCollectibles[descObj.ObjSubType] then table.insert(callbacks, SingleUseCallback) end
|
||||
|
||||
if descObj.ObjSubType == 297 then table.insert(callbacks, PandorasBoxCallback) end
|
||||
|
||||
if EID.Config["DisplayVoidStatInfo"] then
|
||||
|
||||
Reference in new issue
Block a user