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
|
@@ -36,17 +36,17 @@ local clearSprite = ____sprites.clearSprite
|
|
|
36
36
|
local spriteEquals = ____sprites.spriteEquals
|
|
37
37
|
local ____utils = require("functions.utils")
|
|
38
38
|
local irange = ____utils.irange
|
|
39
|
-
function initQuestionMarkSprite(
|
|
39
|
+
function initQuestionMarkSprite()
|
|
40
40
|
local sprite = Sprite()
|
|
41
41
|
sprite:Load("gfx/005.100_collectible.anm2", false)
|
|
42
42
|
sprite:ReplaceSpritesheet(1, "gfx/items/collectibles/questionmark.png")
|
|
43
43
|
sprite:LoadGraphics()
|
|
44
44
|
return sprite
|
|
45
45
|
end
|
|
46
|
-
function ____exports.clearCollectibleSprite(
|
|
47
|
-
____exports.setCollectibleSprite(
|
|
46
|
+
function ____exports.clearCollectibleSprite(collectible)
|
|
47
|
+
____exports.setCollectibleSprite(collectible, nil)
|
|
48
48
|
end
|
|
49
|
-
function ____exports.isVanillaCollectibleType(
|
|
49
|
+
function ____exports.isVanillaCollectibleType(collectibleType)
|
|
50
50
|
return collectibleType <= LAST_VANILLA_COLLECTIBLE_TYPE
|
|
51
51
|
end
|
|
52
52
|
--- Helper function to remove the collectible from a collectible pedestal and make it appear as if a
|
|
@@ -54,13 +54,13 @@ end
|
|
|
54
54
|
-- `CollectibleType.NULL` and then setting the sprite to an empty/missing PNG file.
|
|
55
55
|
--
|
|
56
56
|
-- For more information, see the documentation for the "clearSprite" helper function.
|
|
57
|
-
function ____exports.setCollectibleEmpty(
|
|
58
|
-
if not isCollectible(
|
|
59
|
-
local entityID = getEntityID(
|
|
57
|
+
function ____exports.setCollectibleEmpty(collectible)
|
|
58
|
+
if not isCollectible(collectible) then
|
|
59
|
+
local entityID = getEntityID(collectible)
|
|
60
60
|
error("The \"setCollectibleEmpty\" function was given a non-collectible: " .. entityID)
|
|
61
61
|
end
|
|
62
62
|
collectible.SubType = CollectibleType.NULL
|
|
63
|
-
____exports.clearCollectibleSprite(
|
|
63
|
+
____exports.clearCollectibleSprite(collectible)
|
|
64
64
|
end
|
|
65
65
|
--- Helper function to change the sprite of a collectible pedestal entity.
|
|
66
66
|
--
|
|
@@ -72,14 +72,14 @@ end
|
|
|
72
72
|
-- "gfx/items/collectibles/collectibles_001_thesadonion.png") or undefined. If
|
|
73
73
|
-- undefined, the sprite will be removed, making it appear like the collectible has
|
|
74
74
|
-- already been taken by the player.
|
|
75
|
-
function ____exports.setCollectibleSprite(
|
|
76
|
-
if not isCollectible(
|
|
77
|
-
local entityID = getEntityID(
|
|
75
|
+
function ____exports.setCollectibleSprite(collectible, pngPath)
|
|
76
|
+
if not isCollectible(collectible) then
|
|
77
|
+
local entityID = getEntityID(collectible)
|
|
78
78
|
error("The \"setCollectibleSprite\" function was given a non-collectible: " .. entityID)
|
|
79
79
|
end
|
|
80
80
|
local sprite = collectible:GetSprite()
|
|
81
81
|
if pngPath == nil then
|
|
82
|
-
clearSprite(
|
|
82
|
+
clearSprite(sprite, COLLECTIBLE_SPRITE_LAYER, COLLECTIBLE_SHADOW_LAYER)
|
|
83
83
|
else
|
|
84
84
|
sprite:ReplaceSpritesheet(COLLECTIBLE_SPRITE_LAYER, pngPath)
|
|
85
85
|
sprite:LoadGraphics()
|
|
@@ -87,13 +87,13 @@ function ____exports.setCollectibleSprite(self, collectible, pngPath)
|
|
|
87
87
|
end
|
|
88
88
|
--- Helper function to change the collectible on a pedestal. Simply updating the `SubType` field is
|
|
89
89
|
-- not sufficient because the sprite will not change.
|
|
90
|
-
function ____exports.setCollectibleSubType(
|
|
91
|
-
if not isCollectible(
|
|
92
|
-
local entityID = getEntityID(
|
|
90
|
+
function ____exports.setCollectibleSubType(collectible, newCollectibleType)
|
|
91
|
+
if not isCollectible(collectible) then
|
|
92
|
+
local entityID = getEntityID(collectible)
|
|
93
93
|
error("The \"setCollectibleSubType\" function was given a non-collectible: " .. entityID)
|
|
94
94
|
end
|
|
95
95
|
if newCollectibleType == CollectibleType.NULL then
|
|
96
|
-
____exports.setCollectibleEmpty(
|
|
96
|
+
____exports.setCollectibleEmpty(collectible)
|
|
97
97
|
return
|
|
98
98
|
end
|
|
99
99
|
collectible:Morph(
|
|
@@ -109,9 +109,9 @@ local COLLECTIBLE_ANM2_PATH = "gfx/005.100_collectible.anm2"
|
|
|
109
109
|
COLLECTIBLE_SPRITE_LAYER = 1
|
|
110
110
|
COLLECTIBLE_SHADOW_LAYER = 4
|
|
111
111
|
local GLITCHED_ITEM_THRESHOLD = 4000000000
|
|
112
|
-
local questionMarkSprite = initQuestionMarkSprite(
|
|
112
|
+
local questionMarkSprite = initQuestionMarkSprite()
|
|
113
113
|
--- Helper function to check if two collectible sprites have the same sprite sheet loaded.
|
|
114
|
-
function ____exports.collectibleSpriteEquals(
|
|
114
|
+
function ____exports.collectibleSpriteEquals(sprite1, sprite2)
|
|
115
115
|
local xStart = -1
|
|
116
116
|
local xFinish = 1
|
|
117
117
|
local xIncrement = 1
|
|
@@ -119,7 +119,6 @@ function ____exports.collectibleSpriteEquals(self, sprite1, sprite2)
|
|
|
119
119
|
local yFinish = 10
|
|
120
120
|
local yIncrement = 3
|
|
121
121
|
return spriteEquals(
|
|
122
|
-
nil,
|
|
123
122
|
sprite1,
|
|
124
123
|
sprite2,
|
|
125
124
|
COLLECTIBLE_SPRITE_LAYER,
|
|
@@ -133,7 +132,7 @@ function ____exports.collectibleSpriteEquals(self, sprite1, sprite2)
|
|
|
133
132
|
end
|
|
134
133
|
--- Helper function to get the in-game description for a collectible. Returns "Unknown" if the
|
|
135
134
|
-- provided collectible type was not valid.
|
|
136
|
-
function ____exports.getCollectibleDescription(
|
|
135
|
+
function ____exports.getCollectibleDescription(collectibleType)
|
|
137
136
|
local collectibleDescription = COLLECTIBLE_DESCRIPTION_MAP:get(collectibleType)
|
|
138
137
|
if collectibleDescription ~= nil then
|
|
139
138
|
return collectibleDescription
|
|
@@ -146,7 +145,7 @@ function ____exports.getCollectibleDescription(self, collectibleType)
|
|
|
146
145
|
end
|
|
147
146
|
--- Helper function to get the coin cost that a collectible item would be if it were being offered in
|
|
148
147
|
-- a Devil Room deal. Returns 0 if passed `CollectibleType.NULL`.
|
|
149
|
-
function ____exports.getCollectibleDevilCoinPrice(
|
|
148
|
+
function ____exports.getCollectibleDevilCoinPrice(collectibleType)
|
|
150
149
|
if collectibleType == CollectibleType.NULL then
|
|
151
150
|
return 0
|
|
152
151
|
end
|
|
@@ -159,7 +158,7 @@ function ____exports.getCollectibleDevilCoinPrice(self, collectibleType)
|
|
|
159
158
|
end
|
|
160
159
|
--- Helper function to get the heart cost that a collectible item would be if it were being offered
|
|
161
160
|
-- in a Devil Room deal. Returns 0 if passed `CollectibleType.NULL`.
|
|
162
|
-
function ____exports.getCollectibleDevilHeartPrice(
|
|
161
|
+
function ____exports.getCollectibleDevilHeartPrice(collectibleType, player)
|
|
163
162
|
local maxHearts = player:GetMaxHearts()
|
|
164
163
|
if collectibleType == CollectibleType.NULL then
|
|
165
164
|
return 0
|
|
@@ -181,7 +180,7 @@ end
|
|
|
181
180
|
-- Note that this does not return the file name, but the full path to the collectible's PNG file.
|
|
182
181
|
-- The function is named "GfxFilename" to correspond to the associated `ItemConfigItem.GfxFileName`
|
|
183
182
|
-- field.
|
|
184
|
-
function ____exports.getCollectibleGfxFilename(
|
|
183
|
+
function ____exports.getCollectibleGfxFilename(collectibleType)
|
|
185
184
|
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
186
185
|
if itemConfigItem == nil then
|
|
187
186
|
return BLIND_ITEM_PNG_PATH
|
|
@@ -236,9 +235,9 @@ end
|
|
|
236
235
|
-- suitable for this purpose, since both of these values can change in the post-Ascent rooms.)
|
|
237
236
|
-- Even though Treasure Rooms and Boss Rooms are grouped together in this scheme, there probably
|
|
238
237
|
-- will not be collectibles with the same grid index, SubType, and InitSeed.
|
|
239
|
-
function ____exports.getCollectibleIndex(
|
|
240
|
-
if not isCollectible(
|
|
241
|
-
local entityID = getEntityID(
|
|
238
|
+
function ____exports.getCollectibleIndex(collectible)
|
|
239
|
+
if not isCollectible(collectible) then
|
|
240
|
+
local entityID = getEntityID(collectible)
|
|
242
241
|
error("The \"getCollectibleIndex\" function was given a non-collectible: " .. entityID)
|
|
243
242
|
end
|
|
244
243
|
local level = game:GetLevel()
|
|
@@ -247,7 +246,7 @@ function ____exports.getCollectibleIndex(self, collectible)
|
|
|
247
246
|
local room = game:GetRoom()
|
|
248
247
|
local roomType = room:GetType()
|
|
249
248
|
local gridIndex = room:GetGridIndex(collectible.Position)
|
|
250
|
-
local roomListIndex = getRoomListIndex(
|
|
249
|
+
local roomListIndex = getRoomListIndex()
|
|
251
250
|
if roomType == RoomType.TREASURE or roomType == RoomType.BOSS then
|
|
252
251
|
return (((((((tostring(stage) .. ",") .. tostring(stageType)) .. ",") .. tostring(gridIndex)) .. ",") .. tostring(collectible.SubType)) .. ",") .. tostring(collectible.InitSeed)
|
|
253
252
|
end
|
|
@@ -255,7 +254,7 @@ function ____exports.getCollectibleIndex(self, collectible)
|
|
|
255
254
|
end
|
|
256
255
|
--- Helper function to get the initial amount of charges that a collectible has. Returns 0 if the
|
|
257
256
|
-- provided collectible type was not valid.
|
|
258
|
-
function ____exports.getCollectibleInitCharge(
|
|
257
|
+
function ____exports.getCollectibleInitCharge(collectibleType)
|
|
259
258
|
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
260
259
|
if itemConfigItem == nil then
|
|
261
260
|
return 0
|
|
@@ -264,7 +263,7 @@ function ____exports.getCollectibleInitCharge(self, collectibleType)
|
|
|
264
263
|
end
|
|
265
264
|
--- Helper function to get the `ItemType` of a collectible. Returns `ItemType.ITEM_NULL` if the
|
|
266
265
|
-- provided collectible type was not valid.
|
|
267
|
-
function ____exports.getCollectibleItemType(
|
|
266
|
+
function ____exports.getCollectibleItemType(collectibleType)
|
|
268
267
|
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
269
268
|
if itemConfigItem == nil then
|
|
270
269
|
return ItemType.NULL
|
|
@@ -273,7 +272,7 @@ function ____exports.getCollectibleItemType(self, collectibleType)
|
|
|
273
272
|
end
|
|
274
273
|
--- Helper function to get the maximum amount of charges that a collectible has. Returns 0 if the
|
|
275
274
|
-- provided collectible type was not valid.
|
|
276
|
-
function ____exports.getCollectibleMaxCharges(
|
|
275
|
+
function ____exports.getCollectibleMaxCharges(collectibleType)
|
|
277
276
|
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
278
277
|
if itemConfigItem == nil then
|
|
279
278
|
return 0
|
|
@@ -284,7 +283,7 @@ end
|
|
|
284
283
|
-- type is not valid.
|
|
285
284
|
--
|
|
286
285
|
-- For example, `getCollectibleName(CollectibleType.SAD_ONION)` would return "Sad Onion".
|
|
287
|
-
function ____exports.getCollectibleName(
|
|
286
|
+
function ____exports.getCollectibleName(collectibleType)
|
|
288
287
|
local collectibleName = COLLECTIBLE_NAME_MAP:get(collectibleType)
|
|
289
288
|
if collectibleName ~= nil then
|
|
290
289
|
return collectibleName
|
|
@@ -297,9 +296,9 @@ function ____exports.getCollectibleName(self, collectibleType)
|
|
|
297
296
|
end
|
|
298
297
|
--- Helper function to get the "pedestal type" of a collectible. For example, it might be sitting on
|
|
299
298
|
-- top of a broken Blood Donation Machine, or it might be sitting on top of an opened Spiked Chest.
|
|
300
|
-
function ____exports.getCollectiblePedestalType(
|
|
301
|
-
if not isCollectible(
|
|
302
|
-
local entityID = getEntityID(
|
|
299
|
+
function ____exports.getCollectiblePedestalType(collectible)
|
|
300
|
+
if not isCollectible(collectible) then
|
|
301
|
+
local entityID = getEntityID(collectible)
|
|
303
302
|
error("The \"getCollectiblePedestalType\" function was given a non-collectible: " .. entityID)
|
|
304
303
|
end
|
|
305
304
|
local sprite = collectible:GetSprite()
|
|
@@ -307,7 +306,7 @@ function ____exports.getCollectiblePedestalType(self, collectible)
|
|
|
307
306
|
end
|
|
308
307
|
--- Helper function to get a collectible's quality. For example, Mom's Knife has a quality of 4.
|
|
309
308
|
-- Returns 0 if the provided collectible type was not valid.
|
|
310
|
-
function ____exports.getCollectibleQuality(
|
|
309
|
+
function ____exports.getCollectibleQuality(collectibleType)
|
|
311
310
|
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
312
311
|
if itemConfigItem == nil then
|
|
313
312
|
return 0
|
|
@@ -323,7 +322,7 @@ end
|
|
|
323
322
|
-- const collectibleType = CollectibleType.SAD_ONION;
|
|
324
323
|
-- const itemConfigTags = getCollectibleTags(collectibleType); // itemConfigTags is "18350080"
|
|
325
324
|
-- ```
|
|
326
|
-
function ____exports.getCollectibleTags(
|
|
325
|
+
function ____exports.getCollectibleTags(collectibleType)
|
|
327
326
|
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
328
327
|
return itemConfigItem == nil and ItemConfigTagZero or itemConfigItem.Tags
|
|
329
328
|
end
|
|
@@ -334,65 +333,65 @@ end
|
|
|
334
333
|
-- This function is only useful when building collectible type objects. For most purposes, you
|
|
335
334
|
-- should use the `getVanillaCollectibleArray` or `getVanillaCollectibleSet` helper functions
|
|
336
335
|
-- instead.
|
|
337
|
-
function ____exports.getVanillaCollectibleTypeRange(
|
|
338
|
-
return irange(
|
|
336
|
+
function ____exports.getVanillaCollectibleTypeRange()
|
|
337
|
+
return irange(FIRST_COLLECTIBLE_TYPE, LAST_VANILLA_COLLECTIBLE_TYPE)
|
|
339
338
|
end
|
|
340
339
|
--- Returns true if the item type in the item config is equal to `ItemType.ITEM_ACTIVE`.
|
|
341
|
-
function ____exports.isActiveCollectible(
|
|
342
|
-
local itemType = ____exports.getCollectibleItemType(
|
|
340
|
+
function ____exports.isActiveCollectible(collectibleType)
|
|
341
|
+
local itemType = ____exports.getCollectibleItemType(collectibleType)
|
|
343
342
|
return itemType == ItemType.ACTIVE
|
|
344
343
|
end
|
|
345
344
|
--- Returns true if the collectible has a red question mark sprite.
|
|
346
|
-
function ____exports.isBlindCollectible(
|
|
347
|
-
if not isCollectible(
|
|
348
|
-
local entityID = getEntityID(
|
|
345
|
+
function ____exports.isBlindCollectible(collectible)
|
|
346
|
+
if not isCollectible(collectible) then
|
|
347
|
+
local entityID = getEntityID(collectible)
|
|
349
348
|
error("The \"isBlindCollectible\" function was given a non-collectible: " .. entityID)
|
|
350
349
|
end
|
|
351
350
|
local sprite = collectible:GetSprite()
|
|
352
351
|
local animation = sprite:GetAnimation()
|
|
353
352
|
local frame = sprite:GetFrame()
|
|
354
353
|
questionMarkSprite:SetFrame(animation, frame)
|
|
355
|
-
return ____exports.collectibleSpriteEquals(
|
|
354
|
+
return ____exports.collectibleSpriteEquals(sprite, questionMarkSprite)
|
|
356
355
|
end
|
|
357
356
|
--- Returns whether or not the given collectible is a "glitched" item. All items are replaced by
|
|
358
357
|
-- glitched items once a player has TMTRAINER. However, glitched items can also "naturally" appear
|
|
359
358
|
-- in secret rooms and I AM ERROR rooms if the "Corrupted Data" achievement is unlocked.
|
|
360
|
-
function ____exports.isGlitchedCollectible(
|
|
359
|
+
function ____exports.isGlitchedCollectible(pickup)
|
|
361
360
|
return pickup.Variant == PickupVariant.COLLECTIBLE and pickup.SubType > GLITCHED_ITEM_THRESHOLD
|
|
362
361
|
end
|
|
363
362
|
--- Returns true if the collectible has the "Hidden" attribute in the item config.
|
|
364
363
|
--
|
|
365
364
|
-- Hidden collectibles will not show up in any pools and Eden will not start with them.
|
|
366
|
-
function ____exports.isHiddenCollectible(
|
|
365
|
+
function ____exports.isHiddenCollectible(collectibleType)
|
|
367
366
|
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
368
367
|
return itemConfigItem ~= nil and itemConfigItem.Hidden
|
|
369
368
|
end
|
|
370
|
-
function ____exports.isModdedCollectibleType(
|
|
371
|
-
return not ____exports.isVanillaCollectibleType(
|
|
369
|
+
function ____exports.isModdedCollectibleType(collectibleType)
|
|
370
|
+
return not ____exports.isVanillaCollectibleType(collectibleType)
|
|
372
371
|
end
|
|
373
372
|
--- Returns true if the item type in the item config is equal to `ItemType.ITEM_PASSIVE` or
|
|
374
373
|
-- `ItemType.ITEM_FAMILIAR`.
|
|
375
|
-
function ____exports.isPassiveCollectible(
|
|
376
|
-
local itemType = ____exports.getCollectibleItemType(
|
|
374
|
+
function ____exports.isPassiveCollectible(collectibleType)
|
|
375
|
+
local itemType = ____exports.getCollectibleItemType(collectibleType)
|
|
377
376
|
return itemType == ItemType.PASSIVE or itemType == ItemType.FAMILIAR
|
|
378
377
|
end
|
|
379
378
|
--- Helper function to determine if a particular collectible will disappear from the player's
|
|
380
379
|
-- inventory upon use. Note that this will not work will modded items, as there is no way to
|
|
381
380
|
-- dynamically know if a modded item will disappear.
|
|
382
|
-
function ____exports.isSingleUseCollectible(
|
|
381
|
+
function ____exports.isSingleUseCollectible(collectibleType)
|
|
383
382
|
return SINGLE_USE_ACTIVE_COLLECTIBLE_TYPES_SET:has(collectibleType)
|
|
384
383
|
end
|
|
385
|
-
function ____exports.isValidCollectibleType(
|
|
384
|
+
function ____exports.isValidCollectibleType(collectibleType)
|
|
386
385
|
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
387
386
|
return itemConfigItem ~= nil
|
|
388
387
|
end
|
|
389
388
|
--- Helper function to generate a new sprite based on a collectible. If the provided collectible type
|
|
390
389
|
-- is invalid, a sprite with a Curse of the Blind question mark will be returned.
|
|
391
|
-
function ____exports.newCollectibleSprite(
|
|
390
|
+
function ____exports.newCollectibleSprite(collectibleType)
|
|
392
391
|
local sprite = Sprite()
|
|
393
392
|
sprite:Load(COLLECTIBLE_ANM2_PATH, false)
|
|
394
|
-
clearSprite(
|
|
395
|
-
local gfxFileName = ____exports.getCollectibleGfxFilename(
|
|
393
|
+
clearSprite(sprite)
|
|
394
|
+
local gfxFileName = ____exports.getCollectibleGfxFilename(collectibleType)
|
|
396
395
|
sprite:ReplaceSpritesheet(COLLECTIBLE_SPRITE_LAYER, gfxFileName)
|
|
397
396
|
sprite:LoadGraphics()
|
|
398
397
|
return sprite
|
|
@@ -407,33 +406,33 @@ end
|
|
|
407
406
|
-- this function is not necessary when removing items from players. For example, when you remove a
|
|
408
407
|
-- collectible with the `EntityPlayer.RemoveCollectible` method, a proper message is sent to the log
|
|
409
408
|
-- the item tracker will automatically remove it.
|
|
410
|
-
function ____exports.removeCollectibleFromItemTracker(
|
|
411
|
-
local collectibleName = ____exports.getCollectibleName(
|
|
409
|
+
function ____exports.removeCollectibleFromItemTracker(collectibleType)
|
|
410
|
+
local collectibleName = ____exports.getCollectibleName(collectibleType)
|
|
412
411
|
Isaac.DebugString(((("Removing collectible " .. tostring(collectibleType)) .. " (") .. collectibleName) .. ") on player 0 (Player)")
|
|
413
412
|
end
|
|
414
413
|
--- Helper function to remove all pickup delay on a collectible. By default, collectibles have a 20
|
|
415
414
|
-- frame delay before they can be picked up by a player.
|
|
416
|
-
function ____exports.removeCollectiblePickupDelay(
|
|
417
|
-
if not isCollectible(
|
|
418
|
-
local entityID = getEntityID(
|
|
415
|
+
function ____exports.removeCollectiblePickupDelay(collectible)
|
|
416
|
+
if not isCollectible(collectible) then
|
|
417
|
+
local entityID = getEntityID(collectible)
|
|
419
418
|
error("The \"removeCollectiblePickupDelay\" function was given a non-collectible: " .. entityID)
|
|
420
419
|
end
|
|
421
420
|
collectible.Wait = 0
|
|
422
421
|
end
|
|
423
422
|
--- Helper function to set a collectible sprite to a question mark (i.e. how collectibles look when
|
|
424
423
|
-- the player has Curse of the Blind).
|
|
425
|
-
function ____exports.setCollectibleBlind(
|
|
426
|
-
if not isCollectible(
|
|
427
|
-
local entityID = getEntityID(
|
|
424
|
+
function ____exports.setCollectibleBlind(collectible)
|
|
425
|
+
if not isCollectible(collectible) then
|
|
426
|
+
local entityID = getEntityID(collectible)
|
|
428
427
|
error("The \"setCollectibleBlind\" function was given a non-collectible: " .. entityID)
|
|
429
428
|
end
|
|
430
|
-
____exports.setCollectibleSprite(
|
|
429
|
+
____exports.setCollectibleSprite(collectible, BLIND_ITEM_PNG_PATH)
|
|
431
430
|
end
|
|
432
431
|
--- Helper function to change a collectible into a "glitched" item (like the ones that appear when
|
|
433
432
|
-- the player has TMTRAINER).
|
|
434
|
-
function ____exports.setCollectibleGlitched(
|
|
435
|
-
if not isCollectible(
|
|
436
|
-
local entityID = getEntityID(
|
|
433
|
+
function ____exports.setCollectibleGlitched(collectible)
|
|
434
|
+
if not isCollectible(collectible) then
|
|
435
|
+
local entityID = getEntityID(collectible)
|
|
437
436
|
error("The \"setCollectibleGlitched\" function was given a non-collectible: " .. entityID)
|
|
438
437
|
end
|
|
439
438
|
local player = Isaac.GetPlayer()
|
|
@@ -443,14 +442,14 @@ function ____exports.setCollectibleGlitched(self, collectible)
|
|
|
443
442
|
end
|
|
444
443
|
local itemPool = game:GetItemPool()
|
|
445
444
|
local collectibleType = itemPool:GetCollectible(DEFAULT_ITEM_POOL_TYPE)
|
|
446
|
-
____exports.setCollectibleSubType(
|
|
445
|
+
____exports.setCollectibleSubType(collectible, collectibleType)
|
|
447
446
|
if not hasTMTRAINER then
|
|
448
447
|
player:RemoveCollectible(CollectibleType.TMTRAINER)
|
|
449
448
|
end
|
|
450
449
|
end
|
|
451
450
|
--- Helper function to put a message in the log.txt file to let the Rebirth Item Tracker know that
|
|
452
451
|
-- the build has been rerolled.
|
|
453
|
-
function ____exports.setCollectiblesRerolledForItemTracker(
|
|
452
|
+
function ____exports.setCollectiblesRerolledForItemTracker()
|
|
454
453
|
Isaac.DebugString("Added 3 Collectibles")
|
|
455
454
|
end
|
|
456
455
|
return ____exports
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/// <reference types="isaac-typescript-definitions" />
|
|
3
3
|
/// <reference types="isaac-typescript-definitions" />
|
|
4
4
|
/// <reference types="isaac-typescript-definitions" />
|
|
5
|
+
/** @noSelfInFile */
|
|
5
6
|
export declare type SerializedColor = LuaMap<string, unknown> & {
|
|
6
7
|
readonly __serializedColorBrand: symbol;
|
|
7
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/functions/color.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/functions/color.ts"],"names":[],"mappings":";;;;;AAOA,oBAAY,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACtD,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;CACzC,CAAC;AAKF,wBAAgB,WAAW,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,OAAO,CAEjE;AAED,yDAAyD;AACzD,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,CAgB7C;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,CA8B9D;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,KAAK,SAAI,GACR,KAAK,CAQP;AAED,+EAA+E;AAC/E,wBAAgB,OAAO,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,KAAK,CAExD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,eAAe,CAM5E;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,eAAe,CAW5D"}
|
package/dist/functions/color.lua
CHANGED
|
@@ -18,8 +18,8 @@ local tableHasKeys = ____table.tableHasKeys
|
|
|
18
18
|
local ____types = require("functions.types")
|
|
19
19
|
local isTable = ____types.isTable
|
|
20
20
|
--- Helper function to check if something is an instantiated `Color` object.
|
|
21
|
-
function ____exports.isColor(
|
|
22
|
-
return isIsaacAPIClassOfType(
|
|
21
|
+
function ____exports.isColor(object)
|
|
22
|
+
return isIsaacAPIClassOfType(object, OBJECT_NAME)
|
|
23
23
|
end
|
|
24
24
|
OBJECT_NAME = "Color"
|
|
25
25
|
local KEYS = {
|
|
@@ -31,12 +31,12 @@ local KEYS = {
|
|
|
31
31
|
"GO",
|
|
32
32
|
"BO"
|
|
33
33
|
}
|
|
34
|
-
function ____exports.colorEquals(
|
|
35
|
-
return isaacAPIClassEquals(
|
|
34
|
+
function ____exports.colorEquals(color1, color2)
|
|
35
|
+
return isaacAPIClassEquals(color1, color2, KEYS)
|
|
36
36
|
end
|
|
37
37
|
--- Helper function to copy a `Color` Isaac API class.
|
|
38
|
-
function ____exports.copyColor(
|
|
39
|
-
if not ____exports.isColor(
|
|
38
|
+
function ____exports.copyColor(color)
|
|
39
|
+
if not ____exports.isColor(color) then
|
|
40
40
|
error(((("Failed to copy a " .. OBJECT_NAME) .. " object since the provided object was not a userdata ") .. OBJECT_NAME) .. " class.")
|
|
41
41
|
end
|
|
42
42
|
return Color(
|
|
@@ -51,12 +51,11 @@ function ____exports.copyColor(self, color)
|
|
|
51
51
|
end
|
|
52
52
|
--- Helper function to convert a `SerializedColor` object to a normal `Color` object. (This is used
|
|
53
53
|
-- by the save data manager when reading data from the "save#.dat" file.)
|
|
54
|
-
function ____exports.deserializeColor(
|
|
55
|
-
if not isTable(
|
|
54
|
+
function ____exports.deserializeColor(color)
|
|
55
|
+
if not isTable(color) then
|
|
56
56
|
error(("Failed to deserialize a " .. OBJECT_NAME) .. " object since the provided object was not a Lua table.")
|
|
57
57
|
end
|
|
58
58
|
local r, g, b, a, ro, go, bo = table.unpack(getNumbersFromTable(
|
|
59
|
-
nil,
|
|
60
59
|
color,
|
|
61
60
|
OBJECT_NAME,
|
|
62
61
|
table.unpack(KEYS)
|
|
@@ -85,39 +84,38 @@ end
|
|
|
85
84
|
-- @param seedOrRNG Optional. The `Seed` or `RNG` object to use. If an `RNG` object is provided, the
|
|
86
85
|
-- `RNG.Next` method will be called. Default is `getRandomSeed()`.
|
|
87
86
|
-- @param alpha Optional. The alpha value to use. Default is 1.
|
|
88
|
-
function ____exports.getRandomColor(
|
|
87
|
+
function ____exports.getRandomColor(seedOrRNG, alpha)
|
|
89
88
|
if seedOrRNG == nil then
|
|
90
|
-
seedOrRNG = getRandomSeed(
|
|
89
|
+
seedOrRNG = getRandomSeed()
|
|
91
90
|
end
|
|
92
91
|
if alpha == nil then
|
|
93
92
|
alpha = 1
|
|
94
93
|
end
|
|
95
|
-
local rng = isRNG(
|
|
96
|
-
local r = getRandom(
|
|
97
|
-
local g = getRandom(
|
|
98
|
-
local b = getRandom(
|
|
94
|
+
local rng = isRNG(seedOrRNG) and seedOrRNG or newRNG(seedOrRNG)
|
|
95
|
+
local r = getRandom(rng)
|
|
96
|
+
local g = getRandom(rng)
|
|
97
|
+
local b = getRandom(rng)
|
|
99
98
|
return Color(r, g, b, alpha)
|
|
100
99
|
end
|
|
101
100
|
--- Used to determine is the given table is a serialized `Color` object created by the save data
|
|
102
101
|
-- manager and/or the `deepCopy` function.
|
|
103
|
-
function ____exports.isSerializedColor(
|
|
104
|
-
if not isTable(
|
|
102
|
+
function ____exports.isSerializedColor(object)
|
|
103
|
+
if not isTable(object) then
|
|
105
104
|
return false
|
|
106
105
|
end
|
|
107
106
|
return tableHasKeys(
|
|
108
|
-
nil,
|
|
109
107
|
object,
|
|
110
108
|
table.unpack(KEYS)
|
|
111
109
|
) and object[SerializationBrand.COLOR] ~= nil
|
|
112
110
|
end
|
|
113
111
|
--- Helper function to convert a `Color` object to a `SerializedColor` object. (This is used by the
|
|
114
112
|
-- save data manager when writing data from the "save#.dat" file.)
|
|
115
|
-
function ____exports.serializeColor(
|
|
116
|
-
if not ____exports.isColor(
|
|
113
|
+
function ____exports.serializeColor(color)
|
|
114
|
+
if not ____exports.isColor(color) then
|
|
117
115
|
error(((("Failed to serialize a " .. OBJECT_NAME) .. " object since the provided object was not a userdata ") .. OBJECT_NAME) .. " class.")
|
|
118
116
|
end
|
|
119
117
|
local colorTable = {}
|
|
120
|
-
copyValuesToTable(
|
|
118
|
+
copyValuesToTable(color, KEYS, colorTable)
|
|
121
119
|
colorTable[SerializationBrand.COLOR] = ""
|
|
122
120
|
return colorTable
|
|
123
121
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"curses.d.ts","sourceRoot":"","sources":["../../src/functions/curses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAI1D;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAWzD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAInD"}
|
|
1
|
+
{"version":3,"file":"curses.d.ts","sourceRoot":"","sources":["../../src/functions/curses.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAI1D;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAWzD;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAInD"}
|
|
@@ -9,16 +9,16 @@ local hasFlag = ____flag.hasFlag
|
|
|
9
9
|
--
|
|
10
10
|
-- Use this over the `Isaac.GetCurseIdByName` method because that will return an integer instead of
|
|
11
11
|
-- a bit flag.
|
|
12
|
-
function ____exports.getCurseIDByName(
|
|
12
|
+
function ____exports.getCurseIDByName(name)
|
|
13
13
|
local curseID = Isaac.GetCurseIdByName(name)
|
|
14
14
|
if curseID == -1 then
|
|
15
15
|
error(("Failed to get the curse ID corresponding to the curse name of \"" .. tostring(curseID)) .. "\". Does this name match what you put in the \"content/curses.xml\" file?")
|
|
16
16
|
end
|
|
17
17
|
return 1 << curseID - 1
|
|
18
18
|
end
|
|
19
|
-
function ____exports.hasCurse(
|
|
19
|
+
function ____exports.hasCurse(curse)
|
|
20
20
|
local level = game:GetLevel()
|
|
21
21
|
local curses = level:GetCurses()
|
|
22
|
-
return hasFlag(
|
|
22
|
+
return hasFlag(curses, curse)
|
|
23
23
|
end
|
|
24
24
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/functions/debug.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AASrD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAMxD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAYrC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAI3C;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAU5C;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAGhC"}
|
|
1
|
+
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../src/functions/debug.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AASrD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAMxD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAYrC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAI3C;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAU5C;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAGhC"}
|
package/dist/functions/debug.lua
CHANGED
|
@@ -16,7 +16,7 @@ local logEntitiesExports = require("functions.logEntities")
|
|
|
16
16
|
--- Converts every `isaacscript-common` function that begins with "log" to a global function.
|
|
17
17
|
--
|
|
18
18
|
-- This is useful when printing out variables from the in-game debug console.
|
|
19
|
-
function ____exports.setLogFunctionsGlobal(
|
|
19
|
+
function ____exports.setLogFunctionsGlobal()
|
|
20
20
|
local globals = _G
|
|
21
21
|
for ____, ____value in ipairs(__TS__ObjectEntries(logExports)) do
|
|
22
22
|
local logFuncName = ____value[1]
|
|
@@ -44,18 +44,18 @@ end
|
|
|
44
44
|
-- - `enableFastReset` - Makes it so that the r key resets the game instantaneously.
|
|
45
45
|
-- - `removeFadeIn` - Removes the slow fade in that occurs at the beginning of the run, so that you
|
|
46
46
|
-- can immediately start playing or testing.
|
|
47
|
-
function ____exports.enableDevFeatures(
|
|
48
|
-
saveDataManagerSetGlobal(
|
|
49
|
-
____exports.setLogFunctionsGlobal(
|
|
50
|
-
enableExtraConsoleCommands(
|
|
51
|
-
enableFastReset(
|
|
52
|
-
removeFadeIn(
|
|
47
|
+
function ____exports.enableDevFeatures(mod)
|
|
48
|
+
saveDataManagerSetGlobal()
|
|
49
|
+
____exports.setLogFunctionsGlobal()
|
|
50
|
+
enableExtraConsoleCommands(mod)
|
|
51
|
+
enableFastReset()
|
|
52
|
+
removeFadeIn()
|
|
53
53
|
end
|
|
54
54
|
--- Helper function to get a stack trace.
|
|
55
55
|
--
|
|
56
56
|
-- This will only work if the `--luadebug` launch option is enabled or the Racing+ sandbox is
|
|
57
57
|
-- enabled.
|
|
58
|
-
function ____exports.getTraceback(
|
|
58
|
+
function ____exports.getTraceback()
|
|
59
59
|
if debug ~= nil then
|
|
60
60
|
return debug.traceback()
|
|
61
61
|
end
|
|
@@ -73,7 +73,7 @@ end
|
|
|
73
73
|
--
|
|
74
74
|
-- This function uses the `package` global variable as a proxy to determine if the "--luadebug" flag
|
|
75
75
|
-- is enabled or not.
|
|
76
|
-
function ____exports.isLuaDebugEnabled(
|
|
76
|
+
function ____exports.isLuaDebugEnabled()
|
|
77
77
|
return _G.package ~= nil
|
|
78
78
|
end
|
|
79
79
|
--- Helper function to print a stack trace to the "log.txt" file, similar to JavaScript's
|
|
@@ -81,11 +81,11 @@ end
|
|
|
81
81
|
--
|
|
82
82
|
-- This will only work if the `--luadebug` launch option is enabled or the Racing+ sandbox is
|
|
83
83
|
-- enabled.
|
|
84
|
-
function ____exports.traceback(
|
|
85
|
-
local tracebackOutput = ____exports.getTraceback(
|
|
86
|
-
log(
|
|
84
|
+
function ____exports.traceback()
|
|
85
|
+
local tracebackOutput = ____exports.getTraceback()
|
|
86
|
+
log(tracebackOutput)
|
|
87
87
|
end
|
|
88
|
-
local function setDebugFunctionsGlobal(
|
|
88
|
+
local function setDebugFunctionsGlobal()
|
|
89
89
|
if _G.debug == nil and sandboxGetTraceback == nil then
|
|
90
90
|
return
|
|
91
91
|
end
|
|
@@ -93,7 +93,7 @@ local function setDebugFunctionsGlobal(self)
|
|
|
93
93
|
globals.getTraceback = ____exports.getTraceback
|
|
94
94
|
globals.traceback = ____exports.traceback
|
|
95
95
|
end
|
|
96
|
-
if ____exports.isLuaDebugEnabled(
|
|
97
|
-
setDebugFunctionsGlobal(
|
|
96
|
+
if ____exports.isLuaDebugEnabled() or sandboxGetTraceback ~= nil then
|
|
97
|
+
setDebugFunctionsGlobal()
|
|
98
98
|
end
|
|
99
99
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deepCopy.d.ts","sourceRoot":"","sources":["../../src/functions/deepCopy.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AA6B/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,QAAQ,CACtB,KAAK,EAAE,OAAO,EACd,iBAAiB,oBAAyB,EAC1C,oBAAoB,SAAK,EACzB,SAAS,UAAQ,GAChB,OAAO,CAkDT"}
|
|
1
|
+
{"version":3,"file":"deepCopy.d.ts","sourceRoot":"","sources":["../../src/functions/deepCopy.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AA6B/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,QAAQ,CACtB,KAAK,EAAE,OAAO,EACd,iBAAiB,oBAAyB,EAC1C,oBAAoB,SAAK,EACzB,SAAS,UAAQ,GAChB,OAAO,CAkDT"}
|