Merge pull request #231 from Buurazu/master
Fix incorrect pill names on en_us_detailed
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -448,7 +448,7 @@ function EID:getObjectName(Type, Variant, SubType)
|
|||||||
elseif tableName == "pills" or tableName == "horsepills" then
|
elseif tableName == "pills" or tableName == "horsepills" then
|
||||||
local adjustedSubtype = EID:getAdjustedSubtype(Type, Variant, SubType)
|
local adjustedSubtype = EID:getAdjustedSubtype(Type, Variant, SubType)
|
||||||
local vanillaName = EID.itemConfig:GetPillEffect(adjustedSubtype - 1).Name
|
local vanillaName = EID.itemConfig:GetPillEffect(adjustedSubtype - 1).Name
|
||||||
name = name or (not string.find(vanillaName, "^#") and vanillaName) or EID.descriptions["en_us"][tableName][SubType][2] or vanillaName
|
name = name or (not string.find(vanillaName, "^#") and vanillaName) or EID.descriptions["en_us"][tableName][adjustedSubtype][2] or vanillaName
|
||||||
return string.gsub(name,"I'm Excited!!!","I'm Excited!!") -- prevent markup trigger
|
return string.gsub(name,"I'm Excited!!!","I'm Excited!!") -- prevent markup trigger
|
||||||
elseif tableName == "sacrifice" then
|
elseif tableName == "sacrifice" then
|
||||||
return EID:getDescriptionEntry("sacrificeHeader")
|
return EID:getDescriptionEntry("sacrificeHeader")
|
||||||
|
|||||||
Reference in new issue
Block a user