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