isaacscript-common 9.13.4 → 9.13.5-dev.2
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 +1 -0
- package/dist/callbacks/customRevive.d.ts.map +1 -1
- package/dist/callbacks/customRevive.lua +39 -45
- package/dist/callbacks/itemPickup.d.ts +1 -0
- package/dist/callbacks/itemPickup.d.ts.map +1 -1
- package/dist/callbacks/itemPickup.lua +16 -16
- package/dist/callbacks/postAmbush.d.ts +1 -0
- package/dist/callbacks/postAmbush.d.ts.map +1 -1
- package/dist/callbacks/postAmbush.lua +12 -12
- package/dist/callbacks/postBombExploded.d.ts +1 -0
- package/dist/callbacks/postBombExploded.d.ts.map +1 -1
- package/dist/callbacks/postBombExploded.lua +6 -6
- package/dist/callbacks/postBombInitLate.d.ts +1 -0
- package/dist/callbacks/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/postBombInitLate.lua +7 -7
- package/dist/callbacks/postBoneSwing.d.ts +1 -0
- package/dist/callbacks/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/postBoneSwing.lua +11 -11
- package/dist/callbacks/postCollectibleEmpty.d.ts +1 -0
- package/dist/callbacks/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleEmpty.lua +6 -6
- package/dist/callbacks/postCollectibleInitFirst.d.ts +1 -0
- package/dist/callbacks/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleInitFirst.lua +7 -7
- package/dist/callbacks/postCursedTeleport.d.ts +1 -0
- package/dist/callbacks/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/postCursedTeleport.lua +24 -24
- package/dist/callbacks/postCustomDoorEnter.d.ts +1 -0
- package/dist/callbacks/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/postCustomDoorEnter.lua +28 -34
- package/dist/callbacks/postDiceRoomActivated.d.ts +1 -0
- package/dist/callbacks/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/postDiceRoomActivated.lua +9 -9
- package/dist/callbacks/postDoorRender.d.ts +1 -0
- package/dist/callbacks/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/postDoorRender.lua +7 -7
- package/dist/callbacks/postDoorUpdate.d.ts +1 -0
- package/dist/callbacks/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/postDoorUpdate.lua +7 -7
- package/dist/callbacks/postEffectInitLate.d.ts +1 -0
- package/dist/callbacks/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/postEffectInitLate.lua +7 -7
- package/dist/callbacks/postEffectStateChanged.d.ts +1 -0
- package/dist/callbacks/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postEffectStateChanged.lua +8 -8
- package/dist/callbacks/postEsauJr.d.ts +1 -0
- package/dist/callbacks/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/postEsauJr.lua +11 -11
- package/dist/callbacks/postFamiliarInitLate.d.ts +1 -0
- package/dist/callbacks/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarInitLate.lua +7 -7
- package/dist/callbacks/postFamiliarStateChanged.d.ts +1 -0
- package/dist/callbacks/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarStateChanged.lua +8 -8
- package/dist/callbacks/postFlip.d.ts +1 -0
- package/dist/callbacks/postFlip.d.ts.map +1 -1
- package/dist/callbacks/postFlip.lua +12 -12
- package/dist/callbacks/postGreedModeWave.d.ts +1 -0
- package/dist/callbacks/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/postGreedModeWave.lua +7 -7
- package/dist/callbacks/postGridEntity.d.ts +1 -0
- package/dist/callbacks/postGridEntity.d.ts.map +1 -1
- package/dist/callbacks/postGridEntity.lua +35 -41
- package/dist/callbacks/postGridEntityCollision.d.ts +1 -0
- package/dist/callbacks/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomCollision.d.ts +1 -0
- package/dist/callbacks/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomRender.d.ts +1 -0
- package/dist/callbacks/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomRender.lua +7 -7
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts +1 -0
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomUpdate.lua +7 -7
- package/dist/callbacks/postGridEntityRender.d.ts +1 -0
- package/dist/callbacks/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityRender.lua +7 -7
- package/dist/callbacks/postHolyMantleRemoved.d.ts +1 -0
- package/dist/callbacks/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/postHolyMantleRemoved.lua +9 -9
- package/dist/callbacks/postItemDischarged.d.ts +1 -0
- package/dist/callbacks/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/postItemDischarged.lua +18 -18
- package/dist/callbacks/postKnifeInitLate.d.ts +1 -0
- package/dist/callbacks/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/postKnifeInitLate.lua +7 -7
- package/dist/callbacks/postLaserInitLate.d.ts +1 -0
- package/dist/callbacks/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/postLaserInitLate.lua +7 -7
- package/dist/callbacks/postNPCInitLate.d.ts +1 -0
- package/dist/callbacks/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/postNPCInitLate.lua +7 -7
- package/dist/callbacks/postNPCStateChanged.d.ts +1 -0
- package/dist/callbacks/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postNPCStateChanged.lua +8 -8
- package/dist/callbacks/postNewRoomEarly.d.ts +1 -0
- package/dist/callbacks/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/postNewRoomEarly.lua +16 -16
- package/dist/callbacks/postPickupCollect.d.ts +1 -0
- package/dist/callbacks/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/postPickupCollect.lua +8 -8
- package/dist/callbacks/postPickupInitFirst.d.ts +1 -0
- package/dist/callbacks/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitFirst.lua +8 -8
- package/dist/callbacks/postPickupInitLate.d.ts +1 -0
- package/dist/callbacks/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitLate.lua +7 -7
- package/dist/callbacks/postPickupStateChanged.d.ts +1 -0
- package/dist/callbacks/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postPickupStateChanged.lua +8 -8
- package/dist/callbacks/postPitRender.d.ts +1 -0
- package/dist/callbacks/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/postPitRender.lua +7 -7
- package/dist/callbacks/postPitUpdate.d.ts +1 -0
- package/dist/callbacks/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPitUpdate.lua +7 -7
- package/dist/callbacks/postPlayerChangeHealth.d.ts +1 -0
- package/dist/callbacks/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeHealth.lua +9 -10
- package/dist/callbacks/postPlayerChangeStat.d.ts +1 -0
- package/dist/callbacks/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeStat.lua +19 -20
- package/dist/callbacks/postPlayerChangeType.d.ts +1 -0
- package/dist/callbacks/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeType.lua +10 -10
- package/dist/callbacks/postPlayerCollectible.d.ts +1 -0
- package/dist/callbacks/postPlayerCollectible.d.ts.map +1 -1
- package/dist/callbacks/postPlayerCollectible.lua +36 -40
- package/dist/callbacks/postPlayerFatalDamage.d.ts +1 -0
- package/dist/callbacks/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/postPlayerFatalDamage.lua +14 -22
- package/dist/callbacks/postPlayerInitFirst.d.ts +1 -0
- package/dist/callbacks/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitFirst.lua +12 -12
- package/dist/callbacks/postPlayerInitLate.d.ts +1 -0
- package/dist/callbacks/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitLate.lua +9 -9
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts +1 -0
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.lua +25 -25
- package/dist/callbacks/postPoopRender.d.ts +1 -0
- package/dist/callbacks/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/postPoopRender.lua +7 -7
- package/dist/callbacks/postPoopUpdate.d.ts +1 -0
- package/dist/callbacks/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPoopUpdate.lua +7 -7
- package/dist/callbacks/postPressurePlateRender.d.ts +1 -0
- package/dist/callbacks/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateRender.lua +7 -7
- package/dist/callbacks/postPressurePlateUpdate.d.ts +1 -0
- package/dist/callbacks/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateUpdate.lua +7 -7
- package/dist/callbacks/postProjectileInitLate.d.ts +1 -0
- package/dist/callbacks/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/postProjectileInitLate.lua +7 -7
- package/dist/callbacks/postPurchase.d.ts +1 -0
- package/dist/callbacks/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/postPurchase.lua +12 -12
- package/dist/callbacks/postRockRender.d.ts +1 -0
- package/dist/callbacks/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/postRockRender.lua +7 -7
- package/dist/callbacks/postRockUpdate.d.ts +1 -0
- package/dist/callbacks/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/postRockUpdate.lua +7 -7
- package/dist/callbacks/postRoomClearChanged.d.ts +1 -0
- package/dist/callbacks/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/postRoomClearChanged.lua +9 -9
- package/dist/callbacks/postSacrifice.d.ts +1 -0
- package/dist/callbacks/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/postSacrifice.lua +8 -8
- package/dist/callbacks/postSlotCollision.d.ts +1 -0
- package/dist/callbacks/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/postSlotCollision.lua +7 -7
- package/dist/callbacks/postSlotDestroyed.d.ts +1 -0
- package/dist/callbacks/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/postSlotDestroyed.lua +8 -8
- package/dist/callbacks/postSlotInitUpdate.d.ts +1 -0
- package/dist/callbacks/postSlotInitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSlotInitUpdate.lua +15 -15
- package/dist/callbacks/postSlotRender.d.ts +1 -0
- package/dist/callbacks/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/postSlotRender.lua +12 -12
- package/dist/callbacks/postSpikesRender.d.ts +1 -0
- package/dist/callbacks/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/postSpikesRender.lua +7 -7
- package/dist/callbacks/postSpikesUpdate.d.ts +1 -0
- package/dist/callbacks/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSpikesUpdate.lua +7 -7
- package/dist/callbacks/postTNTRender.d.ts +1 -0
- package/dist/callbacks/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/postTNTRender.lua +7 -7
- package/dist/callbacks/postTNTUpdate.d.ts +1 -0
- package/dist/callbacks/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/postTNTUpdate.lua +7 -7
- package/dist/callbacks/postTearInitLate.d.ts +1 -0
- package/dist/callbacks/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitLate.lua +7 -7
- package/dist/callbacks/postTearInitVeryLate.d.ts +1 -0
- package/dist/callbacks/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitVeryLate.lua +7 -7
- package/dist/callbacks/postTransformation.d.ts +1 -0
- package/dist/callbacks/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/postTransformation.lua +9 -9
- package/dist/callbacks/postTrinketBreak.d.ts +1 -0
- package/dist/callbacks/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/postTrinketBreak.lua +11 -11
- package/dist/callbacks/preBerserkDeath.d.ts +1 -0
- package/dist/callbacks/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/preBerserkDeath.lua +9 -9
- package/dist/callbacks/preNewLevel.d.ts +1 -0
- package/dist/callbacks/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/preNewLevel.lua +8 -8
- package/dist/callbacks/reorderedCallbacks.d.ts +1 -0
- package/dist/callbacks/reorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/reorderedCallbacks.lua +26 -26
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +4 -10
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.lua +4 -10
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +3 -4
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.lua +3 -4
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +3 -4
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/callbacks/subscriptions/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preNewLevel.lua +4 -4
- package/dist/classes/DefaultMap.d.ts +1 -0
- package/dist/classes/DefaultMap.d.ts.map +1 -1
- package/dist/classes/DefaultMap.lua +4 -4
- package/dist/classes/ModUpgraded.d.ts +1 -0
- package/dist/classes/ModUpgraded.d.ts.map +1 -1
- package/dist/classes/ModUpgraded.lua +1 -1
- package/dist/core/cachedClasses.d.ts +1 -0
- package/dist/core/cachedClasses.d.ts.map +1 -1
- package/dist/core/constants.d.ts +1 -0
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.lua +4 -4
- package/dist/core/constantsFirstLast.d.ts +1 -0
- package/dist/core/constantsFirstLast.d.ts.map +1 -1
- package/dist/core/constantsFirstLast.lua +11 -11
- package/dist/core/upgradeMod.d.ts +1 -0
- package/dist/core/upgradeMod.d.ts.map +1 -1
- package/dist/core/upgradeMod.lua +9 -9
- package/dist/enums/AmbushType.d.ts +1 -0
- package/dist/enums/AmbushType.d.ts.map +1 -1
- package/dist/enums/CornerType.d.ts +1 -0
- package/dist/enums/CornerType.d.ts.map +1 -1
- package/dist/enums/HealthType.d.ts +1 -0
- package/dist/enums/HealthType.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.d.ts +1 -0
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/enums/PocketItemType.d.ts +1 -0
- package/dist/enums/PocketItemType.d.ts.map +1 -1
- package/dist/enums/RockAltType.d.ts +1 -0
- package/dist/enums/RockAltType.d.ts.map +1 -1
- package/dist/enums/SaveDataKey.d.ts +1 -0
- package/dist/enums/SaveDataKey.d.ts.map +1 -1
- package/dist/enums/SerializationType.d.ts +1 -0
- package/dist/enums/SerializationType.d.ts.map +1 -1
- package/dist/enums/SlotDestructionType.d.ts +1 -0
- package/dist/enums/SlotDestructionType.d.ts.map +1 -1
- package/dist/enums/StatType.d.ts +1 -0
- package/dist/enums/StatType.d.ts.map +1 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +1 -0
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts.map +1 -1
- package/dist/enums/private/SerializationBrand.d.ts +1 -0
- package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
- package/dist/enums/private/StageTravelState.d.ts +1 -0
- package/dist/enums/private/StageTravelState.d.ts.map +1 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts +1 -0
- package/dist/enums/private/TrapdoorAnimation.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.d.ts +1 -0
- package/dist/features/characterHealthConversion.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.lua +10 -10
- package/dist/features/characterStats.d.ts +1 -0
- package/dist/features/characterStats.d.ts.map +1 -1
- package/dist/features/characterStats.lua +6 -6
- package/dist/features/collectibleItemPoolType.d.ts +1 -0
- package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
- package/dist/features/collectibleItemPoolType.lua +8 -8
- package/dist/features/customDoor.d.ts +1 -0
- package/dist/features/customDoor.d.ts.map +1 -1
- package/dist/features/customDoor.lua +4 -4
- package/dist/features/customGridEntity.d.ts +1 -0
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +39 -42
- package/dist/features/customPickup.d.ts +1 -0
- package/dist/features/customPickup.d.ts.map +1 -1
- package/dist/features/customPickup.lua +8 -8
- package/dist/features/customStage/backdrop.d.ts +1 -0
- package/dist/features/customStage/backdrop.d.ts.map +1 -1
- package/dist/features/customStage/backdrop.lua +28 -40
- package/dist/features/customStage/customStageConstants.d.ts +1 -0
- package/dist/features/customStage/customStageConstants.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.d.ts +1 -0
- 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 +1 -0
- package/dist/features/customStage/customStageUtils.d.ts.map +1 -1
- package/dist/features/customStage/customStageUtils.lua +21 -33
- package/dist/features/customStage/exports.d.ts +1 -0
- package/dist/features/customStage/exports.d.ts.map +1 -1
- package/dist/features/customStage/exports.lua +18 -36
- package/dist/features/customStage/init.d.ts +1 -0
- 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 +1 -0
- package/dist/features/customStage/shadows.d.ts.map +1 -1
- package/dist/features/customStage/shadows.lua +4 -10
- package/dist/features/customStage/streakText.d.ts +1 -0
- 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 +1 -0
- package/dist/features/customStage/v.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.d.ts +1 -0
- package/dist/features/customStage/versusScreen.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.lua +27 -31
- package/dist/features/customTrapdoor/blackSprite.d.ts +1 -0
- 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 +1 -0
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.d.ts +1 -0
- package/dist/features/customTrapdoor/exports.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.lua +8 -20
- package/dist/features/customTrapdoor/init.d.ts +1 -0
- package/dist/features/customTrapdoor/init.d.ts.map +1 -1
- package/dist/features/customTrapdoor/init.lua +50 -65
- package/dist/features/customTrapdoor/openClose.d.ts +1 -0
- 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 +1 -0
- package/dist/features/customTrapdoor/spawn.d.ts.map +1 -1
- package/dist/features/customTrapdoor/spawn.lua +4 -5
- package/dist/features/customTrapdoor/touched.d.ts +1 -0
- package/dist/features/customTrapdoor/touched.d.ts.map +1 -1
- package/dist/features/customTrapdoor/touched.lua +21 -25
- package/dist/features/customTrapdoor/v.d.ts +1 -0
- package/dist/features/customTrapdoor/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/features/debugDisplay/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/v.lua +6 -6
- package/dist/features/deployJSONRoom.d.ts +1 -0
- package/dist/features/deployJSONRoom.d.ts.map +1 -1
- package/dist/features/deployJSONRoom.lua +93 -118
- package/dist/features/disableAllSound.d.ts +1 -0
- package/dist/features/disableAllSound.d.ts.map +1 -1
- package/dist/features/disableAllSound.lua +10 -10
- package/dist/features/disableInputs.d.ts +1 -0
- package/dist/features/disableInputs.d.ts.map +1 -1
- package/dist/features/disableInputs.lua +25 -25
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts +1 -0
- 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 +1 -0
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +33 -42
- package/dist/features/extraConsoleCommands/exports.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +307 -362
- package/dist/features/extraConsoleCommands/v.d.ts +1 -0
- package/dist/features/extraConsoleCommands/v.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/v.lua +1 -1
- package/dist/features/fadeInRemover.d.ts +1 -0
- package/dist/features/fadeInRemover.d.ts.map +1 -1
- package/dist/features/fadeInRemover.lua +8 -9
- package/dist/features/fastReset.d.ts +1 -0
- package/dist/features/fastReset.d.ts.map +1 -1
- package/dist/features/fastReset.lua +11 -11
- package/dist/features/firstLast.d.ts +1 -0
- package/dist/features/firstLast.d.ts.map +1 -1
- package/dist/features/firstLast.lua +93 -105
- package/dist/features/forgottenSwitch.d.ts +1 -0
- package/dist/features/forgottenSwitch.d.ts.map +1 -1
- package/dist/features/forgottenSwitch.lua +5 -5
- package/dist/features/pause.d.ts +1 -0
- package/dist/features/pause.d.ts.map +1 -1
- package/dist/features/pause.lua +25 -25
- package/dist/features/persistentEntities.d.ts +1 -0
- package/dist/features/persistentEntities.d.ts.map +1 -1
- package/dist/features/persistentEntities.lua +17 -25
- package/dist/features/pickupIndex.d.ts +1 -0
- package/dist/features/pickupIndex.d.ts.map +1 -1
- package/dist/features/pickupIndex.lua +25 -25
- package/dist/features/playerInventory.d.ts +1 -0
- package/dist/features/playerInventory.d.ts.map +1 -1
- package/dist/features/playerInventory.lua +16 -16
- package/dist/features/ponyDetection.d.ts +1 -0
- package/dist/features/ponyDetection.d.ts.map +1 -1
- package/dist/features/ponyDetection.lua +13 -14
- package/dist/features/preventChildEntities.d.ts +1 -0
- package/dist/features/preventChildEntities.d.ts.map +1 -1
- package/dist/features/preventChildEntities.lua +4 -4
- package/dist/features/preventCollectibleRotation.d.ts +1 -0
- package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
- package/dist/features/preventCollectibleRotation.lua +13 -13
- package/dist/features/registerHotkey.d.ts +1 -0
- package/dist/features/registerHotkey.d.ts.map +1 -1
- package/dist/features/registerHotkey.lua +14 -14
- package/dist/features/roomClearFrame.d.ts +1 -0
- package/dist/features/roomClearFrame.d.ts.map +1 -1
- package/dist/features/roomClearFrame.lua +7 -7
- package/dist/features/roomHistory.d.ts +1 -0
- package/dist/features/roomHistory.d.ts.map +1 -1
- package/dist/features/roomHistory.lua +19 -19
- package/dist/features/runInNFrames.d.ts +1 -0
- package/dist/features/runInNFrames.d.ts.map +1 -1
- package/dist/features/runInNFrames.lua +30 -30
- package/dist/features/runNextRoom.d.ts +1 -0
- package/dist/features/runNextRoom.d.ts.map +1 -1
- package/dist/features/runNextRoom.lua +7 -7
- package/dist/features/saveDataManager/exports.d.ts +1 -0
- 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 +1 -0
- package/dist/features/saveDataManager/load.d.ts.map +1 -1
- package/dist/features/saveDataManager/load.lua +12 -16
- package/dist/features/saveDataManager/main.d.ts +1 -0
- package/dist/features/saveDataManager/main.d.ts.map +1 -1
- package/dist/features/saveDataManager/main.lua +31 -32
- package/dist/features/saveDataManager/maps.d.ts +1 -0
- package/dist/features/saveDataManager/maps.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.d.ts +1 -0
- package/dist/features/saveDataManager/merge.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.lua +30 -33
- package/dist/features/saveDataManager/save.d.ts +1 -0
- package/dist/features/saveDataManager/save.d.ts.map +1 -1
- package/dist/features/saveDataManager/save.lua +8 -9
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts +1 -0
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts +1 -0
- package/dist/features/saveDataManager/serializationBrands.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.lua +3 -3
- package/dist/features/sirenHelpers.d.ts +1 -0
- package/dist/features/sirenHelpers.d.ts.map +1 -1
- package/dist/features/sirenHelpers.lua +15 -15
- package/dist/features/stageHistory.d.ts +1 -0
- package/dist/features/stageHistory.d.ts.map +1 -1
- package/dist/features/stageHistory.lua +7 -7
- package/dist/features/taintedLazarusPlayers.d.ts +1 -0
- package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
- package/dist/features/taintedLazarusPlayers.lua +8 -8
- package/dist/featuresInitialized.d.ts +1 -0
- package/dist/featuresInitialized.d.ts.map +1 -1
- package/dist/featuresInitialized.lua +4 -4
- package/dist/functions/ambush.d.ts +1 -0
- package/dist/functions/ambush.d.ts.map +1 -1
- package/dist/functions/ambush.lua +15 -18
- package/dist/functions/array.d.ts +1 -0
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.lua +48 -62
- package/dist/functions/benchmark.d.ts +1 -0
- package/dist/functions/benchmark.d.ts.map +1 -1
- package/dist/functions/benchmark.lua +4 -10
- package/dist/functions/bitSet128.d.ts +1 -0
- package/dist/functions/bitSet128.d.ts.map +1 -1
- package/dist/functions/bitSet128.lua +11 -13
- package/dist/functions/bitwise.d.ts +1 -0
- package/dist/functions/bitwise.d.ts.map +1 -1
- package/dist/functions/bitwise.lua +9 -9
- package/dist/functions/bombs.d.ts +1 -0
- package/dist/functions/bombs.d.ts.map +1 -1
- package/dist/functions/bombs.lua +1 -1
- package/dist/functions/bosses.d.ts +1 -0
- package/dist/functions/bosses.d.ts.map +1 -1
- package/dist/functions/bosses.lua +15 -31
- package/dist/functions/cards.d.ts +1 -0
- package/dist/functions/cards.d.ts.map +1 -1
- package/dist/functions/cards.lua +42 -48
- package/dist/functions/challenges.d.ts +1 -0
- package/dist/functions/challenges.d.ts.map +1 -1
- package/dist/functions/challenges.lua +1 -1
- package/dist/functions/characters.d.ts +1 -0
- package/dist/functions/characters.d.ts.map +1 -1
- package/dist/functions/characters.lua +13 -13
- package/dist/functions/charge.d.ts +1 -0
- package/dist/functions/charge.d.ts.map +1 -1
- package/dist/functions/charge.lua +24 -36
- package/dist/functions/chargeBar.d.ts +1 -0
- package/dist/functions/chargeBar.d.ts.map +1 -1
- package/dist/functions/chargeBar.lua +5 -5
- package/dist/functions/collectibleCacheFlag.d.ts +1 -0
- package/dist/functions/collectibleCacheFlag.d.ts.map +1 -1
- package/dist/functions/collectibleCacheFlag.lua +11 -12
- package/dist/functions/collectibleSet.d.ts +1 -0
- package/dist/functions/collectibleSet.d.ts.map +1 -1
- package/dist/functions/collectibleSet.lua +17 -17
- package/dist/functions/collectibleTag.d.ts +1 -0
- package/dist/functions/collectibleTag.d.ts.map +1 -1
- package/dist/functions/collectibleTag.lua +13 -14
- package/dist/functions/collectibles.d.ts +1 -0
- package/dist/functions/collectibles.d.ts.map +1 -1
- package/dist/functions/collectibles.lua +68 -69
- package/dist/functions/color.d.ts +1 -0
- package/dist/functions/color.d.ts.map +1 -1
- package/dist/functions/color.lua +19 -21
- package/dist/functions/curses.d.ts +1 -0
- package/dist/functions/curses.d.ts.map +1 -1
- package/dist/functions/curses.lua +3 -3
- package/dist/functions/debug.d.ts +1 -0
- package/dist/functions/debug.d.ts.map +1 -1
- package/dist/functions/debug.lua +15 -15
- package/dist/functions/deepCopy.d.ts +1 -0
- package/dist/functions/deepCopy.d.ts.map +1 -1
- package/dist/functions/deepCopy.lua +73 -169
- package/dist/functions/deepCopyTests.d.ts +1 -0
- package/dist/functions/deepCopyTests.d.ts.map +1 -1
- package/dist/functions/deepCopyTests.lua +81 -81
- package/dist/functions/dimensions.d.ts +1 -0
- package/dist/functions/dimensions.d.ts.map +1 -1
- package/dist/functions/dimensions.lua +7 -7
- package/dist/functions/direction.d.ts +1 -0
- package/dist/functions/direction.d.ts.map +1 -1
- package/dist/functions/direction.lua +4 -4
- package/dist/functions/doors.d.ts +1 -0
- package/dist/functions/doors.d.ts.map +1 -1
- package/dist/functions/doors.lua +74 -77
- package/dist/functions/easing.d.ts +1 -0
- package/dist/functions/easing.d.ts.map +1 -1
- package/dist/functions/easing.lua +32 -32
- package/dist/functions/eden.d.ts +1 -0
- package/dist/functions/eden.d.ts.map +1 -1
- package/dist/functions/eden.lua +9 -9
- package/dist/functions/effects.d.ts +1 -0
- package/dist/functions/effects.d.ts.map +1 -1
- package/dist/functions/effects.lua +2 -2
- package/dist/functions/entities.d.ts +1 -0
- package/dist/functions/entities.d.ts.map +1 -1
- package/dist/functions/entities.lua +41 -48
- package/dist/functions/entitiesSpecific.d.ts +1 -0
- package/dist/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/functions/entitiesSpecific.lua +70 -96
- package/dist/functions/entityTypes.d.ts +1 -0
- package/dist/functions/entityTypes.d.ts.map +1 -1
- package/dist/functions/entityTypes.lua +1 -1
- package/dist/functions/enums.d.ts +1 -0
- package/dist/functions/enums.d.ts.map +1 -1
- package/dist/functions/enums.lua +19 -19
- package/dist/functions/familiars.d.ts +1 -0
- package/dist/functions/familiars.d.ts.map +1 -1
- package/dist/functions/familiars.lua +5 -6
- package/dist/functions/flag.d.ts +1 -0
- package/dist/functions/flag.d.ts.map +1 -1
- package/dist/functions/flag.lua +8 -8
- package/dist/functions/flying.d.ts +1 -0
- package/dist/functions/flying.d.ts.map +1 -1
- package/dist/functions/flying.lua +9 -12
- package/dist/functions/globals.d.ts +1 -0
- package/dist/functions/globals.d.ts.map +1 -1
- package/dist/functions/globals.lua +14 -17
- package/dist/functions/gridEntities.d.ts +1 -0
- package/dist/functions/gridEntities.d.ts.map +1 -1
- package/dist/functions/gridEntities.lua +58 -64
- package/dist/functions/gridEntitiesSpecific.d.ts +1 -0
- package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -1
- package/dist/functions/gridEntitiesSpecific.lua +92 -92
- package/dist/functions/hex.d.ts +1 -0
- package/dist/functions/hex.d.ts.map +1 -1
- package/dist/functions/hex.lua +9 -12
- package/dist/functions/initArray.d.ts +1 -0
- package/dist/functions/initArray.d.ts.map +1 -1
- package/dist/functions/initArray.lua +3 -4
- package/dist/functions/input.d.ts +1 -0
- package/dist/functions/input.d.ts.map +1 -1
- package/dist/functions/input.lua +22 -25
- package/dist/functions/isaacAPIClass.d.ts +1 -0
- package/dist/functions/isaacAPIClass.d.ts.map +1 -1
- package/dist/functions/isaacAPIClass.lua +47 -47
- package/dist/functions/itemPool.d.ts +1 -0
- package/dist/functions/itemPool.d.ts.map +1 -1
- package/dist/functions/itemPool.lua +17 -19
- package/dist/functions/jsonHelpers.d.ts +1 -0
- package/dist/functions/jsonHelpers.d.ts.map +1 -1
- package/dist/functions/jsonHelpers.lua +3 -3
- package/dist/functions/jsonRoom.d.ts +1 -0
- package/dist/functions/jsonRoom.d.ts.map +1 -1
- package/dist/functions/jsonRoom.lua +16 -22
- package/dist/functions/kColor.d.ts +1 -0
- package/dist/functions/kColor.d.ts.map +1 -1
- package/dist/functions/kColor.lua +19 -21
- package/dist/functions/language.d.ts +1 -0
- package/dist/functions/language.d.ts.map +1 -1
- package/dist/functions/language.lua +1 -1
- package/dist/functions/level.d.ts +1 -0
- package/dist/functions/level.d.ts.map +1 -1
- package/dist/functions/level.lua +5 -5
- package/dist/functions/levelGrid.d.ts +1 -0
- package/dist/functions/levelGrid.d.ts.map +1 -1
- package/dist/functions/levelGrid.lua +67 -67
- package/dist/functions/log.d.ts +1 -0
- package/dist/functions/log.d.ts.map +1 -1
- package/dist/functions/log.lua +128 -240
- package/dist/functions/logEntities.d.ts +1 -0
- package/dist/functions/logEntities.d.ts.map +1 -1
- package/dist/functions/logEntities.lua +29 -32
- package/dist/functions/map.d.ts +1 -0
- package/dist/functions/map.d.ts.map +1 -1
- package/dist/functions/map.lua +5 -5
- package/dist/functions/math.d.ts +1 -0
- package/dist/functions/math.d.ts.map +1 -1
- package/dist/functions/math.lua +14 -14
- package/dist/functions/mergeTests.d.ts +1 -0
- package/dist/functions/mergeTests.d.ts.map +1 -1
- package/dist/functions/mergeTests.lua +47 -47
- package/dist/functions/minimap.d.ts +1 -0
- package/dist/functions/minimap.d.ts.map +1 -1
- package/dist/functions/minimap.lua +12 -12
- package/dist/functions/nextStage.d.ts +1 -0
- package/dist/functions/nextStage.d.ts.map +1 -1
- package/dist/functions/nextStage.lua +39 -39
- package/dist/functions/npcs.d.ts +1 -0
- package/dist/functions/npcs.d.ts.map +1 -1
- package/dist/functions/npcs.lua +15 -21
- package/dist/functions/pickupVariants.d.ts +1 -0
- package/dist/functions/pickupVariants.d.ts.map +1 -1
- package/dist/functions/pickupVariants.lua +11 -11
- package/dist/functions/pickups.d.ts +1 -0
- package/dist/functions/pickups.d.ts.map +1 -1
- package/dist/functions/pickups.lua +9 -9
- package/dist/functions/pickupsSpecific.d.ts +1 -0
- package/dist/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/functions/pickupsSpecific.lua +58 -76
- package/dist/functions/pills.d.ts +1 -0
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/pills.lua +22 -25
- package/dist/functions/playerCenter.d.ts +1 -0
- package/dist/functions/playerCenter.d.ts.map +1 -1
- package/dist/functions/playerCenter.lua +5 -6
- package/dist/functions/playerDataStructures.d.ts +1 -0
- package/dist/functions/playerDataStructures.d.ts.map +1 -1
- package/dist/functions/playerDataStructures.lua +16 -16
- package/dist/functions/playerHealth.d.ts +1 -0
- package/dist/functions/playerHealth.d.ts.map +1 -1
- package/dist/functions/playerHealth.lua +47 -54
- package/dist/functions/playerIndex.d.ts +1 -0
- package/dist/functions/playerIndex.d.ts.map +1 -1
- package/dist/functions/playerIndex.lua +17 -17
- package/dist/functions/playerStats.d.ts +1 -0
- package/dist/functions/playerStats.d.ts.map +1 -1
- package/dist/functions/playerStats.lua +1 -1
- package/dist/functions/players.d.ts +1 -0
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +81 -82
- package/dist/functions/pocketItems.d.ts +1 -0
- package/dist/functions/pocketItems.d.ts.map +1 -1
- package/dist/functions/pocketItems.lua +12 -12
- package/dist/functions/positionVelocity.d.ts +1 -0
- package/dist/functions/positionVelocity.d.ts.map +1 -1
- package/dist/functions/positionVelocity.lua +15 -15
- package/dist/functions/pressurePlate.d.ts +1 -0
- package/dist/functions/pressurePlate.d.ts.map +1 -1
- package/dist/functions/pressurePlate.lua +2 -2
- package/dist/functions/projectiles.d.ts +1 -0
- package/dist/functions/projectiles.d.ts.map +1 -1
- package/dist/functions/projectiles.lua +7 -19
- package/dist/functions/random.d.ts +1 -0
- package/dist/functions/random.d.ts.map +1 -1
- package/dist/functions/random.lua +9 -9
- package/dist/functions/reorderedCallbacks.d.ts +1 -0
- package/dist/functions/reorderedCallbacks.d.ts.map +1 -1
- package/dist/functions/reorderedCallbacks.lua +6 -6
- package/dist/functions/revive.d.ts +1 -0
- package/dist/functions/revive.d.ts.map +1 -1
- package/dist/functions/revive.lua +16 -16
- package/dist/functions/rng.d.ts +1 -0
- package/dist/functions/rng.d.ts.map +1 -1
- package/dist/functions/rng.lua +25 -27
- package/dist/functions/rockAlt.d.ts +1 -0
- package/dist/functions/rockAlt.d.ts.map +1 -1
- package/dist/functions/rockAlt.lua +74 -111
- package/dist/functions/roomData.d.ts +1 -0
- package/dist/functions/roomData.d.ts.map +1 -1
- package/dist/functions/roomData.lua +30 -30
- package/dist/functions/roomGrid.d.ts +1 -0
- package/dist/functions/roomGrid.d.ts.map +1 -1
- package/dist/functions/roomGrid.lua +17 -17
- package/dist/functions/roomShape.d.ts +1 -0
- package/dist/functions/roomShape.d.ts.map +1 -1
- package/dist/functions/roomShape.lua +13 -13
- package/dist/functions/roomTransition.d.ts +1 -0
- package/dist/functions/roomTransition.d.ts.map +1 -1
- package/dist/functions/roomTransition.lua +10 -19
- package/dist/functions/rooms.d.ts +1 -0
- package/dist/functions/rooms.d.ts.map +1 -1
- package/dist/functions/rooms.lua +87 -87
- package/dist/functions/run.d.ts +1 -0
- package/dist/functions/run.d.ts.map +1 -1
- package/dist/functions/run.lua +11 -17
- package/dist/functions/saveFile.d.ts +1 -0
- package/dist/functions/saveFile.d.ts.map +1 -1
- package/dist/functions/saveFile.lua +3 -3
- package/dist/functions/seeds.d.ts +1 -0
- package/dist/functions/seeds.d.ts.map +1 -1
- package/dist/functions/seeds.lua +3 -3
- package/dist/functions/serialization.d.ts +1 -0
- package/dist/functions/serialization.d.ts.map +1 -1
- package/dist/functions/serialization.lua +11 -11
- package/dist/functions/set.d.ts +1 -0
- package/dist/functions/set.d.ts.map +1 -1
- package/dist/functions/set.lua +15 -15
- package/dist/functions/sound.d.ts +1 -0
- package/dist/functions/sound.d.ts.map +1 -1
- package/dist/functions/sound.lua +2 -2
- package/dist/functions/spawnCollectible.d.ts +1 -0
- package/dist/functions/spawnCollectible.d.ts.map +1 -1
- package/dist/functions/spawnCollectible.lua +9 -11
- package/dist/functions/sprites.d.ts +1 -0
- package/dist/functions/sprites.d.ts.map +1 -1
- package/dist/functions/sprites.lua +7 -13
- package/dist/functions/stage.d.ts +1 -0
- package/dist/functions/stage.d.ts.map +1 -1
- package/dist/functions/stage.lua +26 -29
- package/dist/functions/stats.d.ts +1 -0
- package/dist/functions/stats.d.ts.map +1 -1
- package/dist/functions/stats.lua +3 -3
- package/dist/functions/string.d.ts +1 -0
- package/dist/functions/string.d.ts.map +1 -1
- package/dist/functions/string.lua +7 -7
- package/dist/functions/table.d.ts +1 -0
- package/dist/functions/table.d.ts.map +1 -1
- package/dist/functions/table.lua +16 -16
- package/dist/functions/tears.d.ts +1 -0
- package/dist/functions/tears.d.ts.map +1 -1
- package/dist/functions/tears.lua +5 -5
- package/dist/functions/transformations.d.ts +1 -0
- package/dist/functions/transformations.d.ts.map +1 -1
- package/dist/functions/transformations.lua +13 -14
- package/dist/functions/trinketCacheFlag.d.ts +1 -0
- package/dist/functions/trinketCacheFlag.d.ts.map +1 -1
- package/dist/functions/trinketCacheFlag.lua +10 -10
- package/dist/functions/trinketGive.d.ts +1 -0
- package/dist/functions/trinketGive.d.ts.map +1 -1
- package/dist/functions/trinketGive.lua +12 -14
- package/dist/functions/trinketSet.d.ts +1 -0
- package/dist/functions/trinketSet.d.ts.map +1 -1
- package/dist/functions/trinketSet.lua +17 -17
- package/dist/functions/trinkets.d.ts +1 -0
- package/dist/functions/trinkets.d.ts.map +1 -1
- package/dist/functions/trinkets.lua +22 -22
- package/dist/functions/tstlClass.d.ts +1 -0
- package/dist/functions/tstlClass.d.ts.map +1 -1
- package/dist/functions/tstlClass.lua +19 -19
- package/dist/functions/types.d.ts +1 -0
- package/dist/functions/types.d.ts.map +1 -1
- package/dist/functions/types.lua +17 -17
- package/dist/functions/ui.d.ts +1 -0
- package/dist/functions/ui.d.ts.map +1 -1
- package/dist/functions/ui.lua +19 -19
- package/dist/functions/utils.d.ts +1 -0
- package/dist/functions/utils.d.ts.map +1 -1
- package/dist/functions/utils.lua +12 -12
- package/dist/functions/vector.d.ts +1 -0
- package/dist/functions/vector.d.ts.map +1 -1
- package/dist/functions/vector.lua +21 -23
- package/dist/index.d.ts +11988 -11905
- package/dist/index.d.ts.map +1 -1
- package/dist/initCustomCallbacks.d.ts +1 -0
- package/dist/initCustomCallbacks.d.ts.map +1 -1
- package/dist/initCustomCallbacks.lua +72 -72
- package/dist/initFeatures.d.ts +1 -0
- package/dist/initFeatures.d.ts.map +1 -1
- package/dist/initFeatures.lua +34 -34
- package/dist/interfaces/ChargeBarSprites.d.ts +1 -0
- package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -1
- package/dist/interfaces/Corner.d.ts +1 -0
- package/dist/interfaces/Corner.d.ts.map +1 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts +1 -11
- package/dist/interfaces/CustomStageTSConfig.d.ts.map +1 -1
- package/dist/interfaces/GridEntityCustomData.d.ts +1 -0
- package/dist/interfaces/GridEntityCustomData.d.ts.map +1 -1
- package/dist/interfaces/JSONRoomsFile.d.ts +1 -0
- package/dist/interfaces/JSONRoomsFile.d.ts.map +1 -1
- package/dist/interfaces/PlayerHealth.d.ts +1 -0
- package/dist/interfaces/PlayerHealth.d.ts.map +1 -1
- package/dist/interfaces/PocketItemDescription.d.ts +1 -0
- package/dist/interfaces/PocketItemDescription.d.ts.map +1 -1
- package/dist/interfaces/RoomDescription.d.ts +1 -0
- package/dist/interfaces/RoomDescription.d.ts.map +1 -1
- package/dist/interfaces/SaveData.d.ts +1 -0
- package/dist/interfaces/SaveData.d.ts.map +1 -1
- package/dist/interfaces/SaveData.lua +10 -10
- package/dist/interfaces/StatTypeType.d.ts +1 -0
- package/dist/interfaces/StatTypeType.d.ts.map +1 -1
- package/dist/interfaces/TrinketSituation.d.ts +1 -0
- package/dist/interfaces/TrinketSituation.d.ts.map +1 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts +1 -0
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts.map +1 -1
- package/dist/interfaces/private/CustomStage.d.ts +1 -0
- package/dist/interfaces/private/CustomStage.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts +1 -0
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts +1 -0
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts.map +1 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts +1 -0
- package/dist/interfaces/private/TSTLClassMetatable.d.ts.map +1 -1
- package/dist/maps/PHDPillConversions.d.ts +1 -0
- package/dist/maps/PHDPillConversions.d.ts.map +1 -1
- package/dist/maps/cardMap.d.ts +1 -0
- package/dist/maps/cardMap.d.ts.map +1 -1
- package/dist/maps/characterMap.d.ts +1 -0
- package/dist/maps/characterMap.d.ts.map +1 -1
- package/dist/maps/collectibleDescriptionMap.d.ts +1 -0
- package/dist/maps/collectibleDescriptionMap.d.ts.map +1 -1
- package/dist/maps/collectibleNameMap.d.ts +1 -0
- package/dist/maps/collectibleNameMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.d.ts +1 -0
- package/dist/maps/defaultPlayerStatMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.lua +1 -1
- package/dist/maps/falsePHDPillConversions.d.ts +1 -0
- package/dist/maps/falsePHDPillConversions.d.ts.map +1 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +1 -0
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts.map +1 -1
- package/dist/maps/gridEntityXMLMap.d.ts +1 -0
- package/dist/maps/gridEntityXMLMap.d.ts.map +1 -1
- package/dist/maps/keyboardToString.d.ts +1 -0
- package/dist/maps/keyboardToString.d.ts.map +1 -1
- package/dist/maps/pillEffectMap.d.ts +1 -0
- package/dist/maps/pillEffectMap.d.ts.map +1 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +1 -0
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts.map +1 -1
- package/dist/maps/roomTypeMap.d.ts +1 -0
- package/dist/maps/roomTypeMap.d.ts.map +1 -1
- package/dist/maps/trinketDescriptionMap.d.ts +1 -0
- package/dist/maps/trinketDescriptionMap.d.ts.map +1 -1
- package/dist/maps/trinketNameMap.d.ts +1 -0
- package/dist/maps/trinketNameMap.d.ts.map +1 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts +1 -0
- package/dist/objects/LRoomShapeToRectangles.d.ts.map +1 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts +1 -0
- package/dist/objects/backdropTypeToRockAltType.d.ts.map +1 -1
- package/dist/objects/bossNamePNGFileNames.d.ts +1 -0
- package/dist/objects/bossNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts +1 -0
- package/dist/objects/bossPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/callbackRegisterFunctions.d.ts +1 -0
- package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
- package/dist/objects/cardDescriptions.d.ts +1 -0
- package/dist/objects/cardDescriptions.d.ts.map +1 -1
- package/dist/objects/cardNames.d.ts +1 -0
- package/dist/objects/cardNames.d.ts.map +1 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts +1 -0
- package/dist/objects/cardTypeToItemConfigCardType.d.ts.map +1 -1
- package/dist/objects/challengeNames.d.ts +1 -0
- package/dist/objects/challengeNames.d.ts.map +1 -1
- package/dist/objects/characterDamageMultipliers.d.ts +1 -0
- package/dist/objects/characterDamageMultipliers.d.ts.map +1 -1
- package/dist/objects/characterNames.d.ts +1 -0
- package/dist/objects/characterNames.d.ts.map +1 -1
- package/dist/objects/coinSubTypeToValue.d.ts +1 -0
- package/dist/objects/coinSubTypeToValue.d.ts.map +1 -1
- package/dist/objects/colors.d.ts +1 -0
- package/dist/objects/colors.d.ts.map +1 -1
- package/dist/objects/directionNames.d.ts +1 -0
- package/dist/objects/directionNames.d.ts.map +1 -1
- package/dist/objects/directionToDegrees.d.ts +1 -0
- package/dist/objects/directionToDegrees.d.ts.map +1 -1
- package/dist/objects/directionToVector.d.ts +1 -0
- package/dist/objects/directionToVector.d.ts.map +1 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts +1 -0
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
- package/dist/objects/doorSlotToDirection.d.ts +1 -0
- package/dist/objects/doorSlotToDirection.d.ts.map +1 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts +1 -0
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts +1 -0
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts +1 -0
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
- package/dist/objects/languageNames.d.ts +1 -0
- package/dist/objects/languageNames.d.ts.map +1 -1
- package/dist/objects/oppositeDoorSlots.d.ts +1 -0
- package/dist/objects/oppositeDoorSlots.d.ts.map +1 -1
- package/dist/objects/pillEffectClasses.d.ts +1 -0
- package/dist/objects/pillEffectClasses.d.ts.map +1 -1
- package/dist/objects/pillEffectNames.d.ts +1 -0
- package/dist/objects/pillEffectNames.d.ts.map +1 -1
- package/dist/objects/pillEffectTypes.d.ts +1 -0
- package/dist/objects/pillEffectTypes.d.ts.map +1 -1
- package/dist/objects/playerNamePNGFileNames.d.ts +1 -0
- package/dist/objects/playerNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts +1 -0
- package/dist/objects/playerPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/roomShapeBounds.d.ts +1 -0
- package/dist/objects/roomShapeBounds.d.ts.map +1 -1
- package/dist/objects/roomShapeCorners.d.ts +1 -0
- package/dist/objects/roomShapeCorners.d.ts.map +1 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts +1 -0
- package/dist/objects/roomShapeLayoutSizes.d.ts.map +1 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +1 -0
- package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts +1 -0
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts +1 -0
- package/dist/objects/roomShapeToDoorSlots.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +1 -0
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts.map +1 -1
- package/dist/objects/roomShapeToGridWidth.d.ts +1 -0
- package/dist/objects/roomShapeToGridWidth.d.ts.map +1 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +1 -0
- package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeVolumes.d.ts +1 -0
- package/dist/objects/roomShapeVolumes.d.ts.map +1 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts +1 -0
- package/dist/objects/roomTypeGotoPrefixes.d.ts.map +1 -1
- package/dist/objects/roomTypeNames.d.ts +1 -0
- package/dist/objects/roomTypeNames.d.ts.map +1 -1
- package/dist/objects/stageTypeSuffixes.d.ts +1 -0
- package/dist/objects/stageTypeSuffixes.d.ts.map +1 -1
- package/dist/objects/stageTypeToLetter.d.ts +1 -0
- package/dist/objects/stageTypeToLetter.d.ts.map +1 -1
- package/dist/objects/transformationNames.d.ts +1 -0
- package/dist/objects/transformationNames.d.ts.map +1 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts +1 -0
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts +1 -0
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/patchErrorFunctions.d.ts +1 -0
- package/dist/patchErrorFunctions.d.ts.map +1 -1
- package/dist/patchErrorFunctions.lua +7 -7
- package/dist/sets/LRoomShapesSet.d.ts +1 -0
- package/dist/sets/LRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/bossSets.d.ts +1 -0
- package/dist/sets/bossSets.d.ts.map +1 -1
- package/dist/sets/bossSets.lua +4 -4
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +1 -0
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts.map +1 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +1 -0
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts.map +1 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +1 -0
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts +1 -0
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +1 -0
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts.map +1 -1
- package/dist/sets/chestPickupVariantsSet.d.ts +1 -0
- package/dist/sets/chestPickupVariantsSet.d.ts.map +1 -1
- package/dist/sets/consoleCommandsSet.d.ts +1 -0
- package/dist/sets/consoleCommandsSet.d.ts.map +1 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +1 -0
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts.map +1 -1
- package/dist/sets/lostStyleCharactersSet.d.ts +1 -0
- package/dist/sets/lostStyleCharactersSet.d.ts.map +1 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts +1 -0
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts.map +1 -1
- package/dist/sets/narrowRoomShapesSet.d.ts +1 -0
- package/dist/sets/narrowRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/redHeartSubTypesSet.d.ts +1 -0
- package/dist/sets/redHeartSubTypesSet.d.ts.map +1 -1
- package/dist/sets/sinEntityTypesSet.d.ts +1 -0
- package/dist/sets/sinEntityTypesSet.d.ts.map +1 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +1 -0
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts.map +1 -1
- package/dist/sets/storyBossesSet.d.ts +1 -0
- package/dist/sets/storyBossesSet.d.ts.map +1 -1
- package/dist/shaderCrashFix.d.ts +1 -0
- package/dist/shaderCrashFix.d.ts.map +1 -1
- package/dist/shaderCrashFix.lua +2 -2
- package/dist/types/AnyEntity.d.ts +1 -0
- package/dist/types/AnyEntity.d.ts.map +1 -1
- package/dist/types/AnyGridEntity.d.ts +1 -0
- package/dist/types/AnyGridEntity.d.ts.map +1 -1
- package/dist/types/CollectibleIndex.d.ts +1 -0
- package/dist/types/CollectibleIndex.d.ts.map +1 -1
- package/dist/types/Immutable.d.ts +1 -0
- package/dist/types/Immutable.d.ts.map +1 -1
- package/dist/types/PickingUpItem.d.ts +1 -0
- package/dist/types/PickingUpItem.d.ts.map +1 -1
- package/dist/types/PickingUpItem.lua +5 -5
- package/dist/types/PickupIndex.d.ts +1 -0
- package/dist/types/PickupIndex.d.ts.map +1 -1
- package/dist/types/PlayerIndex.d.ts +1 -0
- package/dist/types/PlayerIndex.d.ts.map +1 -1
- package/dist/types/PossibleStatType.d.ts +1 -0
- package/dist/types/PossibleStatType.d.ts.map +1 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts +1 -0
- package/dist/types/SerializedIsaacAPIClass.d.ts.map +1 -1
- package/dist/types/TSTLClass.d.ts +1 -0
- package/dist/types/TSTLClass.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/customPickup.ts +3 -3
|
@@ -11,102 +11,102 @@ local spawnPickup = ____entitiesSpecific.spawnPickup
|
|
|
11
11
|
--
|
|
12
12
|
-- @param batterySubType Optional. If specified, will only get the batteries that match the
|
|
13
13
|
-- sub-type. Default is -1, which matches every sub-type.
|
|
14
|
-
function ____exports.getBatteries(
|
|
14
|
+
function ____exports.getBatteries(batterySubType)
|
|
15
15
|
if batterySubType == nil then
|
|
16
16
|
batterySubType = -1
|
|
17
17
|
end
|
|
18
|
-
return getPickups(
|
|
18
|
+
return getPickups(PickupVariant.LIL_BATTERY, batterySubType)
|
|
19
19
|
end
|
|
20
20
|
--- Helper function to get all of the bomb entities in the room. (Specifically, this refers to bomb
|
|
21
21
|
-- pickups, not the `EntityBomb` class.)
|
|
22
22
|
--
|
|
23
23
|
-- @param bombSubType Optional. If specified, will only get the bombs that match the sub-type.
|
|
24
24
|
-- Default is -1, which matches every sub-type.
|
|
25
|
-
function ____exports.getBombPickups(
|
|
25
|
+
function ____exports.getBombPickups(bombSubType)
|
|
26
26
|
if bombSubType == nil then
|
|
27
27
|
bombSubType = -1
|
|
28
28
|
end
|
|
29
|
-
return getPickups(
|
|
29
|
+
return getPickups(PickupVariant.BOMB, bombSubType)
|
|
30
30
|
end
|
|
31
31
|
--- Helper function to get all of the card entities in the room.
|
|
32
32
|
--
|
|
33
33
|
-- @param cardType Optional. If specified, will only get the cards that match the sub-type. Default
|
|
34
34
|
-- is -1, which matches every sub-type.
|
|
35
|
-
function ____exports.getCards(
|
|
35
|
+
function ____exports.getCards(cardType)
|
|
36
36
|
if cardType == nil then
|
|
37
37
|
cardType = -1
|
|
38
38
|
end
|
|
39
|
-
return getPickups(
|
|
39
|
+
return getPickups(PickupVariant.TAROT_CARD, cardType)
|
|
40
40
|
end
|
|
41
41
|
--- Helper function to get all of the coin pickup entities in the room.
|
|
42
42
|
--
|
|
43
43
|
-- @param coinSubType Optional. If specified, will only get the coins that match the sub-type.
|
|
44
44
|
-- Default is -1, which matches every sub-type.
|
|
45
|
-
function ____exports.getCoins(
|
|
45
|
+
function ____exports.getCoins(coinSubType)
|
|
46
46
|
if coinSubType == nil then
|
|
47
47
|
coinSubType = -1
|
|
48
48
|
end
|
|
49
|
-
return getPickups(
|
|
49
|
+
return getPickups(PickupVariant.COIN, coinSubType)
|
|
50
50
|
end
|
|
51
51
|
--- Helper function to get all of the collectible entities in the room.
|
|
52
52
|
--
|
|
53
53
|
-- @param collectibleType Optional. If specified, will only get the collectibles that match the
|
|
54
54
|
-- sub-type. Default is -1, which matches every sub-type.
|
|
55
|
-
function ____exports.getCollectibles(
|
|
55
|
+
function ____exports.getCollectibles(collectibleType)
|
|
56
56
|
if collectibleType == nil then
|
|
57
57
|
collectibleType = -1
|
|
58
58
|
end
|
|
59
|
-
return getPickups(
|
|
59
|
+
return getPickups(PickupVariant.COLLECTIBLE, collectibleType)
|
|
60
60
|
end
|
|
61
61
|
--- Helper function to get all of the heart pickup entities in the room.
|
|
62
62
|
--
|
|
63
63
|
-- @param heartSubType Optional. If specified, will only get the hearts that match the sub-type.
|
|
64
64
|
-- Default is -1, which matches every sub-type.
|
|
65
|
-
function ____exports.getHearts(
|
|
65
|
+
function ____exports.getHearts(heartSubType)
|
|
66
66
|
if heartSubType == nil then
|
|
67
67
|
heartSubType = -1
|
|
68
68
|
end
|
|
69
|
-
return getPickups(
|
|
69
|
+
return getPickups(PickupVariant.HEART, heartSubType)
|
|
70
70
|
end
|
|
71
71
|
--- Helper function to get all of the key pickup entities in the room.
|
|
72
72
|
--
|
|
73
73
|
-- @param keySubType Optional. If specified, will only get the keys that match the sub-type. Default
|
|
74
74
|
-- is -1, which matches every sub-type.
|
|
75
|
-
function ____exports.getKeys(
|
|
75
|
+
function ____exports.getKeys(keySubType)
|
|
76
76
|
if keySubType == nil then
|
|
77
77
|
keySubType = -1
|
|
78
78
|
end
|
|
79
|
-
return getPickups(
|
|
79
|
+
return getPickups(PickupVariant.KEY, keySubType)
|
|
80
80
|
end
|
|
81
81
|
--- Helper function to get all of the pill entities in the room.
|
|
82
82
|
--
|
|
83
83
|
-- @param pillColor Optional. If specified, will only get the pills that match the sub-type. Default
|
|
84
84
|
-- is -1, which matches every sub-type.
|
|
85
|
-
function ____exports.getPills(
|
|
85
|
+
function ____exports.getPills(pillColor)
|
|
86
86
|
if pillColor == nil then
|
|
87
87
|
pillColor = -1
|
|
88
88
|
end
|
|
89
|
-
return getPickups(
|
|
89
|
+
return getPickups(PickupVariant.PILL, pillColor)
|
|
90
90
|
end
|
|
91
91
|
--- Helper function to get all of the sack (i.e. grab bag) entities in the room.
|
|
92
92
|
--
|
|
93
93
|
-- @param sackSubType Optional. If specified, will only get the sacks that match the sub-type.
|
|
94
94
|
-- Default is -1, which matches every sub-type.
|
|
95
|
-
function ____exports.getSacks(
|
|
95
|
+
function ____exports.getSacks(sackSubType)
|
|
96
96
|
if sackSubType == nil then
|
|
97
97
|
sackSubType = -1
|
|
98
98
|
end
|
|
99
|
-
return getPickups(
|
|
99
|
+
return getPickups(PickupVariant.SACK, sackSubType)
|
|
100
100
|
end
|
|
101
101
|
--- Helper function to get all of the trinket entities in the room.
|
|
102
102
|
--
|
|
103
103
|
-- @param trinketType Optional. If specified, will only get the trinkets that match the sub-type.
|
|
104
104
|
-- Default is -1, which matches every sub-type.
|
|
105
|
-
function ____exports.getTrinkets(
|
|
105
|
+
function ____exports.getTrinkets(trinketType)
|
|
106
106
|
if trinketType == nil then
|
|
107
107
|
trinketType = -1
|
|
108
108
|
end
|
|
109
|
-
return getPickups(
|
|
109
|
+
return getPickups(PickupVariant.TRINKET, trinketType)
|
|
110
110
|
end
|
|
111
111
|
--- Helper function to remove all of the batteries in the room.
|
|
112
112
|
--
|
|
@@ -114,11 +114,11 @@ end
|
|
|
114
114
|
-- sub-type. Default is -1, which matches every sub-type.
|
|
115
115
|
-- @param cap Optional. If specified, will only remove the given amount of cards.
|
|
116
116
|
-- @returns The batteries that were removed.
|
|
117
|
-
function ____exports.removeAllBatteries(
|
|
117
|
+
function ____exports.removeAllBatteries(batterySubType, cap)
|
|
118
118
|
if batterySubType == nil then
|
|
119
119
|
batterySubType = -1
|
|
120
120
|
end
|
|
121
|
-
return removeAllPickups(
|
|
121
|
+
return removeAllPickups(PickupVariant.LIL_BATTERY, batterySubType, cap)
|
|
122
122
|
end
|
|
123
123
|
--- Helper function to remove all of the bomb pickups in the room. (Specifically, this refers to bomb
|
|
124
124
|
-- pickups, not the `EntityBomb` class.)
|
|
@@ -127,11 +127,11 @@ end
|
|
|
127
127
|
-- Default is -1, which matches every sub-type.
|
|
128
128
|
-- @param cap Optional. If specified, will only remove the given amount of bombs.
|
|
129
129
|
-- @returns The bombs that were removed.
|
|
130
|
-
function ____exports.removeAllBombPickups(
|
|
130
|
+
function ____exports.removeAllBombPickups(bombSubType, cap)
|
|
131
131
|
if bombSubType == nil then
|
|
132
132
|
bombSubType = -1
|
|
133
133
|
end
|
|
134
|
-
return removeAllPickups(
|
|
134
|
+
return removeAllPickups(PickupVariant.BOMB, bombSubType, cap)
|
|
135
135
|
end
|
|
136
136
|
--- Helper function to remove all of the cards in the room.
|
|
137
137
|
--
|
|
@@ -139,11 +139,11 @@ end
|
|
|
139
139
|
-- is -1, which matches every sub-type.
|
|
140
140
|
-- @param cap Optional. If specified, will only remove the given amount of cards.
|
|
141
141
|
-- @returns The cards that were removed.
|
|
142
|
-
function ____exports.removeAllCards(
|
|
142
|
+
function ____exports.removeAllCards(cardType, cap)
|
|
143
143
|
if cardType == nil then
|
|
144
144
|
cardType = -1
|
|
145
145
|
end
|
|
146
|
-
return removeAllPickups(
|
|
146
|
+
return removeAllPickups(PickupVariant.TAROT_CARD, cardType, cap)
|
|
147
147
|
end
|
|
148
148
|
--- Helper function to remove all of the coins in the room.
|
|
149
149
|
--
|
|
@@ -151,8 +151,8 @@ end
|
|
|
151
151
|
-- Default is -1, which matches every sub-type.
|
|
152
152
|
-- @param cap Optional. If specified, will only remove the given amount of coins.
|
|
153
153
|
-- @returns The coins that were removed.
|
|
154
|
-
function ____exports.removeAllCoins(
|
|
155
|
-
return removeAllPickups(
|
|
154
|
+
function ____exports.removeAllCoins(coinSubType, cap)
|
|
155
|
+
return removeAllPickups(PickupVariant.COIN, coinSubType, cap)
|
|
156
156
|
end
|
|
157
157
|
--- Helper function to remove all of the collectibles in the room.
|
|
158
158
|
--
|
|
@@ -160,8 +160,8 @@ end
|
|
|
160
160
|
-- sub-type. Default is -1, which matches every sub-type.
|
|
161
161
|
-- @param cap Optional. If specified, will only remove the given amount of collectibles.
|
|
162
162
|
-- @returns The collectibles that were removed.
|
|
163
|
-
function ____exports.removeAllCollectibles(
|
|
164
|
-
return removeAllPickups(
|
|
163
|
+
function ____exports.removeAllCollectibles(collectibleType, cap)
|
|
164
|
+
return removeAllPickups(PickupVariant.COLLECTIBLE, collectibleType, cap)
|
|
165
165
|
end
|
|
166
166
|
--- Helper function to remove all of the heart pickup entities in the room.
|
|
167
167
|
--
|
|
@@ -169,8 +169,8 @@ end
|
|
|
169
169
|
-- Default is -1, which matches every sub-type.
|
|
170
170
|
-- @param cap Optional. If specified, will only remove the given amount of hearts.
|
|
171
171
|
-- @returns The hearts that were removed.
|
|
172
|
-
function ____exports.removeAllHearts(
|
|
173
|
-
return removeAllPickups(
|
|
172
|
+
function ____exports.removeAllHearts(heartSubType, cap)
|
|
173
|
+
return removeAllPickups(PickupVariant.HEART, heartSubType, cap)
|
|
174
174
|
end
|
|
175
175
|
--- Helper function to remove all of the keys in the room.
|
|
176
176
|
--
|
|
@@ -178,8 +178,8 @@ end
|
|
|
178
178
|
-- is -1, which matches every sub-type.
|
|
179
179
|
-- @param cap Optional. If specified, will only remove the given amount of keys.
|
|
180
180
|
-- @returns The keys that were removed.
|
|
181
|
-
function ____exports.removeAllKeys(
|
|
182
|
-
return removeAllPickups(
|
|
181
|
+
function ____exports.removeAllKeys(keySubType, cap)
|
|
182
|
+
return removeAllPickups(PickupVariant.KEY, keySubType, cap)
|
|
183
183
|
end
|
|
184
184
|
--- Helper function to remove all of the pills in the room.
|
|
185
185
|
--
|
|
@@ -187,8 +187,8 @@ end
|
|
|
187
187
|
-- is -1, which matches every sub-type.
|
|
188
188
|
-- @param cap Optional. If specified, will only remove the given amount of pills.
|
|
189
189
|
-- @returns The pills that were removed.
|
|
190
|
-
function ____exports.removeAllPills(
|
|
191
|
-
return removeAllPickups(
|
|
190
|
+
function ____exports.removeAllPills(pillColor, cap)
|
|
191
|
+
return removeAllPickups(PickupVariant.PILL, pillColor, cap)
|
|
192
192
|
end
|
|
193
193
|
--- Helper function to remove all of the sacks (i.e. grab bags) in the room.
|
|
194
194
|
--
|
|
@@ -196,8 +196,8 @@ end
|
|
|
196
196
|
-- Default is -1, which matches every sub-type.
|
|
197
197
|
-- @param cap Optional. If specified, will only remove the given amount of sacks.
|
|
198
198
|
-- @returns The sacks that were removed.
|
|
199
|
-
function ____exports.removeAllSacks(
|
|
200
|
-
return removeAllPickups(
|
|
199
|
+
function ____exports.removeAllSacks(sackSubType, cap)
|
|
200
|
+
return removeAllPickups(PickupVariant.TRINKET, sackSubType, cap)
|
|
201
201
|
end
|
|
202
202
|
--- Helper function to remove all of the trinkets in the room.
|
|
203
203
|
--
|
|
@@ -205,11 +205,11 @@ end
|
|
|
205
205
|
-- Default is -1, which matches every sub-type.
|
|
206
206
|
-- @param cap Optional. If specified, will only remove the given amount of trinkets.
|
|
207
207
|
-- @returns The trinkets that were removed.
|
|
208
|
-
function ____exports.removeAllTrinkets(
|
|
209
|
-
return removeAllPickups(
|
|
208
|
+
function ____exports.removeAllTrinkets(trinketType, cap)
|
|
209
|
+
return removeAllPickups(PickupVariant.TRINKET, trinketType, cap)
|
|
210
210
|
end
|
|
211
211
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.LIL_BATTERY` (90).
|
|
212
|
-
function ____exports.spawnBattery(
|
|
212
|
+
function ____exports.spawnBattery(batterySubType, position, velocity, spawner, seedOrRNG)
|
|
213
213
|
if velocity == nil then
|
|
214
214
|
velocity = VectorZero
|
|
215
215
|
end
|
|
@@ -220,7 +220,6 @@ function ____exports.spawnBattery(self, batterySubType, position, velocity, spaw
|
|
|
220
220
|
seedOrRNG = nil
|
|
221
221
|
end
|
|
222
222
|
return spawnPickup(
|
|
223
|
-
nil,
|
|
224
223
|
PickupVariant.LIL_BATTERY,
|
|
225
224
|
batterySubType,
|
|
226
225
|
position,
|
|
@@ -231,7 +230,7 @@ function ____exports.spawnBattery(self, batterySubType, position, velocity, spaw
|
|
|
231
230
|
end
|
|
232
231
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.LIL_BATTERY` (90)
|
|
233
232
|
-- and a specific seed.
|
|
234
|
-
function ____exports.spawnBatteryWithSeed(
|
|
233
|
+
function ____exports.spawnBatteryWithSeed(batterySubType, position, seedOrRNG, velocity, spawner)
|
|
235
234
|
if velocity == nil then
|
|
236
235
|
velocity = VectorZero
|
|
237
236
|
end
|
|
@@ -239,7 +238,6 @@ function ____exports.spawnBatteryWithSeed(self, batterySubType, position, seedOr
|
|
|
239
238
|
spawner = nil
|
|
240
239
|
end
|
|
241
240
|
return ____exports.spawnBattery(
|
|
242
|
-
nil,
|
|
243
241
|
batterySubType,
|
|
244
242
|
position,
|
|
245
243
|
velocity,
|
|
@@ -248,7 +246,7 @@ function ____exports.spawnBatteryWithSeed(self, batterySubType, position, seedOr
|
|
|
248
246
|
)
|
|
249
247
|
end
|
|
250
248
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.BOMB` (40).
|
|
251
|
-
function ____exports.spawnBombPickup(
|
|
249
|
+
function ____exports.spawnBombPickup(bombSubType, position, velocity, spawner, seedOrRNG)
|
|
252
250
|
if velocity == nil then
|
|
253
251
|
velocity = VectorZero
|
|
254
252
|
end
|
|
@@ -259,7 +257,6 @@ function ____exports.spawnBombPickup(self, bombSubType, position, velocity, spaw
|
|
|
259
257
|
seedOrRNG = nil
|
|
260
258
|
end
|
|
261
259
|
return spawnPickup(
|
|
262
|
-
nil,
|
|
263
260
|
PickupVariant.BOMB,
|
|
264
261
|
bombSubType,
|
|
265
262
|
position,
|
|
@@ -270,7 +267,7 @@ function ____exports.spawnBombPickup(self, bombSubType, position, velocity, spaw
|
|
|
270
267
|
end
|
|
271
268
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.BOMB` (40) and a
|
|
272
269
|
-- specific seed.
|
|
273
|
-
function ____exports.spawnBombPickupWithSeed(
|
|
270
|
+
function ____exports.spawnBombPickupWithSeed(bombSubType, position, seedOrRNG, velocity, spawner)
|
|
274
271
|
if velocity == nil then
|
|
275
272
|
velocity = VectorZero
|
|
276
273
|
end
|
|
@@ -278,7 +275,6 @@ function ____exports.spawnBombPickupWithSeed(self, bombSubType, position, seedOr
|
|
|
278
275
|
spawner = nil
|
|
279
276
|
end
|
|
280
277
|
return ____exports.spawnBombPickup(
|
|
281
|
-
nil,
|
|
282
278
|
bombSubType,
|
|
283
279
|
position,
|
|
284
280
|
velocity,
|
|
@@ -287,7 +283,7 @@ function ____exports.spawnBombPickupWithSeed(self, bombSubType, position, seedOr
|
|
|
287
283
|
)
|
|
288
284
|
end
|
|
289
285
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TAROT_CARD` (300).
|
|
290
|
-
function ____exports.spawnCard(
|
|
286
|
+
function ____exports.spawnCard(cardType, position, velocity, spawner, seedOrRNG)
|
|
291
287
|
if velocity == nil then
|
|
292
288
|
velocity = VectorZero
|
|
293
289
|
end
|
|
@@ -298,7 +294,6 @@ function ____exports.spawnCard(self, cardType, position, velocity, spawner, seed
|
|
|
298
294
|
seedOrRNG = nil
|
|
299
295
|
end
|
|
300
296
|
return spawnPickup(
|
|
301
|
-
nil,
|
|
302
297
|
PickupVariant.TAROT_CARD,
|
|
303
298
|
cardType,
|
|
304
299
|
position,
|
|
@@ -309,7 +304,7 @@ function ____exports.spawnCard(self, cardType, position, velocity, spawner, seed
|
|
|
309
304
|
end
|
|
310
305
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TAROT_CARD` (300)
|
|
311
306
|
-- and a specific seed.
|
|
312
|
-
function ____exports.spawnCardWithSeed(
|
|
307
|
+
function ____exports.spawnCardWithSeed(cardType, position, seedOrRNG, velocity, spawner)
|
|
313
308
|
if velocity == nil then
|
|
314
309
|
velocity = VectorZero
|
|
315
310
|
end
|
|
@@ -317,7 +312,6 @@ function ____exports.spawnCardWithSeed(self, cardType, position, seedOrRNG, velo
|
|
|
317
312
|
spawner = nil
|
|
318
313
|
end
|
|
319
314
|
return ____exports.spawnCard(
|
|
320
|
-
nil,
|
|
321
315
|
cardType,
|
|
322
316
|
position,
|
|
323
317
|
velocity,
|
|
@@ -326,7 +320,7 @@ function ____exports.spawnCardWithSeed(self, cardType, position, seedOrRNG, velo
|
|
|
326
320
|
)
|
|
327
321
|
end
|
|
328
322
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.COIN` (20).
|
|
329
|
-
function ____exports.spawnCoin(
|
|
323
|
+
function ____exports.spawnCoin(coinSubType, position, velocity, spawner, seedOrRNG)
|
|
330
324
|
if velocity == nil then
|
|
331
325
|
velocity = VectorZero
|
|
332
326
|
end
|
|
@@ -337,7 +331,6 @@ function ____exports.spawnCoin(self, coinSubType, position, velocity, spawner, s
|
|
|
337
331
|
seedOrRNG = nil
|
|
338
332
|
end
|
|
339
333
|
return spawnPickup(
|
|
340
|
-
nil,
|
|
341
334
|
PickupVariant.COIN,
|
|
342
335
|
coinSubType,
|
|
343
336
|
position,
|
|
@@ -348,7 +341,7 @@ function ____exports.spawnCoin(self, coinSubType, position, velocity, spawner, s
|
|
|
348
341
|
end
|
|
349
342
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.COIN` (20) and a
|
|
350
343
|
-- specific seed.
|
|
351
|
-
function ____exports.spawnCoinWithSeed(
|
|
344
|
+
function ____exports.spawnCoinWithSeed(coinSubType, position, seedOrRNG, velocity, spawner)
|
|
352
345
|
if velocity == nil then
|
|
353
346
|
velocity = VectorZero
|
|
354
347
|
end
|
|
@@ -356,7 +349,6 @@ function ____exports.spawnCoinWithSeed(self, coinSubType, position, seedOrRNG, v
|
|
|
356
349
|
spawner = nil
|
|
357
350
|
end
|
|
358
351
|
return ____exports.spawnCoin(
|
|
359
|
-
nil,
|
|
360
352
|
coinSubType,
|
|
361
353
|
position,
|
|
362
354
|
velocity,
|
|
@@ -365,7 +357,7 @@ function ____exports.spawnCoinWithSeed(self, coinSubType, position, seedOrRNG, v
|
|
|
365
357
|
)
|
|
366
358
|
end
|
|
367
359
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.HEART` (10).
|
|
368
|
-
function ____exports.spawnHeart(
|
|
360
|
+
function ____exports.spawnHeart(heartSubType, position, velocity, spawner, seedOrRNG)
|
|
369
361
|
if velocity == nil then
|
|
370
362
|
velocity = VectorZero
|
|
371
363
|
end
|
|
@@ -376,7 +368,6 @@ function ____exports.spawnHeart(self, heartSubType, position, velocity, spawner,
|
|
|
376
368
|
seedOrRNG = nil
|
|
377
369
|
end
|
|
378
370
|
return spawnPickup(
|
|
379
|
-
nil,
|
|
380
371
|
PickupVariant.HEART,
|
|
381
372
|
heartSubType,
|
|
382
373
|
position,
|
|
@@ -385,7 +376,7 @@ function ____exports.spawnHeart(self, heartSubType, position, velocity, spawner,
|
|
|
385
376
|
seedOrRNG
|
|
386
377
|
)
|
|
387
378
|
end
|
|
388
|
-
function ____exports.spawnHeartWithSeed(
|
|
379
|
+
function ____exports.spawnHeartWithSeed(heartSubType, position, seedOrRNG, velocity, spawner)
|
|
389
380
|
if velocity == nil then
|
|
390
381
|
velocity = VectorZero
|
|
391
382
|
end
|
|
@@ -393,7 +384,6 @@ function ____exports.spawnHeartWithSeed(self, heartSubType, position, seedOrRNG,
|
|
|
393
384
|
spawner = nil
|
|
394
385
|
end
|
|
395
386
|
return ____exports.spawnHeart(
|
|
396
|
-
nil,
|
|
397
387
|
heartSubType,
|
|
398
388
|
position,
|
|
399
389
|
velocity,
|
|
@@ -402,7 +392,7 @@ function ____exports.spawnHeartWithSeed(self, heartSubType, position, seedOrRNG,
|
|
|
402
392
|
)
|
|
403
393
|
end
|
|
404
394
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.KEY` (30).
|
|
405
|
-
function ____exports.spawnKey(
|
|
395
|
+
function ____exports.spawnKey(keySubType, position, velocity, spawner, seedOrRNG)
|
|
406
396
|
if velocity == nil then
|
|
407
397
|
velocity = VectorZero
|
|
408
398
|
end
|
|
@@ -413,7 +403,6 @@ function ____exports.spawnKey(self, keySubType, position, velocity, spawner, see
|
|
|
413
403
|
seedOrRNG = nil
|
|
414
404
|
end
|
|
415
405
|
return spawnPickup(
|
|
416
|
-
nil,
|
|
417
406
|
PickupVariant.KEY,
|
|
418
407
|
keySubType,
|
|
419
408
|
position,
|
|
@@ -424,7 +413,7 @@ function ____exports.spawnKey(self, keySubType, position, velocity, spawner, see
|
|
|
424
413
|
end
|
|
425
414
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.KEY` (30) and a
|
|
426
415
|
-- specific seed.
|
|
427
|
-
function ____exports.spawnKeyWithSeed(
|
|
416
|
+
function ____exports.spawnKeyWithSeed(keySubType, position, seedOrRNG, velocity, spawner)
|
|
428
417
|
if velocity == nil then
|
|
429
418
|
velocity = VectorZero
|
|
430
419
|
end
|
|
@@ -432,7 +421,6 @@ function ____exports.spawnKeyWithSeed(self, keySubType, position, seedOrRNG, vel
|
|
|
432
421
|
spawner = nil
|
|
433
422
|
end
|
|
434
423
|
return ____exports.spawnKey(
|
|
435
|
-
nil,
|
|
436
424
|
keySubType,
|
|
437
425
|
position,
|
|
438
426
|
velocity,
|
|
@@ -441,7 +429,7 @@ function ____exports.spawnKeyWithSeed(self, keySubType, position, seedOrRNG, vel
|
|
|
441
429
|
)
|
|
442
430
|
end
|
|
443
431
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.PILL` (70).
|
|
444
|
-
function ____exports.spawnPill(
|
|
432
|
+
function ____exports.spawnPill(pillColor, position, velocity, spawner, seedOrRNG)
|
|
445
433
|
if velocity == nil then
|
|
446
434
|
velocity = VectorZero
|
|
447
435
|
end
|
|
@@ -452,7 +440,6 @@ function ____exports.spawnPill(self, pillColor, position, velocity, spawner, see
|
|
|
452
440
|
seedOrRNG = nil
|
|
453
441
|
end
|
|
454
442
|
return spawnPickup(
|
|
455
|
-
nil,
|
|
456
443
|
PickupVariant.PILL,
|
|
457
444
|
pillColor,
|
|
458
445
|
position,
|
|
@@ -463,7 +450,7 @@ function ____exports.spawnPill(self, pillColor, position, velocity, spawner, see
|
|
|
463
450
|
end
|
|
464
451
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.PILL` (70) and a
|
|
465
452
|
-- specific seed.
|
|
466
|
-
function ____exports.spawnPillWithSeed(
|
|
453
|
+
function ____exports.spawnPillWithSeed(pillColor, position, seedOrRNG, velocity, spawner)
|
|
467
454
|
if velocity == nil then
|
|
468
455
|
velocity = VectorZero
|
|
469
456
|
end
|
|
@@ -471,7 +458,6 @@ function ____exports.spawnPillWithSeed(self, pillColor, position, seedOrRNG, vel
|
|
|
471
458
|
spawner = nil
|
|
472
459
|
end
|
|
473
460
|
return ____exports.spawnPill(
|
|
474
|
-
nil,
|
|
475
461
|
pillColor,
|
|
476
462
|
position,
|
|
477
463
|
velocity,
|
|
@@ -480,7 +466,7 @@ function ____exports.spawnPillWithSeed(self, pillColor, position, seedOrRNG, vel
|
|
|
480
466
|
)
|
|
481
467
|
end
|
|
482
468
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.SACK` (69).
|
|
483
|
-
function ____exports.spawnSack(
|
|
469
|
+
function ____exports.spawnSack(sackSubType, position, velocity, spawner, seedOrRNG)
|
|
484
470
|
if velocity == nil then
|
|
485
471
|
velocity = VectorZero
|
|
486
472
|
end
|
|
@@ -491,7 +477,6 @@ function ____exports.spawnSack(self, sackSubType, position, velocity, spawner, s
|
|
|
491
477
|
seedOrRNG = nil
|
|
492
478
|
end
|
|
493
479
|
return spawnPickup(
|
|
494
|
-
nil,
|
|
495
480
|
PickupVariant.SACK,
|
|
496
481
|
sackSubType,
|
|
497
482
|
position,
|
|
@@ -502,7 +487,7 @@ function ____exports.spawnSack(self, sackSubType, position, velocity, spawner, s
|
|
|
502
487
|
end
|
|
503
488
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.SACK` (69) and a
|
|
504
489
|
-- specific seed.
|
|
505
|
-
function ____exports.spawnSackWithSeed(
|
|
490
|
+
function ____exports.spawnSackWithSeed(sackSubType, position, seedOrRNG, velocity, spawner)
|
|
506
491
|
if velocity == nil then
|
|
507
492
|
velocity = VectorZero
|
|
508
493
|
end
|
|
@@ -510,7 +495,6 @@ function ____exports.spawnSackWithSeed(self, sackSubType, position, seedOrRNG, v
|
|
|
510
495
|
spawner = nil
|
|
511
496
|
end
|
|
512
497
|
return ____exports.spawnSack(
|
|
513
|
-
nil,
|
|
514
498
|
sackSubType,
|
|
515
499
|
position,
|
|
516
500
|
velocity,
|
|
@@ -519,7 +503,7 @@ function ____exports.spawnSackWithSeed(self, sackSubType, position, seedOrRNG, v
|
|
|
519
503
|
)
|
|
520
504
|
end
|
|
521
505
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TRINKET` (350).
|
|
522
|
-
function ____exports.spawnTrinket(
|
|
506
|
+
function ____exports.spawnTrinket(trinketType, position, velocity, spawner, seedOrRNG)
|
|
523
507
|
if velocity == nil then
|
|
524
508
|
velocity = VectorZero
|
|
525
509
|
end
|
|
@@ -530,7 +514,6 @@ function ____exports.spawnTrinket(self, trinketType, position, velocity, spawner
|
|
|
530
514
|
seedOrRNG = nil
|
|
531
515
|
end
|
|
532
516
|
return spawnPickup(
|
|
533
|
-
nil,
|
|
534
517
|
PickupVariant.TRINKET,
|
|
535
518
|
trinketType,
|
|
536
519
|
position,
|
|
@@ -541,7 +524,7 @@ function ____exports.spawnTrinket(self, trinketType, position, velocity, spawner
|
|
|
541
524
|
end
|
|
542
525
|
--- Helper function to spawn a `EntityType.PICKUP` (5) with variant `PickupVariant.TRINKET` (350) and
|
|
543
526
|
-- a specific seed.
|
|
544
|
-
function ____exports.spawnTrinketWithSeed(
|
|
527
|
+
function ____exports.spawnTrinketWithSeed(trinketType, position, seedOrRNG, velocity, spawner)
|
|
545
528
|
if velocity == nil then
|
|
546
529
|
velocity = VectorZero
|
|
547
530
|
end
|
|
@@ -549,7 +532,6 @@ function ____exports.spawnTrinketWithSeed(self, trinketType, position, seedOrRNG
|
|
|
549
532
|
spawner = nil
|
|
550
533
|
end
|
|
551
534
|
return ____exports.spawnTrinket(
|
|
552
|
-
nil,
|
|
553
535
|
trinketType,
|
|
554
536
|
position,
|
|
555
537
|
velocity,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pills.d.ts","sourceRoot":"","sources":["../../src/functions/pills.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,SAAS,EACT,UAAU,EACX,MAAM,8BAA8B,CAAC;AAqCtC;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,SAAS,EAAE,CAI9C;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAGxE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,CAEjE;AAED,4EAA4E;AAC5E,wBAAgB,kBAAkB,IAAI,SAAS,EAAE,CAEhD;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,CAM3E;AAED,oFAAoF;AACpF,wBAAgB,mBAAmB,IAAI,SAAS,EAAE,CAEjD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAGnE;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,UAAU,GACrB,yBAAyB,CAS3B;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAgBhE;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,UAAU,GACrB,wBAAwB,CAS1B;AAED,sEAAsE;AACtE,wBAAgB,qBAAqB,IAAI,UAAU,EAAE,CAEpD;AAED,wBAAgB,WAAW,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAEzD;AAED,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAElE;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAEnE"}
|
|
1
|
+
{"version":3,"file":"pills.d.ts","sourceRoot":"","sources":["../../src/functions/pills.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,SAAS,EACT,UAAU,EACX,MAAM,8BAA8B,CAAC;AAqCtC;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,SAAS,EAAE,CAI9C;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAGxE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,CAEjE;AAED,4EAA4E;AAC5E,wBAAgB,kBAAkB,IAAI,SAAS,EAAE,CAEhD;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,CAM3E;AAED,oFAAoF;AACpF,wBAAgB,mBAAmB,IAAI,SAAS,EAAE,CAEjD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAGnE;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,UAAU,GACrB,yBAAyB,CAS3B;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAgBhE;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,UAAU,GACrB,wBAAwB,CAS1B;AAED,sEAAsE;AACtE,wBAAgB,qBAAqB,IAAI,UAAU,EAAE,CAEpD;AAED,wBAAgB,WAAW,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAEzD;AAED,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAElE;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAEnE"}
|
package/dist/functions/pills.lua
CHANGED
|
@@ -32,7 +32,7 @@ local asNumber = ____types.asNumber
|
|
|
32
32
|
local asPillColor = ____types.asPillColor
|
|
33
33
|
local ____utils = require("functions.utils")
|
|
34
34
|
local irange = ____utils.irange
|
|
35
|
-
function ____exports.isVanillaPillEffect(
|
|
35
|
+
function ____exports.isVanillaPillEffect(pillEffect)
|
|
36
36
|
return pillEffect <= LAST_VANILLA_PILL_EFFECT
|
|
37
37
|
end
|
|
38
38
|
--- Add this to a `PillColor` to get the corresponding giant pill color.
|
|
@@ -43,14 +43,14 @@ end
|
|
|
43
43
|
local HORSE_PILL_ADJUSTMENT = 2048
|
|
44
44
|
--- Helper function to get an array with every non-null pill color. This includes all gold colors and
|
|
45
45
|
-- all horse colors.
|
|
46
|
-
function ____exports.getAllPillColors(
|
|
47
|
-
local pillColors = getEnumValues(
|
|
46
|
+
function ____exports.getAllPillColors()
|
|
47
|
+
local pillColors = getEnumValues(PillColor)
|
|
48
48
|
__TS__ArraySlice(pillColors)
|
|
49
49
|
return pillColors
|
|
50
50
|
end
|
|
51
51
|
--- Helper function to get the associated pill effect after False PHD is acquired. If a pill effect
|
|
52
52
|
-- is not altered by False PHD, then the same pill effect will be returned.
|
|
53
|
-
function ____exports.getFalsePHDPillEffect(
|
|
53
|
+
function ____exports.getFalsePHDPillEffect(pillEffect)
|
|
54
54
|
local convertedPillEffect = FALSE_PHD_PILL_CONVERSIONS:get(pillEffect)
|
|
55
55
|
return convertedPillEffect == nil and pillEffect or convertedPillEffect
|
|
56
56
|
end
|
|
@@ -58,32 +58,29 @@ end
|
|
|
58
58
|
--
|
|
59
59
|
-- For example, passing `PillColor.BLUE_BLUE` would result in 2049, which is the value that
|
|
60
60
|
-- corresponds to the horse pill color for blue/blue.
|
|
61
|
-
function ____exports.getHorsePillColor(
|
|
62
|
-
return asNumber(
|
|
61
|
+
function ____exports.getHorsePillColor(pillColor)
|
|
62
|
+
return asNumber(pillColor) + HORSE_PILL_ADJUSTMENT
|
|
63
63
|
end
|
|
64
64
|
--- Helper function to get an array with every non-gold horse pill color.
|
|
65
|
-
function ____exports.getHorsePillColors(
|
|
66
|
-
return irange(
|
|
65
|
+
function ____exports.getHorsePillColors()
|
|
66
|
+
return irange(FIRST_HORSE_PILL_COLOR, LAST_HORSE_PILL_COLOR)
|
|
67
67
|
end
|
|
68
68
|
--- Helper function to get the corresponding normal pill color from a horse pill color.
|
|
69
69
|
--
|
|
70
70
|
-- For example, passing 2049 would result in `PillColor.BLUE_BLUE`.
|
|
71
71
|
--
|
|
72
72
|
-- If called with a non-horse pill color, this function will return back the same color.
|
|
73
|
-
function ____exports.getNormalPillColorFromHorse(
|
|
74
|
-
local normalPillColor = asPillColor(
|
|
75
|
-
nil,
|
|
76
|
-
asNumber(nil, pillColor) - HORSE_PILL_ADJUSTMENT
|
|
77
|
-
)
|
|
73
|
+
function ____exports.getNormalPillColorFromHorse(pillColor)
|
|
74
|
+
local normalPillColor = asPillColor(asNumber(pillColor) - HORSE_PILL_ADJUSTMENT)
|
|
78
75
|
return normalPillColor > PillColor.NULL and normalPillColor or pillColor
|
|
79
76
|
end
|
|
80
77
|
--- Helper function to get an array with every non-gold and non-horse pill color.
|
|
81
|
-
function ____exports.getNormalPillColors(
|
|
82
|
-
return irange(
|
|
78
|
+
function ____exports.getNormalPillColors()
|
|
79
|
+
return irange(FIRST_PILL_COLOR, LAST_NORMAL_PILL_COLOR)
|
|
83
80
|
end
|
|
84
81
|
--- Helper function to get the associated pill effect after PHD is acquired. If a pill effect is not
|
|
85
82
|
-- altered by PHD, then the same pill effect will be returned.
|
|
86
|
-
function ____exports.getPHDPillEffect(
|
|
83
|
+
function ____exports.getPHDPillEffect(pillEffect)
|
|
87
84
|
local convertedPillEffect = PHD_PILL_CONVERSIONS:get(pillEffect)
|
|
88
85
|
return convertedPillEffect == nil and pillEffect or convertedPillEffect
|
|
89
86
|
end
|
|
@@ -94,14 +91,14 @@ end
|
|
|
94
91
|
--
|
|
95
92
|
-- Due to limitations in the API, this function will not work properly for modded pill effects, and
|
|
96
93
|
-- will always return `DEFAULT_PILL_EFFECT_CLASS` in those cases.
|
|
97
|
-
function ____exports.getPillEffectClass(
|
|
94
|
+
function ____exports.getPillEffectClass(pillEffect)
|
|
98
95
|
local pillEffectClass = PILL_EFFECT_CLASSES[pillEffect]
|
|
99
96
|
return pillEffectClass == nil and DEFAULT_PILL_EFFECT_CLASS or pillEffectClass
|
|
100
97
|
end
|
|
101
98
|
--- Helper function to get a pill effect name from a PillEffect enum value.
|
|
102
99
|
--
|
|
103
100
|
-- For example, `getPillEffectName(PillEffect.BAD_GAS)` would return "Bad Gas".
|
|
104
|
-
function ____exports.getPillEffectName(
|
|
101
|
+
function ____exports.getPillEffectName(pillEffect)
|
|
105
102
|
local pillEffectName = PILL_EFFECT_NAMES[pillEffect]
|
|
106
103
|
if pillEffectName ~= nil then
|
|
107
104
|
return pillEffectName
|
|
@@ -119,18 +116,18 @@ end
|
|
|
119
116
|
--
|
|
120
117
|
-- Due to limitations in the API, this function will not work properly for modded pill effects, and
|
|
121
118
|
-- will always return `DEFAULT_PILL_EFFECT_TYPE` in those cases.
|
|
122
|
-
function ____exports.getPillEffectType(
|
|
119
|
+
function ____exports.getPillEffectType(pillEffect)
|
|
123
120
|
local pillEffectClass = PILL_EFFECT_TYPES[pillEffect]
|
|
124
121
|
return pillEffectClass == nil and DEFAULT_PILL_EFFECT_TYPE or pillEffectClass
|
|
125
122
|
end
|
|
126
123
|
--- Helper function to get an array with every vanilla pill effect.
|
|
127
|
-
function ____exports.getVanillaPillEffects(
|
|
128
|
-
return irange(
|
|
124
|
+
function ____exports.getVanillaPillEffects()
|
|
125
|
+
return irange(FIRST_PILL_EFFECT, LAST_VANILLA_PILL_EFFECT)
|
|
129
126
|
end
|
|
130
|
-
function ____exports.isHorsePill(
|
|
131
|
-
return asNumber(
|
|
127
|
+
function ____exports.isHorsePill(pillColor)
|
|
128
|
+
return asNumber(pillColor) > HORSE_PILL_ADJUSTMENT
|
|
132
129
|
end
|
|
133
|
-
function ____exports.isModdedPillEffect(
|
|
134
|
-
return not ____exports.isVanillaPillEffect(
|
|
130
|
+
function ____exports.isModdedPillEffect(pillEffect)
|
|
131
|
+
return not ____exports.isVanillaPillEffect(pillEffect)
|
|
135
132
|
end
|
|
136
133
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playerCenter.d.ts","sourceRoot":"","sources":["../../src/functions/playerCenter.ts"],"names":[],"mappings":"AAYA;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAqC1C"}
|
|
1
|
+
{"version":3,"file":"playerCenter.d.ts","sourceRoot":"","sources":["../../src/functions/playerCenter.ts"],"names":[],"mappings":";AAYA;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAqC1C"}
|