isaacscript-common 9.13.5-dev.2 → 9.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/callbacks/customRevive.d.ts +0 -1
- package/dist/callbacks/customRevive.d.ts.map +1 -1
- package/dist/callbacks/customRevive.lua +45 -39
- package/dist/callbacks/itemPickup.d.ts +0 -1
- package/dist/callbacks/itemPickup.d.ts.map +1 -1
- package/dist/callbacks/itemPickup.lua +16 -16
- package/dist/callbacks/postAmbush.d.ts +0 -1
- package/dist/callbacks/postAmbush.d.ts.map +1 -1
- package/dist/callbacks/postAmbush.lua +12 -12
- package/dist/callbacks/postBombExploded.d.ts +0 -1
- package/dist/callbacks/postBombExploded.d.ts.map +1 -1
- package/dist/callbacks/postBombExploded.lua +6 -6
- package/dist/callbacks/postBombInitLate.d.ts +0 -1
- package/dist/callbacks/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/postBombInitLate.lua +7 -7
- package/dist/callbacks/postBoneSwing.d.ts +0 -1
- package/dist/callbacks/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/postBoneSwing.lua +11 -11
- package/dist/callbacks/postCollectibleEmpty.d.ts +0 -1
- package/dist/callbacks/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleEmpty.lua +6 -6
- package/dist/callbacks/postCollectibleInitFirst.d.ts +0 -1
- package/dist/callbacks/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleInitFirst.lua +7 -7
- package/dist/callbacks/postCursedTeleport.d.ts +0 -1
- package/dist/callbacks/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/postCursedTeleport.lua +24 -24
- package/dist/callbacks/postCustomDoorEnter.d.ts +0 -1
- package/dist/callbacks/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/postCustomDoorEnter.lua +34 -28
- package/dist/callbacks/postDiceRoomActivated.d.ts +0 -1
- package/dist/callbacks/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/postDiceRoomActivated.lua +9 -9
- package/dist/callbacks/postDoorRender.d.ts +0 -1
- package/dist/callbacks/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/postDoorRender.lua +7 -7
- package/dist/callbacks/postDoorUpdate.d.ts +0 -1
- package/dist/callbacks/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/postDoorUpdate.lua +7 -7
- package/dist/callbacks/postEffectInitLate.d.ts +0 -1
- package/dist/callbacks/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/postEffectInitLate.lua +7 -7
- package/dist/callbacks/postEffectStateChanged.d.ts +0 -1
- package/dist/callbacks/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postEffectStateChanged.lua +8 -8
- package/dist/callbacks/postEsauJr.d.ts +0 -1
- package/dist/callbacks/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/postEsauJr.lua +11 -11
- package/dist/callbacks/postFamiliarInitLate.d.ts +0 -1
- package/dist/callbacks/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarInitLate.lua +7 -7
- package/dist/callbacks/postFamiliarStateChanged.d.ts +0 -1
- package/dist/callbacks/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarStateChanged.lua +8 -8
- package/dist/callbacks/postFlip.d.ts +0 -1
- package/dist/callbacks/postFlip.d.ts.map +1 -1
- package/dist/callbacks/postFlip.lua +12 -12
- package/dist/callbacks/postGreedModeWave.d.ts +0 -1
- package/dist/callbacks/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/postGreedModeWave.lua +7 -7
- package/dist/callbacks/postGridEntity.d.ts +0 -1
- package/dist/callbacks/postGridEntity.d.ts.map +1 -1
- package/dist/callbacks/postGridEntity.lua +41 -35
- package/dist/callbacks/postGridEntityCollision.d.ts +0 -1
- package/dist/callbacks/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomCollision.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomRender.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomRender.lua +7 -7
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomUpdate.lua +7 -7
- package/dist/callbacks/postGridEntityRender.d.ts +0 -1
- package/dist/callbacks/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityRender.lua +7 -7
- package/dist/callbacks/postHolyMantleRemoved.d.ts +0 -1
- package/dist/callbacks/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/postHolyMantleRemoved.lua +9 -9
- package/dist/callbacks/postItemDischarged.d.ts +0 -1
- package/dist/callbacks/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/postItemDischarged.lua +18 -18
- package/dist/callbacks/postKnifeInitLate.d.ts +0 -1
- package/dist/callbacks/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/postKnifeInitLate.lua +7 -7
- package/dist/callbacks/postLaserInitLate.d.ts +0 -1
- package/dist/callbacks/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/postLaserInitLate.lua +7 -7
- package/dist/callbacks/postNPCInitLate.d.ts +0 -1
- package/dist/callbacks/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/postNPCInitLate.lua +7 -7
- package/dist/callbacks/postNPCStateChanged.d.ts +0 -1
- package/dist/callbacks/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postNPCStateChanged.lua +8 -8
- package/dist/callbacks/postNewRoomEarly.d.ts +0 -1
- package/dist/callbacks/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/postNewRoomEarly.lua +16 -16
- package/dist/callbacks/postPickupCollect.d.ts +0 -1
- package/dist/callbacks/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/postPickupCollect.lua +8 -8
- package/dist/callbacks/postPickupInitFirst.d.ts +0 -1
- package/dist/callbacks/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitFirst.lua +8 -8
- package/dist/callbacks/postPickupInitLate.d.ts +0 -1
- package/dist/callbacks/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitLate.lua +7 -7
- package/dist/callbacks/postPickupStateChanged.d.ts +0 -1
- package/dist/callbacks/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postPickupStateChanged.lua +8 -8
- package/dist/callbacks/postPitRender.d.ts +0 -1
- package/dist/callbacks/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/postPitRender.lua +7 -7
- package/dist/callbacks/postPitUpdate.d.ts +0 -1
- package/dist/callbacks/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPitUpdate.lua +7 -7
- package/dist/callbacks/postPlayerChangeHealth.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeHealth.lua +10 -9
- package/dist/callbacks/postPlayerChangeStat.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeStat.lua +20 -19
- package/dist/callbacks/postPlayerChangeType.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeType.lua +10 -10
- package/dist/callbacks/postPlayerCollectible.d.ts +0 -1
- package/dist/callbacks/postPlayerCollectible.d.ts.map +1 -1
- package/dist/callbacks/postPlayerCollectible.lua +40 -36
- package/dist/callbacks/postPlayerFatalDamage.d.ts +0 -1
- package/dist/callbacks/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/postPlayerFatalDamage.lua +22 -14
- package/dist/callbacks/postPlayerInitFirst.d.ts +0 -1
- package/dist/callbacks/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitFirst.lua +12 -12
- package/dist/callbacks/postPlayerInitLate.d.ts +0 -1
- package/dist/callbacks/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitLate.lua +9 -9
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts +0 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.lua +25 -25
- package/dist/callbacks/postPoopRender.d.ts +0 -1
- package/dist/callbacks/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/postPoopRender.lua +7 -7
- package/dist/callbacks/postPoopUpdate.d.ts +0 -1
- package/dist/callbacks/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPoopUpdate.lua +7 -7
- package/dist/callbacks/postPressurePlateRender.d.ts +0 -1
- package/dist/callbacks/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateRender.lua +7 -7
- package/dist/callbacks/postPressurePlateUpdate.d.ts +0 -1
- package/dist/callbacks/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateUpdate.lua +7 -7
- package/dist/callbacks/postProjectileInitLate.d.ts +0 -1
- package/dist/callbacks/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/postProjectileInitLate.lua +7 -7
- package/dist/callbacks/postPurchase.d.ts +0 -1
- package/dist/callbacks/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/postPurchase.lua +12 -12
- package/dist/callbacks/postRockRender.d.ts +0 -1
- package/dist/callbacks/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/postRockRender.lua +7 -7
- package/dist/callbacks/postRockUpdate.d.ts +0 -1
- package/dist/callbacks/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/postRockUpdate.lua +7 -7
- package/dist/callbacks/postRoomClearChanged.d.ts +0 -1
- package/dist/callbacks/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/postRoomClearChanged.lua +9 -9
- package/dist/callbacks/postSacrifice.d.ts +0 -1
- package/dist/callbacks/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/postSacrifice.lua +8 -8
- package/dist/callbacks/postSlotCollision.d.ts +0 -1
- package/dist/callbacks/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/postSlotCollision.lua +7 -7
- package/dist/callbacks/postSlotDestroyed.d.ts +0 -1
- package/dist/callbacks/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/postSlotDestroyed.lua +8 -8
- package/dist/callbacks/postSlotInitUpdate.d.ts +0 -1
- package/dist/callbacks/postSlotInitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSlotInitUpdate.lua +15 -15
- package/dist/callbacks/postSlotRender.d.ts +0 -1
- package/dist/callbacks/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/postSlotRender.lua +12 -12
- package/dist/callbacks/postSpikesRender.d.ts +0 -1
- package/dist/callbacks/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/postSpikesRender.lua +7 -7
- package/dist/callbacks/postSpikesUpdate.d.ts +0 -1
- package/dist/callbacks/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSpikesUpdate.lua +7 -7
- package/dist/callbacks/postTNTRender.d.ts +0 -1
- package/dist/callbacks/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/postTNTRender.lua +7 -7
- package/dist/callbacks/postTNTUpdate.d.ts +0 -1
- package/dist/callbacks/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/postTNTUpdate.lua +7 -7
- package/dist/callbacks/postTearInitLate.d.ts +0 -1
- package/dist/callbacks/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitLate.lua +7 -7
- package/dist/callbacks/postTearInitVeryLate.d.ts +0 -1
- package/dist/callbacks/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitVeryLate.lua +7 -7
- package/dist/callbacks/postTransformation.d.ts +0 -1
- package/dist/callbacks/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/postTransformation.lua +9 -9
- package/dist/callbacks/postTrinketBreak.d.ts +0 -1
- package/dist/callbacks/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/postTrinketBreak.lua +11 -11
- package/dist/callbacks/preBerserkDeath.d.ts +0 -1
- package/dist/callbacks/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/preBerserkDeath.lua +9 -9
- package/dist/callbacks/preNewLevel.d.ts +0 -1
- package/dist/callbacks/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/preNewLevel.lua +8 -8
- package/dist/callbacks/reorderedCallbacks.d.ts +0 -1
- package/dist/callbacks/reorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/reorderedCallbacks.lua +26 -26
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts +0 -1
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postAmbushFinished.lua +4 -4
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts +0 -1
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postAmbushStarted.lua +4 -4
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBombInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBoneExploded.lua +4 -4
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBoneSwing.lua +4 -4
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCollectibleEmpty.lua +4 -4
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +4 -4
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +10 -4
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomRevive.lua +4 -4
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDiceRoomActivated.lua +4 -4
- package/dist/callbacks/subscriptions/postDoorRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorRender.lua +4 -4
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEffectStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postEsauJr.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEsauJr.lua +4 -4
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +4 -4
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFirstFlip.lua +4 -4
- package/dist/callbacks/subscriptions/postFlip.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFlip.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFlip.lua +4 -4
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.lua +4 -4
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGreedModeWave.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityBroken.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.lua +10 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityRender.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts +0 -1
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.lua +4 -4
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postItemDischarged.lua +4 -4
- package/dist/callbacks/subscriptions/postItemPickup.d.ts +0 -1
- package/dist/callbacks/subscriptions/postItemPickup.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postItemPickup.lua +4 -4
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNPCStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +4 -4
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupCollect.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postPitRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPoopRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPurchase.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPurchase.lua +4 -4
- package/dist/callbacks/subscriptions/postRockRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRockRender.lua +4 -4
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRockUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRoomClearChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postSacrifice.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSacrifice.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotInit.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotRender.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSpikesRender.lua +4 -4
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSpikesUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postTNTRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTNTRender.lua +4 -4
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTNTUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTearInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +4 -4
- package/dist/callbacks/subscriptions/postTransformation.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTransformation.lua +4 -4
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.lua +4 -4
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts +0 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.lua +4 -4
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts +0 -1
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preCustomRevive.lua +4 -4
- package/dist/callbacks/subscriptions/preItemPickup.d.ts +0 -1
- package/dist/callbacks/subscriptions/preItemPickup.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preItemPickup.lua +4 -4
- package/dist/callbacks/subscriptions/preNewLevel.d.ts +0 -1
- package/dist/callbacks/subscriptions/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preNewLevel.lua +4 -4
- package/dist/classes/DefaultMap.d.ts +0 -1
- package/dist/classes/DefaultMap.d.ts.map +1 -1
- package/dist/classes/DefaultMap.lua +4 -4
- package/dist/classes/ModUpgraded.d.ts +4 -1
- package/dist/classes/ModUpgraded.d.ts.map +1 -1
- package/dist/classes/ModUpgraded.lua +1 -1
- package/dist/core/cachedClasses.d.ts +0 -1
- package/dist/core/cachedClasses.d.ts.map +1 -1
- package/dist/core/constants.d.ts +0 -1
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.lua +4 -4
- package/dist/core/constantsFirstLast.d.ts +0 -1
- package/dist/core/constantsFirstLast.d.ts.map +1 -1
- package/dist/core/constantsFirstLast.lua +11 -11
- package/dist/core/upgradeMod.d.ts +0 -1
- package/dist/core/upgradeMod.d.ts.map +1 -1
- package/dist/core/upgradeMod.lua +9 -9
- package/dist/enums/AmbushType.d.ts +0 -1
- package/dist/enums/AmbushType.d.ts.map +1 -1
- package/dist/enums/CornerType.d.ts +0 -1
- package/dist/enums/CornerType.d.ts.map +1 -1
- package/dist/enums/HealthType.d.ts +0 -1
- package/dist/enums/HealthType.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.d.ts +0 -1
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/enums/PocketItemType.d.ts +0 -1
- package/dist/enums/PocketItemType.d.ts.map +1 -1
- package/dist/enums/RockAltType.d.ts +0 -1
- package/dist/enums/RockAltType.d.ts.map +1 -1
- package/dist/enums/SaveDataKey.d.ts +0 -1
- package/dist/enums/SaveDataKey.d.ts.map +1 -1
- package/dist/enums/SerializationType.d.ts +0 -1
- package/dist/enums/SerializationType.d.ts.map +1 -1
- package/dist/enums/SlotDestructionType.d.ts +0 -1
- package/dist/enums/SlotDestructionType.d.ts.map +1 -1
- package/dist/enums/StatType.d.ts +0 -1
- package/dist/enums/StatType.d.ts.map +1 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +0 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts.map +1 -1
- package/dist/enums/private/SerializationBrand.d.ts +0 -1
- package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
- package/dist/enums/private/StageTravelState.d.ts +0 -1
- package/dist/enums/private/StageTravelState.d.ts.map +1 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts +0 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.d.ts +0 -1
- package/dist/features/characterHealthConversion.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.lua +10 -10
- package/dist/features/characterStats.d.ts +0 -1
- package/dist/features/characterStats.d.ts.map +1 -1
- package/dist/features/characterStats.lua +6 -6
- package/dist/features/collectibleItemPoolType.d.ts +0 -1
- package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
- package/dist/features/collectibleItemPoolType.lua +8 -8
- package/dist/features/customDoor.d.ts +0 -1
- package/dist/features/customDoor.d.ts.map +1 -1
- package/dist/features/customDoor.lua +4 -4
- package/dist/features/customGridEntity.d.ts +0 -1
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +42 -39
- package/dist/features/customPickup.d.ts +0 -1
- package/dist/features/customPickup.d.ts.map +1 -1
- package/dist/features/customPickup.lua +8 -8
- package/dist/features/customStage/backdrop.d.ts +0 -1
- package/dist/features/customStage/backdrop.d.ts.map +1 -1
- package/dist/features/customStage/backdrop.lua +40 -28
- package/dist/features/customStage/customStageConstants.d.ts +0 -1
- package/dist/features/customStage/customStageConstants.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.d.ts +0 -1
- package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.lua +34 -34
- package/dist/features/customStage/customStageUtils.d.ts +0 -1
- package/dist/features/customStage/customStageUtils.d.ts.map +1 -1
- package/dist/features/customStage/customStageUtils.lua +33 -21
- package/dist/features/customStage/exports.d.ts +0 -1
- package/dist/features/customStage/exports.d.ts.map +1 -1
- package/dist/features/customStage/exports.lua +36 -18
- package/dist/features/customStage/init.d.ts +0 -1
- package/dist/features/customStage/init.d.ts.map +1 -1
- package/dist/features/customStage/init.lua +28 -28
- package/dist/features/customStage/shadows.d.ts +0 -1
- package/dist/features/customStage/shadows.d.ts.map +1 -1
- package/dist/features/customStage/shadows.lua +10 -4
- package/dist/features/customStage/streakText.d.ts +0 -1
- package/dist/features/customStage/streakText.d.ts.map +1 -1
- package/dist/features/customStage/streakText.lua +17 -17
- package/dist/features/customStage/v.d.ts +0 -1
- package/dist/features/customStage/v.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.d.ts +0 -1
- package/dist/features/customStage/versusScreen.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.lua +31 -27
- package/dist/features/customTrapdoor/blackSprite.d.ts +0 -1
- package/dist/features/customTrapdoor/blackSprite.d.ts.map +1 -1
- package/dist/features/customTrapdoor/blackSprite.lua +1 -1
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts +0 -1
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.d.ts +0 -1
- package/dist/features/customTrapdoor/exports.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.lua +20 -8
- package/dist/features/customTrapdoor/init.d.ts +0 -1
- package/dist/features/customTrapdoor/init.d.ts.map +1 -1
- package/dist/features/customTrapdoor/init.lua +65 -50
- package/dist/features/customTrapdoor/openClose.d.ts +0 -1
- package/dist/features/customTrapdoor/openClose.d.ts.map +1 -1
- package/dist/features/customTrapdoor/openClose.lua +12 -12
- package/dist/features/customTrapdoor/spawn.d.ts +0 -1
- package/dist/features/customTrapdoor/spawn.d.ts.map +1 -1
- package/dist/features/customTrapdoor/spawn.lua +5 -4
- package/dist/features/customTrapdoor/touched.d.ts +0 -1
- package/dist/features/customTrapdoor/touched.d.ts.map +1 -1
- package/dist/features/customTrapdoor/touched.lua +25 -21
- package/dist/features/customTrapdoor/v.d.ts +0 -1
- package/dist/features/customTrapdoor/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts +0 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.lua +59 -59
- package/dist/features/debugDisplay/exports.d.ts +0 -1
- package/dist/features/debugDisplay/exports.d.ts.map +1 -1
- package/dist/features/debugDisplay/exports.lua +90 -90
- package/dist/features/debugDisplay/v.d.ts +0 -1
- package/dist/features/debugDisplay/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/v.lua +6 -6
- package/dist/features/deployJSONRoom.d.ts +0 -1
- package/dist/features/deployJSONRoom.d.ts.map +1 -1
- package/dist/features/deployJSONRoom.lua +118 -93
- package/dist/features/disableAllSound.d.ts +0 -1
- package/dist/features/disableAllSound.d.ts.map +1 -1
- package/dist/features/disableAllSound.lua +10 -10
- package/dist/features/disableInputs.d.ts +0 -1
- package/dist/features/disableInputs.d.ts.map +1 -1
- package/dist/features/disableInputs.lua +25 -25
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts +0 -1
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsDisplay.lua +72 -72
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts +0 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +42 -33
- package/dist/features/extraConsoleCommands/exports.d.ts +0 -1
- package/dist/features/extraConsoleCommands/exports.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/exports.lua +8 -8
- package/dist/features/extraConsoleCommands/init.d.ts +0 -1
- package/dist/features/extraConsoleCommands/init.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/init.lua +28 -28
- package/dist/features/extraConsoleCommands/listCommands.d.ts +0 -1
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +362 -307
- package/dist/features/extraConsoleCommands/v.d.ts +0 -1
- package/dist/features/extraConsoleCommands/v.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/v.lua +1 -1
- package/dist/features/fadeInRemover.d.ts +0 -1
- package/dist/features/fadeInRemover.d.ts.map +1 -1
- package/dist/features/fadeInRemover.lua +9 -8
- package/dist/features/fastReset.d.ts +0 -1
- package/dist/features/fastReset.d.ts.map +1 -1
- package/dist/features/fastReset.lua +11 -11
- package/dist/features/firstLast.d.ts +0 -1
- package/dist/features/firstLast.d.ts.map +1 -1
- package/dist/features/firstLast.lua +105 -93
- package/dist/features/forgottenSwitch.d.ts +0 -1
- package/dist/features/forgottenSwitch.d.ts.map +1 -1
- package/dist/features/forgottenSwitch.lua +5 -5
- package/dist/features/pause.d.ts +0 -1
- package/dist/features/pause.d.ts.map +1 -1
- package/dist/features/pause.lua +25 -25
- package/dist/features/persistentEntities.d.ts +0 -1
- package/dist/features/persistentEntities.d.ts.map +1 -1
- package/dist/features/persistentEntities.lua +25 -17
- package/dist/features/pickupIndex.d.ts +0 -1
- package/dist/features/pickupIndex.d.ts.map +1 -1
- package/dist/features/pickupIndex.lua +25 -25
- package/dist/features/playerInventory.d.ts +0 -1
- package/dist/features/playerInventory.d.ts.map +1 -1
- package/dist/features/playerInventory.lua +16 -16
- package/dist/features/ponyDetection.d.ts +0 -1
- package/dist/features/ponyDetection.d.ts.map +1 -1
- package/dist/features/ponyDetection.lua +14 -13
- package/dist/features/preventChildEntities.d.ts +0 -1
- package/dist/features/preventChildEntities.d.ts.map +1 -1
- package/dist/features/preventChildEntities.lua +4 -4
- package/dist/features/preventCollectibleRotation.d.ts +0 -1
- package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
- package/dist/features/preventCollectibleRotation.lua +13 -13
- package/dist/features/registerHotkey.d.ts +0 -1
- package/dist/features/registerHotkey.d.ts.map +1 -1
- package/dist/features/registerHotkey.lua +14 -14
- package/dist/features/roomClearFrame.d.ts +0 -1
- package/dist/features/roomClearFrame.d.ts.map +1 -1
- package/dist/features/roomClearFrame.lua +7 -7
- package/dist/features/roomHistory.d.ts +0 -1
- package/dist/features/roomHistory.d.ts.map +1 -1
- package/dist/features/roomHistory.lua +19 -19
- package/dist/features/runInNFrames.d.ts +0 -1
- package/dist/features/runInNFrames.d.ts.map +1 -1
- package/dist/features/runInNFrames.lua +30 -30
- package/dist/features/runNextRoom.d.ts +0 -1
- package/dist/features/runNextRoom.d.ts.map +1 -1
- package/dist/features/runNextRoom.lua +7 -7
- package/dist/features/saveDataManager/exports.d.ts +0 -1
- package/dist/features/saveDataManager/exports.d.ts.map +1 -1
- package/dist/features/saveDataManager/exports.lua +16 -16
- package/dist/features/saveDataManager/load.d.ts +0 -1
- package/dist/features/saveDataManager/load.d.ts.map +1 -1
- package/dist/features/saveDataManager/load.lua +16 -12
- package/dist/features/saveDataManager/main.d.ts +0 -1
- package/dist/features/saveDataManager/main.d.ts.map +1 -1
- package/dist/features/saveDataManager/main.lua +32 -31
- package/dist/features/saveDataManager/maps.d.ts +0 -1
- package/dist/features/saveDataManager/maps.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.d.ts +0 -1
- package/dist/features/saveDataManager/merge.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.lua +33 -30
- package/dist/features/saveDataManager/save.d.ts +0 -1
- package/dist/features/saveDataManager/save.d.ts.map +1 -1
- package/dist/features/saveDataManager/save.lua +9 -8
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts +0 -1
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts +0 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.lua +3 -3
- package/dist/features/sirenHelpers.d.ts +0 -1
- package/dist/features/sirenHelpers.d.ts.map +1 -1
- package/dist/features/sirenHelpers.lua +15 -15
- package/dist/features/stageHistory.d.ts +0 -1
- package/dist/features/stageHistory.d.ts.map +1 -1
- package/dist/features/stageHistory.lua +7 -7
- package/dist/features/taintedLazarusPlayers.d.ts +0 -1
- package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
- package/dist/features/taintedLazarusPlayers.lua +8 -8
- package/dist/featuresInitialized.d.ts +0 -1
- package/dist/featuresInitialized.d.ts.map +1 -1
- package/dist/featuresInitialized.lua +4 -4
- package/dist/functions/ambush.d.ts +0 -1
- package/dist/functions/ambush.d.ts.map +1 -1
- package/dist/functions/ambush.lua +18 -15
- package/dist/functions/array.d.ts +0 -1
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.lua +62 -48
- package/dist/functions/benchmark.d.ts +0 -1
- package/dist/functions/benchmark.d.ts.map +1 -1
- package/dist/functions/benchmark.lua +10 -4
- package/dist/functions/bitSet128.d.ts +0 -1
- package/dist/functions/bitSet128.d.ts.map +1 -1
- package/dist/functions/bitSet128.lua +13 -11
- package/dist/functions/bitwise.d.ts +0 -1
- package/dist/functions/bitwise.d.ts.map +1 -1
- package/dist/functions/bitwise.lua +9 -9
- package/dist/functions/bombs.d.ts +0 -1
- package/dist/functions/bombs.d.ts.map +1 -1
- package/dist/functions/bombs.lua +1 -1
- package/dist/functions/bosses.d.ts +0 -1
- package/dist/functions/bosses.d.ts.map +1 -1
- package/dist/functions/bosses.lua +31 -15
- package/dist/functions/cards.d.ts +0 -1
- package/dist/functions/cards.d.ts.map +1 -1
- package/dist/functions/cards.lua +48 -42
- package/dist/functions/challenges.d.ts +0 -1
- package/dist/functions/challenges.d.ts.map +1 -1
- package/dist/functions/challenges.lua +1 -1
- package/dist/functions/characters.d.ts +0 -1
- package/dist/functions/characters.d.ts.map +1 -1
- package/dist/functions/characters.lua +13 -13
- package/dist/functions/charge.d.ts +0 -1
- package/dist/functions/charge.d.ts.map +1 -1
- package/dist/functions/charge.lua +36 -24
- package/dist/functions/chargeBar.d.ts +0 -1
- package/dist/functions/chargeBar.d.ts.map +1 -1
- package/dist/functions/chargeBar.lua +5 -5
- package/dist/functions/collectibleCacheFlag.d.ts +0 -1
- package/dist/functions/collectibleCacheFlag.d.ts.map +1 -1
- package/dist/functions/collectibleCacheFlag.lua +12 -11
- package/dist/functions/collectibleSet.d.ts +0 -1
- package/dist/functions/collectibleSet.d.ts.map +1 -1
- package/dist/functions/collectibleSet.lua +17 -17
- package/dist/functions/collectibleTag.d.ts +0 -1
- package/dist/functions/collectibleTag.d.ts.map +1 -1
- package/dist/functions/collectibleTag.lua +14 -13
- package/dist/functions/collectibles.d.ts +0 -1
- package/dist/functions/collectibles.d.ts.map +1 -1
- package/dist/functions/collectibles.lua +69 -68
- package/dist/functions/color.d.ts +0 -1
- package/dist/functions/color.d.ts.map +1 -1
- package/dist/functions/color.lua +21 -19
- package/dist/functions/curses.d.ts +0 -1
- package/dist/functions/curses.d.ts.map +1 -1
- package/dist/functions/curses.lua +3 -3
- package/dist/functions/debug.d.ts +0 -1
- package/dist/functions/debug.d.ts.map +1 -1
- package/dist/functions/debug.lua +15 -15
- package/dist/functions/deepCopy.d.ts +0 -1
- package/dist/functions/deepCopy.d.ts.map +1 -1
- package/dist/functions/deepCopy.lua +169 -73
- package/dist/functions/deepCopyTests.d.ts +0 -1
- package/dist/functions/deepCopyTests.d.ts.map +1 -1
- package/dist/functions/deepCopyTests.lua +81 -81
- package/dist/functions/dimensions.d.ts +0 -1
- package/dist/functions/dimensions.d.ts.map +1 -1
- package/dist/functions/dimensions.lua +7 -7
- package/dist/functions/direction.d.ts +0 -1
- package/dist/functions/direction.d.ts.map +1 -1
- package/dist/functions/direction.lua +4 -4
- package/dist/functions/doors.d.ts +0 -1
- package/dist/functions/doors.d.ts.map +1 -1
- package/dist/functions/doors.lua +77 -74
- package/dist/functions/easing.d.ts +0 -1
- package/dist/functions/easing.d.ts.map +1 -1
- package/dist/functions/easing.lua +32 -32
- package/dist/functions/eden.d.ts +0 -1
- package/dist/functions/eden.d.ts.map +1 -1
- package/dist/functions/eden.lua +9 -9
- package/dist/functions/effects.d.ts +0 -1
- package/dist/functions/effects.d.ts.map +1 -1
- package/dist/functions/effects.lua +2 -2
- package/dist/functions/entities.d.ts +0 -1
- package/dist/functions/entities.d.ts.map +1 -1
- package/dist/functions/entities.lua +48 -41
- package/dist/functions/entitiesSpecific.d.ts +0 -1
- package/dist/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/functions/entitiesSpecific.lua +96 -70
- package/dist/functions/entityTypes.d.ts +0 -1
- package/dist/functions/entityTypes.d.ts.map +1 -1
- package/dist/functions/entityTypes.lua +1 -1
- package/dist/functions/enums.d.ts +0 -1
- package/dist/functions/enums.d.ts.map +1 -1
- package/dist/functions/enums.lua +19 -19
- package/dist/functions/familiars.d.ts +0 -1
- package/dist/functions/familiars.d.ts.map +1 -1
- package/dist/functions/familiars.lua +6 -5
- package/dist/functions/flag.d.ts +0 -1
- package/dist/functions/flag.d.ts.map +1 -1
- package/dist/functions/flag.lua +8 -8
- package/dist/functions/flying.d.ts +0 -1
- package/dist/functions/flying.d.ts.map +1 -1
- package/dist/functions/flying.lua +12 -9
- package/dist/functions/globals.d.ts +0 -1
- package/dist/functions/globals.d.ts.map +1 -1
- package/dist/functions/globals.lua +17 -14
- package/dist/functions/gridEntities.d.ts +0 -1
- package/dist/functions/gridEntities.d.ts.map +1 -1
- package/dist/functions/gridEntities.lua +64 -58
- package/dist/functions/gridEntitiesSpecific.d.ts +0 -1
- package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -1
- package/dist/functions/gridEntitiesSpecific.lua +92 -92
- package/dist/functions/hex.d.ts +0 -1
- package/dist/functions/hex.d.ts.map +1 -1
- package/dist/functions/hex.lua +12 -9
- package/dist/functions/initArray.d.ts +0 -1
- package/dist/functions/initArray.d.ts.map +1 -1
- package/dist/functions/initArray.lua +4 -3
- package/dist/functions/input.d.ts +0 -1
- package/dist/functions/input.d.ts.map +1 -1
- package/dist/functions/input.lua +25 -22
- package/dist/functions/isaacAPIClass.d.ts +0 -1
- package/dist/functions/isaacAPIClass.d.ts.map +1 -1
- package/dist/functions/isaacAPIClass.lua +47 -47
- package/dist/functions/itemPool.d.ts +0 -1
- package/dist/functions/itemPool.d.ts.map +1 -1
- package/dist/functions/itemPool.lua +19 -17
- package/dist/functions/jsonHelpers.d.ts +0 -1
- package/dist/functions/jsonHelpers.d.ts.map +1 -1
- package/dist/functions/jsonHelpers.lua +3 -3
- package/dist/functions/jsonRoom.d.ts +0 -1
- package/dist/functions/jsonRoom.d.ts.map +1 -1
- package/dist/functions/jsonRoom.lua +22 -16
- package/dist/functions/kColor.d.ts +0 -1
- package/dist/functions/kColor.d.ts.map +1 -1
- package/dist/functions/kColor.lua +21 -19
- package/dist/functions/language.d.ts +0 -1
- package/dist/functions/language.d.ts.map +1 -1
- package/dist/functions/language.lua +1 -1
- package/dist/functions/level.d.ts +0 -1
- package/dist/functions/level.d.ts.map +1 -1
- package/dist/functions/level.lua +5 -5
- package/dist/functions/levelGrid.d.ts +0 -1
- package/dist/functions/levelGrid.d.ts.map +1 -1
- package/dist/functions/levelGrid.lua +67 -67
- package/dist/functions/log.d.ts +0 -1
- package/dist/functions/log.d.ts.map +1 -1
- package/dist/functions/log.lua +240 -128
- package/dist/functions/logEntities.d.ts +0 -1
- package/dist/functions/logEntities.d.ts.map +1 -1
- package/dist/functions/logEntities.lua +32 -29
- package/dist/functions/map.d.ts +0 -1
- package/dist/functions/map.d.ts.map +1 -1
- package/dist/functions/map.lua +5 -5
- package/dist/functions/math.d.ts +0 -1
- package/dist/functions/math.d.ts.map +1 -1
- package/dist/functions/math.lua +14 -14
- package/dist/functions/mergeTests.d.ts +0 -1
- package/dist/functions/mergeTests.d.ts.map +1 -1
- package/dist/functions/mergeTests.lua +47 -47
- package/dist/functions/minimap.d.ts +0 -1
- package/dist/functions/minimap.d.ts.map +1 -1
- package/dist/functions/minimap.lua +12 -12
- package/dist/functions/nextStage.d.ts +0 -1
- package/dist/functions/nextStage.d.ts.map +1 -1
- package/dist/functions/nextStage.lua +39 -39
- package/dist/functions/npcs.d.ts +0 -1
- package/dist/functions/npcs.d.ts.map +1 -1
- package/dist/functions/npcs.lua +21 -15
- package/dist/functions/pickupVariants.d.ts +0 -1
- package/dist/functions/pickupVariants.d.ts.map +1 -1
- package/dist/functions/pickupVariants.lua +11 -11
- package/dist/functions/pickups.d.ts +0 -1
- package/dist/functions/pickups.d.ts.map +1 -1
- package/dist/functions/pickups.lua +9 -9
- package/dist/functions/pickupsSpecific.d.ts +0 -1
- package/dist/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/functions/pickupsSpecific.lua +76 -58
- package/dist/functions/pills.d.ts +0 -1
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/pills.lua +25 -22
- package/dist/functions/playerCenter.d.ts +0 -1
- package/dist/functions/playerCenter.d.ts.map +1 -1
- package/dist/functions/playerCenter.lua +6 -5
- package/dist/functions/playerDataStructures.d.ts +0 -1
- package/dist/functions/playerDataStructures.d.ts.map +1 -1
- package/dist/functions/playerDataStructures.lua +16 -16
- package/dist/functions/playerHealth.d.ts +0 -1
- package/dist/functions/playerHealth.d.ts.map +1 -1
- package/dist/functions/playerHealth.lua +54 -47
- package/dist/functions/playerIndex.d.ts +0 -1
- package/dist/functions/playerIndex.d.ts.map +1 -1
- package/dist/functions/playerIndex.lua +17 -17
- package/dist/functions/playerStats.d.ts +0 -1
- package/dist/functions/playerStats.d.ts.map +1 -1
- package/dist/functions/playerStats.lua +1 -1
- package/dist/functions/players.d.ts +0 -1
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +82 -81
- package/dist/functions/pocketItems.d.ts +0 -1
- package/dist/functions/pocketItems.d.ts.map +1 -1
- package/dist/functions/pocketItems.lua +12 -12
- package/dist/functions/positionVelocity.d.ts +0 -1
- package/dist/functions/positionVelocity.d.ts.map +1 -1
- package/dist/functions/positionVelocity.lua +15 -15
- package/dist/functions/pressurePlate.d.ts +0 -1
- package/dist/functions/pressurePlate.d.ts.map +1 -1
- package/dist/functions/pressurePlate.lua +2 -2
- package/dist/functions/projectiles.d.ts +0 -1
- package/dist/functions/projectiles.d.ts.map +1 -1
- package/dist/functions/projectiles.lua +19 -7
- package/dist/functions/random.d.ts +0 -1
- package/dist/functions/random.d.ts.map +1 -1
- package/dist/functions/random.lua +9 -9
- package/dist/functions/reorderedCallbacks.d.ts +0 -1
- package/dist/functions/reorderedCallbacks.d.ts.map +1 -1
- package/dist/functions/reorderedCallbacks.lua +6 -6
- package/dist/functions/revive.d.ts +0 -1
- package/dist/functions/revive.d.ts.map +1 -1
- package/dist/functions/revive.lua +16 -16
- package/dist/functions/rng.d.ts +0 -1
- package/dist/functions/rng.d.ts.map +1 -1
- package/dist/functions/rng.lua +27 -25
- package/dist/functions/rockAlt.d.ts +0 -1
- package/dist/functions/rockAlt.d.ts.map +1 -1
- package/dist/functions/rockAlt.lua +111 -74
- package/dist/functions/roomData.d.ts +0 -1
- package/dist/functions/roomData.d.ts.map +1 -1
- package/dist/functions/roomData.lua +30 -30
- package/dist/functions/roomGrid.d.ts +0 -1
- package/dist/functions/roomGrid.d.ts.map +1 -1
- package/dist/functions/roomGrid.lua +17 -17
- package/dist/functions/roomShape.d.ts +0 -1
- package/dist/functions/roomShape.d.ts.map +1 -1
- package/dist/functions/roomShape.lua +13 -13
- package/dist/functions/roomTransition.d.ts +0 -1
- package/dist/functions/roomTransition.d.ts.map +1 -1
- package/dist/functions/roomTransition.lua +19 -10
- package/dist/functions/rooms.d.ts +0 -1
- package/dist/functions/rooms.d.ts.map +1 -1
- package/dist/functions/rooms.lua +87 -87
- package/dist/functions/run.d.ts +0 -1
- package/dist/functions/run.d.ts.map +1 -1
- package/dist/functions/run.lua +17 -11
- package/dist/functions/saveFile.d.ts +0 -1
- package/dist/functions/saveFile.d.ts.map +1 -1
- package/dist/functions/saveFile.lua +3 -3
- package/dist/functions/seeds.d.ts +0 -1
- package/dist/functions/seeds.d.ts.map +1 -1
- package/dist/functions/seeds.lua +3 -3
- package/dist/functions/serialization.d.ts +0 -1
- package/dist/functions/serialization.d.ts.map +1 -1
- package/dist/functions/serialization.lua +11 -11
- package/dist/functions/set.d.ts +0 -1
- package/dist/functions/set.d.ts.map +1 -1
- package/dist/functions/set.lua +15 -15
- package/dist/functions/sound.d.ts +0 -1
- package/dist/functions/sound.d.ts.map +1 -1
- package/dist/functions/sound.lua +2 -2
- package/dist/functions/spawnCollectible.d.ts +0 -1
- package/dist/functions/spawnCollectible.d.ts.map +1 -1
- package/dist/functions/spawnCollectible.lua +11 -9
- package/dist/functions/sprites.d.ts +0 -1
- package/dist/functions/sprites.d.ts.map +1 -1
- package/dist/functions/sprites.lua +13 -7
- package/dist/functions/stage.d.ts +0 -1
- package/dist/functions/stage.d.ts.map +1 -1
- package/dist/functions/stage.lua +29 -26
- package/dist/functions/stats.d.ts +0 -1
- package/dist/functions/stats.d.ts.map +1 -1
- package/dist/functions/stats.lua +3 -3
- package/dist/functions/string.d.ts +0 -1
- package/dist/functions/string.d.ts.map +1 -1
- package/dist/functions/string.lua +7 -7
- package/dist/functions/table.d.ts +0 -1
- package/dist/functions/table.d.ts.map +1 -1
- package/dist/functions/table.lua +16 -16
- package/dist/functions/tears.d.ts +0 -1
- package/dist/functions/tears.d.ts.map +1 -1
- package/dist/functions/tears.lua +5 -5
- package/dist/functions/transformations.d.ts +0 -1
- package/dist/functions/transformations.d.ts.map +1 -1
- package/dist/functions/transformations.lua +14 -13
- package/dist/functions/trinketCacheFlag.d.ts +0 -1
- package/dist/functions/trinketCacheFlag.d.ts.map +1 -1
- package/dist/functions/trinketCacheFlag.lua +10 -10
- package/dist/functions/trinketGive.d.ts +0 -1
- package/dist/functions/trinketGive.d.ts.map +1 -1
- package/dist/functions/trinketGive.lua +14 -12
- package/dist/functions/trinketSet.d.ts +0 -1
- package/dist/functions/trinketSet.d.ts.map +1 -1
- package/dist/functions/trinketSet.lua +17 -17
- package/dist/functions/trinkets.d.ts +0 -1
- package/dist/functions/trinkets.d.ts.map +1 -1
- package/dist/functions/trinkets.lua +22 -22
- package/dist/functions/tstlClass.d.ts +0 -1
- package/dist/functions/tstlClass.d.ts.map +1 -1
- package/dist/functions/tstlClass.lua +19 -19
- package/dist/functions/types.d.ts +0 -1
- package/dist/functions/types.d.ts.map +1 -1
- package/dist/functions/types.lua +17 -17
- package/dist/functions/ui.d.ts +0 -1
- package/dist/functions/ui.d.ts.map +1 -1
- package/dist/functions/ui.lua +19 -19
- package/dist/functions/utils.d.ts +0 -1
- package/dist/functions/utils.d.ts.map +1 -1
- package/dist/functions/utils.lua +12 -12
- package/dist/functions/vector.d.ts +0 -1
- package/dist/functions/vector.d.ts.map +1 -1
- package/dist/functions/vector.lua +23 -21
- package/dist/index.d.ts +11909 -11988
- package/dist/index.d.ts.map +1 -1
- package/dist/initCustomCallbacks.d.ts +0 -1
- package/dist/initCustomCallbacks.d.ts.map +1 -1
- package/dist/initCustomCallbacks.lua +72 -72
- package/dist/initFeatures.d.ts +0 -1
- package/dist/initFeatures.d.ts.map +1 -1
- package/dist/initFeatures.lua +34 -34
- package/dist/interfaces/ChargeBarSprites.d.ts +0 -1
- package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -1
- package/dist/interfaces/Corner.d.ts +0 -1
- package/dist/interfaces/Corner.d.ts.map +1 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts +11 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts.map +1 -1
- package/dist/interfaces/GridEntityCustomData.d.ts +0 -1
- package/dist/interfaces/GridEntityCustomData.d.ts.map +1 -1
- package/dist/interfaces/JSONRoomsFile.d.ts +0 -1
- package/dist/interfaces/JSONRoomsFile.d.ts.map +1 -1
- package/dist/interfaces/PlayerHealth.d.ts +0 -1
- package/dist/interfaces/PlayerHealth.d.ts.map +1 -1
- package/dist/interfaces/PocketItemDescription.d.ts +0 -1
- package/dist/interfaces/PocketItemDescription.d.ts.map +1 -1
- package/dist/interfaces/RoomDescription.d.ts +0 -1
- package/dist/interfaces/RoomDescription.d.ts.map +1 -1
- package/dist/interfaces/SaveData.d.ts +0 -1
- package/dist/interfaces/SaveData.d.ts.map +1 -1
- package/dist/interfaces/SaveData.lua +10 -10
- package/dist/interfaces/StatTypeType.d.ts +0 -1
- package/dist/interfaces/StatTypeType.d.ts.map +1 -1
- package/dist/interfaces/TrinketSituation.d.ts +0 -1
- package/dist/interfaces/TrinketSituation.d.ts.map +1 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts +0 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts.map +1 -1
- package/dist/interfaces/private/CustomStage.d.ts +0 -1
- package/dist/interfaces/private/CustomStage.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts +0 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts +0 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts.map +1 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts +0 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts.map +1 -1
- package/dist/maps/PHDPillConversions.d.ts +0 -1
- package/dist/maps/PHDPillConversions.d.ts.map +1 -1
- package/dist/maps/cardMap.d.ts +0 -1
- package/dist/maps/cardMap.d.ts.map +1 -1
- package/dist/maps/characterMap.d.ts +0 -1
- package/dist/maps/characterMap.d.ts.map +1 -1
- package/dist/maps/collectibleDescriptionMap.d.ts +0 -1
- package/dist/maps/collectibleDescriptionMap.d.ts.map +1 -1
- package/dist/maps/collectibleNameMap.d.ts +0 -1
- package/dist/maps/collectibleNameMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.d.ts +0 -1
- package/dist/maps/defaultPlayerStatMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.lua +1 -1
- package/dist/maps/falsePHDPillConversions.d.ts +0 -1
- package/dist/maps/falsePHDPillConversions.d.ts.map +1 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +0 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts.map +1 -1
- package/dist/maps/gridEntityXMLMap.d.ts +0 -1
- package/dist/maps/gridEntityXMLMap.d.ts.map +1 -1
- package/dist/maps/keyboardToString.d.ts +0 -1
- package/dist/maps/keyboardToString.d.ts.map +1 -1
- package/dist/maps/pillEffectMap.d.ts +0 -1
- package/dist/maps/pillEffectMap.d.ts.map +1 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +0 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts.map +1 -1
- package/dist/maps/roomTypeMap.d.ts +0 -1
- package/dist/maps/roomTypeMap.d.ts.map +1 -1
- package/dist/maps/trinketDescriptionMap.d.ts +0 -1
- package/dist/maps/trinketDescriptionMap.d.ts.map +1 -1
- package/dist/maps/trinketNameMap.d.ts +0 -1
- package/dist/maps/trinketNameMap.d.ts.map +1 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts +0 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts.map +1 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts +0 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts.map +1 -1
- package/dist/objects/bossNamePNGFileNames.d.ts +0 -1
- package/dist/objects/bossNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts +0 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/callbackRegisterFunctions.d.ts +0 -1
- package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
- package/dist/objects/cardDescriptions.d.ts +0 -1
- package/dist/objects/cardDescriptions.d.ts.map +1 -1
- package/dist/objects/cardNames.d.ts +0 -1
- package/dist/objects/cardNames.d.ts.map +1 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts +0 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts.map +1 -1
- package/dist/objects/challengeNames.d.ts +0 -1
- package/dist/objects/challengeNames.d.ts.map +1 -1
- package/dist/objects/characterDamageMultipliers.d.ts +0 -1
- package/dist/objects/characterDamageMultipliers.d.ts.map +1 -1
- package/dist/objects/characterNames.d.ts +0 -1
- package/dist/objects/characterNames.d.ts.map +1 -1
- package/dist/objects/coinSubTypeToValue.d.ts +0 -1
- package/dist/objects/coinSubTypeToValue.d.ts.map +1 -1
- package/dist/objects/colors.d.ts +0 -1
- package/dist/objects/colors.d.ts.map +1 -1
- package/dist/objects/directionNames.d.ts +0 -1
- package/dist/objects/directionNames.d.ts.map +1 -1
- package/dist/objects/directionToDegrees.d.ts +0 -1
- package/dist/objects/directionToDegrees.d.ts.map +1 -1
- package/dist/objects/directionToVector.d.ts +0 -1
- package/dist/objects/directionToVector.d.ts.map +1 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts +0 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
- package/dist/objects/doorSlotToDirection.d.ts +0 -1
- package/dist/objects/doorSlotToDirection.d.ts.map +1 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts +0 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts +0 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts +0 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
- package/dist/objects/languageNames.d.ts +0 -1
- package/dist/objects/languageNames.d.ts.map +1 -1
- package/dist/objects/oppositeDoorSlots.d.ts +0 -1
- package/dist/objects/oppositeDoorSlots.d.ts.map +1 -1
- package/dist/objects/pillEffectClasses.d.ts +0 -1
- package/dist/objects/pillEffectClasses.d.ts.map +1 -1
- package/dist/objects/pillEffectNames.d.ts +0 -1
- package/dist/objects/pillEffectNames.d.ts.map +1 -1
- package/dist/objects/pillEffectTypes.d.ts +0 -1
- package/dist/objects/pillEffectTypes.d.ts.map +1 -1
- package/dist/objects/playerNamePNGFileNames.d.ts +0 -1
- package/dist/objects/playerNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts +0 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/roomShapeBounds.d.ts +0 -1
- package/dist/objects/roomShapeBounds.d.ts.map +1 -1
- package/dist/objects/roomShapeCorners.d.ts +0 -1
- package/dist/objects/roomShapeCorners.d.ts.map +1 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts +0 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts.map +1 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +0 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts.map +1 -1
- package/dist/objects/roomShapeToGridWidth.d.ts +0 -1
- package/dist/objects/roomShapeToGridWidth.d.ts.map +1 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +0 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeVolumes.d.ts +0 -1
- package/dist/objects/roomShapeVolumes.d.ts.map +1 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts +0 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts.map +1 -1
- package/dist/objects/roomTypeNames.d.ts +0 -1
- package/dist/objects/roomTypeNames.d.ts.map +1 -1
- package/dist/objects/stageTypeSuffixes.d.ts +0 -1
- package/dist/objects/stageTypeSuffixes.d.ts.map +1 -1
- package/dist/objects/stageTypeToLetter.d.ts +0 -1
- package/dist/objects/stageTypeToLetter.d.ts.map +1 -1
- package/dist/objects/transformationNames.d.ts +0 -1
- package/dist/objects/transformationNames.d.ts.map +1 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts +0 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts +0 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/patchErrorFunctions.d.ts +0 -1
- package/dist/patchErrorFunctions.d.ts.map +1 -1
- package/dist/patchErrorFunctions.lua +7 -7
- package/dist/sets/LRoomShapesSet.d.ts +0 -1
- package/dist/sets/LRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/bossSets.d.ts +0 -1
- package/dist/sets/bossSets.d.ts.map +1 -1
- package/dist/sets/bossSets.lua +4 -4
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +0 -1
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts.map +1 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +0 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts.map +1 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +0 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts +0 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +0 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts.map +1 -1
- package/dist/sets/chestPickupVariantsSet.d.ts +0 -1
- package/dist/sets/chestPickupVariantsSet.d.ts.map +1 -1
- package/dist/sets/consoleCommandsSet.d.ts +0 -1
- package/dist/sets/consoleCommandsSet.d.ts.map +1 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +0 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts.map +1 -1
- package/dist/sets/lostStyleCharactersSet.d.ts +0 -1
- package/dist/sets/lostStyleCharactersSet.d.ts.map +1 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts +0 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts.map +1 -1
- package/dist/sets/narrowRoomShapesSet.d.ts +0 -1
- package/dist/sets/narrowRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/redHeartSubTypesSet.d.ts +0 -1
- package/dist/sets/redHeartSubTypesSet.d.ts.map +1 -1
- package/dist/sets/sinEntityTypesSet.d.ts +0 -1
- package/dist/sets/sinEntityTypesSet.d.ts.map +1 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +0 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts.map +1 -1
- package/dist/sets/storyBossesSet.d.ts +0 -1
- package/dist/sets/storyBossesSet.d.ts.map +1 -1
- package/dist/shaderCrashFix.d.ts +0 -1
- package/dist/shaderCrashFix.d.ts.map +1 -1
- package/dist/shaderCrashFix.lua +2 -2
- package/dist/types/AnyEntity.d.ts +0 -1
- package/dist/types/AnyEntity.d.ts.map +1 -1
- package/dist/types/AnyGridEntity.d.ts +0 -1
- package/dist/types/AnyGridEntity.d.ts.map +1 -1
- package/dist/types/CollectibleIndex.d.ts +0 -1
- package/dist/types/CollectibleIndex.d.ts.map +1 -1
- package/dist/types/Immutable.d.ts +0 -1
- package/dist/types/Immutable.d.ts.map +1 -1
- package/dist/types/PickingUpItem.d.ts +0 -1
- package/dist/types/PickingUpItem.d.ts.map +1 -1
- package/dist/types/PickingUpItem.lua +5 -5
- package/dist/types/PickupIndex.d.ts +0 -1
- package/dist/types/PickupIndex.d.ts.map +1 -1
- package/dist/types/PlayerIndex.d.ts +0 -1
- package/dist/types/PlayerIndex.d.ts.map +1 -1
- package/dist/types/PossibleStatType.d.ts +0 -1
- package/dist/types/PossibleStatType.d.ts.map +1 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts +0 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts.map +1 -1
- package/dist/types/TSTLClass.d.ts +0 -1
- package/dist/types/TSTLClass.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/classes/ModUpgraded.ts +5 -1
- package/src/features/customPickup.ts +2 -3
|
@@ -44,8 +44,8 @@ local isNumber = ____types.isNumber
|
|
|
44
44
|
local ____utils = require("functions.utils")
|
|
45
45
|
local ____repeat = ____utils["repeat"]
|
|
46
46
|
--- Helper function to get an array containing the characters of all of the current players.
|
|
47
|
-
function ____exports.getCharacters()
|
|
48
|
-
local players = getPlayers()
|
|
47
|
+
function ____exports.getCharacters(self)
|
|
48
|
+
local players = getPlayers(nil)
|
|
49
49
|
return __TS__ArrayMap(
|
|
50
50
|
players,
|
|
51
51
|
function(____, player) return player:GetPlayerType() end
|
|
@@ -55,48 +55,48 @@ end
|
|
|
55
55
|
--
|
|
56
56
|
-- This function is variadic, meaning that you can supply as many characters as you want to check
|
|
57
57
|
-- for. Returns true if the player is any of the supplied characters.
|
|
58
|
-
function ____exports.isCharacter(player, ...)
|
|
58
|
+
function ____exports.isCharacter(self, player, ...)
|
|
59
59
|
local characters = {...}
|
|
60
60
|
local characterSet = __TS__New(Set, characters)
|
|
61
61
|
local character = player:GetPlayerType()
|
|
62
62
|
return characterSet:has(character)
|
|
63
63
|
end
|
|
64
|
-
function ____exports.isModdedPlayer(player)
|
|
65
|
-
return not ____exports.isVanillaPlayer(player)
|
|
64
|
+
function ____exports.isModdedPlayer(self, player)
|
|
65
|
+
return not ____exports.isVanillaPlayer(nil, player)
|
|
66
66
|
end
|
|
67
|
-
function isTaintedModded(player)
|
|
67
|
+
function isTaintedModded(self, player)
|
|
68
68
|
local character = player:GetPlayerType()
|
|
69
69
|
local name = player:GetName()
|
|
70
70
|
local taintedCharacter = Isaac.GetPlayerTypeByName(name, true)
|
|
71
71
|
return character == taintedCharacter
|
|
72
72
|
end
|
|
73
|
-
function ____exports.isVanillaPlayer(player)
|
|
73
|
+
function ____exports.isVanillaPlayer(self, player)
|
|
74
74
|
local character = player:GetPlayerType()
|
|
75
|
-
return isVanillaCharacter(character)
|
|
75
|
+
return isVanillaCharacter(nil, character)
|
|
76
76
|
end
|
|
77
|
-
function ____exports.addCollectibleCostume(player, collectibleType)
|
|
77
|
+
function ____exports.addCollectibleCostume(self, player, collectibleType)
|
|
78
78
|
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
79
79
|
if itemConfigItem == nil then
|
|
80
80
|
return
|
|
81
81
|
end
|
|
82
82
|
player:AddCostume(itemConfigItem, false)
|
|
83
83
|
end
|
|
84
|
-
function ____exports.addTrinketCostume(player, trinketType)
|
|
84
|
+
function ____exports.addTrinketCostume(self, player, trinketType)
|
|
85
85
|
local itemConfigTrinket = itemConfig:GetTrinket(trinketType)
|
|
86
86
|
if itemConfigTrinket == nil then
|
|
87
87
|
return
|
|
88
88
|
end
|
|
89
89
|
player:AddCostume(itemConfigTrinket, false)
|
|
90
90
|
end
|
|
91
|
-
function ____exports.anyPlayerHasCollectible(collectibleType)
|
|
92
|
-
local players = getAllPlayers()
|
|
91
|
+
function ____exports.anyPlayerHasCollectible(self, collectibleType)
|
|
92
|
+
local players = getAllPlayers(nil)
|
|
93
93
|
return __TS__ArraySome(
|
|
94
94
|
players,
|
|
95
95
|
function(____, player) return player:HasCollectible(collectibleType) end
|
|
96
96
|
)
|
|
97
97
|
end
|
|
98
|
-
function ____exports.anyPlayerHasTrinket(trinketType)
|
|
99
|
-
local players = getAllPlayers()
|
|
98
|
+
function ____exports.anyPlayerHasTrinket(self, trinketType)
|
|
99
|
+
local players = getAllPlayers(nil)
|
|
100
100
|
return __TS__ArraySome(
|
|
101
101
|
players,
|
|
102
102
|
function(____, player) return player:HasTrinket(trinketType) end
|
|
@@ -106,10 +106,10 @@ end
|
|
|
106
106
|
--
|
|
107
107
|
-- This function is variadic, meaning that you can supply as many characters as you want to check
|
|
108
108
|
-- for. Returns true if any of the characters supplied are present.
|
|
109
|
-
function ____exports.anyPlayerIs(...)
|
|
109
|
+
function ____exports.anyPlayerIs(self, ...)
|
|
110
110
|
local matchingCharacters = {...}
|
|
111
111
|
local matchingCharacterSet = __TS__New(Set, matchingCharacters)
|
|
112
|
-
local characters = ____exports.getCharacters()
|
|
112
|
+
local characters = ____exports.getCharacters(nil)
|
|
113
113
|
return __TS__ArraySome(
|
|
114
114
|
characters,
|
|
115
115
|
function(____, character) return matchingCharacterSet:has(character) end
|
|
@@ -122,14 +122,14 @@ end
|
|
|
122
122
|
-- - the player has Thunder Thighs (collectible 314)
|
|
123
123
|
-- - the player is under the effects of Mega Mush (collectible 625)
|
|
124
124
|
-- - the player has Stompy (transformation 13)
|
|
125
|
-
function ____exports.canPlayerCrushRocks(player)
|
|
125
|
+
function ____exports.canPlayerCrushRocks(self, player)
|
|
126
126
|
local effects = player:GetEffects()
|
|
127
127
|
return player:HasCollectible(CollectibleType.LEO) or player:HasCollectible(CollectibleType.THUNDER_THIGHS) or effects:HasCollectibleEffect(CollectibleType.MEGA_MUSH) or player:HasPlayerForm(PlayerForm.STOMPY)
|
|
128
128
|
end
|
|
129
129
|
--- Helper function to find the active slot that the player has the corresponding collectible type
|
|
130
130
|
-- in. Returns undefined if the player does not have the collectible in any active slot.
|
|
131
|
-
function ____exports.getActiveItemSlot(player, collectibleType)
|
|
132
|
-
local activeSlots = getEnumValues(ActiveSlot)
|
|
131
|
+
function ____exports.getActiveItemSlot(self, player, collectibleType)
|
|
132
|
+
local activeSlots = getEnumValues(nil, ActiveSlot)
|
|
133
133
|
return __TS__ArrayFind(
|
|
134
134
|
activeSlots,
|
|
135
135
|
function(____, activeSlot)
|
|
@@ -142,14 +142,14 @@ end
|
|
|
142
142
|
-- `EntityPlayer` object or a tear height stat.
|
|
143
143
|
--
|
|
144
144
|
-- The formula for calculating it is: 32 - 2.5 * tearHeight
|
|
145
|
-
function ____exports.getAzazelBrimstoneDistance(playerOrTearHeight)
|
|
146
|
-
local tearHeight = isNumber(playerOrTearHeight) and playerOrTearHeight or playerOrTearHeight.TearHeight
|
|
145
|
+
function ____exports.getAzazelBrimstoneDistance(self, playerOrTearHeight)
|
|
146
|
+
local tearHeight = isNumber(nil, playerOrTearHeight) and playerOrTearHeight or playerOrTearHeight.TearHeight
|
|
147
147
|
return 32 - 2.5 * tearHeight
|
|
148
148
|
end
|
|
149
|
-
function ____exports.getClosestPlayer(position)
|
|
149
|
+
function ____exports.getClosestPlayer(self, position)
|
|
150
150
|
local closestPlayer
|
|
151
151
|
local closestDistance = math.huge
|
|
152
|
-
for ____, player in ipairs(getPlayers()) do
|
|
152
|
+
for ____, player in ipairs(getPlayers(nil)) do
|
|
153
153
|
local distance = position:Distance(player.Position)
|
|
154
154
|
if distance < closestDistance then
|
|
155
155
|
closestPlayer = player
|
|
@@ -163,7 +163,7 @@ function ____exports.getClosestPlayer(position)
|
|
|
163
163
|
end
|
|
164
164
|
--- Helper function to get an array of temporary effects for a player. This is helpful so that you
|
|
165
165
|
-- don't have to manually create an array from an `EffectsList` object.
|
|
166
|
-
function ____exports.getEffectsList(player)
|
|
166
|
+
function ____exports.getEffectsList(self, player)
|
|
167
167
|
local effects = player:GetEffects()
|
|
168
168
|
local effectsList = effects:GetEffectsList()
|
|
169
169
|
local effectArray = {}
|
|
@@ -181,9 +181,9 @@ function ____exports.getEffectsList(player)
|
|
|
181
181
|
end
|
|
182
182
|
--- Helper function to return the player with the highest ID, according to the `Isaac.GetPlayer`
|
|
183
183
|
-- method.
|
|
184
|
-
function ____exports.getFinalPlayer()
|
|
185
|
-
local players = getPlayers()
|
|
186
|
-
local lastPlayer = getLastElement(players)
|
|
184
|
+
function ____exports.getFinalPlayer(self)
|
|
185
|
+
local players = getPlayers(nil)
|
|
186
|
+
local lastPlayer = getLastElement(nil, players)
|
|
187
187
|
if lastPlayer == nil then
|
|
188
188
|
error("Failed to get the final player since there were 0 players.")
|
|
189
189
|
end
|
|
@@ -192,10 +192,10 @@ end
|
|
|
192
192
|
--- Helper function to get the first player with the lowest frame count. Useful to find a freshly
|
|
193
193
|
-- spawned player after using items like Esau Jr. Don't use this function if two or more players
|
|
194
194
|
-- will be spawned on the same frame.
|
|
195
|
-
function ____exports.getNewestPlayer()
|
|
195
|
+
function ____exports.getNewestPlayer(self)
|
|
196
196
|
local newestPlayer = nil
|
|
197
197
|
local lowestFrame = math.huge
|
|
198
|
-
for ____, player in ipairs(getPlayers()) do
|
|
198
|
+
for ____, player in ipairs(getPlayers(nil)) do
|
|
199
199
|
if player.FrameCount < lowestFrame then
|
|
200
200
|
newestPlayer = player
|
|
201
201
|
lowestFrame = player.FrameCount
|
|
@@ -209,8 +209,8 @@ end
|
|
|
209
209
|
--- Iterates over all players and checks if any are close enough to the specified position.
|
|
210
210
|
--
|
|
211
211
|
-- @returns The first player found when iterating upwards from index 0.
|
|
212
|
-
function ____exports.getPlayerCloserThan(position, distance)
|
|
213
|
-
local players = getPlayers()
|
|
212
|
+
function ____exports.getPlayerCloserThan(self, position, distance)
|
|
213
|
+
local players = getPlayers(nil)
|
|
214
214
|
return __TS__ArrayFind(
|
|
215
215
|
players,
|
|
216
216
|
function(____, player) return player.Position:Distance(position) <= distance end
|
|
@@ -222,7 +222,7 @@ end
|
|
|
222
222
|
-- This function is variadic, meaning that you can specify N collectible types.
|
|
223
223
|
--
|
|
224
224
|
-- Note that this will filter out non-real collectibles like Lilith's Incubus.
|
|
225
|
-
function ____exports.getPlayerCollectibleCount(player, ...)
|
|
225
|
+
function ____exports.getPlayerCollectibleCount(self, player, ...)
|
|
226
226
|
local collectibleTypes = {...}
|
|
227
227
|
local numCollectibles = 0
|
|
228
228
|
for ____, collectibleType in ipairs(collectibleTypes) do
|
|
@@ -234,8 +234,8 @@ end
|
|
|
234
234
|
-- the player has.
|
|
235
235
|
--
|
|
236
236
|
-- Note that this will filter out non-real collectibles like Lilith's Incubus.
|
|
237
|
-
function ____exports.getPlayerCollectibleMap(player)
|
|
238
|
-
local collectibleArray = getCollectibleArray()
|
|
237
|
+
function ____exports.getPlayerCollectibleMap(self, player)
|
|
238
|
+
local collectibleArray = getCollectibleArray(nil)
|
|
239
239
|
local collectibleMap = __TS__New(Map)
|
|
240
240
|
for ____, collectibleType in ipairs(collectibleArray) do
|
|
241
241
|
local collectibleNum = player:GetCollectibleNum(collectibleType, true)
|
|
@@ -246,7 +246,7 @@ function ____exports.getPlayerCollectibleMap(player)
|
|
|
246
246
|
return collectibleMap
|
|
247
247
|
end
|
|
248
248
|
--- Helper function to get the player from a tear, laser, bomb, etc.
|
|
249
|
-
function ____exports.getPlayerFromTear(entity)
|
|
249
|
+
function ____exports.getPlayerFromTear(self, entity)
|
|
250
250
|
if entity.Parent ~= nil then
|
|
251
251
|
local player = entity.Parent:ToPlayer()
|
|
252
252
|
if player ~= nil then
|
|
@@ -272,9 +272,9 @@ end
|
|
|
272
272
|
--- Helper function to get the proper name of the player. Use this instead of the
|
|
273
273
|
-- `EntityPlayer.GetName` method because it accounts for Blue Baby, Lazarus II, and Tainted
|
|
274
274
|
-- characters.
|
|
275
|
-
function ____exports.getPlayerName(player)
|
|
275
|
+
function ____exports.getPlayerName(self, player)
|
|
276
276
|
local character = player:GetPlayerType()
|
|
277
|
-
return ____exports.isModdedPlayer(player) and player:GetName() or getCharacterName(character)
|
|
277
|
+
return ____exports.isModdedPlayer(nil, player) and player:GetName() or getCharacterName(nil, character)
|
|
278
278
|
end
|
|
279
279
|
--- Returns the combined value of all of the player's red hearts, soul/black hearts, and bone hearts,
|
|
280
280
|
-- minus the value of the player's rotten hearts.
|
|
@@ -283,7 +283,7 @@ end
|
|
|
283
283
|
-- into account double damage from champion enemies and/or being on later floors. (For example, on
|
|
284
284
|
-- Womb 1, players who have 1 soul heart remaining would die in 1 hit to anything, even though this
|
|
285
285
|
-- function would report that they have 2 hits remaining.)
|
|
286
|
-
function ____exports.getPlayerNumHitsRemaining(player)
|
|
286
|
+
function ____exports.getPlayerNumHitsRemaining(self, player)
|
|
287
287
|
local hearts = player:GetHearts()
|
|
288
288
|
local soulHearts = player:GetSoulHearts()
|
|
289
289
|
local boneHearts = player:GetBoneHearts()
|
|
@@ -295,10 +295,10 @@ end
|
|
|
295
295
|
--
|
|
296
296
|
-- This function is variadic, meaning that you can supply as many characters as you want to check
|
|
297
297
|
-- for. Returns true if any of the characters supplied are present.
|
|
298
|
-
function ____exports.getPlayersOfType(...)
|
|
298
|
+
function ____exports.getPlayersOfType(self, ...)
|
|
299
299
|
local characters = {...}
|
|
300
300
|
local charactersSet = __TS__New(Set, characters)
|
|
301
|
-
local players = getPlayers()
|
|
301
|
+
local players = getPlayers(nil)
|
|
302
302
|
return __TS__ArrayFilter(
|
|
303
303
|
players,
|
|
304
304
|
function(____, player)
|
|
@@ -313,8 +313,8 @@ end
|
|
|
313
313
|
--
|
|
314
314
|
-- Note that this function includes players with a non-undefined parent like e.g. the Strawman
|
|
315
315
|
-- Keeper.
|
|
316
|
-
function ____exports.getPlayersOnKeyboard()
|
|
317
|
-
local players = getAllPlayers()
|
|
316
|
+
function ____exports.getPlayersOnKeyboard(self)
|
|
317
|
+
local players = getAllPlayers(nil)
|
|
318
318
|
return __TS__ArrayFilter(
|
|
319
319
|
players,
|
|
320
320
|
function(____, player) return player.ControllerIndex == ControllerIndex.KEYBOARD end
|
|
@@ -324,9 +324,9 @@ end
|
|
|
324
324
|
--
|
|
325
325
|
-- This function is variadic, meaning that you can supply as many collectible types as you want to
|
|
326
326
|
-- check for. It only returns the players that have all of the collectibles.
|
|
327
|
-
function ____exports.getPlayersWithCollectible(...)
|
|
327
|
+
function ____exports.getPlayersWithCollectible(self, ...)
|
|
328
328
|
local collectibleTypes = {...}
|
|
329
|
-
local players = getPlayers()
|
|
329
|
+
local players = getPlayers(nil)
|
|
330
330
|
return __TS__ArrayFilter(
|
|
331
331
|
players,
|
|
332
332
|
function(____, player) return __TS__ArrayEvery(
|
|
@@ -341,8 +341,8 @@ end
|
|
|
341
341
|
--
|
|
342
342
|
-- Note that this function includes players with a non-undefined parent like e.g. the Strawman
|
|
343
343
|
-- Keeper.
|
|
344
|
-
function ____exports.getPlayersWithControllerIndex(controllerIndex)
|
|
345
|
-
local players = getAllPlayers()
|
|
344
|
+
function ____exports.getPlayersWithControllerIndex(self, controllerIndex)
|
|
345
|
+
local players = getAllPlayers(nil)
|
|
346
346
|
return __TS__ArrayFilter(
|
|
347
347
|
players,
|
|
348
348
|
function(____, player) return player.ControllerIndex == controllerIndex end
|
|
@@ -352,9 +352,9 @@ end
|
|
|
352
352
|
--
|
|
353
353
|
-- This function is variadic, meaning that you can supply as many trinket types as you want to check
|
|
354
354
|
-- for. It only returns the players that have all of the trinkets.
|
|
355
|
-
function ____exports.getPlayersWithTrinket(...)
|
|
355
|
+
function ____exports.getPlayersWithTrinket(self, ...)
|
|
356
356
|
local trinketTypes = {...}
|
|
357
|
-
local players = getPlayers()
|
|
357
|
+
local players = getPlayers(nil)
|
|
358
358
|
return __TS__ArrayFilter(
|
|
359
359
|
players,
|
|
360
360
|
function(____, player) return __TS__ArrayEvery(
|
|
@@ -367,16 +367,16 @@ end
|
|
|
367
367
|
-- Onion and player 2 has 2 Sad Onions, then this function would return 3.
|
|
368
368
|
--
|
|
369
369
|
-- Note that this will filter out non-real collectibles like Lilith's Incubus.
|
|
370
|
-
function ____exports.getTotalPlayerCollectibles(collectibleType)
|
|
371
|
-
local players = getPlayers()
|
|
370
|
+
function ____exports.getTotalPlayerCollectibles(self, collectibleType)
|
|
371
|
+
local players = getPlayers(nil)
|
|
372
372
|
local numCollectiblesArray = __TS__ArrayMap(
|
|
373
373
|
players,
|
|
374
374
|
function(____, player) return player:GetCollectibleNum(collectibleType, true) end
|
|
375
375
|
)
|
|
376
|
-
return sumArray(numCollectiblesArray)
|
|
376
|
+
return sumArray(nil, numCollectiblesArray)
|
|
377
377
|
end
|
|
378
378
|
--- After touching a white fire, a player will turn into The Lost until they clear a room.
|
|
379
|
-
function ____exports.hasLostCurse(player)
|
|
379
|
+
function ____exports.hasLostCurse(self, player)
|
|
380
380
|
local effects = player:GetEffects()
|
|
381
381
|
return effects:HasNullEffect(NullItemID.LOST_CURSE)
|
|
382
382
|
end
|
|
@@ -385,8 +385,8 @@ end
|
|
|
385
385
|
--
|
|
386
386
|
-- If the player is the Tainted Soul, this always returns false, since that character cannot pick up
|
|
387
387
|
-- items. (Only Tainted Forgotten can pick up items.)
|
|
388
|
-
function ____exports.hasOpenActiveItemSlot(player)
|
|
389
|
-
if ____exports.isCharacter(player, PlayerType.THE_SOUL_B) then
|
|
388
|
+
function ____exports.hasOpenActiveItemSlot(self, player)
|
|
389
|
+
if ____exports.isCharacter(nil, player, PlayerType.THE_SOUL_B) then
|
|
390
390
|
return false
|
|
391
391
|
end
|
|
392
392
|
local activeItemPrimary = player:GetActiveItem(ActiveSlot.PRIMARY)
|
|
@@ -397,66 +397,66 @@ function ____exports.hasOpenActiveItemSlot(player)
|
|
|
397
397
|
end
|
|
398
398
|
return activeItemPrimary == CollectibleType.NULL
|
|
399
399
|
end
|
|
400
|
-
function ____exports.isActiveSlotEmpty(player, activeSlot)
|
|
400
|
+
function ____exports.isActiveSlotEmpty(self, player, activeSlot)
|
|
401
401
|
local activeCollectibleType = player:GetActiveItem(activeSlot)
|
|
402
402
|
return activeCollectibleType == CollectibleType.NULL
|
|
403
403
|
end
|
|
404
404
|
--- Helper function for detecting when a player is Bethany or Tainted Bethany. This is useful if you
|
|
405
405
|
-- need to adjust UI elements to account for Bethany's soul charges or Tainted Bethany's blood
|
|
406
406
|
-- charges.
|
|
407
|
-
function ____exports.isBethany(player)
|
|
407
|
+
function ____exports.isBethany(self, player)
|
|
408
408
|
local character = player:GetPlayerType()
|
|
409
409
|
return character == PlayerType.BETHANY or character == PlayerType.BETHANY_B
|
|
410
410
|
end
|
|
411
411
|
--- Helper function to see if a damage source is from a player. Use this instead of comparing to the
|
|
412
412
|
-- entity directly because it takes familiars into account.
|
|
413
|
-
function ____exports.isDamageFromPlayer(damageSource)
|
|
413
|
+
function ____exports.isDamageFromPlayer(self, damageSource)
|
|
414
414
|
local player = damageSource:ToPlayer()
|
|
415
415
|
if player ~= nil then
|
|
416
416
|
return true
|
|
417
417
|
end
|
|
418
|
-
local indirectPlayer = ____exports.getPlayerFromTear(damageSource)
|
|
418
|
+
local indirectPlayer = ____exports.getPlayerFromTear(nil, damageSource)
|
|
419
419
|
return indirectPlayer ~= nil
|
|
420
420
|
end
|
|
421
421
|
--- Helper function for detecting when a player is Eden or Tainted Eden. Useful for situations where
|
|
422
422
|
-- you want to know if the starting stats were randomized, for example.
|
|
423
|
-
function ____exports.isEden(player)
|
|
423
|
+
function ____exports.isEden(self, player)
|
|
424
424
|
local character = player:GetPlayerType()
|
|
425
425
|
return character == PlayerType.EDEN or character == PlayerType.EDEN_B
|
|
426
426
|
end
|
|
427
|
-
function ____exports.isFirstPlayer(player)
|
|
428
|
-
return getPlayerIndexVanilla(player) == 0
|
|
427
|
+
function ____exports.isFirstPlayer(self, player)
|
|
428
|
+
return getPlayerIndexVanilla(nil, player) == 0
|
|
429
429
|
end
|
|
430
430
|
--- Helper function for detecting when a player is Jacob or Esau. This will only match the
|
|
431
431
|
-- non-tainted versions of these characters.
|
|
432
|
-
function ____exports.isJacobOrEsau(player)
|
|
432
|
+
function ____exports.isJacobOrEsau(self, player)
|
|
433
433
|
local character = player:GetPlayerType()
|
|
434
434
|
return character == PlayerType.JACOB or character == PlayerType.ESAU
|
|
435
435
|
end
|
|
436
436
|
--- Helper function for detecting when a player is Keeper or Tainted Keeper. Useful for situations
|
|
437
437
|
-- where you want to know if the health is coin hearts, for example.
|
|
438
|
-
function ____exports.isKeeper(player)
|
|
438
|
+
function ____exports.isKeeper(self, player)
|
|
439
439
|
local character = player:GetPlayerType()
|
|
440
440
|
return character == PlayerType.KEEPER or character == PlayerType.KEEPER_B
|
|
441
441
|
end
|
|
442
442
|
--- Helper function for detecting when a player is The Lost or Tainted Lost.
|
|
443
|
-
function ____exports.isLost(player)
|
|
443
|
+
function ____exports.isLost(self, player)
|
|
444
444
|
local character = player:GetPlayerType()
|
|
445
445
|
return character == PlayerType.THE_LOST or character == PlayerType.THE_LOST_B
|
|
446
446
|
end
|
|
447
447
|
--- Helper function for detecting if a player is one of the Tainted characters.
|
|
448
|
-
function ____exports.isTainted(player)
|
|
448
|
+
function ____exports.isTainted(self, player)
|
|
449
449
|
local character = player:GetPlayerType()
|
|
450
450
|
local ____isVanillaPlayer_result_0
|
|
451
|
-
if ____exports.isVanillaPlayer(player) then
|
|
451
|
+
if ____exports.isVanillaPlayer(nil, player) then
|
|
452
452
|
____isVanillaPlayer_result_0 = character >= PlayerType.ISAAC_B
|
|
453
453
|
else
|
|
454
|
-
____isVanillaPlayer_result_0 = isTaintedModded(player)
|
|
454
|
+
____isVanillaPlayer_result_0 = isTaintedModded(nil, player)
|
|
455
455
|
end
|
|
456
456
|
return ____isVanillaPlayer_result_0
|
|
457
457
|
end
|
|
458
458
|
--- Helper function for detecting when a player is Tainted Lazarus or Dead Tainted Lazarus.
|
|
459
|
-
function ____exports.isTaintedLazarus(player)
|
|
459
|
+
function ____exports.isTaintedLazarus(self, player)
|
|
460
460
|
local character = player:GetPlayerType()
|
|
461
461
|
return character == PlayerType.LAZARUS_B or character == PlayerType.LAZARUS_2_B
|
|
462
462
|
end
|
|
@@ -464,7 +464,7 @@ end
|
|
|
464
464
|
--
|
|
465
465
|
-- This function is variadic, meaning that you can supply as many collectible types as you want to
|
|
466
466
|
-- add.
|
|
467
|
-
function ____exports.playerAddCollectible(player, ...)
|
|
467
|
+
function ____exports.playerAddCollectible(self, player, ...)
|
|
468
468
|
local collectibleTypes = {...}
|
|
469
469
|
for ____, collectibleType in ipairs(collectibleTypes) do
|
|
470
470
|
player:AddCollectible(collectibleType)
|
|
@@ -474,7 +474,7 @@ end
|
|
|
474
474
|
--
|
|
475
475
|
-- This function is variadic, meaning that you can supply as many collectible types as you want to
|
|
476
476
|
-- check for. Returns true if the player has any of the supplied collectible types.
|
|
477
|
-
function ____exports.playerHasCollectible(player, ...)
|
|
477
|
+
function ____exports.playerHasCollectible(self, player, ...)
|
|
478
478
|
local collectibleTypes = {...}
|
|
479
479
|
return __TS__ArraySome(
|
|
480
480
|
collectibleTypes,
|
|
@@ -483,8 +483,8 @@ function ____exports.playerHasCollectible(player, ...)
|
|
|
483
483
|
end
|
|
484
484
|
--- Helper function to remove all of the active items from a player. This includes the Schoolbag item
|
|
485
485
|
-- and any pocket actives.
|
|
486
|
-
function ____exports.removeAllActiveItems(player)
|
|
487
|
-
for ____, activeSlot in ipairs(getEnumValues(ActiveSlot)) do
|
|
486
|
+
function ____exports.removeAllActiveItems(self, player)
|
|
487
|
+
for ____, activeSlot in ipairs(getEnumValues(nil, ActiveSlot)) do
|
|
488
488
|
do
|
|
489
489
|
local collectibleType = player:GetActiveItem(activeSlot)
|
|
490
490
|
if collectibleType == CollectibleType.NULL then
|
|
@@ -505,8 +505,8 @@ end
|
|
|
505
505
|
--
|
|
506
506
|
-- This will not remove any smelted trinkets, unless the player happens to be holding a trinket that
|
|
507
507
|
-- they also have smelted. (In that case, both the held and the smelted trinket will be removed.)
|
|
508
|
-
function ____exports.removeAllPlayerTrinkets(player)
|
|
509
|
-
for ____, trinketSlot in ipairs(getEnumValues(TrinketSlot)) do
|
|
508
|
+
function ____exports.removeAllPlayerTrinkets(self, player)
|
|
509
|
+
for ____, trinketSlot in ipairs(getEnumValues(nil, TrinketSlot)) do
|
|
510
510
|
do
|
|
511
511
|
local trinketType = player:GetTrinket(trinketSlot)
|
|
512
512
|
if trinketType == TrinketType.NULL then
|
|
@@ -525,7 +525,7 @@ function ____exports.removeAllPlayerTrinkets(player)
|
|
|
525
525
|
end
|
|
526
526
|
--- Helper function to remove a collectible costume from a player. Use this helper function to avoid
|
|
527
527
|
-- having to request the collectible from the item config.
|
|
528
|
-
function ____exports.removeCollectibleCostume(player, collectibleType)
|
|
528
|
+
function ____exports.removeCollectibleCostume(self, player, collectibleType)
|
|
529
529
|
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
530
530
|
if itemConfigItem == nil then
|
|
531
531
|
return
|
|
@@ -536,8 +536,9 @@ end
|
|
|
536
536
|
--
|
|
537
537
|
-- Note that each time the `EntityPlayer.ClearDeadEyeCharge` method is called, it only has a chance
|
|
538
538
|
-- of working, so this function calls it 100 times to be safe.
|
|
539
|
-
function ____exports.removeDeadEyeMultiplier(player)
|
|
539
|
+
function ____exports.removeDeadEyeMultiplier(self, player)
|
|
540
540
|
____repeat(
|
|
541
|
+
nil,
|
|
541
542
|
100,
|
|
542
543
|
function()
|
|
543
544
|
player:ClearDeadEyeCharge()
|
|
@@ -546,7 +547,7 @@ function ____exports.removeDeadEyeMultiplier(player)
|
|
|
546
547
|
end
|
|
547
548
|
--- Helper function to remove a trinket costume from a player. Use this helper function to avoid
|
|
548
549
|
-- having to request the trinket from the item config.
|
|
549
|
-
function ____exports.removeTrinketCostume(player, trinketType)
|
|
550
|
+
function ____exports.removeTrinketCostume(self, player, trinketType)
|
|
550
551
|
local itemConfigTrinket = itemConfig:GetTrinket(trinketType)
|
|
551
552
|
if itemConfigTrinket == nil then
|
|
552
553
|
return
|
|
@@ -567,7 +568,7 @@ end
|
|
|
567
568
|
-- @param charge Optional. The argument of charges to set. If not specified, the item will be set
|
|
568
569
|
-- with maximum charges.
|
|
569
570
|
-- @param keepInPools Optional. Whether or not to remove the item from pools. Default is false.
|
|
570
|
-
function ____exports.setActiveItem(player, collectibleType, activeSlot, charge, keepInPools)
|
|
571
|
+
function ____exports.setActiveItem(self, player, collectibleType, activeSlot, charge, keepInPools)
|
|
571
572
|
if keepInPools == nil then
|
|
572
573
|
keepInPools = false
|
|
573
574
|
end
|
|
@@ -576,7 +577,7 @@ function ____exports.setActiveItem(player, collectibleType, activeSlot, charge,
|
|
|
576
577
|
local primaryCharge = player:GetActiveCharge(ActiveSlot.PRIMARY)
|
|
577
578
|
local secondaryCollectibleType = player:GetActiveItem(ActiveSlot.SECONDARY)
|
|
578
579
|
if charge == nil then
|
|
579
|
-
charge = getCollectibleMaxCharges(collectibleType)
|
|
580
|
+
charge = getCollectibleMaxCharges(nil, collectibleType)
|
|
580
581
|
end
|
|
581
582
|
if not keepInPools then
|
|
582
583
|
itemPool:RemoveCollectible(collectibleType)
|
|
@@ -633,7 +634,7 @@ end
|
|
|
633
634
|
-- @param player The player to apply or remove the blindfold state from.
|
|
634
635
|
-- @param enabled Whether or not to apply or remove the blindfold.
|
|
635
636
|
-- @param modifyCostume Optional. Whether to add or remove the blindfold costume. Default is true.
|
|
636
|
-
function ____exports.setBlindfold(player, enabled, modifyCostume)
|
|
637
|
+
function ____exports.setBlindfold(self, player, enabled, modifyCostume)
|
|
637
638
|
if modifyCostume == nil then
|
|
638
639
|
modifyCostume = true
|
|
639
640
|
end
|
|
@@ -657,7 +658,7 @@ function ____exports.setBlindfold(player, enabled, modifyCostume)
|
|
|
657
658
|
end
|
|
658
659
|
--- Helper function to use an active item without showing an animation, keeping the item, or adding
|
|
659
660
|
-- any costumes.
|
|
660
|
-
function ____exports.useActiveItemTemp(player, collectibleType)
|
|
661
|
+
function ____exports.useActiveItemTemp(self, player, collectibleType)
|
|
661
662
|
player:UseActiveItem(
|
|
662
663
|
collectibleType,
|
|
663
664
|
false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pocketItems.d.ts","sourceRoot":"","sources":["../../src/functions/pocketItems.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pocketItems.d.ts","sourceRoot":"","sources":["../../src/functions/pocketItems.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,cAAc,EACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAK5E;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,YAAY,GACnB,cAAc,GAAG,SAAS,CAS5B;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,YAAY,GACnB,qBAAqB,GAAG,SAAS,CAOnC;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,qBAAqB,EAAE,CA+D5E;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CASnE;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAQzE"}
|
|
@@ -25,13 +25,13 @@ local asNumber = ____types.asNumber
|
|
|
25
25
|
-- time, there is no way to determine the location of the pocket active item. If this function
|
|
26
26
|
-- cannot determine the identity of a particular slot, it will mark the type of the slot as
|
|
27
27
|
-- `PocketItemType.UNDETERMINABLE`.
|
|
28
|
-
function ____exports.getPocketItems(player)
|
|
28
|
+
function ____exports.getPocketItems(self, player)
|
|
29
29
|
local pocketItem = player:GetActiveItem(ActiveSlot.POCKET)
|
|
30
30
|
local hasPocketItem = pocketItem ~= CollectibleType.NULL
|
|
31
31
|
local pocketItem2 = player:GetActiveItem(ActiveSlot.POCKET_SINGLE_USE)
|
|
32
32
|
local hasPocketItem2 = pocketItem2 ~= CollectibleType.NULL
|
|
33
33
|
local maxPocketItems = player:GetMaxPocketItems()
|
|
34
|
-
local pocketItemSlots = getEnumValues(PocketItemSlot)
|
|
34
|
+
local pocketItemSlots = getEnumValues(nil, PocketItemSlot)
|
|
35
35
|
local pocketItems = {}
|
|
36
36
|
local pocketItemIdentified = false
|
|
37
37
|
local pocketItem2Identified = false
|
|
@@ -53,7 +53,7 @@ function ____exports.getPocketItems(player)
|
|
|
53
53
|
else
|
|
54
54
|
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.EMPTY, subType = 0}
|
|
55
55
|
end
|
|
56
|
-
if asNumber(slot) + 1 == maxPocketItems then
|
|
56
|
+
if asNumber(nil, slot) + 1 == maxPocketItems then
|
|
57
57
|
break
|
|
58
58
|
end
|
|
59
59
|
end
|
|
@@ -61,8 +61,8 @@ function ____exports.getPocketItems(player)
|
|
|
61
61
|
end
|
|
62
62
|
--- Helper function to get the `PocketItemSlot` that the player's pocket active collectible item is
|
|
63
63
|
-- in, if any. Returns undefined if the player does not have a pocket active item.
|
|
64
|
-
function ____exports.getActivePocketItemSlot(player)
|
|
65
|
-
local pocketItems = ____exports.getPocketItems(player)
|
|
64
|
+
function ____exports.getActivePocketItemSlot(self, player)
|
|
65
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
66
66
|
for ____, pocketItem in ipairs(pocketItems) do
|
|
67
67
|
if pocketItem.type == PocketItemType.ACTIVE_ITEM then
|
|
68
68
|
return pocketItem.slot
|
|
@@ -70,8 +70,8 @@ function ____exports.getActivePocketItemSlot(player)
|
|
|
70
70
|
end
|
|
71
71
|
return nil
|
|
72
72
|
end
|
|
73
|
-
function ____exports.getFirstCardOrPill(player)
|
|
74
|
-
local pocketItems = ____exports.getPocketItems(player)
|
|
73
|
+
function ____exports.getFirstCardOrPill(self, player)
|
|
74
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
75
75
|
return __TS__ArrayFind(
|
|
76
76
|
pocketItems,
|
|
77
77
|
function(____, pocketItem) return pocketItem.type == PocketItemType.CARD or pocketItem.type == PocketItemType.PILL end
|
|
@@ -83,11 +83,11 @@ end
|
|
|
83
83
|
--
|
|
84
84
|
-- If the player is the Tainted Soul, this always returns false, since that character cannot pick up
|
|
85
85
|
-- items. (Only Tainted Forgotten can pick up items.)
|
|
86
|
-
function ____exports.hasOpenPocketItemSlot(player)
|
|
87
|
-
if isCharacter(player, PlayerType.THE_SOUL_B) then
|
|
86
|
+
function ____exports.hasOpenPocketItemSlot(self, player)
|
|
87
|
+
if isCharacter(nil, player, PlayerType.THE_SOUL_B) then
|
|
88
88
|
return false
|
|
89
89
|
end
|
|
90
|
-
local pocketItems = ____exports.getPocketItems(player)
|
|
90
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
91
91
|
return __TS__ArraySome(
|
|
92
92
|
pocketItems,
|
|
93
93
|
function(____, pocketItem) return pocketItem.type == PocketItemType.EMPTY end
|
|
@@ -95,8 +95,8 @@ function ____exports.hasOpenPocketItemSlot(player)
|
|
|
95
95
|
end
|
|
96
96
|
--- Helper function to determine whether or not the player's "active" pocket item slot is set to
|
|
97
97
|
-- their pocket active item.
|
|
98
|
-
function ____exports.isFirstSlotPocketActiveItem(player)
|
|
99
|
-
local pocketItems = ____exports.getPocketItems(player)
|
|
98
|
+
function ____exports.isFirstSlotPocketActiveItem(self, player)
|
|
99
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
100
100
|
local firstPocketItem = pocketItems[1]
|
|
101
101
|
if firstPocketItem == nil then
|
|
102
102
|
return false
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/// <reference types="isaac-typescript-definitions" />
|
|
3
3
|
/// <reference types="isaac-typescript-definitions" />
|
|
4
4
|
/// <reference types="isaac-typescript-definitions" />
|
|
5
|
-
/** @noSelfInFile */
|
|
6
5
|
export declare function anyEntityCloserThan(entities: Entity[], position: Vector, distance: int): boolean;
|
|
7
6
|
/**
|
|
8
7
|
* Iterates over all players and checks if any player is close enough to the specified position.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positionVelocity.d.ts","sourceRoot":"","sources":["../../src/functions/positionVelocity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"positionVelocity.d.ts","sourceRoot":"","sources":["../../src/functions/positionVelocity.ts"],"names":[],"mappings":";;;;AAaA,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAAE,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,GAAG,GACZ,OAAO,CAIT;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,KAAK,GACd,OAAO,CAKT;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAC9B,gBAAgB,EAAE,MAAM,EACxB,mBAAmB,UAAQ,GAC1B,MAAM,CAiCR;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAY5E;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAY7E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAChC,eAAe,EAAE,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,EACrC,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,IAAI,CAYN;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CACjC,gBAAgB,EAAE,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,EACtC,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,IAAI,CAYN"}
|