Fix Curse of Blind / Alt Path + Glitched Items
This commit is contained in:
1 parent
4559c284dc
commit
eca79bc0b7
1 file changed
+6
@@ -1301,6 +1301,12 @@ local function onRender(t)
|
|||||||
|
|
||||||
-- Handle Glitched Items
|
-- Handle Glitched Items
|
||||||
elseif closest.Type == 5 and closest.Variant == 100 and closest.SubType > 4294960000 then
|
elseif closest.Type == 5 and closest.Variant == 100 and closest.SubType > 4294960000 then
|
||||||
|
if EID:getEntityData(closest, "EID_DontHide") ~= true then
|
||||||
|
if (EID:hasCurseBlind() and not closest:ToPickup().Touched and EID.Config["DisableOnCurse"] and not isDeathCertRoom) or (EID.Config["DisableOnAltPath"] and not closest:ToPickup().Touched and EID:IsAltChoice(closest)) or (game.Challenge == Challenge.CHALLENGE_APRILS_FOOL and EID.Config["DisableOnAprilFoolsChallenge"]) then
|
||||||
|
EID:addDescriptionToPrint({ Description = "QuestionMark", Entity = closest})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
local glitchedObj = EID:getDescriptionObj(closest.Type, closest.Variant, closest.SubType, closest)
|
local glitchedObj = EID:getDescriptionObj(closest.Type, closest.Variant, closest.SubType, closest)
|
||||||
local glitchedDesc = EID:getXMLDescription(closest.Type, closest.Variant, closest.SubType)
|
local glitchedDesc = EID:getXMLDescription(closest.Type, closest.Variant, closest.SubType)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user