Possible fix to hide alt path items

This commit is contained in:
Wofsauge committed 2021-05-16 18:35:23 +02:00
1 parent f03f3f5d1d
commit 24dfb5e776
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -142,7 +142,8 @@ if REPENTANCE then
return
end
pickup:GetData()["EID_IsAltChoise"] = false
if Game():GetRoom():GetType() == RoomType.ROOM_TREASURE and Game():GetLevel():GetStageType() > 3 and pickup.OptionsPickupIndex == 1 then
if Game():GetRoom():GetType() == RoomType.ROOM_TREASURE and Game():GetLevel():GetStageType() > 3 then
if altPathItemCounter == 1 and not Isaac.GetPlayer(0):HasCollectible(668) or (pickup.Position - lastHidePosition):Length() < 0.1 then
pickup:GetData()["EID_IsAltChoise"] = true
lastHidePosition = pickup.Position
+1 -1
View File
@@ -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
</description>
<version>3.40</version>
<version>3.41</version>
<visibility>Public</visibility>
<tag id="Lua"/>
<tag id="Items"/>