isaacscript-common 9.13.5-dev.2 → 9.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/callbacks/customRevive.d.ts +0 -1
- package/dist/callbacks/customRevive.d.ts.map +1 -1
- package/dist/callbacks/customRevive.lua +45 -39
- package/dist/callbacks/itemPickup.d.ts +0 -1
- package/dist/callbacks/itemPickup.d.ts.map +1 -1
- package/dist/callbacks/itemPickup.lua +16 -16
- package/dist/callbacks/postAmbush.d.ts +0 -1
- package/dist/callbacks/postAmbush.d.ts.map +1 -1
- package/dist/callbacks/postAmbush.lua +12 -12
- package/dist/callbacks/postBombExploded.d.ts +0 -1
- package/dist/callbacks/postBombExploded.d.ts.map +1 -1
- package/dist/callbacks/postBombExploded.lua +6 -6
- package/dist/callbacks/postBombInitLate.d.ts +0 -1
- package/dist/callbacks/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/postBombInitLate.lua +7 -7
- package/dist/callbacks/postBoneSwing.d.ts +0 -1
- package/dist/callbacks/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/postBoneSwing.lua +11 -11
- package/dist/callbacks/postCollectibleEmpty.d.ts +0 -1
- package/dist/callbacks/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleEmpty.lua +6 -6
- package/dist/callbacks/postCollectibleInitFirst.d.ts +0 -1
- package/dist/callbacks/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleInitFirst.lua +7 -7
- package/dist/callbacks/postCursedTeleport.d.ts +0 -1
- package/dist/callbacks/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/postCursedTeleport.lua +24 -24
- package/dist/callbacks/postCustomDoorEnter.d.ts +0 -1
- package/dist/callbacks/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/postCustomDoorEnter.lua +34 -28
- package/dist/callbacks/postDiceRoomActivated.d.ts +0 -1
- package/dist/callbacks/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/postDiceRoomActivated.lua +9 -9
- package/dist/callbacks/postDoorRender.d.ts +0 -1
- package/dist/callbacks/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/postDoorRender.lua +7 -7
- package/dist/callbacks/postDoorUpdate.d.ts +0 -1
- package/dist/callbacks/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/postDoorUpdate.lua +7 -7
- package/dist/callbacks/postEffectInitLate.d.ts +0 -1
- package/dist/callbacks/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/postEffectInitLate.lua +7 -7
- package/dist/callbacks/postEffectStateChanged.d.ts +0 -1
- package/dist/callbacks/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postEffectStateChanged.lua +8 -8
- package/dist/callbacks/postEsauJr.d.ts +0 -1
- package/dist/callbacks/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/postEsauJr.lua +11 -11
- package/dist/callbacks/postFamiliarInitLate.d.ts +0 -1
- package/dist/callbacks/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarInitLate.lua +7 -7
- package/dist/callbacks/postFamiliarStateChanged.d.ts +0 -1
- package/dist/callbacks/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarStateChanged.lua +8 -8
- package/dist/callbacks/postFlip.d.ts +0 -1
- package/dist/callbacks/postFlip.d.ts.map +1 -1
- package/dist/callbacks/postFlip.lua +12 -12
- package/dist/callbacks/postGreedModeWave.d.ts +0 -1
- package/dist/callbacks/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/postGreedModeWave.lua +7 -7
- package/dist/callbacks/postGridEntity.d.ts +0 -1
- package/dist/callbacks/postGridEntity.d.ts.map +1 -1
- package/dist/callbacks/postGridEntity.lua +41 -35
- package/dist/callbacks/postGridEntityCollision.d.ts +0 -1
- package/dist/callbacks/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomCollision.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomRender.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomRender.lua +7 -7
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomUpdate.lua +7 -7
- package/dist/callbacks/postGridEntityRender.d.ts +0 -1
- package/dist/callbacks/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityRender.lua +7 -7
- package/dist/callbacks/postHolyMantleRemoved.d.ts +0 -1
- package/dist/callbacks/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/postHolyMantleRemoved.lua +9 -9
- package/dist/callbacks/postItemDischarged.d.ts +0 -1
- package/dist/callbacks/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/postItemDischarged.lua +18 -18
- package/dist/callbacks/postKnifeInitLate.d.ts +0 -1
- package/dist/callbacks/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/postKnifeInitLate.lua +7 -7
- package/dist/callbacks/postLaserInitLate.d.ts +0 -1
- package/dist/callbacks/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/postLaserInitLate.lua +7 -7
- package/dist/callbacks/postNPCInitLate.d.ts +0 -1
- package/dist/callbacks/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/postNPCInitLate.lua +7 -7
- package/dist/callbacks/postNPCStateChanged.d.ts +0 -1
- package/dist/callbacks/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postNPCStateChanged.lua +8 -8
- package/dist/callbacks/postNewRoomEarly.d.ts +0 -1
- package/dist/callbacks/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/postNewRoomEarly.lua +16 -16
- package/dist/callbacks/postPickupCollect.d.ts +0 -1
- package/dist/callbacks/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/postPickupCollect.lua +8 -8
- package/dist/callbacks/postPickupInitFirst.d.ts +0 -1
- package/dist/callbacks/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitFirst.lua +8 -8
- package/dist/callbacks/postPickupInitLate.d.ts +0 -1
- package/dist/callbacks/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitLate.lua +7 -7
- package/dist/callbacks/postPickupStateChanged.d.ts +0 -1
- package/dist/callbacks/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postPickupStateChanged.lua +8 -8
- package/dist/callbacks/postPitRender.d.ts +0 -1
- package/dist/callbacks/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/postPitRender.lua +7 -7
- package/dist/callbacks/postPitUpdate.d.ts +0 -1
- package/dist/callbacks/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPitUpdate.lua +7 -7
- package/dist/callbacks/postPlayerChangeHealth.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeHealth.lua +10 -9
- package/dist/callbacks/postPlayerChangeStat.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeStat.lua +20 -19
- package/dist/callbacks/postPlayerChangeType.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeType.lua +10 -10
- package/dist/callbacks/postPlayerCollectible.d.ts +0 -1
- package/dist/callbacks/postPlayerCollectible.d.ts.map +1 -1
- package/dist/callbacks/postPlayerCollectible.lua +40 -36
- package/dist/callbacks/postPlayerFatalDamage.d.ts +0 -1
- package/dist/callbacks/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/postPlayerFatalDamage.lua +22 -14
- package/dist/callbacks/postPlayerInitFirst.d.ts +0 -1
- package/dist/callbacks/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitFirst.lua +12 -12
- package/dist/callbacks/postPlayerInitLate.d.ts +0 -1
- package/dist/callbacks/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitLate.lua +9 -9
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts +0 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.lua +25 -25
- package/dist/callbacks/postPoopRender.d.ts +0 -1
- package/dist/callbacks/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/postPoopRender.lua +7 -7
- package/dist/callbacks/postPoopUpdate.d.ts +0 -1
- package/dist/callbacks/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPoopUpdate.lua +7 -7
- package/dist/callbacks/postPressurePlateRender.d.ts +0 -1
- package/dist/callbacks/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateRender.lua +7 -7
- package/dist/callbacks/postPressurePlateUpdate.d.ts +0 -1
- package/dist/callbacks/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateUpdate.lua +7 -7
- package/dist/callbacks/postProjectileInitLate.d.ts +0 -1
- package/dist/callbacks/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/postProjectileInitLate.lua +7 -7
- package/dist/callbacks/postPurchase.d.ts +0 -1
- package/dist/callbacks/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/postPurchase.lua +12 -12
- package/dist/callbacks/postRockRender.d.ts +0 -1
- package/dist/callbacks/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/postRockRender.lua +7 -7
- package/dist/callbacks/postRockUpdate.d.ts +0 -1
- package/dist/callbacks/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/postRockUpdate.lua +7 -7
- package/dist/callbacks/postRoomClearChanged.d.ts +0 -1
- package/dist/callbacks/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/postRoomClearChanged.lua +9 -9
- package/dist/callbacks/postSacrifice.d.ts +0 -1
- package/dist/callbacks/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/postSacrifice.lua +8 -8
- package/dist/callbacks/postSlotCollision.d.ts +0 -1
- package/dist/callbacks/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/postSlotCollision.lua +7 -7
- package/dist/callbacks/postSlotDestroyed.d.ts +0 -1
- package/dist/callbacks/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/postSlotDestroyed.lua +8 -8
- package/dist/callbacks/postSlotInitUpdate.d.ts +0 -1
- package/dist/callbacks/postSlotInitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSlotInitUpdate.lua +15 -15
- package/dist/callbacks/postSlotRender.d.ts +0 -1
- package/dist/callbacks/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/postSlotRender.lua +12 -12
- package/dist/callbacks/postSpikesRender.d.ts +0 -1
- package/dist/callbacks/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/postSpikesRender.lua +7 -7
- package/dist/callbacks/postSpikesUpdate.d.ts +0 -1
- package/dist/callbacks/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSpikesUpdate.lua +7 -7
- package/dist/callbacks/postTNTRender.d.ts +0 -1
- package/dist/callbacks/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/postTNTRender.lua +7 -7
- package/dist/callbacks/postTNTUpdate.d.ts +0 -1
- package/dist/callbacks/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/postTNTUpdate.lua +7 -7
- package/dist/callbacks/postTearInitLate.d.ts +0 -1
- package/dist/callbacks/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitLate.lua +7 -7
- package/dist/callbacks/postTearInitVeryLate.d.ts +0 -1
- package/dist/callbacks/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitVeryLate.lua +7 -7
- package/dist/callbacks/postTransformation.d.ts +0 -1
- package/dist/callbacks/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/postTransformation.lua +9 -9
- package/dist/callbacks/postTrinketBreak.d.ts +0 -1
- package/dist/callbacks/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/postTrinketBreak.lua +11 -11
- package/dist/callbacks/preBerserkDeath.d.ts +0 -1
- package/dist/callbacks/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/preBerserkDeath.lua +9 -9
- package/dist/callbacks/preNewLevel.d.ts +0 -1
- package/dist/callbacks/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/preNewLevel.lua +8 -8
- package/dist/callbacks/reorderedCallbacks.d.ts +0 -1
- package/dist/callbacks/reorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/reorderedCallbacks.lua +26 -26
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts +0 -1
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postAmbushFinished.lua +4 -4
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts +0 -1
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postAmbushStarted.lua +4 -4
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBombInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBoneExploded.lua +4 -4
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBoneSwing.lua +4 -4
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCollectibleEmpty.lua +4 -4
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +4 -4
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +10 -4
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomRevive.lua +4 -4
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDiceRoomActivated.lua +4 -4
- package/dist/callbacks/subscriptions/postDoorRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorRender.lua +4 -4
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEffectStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postEsauJr.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEsauJr.lua +4 -4
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +4 -4
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFirstFlip.lua +4 -4
- package/dist/callbacks/subscriptions/postFlip.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFlip.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFlip.lua +4 -4
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.lua +4 -4
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGreedModeWave.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityBroken.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.lua +10 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityRender.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts +0 -1
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.lua +4 -4
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postItemDischarged.lua +4 -4
- package/dist/callbacks/subscriptions/postItemPickup.d.ts +0 -1
- package/dist/callbacks/subscriptions/postItemPickup.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postItemPickup.lua +4 -4
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNPCStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +4 -4
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupCollect.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postPitRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPoopRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPurchase.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPurchase.lua +4 -4
- package/dist/callbacks/subscriptions/postRockRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRockRender.lua +4 -4
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRockUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRoomClearChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postSacrifice.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSacrifice.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotInit.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotRender.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSpikesRender.lua +4 -4
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSpikesUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postTNTRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTNTRender.lua +4 -4
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTNTUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTearInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +4 -4
- package/dist/callbacks/subscriptions/postTransformation.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTransformation.lua +4 -4
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.lua +4 -4
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts +0 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.lua +4 -4
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts +0 -1
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preCustomRevive.lua +4 -4
- package/dist/callbacks/subscriptions/preItemPickup.d.ts +0 -1
- package/dist/callbacks/subscriptions/preItemPickup.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preItemPickup.lua +4 -4
- package/dist/callbacks/subscriptions/preNewLevel.d.ts +0 -1
- package/dist/callbacks/subscriptions/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preNewLevel.lua +4 -4
- package/dist/classes/DefaultMap.d.ts +0 -1
- package/dist/classes/DefaultMap.d.ts.map +1 -1
- package/dist/classes/DefaultMap.lua +4 -4
- package/dist/classes/ModUpgraded.d.ts +4 -1
- package/dist/classes/ModUpgraded.d.ts.map +1 -1
- package/dist/classes/ModUpgraded.lua +1 -1
- package/dist/core/cachedClasses.d.ts +0 -1
- package/dist/core/cachedClasses.d.ts.map +1 -1
- package/dist/core/constants.d.ts +0 -1
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.lua +4 -4
- package/dist/core/constantsFirstLast.d.ts +0 -1
- package/dist/core/constantsFirstLast.d.ts.map +1 -1
- package/dist/core/constantsFirstLast.lua +11 -11
- package/dist/core/upgradeMod.d.ts +0 -1
- package/dist/core/upgradeMod.d.ts.map +1 -1
- package/dist/core/upgradeMod.lua +9 -9
- package/dist/enums/AmbushType.d.ts +0 -1
- package/dist/enums/AmbushType.d.ts.map +1 -1
- package/dist/enums/CornerType.d.ts +0 -1
- package/dist/enums/CornerType.d.ts.map +1 -1
- package/dist/enums/HealthType.d.ts +0 -1
- package/dist/enums/HealthType.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.d.ts +0 -1
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/enums/PocketItemType.d.ts +0 -1
- package/dist/enums/PocketItemType.d.ts.map +1 -1
- package/dist/enums/RockAltType.d.ts +0 -1
- package/dist/enums/RockAltType.d.ts.map +1 -1
- package/dist/enums/SaveDataKey.d.ts +0 -1
- package/dist/enums/SaveDataKey.d.ts.map +1 -1
- package/dist/enums/SerializationType.d.ts +0 -1
- package/dist/enums/SerializationType.d.ts.map +1 -1
- package/dist/enums/SlotDestructionType.d.ts +0 -1
- package/dist/enums/SlotDestructionType.d.ts.map +1 -1
- package/dist/enums/StatType.d.ts +0 -1
- package/dist/enums/StatType.d.ts.map +1 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +0 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts.map +1 -1
- package/dist/enums/private/SerializationBrand.d.ts +0 -1
- package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
- package/dist/enums/private/StageTravelState.d.ts +0 -1
- package/dist/enums/private/StageTravelState.d.ts.map +1 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts +0 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.d.ts +0 -1
- package/dist/features/characterHealthConversion.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.lua +10 -10
- package/dist/features/characterStats.d.ts +0 -1
- package/dist/features/characterStats.d.ts.map +1 -1
- package/dist/features/characterStats.lua +6 -6
- package/dist/features/collectibleItemPoolType.d.ts +0 -1
- package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
- package/dist/features/collectibleItemPoolType.lua +8 -8
- package/dist/features/customDoor.d.ts +0 -1
- package/dist/features/customDoor.d.ts.map +1 -1
- package/dist/features/customDoor.lua +4 -4
- package/dist/features/customGridEntity.d.ts +0 -1
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +42 -39
- package/dist/features/customPickup.d.ts +0 -1
- package/dist/features/customPickup.d.ts.map +1 -1
- package/dist/features/customPickup.lua +8 -8
- package/dist/features/customStage/backdrop.d.ts +0 -1
- package/dist/features/customStage/backdrop.d.ts.map +1 -1
- package/dist/features/customStage/backdrop.lua +40 -28
- package/dist/features/customStage/customStageConstants.d.ts +0 -1
- package/dist/features/customStage/customStageConstants.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.d.ts +0 -1
- package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.lua +34 -34
- package/dist/features/customStage/customStageUtils.d.ts +0 -1
- package/dist/features/customStage/customStageUtils.d.ts.map +1 -1
- package/dist/features/customStage/customStageUtils.lua +33 -21
- package/dist/features/customStage/exports.d.ts +0 -1
- package/dist/features/customStage/exports.d.ts.map +1 -1
- package/dist/features/customStage/exports.lua +36 -18
- package/dist/features/customStage/init.d.ts +0 -1
- package/dist/features/customStage/init.d.ts.map +1 -1
- package/dist/features/customStage/init.lua +28 -28
- package/dist/features/customStage/shadows.d.ts +0 -1
- package/dist/features/customStage/shadows.d.ts.map +1 -1
- package/dist/features/customStage/shadows.lua +10 -4
- package/dist/features/customStage/streakText.d.ts +0 -1
- package/dist/features/customStage/streakText.d.ts.map +1 -1
- package/dist/features/customStage/streakText.lua +17 -17
- package/dist/features/customStage/v.d.ts +0 -1
- package/dist/features/customStage/v.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.d.ts +0 -1
- package/dist/features/customStage/versusScreen.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.lua +31 -27
- package/dist/features/customTrapdoor/blackSprite.d.ts +0 -1
- package/dist/features/customTrapdoor/blackSprite.d.ts.map +1 -1
- package/dist/features/customTrapdoor/blackSprite.lua +1 -1
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts +0 -1
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.d.ts +0 -1
- package/dist/features/customTrapdoor/exports.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.lua +20 -8
- package/dist/features/customTrapdoor/init.d.ts +0 -1
- package/dist/features/customTrapdoor/init.d.ts.map +1 -1
- package/dist/features/customTrapdoor/init.lua +65 -50
- package/dist/features/customTrapdoor/openClose.d.ts +0 -1
- package/dist/features/customTrapdoor/openClose.d.ts.map +1 -1
- package/dist/features/customTrapdoor/openClose.lua +12 -12
- package/dist/features/customTrapdoor/spawn.d.ts +0 -1
- package/dist/features/customTrapdoor/spawn.d.ts.map +1 -1
- package/dist/features/customTrapdoor/spawn.lua +5 -4
- package/dist/features/customTrapdoor/touched.d.ts +0 -1
- package/dist/features/customTrapdoor/touched.d.ts.map +1 -1
- package/dist/features/customTrapdoor/touched.lua +25 -21
- package/dist/features/customTrapdoor/v.d.ts +0 -1
- package/dist/features/customTrapdoor/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts +0 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.lua +59 -59
- package/dist/features/debugDisplay/exports.d.ts +0 -1
- package/dist/features/debugDisplay/exports.d.ts.map +1 -1
- package/dist/features/debugDisplay/exports.lua +90 -90
- package/dist/features/debugDisplay/v.d.ts +0 -1
- package/dist/features/debugDisplay/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/v.lua +6 -6
- package/dist/features/deployJSONRoom.d.ts +0 -1
- package/dist/features/deployJSONRoom.d.ts.map +1 -1
- package/dist/features/deployJSONRoom.lua +118 -93
- package/dist/features/disableAllSound.d.ts +0 -1
- package/dist/features/disableAllSound.d.ts.map +1 -1
- package/dist/features/disableAllSound.lua +10 -10
- package/dist/features/disableInputs.d.ts +0 -1
- package/dist/features/disableInputs.d.ts.map +1 -1
- package/dist/features/disableInputs.lua +25 -25
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts +0 -1
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsDisplay.lua +72 -72
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts +0 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +42 -33
- package/dist/features/extraConsoleCommands/exports.d.ts +0 -1
- package/dist/features/extraConsoleCommands/exports.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/exports.lua +8 -8
- package/dist/features/extraConsoleCommands/init.d.ts +0 -1
- package/dist/features/extraConsoleCommands/init.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/init.lua +28 -28
- package/dist/features/extraConsoleCommands/listCommands.d.ts +0 -1
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +362 -307
- package/dist/features/extraConsoleCommands/v.d.ts +0 -1
- package/dist/features/extraConsoleCommands/v.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/v.lua +1 -1
- package/dist/features/fadeInRemover.d.ts +0 -1
- package/dist/features/fadeInRemover.d.ts.map +1 -1
- package/dist/features/fadeInRemover.lua +9 -8
- package/dist/features/fastReset.d.ts +0 -1
- package/dist/features/fastReset.d.ts.map +1 -1
- package/dist/features/fastReset.lua +11 -11
- package/dist/features/firstLast.d.ts +0 -1
- package/dist/features/firstLast.d.ts.map +1 -1
- package/dist/features/firstLast.lua +105 -93
- package/dist/features/forgottenSwitch.d.ts +0 -1
- package/dist/features/forgottenSwitch.d.ts.map +1 -1
- package/dist/features/forgottenSwitch.lua +5 -5
- package/dist/features/pause.d.ts +0 -1
- package/dist/features/pause.d.ts.map +1 -1
- package/dist/features/pause.lua +25 -25
- package/dist/features/persistentEntities.d.ts +0 -1
- package/dist/features/persistentEntities.d.ts.map +1 -1
- package/dist/features/persistentEntities.lua +25 -17
- package/dist/features/pickupIndex.d.ts +0 -1
- package/dist/features/pickupIndex.d.ts.map +1 -1
- package/dist/features/pickupIndex.lua +25 -25
- package/dist/features/playerInventory.d.ts +0 -1
- package/dist/features/playerInventory.d.ts.map +1 -1
- package/dist/features/playerInventory.lua +16 -16
- package/dist/features/ponyDetection.d.ts +0 -1
- package/dist/features/ponyDetection.d.ts.map +1 -1
- package/dist/features/ponyDetection.lua +14 -13
- package/dist/features/preventChildEntities.d.ts +0 -1
- package/dist/features/preventChildEntities.d.ts.map +1 -1
- package/dist/features/preventChildEntities.lua +4 -4
- package/dist/features/preventCollectibleRotation.d.ts +0 -1
- package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
- package/dist/features/preventCollectibleRotation.lua +13 -13
- package/dist/features/registerHotkey.d.ts +0 -1
- package/dist/features/registerHotkey.d.ts.map +1 -1
- package/dist/features/registerHotkey.lua +14 -14
- package/dist/features/roomClearFrame.d.ts +0 -1
- package/dist/features/roomClearFrame.d.ts.map +1 -1
- package/dist/features/roomClearFrame.lua +7 -7
- package/dist/features/roomHistory.d.ts +0 -1
- package/dist/features/roomHistory.d.ts.map +1 -1
- package/dist/features/roomHistory.lua +19 -19
- package/dist/features/runInNFrames.d.ts +0 -1
- package/dist/features/runInNFrames.d.ts.map +1 -1
- package/dist/features/runInNFrames.lua +30 -30
- package/dist/features/runNextRoom.d.ts +0 -1
- package/dist/features/runNextRoom.d.ts.map +1 -1
- package/dist/features/runNextRoom.lua +7 -7
- package/dist/features/saveDataManager/exports.d.ts +0 -1
- package/dist/features/saveDataManager/exports.d.ts.map +1 -1
- package/dist/features/saveDataManager/exports.lua +16 -16
- package/dist/features/saveDataManager/load.d.ts +0 -1
- package/dist/features/saveDataManager/load.d.ts.map +1 -1
- package/dist/features/saveDataManager/load.lua +16 -12
- package/dist/features/saveDataManager/main.d.ts +0 -1
- package/dist/features/saveDataManager/main.d.ts.map +1 -1
- package/dist/features/saveDataManager/main.lua +32 -31
- package/dist/features/saveDataManager/maps.d.ts +0 -1
- package/dist/features/saveDataManager/maps.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.d.ts +0 -1
- package/dist/features/saveDataManager/merge.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.lua +33 -30
- package/dist/features/saveDataManager/save.d.ts +0 -1
- package/dist/features/saveDataManager/save.d.ts.map +1 -1
- package/dist/features/saveDataManager/save.lua +9 -8
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts +0 -1
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts +0 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.lua +3 -3
- package/dist/features/sirenHelpers.d.ts +0 -1
- package/dist/features/sirenHelpers.d.ts.map +1 -1
- package/dist/features/sirenHelpers.lua +15 -15
- package/dist/features/stageHistory.d.ts +0 -1
- package/dist/features/stageHistory.d.ts.map +1 -1
- package/dist/features/stageHistory.lua +7 -7
- package/dist/features/taintedLazarusPlayers.d.ts +0 -1
- package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
- package/dist/features/taintedLazarusPlayers.lua +8 -8
- package/dist/featuresInitialized.d.ts +0 -1
- package/dist/featuresInitialized.d.ts.map +1 -1
- package/dist/featuresInitialized.lua +4 -4
- package/dist/functions/ambush.d.ts +0 -1
- package/dist/functions/ambush.d.ts.map +1 -1
- package/dist/functions/ambush.lua +18 -15
- package/dist/functions/array.d.ts +0 -1
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.lua +62 -48
- package/dist/functions/benchmark.d.ts +0 -1
- package/dist/functions/benchmark.d.ts.map +1 -1
- package/dist/functions/benchmark.lua +10 -4
- package/dist/functions/bitSet128.d.ts +0 -1
- package/dist/functions/bitSet128.d.ts.map +1 -1
- package/dist/functions/bitSet128.lua +13 -11
- package/dist/functions/bitwise.d.ts +0 -1
- package/dist/functions/bitwise.d.ts.map +1 -1
- package/dist/functions/bitwise.lua +9 -9
- package/dist/functions/bombs.d.ts +0 -1
- package/dist/functions/bombs.d.ts.map +1 -1
- package/dist/functions/bombs.lua +1 -1
- package/dist/functions/bosses.d.ts +0 -1
- package/dist/functions/bosses.d.ts.map +1 -1
- package/dist/functions/bosses.lua +31 -15
- package/dist/functions/cards.d.ts +0 -1
- package/dist/functions/cards.d.ts.map +1 -1
- package/dist/functions/cards.lua +48 -42
- package/dist/functions/challenges.d.ts +0 -1
- package/dist/functions/challenges.d.ts.map +1 -1
- package/dist/functions/challenges.lua +1 -1
- package/dist/functions/characters.d.ts +0 -1
- package/dist/functions/characters.d.ts.map +1 -1
- package/dist/functions/characters.lua +13 -13
- package/dist/functions/charge.d.ts +0 -1
- package/dist/functions/charge.d.ts.map +1 -1
- package/dist/functions/charge.lua +36 -24
- package/dist/functions/chargeBar.d.ts +0 -1
- package/dist/functions/chargeBar.d.ts.map +1 -1
- package/dist/functions/chargeBar.lua +5 -5
- package/dist/functions/collectibleCacheFlag.d.ts +0 -1
- package/dist/functions/collectibleCacheFlag.d.ts.map +1 -1
- package/dist/functions/collectibleCacheFlag.lua +12 -11
- package/dist/functions/collectibleSet.d.ts +0 -1
- package/dist/functions/collectibleSet.d.ts.map +1 -1
- package/dist/functions/collectibleSet.lua +17 -17
- package/dist/functions/collectibleTag.d.ts +0 -1
- package/dist/functions/collectibleTag.d.ts.map +1 -1
- package/dist/functions/collectibleTag.lua +14 -13
- package/dist/functions/collectibles.d.ts +0 -1
- package/dist/functions/collectibles.d.ts.map +1 -1
- package/dist/functions/collectibles.lua +69 -68
- package/dist/functions/color.d.ts +0 -1
- package/dist/functions/color.d.ts.map +1 -1
- package/dist/functions/color.lua +21 -19
- package/dist/functions/curses.d.ts +0 -1
- package/dist/functions/curses.d.ts.map +1 -1
- package/dist/functions/curses.lua +3 -3
- package/dist/functions/debug.d.ts +0 -1
- package/dist/functions/debug.d.ts.map +1 -1
- package/dist/functions/debug.lua +15 -15
- package/dist/functions/deepCopy.d.ts +0 -1
- package/dist/functions/deepCopy.d.ts.map +1 -1
- package/dist/functions/deepCopy.lua +169 -73
- package/dist/functions/deepCopyTests.d.ts +0 -1
- package/dist/functions/deepCopyTests.d.ts.map +1 -1
- package/dist/functions/deepCopyTests.lua +81 -81
- package/dist/functions/dimensions.d.ts +0 -1
- package/dist/functions/dimensions.d.ts.map +1 -1
- package/dist/functions/dimensions.lua +7 -7
- package/dist/functions/direction.d.ts +0 -1
- package/dist/functions/direction.d.ts.map +1 -1
- package/dist/functions/direction.lua +4 -4
- package/dist/functions/doors.d.ts +0 -1
- package/dist/functions/doors.d.ts.map +1 -1
- package/dist/functions/doors.lua +77 -74
- package/dist/functions/easing.d.ts +0 -1
- package/dist/functions/easing.d.ts.map +1 -1
- package/dist/functions/easing.lua +32 -32
- package/dist/functions/eden.d.ts +0 -1
- package/dist/functions/eden.d.ts.map +1 -1
- package/dist/functions/eden.lua +9 -9
- package/dist/functions/effects.d.ts +0 -1
- package/dist/functions/effects.d.ts.map +1 -1
- package/dist/functions/effects.lua +2 -2
- package/dist/functions/entities.d.ts +0 -1
- package/dist/functions/entities.d.ts.map +1 -1
- package/dist/functions/entities.lua +48 -41
- package/dist/functions/entitiesSpecific.d.ts +0 -1
- package/dist/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/functions/entitiesSpecific.lua +96 -70
- package/dist/functions/entityTypes.d.ts +0 -1
- package/dist/functions/entityTypes.d.ts.map +1 -1
- package/dist/functions/entityTypes.lua +1 -1
- package/dist/functions/enums.d.ts +0 -1
- package/dist/functions/enums.d.ts.map +1 -1
- package/dist/functions/enums.lua +19 -19
- package/dist/functions/familiars.d.ts +0 -1
- package/dist/functions/familiars.d.ts.map +1 -1
- package/dist/functions/familiars.lua +6 -5
- package/dist/functions/flag.d.ts +0 -1
- package/dist/functions/flag.d.ts.map +1 -1
- package/dist/functions/flag.lua +8 -8
- package/dist/functions/flying.d.ts +0 -1
- package/dist/functions/flying.d.ts.map +1 -1
- package/dist/functions/flying.lua +12 -9
- package/dist/functions/globals.d.ts +0 -1
- package/dist/functions/globals.d.ts.map +1 -1
- package/dist/functions/globals.lua +17 -14
- package/dist/functions/gridEntities.d.ts +0 -1
- package/dist/functions/gridEntities.d.ts.map +1 -1
- package/dist/functions/gridEntities.lua +64 -58
- package/dist/functions/gridEntitiesSpecific.d.ts +0 -1
- package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -1
- package/dist/functions/gridEntitiesSpecific.lua +92 -92
- package/dist/functions/hex.d.ts +0 -1
- package/dist/functions/hex.d.ts.map +1 -1
- package/dist/functions/hex.lua +12 -9
- package/dist/functions/initArray.d.ts +0 -1
- package/dist/functions/initArray.d.ts.map +1 -1
- package/dist/functions/initArray.lua +4 -3
- package/dist/functions/input.d.ts +0 -1
- package/dist/functions/input.d.ts.map +1 -1
- package/dist/functions/input.lua +25 -22
- package/dist/functions/isaacAPIClass.d.ts +0 -1
- package/dist/functions/isaacAPIClass.d.ts.map +1 -1
- package/dist/functions/isaacAPIClass.lua +47 -47
- package/dist/functions/itemPool.d.ts +0 -1
- package/dist/functions/itemPool.d.ts.map +1 -1
- package/dist/functions/itemPool.lua +19 -17
- package/dist/functions/jsonHelpers.d.ts +0 -1
- package/dist/functions/jsonHelpers.d.ts.map +1 -1
- package/dist/functions/jsonHelpers.lua +3 -3
- package/dist/functions/jsonRoom.d.ts +0 -1
- package/dist/functions/jsonRoom.d.ts.map +1 -1
- package/dist/functions/jsonRoom.lua +22 -16
- package/dist/functions/kColor.d.ts +0 -1
- package/dist/functions/kColor.d.ts.map +1 -1
- package/dist/functions/kColor.lua +21 -19
- package/dist/functions/language.d.ts +0 -1
- package/dist/functions/language.d.ts.map +1 -1
- package/dist/functions/language.lua +1 -1
- package/dist/functions/level.d.ts +0 -1
- package/dist/functions/level.d.ts.map +1 -1
- package/dist/functions/level.lua +5 -5
- package/dist/functions/levelGrid.d.ts +0 -1
- package/dist/functions/levelGrid.d.ts.map +1 -1
- package/dist/functions/levelGrid.lua +67 -67
- package/dist/functions/log.d.ts +0 -1
- package/dist/functions/log.d.ts.map +1 -1
- package/dist/functions/log.lua +240 -128
- package/dist/functions/logEntities.d.ts +0 -1
- package/dist/functions/logEntities.d.ts.map +1 -1
- package/dist/functions/logEntities.lua +32 -29
- package/dist/functions/map.d.ts +0 -1
- package/dist/functions/map.d.ts.map +1 -1
- package/dist/functions/map.lua +5 -5
- package/dist/functions/math.d.ts +0 -1
- package/dist/functions/math.d.ts.map +1 -1
- package/dist/functions/math.lua +14 -14
- package/dist/functions/mergeTests.d.ts +0 -1
- package/dist/functions/mergeTests.d.ts.map +1 -1
- package/dist/functions/mergeTests.lua +47 -47
- package/dist/functions/minimap.d.ts +0 -1
- package/dist/functions/minimap.d.ts.map +1 -1
- package/dist/functions/minimap.lua +12 -12
- package/dist/functions/nextStage.d.ts +0 -1
- package/dist/functions/nextStage.d.ts.map +1 -1
- package/dist/functions/nextStage.lua +39 -39
- package/dist/functions/npcs.d.ts +0 -1
- package/dist/functions/npcs.d.ts.map +1 -1
- package/dist/functions/npcs.lua +21 -15
- package/dist/functions/pickupVariants.d.ts +0 -1
- package/dist/functions/pickupVariants.d.ts.map +1 -1
- package/dist/functions/pickupVariants.lua +11 -11
- package/dist/functions/pickups.d.ts +0 -1
- package/dist/functions/pickups.d.ts.map +1 -1
- package/dist/functions/pickups.lua +9 -9
- package/dist/functions/pickupsSpecific.d.ts +0 -1
- package/dist/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/functions/pickupsSpecific.lua +76 -58
- package/dist/functions/pills.d.ts +0 -1
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/pills.lua +25 -22
- package/dist/functions/playerCenter.d.ts +0 -1
- package/dist/functions/playerCenter.d.ts.map +1 -1
- package/dist/functions/playerCenter.lua +6 -5
- package/dist/functions/playerDataStructures.d.ts +0 -1
- package/dist/functions/playerDataStructures.d.ts.map +1 -1
- package/dist/functions/playerDataStructures.lua +16 -16
- package/dist/functions/playerHealth.d.ts +0 -1
- package/dist/functions/playerHealth.d.ts.map +1 -1
- package/dist/functions/playerHealth.lua +54 -47
- package/dist/functions/playerIndex.d.ts +0 -1
- package/dist/functions/playerIndex.d.ts.map +1 -1
- package/dist/functions/playerIndex.lua +17 -17
- package/dist/functions/playerStats.d.ts +0 -1
- package/dist/functions/playerStats.d.ts.map +1 -1
- package/dist/functions/playerStats.lua +1 -1
- package/dist/functions/players.d.ts +0 -1
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +82 -81
- package/dist/functions/pocketItems.d.ts +0 -1
- package/dist/functions/pocketItems.d.ts.map +1 -1
- package/dist/functions/pocketItems.lua +12 -12
- package/dist/functions/positionVelocity.d.ts +0 -1
- package/dist/functions/positionVelocity.d.ts.map +1 -1
- package/dist/functions/positionVelocity.lua +15 -15
- package/dist/functions/pressurePlate.d.ts +0 -1
- package/dist/functions/pressurePlate.d.ts.map +1 -1
- package/dist/functions/pressurePlate.lua +2 -2
- package/dist/functions/projectiles.d.ts +0 -1
- package/dist/functions/projectiles.d.ts.map +1 -1
- package/dist/functions/projectiles.lua +19 -7
- package/dist/functions/random.d.ts +0 -1
- package/dist/functions/random.d.ts.map +1 -1
- package/dist/functions/random.lua +9 -9
- package/dist/functions/reorderedCallbacks.d.ts +0 -1
- package/dist/functions/reorderedCallbacks.d.ts.map +1 -1
- package/dist/functions/reorderedCallbacks.lua +6 -6
- package/dist/functions/revive.d.ts +0 -1
- package/dist/functions/revive.d.ts.map +1 -1
- package/dist/functions/revive.lua +16 -16
- package/dist/functions/rng.d.ts +0 -1
- package/dist/functions/rng.d.ts.map +1 -1
- package/dist/functions/rng.lua +27 -25
- package/dist/functions/rockAlt.d.ts +0 -1
- package/dist/functions/rockAlt.d.ts.map +1 -1
- package/dist/functions/rockAlt.lua +111 -74
- package/dist/functions/roomData.d.ts +0 -1
- package/dist/functions/roomData.d.ts.map +1 -1
- package/dist/functions/roomData.lua +30 -30
- package/dist/functions/roomGrid.d.ts +0 -1
- package/dist/functions/roomGrid.d.ts.map +1 -1
- package/dist/functions/roomGrid.lua +17 -17
- package/dist/functions/roomShape.d.ts +0 -1
- package/dist/functions/roomShape.d.ts.map +1 -1
- package/dist/functions/roomShape.lua +13 -13
- package/dist/functions/roomTransition.d.ts +0 -1
- package/dist/functions/roomTransition.d.ts.map +1 -1
- package/dist/functions/roomTransition.lua +19 -10
- package/dist/functions/rooms.d.ts +0 -1
- package/dist/functions/rooms.d.ts.map +1 -1
- package/dist/functions/rooms.lua +87 -87
- package/dist/functions/run.d.ts +0 -1
- package/dist/functions/run.d.ts.map +1 -1
- package/dist/functions/run.lua +17 -11
- package/dist/functions/saveFile.d.ts +0 -1
- package/dist/functions/saveFile.d.ts.map +1 -1
- package/dist/functions/saveFile.lua +3 -3
- package/dist/functions/seeds.d.ts +0 -1
- package/dist/functions/seeds.d.ts.map +1 -1
- package/dist/functions/seeds.lua +3 -3
- package/dist/functions/serialization.d.ts +0 -1
- package/dist/functions/serialization.d.ts.map +1 -1
- package/dist/functions/serialization.lua +11 -11
- package/dist/functions/set.d.ts +0 -1
- package/dist/functions/set.d.ts.map +1 -1
- package/dist/functions/set.lua +15 -15
- package/dist/functions/sound.d.ts +0 -1
- package/dist/functions/sound.d.ts.map +1 -1
- package/dist/functions/sound.lua +2 -2
- package/dist/functions/spawnCollectible.d.ts +0 -1
- package/dist/functions/spawnCollectible.d.ts.map +1 -1
- package/dist/functions/spawnCollectible.lua +11 -9
- package/dist/functions/sprites.d.ts +0 -1
- package/dist/functions/sprites.d.ts.map +1 -1
- package/dist/functions/sprites.lua +13 -7
- package/dist/functions/stage.d.ts +0 -1
- package/dist/functions/stage.d.ts.map +1 -1
- package/dist/functions/stage.lua +29 -26
- package/dist/functions/stats.d.ts +0 -1
- package/dist/functions/stats.d.ts.map +1 -1
- package/dist/functions/stats.lua +3 -3
- package/dist/functions/string.d.ts +0 -1
- package/dist/functions/string.d.ts.map +1 -1
- package/dist/functions/string.lua +7 -7
- package/dist/functions/table.d.ts +0 -1
- package/dist/functions/table.d.ts.map +1 -1
- package/dist/functions/table.lua +16 -16
- package/dist/functions/tears.d.ts +0 -1
- package/dist/functions/tears.d.ts.map +1 -1
- package/dist/functions/tears.lua +5 -5
- package/dist/functions/transformations.d.ts +0 -1
- package/dist/functions/transformations.d.ts.map +1 -1
- package/dist/functions/transformations.lua +14 -13
- package/dist/functions/trinketCacheFlag.d.ts +0 -1
- package/dist/functions/trinketCacheFlag.d.ts.map +1 -1
- package/dist/functions/trinketCacheFlag.lua +10 -10
- package/dist/functions/trinketGive.d.ts +0 -1
- package/dist/functions/trinketGive.d.ts.map +1 -1
- package/dist/functions/trinketGive.lua +14 -12
- package/dist/functions/trinketSet.d.ts +0 -1
- package/dist/functions/trinketSet.d.ts.map +1 -1
- package/dist/functions/trinketSet.lua +17 -17
- package/dist/functions/trinkets.d.ts +0 -1
- package/dist/functions/trinkets.d.ts.map +1 -1
- package/dist/functions/trinkets.lua +22 -22
- package/dist/functions/tstlClass.d.ts +0 -1
- package/dist/functions/tstlClass.d.ts.map +1 -1
- package/dist/functions/tstlClass.lua +19 -19
- package/dist/functions/types.d.ts +0 -1
- package/dist/functions/types.d.ts.map +1 -1
- package/dist/functions/types.lua +17 -17
- package/dist/functions/ui.d.ts +0 -1
- package/dist/functions/ui.d.ts.map +1 -1
- package/dist/functions/ui.lua +19 -19
- package/dist/functions/utils.d.ts +0 -1
- package/dist/functions/utils.d.ts.map +1 -1
- package/dist/functions/utils.lua +12 -12
- package/dist/functions/vector.d.ts +0 -1
- package/dist/functions/vector.d.ts.map +1 -1
- package/dist/functions/vector.lua +23 -21
- package/dist/index.d.ts +11909 -11988
- package/dist/index.d.ts.map +1 -1
- package/dist/initCustomCallbacks.d.ts +0 -1
- package/dist/initCustomCallbacks.d.ts.map +1 -1
- package/dist/initCustomCallbacks.lua +72 -72
- package/dist/initFeatures.d.ts +0 -1
- package/dist/initFeatures.d.ts.map +1 -1
- package/dist/initFeatures.lua +34 -34
- package/dist/interfaces/ChargeBarSprites.d.ts +0 -1
- package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -1
- package/dist/interfaces/Corner.d.ts +0 -1
- package/dist/interfaces/Corner.d.ts.map +1 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts +11 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts.map +1 -1
- package/dist/interfaces/GridEntityCustomData.d.ts +0 -1
- package/dist/interfaces/GridEntityCustomData.d.ts.map +1 -1
- package/dist/interfaces/JSONRoomsFile.d.ts +0 -1
- package/dist/interfaces/JSONRoomsFile.d.ts.map +1 -1
- package/dist/interfaces/PlayerHealth.d.ts +0 -1
- package/dist/interfaces/PlayerHealth.d.ts.map +1 -1
- package/dist/interfaces/PocketItemDescription.d.ts +0 -1
- package/dist/interfaces/PocketItemDescription.d.ts.map +1 -1
- package/dist/interfaces/RoomDescription.d.ts +0 -1
- package/dist/interfaces/RoomDescription.d.ts.map +1 -1
- package/dist/interfaces/SaveData.d.ts +0 -1
- package/dist/interfaces/SaveData.d.ts.map +1 -1
- package/dist/interfaces/SaveData.lua +10 -10
- package/dist/interfaces/StatTypeType.d.ts +0 -1
- package/dist/interfaces/StatTypeType.d.ts.map +1 -1
- package/dist/interfaces/TrinketSituation.d.ts +0 -1
- package/dist/interfaces/TrinketSituation.d.ts.map +1 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts +0 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts.map +1 -1
- package/dist/interfaces/private/CustomStage.d.ts +0 -1
- package/dist/interfaces/private/CustomStage.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts +0 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts +0 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts.map +1 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts +0 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts.map +1 -1
- package/dist/maps/PHDPillConversions.d.ts +0 -1
- package/dist/maps/PHDPillConversions.d.ts.map +1 -1
- package/dist/maps/cardMap.d.ts +0 -1
- package/dist/maps/cardMap.d.ts.map +1 -1
- package/dist/maps/characterMap.d.ts +0 -1
- package/dist/maps/characterMap.d.ts.map +1 -1
- package/dist/maps/collectibleDescriptionMap.d.ts +0 -1
- package/dist/maps/collectibleDescriptionMap.d.ts.map +1 -1
- package/dist/maps/collectibleNameMap.d.ts +0 -1
- package/dist/maps/collectibleNameMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.d.ts +0 -1
- package/dist/maps/defaultPlayerStatMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.lua +1 -1
- package/dist/maps/falsePHDPillConversions.d.ts +0 -1
- package/dist/maps/falsePHDPillConversions.d.ts.map +1 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +0 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts.map +1 -1
- package/dist/maps/gridEntityXMLMap.d.ts +0 -1
- package/dist/maps/gridEntityXMLMap.d.ts.map +1 -1
- package/dist/maps/keyboardToString.d.ts +0 -1
- package/dist/maps/keyboardToString.d.ts.map +1 -1
- package/dist/maps/pillEffectMap.d.ts +0 -1
- package/dist/maps/pillEffectMap.d.ts.map +1 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +0 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts.map +1 -1
- package/dist/maps/roomTypeMap.d.ts +0 -1
- package/dist/maps/roomTypeMap.d.ts.map +1 -1
- package/dist/maps/trinketDescriptionMap.d.ts +0 -1
- package/dist/maps/trinketDescriptionMap.d.ts.map +1 -1
- package/dist/maps/trinketNameMap.d.ts +0 -1
- package/dist/maps/trinketNameMap.d.ts.map +1 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts +0 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts.map +1 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts +0 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts.map +1 -1
- package/dist/objects/bossNamePNGFileNames.d.ts +0 -1
- package/dist/objects/bossNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts +0 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/callbackRegisterFunctions.d.ts +0 -1
- package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
- package/dist/objects/cardDescriptions.d.ts +0 -1
- package/dist/objects/cardDescriptions.d.ts.map +1 -1
- package/dist/objects/cardNames.d.ts +0 -1
- package/dist/objects/cardNames.d.ts.map +1 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts +0 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts.map +1 -1
- package/dist/objects/challengeNames.d.ts +0 -1
- package/dist/objects/challengeNames.d.ts.map +1 -1
- package/dist/objects/characterDamageMultipliers.d.ts +0 -1
- package/dist/objects/characterDamageMultipliers.d.ts.map +1 -1
- package/dist/objects/characterNames.d.ts +0 -1
- package/dist/objects/characterNames.d.ts.map +1 -1
- package/dist/objects/coinSubTypeToValue.d.ts +0 -1
- package/dist/objects/coinSubTypeToValue.d.ts.map +1 -1
- package/dist/objects/colors.d.ts +0 -1
- package/dist/objects/colors.d.ts.map +1 -1
- package/dist/objects/directionNames.d.ts +0 -1
- package/dist/objects/directionNames.d.ts.map +1 -1
- package/dist/objects/directionToDegrees.d.ts +0 -1
- package/dist/objects/directionToDegrees.d.ts.map +1 -1
- package/dist/objects/directionToVector.d.ts +0 -1
- package/dist/objects/directionToVector.d.ts.map +1 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts +0 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
- package/dist/objects/doorSlotToDirection.d.ts +0 -1
- package/dist/objects/doorSlotToDirection.d.ts.map +1 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts +0 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts +0 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts +0 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
- package/dist/objects/languageNames.d.ts +0 -1
- package/dist/objects/languageNames.d.ts.map +1 -1
- package/dist/objects/oppositeDoorSlots.d.ts +0 -1
- package/dist/objects/oppositeDoorSlots.d.ts.map +1 -1
- package/dist/objects/pillEffectClasses.d.ts +0 -1
- package/dist/objects/pillEffectClasses.d.ts.map +1 -1
- package/dist/objects/pillEffectNames.d.ts +0 -1
- package/dist/objects/pillEffectNames.d.ts.map +1 -1
- package/dist/objects/pillEffectTypes.d.ts +0 -1
- package/dist/objects/pillEffectTypes.d.ts.map +1 -1
- package/dist/objects/playerNamePNGFileNames.d.ts +0 -1
- package/dist/objects/playerNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts +0 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/roomShapeBounds.d.ts +0 -1
- package/dist/objects/roomShapeBounds.d.ts.map +1 -1
- package/dist/objects/roomShapeCorners.d.ts +0 -1
- package/dist/objects/roomShapeCorners.d.ts.map +1 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts +0 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts.map +1 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +0 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts.map +1 -1
- package/dist/objects/roomShapeToGridWidth.d.ts +0 -1
- package/dist/objects/roomShapeToGridWidth.d.ts.map +1 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +0 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeVolumes.d.ts +0 -1
- package/dist/objects/roomShapeVolumes.d.ts.map +1 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts +0 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts.map +1 -1
- package/dist/objects/roomTypeNames.d.ts +0 -1
- package/dist/objects/roomTypeNames.d.ts.map +1 -1
- package/dist/objects/stageTypeSuffixes.d.ts +0 -1
- package/dist/objects/stageTypeSuffixes.d.ts.map +1 -1
- package/dist/objects/stageTypeToLetter.d.ts +0 -1
- package/dist/objects/stageTypeToLetter.d.ts.map +1 -1
- package/dist/objects/transformationNames.d.ts +0 -1
- package/dist/objects/transformationNames.d.ts.map +1 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts +0 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts +0 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/patchErrorFunctions.d.ts +0 -1
- package/dist/patchErrorFunctions.d.ts.map +1 -1
- package/dist/patchErrorFunctions.lua +7 -7
- package/dist/sets/LRoomShapesSet.d.ts +0 -1
- package/dist/sets/LRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/bossSets.d.ts +0 -1
- package/dist/sets/bossSets.d.ts.map +1 -1
- package/dist/sets/bossSets.lua +4 -4
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +0 -1
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts.map +1 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +0 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts.map +1 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +0 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts +0 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +0 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts.map +1 -1
- package/dist/sets/chestPickupVariantsSet.d.ts +0 -1
- package/dist/sets/chestPickupVariantsSet.d.ts.map +1 -1
- package/dist/sets/consoleCommandsSet.d.ts +0 -1
- package/dist/sets/consoleCommandsSet.d.ts.map +1 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +0 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts.map +1 -1
- package/dist/sets/lostStyleCharactersSet.d.ts +0 -1
- package/dist/sets/lostStyleCharactersSet.d.ts.map +1 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts +0 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts.map +1 -1
- package/dist/sets/narrowRoomShapesSet.d.ts +0 -1
- package/dist/sets/narrowRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/redHeartSubTypesSet.d.ts +0 -1
- package/dist/sets/redHeartSubTypesSet.d.ts.map +1 -1
- package/dist/sets/sinEntityTypesSet.d.ts +0 -1
- package/dist/sets/sinEntityTypesSet.d.ts.map +1 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +0 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts.map +1 -1
- package/dist/sets/storyBossesSet.d.ts +0 -1
- package/dist/sets/storyBossesSet.d.ts.map +1 -1
- package/dist/shaderCrashFix.d.ts +0 -1
- package/dist/shaderCrashFix.d.ts.map +1 -1
- package/dist/shaderCrashFix.lua +2 -2
- package/dist/types/AnyEntity.d.ts +0 -1
- package/dist/types/AnyEntity.d.ts.map +1 -1
- package/dist/types/AnyGridEntity.d.ts +0 -1
- package/dist/types/AnyGridEntity.d.ts.map +1 -1
- package/dist/types/CollectibleIndex.d.ts +0 -1
- package/dist/types/CollectibleIndex.d.ts.map +1 -1
- package/dist/types/Immutable.d.ts +0 -1
- package/dist/types/Immutable.d.ts.map +1 -1
- package/dist/types/PickingUpItem.d.ts +0 -1
- package/dist/types/PickingUpItem.d.ts.map +1 -1
- package/dist/types/PickingUpItem.lua +5 -5
- package/dist/types/PickupIndex.d.ts +0 -1
- package/dist/types/PickupIndex.d.ts.map +1 -1
- package/dist/types/PlayerIndex.d.ts +0 -1
- package/dist/types/PlayerIndex.d.ts.map +1 -1
- package/dist/types/PossibleStatType.d.ts +0 -1
- package/dist/types/PossibleStatType.d.ts.map +1 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts +0 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts.map +1 -1
- package/dist/types/TSTLClass.d.ts +0 -1
- package/dist/types/TSTLClass.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/classes/ModUpgraded.ts +5 -1
- package/src/features/customPickup.ts +2 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerHotkey.d.ts","sourceRoot":"","sources":["../../src/features/registerHotkey.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registerHotkey.d.ts","sourceRoot":"","sources":["../../src/features/registerHotkey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAe,MAAM,8BAA8B,CAAC;AAyDrE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAC5B,cAAc,EAAE,QAAQ,GAAG,CAAC,MAAM,QAAQ,GAAG,SAAS,CAAC,EACvD,WAAW,EAAE,MAAM,IAAI,GACtB,IAAI,CAoBN;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,cAAc,EAAE,QAAQ,GAAG,CAAC,MAAM,QAAQ,GAAG,SAAS,CAAC,GACtD,IAAI,CAoBN"}
|
|
@@ -15,27 +15,27 @@ local ____input = require("functions.input")
|
|
|
15
15
|
local isKeyboardPressed = ____input.isKeyboardPressed
|
|
16
16
|
local ____types = require("functions.types")
|
|
17
17
|
local isFunction = ____types.isFunction
|
|
18
|
-
function postRender()
|
|
18
|
+
function postRender(self)
|
|
19
19
|
for ____, ____value in __TS__Iterator(staticHotkeyFunctionMap:entries()) do
|
|
20
20
|
local keyboard = ____value[1]
|
|
21
21
|
local triggerFunc = ____value[2]
|
|
22
|
-
checkIfTriggered(keyboard, triggerFunc)
|
|
22
|
+
checkIfTriggered(nil, keyboard, triggerFunc)
|
|
23
23
|
end
|
|
24
24
|
for ____, ____value in __TS__Iterator(dynamicHotkeyFunctionMap:entries()) do
|
|
25
25
|
local keyboardFunc = ____value[1]
|
|
26
26
|
local triggerFunc = ____value[2]
|
|
27
|
-
local keyboard = keyboardFunc()
|
|
27
|
+
local keyboard = keyboardFunc(nil)
|
|
28
28
|
if keyboard ~= nil then
|
|
29
|
-
checkIfTriggered(keyboard, triggerFunc)
|
|
29
|
+
checkIfTriggered(nil, keyboard, triggerFunc)
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
|
-
function checkIfTriggered(keyboard, triggerFunc)
|
|
34
|
-
local isPressed = isKeyboardPressed(keyboard)
|
|
33
|
+
function checkIfTriggered(self, keyboard, triggerFunc)
|
|
34
|
+
local isPressed = isKeyboardPressed(nil, keyboard)
|
|
35
35
|
local wasPreviouslyPressed = keyPressedMap:getAndSetDefault(keyboard)
|
|
36
36
|
keyPressedMap:set(keyboard, isPressed)
|
|
37
37
|
if isPressed and not wasPreviouslyPressed then
|
|
38
|
-
triggerFunc()
|
|
38
|
+
triggerFunc(nil)
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
local FEATURE_NAME = "registerHotkeys"
|
|
@@ -44,7 +44,7 @@ dynamicHotkeyFunctionMap = __TS__New(Map)
|
|
|
44
44
|
keyPressedMap = __TS__New(DefaultMap, false)
|
|
45
45
|
---
|
|
46
46
|
-- @internal
|
|
47
|
-
function ____exports.registerHotkeyInit(mod)
|
|
47
|
+
function ____exports.registerHotkeyInit(self, mod)
|
|
48
48
|
mod:AddCallback(ModCallback.POST_RENDER, postRender)
|
|
49
49
|
end
|
|
50
50
|
--- Helper function to run arbitrary code when you press and release a specific keyboard key.
|
|
@@ -59,9 +59,9 @@ end
|
|
|
59
59
|
-- Config Menu).
|
|
60
60
|
-- @param triggerFunc A function containing the arbitrary code that you want to execute when the
|
|
61
61
|
-- hotkey is triggered.
|
|
62
|
-
function ____exports.registerHotkey(keyboardOrFunc, triggerFunc)
|
|
63
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
64
|
-
if isFunction(keyboardOrFunc) then
|
|
62
|
+
function ____exports.registerHotkey(self, keyboardOrFunc, triggerFunc)
|
|
63
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
64
|
+
if isFunction(nil, keyboardOrFunc) then
|
|
65
65
|
if dynamicHotkeyFunctionMap:has(keyboardOrFunc) then
|
|
66
66
|
error("Failed to register a hotkey due to a custom hotkey already being defined for the submitted function.")
|
|
67
67
|
end
|
|
@@ -76,9 +76,9 @@ end
|
|
|
76
76
|
--- Helper function to remove a hotkey created with the `registerHotkey` function.
|
|
77
77
|
--
|
|
78
78
|
-- @param keyboardOrFunc Equal to the value that you passed when initially registering the hotkey.
|
|
79
|
-
function ____exports.unregisterHotkey(keyboardOrFunc)
|
|
80
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
81
|
-
if isFunction(keyboardOrFunc) then
|
|
79
|
+
function ____exports.unregisterHotkey(self, keyboardOrFunc)
|
|
80
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
81
|
+
if isFunction(nil, keyboardOrFunc) then
|
|
82
82
|
if not dynamicHotkeyFunctionMap:has(keyboardOrFunc) then
|
|
83
83
|
error("Failed to unregister a hotkey since there is no existing hotkey defined for the submitted function.")
|
|
84
84
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roomClearFrame.d.ts","sourceRoot":"","sources":["../../src/features/roomClearFrame.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"roomClearFrame.d.ts","sourceRoot":"","sources":["../../src/features/roomClearFrame.ts"],"names":[],"mappings":";AAqCA;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,GAAG,GAAG,SAAS,CAGvD;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,GAAG,GAAG,SAAS,CAGvD"}
|
|
@@ -8,7 +8,7 @@ local ____featuresInitialized = require("featuresInitialized")
|
|
|
8
8
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
9
9
|
local ____exports = require("features.saveDataManager.exports")
|
|
10
10
|
local saveDataManager = ____exports.saveDataManager
|
|
11
|
-
function postRoomClearChangedTrue()
|
|
11
|
+
function postRoomClearChangedTrue(self)
|
|
12
12
|
local gameFrameCount = game:GetFrameCount()
|
|
13
13
|
local room = game:GetRoom()
|
|
14
14
|
local roomFrameCount = room:GetFrameCount()
|
|
@@ -19,20 +19,20 @@ local FEATURE_NAME = "roomClearFrame"
|
|
|
19
19
|
v = {room = {roomClearGameFrame = nil, roomClearRoomFrame = nil}}
|
|
20
20
|
---
|
|
21
21
|
-- @internal
|
|
22
|
-
function ____exports.roomClearFrameInit(mod)
|
|
23
|
-
saveDataManager(FEATURE_NAME, v)
|
|
22
|
+
function ____exports.roomClearFrameInit(self, mod)
|
|
23
|
+
saveDataManager(nil, FEATURE_NAME, v)
|
|
24
24
|
mod:AddCallbackCustom(ModCallbackCustom.POST_ROOM_CLEAR_CHANGED, postRoomClearChangedTrue, true)
|
|
25
25
|
end
|
|
26
26
|
--- Helper function to get the game frame (i.e. `Game.GetFrameCount`) of the last time that this room
|
|
27
27
|
-- was cleared. Returns undefined if the room has never been cleared.
|
|
28
|
-
function ____exports.getRoomClearGameFrame()
|
|
29
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
28
|
+
function ____exports.getRoomClearGameFrame(self)
|
|
29
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
30
30
|
return v.room.roomClearGameFrame
|
|
31
31
|
end
|
|
32
32
|
--- Helper function to get the room frame (i.e. `Room.GetFrameCount`) of the last time that this room
|
|
33
33
|
-- was cleared. Returns undefined if the room has never been cleared.
|
|
34
|
-
function ____exports.getRoomClearRoomFrame()
|
|
35
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
34
|
+
function ____exports.getRoomClearRoomFrame(self)
|
|
35
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
36
36
|
return v.room.roomClearGameFrame
|
|
37
37
|
end
|
|
38
38
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roomHistory.d.ts","sourceRoot":"","sources":["../../src/features/roomHistory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"roomHistory.d.ts","sourceRoot":"","sources":["../../src/features/roomHistory.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAmDhE;;;GAGG;AACH,wBAAgB,cAAc,IAAI,SAAS,eAAe,EAAE,CAG3D;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,IAAI,eAAe,CAe5D;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,IAAI,eAAe,CAS1D;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,IAAI,OAAO,CASvC"}
|
|
@@ -18,19 +18,19 @@ local getRoomVariant = ____roomData.getRoomVariant
|
|
|
18
18
|
local getRoomVisitedCount = ____roomData.getRoomVisitedCount
|
|
19
19
|
local ____exports = require("features.saveDataManager.exports")
|
|
20
20
|
local saveDataManager = ____exports.saveDataManager
|
|
21
|
-
function postNewRoomEarly()
|
|
21
|
+
function postNewRoomEarly(self)
|
|
22
22
|
local level = game:GetLevel()
|
|
23
23
|
local stage = level:GetStage()
|
|
24
24
|
local stageType = level:GetStageType()
|
|
25
25
|
local room = game:GetRoom()
|
|
26
26
|
local roomType = room:GetType()
|
|
27
|
-
local stageID = getRoomStageID()
|
|
28
|
-
local roomVariant = getRoomVariant()
|
|
29
|
-
local roomSubType = getRoomSubType()
|
|
30
|
-
local roomName = getRoomName()
|
|
31
|
-
local roomGridIndex = getRoomGridIndex()
|
|
32
|
-
local roomListIndex = getRoomListIndex()
|
|
33
|
-
local roomVisitedCount = getRoomVisitedCount()
|
|
27
|
+
local stageID = getRoomStageID(nil)
|
|
28
|
+
local roomVariant = getRoomVariant(nil)
|
|
29
|
+
local roomSubType = getRoomSubType(nil)
|
|
30
|
+
local roomName = getRoomName(nil)
|
|
31
|
+
local roomGridIndex = getRoomGridIndex(nil)
|
|
32
|
+
local roomListIndex = getRoomListIndex(nil)
|
|
33
|
+
local roomVisitedCount = getRoomVisitedCount(nil)
|
|
34
34
|
local roomDescription = {
|
|
35
35
|
stage = stage,
|
|
36
36
|
stageType = stageType,
|
|
@@ -50,21 +50,21 @@ local FEATURE_NAME = "roomHistory"
|
|
|
50
50
|
v = {run = {roomHistory = {}}}
|
|
51
51
|
---
|
|
52
52
|
-- @internal
|
|
53
|
-
function ____exports.roomHistoryInit(mod)
|
|
54
|
-
saveDataManager(FEATURE_NAME, v)
|
|
53
|
+
function ____exports.roomHistoryInit(self, mod)
|
|
54
|
+
saveDataManager(nil, FEATURE_NAME, v)
|
|
55
55
|
mod:AddCallbackCustom(ModCallbackCustom.POST_NEW_ROOM_EARLY, postNewRoomEarly)
|
|
56
56
|
end
|
|
57
57
|
--- Helper function to get information about all of the rooms that a player has visited thus far on
|
|
58
58
|
-- this run.
|
|
59
|
-
function ____exports.getRoomHistory()
|
|
60
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
59
|
+
function ____exports.getRoomHistory(self)
|
|
60
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
61
61
|
return v.run.roomHistory
|
|
62
62
|
end
|
|
63
63
|
--- Helper function to get information about the room that was previously visited.
|
|
64
64
|
--
|
|
65
65
|
-- In the special case of only one room having been visited thus far (i.e. the starting room of the
|
|
66
66
|
-- run), the starting room will be returned.
|
|
67
|
-
function ____exports.getPreviousRoomDescription()
|
|
67
|
+
function ____exports.getPreviousRoomDescription(self)
|
|
68
68
|
local previousRoomDescription = v.run.roomHistory[#v.run.roomHistory - 2 + 1]
|
|
69
69
|
if previousRoomDescription ~= nil then
|
|
70
70
|
return previousRoomDescription
|
|
@@ -79,8 +79,8 @@ end
|
|
|
79
79
|
-- array.
|
|
80
80
|
--
|
|
81
81
|
-- This is useful in the `POST_ENTITY_REMOVE` callback; see the `isLeavingRoom` function.
|
|
82
|
-
function ____exports.getLatestRoomDescription()
|
|
83
|
-
local latestRoomDescription = getLastElement(v.run.roomHistory)
|
|
82
|
+
function ____exports.getLatestRoomDescription(self)
|
|
83
|
+
local latestRoomDescription = getLastElement(nil, v.run.roomHistory)
|
|
84
84
|
if latestRoomDescription == nil then
|
|
85
85
|
error("Failed to get the latest room description since the room history array was empty.")
|
|
86
86
|
end
|
|
@@ -93,10 +93,10 @@ end
|
|
|
93
93
|
--
|
|
94
94
|
-- This function is intended to be used in the `POST_ENTITY_REMOVE` callback to detect when an
|
|
95
95
|
-- entity is pseudo-persistent entity such as a pickup is despawning.
|
|
96
|
-
function ____exports.isLeavingRoom()
|
|
97
|
-
local roomListIndex = getRoomListIndex()
|
|
98
|
-
local roomVisitedCount = getRoomVisitedCount()
|
|
99
|
-
local latestRoomDescription = ____exports.getLatestRoomDescription()
|
|
96
|
+
function ____exports.isLeavingRoom(self)
|
|
97
|
+
local roomListIndex = getRoomListIndex(nil)
|
|
98
|
+
local roomVisitedCount = getRoomVisitedCount(nil)
|
|
99
|
+
local latestRoomDescription = ____exports.getLatestRoomDescription(nil)
|
|
100
100
|
return roomListIndex ~= latestRoomDescription.roomListIndex or roomVisitedCount ~= latestRoomDescription.roomVisitedCount
|
|
101
101
|
end
|
|
102
102
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runInNFrames.d.ts","sourceRoot":"","sources":["../../src/features/runInNFrames.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runInNFrames.d.ts","sourceRoot":"","sources":["../../src/features/runInNFrames.ts"],"names":[],"mappings":";AA0GA;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,IAAI,EAAE,UAAU,EAAE,GAAG,GAAG,IAAI,CAOxE;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,IAAI,EAAE,YAAY,EAAE,GAAG,GAAG,IAAI,CAO5E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAGvD;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAGzD;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,OAAO,EACnB,UAAU,EAAE,GAAG,EACf,cAAc,EAAE,OAAO,GACtB,IAAI,CAWN;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,MAAM,OAAO,EACnB,YAAY,EAAE,GAAG,EACjB,cAAc,EAAE,OAAO,GACtB,IAAI,CAWN"}
|
|
@@ -12,17 +12,17 @@ local ____array = require("functions.array")
|
|
|
12
12
|
local arrayRemoveInPlace = ____array.arrayRemoveInPlace
|
|
13
13
|
local ____exports = require("features.saveDataManager.exports")
|
|
14
14
|
local saveDataManager = ____exports.saveDataManager
|
|
15
|
-
function postUpdate()
|
|
15
|
+
function postUpdate(self)
|
|
16
16
|
local gameFrameCount = game:GetFrameCount()
|
|
17
|
-
checkExecuteQueuedFunctions(gameFrameCount, v.run.queuedGameFunctionTuples)
|
|
18
|
-
checkExecuteIntervalFunctions(gameFrameCount, v.run.intervalGameFunctionTuples)
|
|
17
|
+
checkExecuteQueuedFunctions(nil, gameFrameCount, v.run.queuedGameFunctionTuples)
|
|
18
|
+
checkExecuteIntervalFunctions(nil, gameFrameCount, v.run.intervalGameFunctionTuples)
|
|
19
19
|
end
|
|
20
|
-
function postRender()
|
|
20
|
+
function postRender(self)
|
|
21
21
|
local renderFrameCount = Isaac.GetFrameCount()
|
|
22
|
-
checkExecuteQueuedFunctions(renderFrameCount, v.run.queuedRenderFunctionTuples)
|
|
23
|
-
checkExecuteIntervalFunctions(renderFrameCount, v.run.intervalRenderFunctionTuples)
|
|
22
|
+
checkExecuteQueuedFunctions(nil, renderFrameCount, v.run.queuedRenderFunctionTuples)
|
|
23
|
+
checkExecuteIntervalFunctions(nil, renderFrameCount, v.run.intervalRenderFunctionTuples)
|
|
24
24
|
end
|
|
25
|
-
function checkExecuteQueuedFunctions(frameCount, functionTuples)
|
|
25
|
+
function checkExecuteQueuedFunctions(self, frameCount, functionTuples)
|
|
26
26
|
local firingFunctions = __TS__ArrayFilter(
|
|
27
27
|
functionTuples,
|
|
28
28
|
function(____, ____bindingPattern0)
|
|
@@ -33,11 +33,11 @@ function checkExecuteQueuedFunctions(frameCount, functionTuples)
|
|
|
33
33
|
)
|
|
34
34
|
for ____, tuple in ipairs(firingFunctions) do
|
|
35
35
|
local _frameCountToFire, func = table.unpack(tuple)
|
|
36
|
-
func()
|
|
37
|
-
arrayRemoveInPlace(functionTuples, tuple)
|
|
36
|
+
func(nil)
|
|
37
|
+
arrayRemoveInPlace(nil, functionTuples, tuple)
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
|
-
function checkExecuteIntervalFunctions(frameCount, functionTuples)
|
|
40
|
+
function checkExecuteIntervalFunctions(self, frameCount, functionTuples)
|
|
41
41
|
local firingFunctions = __TS__ArrayFilter(
|
|
42
42
|
functionTuples,
|
|
43
43
|
function(____, ____bindingPattern0)
|
|
@@ -48,8 +48,8 @@ function checkExecuteIntervalFunctions(frameCount, functionTuples)
|
|
|
48
48
|
)
|
|
49
49
|
for ____, tuple in ipairs(firingFunctions) do
|
|
50
50
|
local _frameCountToFire, func, numIntervalFrames = table.unpack(tuple)
|
|
51
|
-
local returnValue = func()
|
|
52
|
-
arrayRemoveInPlace(functionTuples, tuple)
|
|
51
|
+
local returnValue = func(nil)
|
|
52
|
+
arrayRemoveInPlace(nil, functionTuples, tuple)
|
|
53
53
|
if returnValue then
|
|
54
54
|
local nextFireFrame = frameCount + numIntervalFrames
|
|
55
55
|
local newTuple = {nextFireFrame, func, numIntervalFrames}
|
|
@@ -61,8 +61,8 @@ local FEATURE_NAME = "runInNFrames"
|
|
|
61
61
|
v = {run = {queuedGameFunctionTuples = {}, queuedRenderFunctionTuples = {}, intervalGameFunctionTuples = {}, intervalRenderFunctionTuples = {}}}
|
|
62
62
|
---
|
|
63
63
|
-- @internal
|
|
64
|
-
function ____exports.runInNFramesInit(mod)
|
|
65
|
-
saveDataManager(FEATURE_NAME, v, false)
|
|
64
|
+
function ____exports.runInNFramesInit(self, mod)
|
|
65
|
+
saveDataManager(nil, FEATURE_NAME, v, false)
|
|
66
66
|
mod:AddCallback(ModCallback.POST_UPDATE, postUpdate)
|
|
67
67
|
mod:AddCallback(ModCallback.POST_RENDER, postRender)
|
|
68
68
|
end
|
|
@@ -74,8 +74,8 @@ end
|
|
|
74
74
|
-- Note that this function will not handle saving and quitting. If a player saving and quitting
|
|
75
75
|
-- before the deferred function fires would cause a bug in your mod, then you should handle deferred
|
|
76
76
|
-- functions manually using serializable data.
|
|
77
|
-
function ____exports.runInNGameFrames(func, gameFrames)
|
|
78
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
77
|
+
function ____exports.runInNGameFrames(self, func, gameFrames)
|
|
78
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
79
79
|
local gameFrameCount = game:GetFrameCount()
|
|
80
80
|
local functionFireFrame = gameFrameCount + gameFrames
|
|
81
81
|
local tuple = {functionFireFrame, func}
|
|
@@ -90,8 +90,8 @@ end
|
|
|
90
90
|
-- Note that this function will not handle saving and quitting. If a player saving and quitting
|
|
91
91
|
-- before the deferred function fires would cause a bug in your mod, then you should handle deferred
|
|
92
92
|
-- functions manually using serializable data.
|
|
93
|
-
function ____exports.runInNRenderFrames(func, renderFrames)
|
|
94
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
93
|
+
function ____exports.runInNRenderFrames(self, func, renderFrames)
|
|
94
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
95
95
|
local renderFrameCount = Isaac.GetFrameCount()
|
|
96
96
|
local functionFireFrame = renderFrameCount + renderFrames
|
|
97
97
|
local tuple = {functionFireFrame, func}
|
|
@@ -124,9 +124,9 @@ end
|
|
|
124
124
|
-- Note that this function will not handle saving and quitting. If a player saving and quitting
|
|
125
125
|
-- before the deferred function fires would cause a bug in your mod, then you should handle deferred
|
|
126
126
|
-- functions manually using serializable data.
|
|
127
|
-
function ____exports.runNextGameFrame(func)
|
|
128
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
129
|
-
____exports.runInNGameFrames(func, 1)
|
|
127
|
+
function ____exports.runNextGameFrame(self, func)
|
|
128
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
129
|
+
____exports.runInNGameFrames(nil, func, 1)
|
|
130
130
|
end
|
|
131
131
|
--- Supply a function to run on the next `POST_RENDER` callback.
|
|
132
132
|
--
|
|
@@ -134,9 +134,9 @@ end
|
|
|
134
134
|
-- way.
|
|
135
135
|
--
|
|
136
136
|
-- Note that this function will not handle saving and quitting.
|
|
137
|
-
function ____exports.runNextRenderFrame(func)
|
|
138
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
139
|
-
____exports.runInNRenderFrames(func, 1)
|
|
137
|
+
function ____exports.runNextRenderFrame(self, func)
|
|
138
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
139
|
+
____exports.runInNRenderFrames(nil, func, 1)
|
|
140
140
|
end
|
|
141
141
|
--- Supply a function to be repeatedly run on an interval of N game frames in the `POST_UPDATE`
|
|
142
142
|
-- callback. The function will continue to be fired until `false` is returned from the function.
|
|
@@ -152,15 +152,15 @@ end
|
|
|
152
152
|
-- @param gameFrames The amount of game frames to wait between each run.
|
|
153
153
|
-- @param runImmediately Whether or not to execute the function right now before waiting for the
|
|
154
154
|
-- interval.
|
|
155
|
-
function ____exports.setIntervalGameFrames(func, gameFrames, runImmediately)
|
|
156
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
155
|
+
function ____exports.setIntervalGameFrames(self, func, gameFrames, runImmediately)
|
|
156
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
157
157
|
local gameFrameCount = game:GetFrameCount()
|
|
158
158
|
local functionFireFrame = gameFrameCount + gameFrames
|
|
159
159
|
local tuple = {functionFireFrame, func, gameFrames}
|
|
160
160
|
local ____v_run_intervalGameFunctionTuples_2 = v.run.intervalGameFunctionTuples
|
|
161
161
|
____v_run_intervalGameFunctionTuples_2[#____v_run_intervalGameFunctionTuples_2 + 1] = tuple
|
|
162
162
|
if runImmediately then
|
|
163
|
-
func()
|
|
163
|
+
func(nil)
|
|
164
164
|
end
|
|
165
165
|
end
|
|
166
166
|
--- Supply a function to be repeatedly run on an interval of N render frames in the `POST_RENDER`
|
|
@@ -177,15 +177,15 @@ end
|
|
|
177
177
|
-- @param renderFrames The amount of game frames to wait between each run.
|
|
178
178
|
-- @param runImmediately Whether or not to execute the function right now before waiting for the
|
|
179
179
|
-- interval.
|
|
180
|
-
function ____exports.setIntervalRenderFrames(func, renderFrames, runImmediately)
|
|
181
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
180
|
+
function ____exports.setIntervalRenderFrames(self, func, renderFrames, runImmediately)
|
|
181
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
182
182
|
local renderFrameCount = Isaac.GetFrameCount()
|
|
183
183
|
local functionFireFrame = renderFrameCount + renderFrames
|
|
184
184
|
local tuple = {functionFireFrame, func, renderFrames}
|
|
185
185
|
local ____v_run_intervalGameFunctionTuples_3 = v.run.intervalGameFunctionTuples
|
|
186
186
|
____v_run_intervalGameFunctionTuples_3[#____v_run_intervalGameFunctionTuples_3 + 1] = tuple
|
|
187
187
|
if runImmediately then
|
|
188
|
-
func()
|
|
188
|
+
func(nil)
|
|
189
189
|
end
|
|
190
190
|
end
|
|
191
191
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runNextRoom.d.ts","sourceRoot":"","sources":["../../src/features/runNextRoom.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runNextRoom.d.ts","sourceRoot":"","sources":["../../src/features/runNextRoom.ts"],"names":[],"mappings":"AAiCA;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAGlD"}
|
|
@@ -8,18 +8,18 @@ local ____array = require("functions.array")
|
|
|
8
8
|
local emptyArray = ____array.emptyArray
|
|
9
9
|
local ____exports = require("features.saveDataManager.exports")
|
|
10
10
|
local saveDataManager = ____exports.saveDataManager
|
|
11
|
-
function postNewRoomReordered()
|
|
11
|
+
function postNewRoomReordered(self)
|
|
12
12
|
for ____, func in ipairs(v.run.queuedFunctions) do
|
|
13
|
-
func()
|
|
13
|
+
func(nil)
|
|
14
14
|
end
|
|
15
|
-
emptyArray(v.run.queuedFunctions)
|
|
15
|
+
emptyArray(nil, v.run.queuedFunctions)
|
|
16
16
|
end
|
|
17
17
|
local FEATURE_NAME = "runNextRoom"
|
|
18
18
|
v = {run = {queuedFunctions = {}}}
|
|
19
19
|
---
|
|
20
20
|
-- @internal
|
|
21
|
-
function ____exports.runNextRoomInit(mod)
|
|
22
|
-
saveDataManager(FEATURE_NAME, v, false)
|
|
21
|
+
function ____exports.runNextRoomInit(self, mod)
|
|
22
|
+
saveDataManager(nil, FEATURE_NAME, v, false)
|
|
23
23
|
mod:AddCallbackCustom(ModCallbackCustom.POST_NEW_ROOM_REORDERED, postNewRoomReordered)
|
|
24
24
|
end
|
|
25
25
|
--- Supply a function to run on the next `POST_NEW_ROOM` callback.
|
|
@@ -27,8 +27,8 @@ end
|
|
|
27
27
|
-- Note that this function will not handle saving and quitting. If a player saving and quitting
|
|
28
28
|
-- before the deferred function fires would cause a bug in your mod, then you should handle deferred
|
|
29
29
|
-- functions manually using serializable data.
|
|
30
|
-
function ____exports.runNextRoom(func)
|
|
31
|
-
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
30
|
+
function ____exports.runNextRoom(self, func)
|
|
31
|
+
errorIfFeaturesNotInitialized(nil, FEATURE_NAME)
|
|
32
32
|
local ____v_run_queuedFunctions_0 = v.run.queuedFunctions
|
|
33
33
|
____v_run_queuedFunctions_0[#____v_run_queuedFunctions_0 + 1] = func
|
|
34
34
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/exports.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/exports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAKtD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAarD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,EACpD,GAAG,EAAE,MAAM,EAAE,qEAAqE;AAClF,CAAC,EAAE,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,CAAC,EACnC,eAAe,CAAC,EAAE,MAAM,OAAO,GAC9B,IAAI,CAAC;AACR,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EAAE,kEAAkE;AAC/E,CAAC,EAAE,QAAQ,EACX,eAAe,EAAE,KAAK,GACrB,IAAI,CAAC;AA+CR;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAQD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CAK/C;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,WAAW,GAC1B,IAAI,CAiBN"}
|
|
@@ -108,9 +108,9 @@ local SAVE_DATA_MANAGER_FEATURE_NAME = ____saveDataManagerConstants.SAVE_DATA_MA
|
|
|
108
108
|
-- argument in order to completely disable saving data. (Specifying `false`
|
|
109
109
|
-- will allow you to use non-serializable objects in your save data, such as
|
|
110
110
|
-- `EntityPtr`.
|
|
111
|
-
function ____exports.saveDataManager(key, v, conditionalFunc)
|
|
112
|
-
errorIfFeaturesNotInitialized(SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
113
|
-
if not isString(key) then
|
|
111
|
+
function ____exports.saveDataManager(self, key, v, conditionalFunc)
|
|
112
|
+
errorIfFeaturesNotInitialized(nil, SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
113
|
+
if not isString(nil, key) then
|
|
114
114
|
error((("The " .. SAVE_DATA_MANAGER_FEATURE_NAME) .. " requires that keys are strings. You tried to use a key of type: ") .. __TS__TypeOf(key))
|
|
115
115
|
end
|
|
116
116
|
if saveDataMap[key] ~= nil then
|
|
@@ -124,7 +124,7 @@ function ____exports.saveDataManager(key, v, conditionalFunc)
|
|
|
124
124
|
if #saveDataKeys == 1 and saveDataKeys[1] == "room" then
|
|
125
125
|
conditionalFunc = function() return false end
|
|
126
126
|
end
|
|
127
|
-
local saveDataCopy = deepCopy(v, SerializationType.NONE, key)
|
|
127
|
+
local saveDataCopy = deepCopy(nil, v, SerializationType.NONE, key)
|
|
128
128
|
saveDataDefaultsMap[key] = saveDataCopy
|
|
129
129
|
if conditionalFunc ~= nil then
|
|
130
130
|
saveDataConditionalFuncMap[key] = conditionalFunc
|
|
@@ -136,24 +136,24 @@ end
|
|
|
136
136
|
--
|
|
137
137
|
-- Obviously, doing this will overwrite the current data, so using this function can potentially
|
|
138
138
|
-- result in lost state.
|
|
139
|
-
function ____exports.saveDataManagerLoad()
|
|
140
|
-
errorIfFeaturesNotInitialized(SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
141
|
-
forceSaveDataManagerLoad()
|
|
139
|
+
function ____exports.saveDataManagerLoad(self)
|
|
140
|
+
errorIfFeaturesNotInitialized(nil, SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
141
|
+
forceSaveDataManagerLoad(nil)
|
|
142
142
|
end
|
|
143
143
|
--- The save data manager will automatically save variables to disk at the appropriate times (i.e.
|
|
144
144
|
-- when the run is exited). Use this function to explicitly force the save data manager to write all
|
|
145
145
|
-- of its variables to disk immediately.
|
|
146
|
-
function ____exports.saveDataManagerSave()
|
|
147
|
-
errorIfFeaturesNotInitialized(SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
148
|
-
forceSaveDataManagerSave()
|
|
146
|
+
function ____exports.saveDataManagerSave(self)
|
|
147
|
+
errorIfFeaturesNotInitialized(nil, SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
148
|
+
forceSaveDataManagerSave(nil)
|
|
149
149
|
end
|
|
150
150
|
--- - Sets the global variable of "g" equal to all of the save data variables for this mod.
|
|
151
151
|
-- - Sets the global variable of "gd" equal to all of the save data default variables for this mod.
|
|
152
152
|
--
|
|
153
153
|
-- This can make debugging easier, as you can access the variables from the game's debug console.
|
|
154
154
|
-- e.g. `l print(g.feature1.foo)`
|
|
155
|
-
function ____exports.saveDataManagerSetGlobal()
|
|
156
|
-
errorIfFeaturesNotInitialized(SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
155
|
+
function ____exports.saveDataManagerSetGlobal(self)
|
|
156
|
+
errorIfFeaturesNotInitialized(nil, SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
157
157
|
g = saveDataMap
|
|
158
158
|
gd = saveDataDefaultsMap
|
|
159
159
|
end
|
|
@@ -175,15 +175,15 @@ end
|
|
|
175
175
|
-- // Then, later on, to explicit reset all of the "room" variables:
|
|
176
176
|
-- saveDataManagerReset("file1", "room");
|
|
177
177
|
-- ```
|
|
178
|
-
function ____exports.saveDataManagerReset(key, childObjectKey)
|
|
179
|
-
errorIfFeaturesNotInitialized(SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
180
|
-
if not isString(key) then
|
|
178
|
+
function ____exports.saveDataManagerReset(self, key, childObjectKey)
|
|
179
|
+
errorIfFeaturesNotInitialized(nil, SAVE_DATA_MANAGER_FEATURE_NAME)
|
|
180
|
+
if not isString(nil, key) then
|
|
181
181
|
error((("The " .. SAVE_DATA_MANAGER_FEATURE_NAME) .. " requires that keys are strings. You tried to use a key of type: ") .. __TS__TypeOf(key))
|
|
182
182
|
end
|
|
183
183
|
local saveData = saveDataMap[key]
|
|
184
184
|
if saveData == nil then
|
|
185
185
|
error((("The " .. SAVE_DATA_MANAGER_FEATURE_NAME) .. " is not managing save data for a key of: ") .. key)
|
|
186
186
|
end
|
|
187
|
-
restoreDefaultSaveData(key, saveData, childObjectKey)
|
|
187
|
+
restoreDefaultSaveData(nil, key, saveData, childObjectKey)
|
|
188
188
|
end
|
|
189
189
|
return ____exports
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
/// <reference types="typescript-to-lua/language-extensions" />
|
|
3
|
-
/** @noSelfInFile */
|
|
4
3
|
import { SaveData } from "../../interfaces/SaveData";
|
|
5
4
|
export declare function loadFromDisk(mod: Mod, oldSaveData: LuaMap<string, SaveData>): void;
|
|
6
5
|
//# sourceMappingURL=load.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/load.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/load.ts"],"names":[],"mappings":";;AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AASrD,wBAAgB,YAAY,CAC1B,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,GACpC,IAAI,CAqDN"}
|
|
@@ -17,11 +17,14 @@ local merge = ____merge.merge
|
|
|
17
17
|
local ____saveDataManagerConstants = require("features.saveDataManager.saveDataManagerConstants")
|
|
18
18
|
local SAVE_DATA_MANAGER_DEBUG = ____saveDataManagerConstants.SAVE_DATA_MANAGER_DEBUG
|
|
19
19
|
local SAVE_DATA_MANAGER_FEATURE_NAME = ____saveDataManagerConstants.SAVE_DATA_MANAGER_FEATURE_NAME
|
|
20
|
-
function readSaveDatFile(mod)
|
|
20
|
+
function readSaveDatFile(self, mod)
|
|
21
21
|
local renderFrameCount = Isaac.GetFrameCount()
|
|
22
22
|
local ok, jsonStringOrErrMsg = pcall(tryLoadModData, mod)
|
|
23
23
|
if not ok then
|
|
24
|
-
logError(
|
|
24
|
+
logError(
|
|
25
|
+
nil,
|
|
26
|
+
(("Failed to read from the \"save#.dat\" file on render frame " .. tostring(renderFrameCount)) .. ": ") .. jsonStringOrErrMsg
|
|
27
|
+
)
|
|
25
28
|
return DEFAULT_MOD_DATA
|
|
26
29
|
end
|
|
27
30
|
if jsonStringOrErrMsg == nil then
|
|
@@ -37,22 +40,23 @@ function tryLoadModData(mod)
|
|
|
37
40
|
return mod:LoadData()
|
|
38
41
|
end
|
|
39
42
|
DEFAULT_MOD_DATA = "{}"
|
|
40
|
-
function ____exports.loadFromDisk(mod, oldSaveData)
|
|
43
|
+
function ____exports.loadFromDisk(self, mod, oldSaveData)
|
|
41
44
|
if not mod:HasData() then
|
|
42
45
|
return
|
|
43
46
|
end
|
|
44
|
-
local jsonString = readSaveDatFile(mod)
|
|
45
|
-
local newSaveData = jsonDecode(jsonString)
|
|
47
|
+
local jsonString = readSaveDatFile(nil, mod)
|
|
48
|
+
local newSaveData = jsonDecode(nil, jsonString)
|
|
46
49
|
if SAVE_DATA_MANAGER_DEBUG then
|
|
47
|
-
log("Converted data from the \"save#.dat\" to a Lua table.")
|
|
50
|
+
log(nil, "Converted data from the \"save#.dat\" to a Lua table.")
|
|
48
51
|
end
|
|
49
52
|
iterateTableInOrder(
|
|
53
|
+
nil,
|
|
50
54
|
newSaveData,
|
|
51
|
-
function(key, value)
|
|
52
|
-
if not isString(key) then
|
|
55
|
+
function(____, key, value)
|
|
56
|
+
if not isString(nil, key) then
|
|
53
57
|
return
|
|
54
58
|
end
|
|
55
|
-
if not isTable(value) then
|
|
59
|
+
if not isTable(nil, value) then
|
|
56
60
|
return
|
|
57
61
|
end
|
|
58
62
|
local oldSaveDataForSubscriber = oldSaveData[key]
|
|
@@ -60,12 +64,12 @@ function ____exports.loadFromDisk(mod, oldSaveData)
|
|
|
60
64
|
return
|
|
61
65
|
end
|
|
62
66
|
if SAVE_DATA_MANAGER_DEBUG then
|
|
63
|
-
log("Merging in stored data for feature: " .. key)
|
|
67
|
+
log(nil, "Merging in stored data for feature: " .. key)
|
|
64
68
|
end
|
|
65
|
-
merge(oldSaveDataForSubscriber, value, key)
|
|
69
|
+
merge(nil, oldSaveDataForSubscriber, value, key)
|
|
66
70
|
end,
|
|
67
71
|
SAVE_DATA_MANAGER_DEBUG
|
|
68
72
|
)
|
|
69
|
-
log(("The " .. SAVE_DATA_MANAGER_FEATURE_NAME) .. " loaded data from the \"save#.dat\" file.")
|
|
73
|
+
log(nil, ("The " .. SAVE_DATA_MANAGER_FEATURE_NAME) .. " loaded data from the \"save#.dat\" file.")
|
|
70
74
|
end
|
|
71
75
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/main.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/main.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAGxD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAMtD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAsBrD,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAUlE;AAqFD,wBAAgB,sBAAsB,CACpC,cAAc,EAAE,MAAM,EACtB,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,GACvB,IAAI,CA4CN;AAiBD,wBAAgB,wBAAwB,IAAI,IAAI,CAM/C;AAED,wBAAgB,wBAAwB,IAAI,IAAI,CAM/C"}
|