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
|
@@ -18,26 +18,25 @@ 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 `KColor` object.
|
|
21
|
-
function ____exports.isKColor(
|
|
22
|
-
return isIsaacAPIClassOfType(
|
|
21
|
+
function ____exports.isKColor(object)
|
|
22
|
+
return isIsaacAPIClassOfType(object, OBJECT_NAME)
|
|
23
23
|
end
|
|
24
24
|
OBJECT_NAME = "KColor"
|
|
25
25
|
local KEYS = {"Red", "Green", "Blue", "Alpha"}
|
|
26
26
|
--- Helper function to copy a `KColor` Isaac API class.
|
|
27
|
-
function ____exports.copyKColor(
|
|
28
|
-
if not ____exports.isKColor(
|
|
27
|
+
function ____exports.copyKColor(kColor)
|
|
28
|
+
if not ____exports.isKColor(kColor) then
|
|
29
29
|
error(((("Failed to copy a " .. OBJECT_NAME) .. " object since the provided object was not a userdata ") .. OBJECT_NAME) .. " class.")
|
|
30
30
|
end
|
|
31
31
|
return KColor(kColor.Red, kColor.Green, kColor.Blue, kColor.Alpha)
|
|
32
32
|
end
|
|
33
33
|
--- Helper function to convert a `SerializedKColor` object to a normal `KColor` object. (This is used
|
|
34
34
|
-- by the save data manager when reading data from the "save#.dat" file.)
|
|
35
|
-
function ____exports.deserializeKColor(
|
|
36
|
-
if not isTable(
|
|
35
|
+
function ____exports.deserializeKColor(kColor)
|
|
36
|
+
if not isTable(kColor) then
|
|
37
37
|
error(("Failed to deserialize a " .. OBJECT_NAME) .. " object since the provided object was not a Lua table.")
|
|
38
38
|
end
|
|
39
39
|
local r, g, b, a = table.unpack(getNumbersFromTable(
|
|
40
|
-
nil,
|
|
41
40
|
kColor,
|
|
42
41
|
OBJECT_NAME,
|
|
43
42
|
table.unpack(KEYS)
|
|
@@ -61,42 +60,41 @@ end
|
|
|
61
60
|
-- @param seedOrRNG Optional. The `Seed` or `RNG` object to use. If an `RNG` object is provided, the
|
|
62
61
|
-- `RNG.Next` method will be called. Default is `getRandomSeed()`.
|
|
63
62
|
-- @param alpha Optional. The alpha value to use. Default is 1.
|
|
64
|
-
function ____exports.getRandomKColor(
|
|
63
|
+
function ____exports.getRandomKColor(seedOrRNG, alpha)
|
|
65
64
|
if seedOrRNG == nil then
|
|
66
|
-
seedOrRNG = getRandomSeed(
|
|
65
|
+
seedOrRNG = getRandomSeed()
|
|
67
66
|
end
|
|
68
67
|
if alpha == nil then
|
|
69
68
|
alpha = 1
|
|
70
69
|
end
|
|
71
|
-
local rng = isRNG(
|
|
72
|
-
local r = getRandom(
|
|
73
|
-
local g = getRandom(
|
|
74
|
-
local b = getRandom(
|
|
70
|
+
local rng = isRNG(seedOrRNG) and seedOrRNG or newRNG(seedOrRNG)
|
|
71
|
+
local r = getRandom(rng)
|
|
72
|
+
local g = getRandom(rng)
|
|
73
|
+
local b = getRandom(rng)
|
|
75
74
|
return KColor(r, g, b, alpha)
|
|
76
75
|
end
|
|
77
76
|
--- Used to determine is the given table is a serialized `KColor` object created by the save data
|
|
78
77
|
-- manager and/or the `deepCopy` function.
|
|
79
|
-
function ____exports.isSerializedKColor(
|
|
80
|
-
if not isTable(
|
|
78
|
+
function ____exports.isSerializedKColor(object)
|
|
79
|
+
if not isTable(object) then
|
|
81
80
|
return false
|
|
82
81
|
end
|
|
83
82
|
return tableHasKeys(
|
|
84
|
-
nil,
|
|
85
83
|
object,
|
|
86
84
|
table.unpack(KEYS)
|
|
87
85
|
) and object[SerializationBrand.K_COLOR] ~= nil
|
|
88
86
|
end
|
|
89
|
-
function ____exports.kColorEquals(
|
|
90
|
-
return isaacAPIClassEquals(
|
|
87
|
+
function ____exports.kColorEquals(kColor1, kColor2)
|
|
88
|
+
return isaacAPIClassEquals(kColor1, kColor2, KEYS)
|
|
91
89
|
end
|
|
92
90
|
--- Helper function to convert a `KColor` object to a `SerializedKColor` object. (This is used by the
|
|
93
91
|
-- save data manager when writing data from the "save#.dat" file.)
|
|
94
|
-
function ____exports.serializeKColor(
|
|
95
|
-
if not ____exports.isKColor(
|
|
92
|
+
function ____exports.serializeKColor(kColor)
|
|
93
|
+
if not ____exports.isKColor(kColor) then
|
|
96
94
|
error(((("Failed to serialize a " .. OBJECT_NAME) .. " object since the provided object was not a userdata ") .. OBJECT_NAME) .. " class.")
|
|
97
95
|
end
|
|
98
96
|
local kColorTable = {}
|
|
99
|
-
copyValuesToTable(
|
|
97
|
+
copyValuesToTable(kColor, KEYS, kColorTable)
|
|
100
98
|
kColorTable[SerializationBrand.K_COLOR] = ""
|
|
101
99
|
return kColorTable
|
|
102
100
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../src/functions/language.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAGxC"}
|
|
1
|
+
{"version":3,"file":"language.d.ts","sourceRoot":"","sources":["../../src/functions/language.ts"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAGxC"}
|
|
@@ -6,7 +6,7 @@ local LANGUAGE_NAMES = ____languageNames.LANGUAGE_NAMES
|
|
|
6
6
|
--
|
|
7
7
|
-- For example, if the current language is set to Korean, `Options.Language` will be set to "kr",
|
|
8
8
|
-- and this function will return "Korean".
|
|
9
|
-
function ____exports.getLanguageName(
|
|
9
|
+
function ____exports.getLanguageName()
|
|
10
10
|
local languageAbbreviation = Options.Language
|
|
11
11
|
return LANGUAGE_NAMES[languageAbbreviation]
|
|
12
12
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"level.d.ts","sourceRoot":"","sources":["../../src/functions/level.ts"],"names":[],"mappings":"AAMA,wBAAgB,qBAAqB,IAAI,IAAI,CAqB5C"}
|
|
1
|
+
{"version":3,"file":"level.d.ts","sourceRoot":"","sources":["../../src/functions/level.ts"],"names":[],"mappings":";AAMA,wBAAgB,qBAAqB,IAAI,IAAI,CAqB5C"}
|
package/dist/functions/level.lua
CHANGED
|
@@ -10,21 +10,21 @@ local isDoorSlotValidAtGridIndexForRedRoom = ____levelGrid.isDoorSlotValidAtGrid
|
|
|
10
10
|
local ____rooms = require("functions.rooms")
|
|
11
11
|
local getNumRooms = ____rooms.getNumRooms
|
|
12
12
|
local getRoomsInsideGrid = ____rooms.getRoomsInsideGrid
|
|
13
|
-
function ____exports.fillLevelWithRedRooms(
|
|
13
|
+
function ____exports.fillLevelWithRedRooms()
|
|
14
14
|
local level = game:GetLevel()
|
|
15
15
|
local numRoomsInGrid
|
|
16
16
|
repeat
|
|
17
17
|
do
|
|
18
|
-
local roomsInGrid = getRoomsInsideGrid(
|
|
18
|
+
local roomsInGrid = getRoomsInsideGrid()
|
|
19
19
|
numRoomsInGrid = #roomsInGrid
|
|
20
20
|
for ____, roomDescriptor in ipairs(roomsInGrid) do
|
|
21
|
-
for ____, doorSlot in ipairs(getEnumValues(
|
|
22
|
-
if isDoorSlotValidAtGridIndexForRedRoom(
|
|
21
|
+
for ____, doorSlot in ipairs(getEnumValues(DoorSlot)) do
|
|
22
|
+
if isDoorSlotValidAtGridIndexForRedRoom(doorSlot, roomDescriptor.GridIndex) then
|
|
23
23
|
level:MakeRedRoomDoor(roomDescriptor.GridIndex, doorSlot)
|
|
24
24
|
end
|
|
25
25
|
end
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
|
-
until not (numRoomsInGrid ~= getNumRooms(
|
|
28
|
+
until not (numRoomsInGrid ~= getNumRooms())
|
|
29
29
|
end
|
|
30
30
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"levelGrid.d.ts","sourceRoot":"","sources":["../../src/functions/levelGrid.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAEL,QAAQ,EAKR,SAAS,EACT,QAAQ,EACT,MAAM,8BAA8B,CAAC;AA8BtC;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,EAAE,CAK7E;AAED;;;;;;GAMG;AACH,wBAAgB,qCAAqC,CACnD,aAAa,CAAC,EAAE,GAAG,GAClB,GAAG,EAAE,CAKP;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,0BAA0B,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,EAAE,CAerE;AAED,0FAA0F;AAC1F,wBAAgB,qBAAqB,IAAI,GAAG,EAAE,CAG7C;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,GAAE,IAAI,GAAG,GAAqB,GAErC,CAAC,qBAAqB,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,GAAG,CAAC,GACvE,SAAS,CAOZ;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,aAAa,CAAC,EAAE,GAAG,GAClB,KAAK,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,CAAC,CAAC,CA0CjD;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,IAAI,KAAK,CACnD;IAAC,qBAAqB,EAAE,GAAG;IAAE,QAAQ,EAAE,QAAQ;IAAE,gBAAgB,EAAE,GAAG;CAAC,CACxE,CAsBA;AAED;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,aAAa,CAAC,EAAE,GAAG,GAClB,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAgBpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,GAAG,EAAE,CAWzE;AAED;;;;;;GAMG;AACH,wBAAgB,uCAAuC,CACrD,iBAAiB,EAAE,GAAG,EACtB,SAAS,EAAE,SAAS,GACnB,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAiBpB;AAED;;;;;;;GAOG;AACH,wBAAgB,mCAAmC,CACjD,SAAS,EAAE,SAAS,GACnB,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAEpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,+BAA+B,CAC7C,iBAAiB,EAAE,GAAG,EACtB,SAAS,EAAE,SAAS,GACnB,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAapB;AAED;;;;;;GAMG;AACH,wBAAgB,0CAA0C,CACxD,iBAAiB,EAAE,GAAG,EACtB,SAAS,EAAE,SAAS,GACnB,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAiBpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,SAAS,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,OAAO,CAKtD;AAED,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,GAAG,GACjB,OAAO,CAGT;AAED,wBAAgB,oCAAoC,CAClD,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,GAAG,GACjB,OAAO,CAqBT;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,OAAO,CAGzD;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,OAAO,CAM7D;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CAAC,SAAS,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,SAAS,CAmD/D;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,aAAa,EAAE,GAAG,GAAG,OAAO,CAGtD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,GAAG,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC,CAKtE"}
|
|
1
|
+
{"version":3,"file":"levelGrid.d.ts","sourceRoot":"","sources":["../../src/functions/levelGrid.ts"],"names":[],"mappings":"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"}
|
|
@@ -52,11 +52,11 @@ local asNumber = ____types.asNumber
|
|
|
52
52
|
--
|
|
53
53
|
-- This is just a filtering of the results of the `getAdjacentExistingRoomGridIndexes` function. See
|
|
54
54
|
-- that function for more information.
|
|
55
|
-
function ____exports.getAdjacentNonExistingRoomGridIndexes(
|
|
56
|
-
local adjacentRoomGridIndexes = ____exports.getAdjacentRoomGridIndexes(
|
|
55
|
+
function ____exports.getAdjacentNonExistingRoomGridIndexes(roomGridIndex)
|
|
56
|
+
local adjacentRoomGridIndexes = ____exports.getAdjacentRoomGridIndexes(roomGridIndex)
|
|
57
57
|
return __TS__ArrayFilter(
|
|
58
58
|
adjacentRoomGridIndexes,
|
|
59
|
-
function(____, adjacentRoomGridIndex) return getRoomData(
|
|
59
|
+
function(____, adjacentRoomGridIndex) return getRoomData(adjacentRoomGridIndex) == nil end
|
|
60
60
|
)
|
|
61
61
|
end
|
|
62
62
|
--- Helper function to get all of the room grid indexes that are adjacent to a given room grid index
|
|
@@ -72,9 +72,9 @@ end
|
|
|
72
72
|
-- single room grid index.
|
|
73
73
|
--
|
|
74
74
|
-- @param roomGridIndex Optional. Default is the current room index.
|
|
75
|
-
function ____exports.getAdjacentRoomGridIndexes(
|
|
76
|
-
local roomGridIndexToUse = roomGridIndex == nil and getRoomGridIndex(
|
|
77
|
-
if not ____exports.isRoomInsideGrid(
|
|
75
|
+
function ____exports.getAdjacentRoomGridIndexes(roomGridIndex)
|
|
76
|
+
local roomGridIndexToUse = roomGridIndex == nil and getRoomGridIndex() or roomGridIndex
|
|
77
|
+
if not ____exports.isRoomInsideGrid(roomGridIndexToUse) then
|
|
78
78
|
return {}
|
|
79
79
|
end
|
|
80
80
|
local adjacentRoomGridIndexes = __TS__ArrayMap(
|
|
@@ -83,7 +83,7 @@ function ____exports.getAdjacentRoomGridIndexes(self, roomGridIndex)
|
|
|
83
83
|
)
|
|
84
84
|
return __TS__ArrayFilter(
|
|
85
85
|
adjacentRoomGridIndexes,
|
|
86
|
-
function(____, adjacentRoomGridIndex) return ____exports.isRoomInsideGrid(
|
|
86
|
+
function(____, adjacentRoomGridIndex) return ____exports.isRoomInsideGrid(adjacentRoomGridIndex) end
|
|
87
87
|
)
|
|
88
88
|
end
|
|
89
89
|
--- Helper function to iterate through the possible doors for a room and see if any of them would be
|
|
@@ -91,26 +91,26 @@ end
|
|
|
91
91
|
--
|
|
92
92
|
-- @param roomGridIndex Optional. Default is the current room index.
|
|
93
93
|
-- @returns A array of tuples of `DoorSlot` and room grid index.
|
|
94
|
-
function ____exports.getNewRoomCandidatesBesideRoom(
|
|
95
|
-
local roomDescriptor = getRoomDescriptor(
|
|
96
|
-
if not ____exports.isRoomInsideGrid(
|
|
94
|
+
function ____exports.getNewRoomCandidatesBesideRoom(roomGridIndex)
|
|
95
|
+
local roomDescriptor = getRoomDescriptor(roomGridIndex)
|
|
96
|
+
if not ____exports.isRoomInsideGrid(roomDescriptor.SafeGridIndex) then
|
|
97
97
|
return {}
|
|
98
98
|
end
|
|
99
99
|
local roomData = roomDescriptor.Data
|
|
100
100
|
if roomData == nil then
|
|
101
101
|
return {}
|
|
102
102
|
end
|
|
103
|
-
local doorSlotToRoomGridIndexes = ____exports.getRoomShapeAdjacentNonExistingGridIndexes(
|
|
103
|
+
local doorSlotToRoomGridIndexes = ____exports.getRoomShapeAdjacentNonExistingGridIndexes(roomDescriptor.SafeGridIndex, roomData.Shape)
|
|
104
104
|
local roomCandidates = {}
|
|
105
105
|
for ____, ____value in __TS__Iterator(doorSlotToRoomGridIndexes:entries()) do
|
|
106
106
|
local doorSlot = ____value[1]
|
|
107
107
|
local adjacentRoomGridIndex = ____value[2]
|
|
108
108
|
do
|
|
109
|
-
local doorSlotFlag = doorSlotToDoorSlotFlag(
|
|
110
|
-
if not hasFlag(
|
|
109
|
+
local doorSlotFlag = doorSlotToDoorSlotFlag(doorSlot)
|
|
110
|
+
if not hasFlag(roomData.Doors, doorSlotFlag) then
|
|
111
111
|
goto __continue17
|
|
112
112
|
end
|
|
113
|
-
if not ____exports.isDeadEnd(
|
|
113
|
+
if not ____exports.isDeadEnd(adjacentRoomGridIndex) then
|
|
114
114
|
goto __continue17
|
|
115
115
|
end
|
|
116
116
|
roomCandidates[#roomCandidates + 1] = {doorSlot, adjacentRoomGridIndex}
|
|
@@ -123,15 +123,15 @@ end
|
|
|
123
123
|
-- room.
|
|
124
124
|
--
|
|
125
125
|
-- @returns A array of tuples of adjacent room grid index, `DoorSlot`, and new room grid index.
|
|
126
|
-
function ____exports.getNewRoomCandidatesForLevel(
|
|
127
|
-
local rooms = getRoomsInsideGrid(
|
|
126
|
+
function ____exports.getNewRoomCandidatesForLevel()
|
|
127
|
+
local rooms = getRoomsInsideGrid()
|
|
128
128
|
local normalRooms = __TS__ArrayFilter(
|
|
129
129
|
rooms,
|
|
130
|
-
function(____, room) return room.Data ~= nil and room.Data.Type == RoomType.DEFAULT and room.Data.Subtype ~= asNumber(
|
|
130
|
+
function(____, room) return room.Data ~= nil and room.Data.Type == RoomType.DEFAULT and room.Data.Subtype ~= asNumber(DownpourRoomSubType.MIRROR) and room.Data.Subtype ~= asNumber(MinesRoomSubType.MINESHAFT_ENTRANCE) end
|
|
131
131
|
)
|
|
132
132
|
local newRoomCandidates = {}
|
|
133
133
|
for ____, room in ipairs(normalRooms) do
|
|
134
|
-
local newRoomCandidatesBesideRoom = ____exports.getNewRoomCandidatesBesideRoom(
|
|
134
|
+
local newRoomCandidatesBesideRoom = ____exports.getNewRoomCandidatesBesideRoom(room.SafeGridIndex)
|
|
135
135
|
for ____, ____value in ipairs(newRoomCandidatesBesideRoom) do
|
|
136
136
|
local doorSlot = ____value[1]
|
|
137
137
|
local newRoomGridIndex = ____value[2]
|
|
@@ -145,12 +145,12 @@ end
|
|
|
145
145
|
--
|
|
146
146
|
-- This is just a filtering of the results of the `getRoomShapeAdjacentGridIndexes` function. See
|
|
147
147
|
-- that function for more information.
|
|
148
|
-
function ____exports.getRoomShapeAdjacentExistingGridIndexes(
|
|
149
|
-
local roomShapeAdjacentGridIndexes = ____exports.getRoomShapeAdjacentGridIndexes(
|
|
148
|
+
function ____exports.getRoomShapeAdjacentExistingGridIndexes(safeRoomGridIndex, roomShape)
|
|
149
|
+
local roomShapeAdjacentGridIndexes = ____exports.getRoomShapeAdjacentGridIndexes(safeRoomGridIndex, roomShape)
|
|
150
150
|
for ____, ____value in __TS__Iterator(roomShapeAdjacentGridIndexes:entries()) do
|
|
151
151
|
local doorSlot = ____value[1]
|
|
152
152
|
local roomGridIndex = ____value[2]
|
|
153
|
-
local roomData = getRoomData(
|
|
153
|
+
local roomData = getRoomData(roomGridIndex)
|
|
154
154
|
if roomData == nil then
|
|
155
155
|
roomShapeAdjacentGridIndexes:delete(doorSlot)
|
|
156
156
|
end
|
|
@@ -163,7 +163,7 @@ end
|
|
|
163
163
|
-- This is used by the `getRoomShapeAdjacentGridIndexes` function.
|
|
164
164
|
--
|
|
165
165
|
-- @returns A map of `DoorSlot` to the corresponding room grid index delta.
|
|
166
|
-
function ____exports.getRoomShapeAdjacentGridIndexDeltas(
|
|
166
|
+
function ____exports.getRoomShapeAdjacentGridIndexDeltas(roomShape)
|
|
167
167
|
return ROOM_SHAPE_TO_DOOR_SLOTS_TO_GRID_INDEX_DELTA[roomShape]
|
|
168
168
|
end
|
|
169
169
|
--- Helper function to get the room grid index that each hypothetical door in a given room shape
|
|
@@ -173,14 +173,14 @@ end
|
|
|
173
173
|
-- for the respective room).
|
|
174
174
|
-- @param roomShape The shape of the room.
|
|
175
175
|
-- @returns A map of `DoorSlot` to the corresponding room grid index.
|
|
176
|
-
function ____exports.getRoomShapeAdjacentGridIndexes(
|
|
177
|
-
local roomShapeAdjacentGridIndexDeltas = ____exports.getRoomShapeAdjacentGridIndexDeltas(
|
|
176
|
+
function ____exports.getRoomShapeAdjacentGridIndexes(safeRoomGridIndex, roomShape)
|
|
177
|
+
local roomShapeAdjacentGridIndexDeltas = ____exports.getRoomShapeAdjacentGridIndexDeltas(roomShape)
|
|
178
178
|
local adjacentGridIndexes = __TS__New(Map)
|
|
179
179
|
for ____, ____value in __TS__Iterator(roomShapeAdjacentGridIndexDeltas:entries()) do
|
|
180
180
|
local doorSlot = ____value[1]
|
|
181
181
|
local delta = ____value[2]
|
|
182
182
|
local roomGridIndex = safeRoomGridIndex + delta
|
|
183
|
-
if ____exports.isRoomInsideGrid(
|
|
183
|
+
if ____exports.isRoomInsideGrid(roomGridIndex) then
|
|
184
184
|
adjacentGridIndexes:set(doorSlot, roomGridIndex)
|
|
185
185
|
end
|
|
186
186
|
end
|
|
@@ -191,12 +191,12 @@ end
|
|
|
191
191
|
--
|
|
192
192
|
-- This is just a filtering of the results of the `getRoomShapeAdjacentGridIndexes` function. See
|
|
193
193
|
-- that function for more information.
|
|
194
|
-
function ____exports.getRoomShapeAdjacentNonExistingGridIndexes(
|
|
195
|
-
local roomShapeAdjacentGridIndexes = ____exports.getRoomShapeAdjacentGridIndexes(
|
|
194
|
+
function ____exports.getRoomShapeAdjacentNonExistingGridIndexes(safeRoomGridIndex, roomShape)
|
|
195
|
+
local roomShapeAdjacentGridIndexes = ____exports.getRoomShapeAdjacentGridIndexes(safeRoomGridIndex, roomShape)
|
|
196
196
|
for ____, ____value in __TS__Iterator(roomShapeAdjacentGridIndexes:entries()) do
|
|
197
197
|
local doorSlot = ____value[1]
|
|
198
198
|
local roomGridIndex = ____value[2]
|
|
199
|
-
local roomData = getRoomData(
|
|
199
|
+
local roomData = getRoomData(roomGridIndex)
|
|
200
200
|
if roomData ~= nil then
|
|
201
201
|
roomShapeAdjacentGridIndexes:delete(doorSlot)
|
|
202
202
|
end
|
|
@@ -213,8 +213,8 @@ end
|
|
|
213
213
|
-- check if a hypothetical room would be a dead end.
|
|
214
214
|
--
|
|
215
215
|
-- @param roomGridIndex Optional. Default is the current room index.
|
|
216
|
-
function ____exports.isDeadEnd(
|
|
217
|
-
local adjacentNonExistingRoomGridIndexes = ____exports.getAdjacentNonExistingRoomGridIndexes(
|
|
216
|
+
function ____exports.isDeadEnd(roomGridIndex)
|
|
217
|
+
local adjacentNonExistingRoomGridIndexes = ____exports.getAdjacentNonExistingRoomGridIndexes(roomGridIndex)
|
|
218
218
|
return #adjacentNonExistingRoomGridIndexes == 1
|
|
219
219
|
end
|
|
220
220
|
--- Helper function to determine if a given room grid index is inside of the normal 13x13 level grid.
|
|
@@ -222,16 +222,16 @@ end
|
|
|
222
222
|
-- For example, Devil Rooms and the Mega Satan room are not considered to be inside the grid.
|
|
223
223
|
--
|
|
224
224
|
-- @param roomGridIndex Optional. Default is the current room index.
|
|
225
|
-
function ____exports.isRoomInsideGrid(
|
|
225
|
+
function ____exports.isRoomInsideGrid(roomGridIndex)
|
|
226
226
|
if roomGridIndex == nil then
|
|
227
|
-
roomGridIndex = getRoomGridIndex(
|
|
227
|
+
roomGridIndex = getRoomGridIndex()
|
|
228
228
|
end
|
|
229
229
|
return roomGridIndex >= 0 and roomGridIndex <= MAX_LEVEL_GRID_INDEX
|
|
230
230
|
end
|
|
231
231
|
--- Helper function to check if a room exists at the given room grid index. (A room will exist if it
|
|
232
232
|
-- has non-undefined data in the room descriptor.)
|
|
233
|
-
function ____exports.roomExists(
|
|
234
|
-
local roomData = getRoomData(
|
|
233
|
+
function ____exports.roomExists(roomGridIndex)
|
|
234
|
+
local roomData = getRoomData(roomGridIndex)
|
|
235
235
|
return roomData ~= nil
|
|
236
236
|
end
|
|
237
237
|
local LEFT = -1
|
|
@@ -243,16 +243,16 @@ ADJACENT_ROOM_GRID_INDEX_DELTAS = {LEFT, UP, RIGHT, DOWN}
|
|
|
243
243
|
--
|
|
244
244
|
-- This is just a filtering of the results of the `getAdjacentExistingRoomGridIndexes` function. See
|
|
245
245
|
-- that function for more information.
|
|
246
|
-
function ____exports.getAdjacentExistingRoomGridIndexes(
|
|
247
|
-
local adjacentRoomGridIndexes = ____exports.getAdjacentRoomGridIndexes(
|
|
246
|
+
function ____exports.getAdjacentExistingRoomGridIndexes(roomGridIndex)
|
|
247
|
+
local adjacentRoomGridIndexes = ____exports.getAdjacentRoomGridIndexes(roomGridIndex)
|
|
248
248
|
return __TS__ArrayFilter(
|
|
249
249
|
adjacentRoomGridIndexes,
|
|
250
|
-
function(____, adjacentRoomGridIndex) return getRoomData(
|
|
250
|
+
function(____, adjacentRoomGridIndex) return getRoomData(adjacentRoomGridIndex) ~= nil end
|
|
251
251
|
)
|
|
252
252
|
end
|
|
253
253
|
--- Helper function to get the room safe grid index for every room on the entire floor.
|
|
254
|
-
function ____exports.getAllRoomGridIndexes(
|
|
255
|
-
local rooms = getRooms(
|
|
254
|
+
function ____exports.getAllRoomGridIndexes()
|
|
255
|
+
local rooms = getRooms()
|
|
256
256
|
return __TS__ArrayMap(
|
|
257
257
|
rooms,
|
|
258
258
|
function(____, roomDescriptor) return roomDescriptor.SafeGridIndex end
|
|
@@ -266,15 +266,15 @@ end
|
|
|
266
266
|
-- `RNG.Next` method will be called. Default is `getRandomSeed()`.
|
|
267
267
|
-- @returns Either a tuple of adjacent room grid index, `DoorSlot`, and new room grid index, or
|
|
268
268
|
-- undefined.
|
|
269
|
-
function ____exports.getNewRoomCandidate(
|
|
269
|
+
function ____exports.getNewRoomCandidate(seedOrRNG)
|
|
270
270
|
if seedOrRNG == nil then
|
|
271
|
-
seedOrRNG = getRandomSeed(
|
|
271
|
+
seedOrRNG = getRandomSeed()
|
|
272
272
|
end
|
|
273
|
-
local newRoomCandidatesForLevel = ____exports.getNewRoomCandidatesForLevel(
|
|
273
|
+
local newRoomCandidatesForLevel = ____exports.getNewRoomCandidatesForLevel()
|
|
274
274
|
if #newRoomCandidatesForLevel == 0 then
|
|
275
275
|
return nil
|
|
276
276
|
end
|
|
277
|
-
return getRandomArrayElement(
|
|
277
|
+
return getRandomArrayElement(newRoomCandidatesForLevel, seedOrRNG)
|
|
278
278
|
end
|
|
279
279
|
--- Helper function to get the grid indexes of all the rooms connected to the given room index,
|
|
280
280
|
-- taking the shape of the room into account. (This will only include rooms with valid data.)
|
|
@@ -284,16 +284,16 @@ end
|
|
|
284
284
|
--
|
|
285
285
|
-- @param roomGridIndex Optional. Default is the current room index.
|
|
286
286
|
-- @returns A map of `DoorSlot` to the corresponding room grid index.
|
|
287
|
-
function ____exports.getRoomAdjacentGridIndexes(
|
|
288
|
-
local roomDescriptor = getRoomDescriptor(
|
|
289
|
-
if not ____exports.isRoomInsideGrid(
|
|
287
|
+
function ____exports.getRoomAdjacentGridIndexes(roomGridIndex)
|
|
288
|
+
local roomDescriptor = getRoomDescriptor(roomGridIndex)
|
|
289
|
+
if not ____exports.isRoomInsideGrid(roomDescriptor.SafeGridIndex) then
|
|
290
290
|
return __TS__New(Map)
|
|
291
291
|
end
|
|
292
292
|
local roomData = roomDescriptor.Data
|
|
293
293
|
if roomData == nil then
|
|
294
294
|
return __TS__New(Map)
|
|
295
295
|
end
|
|
296
|
-
return ____exports.getRoomShapeAdjacentExistingGridIndexes(
|
|
296
|
+
return ____exports.getRoomShapeAdjacentExistingGridIndexes(roomDescriptor.SafeGridIndex, roomData.Shape)
|
|
297
297
|
end
|
|
298
298
|
--- Helper function to get an array of all of the safe grid indexes for rooms that match the
|
|
299
299
|
-- specified room type.
|
|
@@ -302,9 +302,9 @@ end
|
|
|
302
302
|
--
|
|
303
303
|
-- This function is variadic, meaning that you can specify N arguments to get the combined grid
|
|
304
304
|
-- indexes for N room types.
|
|
305
|
-
function ____exports.getRoomGridIndexesForType(
|
|
305
|
+
function ____exports.getRoomGridIndexesForType(...)
|
|
306
306
|
local roomTypesSet = __TS__New(Set, {...})
|
|
307
|
-
local rooms = getRoomsInsideGrid(
|
|
307
|
+
local rooms = getRoomsInsideGrid()
|
|
308
308
|
local matchingRooms = __TS__ArrayFilter(
|
|
309
309
|
rooms,
|
|
310
310
|
function(____, roomDescriptor) return roomDescriptor.Data ~= nil and roomTypesSet:has(roomDescriptor.Data.Type) end
|
|
@@ -314,33 +314,33 @@ function ____exports.getRoomGridIndexesForType(self, ...)
|
|
|
314
314
|
function(____, roomDescriptor) return roomDescriptor.SafeGridIndex end
|
|
315
315
|
)
|
|
316
316
|
end
|
|
317
|
-
function ____exports.isDoorSlotValidAtGridIndex(
|
|
318
|
-
local allowedDoors = getRoomAllowedDoors(
|
|
317
|
+
function ____exports.isDoorSlotValidAtGridIndex(doorSlot, roomGridIndex)
|
|
318
|
+
local allowedDoors = getRoomAllowedDoors(roomGridIndex)
|
|
319
319
|
return allowedDoors:has(doorSlot)
|
|
320
320
|
end
|
|
321
|
-
function ____exports.isDoorSlotValidAtGridIndexForRedRoom(
|
|
322
|
-
local doorSlotValidAtGridIndex = ____exports.isDoorSlotValidAtGridIndex(
|
|
321
|
+
function ____exports.isDoorSlotValidAtGridIndexForRedRoom(doorSlot, roomGridIndex)
|
|
322
|
+
local doorSlotValidAtGridIndex = ____exports.isDoorSlotValidAtGridIndex(doorSlot, roomGridIndex)
|
|
323
323
|
if not doorSlotValidAtGridIndex then
|
|
324
324
|
return false
|
|
325
325
|
end
|
|
326
|
-
local roomShape = getRoomShape(
|
|
326
|
+
local roomShape = getRoomShape(roomGridIndex)
|
|
327
327
|
if roomShape == nil then
|
|
328
328
|
return false
|
|
329
329
|
end
|
|
330
|
-
local delta = getGridIndexDelta(
|
|
330
|
+
local delta = getGridIndexDelta(roomShape, doorSlot)
|
|
331
331
|
if delta == nil then
|
|
332
332
|
return false
|
|
333
333
|
end
|
|
334
334
|
local redRoomGridIndex = roomGridIndex + delta
|
|
335
|
-
return not ____exports.roomExists(
|
|
335
|
+
return not ____exports.roomExists(redRoomGridIndex) and ____exports.isRoomInsideGrid(redRoomGridIndex)
|
|
336
336
|
end
|
|
337
337
|
--- Helper function to detect if the provided room was created by the Red Key item. Under the hood,
|
|
338
338
|
-- this checks for the `RoomDescriptorFlag.FLAG_RED_ROOM` flag.
|
|
339
339
|
--
|
|
340
340
|
-- @param roomGridIndex Optional. Default is the current room index.
|
|
341
|
-
function ____exports.isRedKeyRoom(
|
|
342
|
-
local roomDescriptor = getRoomDescriptor(
|
|
343
|
-
return hasFlag(
|
|
341
|
+
function ____exports.isRedKeyRoom(roomGridIndex)
|
|
342
|
+
local roomDescriptor = getRoomDescriptor(roomGridIndex)
|
|
343
|
+
return hasFlag(roomDescriptor.Flags, RoomDescriptorFlag.RED_ROOM)
|
|
344
344
|
end
|
|
345
345
|
--- Helper function to generate a new room on the floor at a valid dead end attached to a normal
|
|
346
346
|
-- room.
|
|
@@ -354,20 +354,20 @@ end
|
|
|
354
354
|
-- `RNG.Next` method will be called. Default is `Level.GetDungeonPlacementSeed`.
|
|
355
355
|
-- @returns The room grid index of the new room or undefined if the floor had no valid dead ends to
|
|
356
356
|
-- place a room.
|
|
357
|
-
function ____exports.newRoom(
|
|
357
|
+
function ____exports.newRoom(seedOrRNG)
|
|
358
358
|
local level = game:GetLevel()
|
|
359
359
|
if seedOrRNG == nil then
|
|
360
360
|
seedOrRNG = level:GetDungeonPlacementSeed()
|
|
361
361
|
end
|
|
362
|
-
local rng = isRNG(
|
|
363
|
-
local newRoomCandidate = ____exports.getNewRoomCandidate(
|
|
362
|
+
local rng = isRNG(seedOrRNG) and seedOrRNG or newRNG(seedOrRNG)
|
|
363
|
+
local newRoomCandidate = ____exports.getNewRoomCandidate(rng)
|
|
364
364
|
if newRoomCandidate == nil then
|
|
365
365
|
return nil
|
|
366
366
|
end
|
|
367
367
|
local adjacentRoomGridIndex, doorSlot, newRoomGridIndex = table.unpack(newRoomCandidate)
|
|
368
368
|
level:MakeRedRoomDoor(adjacentRoomGridIndex, doorSlot)
|
|
369
|
-
local roomDescriptor = getRoomDescriptor(
|
|
370
|
-
roomDescriptor.Flags = removeFlag(
|
|
369
|
+
local roomDescriptor = getRoomDescriptor(newRoomGridIndex)
|
|
370
|
+
roomDescriptor.Flags = removeFlag(roomDescriptor.Flags, RoomDescriptorFlag.RED_ROOM)
|
|
371
371
|
local roomData = roomDescriptor.Data
|
|
372
372
|
if roomData ~= nil then
|
|
373
373
|
local hasFullMap = level:GetStateFlag(LevelStateFlag.FULL_MAP_EFFECT)
|
|
@@ -378,9 +378,9 @@ function ____exports.newRoom(self, seedOrRNG)
|
|
|
378
378
|
if hasFullMap then
|
|
379
379
|
roomDescriptor.DisplayFlags = ALL_DISPLAY_FLAGS
|
|
380
380
|
elseif not isSecretRoom and hasCompass then
|
|
381
|
-
roomDescriptor.DisplayFlags = addFlag(
|
|
381
|
+
roomDescriptor.DisplayFlags = addFlag(DisplayFlag.VISIBLE, DisplayFlag.SHOW_ICON)
|
|
382
382
|
elseif isSecretRoom and hasBlueMap then
|
|
383
|
-
roomDescriptor.DisplayFlags = addFlag(
|
|
383
|
+
roomDescriptor.DisplayFlags = addFlag(DisplayFlag.VISIBLE, DisplayFlag.SHOW_ICON)
|
|
384
384
|
end
|
|
385
385
|
end
|
|
386
386
|
return newRoomGridIndex
|
|
@@ -394,7 +394,7 @@ end
|
|
|
394
394
|
-- - The top-right grid index of 12 is equal to coordinates of: (0, 0)
|
|
395
395
|
-- - The bottom-left grid index of 156 is equal to coordinates of: (0, 12)
|
|
396
396
|
-- - The bottom-right grid index of 168 is equal to coordinates of: (12, 12)
|
|
397
|
-
function ____exports.roomGridIndexToXY(
|
|
397
|
+
function ____exports.roomGridIndexToXY(roomGridIndex)
|
|
398
398
|
local x = roomGridIndex % LEVEL_GRID_ROW_WIDTH
|
|
399
399
|
local y = math.floor(roomGridIndex / LEVEL_GRID_ROW_WIDTH)
|
|
400
400
|
return {x, y}
|
package/dist/functions/log.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="typescript-to-lua/language-extensions" />
|
|
2
|
+
/** @noSelfInFile */
|
|
2
3
|
import { CollectibleType, DamageFlag, EntityFlag, ProjectileFlag, TearFlag, UseFlag } from "isaac-typescript-definitions";
|
|
3
4
|
/**
|
|
4
5
|
* Helper function to prefix the name of the function and the line number before a debug message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../src/functions/log.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../src/functions/log.ts"],"names":[],"mappings":"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"}
|