Added description offset when playing Tained Isaac and removed Schoolbag offset when on Repentance

This commit is contained in:
Wofsauge committed 2021-04-18 16:45:59 +02:00
1 parent 751a1d20eb
commit 82a01fcda7
2 files changed
+14 -6

No files matched your search

+11 -3
View File
@@ -316,10 +316,18 @@ local function onRender(t)
EID:renderMCMDummyDescription()
local player = Isaac.GetPlayer(0)
if player:HasCollectible(CollectibleType.COLLECTIBLE_SCHOOLBAG) then
EID:addTextPosModifier("Schoolbag", Vector(0,30))
if EID.GameVersion == "ab+" then
if player:HasCollectible(CollectibleType.COLLECTIBLE_SCHOOLBAG) then
EID:addTextPosModifier("Schoolbag", Vector(0,30))
else
EID:removeTextPosModifier("Schoolbag")
end
else
EID:removeTextPosModifier("Schoolbag")
if player.SubType == 21 then
EID:addTextPosModifier("Tained Isaac", Vector(0,30))
else
EID:removeTextPosModifier("Tained Isaac")
end
end
if EID.isDisplayingPermanent and EID.permanentDisplayTextObj ~= nil then
+3 -3
View File
@@ -45,7 +45,7 @@ This mod will support Repentance when mod support is enabled again (~1 week).
[tr]
[td]by Wofsauge[/td]
[td]by Arroyo Purroy[/td]
[td]by hell2Pay, fly_6, TrJ-VoRon[/td]
[td]by hell2Pay, fly_6, TrJ-VoRon, Sekaz[/td]
[td]by Denkishi, 2G[/td]
[td]by Nicolas Delvaux[/td]
[td]by Marcelino Cruz[/td]
@@ -83,12 +83,12 @@ https://moddingofisaac.com/mod/1079/external-item-descriptions
- Rickyy for creating the incredible [b]Polish[/b] language pack
- Marcelino Cruz for creating the [b]Portuguese[/b] language pack
- LuanRoger and NotZin02 for creating the [b]Brazilian - Portuguese[/b] language pack
- hell2pay, fly_6, TrJ-VoRoN for creating the [b]Russian[/b] language pack
- hell2pay, fly_6, TrJ-VoRoN and Sekaz for creating the [b]Russian[/b] language pack
- Gothika_47 and TST_Gogo_ for creating the [b]Bulgarian[/b] language pack
- Mert Dutal for creating the [b]Turkish[/b] language pack
- [url=https://steamcommunity.com/id/whytefang/]adc[/url] for creating an awesome new Languagepack and providing ideas for new functionalities
</description>
<version>3.31</version>
<version>3.32</version>
<visibility>Public</visibility>
<tag id="Lua"/>
<tag id="Items"/>