isaacscript-common 9.13.4 → 9.13.5-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/callbacks/customRevive.d.ts +1 -0
- package/dist/callbacks/customRevive.d.ts.map +1 -1
- package/dist/callbacks/customRevive.lua +39 -45
- package/dist/callbacks/itemPickup.d.ts +1 -0
- package/dist/callbacks/itemPickup.d.ts.map +1 -1
- package/dist/callbacks/itemPickup.lua +16 -16
- package/dist/callbacks/postAmbush.d.ts +1 -0
- package/dist/callbacks/postAmbush.d.ts.map +1 -1
- package/dist/callbacks/postAmbush.lua +12 -12
- package/dist/callbacks/postBombExploded.d.ts +1 -0
- package/dist/callbacks/postBombExploded.d.ts.map +1 -1
- package/dist/callbacks/postBombExploded.lua +6 -6
- package/dist/callbacks/postBombInitLate.d.ts +1 -0
- package/dist/callbacks/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/postBombInitLate.lua +7 -7
- package/dist/callbacks/postBoneSwing.d.ts +1 -0
- package/dist/callbacks/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/postBoneSwing.lua +11 -11
- package/dist/callbacks/postCollectibleEmpty.d.ts +1 -0
- package/dist/callbacks/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleEmpty.lua +6 -6
- package/dist/callbacks/postCollectibleInitFirst.d.ts +1 -0
- package/dist/callbacks/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleInitFirst.lua +7 -7
- package/dist/callbacks/postCursedTeleport.d.ts +1 -0
- package/dist/callbacks/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/postCursedTeleport.lua +24 -24
- package/dist/callbacks/postCustomDoorEnter.d.ts +1 -0
- package/dist/callbacks/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/postCustomDoorEnter.lua +28 -34
- package/dist/callbacks/postDiceRoomActivated.d.ts +1 -0
- package/dist/callbacks/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/postDiceRoomActivated.lua +9 -9
- package/dist/callbacks/postDoorRender.d.ts +1 -0
- package/dist/callbacks/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/postDoorRender.lua +7 -7
- package/dist/callbacks/postDoorUpdate.d.ts +1 -0
- package/dist/callbacks/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/postDoorUpdate.lua +7 -7
- package/dist/callbacks/postEffectInitLate.d.ts +1 -0
- package/dist/callbacks/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/postEffectInitLate.lua +7 -7
- package/dist/callbacks/postEffectStateChanged.d.ts +1 -0
- package/dist/callbacks/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postEffectStateChanged.lua +8 -8
- package/dist/callbacks/postEsauJr.d.ts +1 -0
- package/dist/callbacks/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/postEsauJr.lua +11 -11
- package/dist/callbacks/postFamiliarInitLate.d.ts +1 -0
- package/dist/callbacks/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarInitLate.lua +7 -7
- package/dist/callbacks/postFamiliarStateChanged.d.ts +1 -0
- package/dist/callbacks/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarStateChanged.lua +8 -8
- package/dist/callbacks/postFlip.d.ts +1 -0
- package/dist/callbacks/postFlip.d.ts.map +1 -1
- package/dist/callbacks/postFlip.lua +12 -12
- package/dist/callbacks/postGreedModeWave.d.ts +1 -0
- package/dist/callbacks/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/postGreedModeWave.lua +7 -7
- package/dist/callbacks/postGridEntity.d.ts +1 -0
- package/dist/callbacks/postGridEntity.d.ts.map +1 -1
- package/dist/callbacks/postGridEntity.lua +35 -41
- package/dist/callbacks/postGridEntityCollision.d.ts +1 -0
- package/dist/callbacks/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomCollision.d.ts +1 -0
- package/dist/callbacks/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomRender.d.ts +1 -0
- package/dist/callbacks/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomRender.lua +7 -7
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts +1 -0
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomUpdate.lua +7 -7
- package/dist/callbacks/postGridEntityRender.d.ts +1 -0
- package/dist/callbacks/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityRender.lua +7 -7
- package/dist/callbacks/postHolyMantleRemoved.d.ts +1 -0
- package/dist/callbacks/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/postHolyMantleRemoved.lua +9 -9
- package/dist/callbacks/postItemDischarged.d.ts +1 -0
- package/dist/callbacks/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/postItemDischarged.lua +18 -18
- package/dist/callbacks/postKnifeInitLate.d.ts +1 -0
- package/dist/callbacks/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/postKnifeInitLate.lua +7 -7
- package/dist/callbacks/postLaserInitLate.d.ts +1 -0
- package/dist/callbacks/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/postLaserInitLate.lua +7 -7
- package/dist/callbacks/postNPCInitLate.d.ts +1 -0
- package/dist/callbacks/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/postNPCInitLate.lua +7 -7
- package/dist/callbacks/postNPCStateChanged.d.ts +1 -0
- package/dist/callbacks/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postNPCStateChanged.lua +8 -8
- package/dist/callbacks/postNewRoomEarly.d.ts +1 -0
- package/dist/callbacks/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/postNewRoomEarly.lua +16 -16
- package/dist/callbacks/postPickupCollect.d.ts +1 -0
- package/dist/callbacks/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/postPickupCollect.lua +8 -8
- package/dist/callbacks/postPickupInitFirst.d.ts +1 -0
- package/dist/callbacks/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitFirst.lua +8 -8
- package/dist/callbacks/postPickupInitLate.d.ts +1 -0
- package/dist/callbacks/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitLate.lua +7 -7
- package/dist/callbacks/postPickupStateChanged.d.ts +1 -0
- package/dist/callbacks/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postPickupStateChanged.lua +8 -8
- package/dist/callbacks/postPitRender.d.ts +1 -0
- package/dist/callbacks/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/postPitRender.lua +7 -7
- package/dist/callbacks/postPitUpdate.d.ts +1 -0
- package/dist/callbacks/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPitUpdate.lua +7 -7
- package/dist/callbacks/postPlayerChangeHealth.d.ts +1 -0
- package/dist/callbacks/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeHealth.lua +9 -10
- package/dist/callbacks/postPlayerChangeStat.d.ts +1 -0
- package/dist/callbacks/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeStat.lua +19 -20
- package/dist/callbacks/postPlayerChangeType.d.ts +1 -0
- package/dist/callbacks/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeType.lua +10 -10
- package/dist/callbacks/postPlayerCollectible.d.ts +1 -0
- package/dist/callbacks/postPlayerCollectible.d.ts.map +1 -1
- package/dist/callbacks/postPlayerCollectible.lua +36 -40
- package/dist/callbacks/postPlayerFatalDamage.d.ts +1 -0
- package/dist/callbacks/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/postPlayerFatalDamage.lua +14 -22
- package/dist/callbacks/postPlayerInitFirst.d.ts +1 -0
- package/dist/callbacks/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitFirst.lua +12 -12
- package/dist/callbacks/postPlayerInitLate.d.ts +1 -0
- package/dist/callbacks/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitLate.lua +9 -9
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts +1 -0
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.lua +25 -25
- package/dist/callbacks/postPoopRender.d.ts +1 -0
- package/dist/callbacks/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/postPoopRender.lua +7 -7
- package/dist/callbacks/postPoopUpdate.d.ts +1 -0
- package/dist/callbacks/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPoopUpdate.lua +7 -7
- package/dist/callbacks/postPressurePlateRender.d.ts +1 -0
- package/dist/callbacks/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateRender.lua +7 -7
- package/dist/callbacks/postPressurePlateUpdate.d.ts +1 -0
- package/dist/callbacks/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateUpdate.lua +7 -7
- package/dist/callbacks/postProjectileInitLate.d.ts +1 -0
- package/dist/callbacks/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/postProjectileInitLate.lua +7 -7
- package/dist/callbacks/postPurchase.d.ts +1 -0
- package/dist/callbacks/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/postPurchase.lua +12 -12
- package/dist/callbacks/postRockRender.d.ts +1 -0
- package/dist/callbacks/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/postRockRender.lua +7 -7
- package/dist/callbacks/postRockUpdate.d.ts +1 -0
- package/dist/callbacks/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/postRockUpdate.lua +7 -7
- package/dist/callbacks/postRoomClearChanged.d.ts +1 -0
- package/dist/callbacks/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/postRoomClearChanged.lua +9 -9
- package/dist/callbacks/postSacrifice.d.ts +1 -0
- package/dist/callbacks/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/postSacrifice.lua +8 -8
- package/dist/callbacks/postSlotCollision.d.ts +1 -0
- package/dist/callbacks/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/postSlotCollision.lua +7 -7
- package/dist/callbacks/postSlotDestroyed.d.ts +1 -0
- package/dist/callbacks/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/postSlotDestroyed.lua +8 -8
- package/dist/callbacks/postSlotInitUpdate.d.ts +1 -0
- package/dist/callbacks/postSlotInitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSlotInitUpdate.lua +15 -15
- package/dist/callbacks/postSlotRender.d.ts +1 -0
- package/dist/callbacks/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/postSlotRender.lua +12 -12
- package/dist/callbacks/postSpikesRender.d.ts +1 -0
- package/dist/callbacks/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/postSpikesRender.lua +7 -7
- package/dist/callbacks/postSpikesUpdate.d.ts +1 -0
- package/dist/callbacks/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSpikesUpdate.lua +7 -7
- package/dist/callbacks/postTNTRender.d.ts +1 -0
- package/dist/callbacks/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/postTNTRender.lua +7 -7
- package/dist/callbacks/postTNTUpdate.d.ts +1 -0
- package/dist/callbacks/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/postTNTUpdate.lua +7 -7
- package/dist/callbacks/postTearInitLate.d.ts +1 -0
- package/dist/callbacks/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitLate.lua +7 -7
- package/dist/callbacks/postTearInitVeryLate.d.ts +1 -0
- package/dist/callbacks/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitVeryLate.lua +7 -7
- package/dist/callbacks/postTransformation.d.ts +1 -0
- package/dist/callbacks/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/postTransformation.lua +9 -9
- package/dist/callbacks/postTrinketBreak.d.ts +1 -0
- package/dist/callbacks/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/postTrinketBreak.lua +11 -11
- package/dist/callbacks/preBerserkDeath.d.ts +1 -0
- package/dist/callbacks/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/preBerserkDeath.lua +9 -9
- package/dist/callbacks/preNewLevel.d.ts +1 -0
- package/dist/callbacks/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/preNewLevel.lua +8 -8
- package/dist/callbacks/reorderedCallbacks.d.ts +1 -0
- package/dist/callbacks/reorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/reorderedCallbacks.lua +26 -26
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts +1 -0
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postAmbushFinished.lua +4 -4
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts +1 -0
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postAmbushStarted.lua +4 -4
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBombInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts +1 -0
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBoneExploded.lua +4 -4
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts +1 -0
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBoneSwing.lua +4 -4
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts +1 -0
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCollectibleEmpty.lua +4 -4
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +1 -0
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +1 -0
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +4 -4
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +1 -0
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +4 -10
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +1 -0
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomRevive.lua +4 -4
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts +1 -0
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDiceRoomActivated.lua +4 -4
- package/dist/callbacks/subscriptions/postDoorRender.d.ts +1 -0
- package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorRender.lua +4 -4
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts +1 -0
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEffectStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postEsauJr.d.ts +1 -0
- package/dist/callbacks/subscriptions/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEsauJr.lua +4 -4
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts +1 -0
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +1 -0
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +4 -4
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts +1 -0
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFirstFlip.lua +4 -4
- package/dist/callbacks/subscriptions/postFlip.d.ts +1 -0
- package/dist/callbacks/subscriptions/postFlip.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFlip.lua +4 -4
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.lua +4 -4
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGreedModeWave.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityBroken.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.lua +4 -10
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityRender.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts +1 -0
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.lua +4 -4
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts +1 -0
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postItemDischarged.lua +4 -4
- package/dist/callbacks/subscriptions/postItemPickup.d.ts +1 -0
- package/dist/callbacks/subscriptions/postItemPickup.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postItemPickup.lua +4 -4
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts +1 -0
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNPCStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +1 -0
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +1 -0
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +4 -4
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +1 -0
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupCollect.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postPitRender.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +3 -4
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.lua +3 -4
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +3 -4
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPoopRender.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPurchase.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPurchase.lua +4 -4
- package/dist/callbacks/subscriptions/postRockRender.d.ts +1 -0
- package/dist/callbacks/subscriptions/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRockRender.lua +4 -4
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRockUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts +1 -0
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRoomClearChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postSacrifice.d.ts +1 -0
- package/dist/callbacks/subscriptions/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSacrifice.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts +1 -0
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotCollision.d.ts +1 -0
- package/dist/callbacks/subscriptions/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +1 -0
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotInit.d.ts +1 -0
- package/dist/callbacks/subscriptions/postSlotInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotInit.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotRender.d.ts +1 -0
- package/dist/callbacks/subscriptions/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotRender.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts +1 -0
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSpikesRender.lua +4 -4
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSpikesUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postTNTRender.d.ts +1 -0
- package/dist/callbacks/subscriptions/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTNTRender.lua +4 -4
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTNTUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTearInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts +1 -0
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +4 -4
- package/dist/callbacks/subscriptions/postTransformation.d.ts +1 -0
- package/dist/callbacks/subscriptions/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTransformation.lua +4 -4
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts +1 -0
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.lua +4 -4
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts +1 -0
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.lua +4 -4
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts +1 -0
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preCustomRevive.lua +4 -4
- package/dist/callbacks/subscriptions/preItemPickup.d.ts +1 -0
- package/dist/callbacks/subscriptions/preItemPickup.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preItemPickup.lua +4 -4
- package/dist/callbacks/subscriptions/preNewLevel.d.ts +1 -0
- package/dist/callbacks/subscriptions/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preNewLevel.lua +4 -4
- package/dist/classes/DefaultMap.d.ts +1 -0
- package/dist/classes/DefaultMap.d.ts.map +1 -1
- package/dist/classes/DefaultMap.lua +4 -4
- package/dist/classes/ModUpgraded.d.ts +1 -0
- package/dist/classes/ModUpgraded.d.ts.map +1 -1
- package/dist/classes/ModUpgraded.lua +1 -1
- package/dist/core/cachedClasses.d.ts +1 -0
- package/dist/core/cachedClasses.d.ts.map +1 -1
- package/dist/core/constants.d.ts +1 -0
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.lua +4 -4
- package/dist/core/constantsFirstLast.d.ts +1 -0
- package/dist/core/constantsFirstLast.d.ts.map +1 -1
- package/dist/core/constantsFirstLast.lua +11 -11
- package/dist/core/upgradeMod.d.ts +1 -0
- package/dist/core/upgradeMod.d.ts.map +1 -1
- package/dist/core/upgradeMod.lua +9 -9
- package/dist/enums/AmbushType.d.ts +1 -0
- package/dist/enums/AmbushType.d.ts.map +1 -1
- package/dist/enums/CornerType.d.ts +1 -0
- package/dist/enums/CornerType.d.ts.map +1 -1
- package/dist/enums/HealthType.d.ts +1 -0
- package/dist/enums/HealthType.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.d.ts +1 -0
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/enums/PocketItemType.d.ts +1 -0
- package/dist/enums/PocketItemType.d.ts.map +1 -1
- package/dist/enums/RockAltType.d.ts +1 -0
- package/dist/enums/RockAltType.d.ts.map +1 -1
- package/dist/enums/SaveDataKey.d.ts +1 -0
- package/dist/enums/SaveDataKey.d.ts.map +1 -1
- package/dist/enums/SerializationType.d.ts +1 -0
- package/dist/enums/SerializationType.d.ts.map +1 -1
- package/dist/enums/SlotDestructionType.d.ts +1 -0
- package/dist/enums/SlotDestructionType.d.ts.map +1 -1
- package/dist/enums/StatType.d.ts +1 -0
- package/dist/enums/StatType.d.ts.map +1 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +1 -0
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts.map +1 -1
- package/dist/enums/private/SerializationBrand.d.ts +1 -0
- package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
- package/dist/enums/private/StageTravelState.d.ts +1 -0
- package/dist/enums/private/StageTravelState.d.ts.map +1 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts +1 -0
- package/dist/enums/private/TrapdoorAnimation.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.d.ts +1 -0
- package/dist/features/characterHealthConversion.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.lua +10 -10
- package/dist/features/characterStats.d.ts +1 -0
- package/dist/features/characterStats.d.ts.map +1 -1
- package/dist/features/characterStats.lua +6 -6
- package/dist/features/collectibleItemPoolType.d.ts +1 -0
- package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
- package/dist/features/collectibleItemPoolType.lua +8 -8
- package/dist/features/customDoor.d.ts +1 -0
- package/dist/features/customDoor.d.ts.map +1 -1
- package/dist/features/customDoor.lua +4 -4
- package/dist/features/customGridEntity.d.ts +1 -0
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +39 -42
- package/dist/features/customPickup.d.ts +1 -0
- package/dist/features/customPickup.d.ts.map +1 -1
- package/dist/features/customPickup.lua +8 -8
- package/dist/features/customStage/backdrop.d.ts +1 -0
- package/dist/features/customStage/backdrop.d.ts.map +1 -1
- package/dist/features/customStage/backdrop.lua +28 -40
- package/dist/features/customStage/customStageConstants.d.ts +1 -0
- package/dist/features/customStage/customStageConstants.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.d.ts +1 -0
- package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.lua +34 -34
- package/dist/features/customStage/customStageUtils.d.ts +1 -0
- package/dist/features/customStage/customStageUtils.d.ts.map +1 -1
- package/dist/features/customStage/customStageUtils.lua +21 -33
- package/dist/features/customStage/exports.d.ts +1 -0
- package/dist/features/customStage/exports.d.ts.map +1 -1
- package/dist/features/customStage/exports.lua +18 -36
- package/dist/features/customStage/init.d.ts +1 -0
- package/dist/features/customStage/init.d.ts.map +1 -1
- package/dist/features/customStage/init.lua +28 -28
- package/dist/features/customStage/shadows.d.ts +1 -0
- package/dist/features/customStage/shadows.d.ts.map +1 -1
- package/dist/features/customStage/shadows.lua +4 -10
- package/dist/features/customStage/streakText.d.ts +1 -0
- package/dist/features/customStage/streakText.d.ts.map +1 -1
- package/dist/features/customStage/streakText.lua +17 -17
- package/dist/features/customStage/v.d.ts +1 -0
- package/dist/features/customStage/v.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.d.ts +1 -0
- package/dist/features/customStage/versusScreen.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.lua +27 -31
- package/dist/features/customTrapdoor/blackSprite.d.ts +1 -0
- package/dist/features/customTrapdoor/blackSprite.d.ts.map +1 -1
- package/dist/features/customTrapdoor/blackSprite.lua +1 -1
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts +1 -0
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.d.ts +1 -0
- package/dist/features/customTrapdoor/exports.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.lua +8 -20
- package/dist/features/customTrapdoor/init.d.ts +1 -0
- package/dist/features/customTrapdoor/init.d.ts.map +1 -1
- package/dist/features/customTrapdoor/init.lua +50 -65
- package/dist/features/customTrapdoor/openClose.d.ts +1 -0
- package/dist/features/customTrapdoor/openClose.d.ts.map +1 -1
- package/dist/features/customTrapdoor/openClose.lua +12 -12
- package/dist/features/customTrapdoor/spawn.d.ts +1 -0
- package/dist/features/customTrapdoor/spawn.d.ts.map +1 -1
- package/dist/features/customTrapdoor/spawn.lua +4 -5
- package/dist/features/customTrapdoor/touched.d.ts +1 -0
- package/dist/features/customTrapdoor/touched.d.ts.map +1 -1
- package/dist/features/customTrapdoor/touched.lua +21 -25
- package/dist/features/customTrapdoor/v.d.ts +1 -0
- package/dist/features/customTrapdoor/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts +1 -0
- package/dist/features/debugDisplay/debugDisplay.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.lua +59 -59
- package/dist/features/debugDisplay/exports.d.ts +1 -0
- package/dist/features/debugDisplay/exports.d.ts.map +1 -1
- package/dist/features/debugDisplay/exports.lua +90 -90
- package/dist/features/debugDisplay/v.d.ts +1 -0
- package/dist/features/debugDisplay/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/v.lua +6 -6
- package/dist/features/deployJSONRoom.d.ts +1 -0
- package/dist/features/deployJSONRoom.d.ts.map +1 -1
- package/dist/features/deployJSONRoom.lua +93 -118
- package/dist/features/disableAllSound.d.ts +1 -0
- package/dist/features/disableAllSound.d.ts.map +1 -1
- package/dist/features/disableAllSound.lua +10 -10
- package/dist/features/disableInputs.d.ts +1 -0
- package/dist/features/disableInputs.d.ts.map +1 -1
- package/dist/features/disableInputs.lua +25 -25
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts +1 -0
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsDisplay.lua +72 -72
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts +1 -0
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +33 -42
- package/dist/features/extraConsoleCommands/exports.d.ts +1 -0
- package/dist/features/extraConsoleCommands/exports.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/exports.lua +8 -8
- package/dist/features/extraConsoleCommands/init.d.ts +1 -0
- package/dist/features/extraConsoleCommands/init.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/init.lua +28 -28
- package/dist/features/extraConsoleCommands/listCommands.d.ts +1 -0
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +307 -362
- package/dist/features/extraConsoleCommands/v.d.ts +1 -0
- package/dist/features/extraConsoleCommands/v.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/v.lua +1 -1
- package/dist/features/fadeInRemover.d.ts +1 -0
- package/dist/features/fadeInRemover.d.ts.map +1 -1
- package/dist/features/fadeInRemover.lua +8 -9
- package/dist/features/fastReset.d.ts +1 -0
- package/dist/features/fastReset.d.ts.map +1 -1
- package/dist/features/fastReset.lua +11 -11
- package/dist/features/firstLast.d.ts +1 -0
- package/dist/features/firstLast.d.ts.map +1 -1
- package/dist/features/firstLast.lua +93 -105
- package/dist/features/forgottenSwitch.d.ts +1 -0
- package/dist/features/forgottenSwitch.d.ts.map +1 -1
- package/dist/features/forgottenSwitch.lua +5 -5
- package/dist/features/pause.d.ts +1 -0
- package/dist/features/pause.d.ts.map +1 -1
- package/dist/features/pause.lua +25 -25
- package/dist/features/persistentEntities.d.ts +1 -0
- package/dist/features/persistentEntities.d.ts.map +1 -1
- package/dist/features/persistentEntities.lua +17 -25
- package/dist/features/pickupIndex.d.ts +1 -0
- package/dist/features/pickupIndex.d.ts.map +1 -1
- package/dist/features/pickupIndex.lua +25 -25
- package/dist/features/playerInventory.d.ts +1 -0
- package/dist/features/playerInventory.d.ts.map +1 -1
- package/dist/features/playerInventory.lua +16 -16
- package/dist/features/ponyDetection.d.ts +1 -0
- package/dist/features/ponyDetection.d.ts.map +1 -1
- package/dist/features/ponyDetection.lua +13 -14
- package/dist/features/preventChildEntities.d.ts +1 -0
- package/dist/features/preventChildEntities.d.ts.map +1 -1
- package/dist/features/preventChildEntities.lua +4 -4
- package/dist/features/preventCollectibleRotation.d.ts +1 -0
- package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
- package/dist/features/preventCollectibleRotation.lua +13 -13
- package/dist/features/registerHotkey.d.ts +1 -0
- package/dist/features/registerHotkey.d.ts.map +1 -1
- package/dist/features/registerHotkey.lua +14 -14
- package/dist/features/roomClearFrame.d.ts +1 -0
- package/dist/features/roomClearFrame.d.ts.map +1 -1
- package/dist/features/roomClearFrame.lua +7 -7
- package/dist/features/roomHistory.d.ts +1 -0
- package/dist/features/roomHistory.d.ts.map +1 -1
- package/dist/features/roomHistory.lua +19 -19
- package/dist/features/runInNFrames.d.ts +1 -0
- package/dist/features/runInNFrames.d.ts.map +1 -1
- package/dist/features/runInNFrames.lua +30 -30
- package/dist/features/runNextRoom.d.ts +1 -0
- package/dist/features/runNextRoom.d.ts.map +1 -1
- package/dist/features/runNextRoom.lua +7 -7
- package/dist/features/saveDataManager/exports.d.ts +1 -0
- package/dist/features/saveDataManager/exports.d.ts.map +1 -1
- package/dist/features/saveDataManager/exports.lua +16 -16
- package/dist/features/saveDataManager/load.d.ts +1 -0
- package/dist/features/saveDataManager/load.d.ts.map +1 -1
- package/dist/features/saveDataManager/load.lua +12 -16
- package/dist/features/saveDataManager/main.d.ts +1 -0
- package/dist/features/saveDataManager/main.d.ts.map +1 -1
- package/dist/features/saveDataManager/main.lua +31 -32
- package/dist/features/saveDataManager/maps.d.ts +1 -0
- package/dist/features/saveDataManager/maps.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.d.ts +1 -0
- package/dist/features/saveDataManager/merge.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.lua +30 -33
- package/dist/features/saveDataManager/save.d.ts +1 -0
- package/dist/features/saveDataManager/save.d.ts.map +1 -1
- package/dist/features/saveDataManager/save.lua +8 -9
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts +1 -0
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts +1 -0
- package/dist/features/saveDataManager/serializationBrands.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.lua +3 -3
- package/dist/features/sirenHelpers.d.ts +1 -0
- package/dist/features/sirenHelpers.d.ts.map +1 -1
- package/dist/features/sirenHelpers.lua +15 -15
- package/dist/features/stageHistory.d.ts +1 -0
- package/dist/features/stageHistory.d.ts.map +1 -1
- package/dist/features/stageHistory.lua +7 -7
- package/dist/features/taintedLazarusPlayers.d.ts +1 -0
- package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
- package/dist/features/taintedLazarusPlayers.lua +8 -8
- package/dist/featuresInitialized.d.ts +1 -0
- package/dist/featuresInitialized.d.ts.map +1 -1
- package/dist/featuresInitialized.lua +4 -4
- package/dist/functions/ambush.d.ts +1 -0
- package/dist/functions/ambush.d.ts.map +1 -1
- package/dist/functions/ambush.lua +15 -18
- package/dist/functions/array.d.ts +1 -0
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.lua +48 -62
- package/dist/functions/benchmark.d.ts +1 -0
- package/dist/functions/benchmark.d.ts.map +1 -1
- package/dist/functions/benchmark.lua +4 -10
- package/dist/functions/bitSet128.d.ts +1 -0
- package/dist/functions/bitSet128.d.ts.map +1 -1
- package/dist/functions/bitSet128.lua +11 -13
- package/dist/functions/bitwise.d.ts +1 -0
- package/dist/functions/bitwise.d.ts.map +1 -1
- package/dist/functions/bitwise.lua +9 -9
- package/dist/functions/bombs.d.ts +1 -0
- package/dist/functions/bombs.d.ts.map +1 -1
- package/dist/functions/bombs.lua +1 -1
- package/dist/functions/bosses.d.ts +1 -0
- package/dist/functions/bosses.d.ts.map +1 -1
- package/dist/functions/bosses.lua +15 -31
- package/dist/functions/cards.d.ts +1 -0
- package/dist/functions/cards.d.ts.map +1 -1
- package/dist/functions/cards.lua +42 -48
- package/dist/functions/challenges.d.ts +1 -0
- package/dist/functions/challenges.d.ts.map +1 -1
- package/dist/functions/challenges.lua +1 -1
- package/dist/functions/characters.d.ts +1 -0
- package/dist/functions/characters.d.ts.map +1 -1
- package/dist/functions/characters.lua +13 -13
- package/dist/functions/charge.d.ts +1 -0
- package/dist/functions/charge.d.ts.map +1 -1
- package/dist/functions/charge.lua +24 -36
- package/dist/functions/chargeBar.d.ts +1 -0
- package/dist/functions/chargeBar.d.ts.map +1 -1
- package/dist/functions/chargeBar.lua +5 -5
- package/dist/functions/collectibleCacheFlag.d.ts +1 -0
- package/dist/functions/collectibleCacheFlag.d.ts.map +1 -1
- package/dist/functions/collectibleCacheFlag.lua +11 -12
- package/dist/functions/collectibleSet.d.ts +1 -0
- package/dist/functions/collectibleSet.d.ts.map +1 -1
- package/dist/functions/collectibleSet.lua +17 -17
- package/dist/functions/collectibleTag.d.ts +1 -0
- package/dist/functions/collectibleTag.d.ts.map +1 -1
- package/dist/functions/collectibleTag.lua +13 -14
- package/dist/functions/collectibles.d.ts +1 -0
- package/dist/functions/collectibles.d.ts.map +1 -1
- package/dist/functions/collectibles.lua +68 -69
- package/dist/functions/color.d.ts +1 -0
- package/dist/functions/color.d.ts.map +1 -1
- package/dist/functions/color.lua +19 -21
- package/dist/functions/curses.d.ts +1 -0
- package/dist/functions/curses.d.ts.map +1 -1
- package/dist/functions/curses.lua +3 -3
- package/dist/functions/debug.d.ts +1 -0
- package/dist/functions/debug.d.ts.map +1 -1
- package/dist/functions/debug.lua +15 -15
- package/dist/functions/deepCopy.d.ts +1 -0
- package/dist/functions/deepCopy.d.ts.map +1 -1
- package/dist/functions/deepCopy.lua +73 -169
- package/dist/functions/deepCopyTests.d.ts +1 -0
- package/dist/functions/deepCopyTests.d.ts.map +1 -1
- package/dist/functions/deepCopyTests.lua +81 -81
- package/dist/functions/dimensions.d.ts +1 -0
- package/dist/functions/dimensions.d.ts.map +1 -1
- package/dist/functions/dimensions.lua +7 -7
- package/dist/functions/direction.d.ts +1 -0
- package/dist/functions/direction.d.ts.map +1 -1
- package/dist/functions/direction.lua +4 -4
- package/dist/functions/doors.d.ts +1 -0
- package/dist/functions/doors.d.ts.map +1 -1
- package/dist/functions/doors.lua +74 -77
- package/dist/functions/easing.d.ts +1 -0
- package/dist/functions/easing.d.ts.map +1 -1
- package/dist/functions/easing.lua +32 -32
- package/dist/functions/eden.d.ts +1 -0
- package/dist/functions/eden.d.ts.map +1 -1
- package/dist/functions/eden.lua +9 -9
- package/dist/functions/effects.d.ts +1 -0
- package/dist/functions/effects.d.ts.map +1 -1
- package/dist/functions/effects.lua +2 -2
- package/dist/functions/entities.d.ts +1 -0
- package/dist/functions/entities.d.ts.map +1 -1
- package/dist/functions/entities.lua +41 -48
- package/dist/functions/entitiesSpecific.d.ts +1 -0
- package/dist/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/functions/entitiesSpecific.lua +70 -96
- package/dist/functions/entityTypes.d.ts +1 -0
- package/dist/functions/entityTypes.d.ts.map +1 -1
- package/dist/functions/entityTypes.lua +1 -1
- package/dist/functions/enums.d.ts +1 -0
- package/dist/functions/enums.d.ts.map +1 -1
- package/dist/functions/enums.lua +19 -19
- package/dist/functions/familiars.d.ts +1 -0
- package/dist/functions/familiars.d.ts.map +1 -1
- package/dist/functions/familiars.lua +5 -6
- package/dist/functions/flag.d.ts +1 -0
- package/dist/functions/flag.d.ts.map +1 -1
- package/dist/functions/flag.lua +8 -8
- package/dist/functions/flying.d.ts +1 -0
- package/dist/functions/flying.d.ts.map +1 -1
- package/dist/functions/flying.lua +9 -12
- package/dist/functions/globals.d.ts +1 -0
- package/dist/functions/globals.d.ts.map +1 -1
- package/dist/functions/globals.lua +14 -17
- package/dist/functions/gridEntities.d.ts +1 -0
- package/dist/functions/gridEntities.d.ts.map +1 -1
- package/dist/functions/gridEntities.lua +58 -64
- package/dist/functions/gridEntitiesSpecific.d.ts +1 -0
- package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -1
- package/dist/functions/gridEntitiesSpecific.lua +92 -92
- package/dist/functions/hex.d.ts +1 -0
- package/dist/functions/hex.d.ts.map +1 -1
- package/dist/functions/hex.lua +9 -12
- package/dist/functions/initArray.d.ts +1 -0
- package/dist/functions/initArray.d.ts.map +1 -1
- package/dist/functions/initArray.lua +3 -4
- package/dist/functions/input.d.ts +1 -0
- package/dist/functions/input.d.ts.map +1 -1
- package/dist/functions/input.lua +22 -25
- package/dist/functions/isaacAPIClass.d.ts +1 -0
- package/dist/functions/isaacAPIClass.d.ts.map +1 -1
- package/dist/functions/isaacAPIClass.lua +47 -47
- package/dist/functions/itemPool.d.ts +1 -0
- package/dist/functions/itemPool.d.ts.map +1 -1
- package/dist/functions/itemPool.lua +17 -19
- package/dist/functions/jsonHelpers.d.ts +1 -0
- package/dist/functions/jsonHelpers.d.ts.map +1 -1
- package/dist/functions/jsonHelpers.lua +3 -3
- package/dist/functions/jsonRoom.d.ts +1 -0
- package/dist/functions/jsonRoom.d.ts.map +1 -1
- package/dist/functions/jsonRoom.lua +16 -22
- package/dist/functions/kColor.d.ts +1 -0
- package/dist/functions/kColor.d.ts.map +1 -1
- package/dist/functions/kColor.lua +19 -21
- package/dist/functions/language.d.ts +1 -0
- package/dist/functions/language.d.ts.map +1 -1
- package/dist/functions/language.lua +1 -1
- package/dist/functions/level.d.ts +1 -0
- package/dist/functions/level.d.ts.map +1 -1
- package/dist/functions/level.lua +5 -5
- package/dist/functions/levelGrid.d.ts +1 -0
- package/dist/functions/levelGrid.d.ts.map +1 -1
- package/dist/functions/levelGrid.lua +67 -67
- package/dist/functions/log.d.ts +1 -0
- package/dist/functions/log.d.ts.map +1 -1
- package/dist/functions/log.lua +128 -240
- package/dist/functions/logEntities.d.ts +1 -0
- package/dist/functions/logEntities.d.ts.map +1 -1
- package/dist/functions/logEntities.lua +29 -32
- package/dist/functions/map.d.ts +1 -0
- package/dist/functions/map.d.ts.map +1 -1
- package/dist/functions/map.lua +5 -5
- package/dist/functions/math.d.ts +1 -0
- package/dist/functions/math.d.ts.map +1 -1
- package/dist/functions/math.lua +14 -14
- package/dist/functions/mergeTests.d.ts +1 -0
- package/dist/functions/mergeTests.d.ts.map +1 -1
- package/dist/functions/mergeTests.lua +47 -47
- package/dist/functions/minimap.d.ts +1 -0
- package/dist/functions/minimap.d.ts.map +1 -1
- package/dist/functions/minimap.lua +12 -12
- package/dist/functions/nextStage.d.ts +1 -0
- package/dist/functions/nextStage.d.ts.map +1 -1
- package/dist/functions/nextStage.lua +39 -39
- package/dist/functions/npcs.d.ts +1 -0
- package/dist/functions/npcs.d.ts.map +1 -1
- package/dist/functions/npcs.lua +15 -21
- package/dist/functions/pickupVariants.d.ts +1 -0
- package/dist/functions/pickupVariants.d.ts.map +1 -1
- package/dist/functions/pickupVariants.lua +11 -11
- package/dist/functions/pickups.d.ts +1 -0
- package/dist/functions/pickups.d.ts.map +1 -1
- package/dist/functions/pickups.lua +9 -9
- package/dist/functions/pickupsSpecific.d.ts +1 -0
- package/dist/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/functions/pickupsSpecific.lua +58 -76
- package/dist/functions/pills.d.ts +1 -0
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/pills.lua +22 -25
- package/dist/functions/playerCenter.d.ts +1 -0
- package/dist/functions/playerCenter.d.ts.map +1 -1
- package/dist/functions/playerCenter.lua +5 -6
- package/dist/functions/playerDataStructures.d.ts +1 -0
- package/dist/functions/playerDataStructures.d.ts.map +1 -1
- package/dist/functions/playerDataStructures.lua +16 -16
- package/dist/functions/playerHealth.d.ts +1 -0
- package/dist/functions/playerHealth.d.ts.map +1 -1
- package/dist/functions/playerHealth.lua +47 -54
- package/dist/functions/playerIndex.d.ts +1 -0
- package/dist/functions/playerIndex.d.ts.map +1 -1
- package/dist/functions/playerIndex.lua +17 -17
- package/dist/functions/playerStats.d.ts +1 -0
- package/dist/functions/playerStats.d.ts.map +1 -1
- package/dist/functions/playerStats.lua +1 -1
- package/dist/functions/players.d.ts +1 -0
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +81 -82
- package/dist/functions/pocketItems.d.ts +1 -0
- package/dist/functions/pocketItems.d.ts.map +1 -1
- package/dist/functions/pocketItems.lua +12 -12
- package/dist/functions/positionVelocity.d.ts +1 -0
- package/dist/functions/positionVelocity.d.ts.map +1 -1
- package/dist/functions/positionVelocity.lua +15 -15
- package/dist/functions/pressurePlate.d.ts +1 -0
- package/dist/functions/pressurePlate.d.ts.map +1 -1
- package/dist/functions/pressurePlate.lua +2 -2
- package/dist/functions/projectiles.d.ts +1 -0
- package/dist/functions/projectiles.d.ts.map +1 -1
- package/dist/functions/projectiles.lua +7 -19
- package/dist/functions/random.d.ts +1 -0
- package/dist/functions/random.d.ts.map +1 -1
- package/dist/functions/random.lua +9 -9
- package/dist/functions/reorderedCallbacks.d.ts +1 -0
- package/dist/functions/reorderedCallbacks.d.ts.map +1 -1
- package/dist/functions/reorderedCallbacks.lua +6 -6
- package/dist/functions/revive.d.ts +1 -0
- package/dist/functions/revive.d.ts.map +1 -1
- package/dist/functions/revive.lua +16 -16
- package/dist/functions/rng.d.ts +1 -0
- package/dist/functions/rng.d.ts.map +1 -1
- package/dist/functions/rng.lua +25 -27
- package/dist/functions/rockAlt.d.ts +1 -0
- package/dist/functions/rockAlt.d.ts.map +1 -1
- package/dist/functions/rockAlt.lua +74 -111
- package/dist/functions/roomData.d.ts +1 -0
- package/dist/functions/roomData.d.ts.map +1 -1
- package/dist/functions/roomData.lua +30 -30
- package/dist/functions/roomGrid.d.ts +1 -0
- package/dist/functions/roomGrid.d.ts.map +1 -1
- package/dist/functions/roomGrid.lua +17 -17
- package/dist/functions/roomShape.d.ts +1 -0
- package/dist/functions/roomShape.d.ts.map +1 -1
- package/dist/functions/roomShape.lua +13 -13
- package/dist/functions/roomTransition.d.ts +1 -0
- package/dist/functions/roomTransition.d.ts.map +1 -1
- package/dist/functions/roomTransition.lua +10 -19
- package/dist/functions/rooms.d.ts +1 -0
- package/dist/functions/rooms.d.ts.map +1 -1
- package/dist/functions/rooms.lua +87 -87
- package/dist/functions/run.d.ts +1 -0
- package/dist/functions/run.d.ts.map +1 -1
- package/dist/functions/run.lua +11 -17
- package/dist/functions/saveFile.d.ts +1 -0
- package/dist/functions/saveFile.d.ts.map +1 -1
- package/dist/functions/saveFile.lua +3 -3
- package/dist/functions/seeds.d.ts +1 -0
- package/dist/functions/seeds.d.ts.map +1 -1
- package/dist/functions/seeds.lua +3 -3
- package/dist/functions/serialization.d.ts +1 -0
- package/dist/functions/serialization.d.ts.map +1 -1
- package/dist/functions/serialization.lua +11 -11
- package/dist/functions/set.d.ts +1 -0
- package/dist/functions/set.d.ts.map +1 -1
- package/dist/functions/set.lua +15 -15
- package/dist/functions/sound.d.ts +1 -0
- package/dist/functions/sound.d.ts.map +1 -1
- package/dist/functions/sound.lua +2 -2
- package/dist/functions/spawnCollectible.d.ts +1 -0
- package/dist/functions/spawnCollectible.d.ts.map +1 -1
- package/dist/functions/spawnCollectible.lua +9 -11
- package/dist/functions/sprites.d.ts +1 -0
- package/dist/functions/sprites.d.ts.map +1 -1
- package/dist/functions/sprites.lua +7 -13
- package/dist/functions/stage.d.ts +1 -0
- package/dist/functions/stage.d.ts.map +1 -1
- package/dist/functions/stage.lua +26 -29
- package/dist/functions/stats.d.ts +1 -0
- package/dist/functions/stats.d.ts.map +1 -1
- package/dist/functions/stats.lua +3 -3
- package/dist/functions/string.d.ts +1 -0
- package/dist/functions/string.d.ts.map +1 -1
- package/dist/functions/string.lua +7 -7
- package/dist/functions/table.d.ts +1 -0
- package/dist/functions/table.d.ts.map +1 -1
- package/dist/functions/table.lua +16 -16
- package/dist/functions/tears.d.ts +1 -0
- package/dist/functions/tears.d.ts.map +1 -1
- package/dist/functions/tears.lua +5 -5
- package/dist/functions/transformations.d.ts +1 -0
- package/dist/functions/transformations.d.ts.map +1 -1
- package/dist/functions/transformations.lua +13 -14
- package/dist/functions/trinketCacheFlag.d.ts +1 -0
- package/dist/functions/trinketCacheFlag.d.ts.map +1 -1
- package/dist/functions/trinketCacheFlag.lua +10 -10
- package/dist/functions/trinketGive.d.ts +1 -0
- package/dist/functions/trinketGive.d.ts.map +1 -1
- package/dist/functions/trinketGive.lua +12 -14
- package/dist/functions/trinketSet.d.ts +1 -0
- package/dist/functions/trinketSet.d.ts.map +1 -1
- package/dist/functions/trinketSet.lua +17 -17
- package/dist/functions/trinkets.d.ts +1 -0
- package/dist/functions/trinkets.d.ts.map +1 -1
- package/dist/functions/trinkets.lua +22 -22
- package/dist/functions/tstlClass.d.ts +1 -0
- package/dist/functions/tstlClass.d.ts.map +1 -1
- package/dist/functions/tstlClass.lua +19 -19
- package/dist/functions/types.d.ts +1 -0
- package/dist/functions/types.d.ts.map +1 -1
- package/dist/functions/types.lua +17 -17
- package/dist/functions/ui.d.ts +1 -0
- package/dist/functions/ui.d.ts.map +1 -1
- package/dist/functions/ui.lua +19 -19
- package/dist/functions/utils.d.ts +1 -0
- package/dist/functions/utils.d.ts.map +1 -1
- package/dist/functions/utils.lua +12 -12
- package/dist/functions/vector.d.ts +1 -0
- package/dist/functions/vector.d.ts.map +1 -1
- package/dist/functions/vector.lua +21 -23
- package/dist/index.d.ts +11988 -11905
- package/dist/index.d.ts.map +1 -1
- package/dist/initCustomCallbacks.d.ts +1 -0
- package/dist/initCustomCallbacks.d.ts.map +1 -1
- package/dist/initCustomCallbacks.lua +72 -72
- package/dist/initFeatures.d.ts +1 -0
- package/dist/initFeatures.d.ts.map +1 -1
- package/dist/initFeatures.lua +34 -34
- package/dist/interfaces/ChargeBarSprites.d.ts +1 -0
- package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -1
- package/dist/interfaces/Corner.d.ts +1 -0
- package/dist/interfaces/Corner.d.ts.map +1 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts +1 -11
- package/dist/interfaces/CustomStageTSConfig.d.ts.map +1 -1
- package/dist/interfaces/GridEntityCustomData.d.ts +1 -0
- package/dist/interfaces/GridEntityCustomData.d.ts.map +1 -1
- package/dist/interfaces/JSONRoomsFile.d.ts +1 -0
- package/dist/interfaces/JSONRoomsFile.d.ts.map +1 -1
- package/dist/interfaces/PlayerHealth.d.ts +1 -0
- package/dist/interfaces/PlayerHealth.d.ts.map +1 -1
- package/dist/interfaces/PocketItemDescription.d.ts +1 -0
- package/dist/interfaces/PocketItemDescription.d.ts.map +1 -1
- package/dist/interfaces/RoomDescription.d.ts +1 -0
- package/dist/interfaces/RoomDescription.d.ts.map +1 -1
- package/dist/interfaces/SaveData.d.ts +1 -0
- package/dist/interfaces/SaveData.d.ts.map +1 -1
- package/dist/interfaces/SaveData.lua +10 -10
- package/dist/interfaces/StatTypeType.d.ts +1 -0
- package/dist/interfaces/StatTypeType.d.ts.map +1 -1
- package/dist/interfaces/TrinketSituation.d.ts +1 -0
- package/dist/interfaces/TrinketSituation.d.ts.map +1 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts +1 -0
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts.map +1 -1
- package/dist/interfaces/private/CustomStage.d.ts +1 -0
- package/dist/interfaces/private/CustomStage.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts +1 -0
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts +1 -0
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts.map +1 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts +1 -0
- package/dist/interfaces/private/TSTLClassMetatable.d.ts.map +1 -1
- package/dist/maps/PHDPillConversions.d.ts +1 -0
- package/dist/maps/PHDPillConversions.d.ts.map +1 -1
- package/dist/maps/cardMap.d.ts +1 -0
- package/dist/maps/cardMap.d.ts.map +1 -1
- package/dist/maps/characterMap.d.ts +1 -0
- package/dist/maps/characterMap.d.ts.map +1 -1
- package/dist/maps/collectibleDescriptionMap.d.ts +1 -0
- package/dist/maps/collectibleDescriptionMap.d.ts.map +1 -1
- package/dist/maps/collectibleNameMap.d.ts +1 -0
- package/dist/maps/collectibleNameMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.d.ts +1 -0
- package/dist/maps/defaultPlayerStatMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.lua +1 -1
- package/dist/maps/falsePHDPillConversions.d.ts +1 -0
- package/dist/maps/falsePHDPillConversions.d.ts.map +1 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +1 -0
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts.map +1 -1
- package/dist/maps/gridEntityXMLMap.d.ts +1 -0
- package/dist/maps/gridEntityXMLMap.d.ts.map +1 -1
- package/dist/maps/keyboardToString.d.ts +1 -0
- package/dist/maps/keyboardToString.d.ts.map +1 -1
- package/dist/maps/pillEffectMap.d.ts +1 -0
- package/dist/maps/pillEffectMap.d.ts.map +1 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +1 -0
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts.map +1 -1
- package/dist/maps/roomTypeMap.d.ts +1 -0
- package/dist/maps/roomTypeMap.d.ts.map +1 -1
- package/dist/maps/trinketDescriptionMap.d.ts +1 -0
- package/dist/maps/trinketDescriptionMap.d.ts.map +1 -1
- package/dist/maps/trinketNameMap.d.ts +1 -0
- package/dist/maps/trinketNameMap.d.ts.map +1 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts +1 -0
- package/dist/objects/LRoomShapeToRectangles.d.ts.map +1 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts +1 -0
- package/dist/objects/backdropTypeToRockAltType.d.ts.map +1 -1
- package/dist/objects/bossNamePNGFileNames.d.ts +1 -0
- package/dist/objects/bossNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts +1 -0
- package/dist/objects/bossPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/callbackRegisterFunctions.d.ts +1 -0
- package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
- package/dist/objects/cardDescriptions.d.ts +1 -0
- package/dist/objects/cardDescriptions.d.ts.map +1 -1
- package/dist/objects/cardNames.d.ts +1 -0
- package/dist/objects/cardNames.d.ts.map +1 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts +1 -0
- package/dist/objects/cardTypeToItemConfigCardType.d.ts.map +1 -1
- package/dist/objects/challengeNames.d.ts +1 -0
- package/dist/objects/challengeNames.d.ts.map +1 -1
- package/dist/objects/characterDamageMultipliers.d.ts +1 -0
- package/dist/objects/characterDamageMultipliers.d.ts.map +1 -1
- package/dist/objects/characterNames.d.ts +1 -0
- package/dist/objects/characterNames.d.ts.map +1 -1
- package/dist/objects/coinSubTypeToValue.d.ts +1 -0
- package/dist/objects/coinSubTypeToValue.d.ts.map +1 -1
- package/dist/objects/colors.d.ts +1 -0
- package/dist/objects/colors.d.ts.map +1 -1
- package/dist/objects/directionNames.d.ts +1 -0
- package/dist/objects/directionNames.d.ts.map +1 -1
- package/dist/objects/directionToDegrees.d.ts +1 -0
- package/dist/objects/directionToDegrees.d.ts.map +1 -1
- package/dist/objects/directionToVector.d.ts +1 -0
- package/dist/objects/directionToVector.d.ts.map +1 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts +1 -0
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
- package/dist/objects/doorSlotToDirection.d.ts +1 -0
- package/dist/objects/doorSlotToDirection.d.ts.map +1 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts +1 -0
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts +1 -0
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts +1 -0
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
- package/dist/objects/languageNames.d.ts +1 -0
- package/dist/objects/languageNames.d.ts.map +1 -1
- package/dist/objects/oppositeDoorSlots.d.ts +1 -0
- package/dist/objects/oppositeDoorSlots.d.ts.map +1 -1
- package/dist/objects/pillEffectClasses.d.ts +1 -0
- package/dist/objects/pillEffectClasses.d.ts.map +1 -1
- package/dist/objects/pillEffectNames.d.ts +1 -0
- package/dist/objects/pillEffectNames.d.ts.map +1 -1
- package/dist/objects/pillEffectTypes.d.ts +1 -0
- package/dist/objects/pillEffectTypes.d.ts.map +1 -1
- package/dist/objects/playerNamePNGFileNames.d.ts +1 -0
- package/dist/objects/playerNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts +1 -0
- package/dist/objects/playerPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/roomShapeBounds.d.ts +1 -0
- package/dist/objects/roomShapeBounds.d.ts.map +1 -1
- package/dist/objects/roomShapeCorners.d.ts +1 -0
- package/dist/objects/roomShapeCorners.d.ts.map +1 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts +1 -0
- package/dist/objects/roomShapeLayoutSizes.d.ts.map +1 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +1 -0
- package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts +1 -0
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts +1 -0
- package/dist/objects/roomShapeToDoorSlots.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +1 -0
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts.map +1 -1
- package/dist/objects/roomShapeToGridWidth.d.ts +1 -0
- package/dist/objects/roomShapeToGridWidth.d.ts.map +1 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +1 -0
- package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeVolumes.d.ts +1 -0
- package/dist/objects/roomShapeVolumes.d.ts.map +1 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts +1 -0
- package/dist/objects/roomTypeGotoPrefixes.d.ts.map +1 -1
- package/dist/objects/roomTypeNames.d.ts +1 -0
- package/dist/objects/roomTypeNames.d.ts.map +1 -1
- package/dist/objects/stageTypeSuffixes.d.ts +1 -0
- package/dist/objects/stageTypeSuffixes.d.ts.map +1 -1
- package/dist/objects/stageTypeToLetter.d.ts +1 -0
- package/dist/objects/stageTypeToLetter.d.ts.map +1 -1
- package/dist/objects/transformationNames.d.ts +1 -0
- package/dist/objects/transformationNames.d.ts.map +1 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts +1 -0
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts +1 -0
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/patchErrorFunctions.d.ts +1 -0
- package/dist/patchErrorFunctions.d.ts.map +1 -1
- package/dist/patchErrorFunctions.lua +7 -7
- package/dist/sets/LRoomShapesSet.d.ts +1 -0
- package/dist/sets/LRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/bossSets.d.ts +1 -0
- package/dist/sets/bossSets.d.ts.map +1 -1
- package/dist/sets/bossSets.lua +4 -4
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +1 -0
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts.map +1 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +1 -0
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts.map +1 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +1 -0
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts +1 -0
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +1 -0
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts.map +1 -1
- package/dist/sets/chestPickupVariantsSet.d.ts +1 -0
- package/dist/sets/chestPickupVariantsSet.d.ts.map +1 -1
- package/dist/sets/consoleCommandsSet.d.ts +1 -0
- package/dist/sets/consoleCommandsSet.d.ts.map +1 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +1 -0
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts.map +1 -1
- package/dist/sets/lostStyleCharactersSet.d.ts +1 -0
- package/dist/sets/lostStyleCharactersSet.d.ts.map +1 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts +1 -0
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts.map +1 -1
- package/dist/sets/narrowRoomShapesSet.d.ts +1 -0
- package/dist/sets/narrowRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/redHeartSubTypesSet.d.ts +1 -0
- package/dist/sets/redHeartSubTypesSet.d.ts.map +1 -1
- package/dist/sets/sinEntityTypesSet.d.ts +1 -0
- package/dist/sets/sinEntityTypesSet.d.ts.map +1 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +1 -0
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts.map +1 -1
- package/dist/sets/storyBossesSet.d.ts +1 -0
- package/dist/sets/storyBossesSet.d.ts.map +1 -1
- package/dist/shaderCrashFix.d.ts +1 -0
- package/dist/shaderCrashFix.d.ts.map +1 -1
- package/dist/shaderCrashFix.lua +2 -2
- package/dist/types/AnyEntity.d.ts +1 -0
- package/dist/types/AnyEntity.d.ts.map +1 -1
- package/dist/types/AnyGridEntity.d.ts +1 -0
- package/dist/types/AnyGridEntity.d.ts.map +1 -1
- package/dist/types/CollectibleIndex.d.ts +1 -0
- package/dist/types/CollectibleIndex.d.ts.map +1 -1
- package/dist/types/Immutable.d.ts +1 -0
- package/dist/types/Immutable.d.ts.map +1 -1
- package/dist/types/PickingUpItem.d.ts +1 -0
- package/dist/types/PickingUpItem.d.ts.map +1 -1
- package/dist/types/PickingUpItem.lua +5 -5
- package/dist/types/PickupIndex.d.ts +1 -0
- package/dist/types/PickupIndex.d.ts.map +1 -1
- package/dist/types/PlayerIndex.d.ts +1 -0
- package/dist/types/PlayerIndex.d.ts.map +1 -1
- package/dist/types/PossibleStatType.d.ts +1 -0
- package/dist/types/PossibleStatType.d.ts.map +1 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts +1 -0
- package/dist/types/SerializedIsaacAPIClass.d.ts.map +1 -1
- package/dist/types/TSTLClass.d.ts +1 -0
- package/dist/types/TSTLClass.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/customPickup.ts +3 -3
|
@@ -33,7 +33,7 @@ local saveToDisk = ____save.saveToDisk
|
|
|
33
33
|
local ____saveDataManagerConstants = require("features.saveDataManager.saveDataManagerConstants")
|
|
34
34
|
local SAVE_DATA_MANAGER_DEBUG = ____saveDataManagerConstants.SAVE_DATA_MANAGER_DEBUG
|
|
35
35
|
local SAVE_DATA_MANAGER_FEATURE_NAME = ____saveDataManagerConstants.SAVE_DATA_MANAGER_FEATURE_NAME
|
|
36
|
-
function postPlayerInit(
|
|
36
|
+
function postPlayerInit()
|
|
37
37
|
if mod == nil then
|
|
38
38
|
error(("The mod for the " .. SAVE_DATA_MANAGER_FEATURE_NAME) .. " was not initialized.")
|
|
39
39
|
end
|
|
@@ -41,49 +41,48 @@ function postPlayerInit(self)
|
|
|
41
41
|
return
|
|
42
42
|
end
|
|
43
43
|
loadedDataOnThisRun = true
|
|
44
|
-
loadFromDisk(
|
|
44
|
+
loadFromDisk(mod, saveDataMap)
|
|
45
45
|
local gameFrameCount = game:GetFrameCount()
|
|
46
46
|
local isContinued = gameFrameCount ~= 0
|
|
47
47
|
if not isContinued then
|
|
48
|
-
restoreDefaultsAll(
|
|
48
|
+
restoreDefaultsAll()
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
|
-
function preGameExit(
|
|
51
|
+
function preGameExit()
|
|
52
52
|
if mod == nil then
|
|
53
53
|
error(("The mod for the " .. SAVE_DATA_MANAGER_FEATURE_NAME) .. " was not initialized.")
|
|
54
54
|
end
|
|
55
|
-
saveToDisk(
|
|
56
|
-
restoreDefaultsAll(
|
|
55
|
+
saveToDisk(mod, saveDataMap, saveDataConditionalFuncMap)
|
|
56
|
+
restoreDefaultsAll()
|
|
57
57
|
loadedDataOnThisRun = false
|
|
58
58
|
end
|
|
59
|
-
function postNewLevel(
|
|
59
|
+
function postNewLevel()
|
|
60
60
|
if mod == nil then
|
|
61
61
|
error(("The mod for the " .. SAVE_DATA_MANAGER_FEATURE_NAME) .. " was not initialized.")
|
|
62
62
|
end
|
|
63
|
-
restoreDefaults(
|
|
64
|
-
if not onFirstFloor(
|
|
65
|
-
saveToDisk(
|
|
63
|
+
restoreDefaults(SaveDataKey.LEVEL)
|
|
64
|
+
if not onFirstFloor() then
|
|
65
|
+
saveToDisk(mod, saveDataMap, saveDataConditionalFuncMap)
|
|
66
66
|
end
|
|
67
67
|
end
|
|
68
|
-
function postNewRoomEarly(
|
|
69
|
-
restoreDefaults(
|
|
68
|
+
function postNewRoomEarly()
|
|
69
|
+
restoreDefaults(SaveDataKey.ROOM)
|
|
70
70
|
end
|
|
71
|
-
function restoreDefaultsAll(
|
|
72
|
-
restoreDefaults(
|
|
73
|
-
restoreDefaults(
|
|
74
|
-
restoreDefaults(
|
|
71
|
+
function restoreDefaultsAll()
|
|
72
|
+
restoreDefaults(SaveDataKey.RUN)
|
|
73
|
+
restoreDefaults(SaveDataKey.LEVEL)
|
|
74
|
+
restoreDefaults(SaveDataKey.ROOM)
|
|
75
75
|
end
|
|
76
|
-
function restoreDefaults(
|
|
76
|
+
function restoreDefaults(saveDataKey)
|
|
77
77
|
iterateTableInOrder(
|
|
78
|
-
nil,
|
|
79
78
|
saveDataMap,
|
|
80
|
-
function(
|
|
81
|
-
____exports.restoreDefaultSaveData(
|
|
79
|
+
function(subscriberName, saveData)
|
|
80
|
+
____exports.restoreDefaultSaveData(subscriberName, saveData, saveDataKey)
|
|
82
81
|
end,
|
|
83
82
|
SAVE_DATA_MANAGER_DEBUG
|
|
84
83
|
)
|
|
85
84
|
end
|
|
86
|
-
function ____exports.restoreDefaultSaveData(
|
|
85
|
+
function ____exports.restoreDefaultSaveData(subscriberName, saveData, saveDataKey)
|
|
87
86
|
if not RESETTABLE_SAVE_DATA_KEYS:has(saveDataKey) then
|
|
88
87
|
error("Unknown save data key name of: " .. saveDataKey)
|
|
89
88
|
end
|
|
@@ -93,19 +92,19 @@ function ____exports.restoreDefaultSaveData(self, subscriberName, saveData, save
|
|
|
93
92
|
end
|
|
94
93
|
local saveDataDefaults = saveDataDefaultsMap[subscriberName]
|
|
95
94
|
if saveDataDefaults == nil then
|
|
96
|
-
logError(
|
|
95
|
+
logError("Failed to find the default copy of the save data for subscriber: " .. subscriberName)
|
|
97
96
|
return
|
|
98
97
|
end
|
|
99
98
|
local childTableDefaults = saveDataDefaults[saveDataKey]
|
|
100
99
|
if childTableDefaults == nil then
|
|
101
|
-
logError(
|
|
100
|
+
logError(((("Failed to find the default copy of the child table \"" .. saveDataKey) .. "\" for subscriber \"") .. subscriberName) .. "\". This error usually means that your save data is out of date. You can try purging all of your save data by deleting the following directory: C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\data")
|
|
102
101
|
return
|
|
103
102
|
end
|
|
104
|
-
local childTableDefaultsCopy = deepCopy(
|
|
105
|
-
clearAndCopyAllElements(
|
|
103
|
+
local childTableDefaultsCopy = deepCopy(childTableDefaults, SerializationType.NONE, (subscriberName .. " --> ") .. saveDataKey)
|
|
104
|
+
clearAndCopyAllElements(childTable, childTableDefaultsCopy)
|
|
106
105
|
end
|
|
107
|
-
function clearAndCopyAllElements(
|
|
108
|
-
clearTable(
|
|
106
|
+
function clearAndCopyAllElements(oldTable, newTable)
|
|
107
|
+
clearTable(oldTable)
|
|
109
108
|
for key, value in pairs(newTable) do
|
|
110
109
|
oldTable[key] = value
|
|
111
110
|
end
|
|
@@ -113,23 +112,23 @@ end
|
|
|
113
112
|
RESETTABLE_SAVE_DATA_KEYS = __TS__New(Set, {SaveDataKey.RUN, SaveDataKey.LEVEL, SaveDataKey.ROOM})
|
|
114
113
|
mod = nil
|
|
115
114
|
loadedDataOnThisRun = false
|
|
116
|
-
function ____exports.saveDataManagerInit(
|
|
115
|
+
function ____exports.saveDataManagerInit(incomingMod)
|
|
117
116
|
mod = incomingMod
|
|
118
117
|
mod:AddCallback(ModCallback.POST_PLAYER_INIT, postPlayerInit)
|
|
119
118
|
mod:AddCallback(ModCallback.PRE_GAME_EXIT, preGameExit)
|
|
120
119
|
mod:AddCallback(ModCallback.POST_NEW_LEVEL, postNewLevel)
|
|
121
120
|
mod:AddCallbackCustom(ModCallbackCustom.POST_NEW_ROOM_EARLY, postNewRoomEarly)
|
|
122
121
|
end
|
|
123
|
-
function ____exports.forceSaveDataManagerSave(
|
|
122
|
+
function ____exports.forceSaveDataManagerSave()
|
|
124
123
|
if mod == nil then
|
|
125
124
|
return
|
|
126
125
|
end
|
|
127
|
-
saveToDisk(
|
|
126
|
+
saveToDisk(mod, saveDataMap, saveDataConditionalFuncMap)
|
|
128
127
|
end
|
|
129
|
-
function ____exports.forceSaveDataManagerLoad(
|
|
128
|
+
function ____exports.forceSaveDataManagerLoad()
|
|
130
129
|
if mod == nil then
|
|
131
130
|
return
|
|
132
131
|
end
|
|
133
|
-
loadFromDisk(
|
|
132
|
+
loadFromDisk(mod, saveDataMap)
|
|
134
133
|
end
|
|
135
134
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maps.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/maps.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"maps.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/maps.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,WAAW,qDAAiC,CAAC;AAE1D,eAAO,MAAM,mBAAmB,qDAAiC,CAAC;AAClE,eAAO,MAAM,0BAA0B,uBAA4B,OAAO,CAAG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/merge.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/merge.ts"],"names":[],"mappings":";;AAgBA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,KAAK,CACnB,SAAS,EACL,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,GAC1B,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,GACvB,GAAG,CAAC,SAAS,CAAC,EAClB,QAAQ,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,EACpC,oBAAoB,EAAE,MAAM,GAC3B,IAAI,CA2BN"}
|
|
@@ -52,45 +52,43 @@ local isSerializationBrand = ____serializationBrands.isSerializationBrand
|
|
|
52
52
|
-- table key does not exist.) The consequence of this is that it can copy over old variables that
|
|
53
53
|
-- are no longer used in the code, or copy over old variables of a different type, which can cause
|
|
54
54
|
-- run-time errors. In such cases, users will have to manually delete their save data.
|
|
55
|
-
function ____exports.merge(
|
|
55
|
+
function ____exports.merge(oldObject, newTable, traversalDescription)
|
|
56
56
|
if SAVE_DATA_MANAGER_DEBUG then
|
|
57
|
-
log(
|
|
57
|
+
log("merge is traversing: " .. traversalDescription)
|
|
58
58
|
end
|
|
59
|
-
if not isTable(
|
|
59
|
+
if not isTable(oldObject) then
|
|
60
60
|
error("The first argument given to the merge function is not a table.")
|
|
61
61
|
end
|
|
62
|
-
if not isTable(
|
|
62
|
+
if not isTable(newTable) then
|
|
63
63
|
error("The second argument given to the merge function is not a table.")
|
|
64
64
|
end
|
|
65
|
-
if isArray(
|
|
66
|
-
mergeArray(
|
|
65
|
+
if isArray(oldObject) and isArray(newTable) then
|
|
66
|
+
mergeArray(oldObject, newTable)
|
|
67
67
|
return
|
|
68
68
|
end
|
|
69
|
-
if isTSTLMap(
|
|
70
|
-
mergeTSTLObject(
|
|
69
|
+
if isTSTLMap(oldObject) or isTSTLSet(oldObject) or isDefaultMap(oldObject) then
|
|
70
|
+
mergeTSTLObject(oldObject, newTable, traversalDescription)
|
|
71
71
|
else
|
|
72
|
-
mergeTable(
|
|
72
|
+
mergeTable(oldObject, newTable, traversalDescription)
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
|
-
function mergeArray(
|
|
76
|
-
clearTable(
|
|
75
|
+
function mergeArray(oldArray, newArray)
|
|
76
|
+
clearTable(oldArray)
|
|
77
77
|
iterateTableInOrder(
|
|
78
|
-
nil,
|
|
79
78
|
newArray,
|
|
80
|
-
function(
|
|
79
|
+
function(key, value)
|
|
81
80
|
oldArray[key] = value
|
|
82
81
|
end,
|
|
83
82
|
SAVE_DATA_MANAGER_DEBUG
|
|
84
83
|
)
|
|
85
84
|
end
|
|
86
|
-
function mergeTSTLObject(
|
|
85
|
+
function mergeTSTLObject(oldObject, newTable, traversalDescription)
|
|
87
86
|
oldObject:clear()
|
|
88
87
|
local convertStringKeysToNumbers = newTable[SerializationBrand.OBJECT_WITH_NUMBER_KEYS] ~= nil
|
|
89
88
|
iterateTableInOrder(
|
|
90
|
-
nil,
|
|
91
89
|
newTable,
|
|
92
|
-
function(
|
|
93
|
-
if isSerializationBrand(
|
|
90
|
+
function(key, value)
|
|
91
|
+
if isSerializationBrand(key) then
|
|
94
92
|
return
|
|
95
93
|
end
|
|
96
94
|
local keyToUse = key
|
|
@@ -101,49 +99,48 @@ function mergeTSTLObject(self, oldObject, newTable, traversalDescription)
|
|
|
101
99
|
end
|
|
102
100
|
keyToUse = numberKey
|
|
103
101
|
end
|
|
104
|
-
if isTSTLMap(
|
|
102
|
+
if isTSTLMap(oldObject) or isDefaultMap(oldObject) then
|
|
105
103
|
local valueCopy
|
|
106
|
-
if isTable(
|
|
107
|
-
valueCopy = deepCopy(
|
|
104
|
+
if isTable(value) then
|
|
105
|
+
valueCopy = deepCopy(value, SerializationType.DESERIALIZE, traversalDescription)
|
|
108
106
|
else
|
|
109
107
|
valueCopy = value
|
|
110
108
|
end
|
|
111
109
|
oldObject:set(keyToUse, valueCopy)
|
|
112
|
-
elseif isTSTLSet(
|
|
110
|
+
elseif isTSTLSet(oldObject) then
|
|
113
111
|
oldObject:add(keyToUse)
|
|
114
112
|
end
|
|
115
113
|
end,
|
|
116
114
|
SAVE_DATA_MANAGER_DEBUG
|
|
117
115
|
)
|
|
118
116
|
end
|
|
119
|
-
function mergeTable(
|
|
117
|
+
function mergeTable(oldTable, newTable, traversalDescription)
|
|
120
118
|
iterateTableInOrder(
|
|
121
|
-
nil,
|
|
122
119
|
newTable,
|
|
123
|
-
function(
|
|
120
|
+
function(key, value)
|
|
124
121
|
if SAVE_DATA_MANAGER_DEBUG then
|
|
125
122
|
local valueToPrint = value == "" and "(empty string)" or tostring(value)
|
|
126
|
-
log(
|
|
123
|
+
log((("merge is merging: " .. traversalDescription) .. " --> ") .. valueToPrint)
|
|
127
124
|
end
|
|
128
|
-
if isSerializationBrand(
|
|
125
|
+
if isSerializationBrand(key) then
|
|
129
126
|
return
|
|
130
127
|
end
|
|
131
|
-
if isSerializedIsaacAPIClass(
|
|
128
|
+
if isSerializedIsaacAPIClass(value) then
|
|
132
129
|
if SAVE_DATA_MANAGER_DEBUG then
|
|
133
|
-
log(
|
|
130
|
+
log("merge found a serialized Isaac API class.")
|
|
134
131
|
end
|
|
135
|
-
local deserializedObject = deserializeIsaacAPIClass(
|
|
132
|
+
local deserializedObject = deserializeIsaacAPIClass(value)
|
|
136
133
|
oldTable[key] = deserializedObject
|
|
137
134
|
return
|
|
138
135
|
end
|
|
139
|
-
if isTable(
|
|
136
|
+
if isTable(value) then
|
|
140
137
|
local oldValue = oldTable[key]
|
|
141
|
-
if not isTable(
|
|
138
|
+
if not isTable(oldValue) then
|
|
142
139
|
oldValue = {}
|
|
143
140
|
oldTable[key] = oldValue
|
|
144
141
|
end
|
|
145
|
-
traversalDescription = getTraversalDescription(
|
|
146
|
-
____exports.merge(
|
|
142
|
+
traversalDescription = getTraversalDescription(key, traversalDescription)
|
|
143
|
+
____exports.merge(oldValue, value, traversalDescription)
|
|
147
144
|
else
|
|
148
145
|
oldTable[key] = value
|
|
149
146
|
end
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
/// <reference types="typescript-to-lua/language-extensions" />
|
|
3
|
+
/** @noSelfInFile */
|
|
3
4
|
import { SaveData } from "../../interfaces/SaveData";
|
|
4
5
|
export declare function saveToDisk(mod: Mod, saveDataMap: LuaMap<string, SaveData>, saveDataConditionalFuncMap: LuaMap<string, () => boolean>): void;
|
|
5
6
|
//# sourceMappingURL=save.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/save.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"save.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/save.ts"],"names":[],"mappings":";;;AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAMrD,wBAAgB,UAAU,CACxB,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,EACrC,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,OAAO,CAAC,GACxD,IAAI,CAUN"}
|
|
@@ -15,15 +15,14 @@ local iterateTableInOrder = ____table.iterateTableInOrder
|
|
|
15
15
|
local ____saveDataManagerConstants = require("features.saveDataManager.saveDataManagerConstants")
|
|
16
16
|
local SAVE_DATA_MANAGER_DEBUG = ____saveDataManagerConstants.SAVE_DATA_MANAGER_DEBUG
|
|
17
17
|
local SAVE_DATA_MANAGER_FEATURE_NAME = ____saveDataManagerConstants.SAVE_DATA_MANAGER_FEATURE_NAME
|
|
18
|
-
function getAllSaveDataToWriteToDisk(
|
|
18
|
+
function getAllSaveDataToWriteToDisk(saveDataMap, saveDataConditionalFuncMap)
|
|
19
19
|
local allSaveData = {}
|
|
20
20
|
iterateTableInOrder(
|
|
21
|
-
nil,
|
|
22
21
|
saveDataMap,
|
|
23
|
-
function(
|
|
22
|
+
function(subscriberName, saveData)
|
|
24
23
|
local conditionalFunc = saveDataConditionalFuncMap[subscriberName]
|
|
25
24
|
if conditionalFunc ~= nil then
|
|
26
|
-
local shouldSave = conditionalFunc(
|
|
25
|
+
local shouldSave = conditionalFunc()
|
|
27
26
|
if not shouldSave then
|
|
28
27
|
return
|
|
29
28
|
end
|
|
@@ -32,17 +31,17 @@ function getAllSaveDataToWriteToDisk(self, saveDataMap, saveDataConditionalFuncM
|
|
|
32
31
|
if #__TS__ObjectKeys(saveDataWithoutRoom) == 0 then
|
|
33
32
|
return
|
|
34
33
|
end
|
|
35
|
-
local saveDataCopy = deepCopy(
|
|
34
|
+
local saveDataCopy = deepCopy(saveDataWithoutRoom, SerializationType.SERIALIZE, subscriberName)
|
|
36
35
|
allSaveData[subscriberName] = saveDataCopy
|
|
37
36
|
end,
|
|
38
37
|
SAVE_DATA_MANAGER_DEBUG
|
|
39
38
|
)
|
|
40
39
|
return allSaveData
|
|
41
40
|
end
|
|
42
|
-
function ____exports.saveToDisk(
|
|
43
|
-
local allSaveData = getAllSaveDataToWriteToDisk(
|
|
44
|
-
local jsonString = jsonEncode(
|
|
41
|
+
function ____exports.saveToDisk(mod, saveDataMap, saveDataConditionalFuncMap)
|
|
42
|
+
local allSaveData = getAllSaveDataToWriteToDisk(saveDataMap, saveDataConditionalFuncMap)
|
|
43
|
+
local jsonString = jsonEncode(allSaveData)
|
|
45
44
|
mod:SaveData(jsonString)
|
|
46
|
-
log(
|
|
45
|
+
log(("The " .. SAVE_DATA_MANAGER_FEATURE_NAME) .. " wrote data to the \"save#.dat\" file.")
|
|
47
46
|
end
|
|
48
47
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saveDataManagerConstants.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/saveDataManagerConstants.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,eAAO,MAAM,uBAAuB,QAAQ,CAAC;AAE7C,eAAO,MAAM,8BAA8B,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"saveDataManagerConstants.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/saveDataManagerConstants.ts"],"names":[],"mappings":";AAAA,yEAAyE;AACzE,eAAO,MAAM,uBAAuB,QAAQ,CAAC;AAE7C,eAAO,MAAM,8BAA8B,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializationBrands.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/serializationBrands.ts"],"names":[],"mappings":"AASA,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAM1D"}
|
|
1
|
+
{"version":3,"file":"serializationBrands.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/serializationBrands.ts"],"names":[],"mappings":";AASA,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAM1D"}
|
|
@@ -8,10 +8,10 @@ local ____enums = require("functions.enums")
|
|
|
8
8
|
local getEnumValues = ____enums.getEnumValues
|
|
9
9
|
local ____types = require("functions.types")
|
|
10
10
|
local isString = ____types.isString
|
|
11
|
-
local SERIALIZATION_BRANDS = getEnumValues(
|
|
11
|
+
local SERIALIZATION_BRANDS = getEnumValues(SerializationBrand)
|
|
12
12
|
local SERIALIZATION_BRAND_SET = __TS__New(Set, SERIALIZATION_BRANDS)
|
|
13
|
-
function ____exports.isSerializationBrand(
|
|
14
|
-
if not isString(
|
|
13
|
+
function ____exports.isSerializationBrand(key)
|
|
14
|
+
if not isString(key) then
|
|
15
15
|
return false
|
|
16
16
|
end
|
|
17
17
|
return SERIALIZATION_BRAND_SET:has(key)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sirenHelpers.d.ts","sourceRoot":"","sources":["../../src/features/sirenHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EAEhB,MAAM,8BAA8B,CAAC;AAyEtC;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,eAAe,EAAE,eAAe,EAChC,eAAe,CAAC,EAAE,GAAG,GACpB,IAAI,CAQN;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAGxE"}
|
|
1
|
+
{"version":3,"file":"sirenHelpers.d.ts","sourceRoot":"","sources":["../../src/features/sirenHelpers.ts"],"names":[],"mappings":";AAAA,OAAO,EAEL,eAAe,EAEhB,MAAM,8BAA8B,CAAC;AAyEtC;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,eAAe,EAAE,eAAe,EAChC,eAAe,CAAC,EAAE,GAAG,GACpB,IAAI,CAQN;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAGxE"}
|
|
@@ -11,10 +11,10 @@ local ____entities = require("functions.entities")
|
|
|
11
11
|
local getEntities = ____entities.getEntities
|
|
12
12
|
local ____exports = require("features.saveDataManager.exports")
|
|
13
13
|
local saveDataManager = ____exports.saveDataManager
|
|
14
|
-
function postNPCInitSirenHelper(
|
|
15
|
-
checkReturnFamiliarToPlayer(
|
|
14
|
+
function postNPCInitSirenHelper(npc)
|
|
15
|
+
checkReturnFamiliarToPlayer(npc)
|
|
16
16
|
end
|
|
17
|
-
function checkReturnFamiliarToPlayer(
|
|
17
|
+
function checkReturnFamiliarToPlayer(npc)
|
|
18
18
|
if npc.Target == nil then
|
|
19
19
|
return
|
|
20
20
|
end
|
|
@@ -22,12 +22,12 @@ function checkReturnFamiliarToPlayer(self, npc)
|
|
|
22
22
|
if familiar == nil then
|
|
23
23
|
return
|
|
24
24
|
end
|
|
25
|
-
if blacklistEntryExists(
|
|
25
|
+
if blacklistEntryExists(familiar.Variant, familiar.SubType) then
|
|
26
26
|
npc:Remove()
|
|
27
27
|
familiar:AddToFollowers()
|
|
28
28
|
end
|
|
29
29
|
end
|
|
30
|
-
function blacklistEntryExists(
|
|
30
|
+
function blacklistEntryExists(incomingFamiliarVariant, incomingFamiliarSubType)
|
|
31
31
|
for ____, ____value in ipairs(v.run.familiarBlacklist) do
|
|
32
32
|
local familiarVariant = ____value[1]
|
|
33
33
|
local familiarSubType = ____value[2]
|
|
@@ -40,9 +40,9 @@ function blacklistEntryExists(self, incomingFamiliarVariant, incomingFamiliarSub
|
|
|
40
40
|
end
|
|
41
41
|
return false
|
|
42
42
|
end
|
|
43
|
-
function getSirenHelper(
|
|
43
|
+
function getSirenHelper(familiar)
|
|
44
44
|
local familiarPtrHash = GetPtrHash(familiar)
|
|
45
|
-
local sirenHelpers = getEntities(
|
|
45
|
+
local sirenHelpers = getEntities(EntityType.SIREN_HELPER)
|
|
46
46
|
return __TS__ArrayFind(
|
|
47
47
|
sirenHelpers,
|
|
48
48
|
function(____, sirenHelper) return sirenHelper.Target ~= nil and GetPtrHash(sirenHelper.Target) == familiarPtrHash end
|
|
@@ -52,8 +52,8 @@ local FEATURE_NAME = "sirenHelpers"
|
|
|
52
52
|
v = {run = {familiarBlacklist = {}}}
|
|
53
53
|
---
|
|
54
54
|
-- @internal
|
|
55
|
-
function ____exports.sirenHelpersInit(
|
|
56
|
-
saveDataManager(
|
|
55
|
+
function ____exports.sirenHelpersInit(mod)
|
|
56
|
+
saveDataManager(FEATURE_NAME, v)
|
|
57
57
|
mod:AddCallback(ModCallback.POST_NPC_INIT, postNPCInitSirenHelper, EntityType.SIREN_HELPER)
|
|
58
58
|
end
|
|
59
59
|
--- Blacklists a familiar from being stolen by The Siren boss. This should be called once at the
|
|
@@ -62,9 +62,9 @@ end
|
|
|
62
62
|
-- @param familiarVariant The familiar variant to blacklist.
|
|
63
63
|
-- @param familiarSubType The sub-type to blacklist. Optional. The default is to blacklist all
|
|
64
64
|
-- sub-types of the given variant.
|
|
65
|
-
function ____exports.setFamiliarNoSirenSteal(
|
|
66
|
-
errorIfFeaturesNotInitialized(
|
|
67
|
-
if blacklistEntryExists(
|
|
65
|
+
function ____exports.setFamiliarNoSirenSteal(familiarVariant, familiarSubType)
|
|
66
|
+
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
67
|
+
if blacklistEntryExists(familiarVariant, familiarSubType) then
|
|
68
68
|
return
|
|
69
69
|
end
|
|
70
70
|
local ____v_run_familiarBlacklist_0 = v.run.familiarBlacklist
|
|
@@ -75,8 +75,8 @@ end
|
|
|
75
75
|
--
|
|
76
76
|
-- @param familiar The familiar to be checked.
|
|
77
77
|
-- @returns Returns whether the familiar has been stolen by The Siren.
|
|
78
|
-
function ____exports.hasSirenStolenFamiliar(
|
|
79
|
-
errorIfFeaturesNotInitialized(
|
|
80
|
-
return getSirenHelper(
|
|
78
|
+
function ____exports.hasSirenStolenFamiliar(familiar)
|
|
79
|
+
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
80
|
+
return getSirenHelper(familiar) ~= nil
|
|
81
81
|
end
|
|
82
82
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stageHistory.d.ts","sourceRoot":"","sources":["../../src/features/stageHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAkCrE,+FAA+F;AAC/F,wBAAgB,eAAe,IAAI,aAAa,CAC9C;IAAC,KAAK,EAAE,UAAU;IAAE,SAAS,EAAE,SAAS;CAAC,CAC1C,CAGA;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,UAAU,EACjB,SAAS,CAAC,EAAE,SAAS,GACpB,OAAO,CAaT"}
|
|
1
|
+
{"version":3,"file":"stageHistory.d.ts","sourceRoot":"","sources":["../../src/features/stageHistory.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAkCrE,+FAA+F;AAC/F,wBAAgB,eAAe,IAAI,aAAa,CAC9C;IAAC,KAAK,EAAE,UAAU;IAAE,SAAS,EAAE,SAAS;CAAC,CAC1C,CAGA;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,UAAU,EACjB,SAAS,CAAC,EAAE,SAAS,GACpB,OAAO,CAaT"}
|
|
@@ -10,7 +10,7 @@ local ____featuresInitialized = require("featuresInitialized")
|
|
|
10
10
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
11
11
|
local ____exports = require("features.saveDataManager.exports")
|
|
12
12
|
local saveDataManager = ____exports.saveDataManager
|
|
13
|
-
function postNewLevelReordered(
|
|
13
|
+
function postNewLevelReordered()
|
|
14
14
|
local level = game:GetLevel()
|
|
15
15
|
local stage = level:GetStage()
|
|
16
16
|
local stageType = level:GetStageType()
|
|
@@ -21,13 +21,13 @@ local FEATURE_NAME = "stageHistory"
|
|
|
21
21
|
v = {run = {stageHistory = {}}}
|
|
22
22
|
---
|
|
23
23
|
-- @internal
|
|
24
|
-
function ____exports.stageHistoryInit(
|
|
25
|
-
saveDataManager(
|
|
24
|
+
function ____exports.stageHistoryInit(mod)
|
|
25
|
+
saveDataManager(FEATURE_NAME, v)
|
|
26
26
|
mod:AddCallbackCustom(ModCallbackCustom.POST_NEW_LEVEL_REORDERED, postNewLevelReordered)
|
|
27
27
|
end
|
|
28
28
|
--- Helper function to get all of the stages that a player has visited thus far on this run.
|
|
29
|
-
function ____exports.getStageHistory(
|
|
30
|
-
errorIfFeaturesNotInitialized(
|
|
29
|
+
function ____exports.getStageHistory()
|
|
30
|
+
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
31
31
|
return v.run.stageHistory
|
|
32
32
|
end
|
|
33
33
|
--- Helper function to check if a player has previous visited a particular stage (or stage + stage
|
|
@@ -36,8 +36,8 @@ end
|
|
|
36
36
|
-- @param stage The stage to check for.
|
|
37
37
|
-- @param stageType Optional. If provided, will check for a specific stage and stage type
|
|
38
38
|
-- combination.
|
|
39
|
-
function ____exports.hasVisitedStage(
|
|
40
|
-
errorIfFeaturesNotInitialized(
|
|
39
|
+
function ____exports.hasVisitedStage(stage, stageType)
|
|
40
|
+
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
41
41
|
if stageType == nil then
|
|
42
42
|
return __TS__ArraySome(
|
|
43
43
|
v.run.stageHistory,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taintedLazarusPlayers.d.ts","sourceRoot":"","sources":["../../src/features/taintedLazarusPlayers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taintedLazarusPlayers.d.ts","sourceRoot":"","sources":["../../src/features/taintedLazarusPlayers.ts"],"names":[],"mappings":";;AA+FA;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,YAAY,GACnB,YAAY,GAAG,SAAS,CAK1B"}
|
|
@@ -12,7 +12,7 @@ local ____log = require("functions.log")
|
|
|
12
12
|
local logError = ____log.logError
|
|
13
13
|
local ____exports = require("features.saveDataManager.exports")
|
|
14
14
|
local saveDataManager = ____exports.saveDataManager
|
|
15
|
-
function postPlayerInit(
|
|
15
|
+
function postPlayerInit(player)
|
|
16
16
|
local character = player:GetPlayerType()
|
|
17
17
|
if character == PlayerType.LAZARUS_B then
|
|
18
18
|
local ____v_run_queuedTaintedLazarus_0 = v.run.queuedTaintedLazarus
|
|
@@ -23,9 +23,9 @@ function postPlayerInit(self, player)
|
|
|
23
23
|
else
|
|
24
24
|
return
|
|
25
25
|
end
|
|
26
|
-
checkDequeue(
|
|
26
|
+
checkDequeue()
|
|
27
27
|
end
|
|
28
|
-
function checkDequeue(
|
|
28
|
+
function checkDequeue()
|
|
29
29
|
if #v.run.queuedTaintedLazarus == 0 or #v.run.queuedDeadTaintedLazarus == 0 then
|
|
30
30
|
return
|
|
31
31
|
end
|
|
@@ -37,7 +37,7 @@ function checkDequeue(self)
|
|
|
37
37
|
local taintedLazarusPtrHash = GetPtrHash(taintedLazarus)
|
|
38
38
|
local deadTaintedLazarusPtrHash = GetPtrHash(deadTaintedLazarus)
|
|
39
39
|
if taintedLazarusPtrHash == deadTaintedLazarusPtrHash then
|
|
40
|
-
logError(
|
|
40
|
+
logError("Failed to cache the Tainted Lazarus player objects, since the hash for Tainted Lazarus and Dead Tainted Lazarus were the same.")
|
|
41
41
|
return
|
|
42
42
|
end
|
|
43
43
|
v.run.subPlayerMap:set(taintedLazarusPtrHash, deadTaintedLazarus)
|
|
@@ -51,8 +51,8 @@ v = {run = {
|
|
|
51
51
|
}}
|
|
52
52
|
---
|
|
53
53
|
-- @internal
|
|
54
|
-
function ____exports.taintedLazarusPlayersInit(
|
|
55
|
-
saveDataManager(
|
|
54
|
+
function ____exports.taintedLazarusPlayersInit(mod)
|
|
55
|
+
saveDataManager(FEATURE_NAME, v, false)
|
|
56
56
|
mod:AddCallback(ModCallback.POST_PLAYER_INIT, postPlayerInit)
|
|
57
57
|
end
|
|
58
58
|
--- Helper function to get the other version of Tainted Lazarus.
|
|
@@ -64,8 +64,8 @@ end
|
|
|
64
64
|
-- If you call the `EntityPlayer.Exists` method on the returned object, it will return false.
|
|
65
65
|
-- However, you can still call the other methods like you normally would (e.g.
|
|
66
66
|
-- `EntityPlayer.AddCollectible`).
|
|
67
|
-
function ____exports.getTaintedLazarusSubPlayer(
|
|
68
|
-
errorIfFeaturesNotInitialized(
|
|
67
|
+
function ____exports.getTaintedLazarusSubPlayer(player)
|
|
68
|
+
errorIfFeaturesNotInitialized(FEATURE_NAME)
|
|
69
69
|
local ptrHash = GetPtrHash(player)
|
|
70
70
|
return v.run.subPlayerMap:get(ptrHash)
|
|
71
71
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featuresInitialized.d.ts","sourceRoot":"","sources":["../src/featuresInitialized.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,IAAI,OAAO,CAEhD;AAED,wBAAgB,6BAA6B,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAMvE;AAED,wBAAgB,sBAAsB,IAAI,IAAI,CAE7C"}
|
|
1
|
+
{"version":3,"file":"featuresInitialized.d.ts","sourceRoot":"","sources":["../src/featuresInitialized.ts"],"names":[],"mappings":";AAEA,wBAAgB,sBAAsB,IAAI,OAAO,CAEhD;AAED,wBAAgB,6BAA6B,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAMvE;AAED,wBAAgB,sBAAsB,IAAI,IAAI,CAE7C"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
local ____exports = {}
|
|
2
2
|
local featuresInitialized = false
|
|
3
|
-
function ____exports.areFeaturesInitialized(
|
|
3
|
+
function ____exports.areFeaturesInitialized()
|
|
4
4
|
return featuresInitialized
|
|
5
5
|
end
|
|
6
|
-
function ____exports.errorIfFeaturesNotInitialized(
|
|
7
|
-
if not ____exports.areFeaturesInitialized(
|
|
6
|
+
function ____exports.errorIfFeaturesNotInitialized(featureName)
|
|
7
|
+
if not ____exports.areFeaturesInitialized() then
|
|
8
8
|
error(("The \"" .. featureName) .. "\" feature is not initialized. You must first upgrade your mod object by calling the \"upgradeMod\" function.")
|
|
9
9
|
end
|
|
10
10
|
end
|
|
11
|
-
function ____exports.setFeaturesInitialized(
|
|
11
|
+
function ____exports.setFeaturesInitialized()
|
|
12
12
|
featuresInitialized = true
|
|
13
13
|
end
|
|
14
14
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ambush.d.ts","sourceRoot":"","sources":["../../src/functions/ambush.ts"],"names":[],"mappings":"AAQA;;;;;GAKG;AACH,wBAAgB,WAAW,IAAI,IAAI,CA8BlC"}
|
|
1
|
+
{"version":3,"file":"ambush.d.ts","sourceRoot":"","sources":["../../src/functions/ambush.ts"],"names":[],"mappings":";AAQA;;;;;GAKG;AACH,wBAAgB,WAAW,IAAI,IAAI,CA8BlC"}
|