isaacscript-common 9.13.5-dev.2 → 9.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/callbacks/customRevive.d.ts +0 -1
- package/dist/callbacks/customRevive.d.ts.map +1 -1
- package/dist/callbacks/customRevive.lua +45 -39
- package/dist/callbacks/itemPickup.d.ts +0 -1
- package/dist/callbacks/itemPickup.d.ts.map +1 -1
- package/dist/callbacks/itemPickup.lua +16 -16
- package/dist/callbacks/postAmbush.d.ts +0 -1
- package/dist/callbacks/postAmbush.d.ts.map +1 -1
- package/dist/callbacks/postAmbush.lua +12 -12
- package/dist/callbacks/postBombExploded.d.ts +0 -1
- package/dist/callbacks/postBombExploded.d.ts.map +1 -1
- package/dist/callbacks/postBombExploded.lua +6 -6
- package/dist/callbacks/postBombInitLate.d.ts +0 -1
- package/dist/callbacks/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/postBombInitLate.lua +7 -7
- package/dist/callbacks/postBoneSwing.d.ts +0 -1
- package/dist/callbacks/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/postBoneSwing.lua +11 -11
- package/dist/callbacks/postCollectibleEmpty.d.ts +0 -1
- package/dist/callbacks/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleEmpty.lua +6 -6
- package/dist/callbacks/postCollectibleInitFirst.d.ts +0 -1
- package/dist/callbacks/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleInitFirst.lua +7 -7
- package/dist/callbacks/postCursedTeleport.d.ts +0 -1
- package/dist/callbacks/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/postCursedTeleport.lua +24 -24
- package/dist/callbacks/postCustomDoorEnter.d.ts +0 -1
- package/dist/callbacks/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/postCustomDoorEnter.lua +34 -28
- package/dist/callbacks/postDiceRoomActivated.d.ts +0 -1
- package/dist/callbacks/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/postDiceRoomActivated.lua +9 -9
- package/dist/callbacks/postDoorRender.d.ts +0 -1
- package/dist/callbacks/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/postDoorRender.lua +7 -7
- package/dist/callbacks/postDoorUpdate.d.ts +0 -1
- package/dist/callbacks/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/postDoorUpdate.lua +7 -7
- package/dist/callbacks/postEffectInitLate.d.ts +0 -1
- package/dist/callbacks/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/postEffectInitLate.lua +7 -7
- package/dist/callbacks/postEffectStateChanged.d.ts +0 -1
- package/dist/callbacks/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postEffectStateChanged.lua +8 -8
- package/dist/callbacks/postEsauJr.d.ts +0 -1
- package/dist/callbacks/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/postEsauJr.lua +11 -11
- package/dist/callbacks/postFamiliarInitLate.d.ts +0 -1
- package/dist/callbacks/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarInitLate.lua +7 -7
- package/dist/callbacks/postFamiliarStateChanged.d.ts +0 -1
- package/dist/callbacks/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarStateChanged.lua +8 -8
- package/dist/callbacks/postFlip.d.ts +0 -1
- package/dist/callbacks/postFlip.d.ts.map +1 -1
- package/dist/callbacks/postFlip.lua +12 -12
- package/dist/callbacks/postGreedModeWave.d.ts +0 -1
- package/dist/callbacks/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/postGreedModeWave.lua +7 -7
- package/dist/callbacks/postGridEntity.d.ts +0 -1
- package/dist/callbacks/postGridEntity.d.ts.map +1 -1
- package/dist/callbacks/postGridEntity.lua +41 -35
- package/dist/callbacks/postGridEntityCollision.d.ts +0 -1
- package/dist/callbacks/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomCollision.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomRender.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomRender.lua +7 -7
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomUpdate.lua +7 -7
- package/dist/callbacks/postGridEntityRender.d.ts +0 -1
- package/dist/callbacks/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityRender.lua +7 -7
- package/dist/callbacks/postHolyMantleRemoved.d.ts +0 -1
- package/dist/callbacks/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/postHolyMantleRemoved.lua +9 -9
- package/dist/callbacks/postItemDischarged.d.ts +0 -1
- package/dist/callbacks/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/postItemDischarged.lua +18 -18
- package/dist/callbacks/postKnifeInitLate.d.ts +0 -1
- package/dist/callbacks/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/postKnifeInitLate.lua +7 -7
- package/dist/callbacks/postLaserInitLate.d.ts +0 -1
- package/dist/callbacks/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/postLaserInitLate.lua +7 -7
- package/dist/callbacks/postNPCInitLate.d.ts +0 -1
- package/dist/callbacks/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/postNPCInitLate.lua +7 -7
- package/dist/callbacks/postNPCStateChanged.d.ts +0 -1
- package/dist/callbacks/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postNPCStateChanged.lua +8 -8
- package/dist/callbacks/postNewRoomEarly.d.ts +0 -1
- package/dist/callbacks/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/postNewRoomEarly.lua +16 -16
- package/dist/callbacks/postPickupCollect.d.ts +0 -1
- package/dist/callbacks/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/postPickupCollect.lua +8 -8
- package/dist/callbacks/postPickupInitFirst.d.ts +0 -1
- package/dist/callbacks/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitFirst.lua +8 -8
- package/dist/callbacks/postPickupInitLate.d.ts +0 -1
- package/dist/callbacks/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitLate.lua +7 -7
- package/dist/callbacks/postPickupStateChanged.d.ts +0 -1
- package/dist/callbacks/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postPickupStateChanged.lua +8 -8
- package/dist/callbacks/postPitRender.d.ts +0 -1
- package/dist/callbacks/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/postPitRender.lua +7 -7
- package/dist/callbacks/postPitUpdate.d.ts +0 -1
- package/dist/callbacks/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPitUpdate.lua +7 -7
- package/dist/callbacks/postPlayerChangeHealth.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeHealth.lua +10 -9
- package/dist/callbacks/postPlayerChangeStat.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeStat.lua +20 -19
- package/dist/callbacks/postPlayerChangeType.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeType.lua +10 -10
- package/dist/callbacks/postPlayerCollectible.d.ts +0 -1
- package/dist/callbacks/postPlayerCollectible.d.ts.map +1 -1
- package/dist/callbacks/postPlayerCollectible.lua +40 -36
- package/dist/callbacks/postPlayerFatalDamage.d.ts +0 -1
- package/dist/callbacks/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/postPlayerFatalDamage.lua +22 -14
- package/dist/callbacks/postPlayerInitFirst.d.ts +0 -1
- package/dist/callbacks/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitFirst.lua +12 -12
- package/dist/callbacks/postPlayerInitLate.d.ts +0 -1
- package/dist/callbacks/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitLate.lua +9 -9
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts +0 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.lua +25 -25
- package/dist/callbacks/postPoopRender.d.ts +0 -1
- package/dist/callbacks/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/postPoopRender.lua +7 -7
- package/dist/callbacks/postPoopUpdate.d.ts +0 -1
- package/dist/callbacks/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPoopUpdate.lua +7 -7
- package/dist/callbacks/postPressurePlateRender.d.ts +0 -1
- package/dist/callbacks/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateRender.lua +7 -7
- package/dist/callbacks/postPressurePlateUpdate.d.ts +0 -1
- package/dist/callbacks/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateUpdate.lua +7 -7
- package/dist/callbacks/postProjectileInitLate.d.ts +0 -1
- package/dist/callbacks/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/postProjectileInitLate.lua +7 -7
- package/dist/callbacks/postPurchase.d.ts +0 -1
- package/dist/callbacks/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/postPurchase.lua +12 -12
- package/dist/callbacks/postRockRender.d.ts +0 -1
- package/dist/callbacks/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/postRockRender.lua +7 -7
- package/dist/callbacks/postRockUpdate.d.ts +0 -1
- package/dist/callbacks/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/postRockUpdate.lua +7 -7
- package/dist/callbacks/postRoomClearChanged.d.ts +0 -1
- package/dist/callbacks/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/postRoomClearChanged.lua +9 -9
- package/dist/callbacks/postSacrifice.d.ts +0 -1
- package/dist/callbacks/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/postSacrifice.lua +8 -8
- package/dist/callbacks/postSlotCollision.d.ts +0 -1
- package/dist/callbacks/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/postSlotCollision.lua +7 -7
- package/dist/callbacks/postSlotDestroyed.d.ts +0 -1
- package/dist/callbacks/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/postSlotDestroyed.lua +8 -8
- package/dist/callbacks/postSlotInitUpdate.d.ts +0 -1
- package/dist/callbacks/postSlotInitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSlotInitUpdate.lua +15 -15
- package/dist/callbacks/postSlotRender.d.ts +0 -1
- package/dist/callbacks/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/postSlotRender.lua +12 -12
- package/dist/callbacks/postSpikesRender.d.ts +0 -1
- package/dist/callbacks/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/postSpikesRender.lua +7 -7
- package/dist/callbacks/postSpikesUpdate.d.ts +0 -1
- package/dist/callbacks/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSpikesUpdate.lua +7 -7
- package/dist/callbacks/postTNTRender.d.ts +0 -1
- package/dist/callbacks/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/postTNTRender.lua +7 -7
- package/dist/callbacks/postTNTUpdate.d.ts +0 -1
- package/dist/callbacks/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/postTNTUpdate.lua +7 -7
- package/dist/callbacks/postTearInitLate.d.ts +0 -1
- package/dist/callbacks/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitLate.lua +7 -7
- package/dist/callbacks/postTearInitVeryLate.d.ts +0 -1
- package/dist/callbacks/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitVeryLate.lua +7 -7
- package/dist/callbacks/postTransformation.d.ts +0 -1
- package/dist/callbacks/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/postTransformation.lua +9 -9
- package/dist/callbacks/postTrinketBreak.d.ts +0 -1
- package/dist/callbacks/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/postTrinketBreak.lua +11 -11
- package/dist/callbacks/preBerserkDeath.d.ts +0 -1
- package/dist/callbacks/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/preBerserkDeath.lua +9 -9
- package/dist/callbacks/preNewLevel.d.ts +0 -1
- package/dist/callbacks/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/preNewLevel.lua +8 -8
- package/dist/callbacks/reorderedCallbacks.d.ts +0 -1
- package/dist/callbacks/reorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/reorderedCallbacks.lua +26 -26
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts +0 -1
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postAmbushFinished.lua +4 -4
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts +0 -1
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postAmbushStarted.lua +4 -4
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBombInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBoneExploded.lua +4 -4
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBoneSwing.lua +4 -4
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCollectibleEmpty.lua +4 -4
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +4 -4
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +10 -4
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomRevive.lua +4 -4
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDiceRoomActivated.lua +4 -4
- package/dist/callbacks/subscriptions/postDoorRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorRender.lua +4 -4
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEffectStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postEsauJr.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEsauJr.lua +4 -4
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +4 -4
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFirstFlip.lua +4 -4
- package/dist/callbacks/subscriptions/postFlip.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFlip.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFlip.lua +4 -4
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.lua +4 -4
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGreedModeWave.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityBroken.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.lua +10 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityRender.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts +0 -1
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.lua +4 -4
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postItemDischarged.lua +4 -4
- package/dist/callbacks/subscriptions/postItemPickup.d.ts +0 -1
- package/dist/callbacks/subscriptions/postItemPickup.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postItemPickup.lua +4 -4
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNPCStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +4 -4
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupCollect.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postPitRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPoopRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPurchase.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPurchase.lua +4 -4
- package/dist/callbacks/subscriptions/postRockRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRockRender.lua +4 -4
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRockUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRoomClearChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postSacrifice.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSacrifice.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotInit.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotRender.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSpikesRender.lua +4 -4
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSpikesUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postTNTRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTNTRender.lua +4 -4
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTNTUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTearInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +4 -4
- package/dist/callbacks/subscriptions/postTransformation.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTransformation.lua +4 -4
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.lua +4 -4
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts +0 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.lua +4 -4
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts +0 -1
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preCustomRevive.lua +4 -4
- package/dist/callbacks/subscriptions/preItemPickup.d.ts +0 -1
- package/dist/callbacks/subscriptions/preItemPickup.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preItemPickup.lua +4 -4
- package/dist/callbacks/subscriptions/preNewLevel.d.ts +0 -1
- package/dist/callbacks/subscriptions/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preNewLevel.lua +4 -4
- package/dist/classes/DefaultMap.d.ts +0 -1
- package/dist/classes/DefaultMap.d.ts.map +1 -1
- package/dist/classes/DefaultMap.lua +4 -4
- package/dist/classes/ModUpgraded.d.ts +4 -1
- package/dist/classes/ModUpgraded.d.ts.map +1 -1
- package/dist/classes/ModUpgraded.lua +1 -1
- package/dist/core/cachedClasses.d.ts +0 -1
- package/dist/core/cachedClasses.d.ts.map +1 -1
- package/dist/core/constants.d.ts +0 -1
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.lua +4 -4
- package/dist/core/constantsFirstLast.d.ts +0 -1
- package/dist/core/constantsFirstLast.d.ts.map +1 -1
- package/dist/core/constantsFirstLast.lua +11 -11
- package/dist/core/upgradeMod.d.ts +0 -1
- package/dist/core/upgradeMod.d.ts.map +1 -1
- package/dist/core/upgradeMod.lua +9 -9
- package/dist/enums/AmbushType.d.ts +0 -1
- package/dist/enums/AmbushType.d.ts.map +1 -1
- package/dist/enums/CornerType.d.ts +0 -1
- package/dist/enums/CornerType.d.ts.map +1 -1
- package/dist/enums/HealthType.d.ts +0 -1
- package/dist/enums/HealthType.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.d.ts +0 -1
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/enums/PocketItemType.d.ts +0 -1
- package/dist/enums/PocketItemType.d.ts.map +1 -1
- package/dist/enums/RockAltType.d.ts +0 -1
- package/dist/enums/RockAltType.d.ts.map +1 -1
- package/dist/enums/SaveDataKey.d.ts +0 -1
- package/dist/enums/SaveDataKey.d.ts.map +1 -1
- package/dist/enums/SerializationType.d.ts +0 -1
- package/dist/enums/SerializationType.d.ts.map +1 -1
- package/dist/enums/SlotDestructionType.d.ts +0 -1
- package/dist/enums/SlotDestructionType.d.ts.map +1 -1
- package/dist/enums/StatType.d.ts +0 -1
- package/dist/enums/StatType.d.ts.map +1 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +0 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts.map +1 -1
- package/dist/enums/private/SerializationBrand.d.ts +0 -1
- package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
- package/dist/enums/private/StageTravelState.d.ts +0 -1
- package/dist/enums/private/StageTravelState.d.ts.map +1 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts +0 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.d.ts +0 -1
- package/dist/features/characterHealthConversion.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.lua +10 -10
- package/dist/features/characterStats.d.ts +0 -1
- package/dist/features/characterStats.d.ts.map +1 -1
- package/dist/features/characterStats.lua +6 -6
- package/dist/features/collectibleItemPoolType.d.ts +0 -1
- package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
- package/dist/features/collectibleItemPoolType.lua +8 -8
- package/dist/features/customDoor.d.ts +0 -1
- package/dist/features/customDoor.d.ts.map +1 -1
- package/dist/features/customDoor.lua +4 -4
- package/dist/features/customGridEntity.d.ts +0 -1
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +42 -39
- package/dist/features/customPickup.d.ts +0 -1
- package/dist/features/customPickup.d.ts.map +1 -1
- package/dist/features/customPickup.lua +8 -8
- package/dist/features/customStage/backdrop.d.ts +0 -1
- package/dist/features/customStage/backdrop.d.ts.map +1 -1
- package/dist/features/customStage/backdrop.lua +40 -28
- package/dist/features/customStage/customStageConstants.d.ts +0 -1
- package/dist/features/customStage/customStageConstants.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.d.ts +0 -1
- package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.lua +34 -34
- package/dist/features/customStage/customStageUtils.d.ts +0 -1
- package/dist/features/customStage/customStageUtils.d.ts.map +1 -1
- package/dist/features/customStage/customStageUtils.lua +33 -21
- package/dist/features/customStage/exports.d.ts +0 -1
- package/dist/features/customStage/exports.d.ts.map +1 -1
- package/dist/features/customStage/exports.lua +36 -18
- package/dist/features/customStage/init.d.ts +0 -1
- package/dist/features/customStage/init.d.ts.map +1 -1
- package/dist/features/customStage/init.lua +28 -28
- package/dist/features/customStage/shadows.d.ts +0 -1
- package/dist/features/customStage/shadows.d.ts.map +1 -1
- package/dist/features/customStage/shadows.lua +10 -4
- package/dist/features/customStage/streakText.d.ts +0 -1
- package/dist/features/customStage/streakText.d.ts.map +1 -1
- package/dist/features/customStage/streakText.lua +17 -17
- package/dist/features/customStage/v.d.ts +0 -1
- package/dist/features/customStage/v.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.d.ts +0 -1
- package/dist/features/customStage/versusScreen.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.lua +31 -27
- package/dist/features/customTrapdoor/blackSprite.d.ts +0 -1
- package/dist/features/customTrapdoor/blackSprite.d.ts.map +1 -1
- package/dist/features/customTrapdoor/blackSprite.lua +1 -1
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts +0 -1
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.d.ts +0 -1
- package/dist/features/customTrapdoor/exports.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.lua +20 -8
- package/dist/features/customTrapdoor/init.d.ts +0 -1
- package/dist/features/customTrapdoor/init.d.ts.map +1 -1
- package/dist/features/customTrapdoor/init.lua +65 -50
- package/dist/features/customTrapdoor/openClose.d.ts +0 -1
- package/dist/features/customTrapdoor/openClose.d.ts.map +1 -1
- package/dist/features/customTrapdoor/openClose.lua +12 -12
- package/dist/features/customTrapdoor/spawn.d.ts +0 -1
- package/dist/features/customTrapdoor/spawn.d.ts.map +1 -1
- package/dist/features/customTrapdoor/spawn.lua +5 -4
- package/dist/features/customTrapdoor/touched.d.ts +0 -1
- package/dist/features/customTrapdoor/touched.d.ts.map +1 -1
- package/dist/features/customTrapdoor/touched.lua +25 -21
- package/dist/features/customTrapdoor/v.d.ts +0 -1
- package/dist/features/customTrapdoor/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts +0 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.lua +59 -59
- package/dist/features/debugDisplay/exports.d.ts +0 -1
- package/dist/features/debugDisplay/exports.d.ts.map +1 -1
- package/dist/features/debugDisplay/exports.lua +90 -90
- package/dist/features/debugDisplay/v.d.ts +0 -1
- package/dist/features/debugDisplay/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/v.lua +6 -6
- package/dist/features/deployJSONRoom.d.ts +0 -1
- package/dist/features/deployJSONRoom.d.ts.map +1 -1
- package/dist/features/deployJSONRoom.lua +118 -93
- package/dist/features/disableAllSound.d.ts +0 -1
- package/dist/features/disableAllSound.d.ts.map +1 -1
- package/dist/features/disableAllSound.lua +10 -10
- package/dist/features/disableInputs.d.ts +0 -1
- package/dist/features/disableInputs.d.ts.map +1 -1
- package/dist/features/disableInputs.lua +25 -25
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts +0 -1
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsDisplay.lua +72 -72
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts +0 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +42 -33
- package/dist/features/extraConsoleCommands/exports.d.ts +0 -1
- package/dist/features/extraConsoleCommands/exports.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/exports.lua +8 -8
- package/dist/features/extraConsoleCommands/init.d.ts +0 -1
- package/dist/features/extraConsoleCommands/init.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/init.lua +28 -28
- package/dist/features/extraConsoleCommands/listCommands.d.ts +2 -1
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +367 -307
- package/dist/features/extraConsoleCommands/v.d.ts +0 -1
- package/dist/features/extraConsoleCommands/v.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/v.lua +1 -1
- package/dist/features/fadeInRemover.d.ts +0 -1
- package/dist/features/fadeInRemover.d.ts.map +1 -1
- package/dist/features/fadeInRemover.lua +9 -8
- package/dist/features/fastReset.d.ts +0 -1
- package/dist/features/fastReset.d.ts.map +1 -1
- package/dist/features/fastReset.lua +11 -11
- package/dist/features/firstLast.d.ts +0 -1
- package/dist/features/firstLast.d.ts.map +1 -1
- package/dist/features/firstLast.lua +105 -93
- package/dist/features/forgottenSwitch.d.ts +0 -1
- package/dist/features/forgottenSwitch.d.ts.map +1 -1
- package/dist/features/forgottenSwitch.lua +5 -5
- package/dist/features/pause.d.ts +0 -1
- package/dist/features/pause.d.ts.map +1 -1
- package/dist/features/pause.lua +25 -25
- package/dist/features/persistentEntities.d.ts +0 -1
- package/dist/features/persistentEntities.d.ts.map +1 -1
- package/dist/features/persistentEntities.lua +25 -17
- package/dist/features/pickupIndex.d.ts +0 -1
- package/dist/features/pickupIndex.d.ts.map +1 -1
- package/dist/features/pickupIndex.lua +25 -25
- package/dist/features/playerInventory.d.ts +0 -1
- package/dist/features/playerInventory.d.ts.map +1 -1
- package/dist/features/playerInventory.lua +16 -16
- package/dist/features/ponyDetection.d.ts +0 -1
- package/dist/features/ponyDetection.d.ts.map +1 -1
- package/dist/features/ponyDetection.lua +14 -13
- package/dist/features/preventChildEntities.d.ts +0 -1
- package/dist/features/preventChildEntities.d.ts.map +1 -1
- package/dist/features/preventChildEntities.lua +4 -4
- package/dist/features/preventCollectibleRotation.d.ts +0 -1
- package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
- package/dist/features/preventCollectibleRotation.lua +13 -13
- package/dist/features/registerHotkey.d.ts +0 -1
- package/dist/features/registerHotkey.d.ts.map +1 -1
- package/dist/features/registerHotkey.lua +14 -14
- package/dist/features/roomClearFrame.d.ts +0 -1
- package/dist/features/roomClearFrame.d.ts.map +1 -1
- package/dist/features/roomClearFrame.lua +7 -7
- package/dist/features/roomHistory.d.ts +0 -1
- package/dist/features/roomHistory.d.ts.map +1 -1
- package/dist/features/roomHistory.lua +19 -19
- package/dist/features/runInNFrames.d.ts +0 -1
- package/dist/features/runInNFrames.d.ts.map +1 -1
- package/dist/features/runInNFrames.lua +30 -30
- package/dist/features/runNextRoom.d.ts +0 -1
- package/dist/features/runNextRoom.d.ts.map +1 -1
- package/dist/features/runNextRoom.lua +7 -7
- package/dist/features/saveDataManager/exports.d.ts +0 -1
- package/dist/features/saveDataManager/exports.d.ts.map +1 -1
- package/dist/features/saveDataManager/exports.lua +16 -16
- package/dist/features/saveDataManager/load.d.ts +0 -1
- package/dist/features/saveDataManager/load.d.ts.map +1 -1
- package/dist/features/saveDataManager/load.lua +16 -12
- package/dist/features/saveDataManager/main.d.ts +0 -1
- package/dist/features/saveDataManager/main.d.ts.map +1 -1
- package/dist/features/saveDataManager/main.lua +32 -31
- package/dist/features/saveDataManager/maps.d.ts +0 -1
- package/dist/features/saveDataManager/maps.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.d.ts +0 -1
- package/dist/features/saveDataManager/merge.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.lua +33 -30
- package/dist/features/saveDataManager/save.d.ts +0 -1
- package/dist/features/saveDataManager/save.d.ts.map +1 -1
- package/dist/features/saveDataManager/save.lua +9 -8
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts +0 -1
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts +0 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.lua +3 -3
- package/dist/features/sirenHelpers.d.ts +0 -1
- package/dist/features/sirenHelpers.d.ts.map +1 -1
- package/dist/features/sirenHelpers.lua +15 -15
- package/dist/features/stageHistory.d.ts +0 -1
- package/dist/features/stageHistory.d.ts.map +1 -1
- package/dist/features/stageHistory.lua +7 -7
- package/dist/features/taintedLazarusPlayers.d.ts +0 -1
- package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
- package/dist/features/taintedLazarusPlayers.lua +8 -8
- package/dist/featuresInitialized.d.ts +0 -1
- package/dist/featuresInitialized.d.ts.map +1 -1
- package/dist/featuresInitialized.lua +4 -4
- package/dist/functions/ambush.d.ts +0 -1
- package/dist/functions/ambush.d.ts.map +1 -1
- package/dist/functions/ambush.lua +18 -15
- package/dist/functions/array.d.ts +0 -1
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.lua +62 -48
- package/dist/functions/benchmark.d.ts +0 -1
- package/dist/functions/benchmark.d.ts.map +1 -1
- package/dist/functions/benchmark.lua +10 -4
- package/dist/functions/bitSet128.d.ts +0 -1
- package/dist/functions/bitSet128.d.ts.map +1 -1
- package/dist/functions/bitSet128.lua +13 -11
- package/dist/functions/bitwise.d.ts +0 -1
- package/dist/functions/bitwise.d.ts.map +1 -1
- package/dist/functions/bitwise.lua +9 -9
- package/dist/functions/bombs.d.ts +0 -1
- package/dist/functions/bombs.d.ts.map +1 -1
- package/dist/functions/bombs.lua +1 -1
- package/dist/functions/bosses.d.ts +0 -1
- package/dist/functions/bosses.d.ts.map +1 -1
- package/dist/functions/bosses.lua +31 -15
- package/dist/functions/cards.d.ts +0 -1
- package/dist/functions/cards.d.ts.map +1 -1
- package/dist/functions/cards.lua +48 -42
- package/dist/functions/challenges.d.ts +0 -1
- package/dist/functions/challenges.d.ts.map +1 -1
- package/dist/functions/challenges.lua +1 -1
- package/dist/functions/characters.d.ts +0 -1
- package/dist/functions/characters.d.ts.map +1 -1
- package/dist/functions/characters.lua +13 -13
- package/dist/functions/charge.d.ts +0 -1
- package/dist/functions/charge.d.ts.map +1 -1
- package/dist/functions/charge.lua +36 -24
- package/dist/functions/chargeBar.d.ts +0 -1
- package/dist/functions/chargeBar.d.ts.map +1 -1
- package/dist/functions/chargeBar.lua +5 -5
- package/dist/functions/collectibleCacheFlag.d.ts +0 -1
- package/dist/functions/collectibleCacheFlag.d.ts.map +1 -1
- package/dist/functions/collectibleCacheFlag.lua +12 -11
- package/dist/functions/collectibleSet.d.ts +0 -1
- package/dist/functions/collectibleSet.d.ts.map +1 -1
- package/dist/functions/collectibleSet.lua +17 -17
- package/dist/functions/collectibleTag.d.ts +0 -1
- package/dist/functions/collectibleTag.d.ts.map +1 -1
- package/dist/functions/collectibleTag.lua +14 -13
- package/dist/functions/collectibles.d.ts +0 -1
- package/dist/functions/collectibles.d.ts.map +1 -1
- package/dist/functions/collectibles.lua +69 -68
- package/dist/functions/color.d.ts +0 -1
- package/dist/functions/color.d.ts.map +1 -1
- package/dist/functions/color.lua +21 -19
- package/dist/functions/curses.d.ts +0 -1
- package/dist/functions/curses.d.ts.map +1 -1
- package/dist/functions/curses.lua +3 -3
- package/dist/functions/debug.d.ts +0 -1
- package/dist/functions/debug.d.ts.map +1 -1
- package/dist/functions/debug.lua +15 -15
- package/dist/functions/deepCopy.d.ts +0 -1
- package/dist/functions/deepCopy.d.ts.map +1 -1
- package/dist/functions/deepCopy.lua +169 -73
- package/dist/functions/deepCopyTests.d.ts +0 -1
- package/dist/functions/deepCopyTests.d.ts.map +1 -1
- package/dist/functions/deepCopyTests.lua +81 -81
- package/dist/functions/dimensions.d.ts +0 -1
- package/dist/functions/dimensions.d.ts.map +1 -1
- package/dist/functions/dimensions.lua +7 -7
- package/dist/functions/direction.d.ts +0 -1
- package/dist/functions/direction.d.ts.map +1 -1
- package/dist/functions/direction.lua +4 -4
- package/dist/functions/doors.d.ts +0 -1
- package/dist/functions/doors.d.ts.map +1 -1
- package/dist/functions/doors.lua +77 -74
- package/dist/functions/easing.d.ts +0 -1
- package/dist/functions/easing.d.ts.map +1 -1
- package/dist/functions/easing.lua +32 -32
- package/dist/functions/eden.d.ts +0 -1
- package/dist/functions/eden.d.ts.map +1 -1
- package/dist/functions/eden.lua +9 -9
- package/dist/functions/effects.d.ts +0 -1
- package/dist/functions/effects.d.ts.map +1 -1
- package/dist/functions/effects.lua +2 -2
- package/dist/functions/entities.d.ts +0 -1
- package/dist/functions/entities.d.ts.map +1 -1
- package/dist/functions/entities.lua +48 -41
- package/dist/functions/entitiesSpecific.d.ts +0 -1
- package/dist/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/functions/entitiesSpecific.lua +96 -70
- package/dist/functions/entityTypes.d.ts +0 -1
- package/dist/functions/entityTypes.d.ts.map +1 -1
- package/dist/functions/entityTypes.lua +1 -1
- package/dist/functions/enums.d.ts +0 -1
- package/dist/functions/enums.d.ts.map +1 -1
- package/dist/functions/enums.lua +19 -19
- package/dist/functions/familiars.d.ts +0 -1
- package/dist/functions/familiars.d.ts.map +1 -1
- package/dist/functions/familiars.lua +6 -5
- package/dist/functions/flag.d.ts +0 -1
- package/dist/functions/flag.d.ts.map +1 -1
- package/dist/functions/flag.lua +8 -8
- package/dist/functions/flying.d.ts +0 -1
- package/dist/functions/flying.d.ts.map +1 -1
- package/dist/functions/flying.lua +12 -9
- package/dist/functions/globals.d.ts +0 -1
- package/dist/functions/globals.d.ts.map +1 -1
- package/dist/functions/globals.lua +17 -14
- package/dist/functions/gridEntities.d.ts +0 -1
- package/dist/functions/gridEntities.d.ts.map +1 -1
- package/dist/functions/gridEntities.lua +64 -58
- package/dist/functions/gridEntitiesSpecific.d.ts +3 -1
- package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -1
- package/dist/functions/gridEntitiesSpecific.lua +98 -92
- package/dist/functions/hex.d.ts +0 -1
- package/dist/functions/hex.d.ts.map +1 -1
- package/dist/functions/hex.lua +12 -9
- package/dist/functions/initArray.d.ts +0 -1
- package/dist/functions/initArray.d.ts.map +1 -1
- package/dist/functions/initArray.lua +4 -3
- package/dist/functions/input.d.ts +0 -1
- package/dist/functions/input.d.ts.map +1 -1
- package/dist/functions/input.lua +25 -22
- package/dist/functions/isaacAPIClass.d.ts +0 -1
- package/dist/functions/isaacAPIClass.d.ts.map +1 -1
- package/dist/functions/isaacAPIClass.lua +47 -47
- package/dist/functions/itemPool.d.ts +0 -1
- package/dist/functions/itemPool.d.ts.map +1 -1
- package/dist/functions/itemPool.lua +19 -17
- package/dist/functions/jsonHelpers.d.ts +0 -1
- package/dist/functions/jsonHelpers.d.ts.map +1 -1
- package/dist/functions/jsonHelpers.lua +3 -3
- package/dist/functions/jsonRoom.d.ts +0 -1
- package/dist/functions/jsonRoom.d.ts.map +1 -1
- package/dist/functions/jsonRoom.lua +22 -16
- package/dist/functions/kColor.d.ts +0 -1
- package/dist/functions/kColor.d.ts.map +1 -1
- package/dist/functions/kColor.lua +21 -19
- package/dist/functions/language.d.ts +0 -1
- package/dist/functions/language.d.ts.map +1 -1
- package/dist/functions/language.lua +1 -1
- package/dist/functions/level.d.ts +0 -1
- package/dist/functions/level.d.ts.map +1 -1
- package/dist/functions/level.lua +5 -5
- package/dist/functions/levelGrid.d.ts +0 -1
- package/dist/functions/levelGrid.d.ts.map +1 -1
- package/dist/functions/levelGrid.lua +67 -67
- package/dist/functions/log.d.ts +0 -1
- package/dist/functions/log.d.ts.map +1 -1
- package/dist/functions/log.lua +240 -128
- package/dist/functions/logEntities.d.ts +0 -1
- package/dist/functions/logEntities.d.ts.map +1 -1
- package/dist/functions/logEntities.lua +32 -29
- package/dist/functions/map.d.ts +0 -1
- package/dist/functions/map.d.ts.map +1 -1
- package/dist/functions/map.lua +5 -5
- package/dist/functions/math.d.ts +0 -1
- package/dist/functions/math.d.ts.map +1 -1
- package/dist/functions/math.lua +14 -14
- package/dist/functions/mergeTests.d.ts +0 -1
- package/dist/functions/mergeTests.d.ts.map +1 -1
- package/dist/functions/mergeTests.lua +47 -47
- package/dist/functions/minimap.d.ts +0 -1
- package/dist/functions/minimap.d.ts.map +1 -1
- package/dist/functions/minimap.lua +12 -12
- package/dist/functions/nextStage.d.ts +0 -1
- package/dist/functions/nextStage.d.ts.map +1 -1
- package/dist/functions/nextStage.lua +39 -39
- package/dist/functions/npcs.d.ts +0 -1
- package/dist/functions/npcs.d.ts.map +1 -1
- package/dist/functions/npcs.lua +21 -15
- package/dist/functions/pickupVariants.d.ts +0 -1
- package/dist/functions/pickupVariants.d.ts.map +1 -1
- package/dist/functions/pickupVariants.lua +11 -11
- package/dist/functions/pickups.d.ts +0 -1
- package/dist/functions/pickups.d.ts.map +1 -1
- package/dist/functions/pickups.lua +9 -9
- package/dist/functions/pickupsSpecific.d.ts +0 -1
- package/dist/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/functions/pickupsSpecific.lua +76 -58
- package/dist/functions/pills.d.ts +0 -1
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/pills.lua +25 -22
- package/dist/functions/playerCenter.d.ts +0 -1
- package/dist/functions/playerCenter.d.ts.map +1 -1
- package/dist/functions/playerCenter.lua +6 -5
- package/dist/functions/playerDataStructures.d.ts +0 -1
- package/dist/functions/playerDataStructures.d.ts.map +1 -1
- package/dist/functions/playerDataStructures.lua +16 -16
- package/dist/functions/playerHealth.d.ts +0 -1
- package/dist/functions/playerHealth.d.ts.map +1 -1
- package/dist/functions/playerHealth.lua +54 -47
- package/dist/functions/playerIndex.d.ts +0 -1
- package/dist/functions/playerIndex.d.ts.map +1 -1
- package/dist/functions/playerIndex.lua +17 -17
- package/dist/functions/playerStats.d.ts +0 -1
- package/dist/functions/playerStats.d.ts.map +1 -1
- package/dist/functions/playerStats.lua +1 -1
- package/dist/functions/players.d.ts +0 -1
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +82 -81
- package/dist/functions/pocketItems.d.ts +0 -1
- package/dist/functions/pocketItems.d.ts.map +1 -1
- package/dist/functions/pocketItems.lua +12 -12
- package/dist/functions/positionVelocity.d.ts +0 -1
- package/dist/functions/positionVelocity.d.ts.map +1 -1
- package/dist/functions/positionVelocity.lua +15 -15
- package/dist/functions/pressurePlate.d.ts +0 -1
- package/dist/functions/pressurePlate.d.ts.map +1 -1
- package/dist/functions/pressurePlate.lua +2 -2
- package/dist/functions/projectiles.d.ts +0 -1
- package/dist/functions/projectiles.d.ts.map +1 -1
- package/dist/functions/projectiles.lua +19 -7
- package/dist/functions/random.d.ts +0 -1
- package/dist/functions/random.d.ts.map +1 -1
- package/dist/functions/random.lua +9 -9
- package/dist/functions/reorderedCallbacks.d.ts +0 -1
- package/dist/functions/reorderedCallbacks.d.ts.map +1 -1
- package/dist/functions/reorderedCallbacks.lua +6 -6
- package/dist/functions/revive.d.ts +0 -1
- package/dist/functions/revive.d.ts.map +1 -1
- package/dist/functions/revive.lua +16 -16
- package/dist/functions/rng.d.ts +0 -1
- package/dist/functions/rng.d.ts.map +1 -1
- package/dist/functions/rng.lua +27 -25
- package/dist/functions/rockAlt.d.ts +0 -1
- package/dist/functions/rockAlt.d.ts.map +1 -1
- package/dist/functions/rockAlt.lua +111 -74
- package/dist/functions/roomData.d.ts +0 -1
- package/dist/functions/roomData.d.ts.map +1 -1
- package/dist/functions/roomData.lua +30 -30
- package/dist/functions/roomGrid.d.ts +0 -1
- package/dist/functions/roomGrid.d.ts.map +1 -1
- package/dist/functions/roomGrid.lua +17 -17
- package/dist/functions/roomShape.d.ts +0 -1
- package/dist/functions/roomShape.d.ts.map +1 -1
- package/dist/functions/roomShape.lua +13 -13
- package/dist/functions/roomTransition.d.ts +0 -1
- package/dist/functions/roomTransition.d.ts.map +1 -1
- package/dist/functions/roomTransition.lua +19 -10
- package/dist/functions/rooms.d.ts +0 -1
- package/dist/functions/rooms.d.ts.map +1 -1
- package/dist/functions/rooms.lua +87 -87
- package/dist/functions/run.d.ts +0 -1
- package/dist/functions/run.d.ts.map +1 -1
- package/dist/functions/run.lua +17 -11
- package/dist/functions/saveFile.d.ts +0 -1
- package/dist/functions/saveFile.d.ts.map +1 -1
- package/dist/functions/saveFile.lua +3 -3
- package/dist/functions/seeds.d.ts +0 -1
- package/dist/functions/seeds.d.ts.map +1 -1
- package/dist/functions/seeds.lua +3 -3
- package/dist/functions/serialization.d.ts +0 -1
- package/dist/functions/serialization.d.ts.map +1 -1
- package/dist/functions/serialization.lua +11 -11
- package/dist/functions/set.d.ts +0 -1
- package/dist/functions/set.d.ts.map +1 -1
- package/dist/functions/set.lua +15 -15
- package/dist/functions/sound.d.ts +0 -1
- package/dist/functions/sound.d.ts.map +1 -1
- package/dist/functions/sound.lua +2 -2
- package/dist/functions/spawnCollectible.d.ts +0 -1
- package/dist/functions/spawnCollectible.d.ts.map +1 -1
- package/dist/functions/spawnCollectible.lua +11 -9
- package/dist/functions/sprites.d.ts +0 -1
- package/dist/functions/sprites.d.ts.map +1 -1
- package/dist/functions/sprites.lua +13 -7
- package/dist/functions/stage.d.ts +0 -1
- package/dist/functions/stage.d.ts.map +1 -1
- package/dist/functions/stage.lua +29 -26
- package/dist/functions/stats.d.ts +0 -1
- package/dist/functions/stats.d.ts.map +1 -1
- package/dist/functions/stats.lua +3 -3
- package/dist/functions/string.d.ts +0 -1
- package/dist/functions/string.d.ts.map +1 -1
- package/dist/functions/string.lua +7 -7
- package/dist/functions/table.d.ts +0 -1
- package/dist/functions/table.d.ts.map +1 -1
- package/dist/functions/table.lua +16 -16
- package/dist/functions/tears.d.ts +0 -1
- package/dist/functions/tears.d.ts.map +1 -1
- package/dist/functions/tears.lua +5 -5
- package/dist/functions/transformations.d.ts +0 -1
- package/dist/functions/transformations.d.ts.map +1 -1
- package/dist/functions/transformations.lua +14 -13
- package/dist/functions/trinketCacheFlag.d.ts +0 -1
- package/dist/functions/trinketCacheFlag.d.ts.map +1 -1
- package/dist/functions/trinketCacheFlag.lua +10 -10
- package/dist/functions/trinketGive.d.ts +0 -1
- package/dist/functions/trinketGive.d.ts.map +1 -1
- package/dist/functions/trinketGive.lua +14 -12
- package/dist/functions/trinketSet.d.ts +0 -1
- package/dist/functions/trinketSet.d.ts.map +1 -1
- package/dist/functions/trinketSet.lua +17 -17
- package/dist/functions/trinkets.d.ts +0 -1
- package/dist/functions/trinkets.d.ts.map +1 -1
- package/dist/functions/trinkets.lua +22 -22
- package/dist/functions/tstlClass.d.ts +0 -1
- package/dist/functions/tstlClass.d.ts.map +1 -1
- package/dist/functions/tstlClass.lua +19 -19
- package/dist/functions/types.d.ts +0 -1
- package/dist/functions/types.d.ts.map +1 -1
- package/dist/functions/types.lua +17 -17
- package/dist/functions/ui.d.ts +0 -1
- package/dist/functions/ui.d.ts.map +1 -1
- package/dist/functions/ui.lua +19 -19
- package/dist/functions/utils.d.ts +0 -1
- package/dist/functions/utils.d.ts.map +1 -1
- package/dist/functions/utils.lua +12 -12
- package/dist/functions/vector.d.ts +0 -1
- package/dist/functions/vector.d.ts.map +1 -1
- package/dist/functions/vector.lua +23 -21
- package/dist/index.d.ts +11912 -11988
- package/dist/index.d.ts.map +1 -1
- package/dist/initCustomCallbacks.d.ts +0 -1
- package/dist/initCustomCallbacks.d.ts.map +1 -1
- package/dist/initCustomCallbacks.lua +72 -72
- package/dist/initFeatures.d.ts +0 -1
- package/dist/initFeatures.d.ts.map +1 -1
- package/dist/initFeatures.lua +34 -34
- package/dist/interfaces/ChargeBarSprites.d.ts +0 -1
- package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -1
- package/dist/interfaces/Corner.d.ts +0 -1
- package/dist/interfaces/Corner.d.ts.map +1 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts +11 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts.map +1 -1
- package/dist/interfaces/GridEntityCustomData.d.ts +0 -1
- package/dist/interfaces/GridEntityCustomData.d.ts.map +1 -1
- package/dist/interfaces/JSONRoomsFile.d.ts +0 -1
- package/dist/interfaces/JSONRoomsFile.d.ts.map +1 -1
- package/dist/interfaces/PlayerHealth.d.ts +0 -1
- package/dist/interfaces/PlayerHealth.d.ts.map +1 -1
- package/dist/interfaces/PocketItemDescription.d.ts +0 -1
- package/dist/interfaces/PocketItemDescription.d.ts.map +1 -1
- package/dist/interfaces/RoomDescription.d.ts +0 -1
- package/dist/interfaces/RoomDescription.d.ts.map +1 -1
- package/dist/interfaces/SaveData.d.ts +0 -1
- package/dist/interfaces/SaveData.d.ts.map +1 -1
- package/dist/interfaces/SaveData.lua +10 -10
- package/dist/interfaces/StatTypeType.d.ts +0 -1
- package/dist/interfaces/StatTypeType.d.ts.map +1 -1
- package/dist/interfaces/TrinketSituation.d.ts +0 -1
- package/dist/interfaces/TrinketSituation.d.ts.map +1 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts +0 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts.map +1 -1
- package/dist/interfaces/private/CustomStage.d.ts +0 -1
- package/dist/interfaces/private/CustomStage.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts +0 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts +0 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts.map +1 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts +0 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts.map +1 -1
- package/dist/maps/PHDPillConversions.d.ts +0 -1
- package/dist/maps/PHDPillConversions.d.ts.map +1 -1
- package/dist/maps/cardMap.d.ts +0 -1
- package/dist/maps/cardMap.d.ts.map +1 -1
- package/dist/maps/characterMap.d.ts +0 -1
- package/dist/maps/characterMap.d.ts.map +1 -1
- package/dist/maps/collectibleDescriptionMap.d.ts +0 -1
- package/dist/maps/collectibleDescriptionMap.d.ts.map +1 -1
- package/dist/maps/collectibleNameMap.d.ts +0 -1
- package/dist/maps/collectibleNameMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.d.ts +0 -1
- package/dist/maps/defaultPlayerStatMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.lua +1 -1
- package/dist/maps/falsePHDPillConversions.d.ts +0 -1
- package/dist/maps/falsePHDPillConversions.d.ts.map +1 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +0 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts.map +1 -1
- package/dist/maps/gridEntityXMLMap.d.ts +0 -1
- package/dist/maps/gridEntityXMLMap.d.ts.map +1 -1
- package/dist/maps/keyboardToString.d.ts +0 -1
- package/dist/maps/keyboardToString.d.ts.map +1 -1
- package/dist/maps/pillEffectMap.d.ts +0 -1
- package/dist/maps/pillEffectMap.d.ts.map +1 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +0 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts.map +1 -1
- package/dist/maps/roomTypeMap.d.ts +0 -1
- package/dist/maps/roomTypeMap.d.ts.map +1 -1
- package/dist/maps/trinketDescriptionMap.d.ts +0 -1
- package/dist/maps/trinketDescriptionMap.d.ts.map +1 -1
- package/dist/maps/trinketNameMap.d.ts +0 -1
- package/dist/maps/trinketNameMap.d.ts.map +1 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts +0 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts.map +1 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts +0 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts.map +1 -1
- package/dist/objects/bossNamePNGFileNames.d.ts +0 -1
- package/dist/objects/bossNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts +0 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/callbackRegisterFunctions.d.ts +0 -1
- package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
- package/dist/objects/cardDescriptions.d.ts +0 -1
- package/dist/objects/cardDescriptions.d.ts.map +1 -1
- package/dist/objects/cardNames.d.ts +0 -1
- package/dist/objects/cardNames.d.ts.map +1 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts +0 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts.map +1 -1
- package/dist/objects/challengeNames.d.ts +0 -1
- package/dist/objects/challengeNames.d.ts.map +1 -1
- package/dist/objects/characterDamageMultipliers.d.ts +0 -1
- package/dist/objects/characterDamageMultipliers.d.ts.map +1 -1
- package/dist/objects/characterNames.d.ts +0 -1
- package/dist/objects/characterNames.d.ts.map +1 -1
- package/dist/objects/coinSubTypeToValue.d.ts +0 -1
- package/dist/objects/coinSubTypeToValue.d.ts.map +1 -1
- package/dist/objects/colors.d.ts +0 -1
- package/dist/objects/colors.d.ts.map +1 -1
- package/dist/objects/directionNames.d.ts +0 -1
- package/dist/objects/directionNames.d.ts.map +1 -1
- package/dist/objects/directionToDegrees.d.ts +0 -1
- package/dist/objects/directionToDegrees.d.ts.map +1 -1
- package/dist/objects/directionToVector.d.ts +0 -1
- package/dist/objects/directionToVector.d.ts.map +1 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts +0 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
- package/dist/objects/doorSlotToDirection.d.ts +0 -1
- package/dist/objects/doorSlotToDirection.d.ts.map +1 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts +0 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts +0 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts +0 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
- package/dist/objects/languageNames.d.ts +0 -1
- package/dist/objects/languageNames.d.ts.map +1 -1
- package/dist/objects/oppositeDoorSlots.d.ts +0 -1
- package/dist/objects/oppositeDoorSlots.d.ts.map +1 -1
- package/dist/objects/pillEffectClasses.d.ts +0 -1
- package/dist/objects/pillEffectClasses.d.ts.map +1 -1
- package/dist/objects/pillEffectNames.d.ts +0 -1
- package/dist/objects/pillEffectNames.d.ts.map +1 -1
- package/dist/objects/pillEffectTypes.d.ts +0 -1
- package/dist/objects/pillEffectTypes.d.ts.map +1 -1
- package/dist/objects/playerNamePNGFileNames.d.ts +0 -1
- package/dist/objects/playerNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts +0 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/roomShapeBounds.d.ts +0 -1
- package/dist/objects/roomShapeBounds.d.ts.map +1 -1
- package/dist/objects/roomShapeCorners.d.ts +0 -1
- package/dist/objects/roomShapeCorners.d.ts.map +1 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts +0 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts.map +1 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +0 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts.map +1 -1
- package/dist/objects/roomShapeToGridWidth.d.ts +0 -1
- package/dist/objects/roomShapeToGridWidth.d.ts.map +1 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +0 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeVolumes.d.ts +0 -1
- package/dist/objects/roomShapeVolumes.d.ts.map +1 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts +0 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts.map +1 -1
- package/dist/objects/roomTypeNames.d.ts +0 -1
- package/dist/objects/roomTypeNames.d.ts.map +1 -1
- package/dist/objects/stageTypeSuffixes.d.ts +0 -1
- package/dist/objects/stageTypeSuffixes.d.ts.map +1 -1
- package/dist/objects/stageTypeToLetter.d.ts +0 -1
- package/dist/objects/stageTypeToLetter.d.ts.map +1 -1
- package/dist/objects/transformationNames.d.ts +0 -1
- package/dist/objects/transformationNames.d.ts.map +1 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts +0 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts +0 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/patchErrorFunctions.d.ts +0 -1
- package/dist/patchErrorFunctions.d.ts.map +1 -1
- package/dist/patchErrorFunctions.lua +7 -7
- package/dist/sets/LRoomShapesSet.d.ts +0 -1
- package/dist/sets/LRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/bossSets.d.ts +0 -1
- package/dist/sets/bossSets.d.ts.map +1 -1
- package/dist/sets/bossSets.lua +4 -4
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +0 -1
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts.map +1 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +0 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts.map +1 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +0 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts +0 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +0 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts.map +1 -1
- package/dist/sets/chestPickupVariantsSet.d.ts +0 -1
- package/dist/sets/chestPickupVariantsSet.d.ts.map +1 -1
- package/dist/sets/consoleCommandsSet.d.ts +0 -1
- package/dist/sets/consoleCommandsSet.d.ts.map +1 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +0 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts.map +1 -1
- package/dist/sets/lostStyleCharactersSet.d.ts +0 -1
- package/dist/sets/lostStyleCharactersSet.d.ts.map +1 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts +0 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts.map +1 -1
- package/dist/sets/narrowRoomShapesSet.d.ts +0 -1
- package/dist/sets/narrowRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/redHeartSubTypesSet.d.ts +0 -1
- package/dist/sets/redHeartSubTypesSet.d.ts.map +1 -1
- package/dist/sets/sinEntityTypesSet.d.ts +0 -1
- package/dist/sets/sinEntityTypesSet.d.ts.map +1 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +0 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts.map +1 -1
- package/dist/sets/storyBossesSet.d.ts +0 -1
- package/dist/sets/storyBossesSet.d.ts.map +1 -1
- package/dist/shaderCrashFix.d.ts +0 -1
- package/dist/shaderCrashFix.d.ts.map +1 -1
- package/dist/shaderCrashFix.lua +2 -2
- package/dist/types/AnyEntity.d.ts +0 -1
- package/dist/types/AnyEntity.d.ts.map +1 -1
- package/dist/types/AnyGridEntity.d.ts +0 -1
- package/dist/types/AnyGridEntity.d.ts.map +1 -1
- package/dist/types/CollectibleIndex.d.ts +0 -1
- package/dist/types/CollectibleIndex.d.ts.map +1 -1
- package/dist/types/Immutable.d.ts +0 -1
- package/dist/types/Immutable.d.ts.map +1 -1
- package/dist/types/PickingUpItem.d.ts +0 -1
- package/dist/types/PickingUpItem.d.ts.map +1 -1
- package/dist/types/PickingUpItem.lua +5 -5
- package/dist/types/PickupIndex.d.ts +0 -1
- package/dist/types/PickupIndex.d.ts.map +1 -1
- package/dist/types/PlayerIndex.d.ts +0 -1
- package/dist/types/PlayerIndex.d.ts.map +1 -1
- package/dist/types/PossibleStatType.d.ts +0 -1
- package/dist/types/PossibleStatType.d.ts.map +1 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts +0 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts.map +1 -1
- package/dist/types/TSTLClass.d.ts +0 -1
- package/dist/types/TSTLClass.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/classes/ModUpgraded.ts +5 -1
- package/src/features/customPickup.ts +2 -3
- package/src/features/extraConsoleCommands/listCommands.ts +6 -0
- package/src/functions/gridEntitiesSpecific.ts +7 -2
|
@@ -17,13 +17,13 @@ local getGridEntityID = ____gridEntities.getGridEntityID
|
|
|
17
17
|
local ____log = require("functions.log")
|
|
18
18
|
local log = ____log.log
|
|
19
19
|
--- Helper function to log information about a specific entity.
|
|
20
|
-
function ____exports.logEntity(entity)
|
|
21
|
-
local msg = getEntityLogLine(entity)
|
|
22
|
-
log(msg)
|
|
20
|
+
function ____exports.logEntity(self, entity)
|
|
21
|
+
local msg = getEntityLogLine(nil, entity)
|
|
22
|
+
log(nil, msg)
|
|
23
23
|
end
|
|
24
|
-
function getEntityLogLine(entity, num)
|
|
24
|
+
function getEntityLogLine(self, entity, num)
|
|
25
25
|
local msg = num == nil and "" or tostring(num) .. ") "
|
|
26
|
-
msg = msg .. getEntityID(entity)
|
|
26
|
+
msg = msg .. getEntityID(nil, entity)
|
|
27
27
|
local bomb = entity:ToBomb()
|
|
28
28
|
if bomb ~= nil then
|
|
29
29
|
msg = msg .. " (bomb)"
|
|
@@ -81,14 +81,14 @@ function getEntityLogLine(entity, num)
|
|
|
81
81
|
return msg
|
|
82
82
|
end
|
|
83
83
|
--- Helper function for log information about a specific grid entity.
|
|
84
|
-
function ____exports.logGridEntity(gridEntity)
|
|
85
|
-
local msg = getGridEntityLogLine(gridEntity)
|
|
86
|
-
log(msg)
|
|
84
|
+
function ____exports.logGridEntity(self, gridEntity)
|
|
85
|
+
local msg = getGridEntityLogLine(nil, gridEntity)
|
|
86
|
+
log(nil, msg)
|
|
87
87
|
end
|
|
88
|
-
function getGridEntityLogLine(gridEntity, num)
|
|
88
|
+
function getGridEntityLogLine(self, gridEntity, num)
|
|
89
89
|
local gridEntityDesc = gridEntity:GetSaveState()
|
|
90
90
|
local msg = num == nil and "" or tostring(num) .. ") "
|
|
91
|
-
msg = msg .. getGridEntityID(gridEntity)
|
|
91
|
+
msg = msg .. getGridEntityID(nil, gridEntity)
|
|
92
92
|
local door = gridEntity:ToDoor()
|
|
93
93
|
if door ~= nil then
|
|
94
94
|
msg = msg .. " (door)"
|
|
@@ -142,7 +142,7 @@ local IGNORE_EFFECT_VARIANTS = __TS__New(Set, {
|
|
|
142
142
|
EffectVariant.TADPOLE
|
|
143
143
|
})
|
|
144
144
|
--- Helper function for printing out every entity (or filtered entity) in the current room.
|
|
145
|
-
function ____exports.logAllEntities(includeBackgroundEffects, entityTypeFilter)
|
|
145
|
+
function ____exports.logAllEntities(self, includeBackgroundEffects, entityTypeFilter)
|
|
146
146
|
local msg = "Entities in the room"
|
|
147
147
|
if entityTypeFilter ~= nil then
|
|
148
148
|
msg = msg .. (" (filtered to entity type " .. tostring(entityTypeFilter)) .. ")"
|
|
@@ -150,7 +150,7 @@ function ____exports.logAllEntities(includeBackgroundEffects, entityTypeFilter)
|
|
|
150
150
|
msg = msg .. " (not including background effects)"
|
|
151
151
|
end
|
|
152
152
|
msg = msg .. ":\n"
|
|
153
|
-
local entities = getEntities()
|
|
153
|
+
local entities = getEntities(nil)
|
|
154
154
|
local numMatchedEntities = 0
|
|
155
155
|
__TS__ArrayForEach(
|
|
156
156
|
entities,
|
|
@@ -162,7 +162,7 @@ function ____exports.logAllEntities(includeBackgroundEffects, entityTypeFilter)
|
|
|
162
162
|
if not includeBackgroundEffects and effect ~= nil and IGNORE_EFFECT_VARIANTS:has(effect.Variant) then
|
|
163
163
|
return
|
|
164
164
|
end
|
|
165
|
-
msg = msg .. getEntityLogLine(entity, i + 1)
|
|
165
|
+
msg = msg .. getEntityLogLine(nil, entity, i + 1)
|
|
166
166
|
numMatchedEntities = numMatchedEntities + 1
|
|
167
167
|
end
|
|
168
168
|
)
|
|
@@ -171,10 +171,10 @@ function ____exports.logAllEntities(includeBackgroundEffects, entityTypeFilter)
|
|
|
171
171
|
else
|
|
172
172
|
msg = msg .. ((("(" .. tostring(numMatchedEntities)) .. " total ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n"
|
|
173
173
|
end
|
|
174
|
-
log(msg)
|
|
174
|
+
log(nil, msg)
|
|
175
175
|
end
|
|
176
176
|
--- Helper function for printing out every grid entity (or filtered grid entity) in the current room.
|
|
177
|
-
function ____exports.logAllGridEntities(includeWalls, gridEntityTypeFilter)
|
|
177
|
+
function ____exports.logAllGridEntities(self, includeWalls, gridEntityTypeFilter)
|
|
178
178
|
local msg = "Grid entities in the room"
|
|
179
179
|
if gridEntityTypeFilter ~= nil then
|
|
180
180
|
msg = msg .. (" (filtered to grid entity type " .. tostring(gridEntityTypeFilter)) .. ")"
|
|
@@ -182,7 +182,7 @@ function ____exports.logAllGridEntities(includeWalls, gridEntityTypeFilter)
|
|
|
182
182
|
msg = msg .. " (not including walls)"
|
|
183
183
|
end
|
|
184
184
|
msg = msg .. ":\n"
|
|
185
|
-
local gridEntities = getGridEntities()
|
|
185
|
+
local gridEntities = getGridEntities(nil)
|
|
186
186
|
local numMatchedEntities = 0
|
|
187
187
|
__TS__ArrayForEach(
|
|
188
188
|
gridEntities,
|
|
@@ -195,7 +195,7 @@ function ____exports.logAllGridEntities(includeWalls, gridEntityTypeFilter)
|
|
|
195
195
|
if not includeWalls and gridEntityType == GridEntityType.WALL and gridEntityTypeFilter ~= GridEntityType.WALL then
|
|
196
196
|
return
|
|
197
197
|
end
|
|
198
|
-
msg = msg .. getGridEntityLogLine(gridEntity, gridEntityIndex)
|
|
198
|
+
msg = msg .. getGridEntityLogLine(nil, gridEntity, gridEntityIndex)
|
|
199
199
|
numMatchedEntities = numMatchedEntities + 1
|
|
200
200
|
end
|
|
201
201
|
)
|
|
@@ -204,36 +204,39 @@ function ____exports.logAllGridEntities(includeWalls, gridEntityTypeFilter)
|
|
|
204
204
|
else
|
|
205
205
|
msg = msg .. ((("(" .. tostring(numMatchedEntities)) .. " total grid ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n"
|
|
206
206
|
end
|
|
207
|
-
log(msg)
|
|
207
|
+
log(nil, msg)
|
|
208
208
|
end
|
|
209
209
|
--- Helper function for logging an array of specific entities.
|
|
210
|
-
function ____exports.logEntities(entities)
|
|
210
|
+
function ____exports.logEntities(self, entities)
|
|
211
211
|
for ____, entity in ipairs(entities) do
|
|
212
|
-
____exports.logEntity(entity)
|
|
212
|
+
____exports.logEntity(nil, entity)
|
|
213
213
|
end
|
|
214
214
|
end
|
|
215
215
|
--- Helper function for logging an array of specific grid entities.
|
|
216
|
-
function ____exports.logGridEntities(gridEntities)
|
|
216
|
+
function ____exports.logGridEntities(self, gridEntities)
|
|
217
217
|
for ____, gridEntity in ipairs(gridEntities) do
|
|
218
|
-
____exports.logGridEntity(gridEntity)
|
|
218
|
+
____exports.logGridEntity(nil, gridEntity)
|
|
219
219
|
end
|
|
220
220
|
end
|
|
221
221
|
--- Helper function to log information about the entity that corresponding to a pointer hash. (Only
|
|
222
222
|
-- use this when debugging, since retrieving the corresponding entity is expensive.)
|
|
223
|
-
function ____exports.logPtrHash(ptrHash)
|
|
224
|
-
log(
|
|
225
|
-
|
|
223
|
+
function ____exports.logPtrHash(self, ptrHash)
|
|
224
|
+
log(
|
|
225
|
+
nil,
|
|
226
|
+
"PtrHash: " .. tostring(ptrHash)
|
|
227
|
+
)
|
|
228
|
+
local entity = getEntityFromPtrHash(nil, ptrHash)
|
|
226
229
|
if entity == nil then
|
|
227
|
-
log("No corresponding entity found.")
|
|
230
|
+
log(nil, "No corresponding entity found.")
|
|
228
231
|
else
|
|
229
|
-
____exports.logEntity(entity)
|
|
232
|
+
____exports.logEntity(nil, entity)
|
|
230
233
|
end
|
|
231
234
|
end
|
|
232
235
|
--- Helper function to log information about the entity that corresponding to one or more pointer
|
|
233
236
|
-- hashes. (Only use this when debugging, since retrieving the corresponding entity is expensive.)
|
|
234
|
-
function ____exports.logPtrHashes(ptrHashes)
|
|
237
|
+
function ____exports.logPtrHashes(self, ptrHashes)
|
|
235
238
|
for ____, ptrHash in ipairs(ptrHashes) do
|
|
236
|
-
____exports.logPtrHash(ptrHash)
|
|
239
|
+
____exports.logPtrHash(nil, ptrHash)
|
|
237
240
|
end
|
|
238
241
|
end
|
|
239
242
|
return ____exports
|
package/dist/functions/map.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../src/functions/map.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../src/functions/map.ts"],"names":[],"mappings":"AAGA,mGAAmG;AACnG,wBAAgB,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAO1D;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,UAAU,EAAE,MAAM,EAClB,GAAG,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,GAC1B,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,SAAS,CAgBzB;AAED,4DAA4D;AAC5D,wBAAgB,MAAM,CACpB,GAAG,EAAE,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,WAAW,CAAC,OAAO,EAAE,MAAM,CAAC,GACvD,MAAM,CAGR"}
|
package/dist/functions/map.lua
CHANGED
|
@@ -9,7 +9,7 @@ local sumArray = ____array.sumArray
|
|
|
9
9
|
local ____string = require("functions.string")
|
|
10
10
|
local getPartialMatch = ____string.getPartialMatch
|
|
11
11
|
--- Helper function to copy a map. (You can also use a Map constructor to accomplish this task.)
|
|
12
|
-
function ____exports.copyMap(oldMap)
|
|
12
|
+
function ____exports.copyMap(self, oldMap)
|
|
13
13
|
local newMap = __TS__New(Map)
|
|
14
14
|
for ____, ____value in __TS__Iterator(oldMap:entries()) do
|
|
15
15
|
local key = ____value[1]
|
|
@@ -35,9 +35,9 @@ end
|
|
|
35
35
|
-- @returns If a match was found, returns a tuple of the map key and value. If a match was not
|
|
36
36
|
-- found, returns undefined.
|
|
37
37
|
-- ```
|
|
38
|
-
function ____exports.getMapPartialMatch(searchText, map)
|
|
38
|
+
function ____exports.getMapPartialMatch(self, searchText, map)
|
|
39
39
|
local keys = {__TS__Spread(map:keys())}
|
|
40
|
-
local matchingKey = getPartialMatch(searchText, keys)
|
|
40
|
+
local matchingKey = getPartialMatch(nil, searchText, keys)
|
|
41
41
|
if matchingKey == nil then
|
|
42
42
|
return nil
|
|
43
43
|
end
|
|
@@ -48,8 +48,8 @@ function ____exports.getMapPartialMatch(searchText, map)
|
|
|
48
48
|
return {matchingKey, value}
|
|
49
49
|
end
|
|
50
50
|
--- Helper function to sum every value in a map together.
|
|
51
|
-
function ____exports.sumMap(map)
|
|
51
|
+
function ____exports.sumMap(self, map)
|
|
52
52
|
local values = {__TS__Spread(map:values())}
|
|
53
|
-
return sumArray(values)
|
|
53
|
+
return sumArray(nil, values)
|
|
54
54
|
end
|
|
55
55
|
return ____exports
|
package/dist/functions/math.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../src/functions/math.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../src/functions/math.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAGzD;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,GAAG,CAErD;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAG,KAAK,CAGtE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,KAAK,EACb,SAAS,EAAE,GAAG,EACd,WAAW,SAAI,EACf,WAAW,SAAI,EACf,gBAAgB,YAAe,GAC9B,MAAM,EAAE,CAaV;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,GAClB,OAAO,CAOT;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,KAAK,EACnB,gBAAgB,EAAE,MAAM,EACxB,oBAAoB,EAAE,MAAM,GAC3B,OAAO,CAgBT;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAGxC;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAGvC;AAED,wBAAgB,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,GAAG,MAAM,CAE7D;AAED,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,KAAK,GACb,MAAM,CAER;AAED;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,KAAK,EAAE,gBAAgB,SAAI,GAAG,KAAK,CAG7D;AAED;;GAEG;AACH,wBAAgB,IAAI,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAUnC;AAED,wBAAgB,IAAI,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAEtC"}
|
package/dist/functions/math.lua
CHANGED
|
@@ -7,13 +7,13 @@ local directionToVector = ____direction.directionToVector
|
|
|
7
7
|
--
|
|
8
8
|
-- - If `x` is less than `min`, then it will be clamped to `min`.
|
|
9
9
|
-- - If `x` is greater than `max`, then it will be clamped to `max`.
|
|
10
|
-
function ____exports.clamp(x, min, max)
|
|
10
|
+
function ____exports.clamp(self, x, min, max)
|
|
11
11
|
return math.max(
|
|
12
12
|
min,
|
|
13
13
|
math.min(x, max)
|
|
14
14
|
)
|
|
15
15
|
end
|
|
16
|
-
function ____exports.getAngleDifference(angle1, angle2)
|
|
16
|
+
function ____exports.getAngleDifference(self, angle1, angle2)
|
|
17
17
|
local subtractedAngle = angle1 - angle2
|
|
18
18
|
return (subtractedAngle + 180) % 360 - 180
|
|
19
19
|
end
|
|
@@ -27,7 +27,7 @@ end
|
|
|
27
27
|
-- @param yMultiplier An optional multiplier to get the points around an oval. Default is 1.
|
|
28
28
|
-- @param initialDirection By default, the first point on the circle will be on the top center, but
|
|
29
29
|
-- this can be optionally changed by specifying this argument.
|
|
30
|
-
function ____exports.getCircleDiscretizedPoints(centerPos, radius, numPoints, xMultiplier, yMultiplier, initialDirection)
|
|
30
|
+
function ____exports.getCircleDiscretizedPoints(self, centerPos, radius, numPoints, xMultiplier, yMultiplier, initialDirection)
|
|
31
31
|
if xMultiplier == nil then
|
|
32
32
|
xMultiplier = 1
|
|
33
33
|
end
|
|
@@ -37,7 +37,7 @@ function ____exports.getCircleDiscretizedPoints(centerPos, radius, numPoints, xM
|
|
|
37
37
|
if initialDirection == nil then
|
|
38
38
|
initialDirection = Direction.UP
|
|
39
39
|
end
|
|
40
|
-
local vector = directionToVector(initialDirection)
|
|
40
|
+
local vector = directionToVector(nil, initialDirection)
|
|
41
41
|
local initialPosition = vector * radius
|
|
42
42
|
local positions = {}
|
|
43
43
|
do
|
|
@@ -57,11 +57,11 @@ end
|
|
|
57
57
|
--
|
|
58
58
|
-- This is an inclusive check, meaning that it will return true if the position is on the border of
|
|
59
59
|
-- the rectangle.
|
|
60
|
-
function ____exports.inRectangle(position, topLeft, bottomRight)
|
|
60
|
+
function ____exports.inRectangle(self, position, topLeft, bottomRight)
|
|
61
61
|
return position.X >= topLeft.X and position.X <= bottomRight.X and position.Y >= topLeft.Y and position.Y <= bottomRight.Y
|
|
62
62
|
end
|
|
63
63
|
--- From: https://www.geeksforgeeks.org/check-if-any-point-overlaps-the-given-circle-and-rectangle/
|
|
64
|
-
function ____exports.isCircleIntersectingRectangle(circleCenter, circleRadius, rectangleTopLeft, rectangleBottomRight)
|
|
64
|
+
function ____exports.isCircleIntersectingRectangle(self, circleCenter, circleRadius, rectangleTopLeft, rectangleBottomRight)
|
|
65
65
|
local nearestX = math.max(
|
|
66
66
|
rectangleTopLeft.X,
|
|
67
67
|
math.min(circleCenter.X, rectangleBottomRight.X)
|
|
@@ -74,24 +74,24 @@ function ____exports.isCircleIntersectingRectangle(circleCenter, circleRadius, r
|
|
|
74
74
|
local distanceToCenterOfCircle = nearestPointToCircleOnRectangle:Distance(circleCenter)
|
|
75
75
|
return distanceToCenterOfCircle <= circleRadius
|
|
76
76
|
end
|
|
77
|
-
function ____exports.isEven(num)
|
|
77
|
+
function ____exports.isEven(self, num)
|
|
78
78
|
return num & 1 == 0
|
|
79
79
|
end
|
|
80
|
-
function ____exports.isOdd(num)
|
|
80
|
+
function ____exports.isOdd(self, num)
|
|
81
81
|
return num & 1 == 1
|
|
82
82
|
end
|
|
83
|
-
function ____exports.lerp(a, b, pos)
|
|
83
|
+
function ____exports.lerp(self, a, b, pos)
|
|
84
84
|
return a + (b - a) * pos
|
|
85
85
|
end
|
|
86
|
-
function ____exports.lerpAngleDegrees(aStart, aEnd, percent)
|
|
87
|
-
return aStart + ____exports.getAngleDifference(aStart, aEnd) * percent
|
|
86
|
+
function ____exports.lerpAngleDegrees(self, aStart, aEnd, percent)
|
|
87
|
+
return aStart + ____exports.getAngleDifference(nil, aStart, aEnd) * percent
|
|
88
88
|
end
|
|
89
89
|
--- If rounding fails, this function returns 0.
|
|
90
90
|
-- From: http://lua-users.org/wiki/SimpleRound
|
|
91
91
|
--
|
|
92
92
|
-- @param num The number to round.
|
|
93
93
|
-- @param numDecimalPlaces Default is 0.
|
|
94
|
-
function ____exports.round(num, numDecimalPlaces)
|
|
94
|
+
function ____exports.round(self, num, numDecimalPlaces)
|
|
95
95
|
if numDecimalPlaces == nil then
|
|
96
96
|
numDecimalPlaces = 0
|
|
97
97
|
end
|
|
@@ -103,7 +103,7 @@ function ____exports.round(num, numDecimalPlaces)
|
|
|
103
103
|
end
|
|
104
104
|
---
|
|
105
105
|
-- @returns 1 if n is positive, -1 if n is negative, or 0 if n is 0.
|
|
106
|
-
function ____exports.sign(n)
|
|
106
|
+
function ____exports.sign(self, n)
|
|
107
107
|
if n > 0 then
|
|
108
108
|
return 1
|
|
109
109
|
end
|
|
@@ -112,7 +112,7 @@ function ____exports.sign(n)
|
|
|
112
112
|
end
|
|
113
113
|
return 0
|
|
114
114
|
end
|
|
115
|
-
function ____exports.tanh(x)
|
|
115
|
+
function ____exports.tanh(self, x)
|
|
116
116
|
return (math.exp(x) - math.exp(-x)) / (math.exp(x) + math.exp(-x))
|
|
117
117
|
end
|
|
118
118
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mergeTests.d.ts","sourceRoot":"","sources":["../../src/functions/mergeTests.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mergeTests.d.ts","sourceRoot":"","sources":["../../src/functions/mergeTests.ts"],"names":[],"mappings":"AAUA;;;;;GAKG;AACH,wBAAgB,aAAa,IAAI,IAAI,CAkBpC"}
|
|
@@ -23,57 +23,57 @@ local printConsole = ____utils.printConsole
|
|
|
23
23
|
local ____vector = require("functions.vector")
|
|
24
24
|
local isVector = ____vector.isVector
|
|
25
25
|
local serializeVector = ____vector.serializeVector
|
|
26
|
-
function oldTableHasUpdatedValue()
|
|
26
|
+
function oldTableHasUpdatedValue(self)
|
|
27
27
|
local key = "foo"
|
|
28
28
|
local oldValue = "bar"
|
|
29
29
|
local newValue = "baz"
|
|
30
30
|
local oldTable = {foo = oldValue}
|
|
31
31
|
local newTable = {foo = newValue}
|
|
32
|
-
merge(oldTable, newTable, "oldTableHasUpdatedValue")
|
|
32
|
+
merge(nil, oldTable, newTable, "oldTableHasUpdatedValue")
|
|
33
33
|
local oldTableValue = oldTable[key]
|
|
34
34
|
if oldTableValue ~= newValue then
|
|
35
35
|
error("The old table does not have a value of: " .. newValue)
|
|
36
36
|
end
|
|
37
37
|
end
|
|
38
|
-
function newTableHasSameValue()
|
|
38
|
+
function newTableHasSameValue(self)
|
|
39
39
|
local key = "foo"
|
|
40
40
|
local oldValue = "bar"
|
|
41
41
|
local newValue = "baz"
|
|
42
42
|
local oldTable = {foo = oldValue}
|
|
43
43
|
local newTable = {foo = newValue}
|
|
44
|
-
merge(oldTable, newTable, "newTableHasSameValue")
|
|
44
|
+
merge(nil, oldTable, newTable, "newTableHasSameValue")
|
|
45
45
|
local newTableValue = newTable[key]
|
|
46
46
|
if newTableValue ~= newValue then
|
|
47
47
|
error("The new table does not have a value of: " .. newValue)
|
|
48
48
|
end
|
|
49
49
|
end
|
|
50
|
-
function oldTableHasUpdatedValueFromNull()
|
|
50
|
+
function oldTableHasUpdatedValueFromNull(self)
|
|
51
51
|
local key = "foo"
|
|
52
52
|
local newValue = "baz"
|
|
53
53
|
local oldTable = {foo = nil}
|
|
54
54
|
local newTable = {foo = newValue}
|
|
55
|
-
merge(oldTable, newTable, "oldTableHasUpdatedValueFromNull")
|
|
55
|
+
merge(nil, oldTable, newTable, "oldTableHasUpdatedValueFromNull")
|
|
56
56
|
local oldTableValue = oldTable[key]
|
|
57
57
|
if oldTableValue ~= newValue then
|
|
58
58
|
error("The old table does not have a value of: " .. newValue)
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
|
-
function oldTableHasSerializedIsaacAPIClass()
|
|
61
|
+
function oldTableHasSerializedIsaacAPIClass(self)
|
|
62
62
|
local x = 50
|
|
63
63
|
local y = 60
|
|
64
64
|
local vector = Vector(x, y)
|
|
65
|
-
local vectorSerialized = serializeVector(vector)
|
|
66
|
-
if not isSerializedIsaacAPIClass(vectorSerialized) then
|
|
65
|
+
local vectorSerialized = serializeVector(nil, vector)
|
|
66
|
+
if not isSerializedIsaacAPIClass(nil, vectorSerialized) then
|
|
67
67
|
error("The \"isSerializedIsaacAPIClass\" function says that a serialized vector is not serialized.")
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
|
-
function oldTableHasFilledChildTable()
|
|
70
|
+
function oldTableHasFilledChildTable(self)
|
|
71
71
|
local key = "foo"
|
|
72
72
|
local newValue = "baz"
|
|
73
73
|
local oldTable = {foo = nil}
|
|
74
74
|
local foo = {bar = newValue}
|
|
75
75
|
local newTable = {foo = foo}
|
|
76
|
-
merge(oldTable, newTable, "oldTableHasFilledChildTable")
|
|
76
|
+
merge(nil, oldTable, newTable, "oldTableHasFilledChildTable")
|
|
77
77
|
local oldTableValue = oldTable[key]
|
|
78
78
|
if oldTableValue == nil then
|
|
79
79
|
error(("The old table's key of \"" .. key) .. "\" was not filled.")
|
|
@@ -82,11 +82,11 @@ function oldTableHasFilledChildTable()
|
|
|
82
82
|
error("The old table's key of \"bar\" was not filled.")
|
|
83
83
|
end
|
|
84
84
|
end
|
|
85
|
-
function oldTableHasFilledMap()
|
|
85
|
+
function oldTableHasFilledMap(self)
|
|
86
86
|
local v = {run = {myMap = __TS__New(Map)}}
|
|
87
87
|
local saveData = {run = {myMap = __TS__New(Map, {{"foo1", "bar1"}, {"foo2", "bar2"}, {"foo3", "bar3"}})}}
|
|
88
|
-
local serializedSaveData = deepCopy(saveData, SerializationType.SERIALIZE)
|
|
89
|
-
merge(v, serializedSaveData, "oldTableHasFilledMap")
|
|
88
|
+
local serializedSaveData = deepCopy(nil, saveData, SerializationType.SERIALIZE)
|
|
89
|
+
merge(nil, v, serializedSaveData, "oldTableHasFilledMap")
|
|
90
90
|
local expectedSize = 3
|
|
91
91
|
if v.run.myMap.size ~= expectedSize then
|
|
92
92
|
error((("The size of the merged map was equal to " .. tostring(v.run.myMap.size)) .. ", but it should be equal to: ") .. tostring(expectedSize))
|
|
@@ -116,11 +116,11 @@ function oldTableHasFilledMap()
|
|
|
116
116
|
end
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
|
-
function oldTableHasFilledDefaultMap()
|
|
119
|
+
function oldTableHasFilledDefaultMap(self)
|
|
120
120
|
local v = {run = {myDefaultMap = __TS__New(DefaultMap, "default")}}
|
|
121
121
|
local saveData = {run = {myDefaultMap = __TS__New(DefaultMap, "default", {{"foo1", "bar1"}, {"foo2", "bar2"}, {"foo3", "bar3"}})}}
|
|
122
|
-
local serializedSaveData = deepCopy(saveData, SerializationType.SERIALIZE)
|
|
123
|
-
merge(v, serializedSaveData, "oldTableHasFilledDefaultMap")
|
|
122
|
+
local serializedSaveData = deepCopy(nil, saveData, SerializationType.SERIALIZE)
|
|
123
|
+
merge(nil, v, serializedSaveData, "oldTableHasFilledDefaultMap")
|
|
124
124
|
local expectedSize = 3
|
|
125
125
|
if v.run.myDefaultMap.size ~= expectedSize then
|
|
126
126
|
error((("The size of the merged default map was equal to " .. tostring(v.run.myDefaultMap.size)) .. ", but it should be equal to: ") .. tostring(expectedSize))
|
|
@@ -150,7 +150,7 @@ function oldTableHasFilledDefaultMap()
|
|
|
150
150
|
end
|
|
151
151
|
end
|
|
152
152
|
end
|
|
153
|
-
function oldTableHasVector()
|
|
153
|
+
function oldTableHasVector(self)
|
|
154
154
|
local key = "foo"
|
|
155
155
|
local x = 50
|
|
156
156
|
local y = 60
|
|
@@ -158,7 +158,7 @@ function oldTableHasVector()
|
|
|
158
158
|
local oldTable = {foo = nil}
|
|
159
159
|
local foo = {bar = newValue}
|
|
160
160
|
local newTable = {foo = foo}
|
|
161
|
-
merge(oldTable, newTable, "oldTableHasVector")
|
|
161
|
+
merge(nil, oldTable, newTable, "oldTableHasVector")
|
|
162
162
|
local oldTableValue = oldTable[key]
|
|
163
163
|
if oldTableValue == nil then
|
|
164
164
|
error(("The old table's key of \"" .. key) .. "\" was not filled.")
|
|
@@ -169,11 +169,11 @@ function oldTableHasVector()
|
|
|
169
169
|
if oldTableValue.bar.Y ~= y then
|
|
170
170
|
error("The old table's value for \"y\" does not match: " .. tostring(y))
|
|
171
171
|
end
|
|
172
|
-
if not isVector(oldTableValue.bar) then
|
|
172
|
+
if not isVector(nil, oldTableValue.bar) then
|
|
173
173
|
error("The old table's value is not a Vector object.")
|
|
174
174
|
end
|
|
175
175
|
end
|
|
176
|
-
function oldTableHasVectorSerialized()
|
|
176
|
+
function oldTableHasVectorSerialized(self)
|
|
177
177
|
local key = "foo"
|
|
178
178
|
local x = 50
|
|
179
179
|
local y = 60
|
|
@@ -181,8 +181,8 @@ function oldTableHasVectorSerialized()
|
|
|
181
181
|
local oldTable = {foo = nil}
|
|
182
182
|
local foo = {bar = newValue}
|
|
183
183
|
local newTable = {foo = foo}
|
|
184
|
-
local newTableSerialized = deepCopy(newTable, SerializationType.SERIALIZE, "oldTableHasVectorSerialized")
|
|
185
|
-
merge(oldTable, newTableSerialized, "oldTableHasVectorSerialized")
|
|
184
|
+
local newTableSerialized = deepCopy(nil, newTable, SerializationType.SERIALIZE, "oldTableHasVectorSerialized")
|
|
185
|
+
merge(nil, oldTable, newTableSerialized, "oldTableHasVectorSerialized")
|
|
186
186
|
local oldTableValue = oldTable[key]
|
|
187
187
|
if oldTableValue == nil then
|
|
188
188
|
error(("The old table's key of \"" .. key) .. "\" was not filled.")
|
|
@@ -193,23 +193,23 @@ function oldTableHasVectorSerialized()
|
|
|
193
193
|
if oldTableValue.bar.Y ~= y then
|
|
194
194
|
error("The old table's value for \"y\" does not match: " .. tostring(y))
|
|
195
195
|
end
|
|
196
|
-
if not isVector(oldTableValue.bar) then
|
|
196
|
+
if not isVector(nil, oldTableValue.bar) then
|
|
197
197
|
error("The old table's value is not a Vector object (during the serialized test).")
|
|
198
198
|
end
|
|
199
199
|
end
|
|
200
|
-
function oldTableHasRNG()
|
|
200
|
+
function oldTableHasRNG(self)
|
|
201
201
|
local key = "foo"
|
|
202
202
|
local seed = 50
|
|
203
|
-
local newValue = newRNG(seed)
|
|
203
|
+
local newValue = newRNG(nil, seed)
|
|
204
204
|
local oldTable = {foo = nil}
|
|
205
205
|
local foo = {bar = newValue}
|
|
206
206
|
local newTable = {foo = foo}
|
|
207
|
-
merge(oldTable, newTable, "oldTableHasRNG")
|
|
207
|
+
merge(nil, oldTable, newTable, "oldTableHasRNG")
|
|
208
208
|
local oldTableValue = oldTable[key]
|
|
209
209
|
if oldTableValue == nil then
|
|
210
210
|
error(("The old table's key of \"" .. key) .. "\" was not filled.")
|
|
211
211
|
end
|
|
212
|
-
if not isRNG(oldTableValue.bar) then
|
|
212
|
+
if not isRNG(nil, oldTableValue.bar) then
|
|
213
213
|
error("The old table's value is not an RNG object.")
|
|
214
214
|
end
|
|
215
215
|
local newSeed = oldTableValue.bar:GetSeed()
|
|
@@ -217,20 +217,20 @@ function oldTableHasRNG()
|
|
|
217
217
|
error("The old table's seed not match: " .. tostring(seed))
|
|
218
218
|
end
|
|
219
219
|
end
|
|
220
|
-
function oldTableHasRNGSerialized()
|
|
220
|
+
function oldTableHasRNGSerialized(self)
|
|
221
221
|
local key = "foo"
|
|
222
222
|
local seed = 50
|
|
223
|
-
local newValue = newRNG(seed)
|
|
223
|
+
local newValue = newRNG(nil, seed)
|
|
224
224
|
local oldTable = {foo = nil}
|
|
225
225
|
local foo = {bar = newValue}
|
|
226
226
|
local newTable = {foo = foo}
|
|
227
|
-
local newTableSerialized = deepCopy(newTable, SerializationType.SERIALIZE, "oldTableHasRNGSerialized")
|
|
228
|
-
merge(oldTable, newTableSerialized, "oldTableHasRNGSerialized")
|
|
227
|
+
local newTableSerialized = deepCopy(nil, newTable, SerializationType.SERIALIZE, "oldTableHasRNGSerialized")
|
|
228
|
+
merge(nil, oldTable, newTableSerialized, "oldTableHasRNGSerialized")
|
|
229
229
|
local oldTableValue = oldTable[key]
|
|
230
230
|
if oldTableValue == nil then
|
|
231
231
|
error(("The old table's key of \"" .. key) .. "\" was not filled.")
|
|
232
232
|
end
|
|
233
|
-
if not isRNG(oldTableValue.bar) then
|
|
233
|
+
if not isRNG(nil, oldTableValue.bar) then
|
|
234
234
|
error("The old table's value is not an RNG object (during the serialized test).")
|
|
235
235
|
end
|
|
236
236
|
local newSeed = oldTableValue.bar:GetSeed()
|
|
@@ -242,20 +242,20 @@ end
|
|
|
242
242
|
-- exported but is used internally in the save data manager.)
|
|
243
243
|
--
|
|
244
244
|
-- This function is only useful if you are troubleshooting the save data manager.
|
|
245
|
-
function ____exports.runMergeTests()
|
|
246
|
-
oldTableHasUpdatedValue()
|
|
247
|
-
newTableHasSameValue()
|
|
248
|
-
oldTableHasUpdatedValueFromNull()
|
|
249
|
-
oldTableHasSerializedIsaacAPIClass()
|
|
250
|
-
oldTableHasFilledChildTable()
|
|
251
|
-
oldTableHasFilledMap()
|
|
252
|
-
oldTableHasFilledDefaultMap()
|
|
253
|
-
oldTableHasVector()
|
|
254
|
-
oldTableHasVectorSerialized()
|
|
255
|
-
oldTableHasRNG()
|
|
256
|
-
oldTableHasRNGSerialized()
|
|
245
|
+
function ____exports.runMergeTests(self)
|
|
246
|
+
oldTableHasUpdatedValue(nil)
|
|
247
|
+
newTableHasSameValue(nil)
|
|
248
|
+
oldTableHasUpdatedValueFromNull(nil)
|
|
249
|
+
oldTableHasSerializedIsaacAPIClass(nil)
|
|
250
|
+
oldTableHasFilledChildTable(nil)
|
|
251
|
+
oldTableHasFilledMap(nil)
|
|
252
|
+
oldTableHasFilledDefaultMap(nil)
|
|
253
|
+
oldTableHasVector(nil)
|
|
254
|
+
oldTableHasVectorSerialized(nil)
|
|
255
|
+
oldTableHasRNG(nil)
|
|
256
|
+
oldTableHasRNGSerialized(nil)
|
|
257
257
|
local successText = "All merge tests passed!"
|
|
258
|
-
log(successText)
|
|
259
|
-
printConsole(successText)
|
|
258
|
+
log(nil, successText)
|
|
259
|
+
printConsole(nil, successText)
|
|
260
260
|
end
|
|
261
261
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minimap.d.ts","sourceRoot":"","sources":["../../src/functions/minimap.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"minimap.d.ts","sourceRoot":"","sources":["../../src/functions/minimap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,8BAA8B,CAAC;AAK5E;;;;;GAKG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAS7C;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAYtE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,CAAC,EAAE,GAAG,GAClB,QAAQ,CAAC,WAAW,CAAC,CAGvB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,eAAe,EAAE,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,GAC/C,IAAI,CAgBN;AAED,gDAAgD;AAChD,wBAAgB,oBAAoB,CAClC,eAAe,EAAE,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,GAC/C,IAAI,CAEN;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,GAAG,GAAG,SAAS,EAC9B,YAAY,EAAE,QAAQ,CAAC,WAAW,CAAC,GAClC,IAAI,CAGN"}
|
|
@@ -19,26 +19,26 @@ local getRoomsInsideGrid = ____rooms.getRoomsInsideGrid
|
|
|
19
19
|
--
|
|
20
20
|
-- @param roomGridIndex Set to undefined to use the current room index.
|
|
21
21
|
-- @param displayFlags The bit flags value to set. (See the `DisplayFlag` enum.)
|
|
22
|
-
function ____exports.setRoomDisplayFlags(roomGridIndex, displayFlags)
|
|
23
|
-
local roomDescriptor = getRoomDescriptor(roomGridIndex)
|
|
22
|
+
function ____exports.setRoomDisplayFlags(self, roomGridIndex, displayFlags)
|
|
23
|
+
local roomDescriptor = getRoomDescriptor(nil, roomGridIndex)
|
|
24
24
|
roomDescriptor.DisplayFlags = displayFlags
|
|
25
25
|
end
|
|
26
26
|
--- Helper function to set the value of `DisplayFlag` for every room on the floor to 0.
|
|
27
27
|
--
|
|
28
28
|
-- This function automatically calls the `Level.UpdateVisibility` after setting the flags so that
|
|
29
29
|
-- the changes will be immediately visible.
|
|
30
|
-
function ____exports.clearFloorDisplayFlags()
|
|
30
|
+
function ____exports.clearFloorDisplayFlags(self)
|
|
31
31
|
local level = game:GetLevel()
|
|
32
|
-
for ____, room in ipairs(getRoomsInsideGrid()) do
|
|
32
|
+
for ____, room in ipairs(getRoomsInsideGrid(nil)) do
|
|
33
33
|
room.DisplayFlags = DisplayFlagZero
|
|
34
34
|
end
|
|
35
35
|
level:UpdateVisibility()
|
|
36
36
|
end
|
|
37
37
|
--- Helper function to get the minimap `DisplayFlag` value for every room on the floor. Returns a map
|
|
38
38
|
-- that is indexed by the room's safe grid index.
|
|
39
|
-
function ____exports.getFloorDisplayFlags()
|
|
39
|
+
function ____exports.getFloorDisplayFlags(self)
|
|
40
40
|
local displayFlagsMap = __TS__New(Map)
|
|
41
|
-
local roomsInGrid = getRoomsInsideGrid()
|
|
41
|
+
local roomsInGrid = getRoomsInsideGrid(nil)
|
|
42
42
|
for ____, roomDescriptor in ipairs(roomsInGrid) do
|
|
43
43
|
displayFlagsMap:set(roomDescriptor.SafeGridIndex, roomDescriptor.DisplayFlags)
|
|
44
44
|
end
|
|
@@ -48,8 +48,8 @@ end
|
|
|
48
48
|
-- visible and so on).
|
|
49
49
|
--
|
|
50
50
|
-- @param roomGridIndex Optional. Default is the current room index.
|
|
51
|
-
function ____exports.getRoomDisplayFlags(roomGridIndex)
|
|
52
|
-
local roomDescriptor = getRoomDescriptor(roomGridIndex)
|
|
51
|
+
function ____exports.getRoomDisplayFlags(self, roomGridIndex)
|
|
52
|
+
local roomDescriptor = getRoomDescriptor(nil, roomGridIndex)
|
|
53
53
|
return roomDescriptor.DisplayFlags
|
|
54
54
|
end
|
|
55
55
|
--- Helper function to set the minimap `DisplayFlag` value for multiple rooms at once.
|
|
@@ -58,13 +58,13 @@ end
|
|
|
58
58
|
-- the changes will be immediately visible.
|
|
59
59
|
--
|
|
60
60
|
-- @param displayFlagsMap A map of the display flags that is indexed by the room's safe grid index.
|
|
61
|
-
function ____exports.setDisplayFlags(displayFlagsMap)
|
|
61
|
+
function ____exports.setDisplayFlags(self, displayFlagsMap)
|
|
62
62
|
local level = game:GetLevel()
|
|
63
63
|
for ____, ____value in __TS__Iterator(displayFlagsMap:entries()) do
|
|
64
64
|
local roomGridIndex = ____value[1]
|
|
65
65
|
local displayFlags = ____value[2]
|
|
66
66
|
if MinimapAPI == nil then
|
|
67
|
-
____exports.setRoomDisplayFlags(roomGridIndex, displayFlags)
|
|
67
|
+
____exports.setRoomDisplayFlags(nil, roomGridIndex, displayFlags)
|
|
68
68
|
else
|
|
69
69
|
local roomDescriptor = MinimapAPI:GetRoomByIdx(roomGridIndex)
|
|
70
70
|
if roomDescriptor ~= nil then
|
|
@@ -75,7 +75,7 @@ function ____exports.setDisplayFlags(displayFlagsMap)
|
|
|
75
75
|
level:UpdateVisibility()
|
|
76
76
|
end
|
|
77
77
|
--- Alias for the `setDisplayFlags` function.
|
|
78
|
-
function ____exports.setFloorDisplayFlags(displayFlagsMap)
|
|
79
|
-
____exports.setDisplayFlags(displayFlagsMap)
|
|
78
|
+
function ____exports.setFloorDisplayFlags(self, displayFlagsMap)
|
|
79
|
+
____exports.setDisplayFlags(nil, displayFlagsMap)
|
|
80
80
|
end
|
|
81
81
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nextStage.d.ts","sourceRoot":"","sources":["../../src/functions/nextStage.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nextStage.d.ts","sourceRoot":"","sources":["../../src/functions/nextStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAYtC;;;;;;;GAOG;AACH,wBAAgB,YAAY,IAAI,UAAU,CAwFzC;AA+HD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,UAAQ,GAAG,SAAS,CAiF3D"}
|