diff --git a/eid_api.lua b/eid_api.lua index 6d04e772..396f2bef 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -418,7 +418,8 @@ function EID:getObjectName(Type, Variant, SubType) elseif tableName == "cards" then return name or EID.itemConfig:GetCard(SubType).Name 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 elseif tableName == "sacrifice" then return EID:getDescriptionTable("sacrificeHeader") diff --git a/metadata.xml b/metadata.xml index 97c59d09..cc1677d6 100644 --- a/metadata.xml +++ b/metadata.xml @@ -86,7 +86,7 @@ https://moddingofisaac.com/mod/1079/external-item-descriptions - 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 - 3.44 + 3.45 Public