Added description offset when playing Tained Isaac and removed Schoolbag offset when on Repentance
This commit is contained in:
1 parent
751a1d20eb
commit
82a01fcda7
2 files changed
+14
-6
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user