Fixes pillname description for translationsets
This commit is contained in:
1 parent
932e17afa9
commit
f9b6e9c8aa
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -418,7 +418,8 @@ function EID:getObjectName(Type, Variant, SubType)
|
|||||||
elseif tableName == "cards" then
|
elseif tableName == "cards" then
|
||||||
return name or EID.itemConfig:GetCard(SubType).Name
|
return name or EID.itemConfig:GetCard(SubType).Name
|
||||||
elseif tableName == "pills" or tableName == "horsepills" then
|
elseif tableName == "pills" or tableName == "horsepills" then
|
||||||
name = name or EID.itemConfig:GetPillEffect(SubType-1).Name
|
local adjustedSubtype = EID:getAdjustedSubtype(Type, Variant, SubType)
|
||||||
|
name = name or EID.itemConfig:GetPillEffect(adjustedSubtype - 1).Name
|
||||||
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:getDescriptionTable("sacrificeHeader")
|
return EID:getDescriptionTable("sacrificeHeader")
|
||||||
|
|||||||
+1
-1
@@ -86,7 +86,7 @@ https://moddingofisaac.com/mod/1079/external-item-descriptions
|
|||||||
- Jake for the sweet [b]German[/b] language pack
|
- Jake for the sweet [b]German[/b] language pack
|
||||||
- [url=https://steamcommunity.com/id/whytefang/]adc[/url] for creating an awesome new Languagepack and providing ideas for new functionalities
|
- [url=https://steamcommunity.com/id/whytefang/]adc[/url] for creating an awesome new Languagepack and providing ideas for new functionalities
|
||||||
</description>
|
</description>
|
||||||
<version>3.44</version>
|
<version>3.45</version>
|
||||||
<visibility>Public</visibility>
|
<visibility>Public</visibility>
|
||||||
<tag id="Lua"/>
|
<tag id="Lua"/>
|
||||||
<tag id="Items"/>
|
<tag id="Items"/>
|
||||||
|
|||||||
Reference in new issue
Block a user