isaacscript-common 6.6.1-dev.1 → 6.6.1-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cachedClasses.d.ts +56 -0
- package/dist/cachedClasses.d.ts.map +1 -0
- package/dist/cachedClasses.lua +50 -0
- package/dist/callbacks/customRevive.d.ts +2 -0
- package/dist/callbacks/customRevive.d.ts.map +1 -0
- package/dist/callbacks/customRevive.lua +148 -0
- package/dist/callbacks/itemPickup.d.ts +2 -0
- package/dist/callbacks/itemPickup.d.ts.map +1 -0
- package/dist/callbacks/itemPickup.lua +66 -0
- package/dist/callbacks/postAmbush.d.ts +2 -0
- package/dist/callbacks/postAmbush.d.ts.map +1 -0
- package/dist/callbacks/postAmbush.lua +56 -0
- package/dist/callbacks/postBombExploded.d.ts +2 -0
- package/dist/callbacks/postBombExploded.d.ts.map +1 -0
- package/dist/callbacks/postBombExploded.lua +26 -0
- package/dist/callbacks/postBombInitLate.d.ts +2 -0
- package/dist/callbacks/postBombInitLate.d.ts.map +1 -0
- package/dist/callbacks/postBombInitLate.lua +33 -0
- package/dist/callbacks/postBoneSwing.d.ts +2 -0
- package/dist/callbacks/postBoneSwing.d.ts.map +1 -0
- package/dist/callbacks/postBoneSwing.lua +50 -0
- package/dist/callbacks/postCollectibleEmpty.d.ts +2 -0
- package/dist/callbacks/postCollectibleEmpty.d.ts.map +1 -0
- package/dist/callbacks/postCollectibleEmpty.lua +40 -0
- package/dist/callbacks/postCollectibleInitFirst.d.ts +2 -0
- package/dist/callbacks/postCollectibleInitFirst.d.ts.map +1 -0
- package/dist/callbacks/postCollectibleInitFirst.lua +35 -0
- package/dist/callbacks/postCursedTeleport.d.ts +2 -0
- package/dist/callbacks/postCursedTeleport.d.ts.map +1 -0
- package/dist/callbacks/postCursedTeleport.lua +122 -0
- package/dist/callbacks/postCustomDoorEnter.d.ts +51 -0
- package/dist/callbacks/postCustomDoorEnter.d.ts.map +1 -0
- package/dist/callbacks/postCustomDoorEnter.lua +240 -0
- package/dist/callbacks/postDiceRoomActivated.d.ts +2 -0
- package/dist/callbacks/postDiceRoomActivated.d.ts.map +1 -0
- package/dist/callbacks/postDiceRoomActivated.lua +41 -0
- package/dist/callbacks/postDoorRender.d.ts +2 -0
- package/dist/callbacks/postDoorRender.d.ts.map +1 -0
- package/dist/callbacks/postDoorRender.lua +26 -0
- package/dist/callbacks/postDoorUpdate.d.ts +2 -0
- package/dist/callbacks/postDoorUpdate.d.ts.map +1 -0
- package/dist/callbacks/postDoorUpdate.lua +26 -0
- package/dist/callbacks/postEffectInitLate.d.ts +2 -0
- package/dist/callbacks/postEffectInitLate.d.ts.map +1 -0
- package/dist/callbacks/postEffectInitLate.lua +33 -0
- package/dist/callbacks/postEffectStateChanged.d.ts +2 -0
- package/dist/callbacks/postEffectStateChanged.d.ts.map +1 -0
- package/dist/callbacks/postEffectStateChanged.lua +39 -0
- package/dist/callbacks/postEsauJr.d.ts +2 -0
- package/dist/callbacks/postEsauJr.d.ts.map +1 -0
- package/dist/callbacks/postEsauJr.lua +70 -0
- package/dist/callbacks/postFamiliarInitLate.d.ts +2 -0
- package/dist/callbacks/postFamiliarInitLate.d.ts.map +1 -0
- package/dist/callbacks/postFamiliarInitLate.lua +33 -0
- package/dist/callbacks/postFamiliarStateChanged.d.ts +2 -0
- package/dist/callbacks/postFamiliarStateChanged.d.ts.map +1 -0
- package/dist/callbacks/postFamiliarStateChanged.lua +39 -0
- package/dist/callbacks/postFlip.d.ts +2 -0
- package/dist/callbacks/postFlip.d.ts.map +1 -0
- package/dist/callbacks/postFlip.lua +64 -0
- package/dist/callbacks/postGreedModeWave.d.ts +2 -0
- package/dist/callbacks/postGreedModeWave.d.ts.map +1 -0
- package/dist/callbacks/postGreedModeWave.lua +34 -0
- package/dist/callbacks/postGridEntity.d.ts +2 -0
- package/dist/callbacks/postGridEntity.d.ts.map +1 -0
- package/dist/callbacks/postGridEntity.lua +109 -0
- package/dist/callbacks/postGridEntityCollision.d.ts +2 -0
- package/dist/callbacks/postGridEntityCollision.d.ts.map +1 -0
- package/dist/callbacks/postGridEntityCollision.lua +67 -0
- package/dist/callbacks/postGridEntityRender.d.ts +2 -0
- package/dist/callbacks/postGridEntityRender.d.ts.map +1 -0
- package/dist/callbacks/postGridEntityRender.lua +26 -0
- package/dist/callbacks/postHolyMantleRemoved.d.ts +2 -0
- package/dist/callbacks/postHolyMantleRemoved.d.ts.map +1 -0
- package/dist/callbacks/postHolyMantleRemoved.lua +41 -0
- package/dist/callbacks/postItemDischarged.d.ts +3 -0
- package/dist/callbacks/postItemDischarged.d.ts.map +1 -0
- package/dist/callbacks/postItemDischarged.lua +105 -0
- package/dist/callbacks/postKnifeInitLate.d.ts +2 -0
- package/dist/callbacks/postKnifeInitLate.d.ts.map +1 -0
- package/dist/callbacks/postKnifeInitLate.lua +33 -0
- package/dist/callbacks/postLaserInitLate.d.ts +2 -0
- package/dist/callbacks/postLaserInitLate.d.ts.map +1 -0
- package/dist/callbacks/postLaserInitLate.lua +33 -0
- package/dist/callbacks/postNPCInitLate.d.ts +2 -0
- package/dist/callbacks/postNPCInitLate.d.ts.map +1 -0
- package/dist/callbacks/postNPCInitLate.lua +33 -0
- package/dist/callbacks/postNPCStateChanged.d.ts +2 -0
- package/dist/callbacks/postNPCStateChanged.d.ts.map +1 -0
- package/dist/callbacks/postNPCStateChanged.lua +39 -0
- package/dist/callbacks/postNewRoomEarly.d.ts +2 -0
- package/dist/callbacks/postNewRoomEarly.d.ts.map +1 -0
- package/dist/callbacks/postNewRoomEarly.lua +68 -0
- package/dist/callbacks/postPickupCollect.d.ts +2 -0
- package/dist/callbacks/postPickupCollect.d.ts.map +1 -0
- package/dist/callbacks/postPickupCollect.lua +41 -0
- package/dist/callbacks/postPickupInitFirst.d.ts +2 -0
- package/dist/callbacks/postPickupInitFirst.d.ts.map +1 -0
- package/dist/callbacks/postPickupInitFirst.lua +55 -0
- package/dist/callbacks/postPickupInitLate.d.ts +2 -0
- package/dist/callbacks/postPickupInitLate.d.ts.map +1 -0
- package/dist/callbacks/postPickupInitLate.lua +33 -0
- package/dist/callbacks/postPickupStateChanged.d.ts +2 -0
- package/dist/callbacks/postPickupStateChanged.d.ts.map +1 -0
- package/dist/callbacks/postPickupStateChanged.lua +39 -0
- package/dist/callbacks/postPitRender.d.ts +2 -0
- package/dist/callbacks/postPitRender.d.ts.map +1 -0
- package/dist/callbacks/postPitRender.lua +26 -0
- package/dist/callbacks/postPitUpdate.d.ts +2 -0
- package/dist/callbacks/postPitUpdate.d.ts.map +1 -0
- package/dist/callbacks/postPitUpdate.lua +26 -0
- package/dist/callbacks/postPlayerChangeHealth.d.ts +2 -0
- package/dist/callbacks/postPlayerChangeHealth.d.ts.map +1 -0
- package/dist/callbacks/postPlayerChangeHealth.lua +52 -0
- package/dist/callbacks/postPlayerChangeType.d.ts +2 -0
- package/dist/callbacks/postPlayerChangeType.d.ts.map +1 -0
- package/dist/callbacks/postPlayerChangeType.lua +41 -0
- package/dist/callbacks/postPlayerCollectible.d.ts +2 -0
- package/dist/callbacks/postPlayerCollectible.d.ts.map +1 -0
- package/dist/callbacks/postPlayerCollectible.lua +97 -0
- package/dist/callbacks/postPlayerFatalDamage.d.ts +2 -0
- package/dist/callbacks/postPlayerFatalDamage.d.ts.map +1 -0
- package/dist/callbacks/postPlayerFatalDamage.lua +99 -0
- package/dist/callbacks/postPlayerInitLate.d.ts +2 -0
- package/dist/callbacks/postPlayerInitLate.d.ts.map +1 -0
- package/dist/callbacks/postPlayerInitLate.lua +35 -0
- package/dist/callbacks/postPlayerReordered.d.ts +2 -0
- package/dist/callbacks/postPlayerReordered.d.ts.map +1 -0
- package/dist/callbacks/postPlayerReordered.lua +114 -0
- package/dist/callbacks/postPoopRender.d.ts +2 -0
- package/dist/callbacks/postPoopRender.d.ts.map +1 -0
- package/dist/callbacks/postPoopRender.lua +26 -0
- package/dist/callbacks/postPoopUpdate.d.ts +2 -0
- package/dist/callbacks/postPoopUpdate.d.ts.map +1 -0
- package/dist/callbacks/postPoopUpdate.lua +26 -0
- package/dist/callbacks/postPressurePlateRender.d.ts +2 -0
- package/dist/callbacks/postPressurePlateRender.d.ts.map +1 -0
- package/dist/callbacks/postPressurePlateRender.lua +26 -0
- package/dist/callbacks/postPressurePlateUpdate.d.ts +2 -0
- package/dist/callbacks/postPressurePlateUpdate.d.ts.map +1 -0
- package/dist/callbacks/postPressurePlateUpdate.lua +26 -0
- package/dist/callbacks/postProjectileInitLate.d.ts +2 -0
- package/dist/callbacks/postProjectileInitLate.d.ts.map +1 -0
- package/dist/callbacks/postProjectileInitLate.lua +33 -0
- package/dist/callbacks/postPurchase.d.ts +2 -0
- package/dist/callbacks/postPurchase.d.ts.map +1 -0
- package/dist/callbacks/postPurchase.lua +51 -0
- package/dist/callbacks/postRockRender.d.ts +2 -0
- package/dist/callbacks/postRockRender.d.ts.map +1 -0
- package/dist/callbacks/postRockRender.lua +26 -0
- package/dist/callbacks/postRockUpdate.d.ts +2 -0
- package/dist/callbacks/postRockUpdate.d.ts.map +1 -0
- package/dist/callbacks/postRockUpdate.lua +26 -0
- package/dist/callbacks/postRoomClearChanged.d.ts +2 -0
- package/dist/callbacks/postRoomClearChanged.d.ts.map +1 -0
- package/dist/callbacks/postRoomClearChanged.lua +44 -0
- package/dist/callbacks/postSacrifice.d.ts +2 -0
- package/dist/callbacks/postSacrifice.d.ts.map +1 -0
- package/dist/callbacks/postSacrifice.lua +45 -0
- package/dist/callbacks/postSlotDestroyed.d.ts +2 -0
- package/dist/callbacks/postSlotDestroyed.d.ts.map +1 -0
- package/dist/callbacks/postSlotDestroyed.lua +68 -0
- package/dist/callbacks/postSlotInitUpdate.d.ts +2 -0
- package/dist/callbacks/postSlotInitUpdate.d.ts.map +1 -0
- package/dist/callbacks/postSlotInitUpdate.lua +55 -0
- package/dist/callbacks/postSlotRender.d.ts +2 -0
- package/dist/callbacks/postSlotRender.d.ts.map +1 -0
- package/dist/callbacks/postSlotRender.lua +58 -0
- package/dist/callbacks/postSpikesRender.d.ts +2 -0
- package/dist/callbacks/postSpikesRender.d.ts.map +1 -0
- package/dist/callbacks/postSpikesRender.lua +26 -0
- package/dist/callbacks/postSpikesUpdate.d.ts +2 -0
- package/dist/callbacks/postSpikesUpdate.d.ts.map +1 -0
- package/dist/callbacks/postSpikesUpdate.lua +26 -0
- package/dist/callbacks/postTNTRender.d.ts +2 -0
- package/dist/callbacks/postTNTRender.d.ts.map +1 -0
- package/dist/callbacks/postTNTRender.lua +26 -0
- package/dist/callbacks/postTNTUpdate.d.ts +2 -0
- package/dist/callbacks/postTNTUpdate.d.ts.map +1 -0
- package/dist/callbacks/postTNTUpdate.lua +26 -0
- package/dist/callbacks/postTearInitLate.d.ts +2 -0
- package/dist/callbacks/postTearInitLate.d.ts.map +1 -0
- package/dist/callbacks/postTearInitLate.lua +33 -0
- package/dist/callbacks/postTearInitVeryLate.d.ts +2 -0
- package/dist/callbacks/postTearInitVeryLate.d.ts.map +1 -0
- package/dist/callbacks/postTearInitVeryLate.lua +36 -0
- package/dist/callbacks/postTransformation.d.ts +2 -0
- package/dist/callbacks/postTransformation.d.ts.map +1 -0
- package/dist/callbacks/postTransformation.lua +48 -0
- package/dist/callbacks/postTrinketBreak.d.ts +2 -0
- package/dist/callbacks/postTrinketBreak.d.ts.map +1 -0
- package/dist/callbacks/postTrinketBreak.lua +73 -0
- package/dist/callbacks/preBerserkDeath.d.ts +2 -0
- package/dist/callbacks/preBerserkDeath.d.ts.map +1 -0
- package/dist/callbacks/preBerserkDeath.lua +38 -0
- package/dist/callbacks/preNewLevel.d.ts +2 -0
- package/dist/callbacks/preNewLevel.d.ts.map +1 -0
- package/dist/callbacks/preNewLevel.lua +45 -0
- package/dist/callbacks/reorderedCallbacks.d.ts +30 -0
- package/dist/callbacks/reorderedCallbacks.d.ts.map +1 -0
- package/dist/callbacks/reorderedCallbacks.lua +118 -0
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts +6 -0
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postAmbushFinished.lua +29 -0
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts +6 -0
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postAmbushStarted.lua +29 -0
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postBombInitLate.lua +29 -0
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts +6 -0
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postBoneExploded.lua +29 -0
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts +5 -0
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postBoneSwing.lua +22 -0
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts +6 -0
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postCollectibleEmpty.lua +29 -0
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +6 -0
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.lua +29 -0
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +5 -0
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +22 -0
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +6 -0
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +35 -0
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +7 -0
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postCustomRevive.lua +29 -0
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts +6 -0
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postDiceRoomActivated.lua +29 -0
- package/dist/callbacks/subscriptions/postDoorRender.d.ts +7 -0
- package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postDoorRender.lua +30 -0
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +7 -0
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postDoorUpdate.lua +30 -0
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +29 -0
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts +6 -0
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postEffectStateChanged.lua +29 -0
- package/dist/callbacks/subscriptions/postEsauJr.d.ts +5 -0
- package/dist/callbacks/subscriptions/postEsauJr.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postEsauJr.lua +22 -0
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +29 -0
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts +6 -0
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.lua +29 -0
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +5 -0
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +22 -0
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts +5 -0
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postFirstFlip.lua +22 -0
- package/dist/callbacks/subscriptions/postFlip.d.ts +5 -0
- package/dist/callbacks/subscriptions/postFlip.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postFlip.lua +22 -0
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +4 -0
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +22 -0
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts +5 -0
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGreedModeWave.lua +22 -0
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts +7 -0
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGridEntityBroken.lua +35 -0
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts +7 -0
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCollision.lua +35 -0
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +7 -0
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +35 -0
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +7 -0
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +33 -0
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts +7 -0
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGridEntityRender.lua +35 -0
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts +7 -0
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.lua +35 -0
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +7 -0
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +35 -0
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts +7 -0
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.lua +34 -0
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts +6 -0
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postItemDischarged.lua +29 -0
- package/dist/callbacks/subscriptions/postItemPickup.d.ts +12 -0
- package/dist/callbacks/subscriptions/postItemPickup.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postItemPickup.lua +33 -0
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +29 -0
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +29 -0
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +29 -0
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts +7 -0
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postNPCStateChanged.lua +33 -0
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +2 -0
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +22 -0
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +2 -0
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +22 -0
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +2 -0
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +22 -0
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +34 -0
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts +6 -0
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPickupCollect.lua +29 -0
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts +6 -0
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPickupInitFirst.lua +29 -0
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +29 -0
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts +6 -0
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPickupStateChanged.lua +29 -0
- package/dist/callbacks/subscriptions/postPitRender.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPitRender.lua +30 -0
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPitUpdate.lua +30 -0
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +8 -0
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +34 -0
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +6 -0
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +29 -0
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +6 -0
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.lua +29 -0
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +6 -0
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +29 -0
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +45 -0
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +34 -0
- package/dist/callbacks/subscriptions/postPlayerInitReordered.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPlayerInitReordered.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +34 -0
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +34 -0
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +34 -0
- package/dist/callbacks/subscriptions/postPoopRender.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPoopRender.lua +30 -0
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPoopUpdate.lua +30 -0
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPressurePlateRender.lua +30 -0
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +30 -0
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +29 -0
- package/dist/callbacks/subscriptions/postPurchase.d.ts +7 -0
- package/dist/callbacks/subscriptions/postPurchase.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postPurchase.lua +22 -0
- package/dist/callbacks/subscriptions/postRockRender.d.ts +7 -0
- package/dist/callbacks/subscriptions/postRockRender.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postRockRender.lua +30 -0
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts +7 -0
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postRockUpdate.lua +30 -0
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts +5 -0
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postRoomClearChanged.lua +29 -0
- package/dist/callbacks/subscriptions/postSacrifice.d.ts +7 -0
- package/dist/callbacks/subscriptions/postSacrifice.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postSacrifice.lua +34 -0
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts +6 -0
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.lua +29 -0
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +8 -0
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +33 -0
- package/dist/callbacks/subscriptions/postSlotInit.d.ts +6 -0
- package/dist/callbacks/subscriptions/postSlotInit.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postSlotInit.lua +29 -0
- package/dist/callbacks/subscriptions/postSlotRender.d.ts +6 -0
- package/dist/callbacks/subscriptions/postSlotRender.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postSlotRender.lua +29 -0
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +29 -0
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts +7 -0
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postSpikesRender.lua +30 -0
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts +7 -0
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postSpikesUpdate.lua +30 -0
- package/dist/callbacks/subscriptions/postTNTRender.d.ts +7 -0
- package/dist/callbacks/subscriptions/postTNTRender.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postTNTRender.lua +30 -0
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts +7 -0
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postTNTUpdate.lua +30 -0
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postTearInitLate.lua +29 -0
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts +6 -0
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +29 -0
- package/dist/callbacks/subscriptions/postTransformation.d.ts +6 -0
- package/dist/callbacks/subscriptions/postTransformation.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postTransformation.lua +29 -0
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts +6 -0
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postTrinketBreak.lua +29 -0
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts +7 -0
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/preBerserkDeath.lua +35 -0
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts +7 -0
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/preCustomRevive.lua +38 -0
- package/dist/callbacks/subscriptions/preItemPickup.d.ts +12 -0
- package/dist/callbacks/subscriptions/preItemPickup.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/preItemPickup.lua +33 -0
- package/dist/callbacks/subscriptions/preNewLevel.d.ts +5 -0
- package/dist/callbacks/subscriptions/preNewLevel.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/preNewLevel.lua +22 -0
- package/dist/classes/DefaultMap.d.ts +110 -0
- package/dist/classes/DefaultMap.d.ts.map +1 -0
- package/dist/classes/DefaultMap.lua +134 -0
- package/dist/classes/ModUpgraded.d.ts +28 -0
- package/dist/classes/ModUpgraded.d.ts.map +1 -0
- package/dist/classes/ModUpgraded.lua +40 -0
- package/dist/constants.d.ts +140 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.lua +115 -0
- package/dist/constantsFirstLast.d.ts +131 -0
- package/dist/constantsFirstLast.d.ts.map +1 -0
- package/dist/constantsFirstLast.lua +113 -0
- package/dist/enums/AmbushType.d.ts +5 -0
- package/dist/enums/AmbushType.d.ts.map +1 -0
- package/dist/enums/AmbushType.lua +7 -0
- package/dist/enums/CornerType.d.ts +7 -0
- package/dist/enums/CornerType.d.ts.map +1 -0
- package/dist/enums/CornerType.lua +11 -0
- package/dist/enums/DecorationVariant.d.ts +10 -0
- package/dist/enums/DecorationVariant.d.ts.map +1 -0
- package/dist/enums/DecorationVariant.lua +7 -0
- package/dist/enums/HealthType.d.ts +17 -0
- package/dist/enums/HealthType.d.ts.map +1 -0
- package/dist/enums/HealthType.lua +24 -0
- package/dist/enums/ModCallbackCustom.d.ts +1204 -0
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -0
- package/dist/enums/ModCallbackCustom.lua +175 -0
- package/dist/enums/PocketItemType.d.ts +9 -0
- package/dist/enums/PocketItemType.d.ts.map +1 -0
- package/dist/enums/PocketItemType.lua +15 -0
- package/dist/enums/RockAltType.d.ts +8 -0
- package/dist/enums/RockAltType.d.ts.map +1 -0
- package/dist/enums/RockAltType.lua +13 -0
- package/dist/enums/SerializationType.d.ts +6 -0
- package/dist/enums/SerializationType.d.ts.map +1 -0
- package/dist/enums/SerializationType.lua +9 -0
- package/dist/enums/SlotDestructionType.d.ts +5 -0
- package/dist/enums/SlotDestructionType.d.ts.map +1 -0
- package/dist/enums/SlotDestructionType.lua +7 -0
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +8 -0
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts.map +1 -0
- package/dist/enums/private/CopyableIsaacAPIClassType.lua +8 -0
- package/dist/enums/private/SaveDataKey.d.ts +7 -0
- package/dist/enums/private/SaveDataKey.d.ts.map +1 -0
- package/dist/enums/private/SaveDataKey.lua +7 -0
- package/dist/enums/private/SerializationBrand.d.ts +38 -0
- package/dist/enums/private/SerializationBrand.d.ts.map +1 -0
- package/dist/enums/private/SerializationBrand.lua +17 -0
- package/dist/features/characterHealthConversion.d.ts +16 -0
- package/dist/features/characterHealthConversion.d.ts.map +1 -0
- package/dist/features/characterHealthConversion.lua +87 -0
- package/dist/features/characterStats.d.ts +25 -0
- package/dist/features/characterStats.d.ts.map +1 -0
- package/dist/features/characterStats.lua +54 -0
- package/dist/features/collectibleItemPoolType.d.ts +8 -0
- package/dist/features/collectibleItemPoolType.d.ts.map +1 -0
- package/dist/features/collectibleItemPoolType.lua +48 -0
- package/dist/features/customGridEntity.d.ts +42 -0
- package/dist/features/customGridEntity.d.ts.map +1 -0
- package/dist/features/customGridEntity.lua +156 -0
- package/dist/features/customStage/backdrop.d.ts +3 -0
- package/dist/features/customStage/backdrop.d.ts.map +1 -0
- package/dist/features/customStage/backdrop.lua +193 -0
- package/dist/features/customStage/customStageConstants.d.ts +2 -0
- package/dist/features/customStage/customStageConstants.d.ts.map +1 -0
- package/dist/features/customStage/customStageConstants.lua +3 -0
- package/dist/features/customStage/exports.d.ts +36 -0
- package/dist/features/customStage/exports.d.ts.map +1 -0
- package/dist/features/customStage/exports.lua +156 -0
- package/dist/features/customStage/gridEntities.d.ts +19 -0
- package/dist/features/customStage/gridEntities.d.ts.map +1 -0
- package/dist/features/customStage/gridEntities.lua +215 -0
- package/dist/features/customStage/init.d.ts +3 -0
- package/dist/features/customStage/init.d.ts.map +1 -0
- package/dist/features/customStage/init.lua +119 -0
- package/dist/features/customStage/metadata.lua +1 -0
- package/dist/features/customStage/shadows.d.ts +3 -0
- package/dist/features/customStage/shadows.d.ts.map +1 -0
- package/dist/features/customStage/shadows.lua +69 -0
- package/dist/features/customStage/streakText.d.ts +4 -0
- package/dist/features/customStage/streakText.d.ts.map +1 -0
- package/dist/features/customStage/streakText.lua +38 -0
- package/dist/features/customStage/util.d.ts +12 -0
- package/dist/features/customStage/util.d.ts.map +1 -0
- package/dist/features/customStage/util.lua +51 -0
- package/dist/features/customStage/v.d.ts +20 -0
- package/dist/features/customStage/v.d.ts.map +1 -0
- package/dist/features/customStage/v.lua +13 -0
- package/dist/features/customStage/versusScreen.d.ts +4 -0
- package/dist/features/customStage/versusScreen.d.ts.map +1 -0
- package/dist/features/customStage/versusScreen.lua +206 -0
- package/dist/features/debugDisplay/debugDisplay.d.ts +7 -0
- package/dist/features/debugDisplay/debugDisplay.d.ts.map +1 -0
- package/dist/features/debugDisplay/debugDisplay.lua +185 -0
- package/dist/features/debugDisplay/exports.d.ts +325 -0
- package/dist/features/debugDisplay/exports.d.ts.map +1 -0
- package/dist/features/debugDisplay/exports.lua +368 -0
- package/dist/features/debugDisplay/v.d.ts +46 -0
- package/dist/features/debugDisplay/v.d.ts.map +1 -0
- package/dist/features/debugDisplay/v.lua +63 -0
- package/dist/features/deployJSONRoom.d.ts +67 -0
- package/dist/features/deployJSONRoom.d.ts.map +1 -0
- package/dist/features/deployJSONRoom.lua +567 -0
- package/dist/features/disableAllSound.d.ts +19 -0
- package/dist/features/disableAllSound.d.ts.map +1 -0
- package/dist/features/disableAllSound.lua +62 -0
- package/dist/features/disableInputs.d.ts +63 -0
- package/dist/features/disableInputs.d.ts.map +1 -0
- package/dist/features/disableInputs.lua +134 -0
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts +163 -0
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts.map +1 -0
- package/dist/features/extraConsoleCommands/commandsDisplay.lua +219 -0
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts +10 -0
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts.map +1 -0
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +129 -0
- package/dist/features/extraConsoleCommands/exports.d.ts +27 -0
- package/dist/features/extraConsoleCommands/exports.d.ts.map +1 -0
- package/dist/features/extraConsoleCommands/exports.lua +54 -0
- package/dist/features/extraConsoleCommands/init.d.ts +3 -0
- package/dist/features/extraConsoleCommands/init.d.ts.map +1 -0
- package/dist/features/extraConsoleCommands/init.lua +246 -0
- package/dist/features/extraConsoleCommands/listCommands.d.ts +367 -0
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -0
- package/dist/features/extraConsoleCommands/listCommands.lua +1130 -0
- package/dist/features/extraConsoleCommands/v.d.ts +23 -0
- package/dist/features/extraConsoleCommands/v.d.ts.map +1 -0
- package/dist/features/extraConsoleCommands/v.lua +22 -0
- package/dist/features/fadeInRemover.d.ts +15 -0
- package/dist/features/fadeInRemover.d.ts.map +1 -0
- package/dist/features/fadeInRemover.lua +55 -0
- package/dist/features/fastReset.d.ts +15 -0
- package/dist/features/fastReset.d.ts.map +1 -0
- package/dist/features/fastReset.lua +59 -0
- package/dist/features/forgottenSwitch.d.ts +6 -0
- package/dist/features/forgottenSwitch.d.ts.map +1 -0
- package/dist/features/forgottenSwitch.lua +32 -0
- package/dist/features/pause.d.ts +12 -0
- package/dist/features/pause.d.ts.map +1 -0
- package/dist/features/pause.lua +71 -0
- package/dist/features/persistentEntities.d.ts +29 -0
- package/dist/features/persistentEntities.d.ts.map +1 -0
- package/dist/features/persistentEntities.lua +155 -0
- package/dist/features/playerInventory.d.ts +15 -0
- package/dist/features/playerInventory.d.ts.map +1 -0
- package/dist/features/playerInventory.lua +111 -0
- package/dist/features/ponyDetection.d.ts +12 -0
- package/dist/features/ponyDetection.d.ts.map +1 -0
- package/dist/features/ponyDetection.lua +66 -0
- package/dist/features/preventCollectibleRotation.d.ts +12 -0
- package/dist/features/preventCollectibleRotation.d.ts.map +1 -0
- package/dist/features/preventCollectibleRotation.lua +68 -0
- package/dist/features/registerHotkey.d.ts +23 -0
- package/dist/features/registerHotkey.d.ts.map +1 -0
- package/dist/features/registerHotkey.lua +93 -0
- package/dist/features/roomClearFrame.d.ts +12 -0
- package/dist/features/roomClearFrame.d.ts.map +1 -0
- package/dist/features/roomClearFrame.lua +38 -0
- package/dist/features/runInNFrames.d.ts +96 -0
- package/dist/features/runInNFrames.d.ts.map +1 -0
- package/dist/features/runInNFrames.lua +196 -0
- package/dist/features/runNextRoom.d.ts +9 -0
- package/dist/features/runNextRoom.d.ts.map +1 -0
- package/dist/features/runNextRoom.lua +40 -0
- package/dist/features/saveDataManager/exports.d.ts +132 -0
- package/dist/features/saveDataManager/exports.d.ts.map +1 -0
- package/dist/features/saveDataManager/exports.lua +183 -0
- package/dist/features/saveDataManager/load.d.ts +5 -0
- package/dist/features/saveDataManager/load.d.ts.map +1 -0
- package/dist/features/saveDataManager/load.lua +72 -0
- package/dist/features/saveDataManager/main.d.ts +4 -0
- package/dist/features/saveDataManager/main.d.ts.map +1 -0
- package/dist/features/saveDataManager/main.lua +134 -0
- package/dist/features/saveDataManager/maps.d.ts +11 -0
- package/dist/features/saveDataManager/maps.d.ts.map +1 -0
- package/dist/features/saveDataManager/maps.lua +11 -0
- package/dist/features/saveDataManager/merge.d.ts +25 -0
- package/dist/features/saveDataManager/merge.d.ts.map +1 -0
- package/dist/features/saveDataManager/merge.lua +152 -0
- package/dist/features/saveDataManager/save.d.ts +5 -0
- package/dist/features/saveDataManager/save.d.ts.map +1 -0
- package/dist/features/saveDataManager/save.lua +49 -0
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts +4 -0
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts.map +1 -0
- package/dist/features/saveDataManager/saveDataManagerConstants.lua +5 -0
- package/dist/features/saveDataManager/serializationBrand.d.ts +2 -0
- package/dist/features/saveDataManager/serializationBrand.d.ts.map +1 -0
- package/dist/features/saveDataManager/serializationBrand.lua +19 -0
- package/dist/features/sirenHelpers.d.ts +19 -0
- package/dist/features/sirenHelpers.d.ts.map +1 -0
- package/dist/features/sirenHelpers.lua +82 -0
- package/dist/features/stageHistory.d.ts +16 -0
- package/dist/features/stageHistory.d.ts.map +1 -0
- package/dist/features/stageHistory.lua +62 -0
- package/dist/features/taintedLazarusPlayers.d.ts +14 -0
- package/dist/features/taintedLazarusPlayers.d.ts.map +1 -0
- package/dist/features/taintedLazarusPlayers.lua +85 -0
- package/dist/featuresInitialized.d.ts +2 -0
- package/dist/featuresInitialized.d.ts.map +1 -0
- package/dist/featuresInitialized.lua +20 -0
- package/dist/functions/ambush.d.ts +8 -0
- package/dist/functions/ambush.d.ts.map +1 -0
- package/dist/functions/ambush.lua +43 -0
- package/dist/functions/array.d.ts +214 -0
- package/dist/functions/array.d.ts.map +1 -0
- package/dist/functions/array.lua +500 -0
- package/dist/functions/benchmark.d.ts +11 -0
- package/dist/functions/benchmark.d.ts.map +1 -0
- package/dist/functions/benchmark.lua +38 -0
- package/dist/functions/bitwise.d.ts +30 -0
- package/dist/functions/bitwise.d.ts.map +1 -0
- package/dist/functions/bitwise.lua +77 -0
- package/dist/functions/bombs.d.ts +4 -0
- package/dist/functions/bombs.d.ts.map +1 -0
- package/dist/functions/bombs.lua +12 -0
- package/dist/functions/boss.d.ts +57 -0
- package/dist/functions/boss.d.ts.map +1 -0
- package/dist/functions/boss.lua +222 -0
- package/dist/functions/cacheFlag.d.ts +9 -0
- package/dist/functions/cacheFlag.d.ts.map +1 -0
- package/dist/functions/cacheFlag.lua +11 -0
- package/dist/functions/cards.d.ts +96 -0
- package/dist/functions/cards.d.ts.map +1 -0
- package/dist/functions/cards.lua +234 -0
- package/dist/functions/challenges.d.ts +4 -0
- package/dist/functions/challenges.d.ts.map +1 -0
- package/dist/functions/challenges.lua +10 -0
- package/dist/functions/character.d.ts +49 -0
- package/dist/functions/character.d.ts.map +1 -0
- package/dist/functions/character.lua +94 -0
- package/dist/functions/charge.d.ts +77 -0
- package/dist/functions/charge.d.ts.map +1 -0
- package/dist/functions/charge.lua +207 -0
- package/dist/functions/chargeBar.d.ts +14 -0
- package/dist/functions/chargeBar.d.ts.map +1 -0
- package/dist/functions/chargeBar.lua +45 -0
- package/dist/functions/collectibleCacheFlag.d.ts +24 -0
- package/dist/functions/collectibleCacheFlag.d.ts.map +1 -0
- package/dist/functions/collectibleCacheFlag.lua +80 -0
- package/dist/functions/collectibleSet.d.ts +45 -0
- package/dist/functions/collectibleSet.d.ts.map +1 -0
- package/dist/functions/collectibleSet.lua +102 -0
- package/dist/functions/collectibleTag.d.ts +17 -0
- package/dist/functions/collectibleTag.d.ts.map +1 -0
- package/dist/functions/collectibleTag.lua +83 -0
- package/dist/functions/collectibles.d.ts +213 -0
- package/dist/functions/collectibles.d.ts.map +1 -0
- package/dist/functions/collectibles.lua +436 -0
- package/dist/functions/color.d.ts +30 -0
- package/dist/functions/color.d.ts.map +1 -0
- package/dist/functions/color.lua +119 -0
- package/dist/functions/debug.d.ts +28 -0
- package/dist/functions/debug.d.ts.map +1 -0
- package/dist/functions/debug.lua +49 -0
- package/dist/functions/deepCopy.d.ts +30 -0
- package/dist/functions/deepCopy.d.ts.map +1 -0
- package/dist/functions/deepCopy.lua +389 -0
- package/dist/functions/deepCopyTests.d.ts +2 -0
- package/dist/functions/deepCopyTests.d.ts.map +1 -0
- package/dist/functions/deepCopyTests.lua +315 -0
- package/dist/functions/direction.d.ts +13 -0
- package/dist/functions/direction.d.ts.map +1 -0
- package/dist/functions/direction.lua +44 -0
- package/dist/functions/doors.d.ts +139 -0
- package/dist/functions/doors.d.ts.map +1 -0
- package/dist/functions/doors.lua +335 -0
- package/dist/functions/easing.d.ts +31 -0
- package/dist/functions/easing.d.ts.map +1 -0
- package/dist/functions/easing.lua +115 -0
- package/dist/functions/eden.d.ts +4 -0
- package/dist/functions/eden.d.ts.map +1 -0
- package/dist/functions/eden.lua +47 -0
- package/dist/functions/effects.d.ts +7 -0
- package/dist/functions/effects.d.ts.map +1 -0
- package/dist/functions/effects.lua +12 -0
- package/dist/functions/entity.d.ts +156 -0
- package/dist/functions/entity.d.ts.map +1 -0
- package/dist/functions/entity.lua +406 -0
- package/dist/functions/entitySpecific.d.ts +265 -0
- package/dist/functions/entitySpecific.d.ts.map +1 -0
- package/dist/functions/entitySpecific.lua +832 -0
- package/dist/functions/entityTypes.d.ts +4 -0
- package/dist/functions/entityTypes.d.ts.map +1 -0
- package/dist/functions/entityTypes.lua +8 -0
- package/dist/functions/enums.d.ts +96 -0
- package/dist/functions/enums.d.ts.map +1 -0
- package/dist/functions/enums.lua +177 -0
- package/dist/functions/familiars.d.ts +63 -0
- package/dist/functions/familiars.d.ts.map +1 -0
- package/dist/functions/familiars.lua +101 -0
- package/dist/functions/flag.d.ts +100 -0
- package/dist/functions/flag.d.ts.map +1 -0
- package/dist/functions/flag.lua +124 -0
- package/dist/functions/flying.d.ts +20 -0
- package/dist/functions/flying.d.ts.map +1 -0
- package/dist/functions/flying.lua +77 -0
- package/dist/functions/globals.d.ts +15 -0
- package/dist/functions/globals.d.ts.map +1 -0
- package/dist/functions/globals.lua +234 -0
- package/dist/functions/gridEntity.d.ts +220 -0
- package/dist/functions/gridEntity.d.ts.map +1 -0
- package/dist/functions/gridEntity.lua +491 -0
- package/dist/functions/gridEntitySpecific.d.ts +29 -0
- package/dist/functions/gridEntitySpecific.d.ts.map +1 -0
- package/dist/functions/gridEntitySpecific.lua +114 -0
- package/dist/functions/input.d.ts +33 -0
- package/dist/functions/input.d.ts.map +1 -0
- package/dist/functions/input.lua +117 -0
- package/dist/functions/isaacAPIClass.d.ts +24 -0
- package/dist/functions/isaacAPIClass.d.ts.map +1 -0
- package/dist/functions/isaacAPIClass.lua +49 -0
- package/dist/functions/jsonHelpers.d.ts +19 -0
- package/dist/functions/jsonHelpers.d.ts.map +1 -0
- package/dist/functions/jsonHelpers.lua +37 -0
- package/dist/functions/jsonRoom.d.ts +37 -0
- package/dist/functions/jsonRoom.d.ts.map +1 -0
- package/dist/functions/jsonRoom.lua +153 -0
- package/dist/functions/kColor.d.ts +30 -0
- package/dist/functions/kColor.d.ts.map +1 -0
- package/dist/functions/kColor.lua +98 -0
- package/dist/functions/language.d.ts +9 -0
- package/dist/functions/language.d.ts.map +1 -0
- package/dist/functions/language.lua +13 -0
- package/dist/functions/level.d.ts +2 -0
- package/dist/functions/level.d.ts.map +1 -0
- package/dist/functions/level.lua +29 -0
- package/dist/functions/log.d.ts +91 -0
- package/dist/functions/log.d.ts.map +1 -0
- package/dist/functions/log.lua +593 -0
- package/dist/functions/map.d.ts +23 -0
- package/dist/functions/map.d.ts.map +1 -0
- package/dist/functions/map.lua +61 -0
- package/dist/functions/math.d.ts +51 -0
- package/dist/functions/math.d.ts.map +1 -0
- package/dist/functions/math.lua +118 -0
- package/dist/functions/mergeTests.d.ts +2 -0
- package/dist/functions/mergeTests.d.ts.map +1 -0
- package/dist/functions/mergeTests.lua +182 -0
- package/dist/functions/minimap.d.ts +40 -0
- package/dist/functions/minimap.d.ts.map +1 -0
- package/dist/functions/minimap.lua +78 -0
- package/dist/functions/nextStage.d.ts +19 -0
- package/dist/functions/nextStage.d.ts.map +1 -0
- package/dist/functions/nextStage.lua +251 -0
- package/dist/functions/npc.d.ts +41 -0
- package/dist/functions/npc.d.ts.map +1 -0
- package/dist/functions/npc.lua +128 -0
- package/dist/functions/pickupVariants.d.ts +24 -0
- package/dist/functions/pickupVariants.d.ts.map +1 -0
- package/dist/functions/pickupVariants.lua +48 -0
- package/dist/functions/pickups.d.ts +133 -0
- package/dist/functions/pickups.d.ts.map +1 -0
- package/dist/functions/pickups.lua +474 -0
- package/dist/functions/pills.d.ts +80 -0
- package/dist/functions/pills.d.ts.map +1 -0
- package/dist/functions/pills.lua +144 -0
- package/dist/functions/player.d.ts +331 -0
- package/dist/functions/player.d.ts.map +1 -0
- package/dist/functions/player.lua +831 -0
- package/dist/functions/playerCenter.d.ts +11 -0
- package/dist/functions/playerCenter.d.ts.map +1 -0
- package/dist/functions/playerCenter.lua +64 -0
- package/dist/functions/playerDataStructures.d.ts +93 -0
- package/dist/functions/playerDataStructures.d.ts.map +1 -0
- package/dist/functions/playerDataStructures.lua +103 -0
- package/dist/functions/playerHealth.d.ts +35 -0
- package/dist/functions/playerHealth.d.ts.map +1 -0
- package/dist/functions/playerHealth.lua +353 -0
- package/dist/functions/playerIndex.d.ts +74 -0
- package/dist/functions/playerIndex.d.ts.map +1 -0
- package/dist/functions/playerIndex.lua +177 -0
- package/dist/functions/pocketItems.d.ts +34 -0
- package/dist/functions/pocketItems.d.ts.map +1 -0
- package/dist/functions/pocketItems.lua +104 -0
- package/dist/functions/positionVelocity.d.ts +68 -0
- package/dist/functions/positionVelocity.d.ts.map +1 -0
- package/dist/functions/positionVelocity.lua +154 -0
- package/dist/functions/random.d.ts +49 -0
- package/dist/functions/random.d.ts.map +1 -0
- package/dist/functions/random.lua +87 -0
- package/dist/functions/revive.d.ts +34 -0
- package/dist/functions/revive.d.ts.map +1 -0
- package/dist/functions/revive.lua +117 -0
- package/dist/functions/rng.d.ts +55 -0
- package/dist/functions/rng.d.ts.map +1 -0
- package/dist/functions/rng.lua +143 -0
- package/dist/functions/roomData.d.ts +109 -0
- package/dist/functions/roomData.d.ts.map +1 -0
- package/dist/functions/roomData.lua +160 -0
- package/dist/functions/roomGrid.d.ts +41 -0
- package/dist/functions/roomGrid.d.ts.map +1 -0
- package/dist/functions/roomGrid.lua +80 -0
- package/dist/functions/roomShape.d.ts +64 -0
- package/dist/functions/roomShape.d.ts.map +1 -0
- package/dist/functions/roomShape.lua +96 -0
- package/dist/functions/rooms.d.ts +203 -0
- package/dist/functions/rooms.d.ts.map +1 -0
- package/dist/functions/rooms.lua +492 -0
- package/dist/functions/run.d.ts +23 -0
- package/dist/functions/run.d.ts.map +1 -0
- package/dist/functions/run.lua +48 -0
- package/dist/functions/saveFile.d.ts +16 -0
- package/dist/functions/saveFile.d.ts.map +1 -0
- package/dist/functions/saveFile.lua +108 -0
- package/dist/functions/seeds.d.ts +10 -0
- package/dist/functions/seeds.d.ts.map +1 -0
- package/dist/functions/seeds.lua +19 -0
- package/dist/functions/serialization.d.ts +12 -0
- package/dist/functions/serialization.d.ts.map +1 -0
- package/dist/functions/serialization.lua +68 -0
- package/dist/functions/set.d.ts +61 -0
- package/dist/functions/set.d.ts.map +1 -0
- package/dist/functions/set.lua +110 -0
- package/dist/functions/sound.d.ts +2 -0
- package/dist/functions/sound.d.ts.map +1 -0
- package/dist/functions/sound.lua +13 -0
- package/dist/functions/spawnCollectible.d.ts +32 -0
- package/dist/functions/spawnCollectible.d.ts.map +1 -0
- package/dist/functions/spawnCollectible.lua +94 -0
- package/dist/functions/sprite.d.ts +39 -0
- package/dist/functions/sprite.d.ts.map +1 -0
- package/dist/functions/sprite.lua +89 -0
- package/dist/functions/stage.d.ts +61 -0
- package/dist/functions/stage.d.ts.map +1 -0
- package/dist/functions/stage.lua +142 -0
- package/dist/functions/string.d.ts +14 -0
- package/dist/functions/string.d.ts.map +1 -0
- package/dist/functions/string.lua +42 -0
- package/dist/functions/table.d.ts +53 -0
- package/dist/functions/table.d.ts.map +1 -0
- package/dist/functions/table.lua +149 -0
- package/dist/functions/tears.d.ts +24 -0
- package/dist/functions/tears.d.ts.map +1 -0
- package/dist/functions/tears.lua +26 -0
- package/dist/functions/transformations.d.ts +31 -0
- package/dist/functions/transformations.d.ts.map +1 -0
- package/dist/functions/transformations.lua +112 -0
- package/dist/functions/trinketCacheFlag.d.ts +11 -0
- package/dist/functions/trinketCacheFlag.d.ts.map +1 -0
- package/dist/functions/trinketCacheFlag.lua +53 -0
- package/dist/functions/trinketGive.d.ts +39 -0
- package/dist/functions/trinketGive.d.ts.map +1 -0
- package/dist/functions/trinketGive.lua +114 -0
- package/dist/functions/trinkets.d.ts +74 -0
- package/dist/functions/trinkets.d.ts.map +1 -0
- package/dist/functions/trinkets.lua +167 -0
- package/dist/functions/tstlClass.d.ts +55 -0
- package/dist/functions/tstlClass.d.ts.map +1 -0
- package/dist/functions/tstlClass.lua +112 -0
- package/dist/functions/types.d.ts +11 -0
- package/dist/functions/types.d.ts.map +1 -0
- package/dist/functions/types.lua +25 -0
- package/dist/functions/ui.d.ts +39 -0
- package/dist/functions/ui.d.ts.map +1 -0
- package/dist/functions/ui.lua +119 -0
- package/dist/functions/utils.d.ts +98 -0
- package/dist/functions/utils.d.ts.map +1 -0
- package/dist/functions/utils.lua +171 -0
- package/dist/functions/vector.d.ts +33 -0
- package/dist/functions/vector.d.ts.map +1 -0
- package/dist/functions/vector.lua +107 -0
- package/dist/index.d.ts +140 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.lua +1018 -0
- package/dist/initCustomCallbacks.d.ts +3 -0
- package/dist/initCustomCallbacks.d.ts.map +1 -0
- package/dist/initCustomCallbacks.lua +199 -0
- package/dist/initFeatures.d.ts +4 -0
- package/dist/initFeatures.d.ts.map +1 -0
- package/dist/initFeatures.lua +75 -0
- package/dist/interfaces/AddCallbackParameterCustom.d.ts +170 -0
- package/dist/interfaces/AddCallbackParameterCustom.d.ts.map +1 -0
- package/dist/interfaces/AddCallbackParameterCustom.lua +4 -0
- package/dist/interfaces/ChargeBarSprites.d.ts +15 -0
- package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -0
- package/dist/interfaces/ChargeBarSprites.lua +2 -0
- package/dist/interfaces/Corner.d.ts +7 -0
- package/dist/interfaces/Corner.d.ts.map +1 -0
- package/dist/interfaces/Corner.lua +2 -0
- package/dist/interfaces/CustomGridEntityData.d.ts +10 -0
- package/dist/interfaces/CustomGridEntityData.d.ts.map +1 -0
- package/dist/interfaces/CustomGridEntityData.lua +2 -0
- package/dist/interfaces/CustomStage.d.ts +11 -0
- package/dist/interfaces/CustomStage.d.ts.map +1 -0
- package/dist/interfaces/CustomStage.lua +2 -0
- package/dist/interfaces/CustomStageLua.d.ts +371 -0
- package/dist/interfaces/CustomStageLua.d.ts.map +1 -0
- package/dist/interfaces/CustomStageLua.lua +2 -0
- package/dist/interfaces/JSONRoomsFile.d.ts +76 -0
- package/dist/interfaces/JSONRoomsFile.d.ts.map +1 -0
- package/dist/interfaces/JSONRoomsFile.lua +2 -0
- package/dist/interfaces/PlayerHealth.d.ts +16 -0
- package/dist/interfaces/PlayerHealth.d.ts.map +1 -0
- package/dist/interfaces/PlayerHealth.lua +2 -0
- package/dist/interfaces/PocketItemDescription.d.ts +9 -0
- package/dist/interfaces/PocketItemDescription.d.ts.map +1 -0
- package/dist/interfaces/PocketItemDescription.lua +2 -0
- package/dist/interfaces/SaveData.d.ts +30 -0
- package/dist/interfaces/SaveData.d.ts.map +1 -0
- package/dist/interfaces/SaveData.lua +2 -0
- package/dist/interfaces/TrinketSituation.d.ts +9 -0
- package/dist/interfaces/TrinketSituation.d.ts.map +1 -0
- package/dist/interfaces/TrinketSituation.lua +2 -0
- package/dist/interfaces/private/TSTLClassMetatable.d.ts +13 -0
- package/dist/interfaces/private/TSTLClassMetatable.d.ts.map +1 -0
- package/dist/interfaces/private/TSTLClassMetatable.lua +2 -0
- package/{lualib_bundle.lua → dist/lualib_bundle.lua} +0 -0
- package/dist/maps/PHDPillConversions.d.ts +3 -0
- package/dist/maps/PHDPillConversions.d.ts.map +1 -0
- package/dist/maps/PHDPillConversions.lua +25 -0
- package/dist/maps/cardMap.d.ts +4 -0
- package/dist/maps/cardMap.d.ts.map +1 -0
- package/dist/maps/cardMap.lua +212 -0
- package/dist/maps/characterMap.d.ts +4 -0
- package/dist/maps/characterMap.d.ts.map +1 -0
- package/dist/maps/characterMap.lua +90 -0
- package/dist/maps/collectibleDescriptionMap.d.ts +4 -0
- package/dist/maps/collectibleDescriptionMap.d.ts.map +1 -0
- package/dist/maps/collectibleDescriptionMap.lua +728 -0
- package/dist/maps/collectibleNameMap.d.ts +4 -0
- package/dist/maps/collectibleNameMap.d.ts.map +1 -0
- package/dist/maps/collectibleNameMap.lua +728 -0
- package/dist/maps/defaultPlayerStatMap.d.ts +4 -0
- package/dist/maps/defaultPlayerStatMap.d.ts.map +1 -0
- package/dist/maps/defaultPlayerStatMap.lua +25 -0
- package/dist/maps/falsePHDPillConversions.d.ts +3 -0
- package/dist/maps/falsePHDPillConversions.d.ts.map +1 -0
- package/dist/maps/falsePHDPillConversions.lua +39 -0
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +3 -0
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts.map +1 -0
- package/dist/maps/gridEntityTypeToBrokenStateMap.lua +26 -0
- package/dist/maps/gridEntityXMLMap.d.ts +10 -0
- package/dist/maps/gridEntityXMLMap.d.ts.map +1 -0
- package/dist/maps/gridEntityXMLMap.lua +53 -0
- package/dist/maps/pillEffectMap.d.ts +4 -0
- package/dist/maps/pillEffectMap.d.ts.map +1 -0
- package/dist/maps/pillEffectMap.lua +90 -0
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +8 -0
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts.map +1 -0
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +17 -0
- package/dist/maps/roomTypeMap.d.ts +4 -0
- package/dist/maps/roomTypeMap.d.ts.map +1 -0
- package/dist/maps/roomTypeMap.lua +44 -0
- package/dist/maps/trinketDescriptionMap.d.ts +4 -0
- package/dist/maps/trinketDescriptionMap.d.ts.map +1 -0
- package/dist/maps/trinketDescriptionMap.lua +196 -0
- package/dist/maps/trinketNameMap.d.ts +4 -0
- package/dist/maps/trinketNameMap.d.ts.map +1 -0
- package/dist/maps/trinketNameMap.lua +196 -0
- package/dist/objects/LRoomShapeToRectangles.d.ts +14 -0
- package/dist/objects/LRoomShapeToRectangles.d.ts.map +1 -0
- package/dist/objects/LRoomShapeToRectangles.lua +35 -0
- package/dist/objects/backdropTypeToRockAltType.d.ts +7 -0
- package/dist/objects/backdropTypeToRockAltType.d.ts.map +1 -0
- package/dist/objects/backdropTypeToRockAltType.lua +69 -0
- package/dist/objects/bossNamePNGFileNames.d.ts +6 -0
- package/dist/objects/bossNamePNGFileNames.d.ts.map +1 -0
- package/dist/objects/bossNamePNGFileNames.lua +108 -0
- package/dist/objects/bossPortraitPNGFileNames.d.ts +6 -0
- package/dist/objects/bossPortraitPNGFileNames.d.ts.map +1 -0
- package/dist/objects/bossPortraitPNGFileNames.lua +108 -0
- package/dist/objects/callbackRegisterFunctions.d.ts +6 -0
- package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -0
- package/dist/objects/callbackRegisterFunctions.lua +255 -0
- package/dist/objects/cardDescriptions.d.ts +6 -0
- package/dist/objects/cardDescriptions.d.ts.map +1 -0
- package/dist/objects/cardDescriptions.lua +105 -0
- package/dist/objects/cardNames.d.ts +6 -0
- package/dist/objects/cardNames.d.ts.map +1 -0
- package/dist/objects/cardNames.lua +105 -0
- package/dist/objects/cardTypes.d.ts +6 -0
- package/dist/objects/cardTypes.d.ts.map +1 -0
- package/dist/objects/cardTypes.lua +106 -0
- package/dist/objects/challengeNames.d.ts +6 -0
- package/dist/objects/challengeNames.d.ts.map +1 -0
- package/dist/objects/challengeNames.lua +53 -0
- package/dist/objects/characterNames.d.ts +5 -0
- package/dist/objects/characterNames.d.ts.map +1 -0
- package/dist/objects/characterNames.lua +48 -0
- package/dist/objects/coinSubTypeToValue.d.ts +6 -0
- package/dist/objects/coinSubTypeToValue.d.ts.map +1 -0
- package/dist/objects/coinSubTypeToValue.lua +15 -0
- package/dist/objects/colors.d.ts +24 -0
- package/dist/objects/colors.d.ts.map +1 -0
- package/dist/objects/colors.lua +23 -0
- package/dist/objects/directionNames.d.ts +5 -0
- package/dist/objects/directionNames.d.ts.map +1 -0
- package/dist/objects/directionNames.lua +11 -0
- package/dist/objects/directionToDegrees.d.ts +5 -0
- package/dist/objects/directionToDegrees.d.ts.map +1 -0
- package/dist/objects/directionToDegrees.lua +11 -0
- package/dist/objects/directionToVector.d.ts +5 -0
- package/dist/objects/directionToVector.d.ts.map +1 -0
- package/dist/objects/directionToVector.lua +13 -0
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts +6 -0
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -0
- package/dist/objects/doorSlotFlagToDoorSlot.lua +16 -0
- package/dist/objects/doorSlotToDirection.d.ts +5 -0
- package/dist/objects/doorSlotToDirection.d.ts.map +1 -0
- package/dist/objects/doorSlotToDirection.lua +16 -0
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts +5 -0
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -0
- package/dist/objects/doorSlotToDoorSlotFlag.lua +17 -0
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts +6 -0
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -0
- package/dist/objects/isaacAPIClassTypeToBrand.lua +7 -0
- package/dist/objects/isaacAPIClassTypeToCopyFunction.d.ts +6 -0
- package/dist/objects/isaacAPIClassTypeToCopyFunction.d.ts.map +1 -0
- package/dist/objects/isaacAPIClassTypeToCopyFunction.lua +13 -0
- package/dist/objects/languageNames.d.ts +5 -0
- package/dist/objects/languageNames.d.ts.map +1 -0
- package/dist/objects/languageNames.lua +13 -0
- package/dist/objects/oppositeDoorSlots.d.ts +5 -0
- package/dist/objects/oppositeDoorSlots.d.ts.map +1 -0
- package/dist/objects/oppositeDoorSlots.lua +15 -0
- package/dist/objects/pillEffectClasses.d.ts +6 -0
- package/dist/objects/pillEffectClasses.d.ts.map +1 -0
- package/dist/objects/pillEffectClasses.lua +59 -0
- package/dist/objects/pillEffectNames.d.ts +6 -0
- package/dist/objects/pillEffectNames.d.ts.map +1 -0
- package/dist/objects/pillEffectNames.lua +57 -0
- package/dist/objects/pillEffectTypes.d.ts +6 -0
- package/dist/objects/pillEffectTypes.d.ts.map +1 -0
- package/dist/objects/pillEffectTypes.lua +58 -0
- package/dist/objects/playerNamePNGFileNames.d.ts +6 -0
- package/dist/objects/playerNamePNGFileNames.d.ts.map +1 -0
- package/dist/objects/playerNamePNGFileNames.lua +49 -0
- package/dist/objects/playerPortraitPNGFileNames.d.ts +6 -0
- package/dist/objects/playerPortraitPNGFileNames.d.ts.map +1 -0
- package/dist/objects/playerPortraitPNGFileNames.lua +49 -0
- package/dist/objects/roomShapeBounds.d.ts +9 -0
- package/dist/objects/roomShapeBounds.d.ts.map +1 -0
- package/dist/objects/roomShapeBounds.lua +26 -0
- package/dist/objects/roomShapeCorners.d.ts +7 -0
- package/dist/objects/roomShapeCorners.d.ts.map +1 -0
- package/dist/objects/roomShapeCorners.lua +259 -0
- package/dist/objects/roomShapeLayoutSizes.d.ts +11 -0
- package/dist/objects/roomShapeLayoutSizes.d.ts.map +1 -0
- package/dist/objects/roomShapeLayoutSizes.lua +29 -0
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +9 -0
- package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -0
- package/dist/objects/roomShapeToBottomRightPosition.lua +22 -0
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts +10 -0
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts.map +1 -0
- package/dist/objects/roomShapeToDoorSlotCoordinates.lua +84 -0
- package/dist/objects/roomShapeToDoorSlots.d.ts +5 -0
- package/dist/objects/roomShapeToDoorSlots.d.ts.map +1 -0
- package/dist/objects/roomShapeToDoorSlots.lua +46 -0
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +9 -0
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts.map +1 -0
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.lua +89 -0
- package/dist/objects/roomShapeToGridWidth.d.ts +5 -0
- package/dist/objects/roomShapeToGridWidth.d.ts.map +1 -0
- package/dist/objects/roomShapeToGridWidth.lua +20 -0
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +9 -0
- package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -0
- package/dist/objects/roomShapeToTopLeftPosition.lua +24 -0
- package/dist/objects/roomShapeVolumes.d.ts +14 -0
- package/dist/objects/roomShapeVolumes.d.ts.map +1 -0
- package/dist/objects/roomShapeVolumes.lua +30 -0
- package/dist/objects/roomTypeGotoPrefixes.d.ts +5 -0
- package/dist/objects/roomTypeGotoPrefixes.d.ts.map +1 -0
- package/dist/objects/roomTypeGotoPrefixes.lua +35 -0
- package/dist/objects/roomTypeNames.d.ts +6 -0
- package/dist/objects/roomTypeNames.d.ts.map +1 -0
- package/dist/objects/roomTypeNames.lua +36 -0
- package/dist/objects/serializedIsaacAPIClassTypeToIdentityFunction.d.ts +5 -0
- package/dist/objects/serializedIsaacAPIClassTypeToIdentityFunction.d.ts.map +1 -0
- package/dist/objects/serializedIsaacAPIClassTypeToIdentityFunction.lua +13 -0
- package/dist/objects/stageTypeSuffixes.d.ts +5 -0
- package/dist/objects/stageTypeSuffixes.d.ts.map +1 -0
- package/dist/objects/stageTypeSuffixes.lua +12 -0
- package/dist/objects/stageTypeToLetter.d.ts +5 -0
- package/dist/objects/stageTypeToLetter.d.ts.map +1 -0
- package/dist/objects/stageTypeToLetter.lua +12 -0
- package/dist/objects/transformationNames.d.ts +5 -0
- package/dist/objects/transformationNames.d.ts.map +1 -0
- package/dist/objects/transformationNames.lua +20 -0
- package/dist/objects/versusScreenBackgroundColors.d.ts +6 -0
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -0
- package/dist/objects/versusScreenBackgroundColors.lua +38 -0
- package/dist/objects/versusScreenDirtSpotColors.d.ts +6 -0
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -0
- package/dist/objects/versusScreenDirtSpotColors.lua +38 -0
- package/dist/patchErrorFunctions.d.ts +2 -0
- package/dist/patchErrorFunctions.d.ts.map +1 -0
- package/dist/patchErrorFunctions.lua +58 -0
- package/dist/sets/LRoomShapesSet.d.ts +3 -0
- package/dist/sets/LRoomShapesSet.d.ts.map +1 -0
- package/dist/sets/LRoomShapesSet.lua +8 -0
- package/dist/sets/bossSets.d.ts +5 -0
- package/dist/sets/bossSets.d.ts.map +1 -0
- package/dist/sets/bossSets.lua +554 -0
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +3 -0
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts.map +1 -0
- package/dist/sets/charactersThatStartWithAnActiveItemSet.lua +20 -0
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +3 -0
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts.map +1 -0
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.lua +8 -0
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +3 -0
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts.map +1 -0
- package/dist/sets/charactersWithFreeDevilDealsSet.lua +8 -0
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts +7 -0
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts.map +1 -0
- package/dist/sets/charactersWithNoRedHeartsSet.lua +19 -0
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +7 -0
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts.map +1 -0
- package/dist/sets/charactersWithNoSoulHeartsSet.lua +16 -0
- package/dist/sets/chestPickupVariantsSet.d.ts +3 -0
- package/dist/sets/chestPickupVariantsSet.d.ts.map +1 -0
- package/dist/sets/chestPickupVariantsSet.lua +21 -0
- package/dist/sets/consoleCommandsSet.d.ts +6 -0
- package/dist/sets/consoleCommandsSet.d.ts.map +1 -0
- package/dist/sets/consoleCommandsSet.lua +61 -0
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +3 -0
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts.map +1 -0
- package/dist/sets/familiarsThatShootPlayerTearsSet.lua +17 -0
- package/dist/sets/lostStyleCharactersSet.d.ts +7 -0
- package/dist/sets/lostStyleCharactersSet.d.ts.map +1 -0
- package/dist/sets/lostStyleCharactersSet.lua +16 -0
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts +3 -0
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts.map +1 -0
- package/dist/sets/mineShaftRoomSubTypesSet.lua +14 -0
- package/dist/sets/narrowRoomShapesSet.d.ts +3 -0
- package/dist/sets/narrowRoomShapesSet.d.ts.map +1 -0
- package/dist/sets/narrowRoomShapesSet.lua +8 -0
- package/dist/sets/redHeartSubTypesSet.d.ts +3 -0
- package/dist/sets/redHeartSubTypesSet.d.ts.map +1 -0
- package/dist/sets/redHeartSubTypesSet.lua +8 -0
- package/dist/sets/sinEntityTypesSet.d.ts +3 -0
- package/dist/sets/sinEntityTypesSet.d.ts.map +1 -0
- package/dist/sets/sinEntityTypesSet.lua +16 -0
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +3 -0
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts.map +1 -0
- package/dist/sets/singleUseActiveCollectibleTypesSet.lua +17 -0
- package/dist/sets/storyBossesSet.d.ts +3 -0
- package/dist/sets/storyBossesSet.d.ts.map +1 -0
- package/dist/sets/storyBossesSet.lua +22 -0
- package/dist/shaderCrashFix.d.ts +8 -0
- package/dist/shaderCrashFix.d.ts.map +1 -0
- package/dist/shaderCrashFix.lua +18 -0
- package/dist/types/AnyEntity.d.ts +13 -0
- package/dist/types/AnyEntity.d.ts.map +1 -0
- package/dist/types/AnyEntity.lua +2 -0
- package/dist/types/CollectibleIndex.d.ts +17 -0
- package/dist/types/CollectibleIndex.d.ts.map +1 -0
- package/dist/types/CollectibleIndex.lua +2 -0
- package/dist/types/PickingUpItem.d.ts +35 -0
- package/dist/types/PickingUpItem.d.ts.map +1 -0
- package/dist/types/PickingUpItem.lua +34 -0
- package/dist/types/PlayerIndex.d.ts +17 -0
- package/dist/types/PlayerIndex.d.ts.map +1 -0
- package/dist/types/PlayerIndex.lua +2 -0
- package/dist/types/private/IsaacAPIClass.d.ts +5 -0
- package/dist/types/private/IsaacAPIClass.d.ts.map +1 -0
- package/dist/types/private/IsaacAPIClass.lua +2 -0
- package/dist/types/private/SerializedIsaacAPIClass.d.ts +5 -0
- package/dist/types/private/SerializedIsaacAPIClass.d.ts.map +1 -0
- package/dist/types/private/SerializedIsaacAPIClass.lua +2 -0
- package/dist/types/private/TSTLClass.d.ts +5 -0
- package/dist/types/private/TSTLClass.d.ts.map +1 -0
- package/dist/types/private/TSTLClass.lua +2 -0
- package/dist/upgradeMod.d.ts +24 -0
- package/dist/upgradeMod.d.ts.map +1 -0
- package/dist/upgradeMod.lua +54 -0
- package/package.json +3 -3
- package/src/cachedClasses.ts +63 -0
- package/src/callbacks/customRevive.ts +215 -0
- package/src/callbacks/itemPickup.ts +101 -0
- package/src/callbacks/postAmbush.ts +73 -0
- package/src/callbacks/postBombExploded.ts +26 -0
- package/src/callbacks/postBombInitLate.ts +36 -0
- package/src/callbacks/postBoneSwing.ts +64 -0
- package/src/callbacks/postCollectibleEmpty.ts +49 -0
- package/src/callbacks/postCollectibleInitFirst.ts +40 -0
- package/src/callbacks/postCursedTeleport.ts +185 -0
- package/src/callbacks/postCustomDoorEnter.ts +290 -0
- package/src/callbacks/postDiceRoomActivated.ts +60 -0
- package/src/callbacks/postDoorRender.ts +26 -0
- package/src/callbacks/postDoorUpdate.ts +26 -0
- package/src/callbacks/postEffectInitLate.ts +36 -0
- package/src/callbacks/postEffectStateChanged.ts +43 -0
- package/src/callbacks/postEsauJr.ts +109 -0
- package/src/callbacks/postFamiliarInitLate.ts +36 -0
- package/src/callbacks/postFamiliarStateChanged.ts +43 -0
- package/src/callbacks/postFlip.ts +90 -0
- package/src/callbacks/postGreedModeWave.ts +41 -0
- package/src/callbacks/postGridEntity.ts +164 -0
- package/src/callbacks/postGridEntityCollision.ts +69 -0
- package/src/callbacks/postGridEntityRender.ts +26 -0
- package/src/callbacks/postHolyMantleRemoved.ts +55 -0
- package/src/callbacks/postItemDischarged.ts +154 -0
- package/src/callbacks/postKnifeInitLate.ts +36 -0
- package/src/callbacks/postLaserInitLate.ts +36 -0
- package/src/callbacks/postNPCInitLate.ts +36 -0
- package/src/callbacks/postNPCStateChanged.ts +42 -0
- package/src/callbacks/postNewRoomEarly.ts +96 -0
- package/src/callbacks/postPickupCollect.ts +48 -0
- package/src/callbacks/postPickupInitFirst.ts +70 -0
- package/src/callbacks/postPickupInitLate.ts +36 -0
- package/src/callbacks/postPickupStateChanged.ts +43 -0
- package/src/callbacks/postPitRender.ts +26 -0
- package/src/callbacks/postPitUpdate.ts +26 -0
- package/src/callbacks/postPlayerChangeHealth.ts +62 -0
- package/src/callbacks/postPlayerChangeType.ts +56 -0
- package/src/callbacks/postPlayerCollectible.ts +112 -0
- package/src/callbacks/postPlayerFatalDamage.ts +141 -0
- package/src/callbacks/postPlayerInitLate.ts +37 -0
- package/src/callbacks/postPlayerReordered.ts +142 -0
- package/src/callbacks/postPoopRender.ts +26 -0
- package/src/callbacks/postPoopUpdate.ts +26 -0
- package/src/callbacks/postPressurePlateRender.ts +26 -0
- package/src/callbacks/postPressurePlateUpdate.ts +26 -0
- package/src/callbacks/postProjectileInitLate.ts +36 -0
- package/src/callbacks/postPurchase.ts +64 -0
- package/src/callbacks/postRockRender.ts +26 -0
- package/src/callbacks/postRockUpdate.ts +26 -0
- package/src/callbacks/postRoomClearChanged.ts +57 -0
- package/src/callbacks/postSacrifice.ts +64 -0
- package/src/callbacks/postSlotDestroyed.ts +92 -0
- package/src/callbacks/postSlotInitUpdate.ts +68 -0
- package/src/callbacks/postSlotRender.ts +69 -0
- package/src/callbacks/postSpikesRender.ts +26 -0
- package/src/callbacks/postSpikesUpdate.ts +26 -0
- package/src/callbacks/postTNTRender.ts +26 -0
- package/src/callbacks/postTNTUpdate.ts +26 -0
- package/src/callbacks/postTearInitLate.ts +36 -0
- package/src/callbacks/postTearInitVeryLate.ts +41 -0
- package/src/callbacks/postTransformation.ts +59 -0
- package/src/callbacks/postTrinketBreak.ts +112 -0
- package/src/callbacks/preBerserkDeath.ts +49 -0
- package/src/callbacks/preNewLevel.ts +55 -0
- package/src/callbacks/reorderedCallbacks.ts +186 -0
- package/src/callbacks/subscriptions/postAmbushFinished.ts +32 -0
- package/src/callbacks/subscriptions/postAmbushStarted.ts +32 -0
- package/src/callbacks/subscriptions/postBombInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postBoneExploded.ts +32 -0
- package/src/callbacks/subscriptions/postBoneSwing.ts +24 -0
- package/src/callbacks/subscriptions/postCollectibleEmpty.ts +41 -0
- package/src/callbacks/subscriptions/postCollectibleInitFirst.ts +37 -0
- package/src/callbacks/subscriptions/postCursedTeleport.ts +24 -0
- package/src/callbacks/subscriptions/postCustomDoorEnter.ts +45 -0
- package/src/callbacks/subscriptions/postCustomRevive.ts +36 -0
- package/src/callbacks/subscriptions/postDiceRoomActivated.ts +38 -0
- package/src/callbacks/subscriptions/postDoorRender.ts +35 -0
- package/src/callbacks/subscriptions/postDoorUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postEffectInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postEffectStateChanged.ts +40 -0
- package/src/callbacks/subscriptions/postEsauJr.ts +24 -0
- package/src/callbacks/subscriptions/postFamiliarInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postFamiliarStateChanged.ts +40 -0
- package/src/callbacks/subscriptions/postFirstEsauJr.ts +24 -0
- package/src/callbacks/subscriptions/postFirstFlip.ts +24 -0
- package/src/callbacks/subscriptions/postFlip.ts +22 -0
- package/src/callbacks/subscriptions/postGameStartedReordered.ts +24 -0
- package/src/callbacks/subscriptions/postGreedModeWave.ts +24 -0
- package/src/callbacks/subscriptions/postGridEntityBroken.ts +51 -0
- package/src/callbacks/subscriptions/postGridEntityCollision.ts +54 -0
- package/src/callbacks/subscriptions/postGridEntityInit.ts +51 -0
- package/src/callbacks/subscriptions/postGridEntityRemove.ts +52 -0
- package/src/callbacks/subscriptions/postGridEntityRender.ts +51 -0
- package/src/callbacks/subscriptions/postGridEntityStateChanged.ts +55 -0
- package/src/callbacks/subscriptions/postGridEntityUpdate.ts +51 -0
- package/src/callbacks/subscriptions/postHolyMantleRemoved.ts +48 -0
- package/src/callbacks/subscriptions/postItemDischarged.ts +43 -0
- package/src/callbacks/subscriptions/postItemPickup.ts +64 -0
- package/src/callbacks/subscriptions/postKnifeInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postLaserInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postNPCInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postNPCStateChanged.ts +42 -0
- package/src/callbacks/subscriptions/postNewLevelReordered.ts +22 -0
- package/src/callbacks/subscriptions/postNewRoomEarly.ts +22 -0
- package/src/callbacks/subscriptions/postNewRoomReordered.ts +22 -0
- package/src/callbacks/subscriptions/postPEffectUpdateReordered.ts +40 -0
- package/src/callbacks/subscriptions/postPickupCollect.ts +35 -0
- package/src/callbacks/subscriptions/postPickupInitFirst.ts +32 -0
- package/src/callbacks/subscriptions/postPickupInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postPickupStateChanged.ts +40 -0
- package/src/callbacks/subscriptions/postPitRender.ts +35 -0
- package/src/callbacks/subscriptions/postPitUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postPlayerChangeHealth.ts +49 -0
- package/src/callbacks/subscriptions/postPlayerChangeType.ts +40 -0
- package/src/callbacks/subscriptions/postPlayerCollectibleAdded.ts +38 -0
- package/src/callbacks/subscriptions/postPlayerCollectibleRemoved.ts +38 -0
- package/src/callbacks/subscriptions/postPlayerFatalDamage.ts +68 -0
- package/src/callbacks/subscriptions/postPlayerInitLate.ts +40 -0
- package/src/callbacks/subscriptions/postPlayerInitReordered.ts +40 -0
- package/src/callbacks/subscriptions/postPlayerRenderReordered.ts +40 -0
- package/src/callbacks/subscriptions/postPlayerUpdateReordered.ts +40 -0
- package/src/callbacks/subscriptions/postPoopRender.ts +35 -0
- package/src/callbacks/subscriptions/postPoopUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postPressurePlateRender.ts +37 -0
- package/src/callbacks/subscriptions/postPressurePlateUpdate.ts +37 -0
- package/src/callbacks/subscriptions/postProjectileInitLate.ts +35 -0
- package/src/callbacks/subscriptions/postPurchase.ts +31 -0
- package/src/callbacks/subscriptions/postRockRender.ts +35 -0
- package/src/callbacks/subscriptions/postRockUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postRoomClearChanged.ts +30 -0
- package/src/callbacks/subscriptions/postSacrifice.ts +43 -0
- package/src/callbacks/subscriptions/postSlotAnimationChanged.ts +40 -0
- package/src/callbacks/subscriptions/postSlotDestroyed.ts +55 -0
- package/src/callbacks/subscriptions/postSlotInit.ts +32 -0
- package/src/callbacks/subscriptions/postSlotRender.ts +32 -0
- package/src/callbacks/subscriptions/postSlotUpdate.ts +32 -0
- package/src/callbacks/subscriptions/postSpikesRender.ts +35 -0
- package/src/callbacks/subscriptions/postSpikesUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postTNTRender.ts +35 -0
- package/src/callbacks/subscriptions/postTNTUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postTearInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postTearInitVeryLate.ts +32 -0
- package/src/callbacks/subscriptions/postTransformation.ts +40 -0
- package/src/callbacks/subscriptions/postTrinketBreak.ts +38 -0
- package/src/callbacks/subscriptions/preBerserkDeath.ts +42 -0
- package/src/callbacks/subscriptions/preCustomRevive.ts +46 -0
- package/src/callbacks/subscriptions/preItemPickup.ts +64 -0
- package/src/callbacks/subscriptions/preNewLevel.ts +24 -0
- package/src/classes/DefaultMap.ts +172 -0
- package/src/classes/ModUpgraded.ts +84 -0
- package/src/constants.ts +189 -0
- package/src/constantsFirstLast.ts +210 -0
- package/src/enums/AmbushType.ts +4 -0
- package/src/enums/CornerType.ts +6 -0
- package/src/enums/DecorationVariant.ts +10 -0
- package/src/enums/HealthType.ts +16 -0
- package/src/enums/ModCallbackCustom.ts +1294 -0
- package/src/enums/PocketItemType.ts +8 -0
- package/src/enums/RockAltType.ts +7 -0
- package/src/enums/SerializationType.ts +5 -0
- package/src/enums/SlotDestructionType.ts +4 -0
- package/src/enums/private/CopyableIsaacAPIClassType.ts +7 -0
- package/src/enums/private/SaveDataKey.ts +6 -0
- package/src/enums/private/SerializationBrand.ts +42 -0
- package/src/features/characterHealthConversion.ts +125 -0
- package/src/features/characterStats.ts +67 -0
- package/src/features/collectibleItemPoolType.ts +66 -0
- package/src/features/customGridEntity.ts +192 -0
- package/src/features/customStage/backdrop.ts +274 -0
- package/src/features/customStage/customStageConstants.ts +1 -0
- package/src/features/customStage/exports.ts +201 -0
- package/src/features/customStage/gridEntities.ts +195 -0
- package/src/features/customStage/init.ts +172 -0
- package/src/features/customStage/metadata.json +1 -0
- package/src/features/customStage/shadows.ts +84 -0
- package/src/features/customStage/streakText.ts +43 -0
- package/src/features/customStage/util.ts +54 -0
- package/src/features/customStage/v.ts +26 -0
- package/src/features/customStage/versusScreen.ts +267 -0
- package/src/features/debugDisplay/debugDisplay.ts +226 -0
- package/src/features/debugDisplay/exports.ts +513 -0
- package/src/features/debugDisplay/v.ts +79 -0
- package/src/features/deployJSONRoom.ts +759 -0
- package/src/features/disableAllSound.ts +77 -0
- package/src/features/disableInputs.ts +193 -0
- package/src/features/extraConsoleCommands/commandsDisplay.ts +290 -0
- package/src/features/extraConsoleCommands/commandsSubroutines.ts +139 -0
- package/src/features/extraConsoleCommands/exports.ts +78 -0
- package/src/features/extraConsoleCommands/init.ts +385 -0
- package/src/features/extraConsoleCommands/listCommands.ts +1351 -0
- package/src/features/extraConsoleCommands/v.ts +30 -0
- package/src/features/fadeInRemover.ts +60 -0
- package/src/features/fastReset.ts +75 -0
- package/src/features/forgottenSwitch.ts +50 -0
- package/src/features/pause.ts +98 -0
- package/src/features/persistentEntities.ts +190 -0
- package/src/features/playerInventory.ts +135 -0
- package/src/features/ponyDetection.ts +86 -0
- package/src/features/preventCollectibleRotation.ts +115 -0
- package/src/features/registerHotkey.ts +124 -0
- package/src/features/roomClearFrame.ts +54 -0
- package/src/features/runInNFrames.ts +255 -0
- package/src/features/runNextRoom.ts +44 -0
- package/src/features/saveDataManager/exports.ts +229 -0
- package/src/features/saveDataManager/load.ts +99 -0
- package/src/features/saveDataManager/main.ts +196 -0
- package/src/features/saveDataManager/maps.ts +11 -0
- package/src/features/saveDataManager/merge.ts +194 -0
- package/src/features/saveDataManager/save.ts +74 -0
- package/src/features/saveDataManager/saveDataManagerConstants.ts +4 -0
- package/src/features/saveDataManager/serializationBrand.ts +16 -0
- package/src/features/sirenHelpers.ts +129 -0
- package/src/features/stageHistory.ts +67 -0
- package/src/features/taintedLazarusPlayers.ts +113 -0
- package/src/featuresInitialized.ts +20 -0
- package/src/functions/ambush.ts +45 -0
- package/src/functions/array.ts +548 -0
- package/src/functions/benchmark.ts +36 -0
- package/src/functions/bitwise.ts +92 -0
- package/src/functions/bombs.ts +12 -0
- package/src/functions/boss.ts +230 -0
- package/src/functions/cacheFlag.ts +12 -0
- package/src/functions/cards.ts +271 -0
- package/src/functions/challenges.ts +13 -0
- package/src/functions/character.ts +120 -0
- package/src/functions/charge.ts +282 -0
- package/src/functions/chargeBar.ts +66 -0
- package/src/functions/collectibleCacheFlag.ts +90 -0
- package/src/functions/collectibleSet.ts +133 -0
- package/src/functions/collectibleTag.ts +89 -0
- package/src/functions/collectibles.ts +644 -0
- package/src/functions/color.ts +123 -0
- package/src/functions/debug.ts +68 -0
- package/src/functions/deepCopy.ts +535 -0
- package/src/functions/deepCopyTests.ts +386 -0
- package/src/functions/direction.ts +49 -0
- package/src/functions/doors.ts +423 -0
- package/src/functions/easing.ts +182 -0
- package/src/functions/eden.ts +47 -0
- package/src/functions/effects.ts +20 -0
- package/src/functions/entity.ts +476 -0
- package/src/functions/entitySpecific.ts +938 -0
- package/src/functions/entityTypes.ts +6 -0
- package/src/functions/enums.ts +187 -0
- package/src/functions/familiars.ts +117 -0
- package/src/functions/flag.ts +165 -0
- package/src/functions/flying.ts +117 -0
- package/src/functions/globals.ts +242 -0
- package/src/functions/gridEntity.ts +654 -0
- package/src/functions/gridEntitySpecific.ts +143 -0
- package/src/functions/input.ts +139 -0
- package/src/functions/isaacAPIClass.ts +67 -0
- package/src/functions/jsonHelpers.ts +45 -0
- package/src/functions/jsonRoom.ts +184 -0
- package/src/functions/kColor.ts +124 -0
- package/src/functions/language.ts +13 -0
- package/src/functions/level.ts +31 -0
- package/src/functions/log.ts +734 -0
- package/src/functions/map.ts +56 -0
- package/src/functions/math.ts +149 -0
- package/src/functions/mergeTests.ts +288 -0
- package/src/functions/minimap.ts +102 -0
- package/src/functions/nextStage.ts +419 -0
- package/src/functions/npc.ts +148 -0
- package/src/functions/pickupVariants.ts +60 -0
- package/src/functions/pickups.ts +513 -0
- package/src/functions/pills.ts +205 -0
- package/src/functions/player.ts +1057 -0
- package/src/functions/playerCenter.ts +68 -0
- package/src/functions/playerDataStructures.ts +150 -0
- package/src/functions/playerHealth.ts +396 -0
- package/src/functions/playerIndex.ts +198 -0
- package/src/functions/pocketItems.ts +149 -0
- package/src/functions/positionVelocity.ts +188 -0
- package/src/functions/random.ts +89 -0
- package/src/functions/revive.ts +201 -0
- package/src/functions/rng.ts +180 -0
- package/src/functions/roomData.ts +199 -0
- package/src/functions/roomGrid.ts +109 -0
- package/src/functions/roomShape.ts +123 -0
- package/src/functions/rooms.ts +665 -0
- package/src/functions/run.ts +61 -0
- package/src/functions/saveFile.ts +133 -0
- package/src/functions/seeds.ts +19 -0
- package/src/functions/serialization.ts +91 -0
- package/src/functions/set.ts +124 -0
- package/src/functions/sound.ts +9 -0
- package/src/functions/spawnCollectible.ts +104 -0
- package/src/functions/sprite.ts +107 -0
- package/src/functions/stage.ts +221 -0
- package/src/functions/string.ts +47 -0
- package/src/functions/table.ts +189 -0
- package/src/functions/tears.ts +32 -0
- package/src/functions/transformations.ts +131 -0
- package/src/functions/trinketCacheFlag.ts +60 -0
- package/src/functions/trinketGive.ts +157 -0
- package/src/functions/trinkets.ts +213 -0
- package/src/functions/tstlClass.ts +157 -0
- package/src/functions/types.ts +36 -0
- package/src/functions/ui.ts +148 -0
- package/src/functions/utils.ts +200 -0
- package/src/functions/vector.ts +126 -0
- package/src/index.ts +179 -0
- package/src/initCustomCallbacks.ts +134 -0
- package/src/initFeatures.ts +53 -0
- package/src/interfaces/AddCallbackParameterCustom.ts +190 -0
- package/src/interfaces/ChargeBarSprites.ts +12 -0
- package/src/interfaces/Corner.ts +6 -0
- package/src/interfaces/CustomGridEntityData.ts +13 -0
- package/src/interfaces/CustomStage.ts +15 -0
- package/src/interfaces/CustomStageLua.ts +404 -0
- package/src/interfaces/JSONRoomsFile.ts +96 -0
- package/src/interfaces/PlayerHealth.ts +16 -0
- package/src/interfaces/PocketItemDescription.ts +9 -0
- package/src/interfaces/SaveData.ts +29 -0
- package/src/interfaces/TrinketSituation.ts +9 -0
- package/src/interfaces/private/TSTLClassMetatable.ts +8 -0
- package/src/maps/PHDPillConversions.ts +21 -0
- package/src/maps/cardMap.ts +209 -0
- package/src/maps/characterMap.ts +87 -0
- package/src/maps/collectibleDescriptionMap.ts +732 -0
- package/src/maps/collectibleNameMap.ts +731 -0
- package/src/maps/defaultPlayerStatMap.ts +17 -0
- package/src/maps/falsePHDPillConversions.ts +35 -0
- package/src/maps/gridEntityTypeToBrokenStateMap.ts +50 -0
- package/src/maps/gridEntityXMLMap.ts +176 -0
- package/src/maps/pillEffectMap.ts +88 -0
- package/src/maps/roomShapeToTopLeftWallGridIndexMap.ts +18 -0
- package/src/maps/roomTypeMap.ts +39 -0
- package/src/maps/trinketDescriptionMap.ts +200 -0
- package/src/maps/trinketNameMap.ts +198 -0
- package/src/objects/LRoomShapeToRectangles.ts +44 -0
- package/src/objects/backdropTypeToRockAltType.ts +68 -0
- package/src/objects/bossNamePNGFileNames.ts +115 -0
- package/src/objects/bossPortraitPNGFileNames.ts +118 -0
- package/src/objects/callbackRegisterFunctions.ts +189 -0
- package/src/objects/cardDescriptions.ts +105 -0
- package/src/objects/cardNames.ts +105 -0
- package/src/objects/cardTypes.ts +104 -0
- package/src/objects/challengeNames.ts +52 -0
- package/src/objects/characterNames.ts +46 -0
- package/src/objects/coinSubTypeToValue.ts +14 -0
- package/src/objects/colors.ts +24 -0
- package/src/objects/directionNames.ts +11 -0
- package/src/objects/directionToDegrees.ts +11 -0
- package/src/objects/directionToVector.ts +12 -0
- package/src/objects/doorSlotFlagToDoorSlot.ts +16 -0
- package/src/objects/doorSlotToDirection.ts +14 -0
- package/src/objects/doorSlotToDoorSlotFlag.ts +19 -0
- package/src/objects/isaacAPIClassTypeToBrand.ts +11 -0
- package/src/objects/isaacAPIClassTypeToCopyFunction.ts +18 -0
- package/src/objects/languageNames.ts +13 -0
- package/src/objects/oppositeDoorSlots.ts +15 -0
- package/src/objects/pillEffectClasses.ts +63 -0
- package/src/objects/pillEffectNames.ts +57 -0
- package/src/objects/pillEffectTypes.ts +62 -0
- package/src/objects/playerNamePNGFileNames.ts +58 -0
- package/src/objects/playerPortraitPNGFileNames.ts +55 -0
- package/src/objects/roomShapeBounds.ts +65 -0
- package/src/objects/roomShapeCorners.ts +283 -0
- package/src/objects/roomShapeLayoutSizes.ts +45 -0
- package/src/objects/roomShapeToBottomRightPosition.ts +25 -0
- package/src/objects/roomShapeToDoorSlotCoordinates.ts +122 -0
- package/src/objects/roomShapeToDoorSlots.ts +83 -0
- package/src/objects/roomShapeToDoorSlotsToGridIndexDelta.ts +127 -0
- package/src/objects/roomShapeToGridWidth.ts +21 -0
- package/src/objects/roomShapeToTopLeftPosition.ts +26 -0
- package/src/objects/roomShapeVolumes.ts +38 -0
- package/src/objects/roomTypeGotoPrefixes.ts +35 -0
- package/src/objects/roomTypeNames.ts +35 -0
- package/src/objects/serializedIsaacAPIClassTypeToIdentityFunction.ts +14 -0
- package/src/objects/stageTypeSuffixes.ts +12 -0
- package/src/objects/stageTypeToLetter.ts +15 -0
- package/src/objects/transformationNames.ts +18 -0
- package/src/objects/versusScreenBackgroundColors.ts +39 -0
- package/src/objects/versusScreenDirtSpotColors.ts +39 -0
- package/src/patchErrorFunctions.ts +92 -0
- package/src/sets/LRoomShapesSet.ts +8 -0
- package/src/sets/bossSets.ts +470 -0
- package/src/sets/charactersThatStartWithAnActiveItemSet.ts +16 -0
- package/src/sets/charactersWithBlackHeartFromEternalHeartSet.ts +7 -0
- package/src/sets/charactersWithFreeDevilDealsSet.ts +4 -0
- package/src/sets/charactersWithNoRedHeartsSet.ts +17 -0
- package/src/sets/charactersWithNoSoulHeartsSet.ts +14 -0
- package/src/sets/chestPickupVariantsSet.ts +16 -0
- package/src/sets/consoleCommandsSet.ts +61 -0
- package/src/sets/familiarsThatShootPlayerTearsSet.ts +13 -0
- package/src/sets/lostStyleCharactersSet.ts +13 -0
- package/src/sets/mineShaftRoomSubTypesSet.ts +10 -0
- package/src/sets/narrowRoomShapesSet.ts +8 -0
- package/src/sets/redHeartSubTypesSet.ts +7 -0
- package/src/sets/sinEntityTypesSet.ts +11 -0
- package/src/sets/singleUseActiveCollectibleTypesSet.ts +13 -0
- package/src/sets/storyBossesSet.ts +17 -0
- package/src/shaderCrashFix.ts +18 -0
- package/src/types/AnyEntity.ts +12 -0
- package/src/types/AwaitingTextInput.d.ts +2 -0
- package/src/types/CollectibleIndex.ts +16 -0
- package/src/types/PickingUpItem.ts +87 -0
- package/src/types/PlayerIndex.ts +13 -0
- package/src/types/private/IsaacAPIClass.ts +3 -0
- package/src/types/private/SerializedIsaacAPIClass.ts +3 -0
- package/src/types/private/TSTLClass.ts +3 -0
- package/src/upgradeMod.ts +57 -0
- package/cachedClasses.d.ts +0 -55
- package/cachedClasses.lua +0 -52
- package/callbacks/customRevive.d.ts +0 -1
- package/callbacks/customRevive.lua +0 -150
- package/callbacks/itemPickup.d.ts +0 -1
- package/callbacks/itemPickup.lua +0 -68
- package/callbacks/postAmbush.d.ts +0 -1
- package/callbacks/postAmbush.lua +0 -58
- package/callbacks/postBombExploded.d.ts +0 -1
- package/callbacks/postBombExploded.lua +0 -28
- package/callbacks/postBombInitLate.d.ts +0 -1
- package/callbacks/postBombInitLate.lua +0 -35
- package/callbacks/postBoneSwing.d.ts +0 -1
- package/callbacks/postBoneSwing.lua +0 -52
- package/callbacks/postCollectibleEmpty.d.ts +0 -1
- package/callbacks/postCollectibleEmpty.lua +0 -42
- package/callbacks/postCollectibleInitFirst.d.ts +0 -1
- package/callbacks/postCollectibleInitFirst.lua +0 -37
- package/callbacks/postCursedTeleport.d.ts +0 -1
- package/callbacks/postCursedTeleport.lua +0 -124
- package/callbacks/postCustomDoorEnter.d.ts +0 -50
- package/callbacks/postCustomDoorEnter.lua +0 -242
- package/callbacks/postDiceRoomActivated.d.ts +0 -1
- package/callbacks/postDiceRoomActivated.lua +0 -43
- package/callbacks/postDoorRender.d.ts +0 -1
- package/callbacks/postDoorRender.lua +0 -28
- package/callbacks/postDoorUpdate.d.ts +0 -1
- package/callbacks/postDoorUpdate.lua +0 -28
- package/callbacks/postEffectInitLate.d.ts +0 -1
- package/callbacks/postEffectInitLate.lua +0 -35
- package/callbacks/postEffectStateChanged.d.ts +0 -1
- package/callbacks/postEffectStateChanged.lua +0 -41
- package/callbacks/postEsauJr.d.ts +0 -1
- package/callbacks/postEsauJr.lua +0 -72
- package/callbacks/postFamiliarInitLate.d.ts +0 -1
- package/callbacks/postFamiliarInitLate.lua +0 -35
- package/callbacks/postFamiliarStateChanged.d.ts +0 -1
- package/callbacks/postFamiliarStateChanged.lua +0 -41
- package/callbacks/postFlip.d.ts +0 -1
- package/callbacks/postFlip.lua +0 -66
- package/callbacks/postGreedModeWave.d.ts +0 -1
- package/callbacks/postGreedModeWave.lua +0 -36
- package/callbacks/postGridEntity.d.ts +0 -1
- package/callbacks/postGridEntity.lua +0 -111
- package/callbacks/postGridEntityCollision.d.ts +0 -1
- package/callbacks/postGridEntityCollision.lua +0 -69
- package/callbacks/postGridEntityRender.d.ts +0 -1
- package/callbacks/postGridEntityRender.lua +0 -28
- package/callbacks/postHolyMantleRemoved.d.ts +0 -1
- package/callbacks/postHolyMantleRemoved.lua +0 -43
- package/callbacks/postItemDischarged.d.ts +0 -2
- package/callbacks/postItemDischarged.lua +0 -107
- package/callbacks/postKnifeInitLate.d.ts +0 -1
- package/callbacks/postKnifeInitLate.lua +0 -35
- package/callbacks/postLaserInitLate.d.ts +0 -1
- package/callbacks/postLaserInitLate.lua +0 -35
- package/callbacks/postNPCInitLate.d.ts +0 -1
- package/callbacks/postNPCInitLate.lua +0 -35
- package/callbacks/postNPCStateChanged.d.ts +0 -1
- package/callbacks/postNPCStateChanged.lua +0 -41
- package/callbacks/postNewRoomEarly.d.ts +0 -1
- package/callbacks/postNewRoomEarly.lua +0 -70
- package/callbacks/postPickupCollect.d.ts +0 -1
- package/callbacks/postPickupCollect.lua +0 -43
- package/callbacks/postPickupInitFirst.d.ts +0 -1
- package/callbacks/postPickupInitFirst.lua +0 -57
- package/callbacks/postPickupInitLate.d.ts +0 -1
- package/callbacks/postPickupInitLate.lua +0 -35
- package/callbacks/postPickupStateChanged.d.ts +0 -1
- package/callbacks/postPickupStateChanged.lua +0 -41
- package/callbacks/postPitRender.d.ts +0 -1
- package/callbacks/postPitRender.lua +0 -28
- package/callbacks/postPitUpdate.d.ts +0 -1
- package/callbacks/postPitUpdate.lua +0 -28
- package/callbacks/postPlayerChangeHealth.d.ts +0 -1
- package/callbacks/postPlayerChangeHealth.lua +0 -54
- package/callbacks/postPlayerChangeType.d.ts +0 -1
- package/callbacks/postPlayerChangeType.lua +0 -43
- package/callbacks/postPlayerCollectible.d.ts +0 -1
- package/callbacks/postPlayerCollectible.lua +0 -99
- package/callbacks/postPlayerFatalDamage.d.ts +0 -1
- package/callbacks/postPlayerFatalDamage.lua +0 -101
- package/callbacks/postPlayerInitLate.d.ts +0 -1
- package/callbacks/postPlayerInitLate.lua +0 -37
- package/callbacks/postPlayerReordered.d.ts +0 -1
- package/callbacks/postPlayerReordered.lua +0 -116
- package/callbacks/postPoopRender.d.ts +0 -1
- package/callbacks/postPoopRender.lua +0 -28
- package/callbacks/postPoopUpdate.d.ts +0 -1
- package/callbacks/postPoopUpdate.lua +0 -28
- package/callbacks/postPressurePlateRender.d.ts +0 -1
- package/callbacks/postPressurePlateRender.lua +0 -28
- package/callbacks/postPressurePlateUpdate.d.ts +0 -1
- package/callbacks/postPressurePlateUpdate.lua +0 -28
- package/callbacks/postProjectileInitLate.d.ts +0 -1
- package/callbacks/postProjectileInitLate.lua +0 -35
- package/callbacks/postPurchase.d.ts +0 -1
- package/callbacks/postPurchase.lua +0 -53
- package/callbacks/postRockRender.d.ts +0 -1
- package/callbacks/postRockRender.lua +0 -28
- package/callbacks/postRockUpdate.d.ts +0 -1
- package/callbacks/postRockUpdate.lua +0 -28
- package/callbacks/postRoomClearChanged.d.ts +0 -1
- package/callbacks/postRoomClearChanged.lua +0 -46
- package/callbacks/postSacrifice.d.ts +0 -1
- package/callbacks/postSacrifice.lua +0 -47
- package/callbacks/postSlotDestroyed.d.ts +0 -1
- package/callbacks/postSlotDestroyed.lua +0 -70
- package/callbacks/postSlotInitUpdate.d.ts +0 -1
- package/callbacks/postSlotInitUpdate.lua +0 -57
- package/callbacks/postSlotRender.d.ts +0 -1
- package/callbacks/postSlotRender.lua +0 -60
- package/callbacks/postSpikesRender.d.ts +0 -1
- package/callbacks/postSpikesRender.lua +0 -28
- package/callbacks/postSpikesUpdate.d.ts +0 -1
- package/callbacks/postSpikesUpdate.lua +0 -28
- package/callbacks/postTNTRender.d.ts +0 -1
- package/callbacks/postTNTRender.lua +0 -28
- package/callbacks/postTNTUpdate.d.ts +0 -1
- package/callbacks/postTNTUpdate.lua +0 -28
- package/callbacks/postTearInitLate.d.ts +0 -1
- package/callbacks/postTearInitLate.lua +0 -35
- package/callbacks/postTearInitVeryLate.d.ts +0 -1
- package/callbacks/postTearInitVeryLate.lua +0 -38
- package/callbacks/postTransformation.d.ts +0 -1
- package/callbacks/postTransformation.lua +0 -50
- package/callbacks/postTrinketBreak.d.ts +0 -1
- package/callbacks/postTrinketBreak.lua +0 -75
- package/callbacks/preBerserkDeath.d.ts +0 -1
- package/callbacks/preBerserkDeath.lua +0 -40
- package/callbacks/preNewLevel.d.ts +0 -1
- package/callbacks/preNewLevel.lua +0 -47
- package/callbacks/reorderedCallbacks.d.ts +0 -29
- package/callbacks/reorderedCallbacks.lua +0 -120
- package/callbacks/subscriptions/postAmbushFinished.d.ts +0 -5
- package/callbacks/subscriptions/postAmbushFinished.lua +0 -31
- package/callbacks/subscriptions/postAmbushStarted.d.ts +0 -5
- package/callbacks/subscriptions/postAmbushStarted.lua +0 -31
- package/callbacks/subscriptions/postBombInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postBombInitLate.lua +0 -31
- package/callbacks/subscriptions/postBoneExploded.d.ts +0 -5
- package/callbacks/subscriptions/postBoneExploded.lua +0 -31
- package/callbacks/subscriptions/postBoneSwing.d.ts +0 -4
- package/callbacks/subscriptions/postBoneSwing.lua +0 -24
- package/callbacks/subscriptions/postCollectibleEmpty.d.ts +0 -5
- package/callbacks/subscriptions/postCollectibleEmpty.lua +0 -31
- package/callbacks/subscriptions/postCollectibleInitFirst.d.ts +0 -5
- package/callbacks/subscriptions/postCollectibleInitFirst.lua +0 -31
- package/callbacks/subscriptions/postCursedTeleport.d.ts +0 -4
- package/callbacks/subscriptions/postCursedTeleport.lua +0 -24
- package/callbacks/subscriptions/postCustomDoorEnter.d.ts +0 -5
- package/callbacks/subscriptions/postCustomDoorEnter.lua +0 -37
- package/callbacks/subscriptions/postCustomRevive.d.ts +0 -6
- package/callbacks/subscriptions/postCustomRevive.lua +0 -31
- package/callbacks/subscriptions/postDiceRoomActivated.d.ts +0 -5
- package/callbacks/subscriptions/postDiceRoomActivated.lua +0 -31
- package/callbacks/subscriptions/postDoorRender.d.ts +0 -6
- package/callbacks/subscriptions/postDoorRender.lua +0 -32
- package/callbacks/subscriptions/postDoorUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postDoorUpdate.lua +0 -32
- package/callbacks/subscriptions/postEffectInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postEffectInitLate.lua +0 -31
- package/callbacks/subscriptions/postEffectStateChanged.d.ts +0 -5
- package/callbacks/subscriptions/postEffectStateChanged.lua +0 -31
- package/callbacks/subscriptions/postEsauJr.d.ts +0 -4
- package/callbacks/subscriptions/postEsauJr.lua +0 -24
- package/callbacks/subscriptions/postFamiliarInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postFamiliarInitLate.lua +0 -31
- package/callbacks/subscriptions/postFamiliarStateChanged.d.ts +0 -5
- package/callbacks/subscriptions/postFamiliarStateChanged.lua +0 -31
- package/callbacks/subscriptions/postFirstEsauJr.d.ts +0 -4
- package/callbacks/subscriptions/postFirstEsauJr.lua +0 -24
- package/callbacks/subscriptions/postFirstFlip.d.ts +0 -4
- package/callbacks/subscriptions/postFirstFlip.lua +0 -24
- package/callbacks/subscriptions/postFlip.d.ts +0 -4
- package/callbacks/subscriptions/postFlip.lua +0 -24
- package/callbacks/subscriptions/postGameStartedReordered.d.ts +0 -3
- package/callbacks/subscriptions/postGameStartedReordered.lua +0 -24
- package/callbacks/subscriptions/postGreedModeWave.d.ts +0 -4
- package/callbacks/subscriptions/postGreedModeWave.lua +0 -24
- package/callbacks/subscriptions/postGridEntityBroken.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityBroken.lua +0 -37
- package/callbacks/subscriptions/postGridEntityCollision.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityCollision.lua +0 -37
- package/callbacks/subscriptions/postGridEntityInit.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityInit.lua +0 -37
- package/callbacks/subscriptions/postGridEntityRemove.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityRemove.lua +0 -35
- package/callbacks/subscriptions/postGridEntityRender.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityRender.lua +0 -37
- package/callbacks/subscriptions/postGridEntityStateChanged.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityStateChanged.lua +0 -37
- package/callbacks/subscriptions/postGridEntityUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityUpdate.lua +0 -37
- package/callbacks/subscriptions/postHolyMantleRemoved.d.ts +0 -6
- package/callbacks/subscriptions/postHolyMantleRemoved.lua +0 -36
- package/callbacks/subscriptions/postItemDischarged.d.ts +0 -5
- package/callbacks/subscriptions/postItemDischarged.lua +0 -31
- package/callbacks/subscriptions/postItemPickup.d.ts +0 -11
- package/callbacks/subscriptions/postItemPickup.lua +0 -35
- package/callbacks/subscriptions/postKnifeInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postKnifeInitLate.lua +0 -31
- package/callbacks/subscriptions/postLaserInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postLaserInitLate.lua +0 -31
- package/callbacks/subscriptions/postNPCInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postNPCInitLate.lua +0 -31
- package/callbacks/subscriptions/postNPCStateChanged.d.ts +0 -6
- package/callbacks/subscriptions/postNPCStateChanged.lua +0 -35
- package/callbacks/subscriptions/postNewLevelReordered.d.ts +0 -1
- package/callbacks/subscriptions/postNewLevelReordered.lua +0 -24
- package/callbacks/subscriptions/postNewRoomEarly.d.ts +0 -1
- package/callbacks/subscriptions/postNewRoomEarly.lua +0 -24
- package/callbacks/subscriptions/postNewRoomReordered.d.ts +0 -1
- package/callbacks/subscriptions/postNewRoomReordered.lua +0 -24
- package/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPEffectUpdateReordered.lua +0 -36
- package/callbacks/subscriptions/postPickupCollect.d.ts +0 -5
- package/callbacks/subscriptions/postPickupCollect.lua +0 -31
- package/callbacks/subscriptions/postPickupInitFirst.d.ts +0 -5
- package/callbacks/subscriptions/postPickupInitFirst.lua +0 -31
- package/callbacks/subscriptions/postPickupInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postPickupInitLate.lua +0 -31
- package/callbacks/subscriptions/postPickupStateChanged.d.ts +0 -5
- package/callbacks/subscriptions/postPickupStateChanged.lua +0 -31
- package/callbacks/subscriptions/postPitRender.d.ts +0 -6
- package/callbacks/subscriptions/postPitRender.lua +0 -32
- package/callbacks/subscriptions/postPitUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postPitUpdate.lua +0 -32
- package/callbacks/subscriptions/postPlayerChangeHealth.d.ts +0 -7
- package/callbacks/subscriptions/postPlayerChangeHealth.lua +0 -36
- package/callbacks/subscriptions/postPlayerChangeType.d.ts +0 -5
- package/callbacks/subscriptions/postPlayerChangeType.lua +0 -31
- package/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +0 -5
- package/callbacks/subscriptions/postPlayerCollectibleAdded.lua +0 -31
- package/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +0 -5
- package/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +0 -31
- package/callbacks/subscriptions/postPlayerFatalDamage.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerFatalDamage.lua +0 -47
- package/callbacks/subscriptions/postPlayerInitLate.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerInitLate.lua +0 -36
- package/callbacks/subscriptions/postPlayerInitReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerInitReordered.lua +0 -36
- package/callbacks/subscriptions/postPlayerRenderReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerRenderReordered.lua +0 -36
- package/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerUpdateReordered.lua +0 -36
- package/callbacks/subscriptions/postPoopRender.d.ts +0 -6
- package/callbacks/subscriptions/postPoopRender.lua +0 -32
- package/callbacks/subscriptions/postPoopUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postPoopUpdate.lua +0 -32
- package/callbacks/subscriptions/postPressurePlateRender.d.ts +0 -6
- package/callbacks/subscriptions/postPressurePlateRender.lua +0 -32
- package/callbacks/subscriptions/postPressurePlateUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postPressurePlateUpdate.lua +0 -32
- package/callbacks/subscriptions/postProjectileInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postProjectileInitLate.lua +0 -31
- package/callbacks/subscriptions/postPurchase.d.ts +0 -6
- package/callbacks/subscriptions/postPurchase.lua +0 -24
- package/callbacks/subscriptions/postRockRender.d.ts +0 -6
- package/callbacks/subscriptions/postRockRender.lua +0 -32
- package/callbacks/subscriptions/postRockUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postRockUpdate.lua +0 -32
- package/callbacks/subscriptions/postRoomClearChanged.d.ts +0 -4
- package/callbacks/subscriptions/postRoomClearChanged.lua +0 -31
- package/callbacks/subscriptions/postSacrifice.d.ts +0 -6
- package/callbacks/subscriptions/postSacrifice.lua +0 -36
- package/callbacks/subscriptions/postSlotAnimationChanged.d.ts +0 -5
- package/callbacks/subscriptions/postSlotAnimationChanged.lua +0 -31
- package/callbacks/subscriptions/postSlotDestroyed.d.ts +0 -7
- package/callbacks/subscriptions/postSlotDestroyed.lua +0 -35
- package/callbacks/subscriptions/postSlotInit.d.ts +0 -5
- package/callbacks/subscriptions/postSlotInit.lua +0 -31
- package/callbacks/subscriptions/postSlotRender.d.ts +0 -5
- package/callbacks/subscriptions/postSlotRender.lua +0 -31
- package/callbacks/subscriptions/postSlotUpdate.d.ts +0 -5
- package/callbacks/subscriptions/postSlotUpdate.lua +0 -31
- package/callbacks/subscriptions/postSpikesRender.d.ts +0 -6
- package/callbacks/subscriptions/postSpikesRender.lua +0 -32
- package/callbacks/subscriptions/postSpikesUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postSpikesUpdate.lua +0 -32
- package/callbacks/subscriptions/postTNTRender.d.ts +0 -6
- package/callbacks/subscriptions/postTNTRender.lua +0 -32
- package/callbacks/subscriptions/postTNTUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postTNTUpdate.lua +0 -32
- package/callbacks/subscriptions/postTearInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postTearInitLate.lua +0 -31
- package/callbacks/subscriptions/postTearInitVeryLate.d.ts +0 -5
- package/callbacks/subscriptions/postTearInitVeryLate.lua +0 -31
- package/callbacks/subscriptions/postTransformation.d.ts +0 -5
- package/callbacks/subscriptions/postTransformation.lua +0 -31
- package/callbacks/subscriptions/postTrinketBreak.d.ts +0 -5
- package/callbacks/subscriptions/postTrinketBreak.lua +0 -31
- package/callbacks/subscriptions/preBerserkDeath.d.ts +0 -6
- package/callbacks/subscriptions/preBerserkDeath.lua +0 -37
- package/callbacks/subscriptions/preCustomRevive.d.ts +0 -6
- package/callbacks/subscriptions/preCustomRevive.lua +0 -40
- package/callbacks/subscriptions/preItemPickup.d.ts +0 -11
- package/callbacks/subscriptions/preItemPickup.lua +0 -35
- package/callbacks/subscriptions/preNewLevel.d.ts +0 -4
- package/callbacks/subscriptions/preNewLevel.lua +0 -24
- package/classes/DefaultMap.d.ts +0 -109
- package/classes/DefaultMap.lua +0 -136
- package/classes/ModUpgraded.d.ts +0 -27
- package/classes/ModUpgraded.lua +0 -42
- package/constants.d.ts +0 -139
- package/constants.lua +0 -117
- package/constantsFirstLast.d.ts +0 -130
- package/constantsFirstLast.lua +0 -115
- package/enums/AmbushType.d.ts +0 -4
- package/enums/AmbushType.lua +0 -9
- package/enums/CornerType.d.ts +0 -6
- package/enums/CornerType.lua +0 -13
- package/enums/DecorationVariant.d.ts +0 -9
- package/enums/DecorationVariant.lua +0 -9
- package/enums/HealthType.d.ts +0 -16
- package/enums/HealthType.lua +0 -26
- package/enums/ModCallbackCustom.d.ts +0 -1203
- package/enums/ModCallbackCustom.lua +0 -177
- package/enums/PocketItemType.d.ts +0 -8
- package/enums/PocketItemType.lua +0 -17
- package/enums/RockAltType.d.ts +0 -7
- package/enums/RockAltType.lua +0 -15
- package/enums/SerializationType.d.ts +0 -5
- package/enums/SerializationType.lua +0 -11
- package/enums/SlotDestructionType.d.ts +0 -4
- package/enums/SlotDestructionType.lua +0 -9
- package/enums/private/CopyableIsaacAPIClassType.d.ts +0 -7
- package/enums/private/CopyableIsaacAPIClassType.lua +0 -10
- package/enums/private/SaveDataKey.d.ts +0 -6
- package/enums/private/SaveDataKey.lua +0 -9
- package/enums/private/SerializationBrand.d.ts +0 -37
- package/enums/private/SerializationBrand.lua +0 -19
- package/features/characterHealthConversion.d.ts +0 -15
- package/features/characterHealthConversion.lua +0 -89
- package/features/characterStats.d.ts +0 -24
- package/features/characterStats.lua +0 -56
- package/features/collectibleItemPoolType.d.ts +0 -7
- package/features/collectibleItemPoolType.lua +0 -50
- package/features/customGridEntity.d.ts +0 -41
- package/features/customGridEntity.lua +0 -158
- package/features/customStage/backdrop.d.ts +0 -2
- package/features/customStage/backdrop.lua +0 -195
- package/features/customStage/customStageConstants.d.ts +0 -1
- package/features/customStage/customStageConstants.lua +0 -5
- package/features/customStage/exports.d.ts +0 -35
- package/features/customStage/exports.lua +0 -158
- package/features/customStage/gridEntities.d.ts +0 -18
- package/features/customStage/gridEntities.lua +0 -217
- package/features/customStage/init.d.ts +0 -2
- package/features/customStage/init.lua +0 -121
- package/features/customStage/metadata.lua +0 -3
- package/features/customStage/shadows.d.ts +0 -2
- package/features/customStage/shadows.lua +0 -71
- package/features/customStage/streakText.d.ts +0 -3
- package/features/customStage/streakText.lua +0 -40
- package/features/customStage/util.d.ts +0 -11
- package/features/customStage/util.lua +0 -53
- package/features/customStage/v.d.ts +0 -19
- package/features/customStage/v.lua +0 -15
- package/features/customStage/versusScreen.d.ts +0 -3
- package/features/customStage/versusScreen.lua +0 -208
- package/features/debugDisplay/debugDisplay.d.ts +0 -6
- package/features/debugDisplay/debugDisplay.lua +0 -187
- package/features/debugDisplay/exports.d.ts +0 -324
- package/features/debugDisplay/exports.lua +0 -370
- package/features/debugDisplay/v.d.ts +0 -45
- package/features/debugDisplay/v.lua +0 -65
- package/features/deployJSONRoom.d.ts +0 -66
- package/features/deployJSONRoom.lua +0 -569
- package/features/disableAllSound.d.ts +0 -18
- package/features/disableAllSound.lua +0 -64
- package/features/disableInputs.d.ts +0 -62
- package/features/disableInputs.lua +0 -136
- package/features/extraConsoleCommands/commandsDisplay.d.ts +0 -162
- package/features/extraConsoleCommands/commandsDisplay.lua +0 -221
- package/features/extraConsoleCommands/commandsSubroutines.d.ts +0 -9
- package/features/extraConsoleCommands/commandsSubroutines.lua +0 -131
- package/features/extraConsoleCommands/exports.d.ts +0 -26
- package/features/extraConsoleCommands/exports.lua +0 -56
- package/features/extraConsoleCommands/init.d.ts +0 -2
- package/features/extraConsoleCommands/init.lua +0 -248
- package/features/extraConsoleCommands/listCommands.d.ts +0 -366
- package/features/extraConsoleCommands/listCommands.lua +0 -1132
- package/features/extraConsoleCommands/v.d.ts +0 -22
- package/features/extraConsoleCommands/v.lua +0 -24
- package/features/fadeInRemover.d.ts +0 -14
- package/features/fadeInRemover.lua +0 -57
- package/features/fastReset.d.ts +0 -14
- package/features/fastReset.lua +0 -61
- package/features/forgottenSwitch.d.ts +0 -5
- package/features/forgottenSwitch.lua +0 -34
- package/features/pause.d.ts +0 -11
- package/features/pause.lua +0 -73
- package/features/persistentEntities.d.ts +0 -28
- package/features/persistentEntities.lua +0 -157
- package/features/playerInventory.d.ts +0 -14
- package/features/playerInventory.lua +0 -113
- package/features/ponyDetection.d.ts +0 -11
- package/features/ponyDetection.lua +0 -68
- package/features/preventCollectibleRotation.d.ts +0 -11
- package/features/preventCollectibleRotation.lua +0 -70
- package/features/registerHotkey.d.ts +0 -22
- package/features/registerHotkey.lua +0 -95
- package/features/roomClearFrame.d.ts +0 -11
- package/features/roomClearFrame.lua +0 -40
- package/features/runInNFrames.d.ts +0 -95
- package/features/runInNFrames.lua +0 -198
- package/features/runNextRoom.d.ts +0 -8
- package/features/runNextRoom.lua +0 -42
- package/features/saveDataManager/exports.d.ts +0 -131
- package/features/saveDataManager/exports.lua +0 -185
- package/features/saveDataManager/load.d.ts +0 -4
- package/features/saveDataManager/load.lua +0 -74
- package/features/saveDataManager/main.d.ts +0 -3
- package/features/saveDataManager/main.lua +0 -136
- package/features/saveDataManager/maps.d.ts +0 -10
- package/features/saveDataManager/maps.lua +0 -13
- package/features/saveDataManager/merge.d.ts +0 -24
- package/features/saveDataManager/merge.lua +0 -154
- package/features/saveDataManager/save.d.ts +0 -4
- package/features/saveDataManager/save.lua +0 -51
- package/features/saveDataManager/saveDataManagerConstants.d.ts +0 -3
- package/features/saveDataManager/saveDataManagerConstants.lua +0 -7
- package/features/saveDataManager/serializationBrand.d.ts +0 -1
- package/features/saveDataManager/serializationBrand.lua +0 -21
- package/features/sirenHelpers.d.ts +0 -18
- package/features/sirenHelpers.lua +0 -84
- package/features/stageHistory.d.ts +0 -15
- package/features/stageHistory.lua +0 -64
- package/features/taintedLazarusPlayers.d.ts +0 -13
- package/features/taintedLazarusPlayers.lua +0 -87
- package/featuresInitialized.d.ts +0 -1
- package/featuresInitialized.lua +0 -22
- package/functions/ambush.d.ts +0 -7
- package/functions/ambush.lua +0 -45
- package/functions/array.d.ts +0 -213
- package/functions/array.lua +0 -502
- package/functions/benchmark.d.ts +0 -10
- package/functions/benchmark.lua +0 -40
- package/functions/bitwise.d.ts +0 -29
- package/functions/bitwise.lua +0 -79
- package/functions/bombs.d.ts +0 -3
- package/functions/bombs.lua +0 -14
- package/functions/boss.d.ts +0 -56
- package/functions/boss.lua +0 -224
- package/functions/cacheFlag.d.ts +0 -8
- package/functions/cacheFlag.lua +0 -13
- package/functions/cards.d.ts +0 -95
- package/functions/cards.lua +0 -236
- package/functions/challenges.d.ts +0 -3
- package/functions/challenges.lua +0 -12
- package/functions/character.d.ts +0 -48
- package/functions/character.lua +0 -96
- package/functions/charge.d.ts +0 -76
- package/functions/charge.lua +0 -209
- package/functions/chargeBar.d.ts +0 -13
- package/functions/chargeBar.lua +0 -47
- package/functions/collectibleCacheFlag.d.ts +0 -23
- package/functions/collectibleCacheFlag.lua +0 -82
- package/functions/collectibleSet.d.ts +0 -44
- package/functions/collectibleSet.lua +0 -104
- package/functions/collectibleTag.d.ts +0 -16
- package/functions/collectibleTag.lua +0 -85
- package/functions/collectibles.d.ts +0 -212
- package/functions/collectibles.lua +0 -438
- package/functions/color.d.ts +0 -29
- package/functions/color.lua +0 -121
- package/functions/debug.d.ts +0 -27
- package/functions/debug.lua +0 -51
- package/functions/deepCopy.d.ts +0 -29
- package/functions/deepCopy.lua +0 -391
- package/functions/deepCopyTests.d.ts +0 -1
- package/functions/deepCopyTests.lua +0 -317
- package/functions/direction.d.ts +0 -12
- package/functions/direction.lua +0 -46
- package/functions/doors.d.ts +0 -138
- package/functions/doors.lua +0 -337
- package/functions/easing.d.ts +0 -30
- package/functions/easing.lua +0 -117
- package/functions/eden.d.ts +0 -3
- package/functions/eden.lua +0 -49
- package/functions/effects.d.ts +0 -6
- package/functions/effects.lua +0 -14
- package/functions/entity.d.ts +0 -155
- package/functions/entity.lua +0 -408
- package/functions/entitySpecific.d.ts +0 -264
- package/functions/entitySpecific.lua +0 -834
- package/functions/entityTypes.d.ts +0 -3
- package/functions/entityTypes.lua +0 -10
- package/functions/enums.d.ts +0 -95
- package/functions/enums.lua +0 -179
- package/functions/familiars.d.ts +0 -62
- package/functions/familiars.lua +0 -103
- package/functions/flag.d.ts +0 -99
- package/functions/flag.lua +0 -126
- package/functions/flying.d.ts +0 -19
- package/functions/flying.lua +0 -79
- package/functions/globals.d.ts +0 -14
- package/functions/globals.lua +0 -236
- package/functions/gridEntity.d.ts +0 -219
- package/functions/gridEntity.lua +0 -493
- package/functions/gridEntitySpecific.d.ts +0 -28
- package/functions/gridEntitySpecific.lua +0 -116
- package/functions/input.d.ts +0 -32
- package/functions/input.lua +0 -119
- package/functions/isaacAPIClass.d.ts +0 -23
- package/functions/isaacAPIClass.lua +0 -51
- package/functions/jsonHelpers.d.ts +0 -18
- package/functions/jsonHelpers.lua +0 -39
- package/functions/jsonRoom.d.ts +0 -36
- package/functions/jsonRoom.lua +0 -155
- package/functions/kColor.d.ts +0 -29
- package/functions/kColor.lua +0 -100
- package/functions/language.d.ts +0 -8
- package/functions/language.lua +0 -15
- package/functions/level.d.ts +0 -1
- package/functions/level.lua +0 -31
- package/functions/log.d.ts +0 -90
- package/functions/log.lua +0 -595
- package/functions/map.d.ts +0 -22
- package/functions/map.lua +0 -63
- package/functions/math.d.ts +0 -50
- package/functions/math.lua +0 -120
- package/functions/mergeTests.d.ts +0 -1
- package/functions/mergeTests.lua +0 -184
- package/functions/minimap.d.ts +0 -39
- package/functions/minimap.lua +0 -80
- package/functions/nextStage.d.ts +0 -18
- package/functions/nextStage.lua +0 -253
- package/functions/npc.d.ts +0 -40
- package/functions/npc.lua +0 -130
- package/functions/pickupVariants.d.ts +0 -23
- package/functions/pickupVariants.lua +0 -50
- package/functions/pickups.d.ts +0 -132
- package/functions/pickups.lua +0 -476
- package/functions/pills.d.ts +0 -79
- package/functions/pills.lua +0 -146
- package/functions/player.d.ts +0 -330
- package/functions/player.lua +0 -833
- package/functions/playerCenter.d.ts +0 -10
- package/functions/playerCenter.lua +0 -66
- package/functions/playerDataStructures.d.ts +0 -92
- package/functions/playerDataStructures.lua +0 -105
- package/functions/playerHealth.d.ts +0 -34
- package/functions/playerHealth.lua +0 -355
- package/functions/playerIndex.d.ts +0 -73
- package/functions/playerIndex.lua +0 -179
- package/functions/pocketItems.d.ts +0 -33
- package/functions/pocketItems.lua +0 -106
- package/functions/positionVelocity.d.ts +0 -67
- package/functions/positionVelocity.lua +0 -156
- package/functions/random.d.ts +0 -48
- package/functions/random.lua +0 -89
- package/functions/revive.d.ts +0 -33
- package/functions/revive.lua +0 -119
- package/functions/rng.d.ts +0 -54
- package/functions/rng.lua +0 -145
- package/functions/roomData.d.ts +0 -108
- package/functions/roomData.lua +0 -162
- package/functions/roomGrid.d.ts +0 -40
- package/functions/roomGrid.lua +0 -82
- package/functions/roomShape.d.ts +0 -63
- package/functions/roomShape.lua +0 -98
- package/functions/rooms.d.ts +0 -202
- package/functions/rooms.lua +0 -494
- package/functions/run.d.ts +0 -22
- package/functions/run.lua +0 -50
- package/functions/saveFile.d.ts +0 -15
- package/functions/saveFile.lua +0 -110
- package/functions/seeds.d.ts +0 -9
- package/functions/seeds.lua +0 -21
- package/functions/serialization.d.ts +0 -11
- package/functions/serialization.lua +0 -70
- package/functions/set.d.ts +0 -60
- package/functions/set.lua +0 -112
- package/functions/sound.d.ts +0 -1
- package/functions/sound.lua +0 -15
- package/functions/spawnCollectible.d.ts +0 -31
- package/functions/spawnCollectible.lua +0 -96
- package/functions/sprite.d.ts +0 -38
- package/functions/sprite.lua +0 -91
- package/functions/stage.d.ts +0 -60
- package/functions/stage.lua +0 -144
- package/functions/string.d.ts +0 -13
- package/functions/string.lua +0 -44
- package/functions/table.d.ts +0 -52
- package/functions/table.lua +0 -151
- package/functions/tears.d.ts +0 -23
- package/functions/tears.lua +0 -28
- package/functions/transformations.d.ts +0 -30
- package/functions/transformations.lua +0 -114
- package/functions/trinketCacheFlag.d.ts +0 -10
- package/functions/trinketCacheFlag.lua +0 -55
- package/functions/trinketGive.d.ts +0 -38
- package/functions/trinketGive.lua +0 -116
- package/functions/trinkets.d.ts +0 -73
- package/functions/trinkets.lua +0 -169
- package/functions/tstlClass.d.ts +0 -54
- package/functions/tstlClass.lua +0 -114
- package/functions/types.d.ts +0 -10
- package/functions/types.lua +0 -27
- package/functions/ui.d.ts +0 -38
- package/functions/ui.lua +0 -121
- package/functions/utils.d.ts +0 -97
- package/functions/utils.lua +0 -173
- package/functions/vector.d.ts +0 -32
- package/functions/vector.lua +0 -109
- package/index.d.ts +0 -139
- package/index.lua +0 -1020
- package/initCustomCallbacks.d.ts +0 -2
- package/initCustomCallbacks.lua +0 -201
- package/initFeatures.d.ts +0 -3
- package/initFeatures.lua +0 -77
- package/interfaces/AddCallbackParameterCustom.d.ts +0 -169
- package/interfaces/AddCallbackParameterCustom.lua +0 -6
- package/interfaces/ChargeBarSprites.d.ts +0 -14
- package/interfaces/ChargeBarSprites.lua +0 -4
- package/interfaces/Corner.d.ts +0 -6
- package/interfaces/Corner.lua +0 -4
- package/interfaces/CustomGridEntityData.d.ts +0 -9
- package/interfaces/CustomGridEntityData.lua +0 -4
- package/interfaces/CustomStage.d.ts +0 -10
- package/interfaces/CustomStage.lua +0 -4
- package/interfaces/CustomStageLua.d.ts +0 -370
- package/interfaces/CustomStageLua.lua +0 -4
- package/interfaces/JSONRoomsFile.d.ts +0 -75
- package/interfaces/JSONRoomsFile.lua +0 -4
- package/interfaces/PlayerHealth.d.ts +0 -15
- package/interfaces/PlayerHealth.lua +0 -4
- package/interfaces/PocketItemDescription.d.ts +0 -8
- package/interfaces/PocketItemDescription.lua +0 -4
- package/interfaces/SaveData.d.ts +0 -29
- package/interfaces/SaveData.lua +0 -4
- package/interfaces/TrinketSituation.d.ts +0 -8
- package/interfaces/TrinketSituation.lua +0 -4
- package/interfaces/private/TSTLClassMetatable.d.ts +0 -12
- package/interfaces/private/TSTLClassMetatable.lua +0 -4
- package/maps/PHDPillConversions.d.ts +0 -2
- package/maps/PHDPillConversions.lua +0 -27
- package/maps/cardMap.d.ts +0 -3
- package/maps/cardMap.lua +0 -214
- package/maps/characterMap.d.ts +0 -3
- package/maps/characterMap.lua +0 -92
- package/maps/collectibleDescriptionMap.d.ts +0 -3
- package/maps/collectibleDescriptionMap.lua +0 -730
- package/maps/collectibleNameMap.d.ts +0 -3
- package/maps/collectibleNameMap.lua +0 -730
- package/maps/defaultPlayerStatMap.d.ts +0 -3
- package/maps/defaultPlayerStatMap.lua +0 -27
- package/maps/falsePHDPillConversions.d.ts +0 -2
- package/maps/falsePHDPillConversions.lua +0 -41
- package/maps/gridEntityTypeToBrokenStateMap.d.ts +0 -2
- package/maps/gridEntityTypeToBrokenStateMap.lua +0 -28
- package/maps/gridEntityXMLMap.d.ts +0 -9
- package/maps/gridEntityXMLMap.lua +0 -55
- package/maps/pillEffectMap.d.ts +0 -3
- package/maps/pillEffectMap.lua +0 -92
- package/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +0 -7
- package/maps/roomShapeToTopLeftWallGridIndexMap.lua +0 -19
- package/maps/roomTypeMap.d.ts +0 -3
- package/maps/roomTypeMap.lua +0 -46
- package/maps/trinketDescriptionMap.d.ts +0 -3
- package/maps/trinketDescriptionMap.lua +0 -198
- package/maps/trinketNameMap.d.ts +0 -3
- package/maps/trinketNameMap.lua +0 -198
- package/objects/LRoomShapeToRectangles.d.ts +0 -13
- package/objects/LRoomShapeToRectangles.lua +0 -37
- package/objects/backdropTypeToRockAltType.d.ts +0 -6
- package/objects/backdropTypeToRockAltType.lua +0 -71
- package/objects/bossNamePNGFileNames.d.ts +0 -5
- package/objects/bossNamePNGFileNames.lua +0 -110
- package/objects/bossPortraitPNGFileNames.d.ts +0 -5
- package/objects/bossPortraitPNGFileNames.lua +0 -110
- package/objects/callbackRegisterFunctions.d.ts +0 -5
- package/objects/callbackRegisterFunctions.lua +0 -257
- package/objects/cardDescriptions.d.ts +0 -5
- package/objects/cardDescriptions.lua +0 -107
- package/objects/cardNames.d.ts +0 -5
- package/objects/cardNames.lua +0 -107
- package/objects/cardTypes.d.ts +0 -5
- package/objects/cardTypes.lua +0 -108
- package/objects/challengeNames.d.ts +0 -5
- package/objects/challengeNames.lua +0 -55
- package/objects/characterNames.d.ts +0 -4
- package/objects/characterNames.lua +0 -50
- package/objects/coinSubTypeToValue.d.ts +0 -5
- package/objects/coinSubTypeToValue.lua +0 -17
- package/objects/colors.d.ts +0 -23
- package/objects/colors.lua +0 -25
- package/objects/directionNames.d.ts +0 -4
- package/objects/directionNames.lua +0 -13
- package/objects/directionToDegrees.d.ts +0 -4
- package/objects/directionToDegrees.lua +0 -13
- package/objects/directionToVector.d.ts +0 -4
- package/objects/directionToVector.lua +0 -15
- package/objects/doorSlotFlagToDoorSlot.d.ts +0 -5
- package/objects/doorSlotFlagToDoorSlot.lua +0 -18
- package/objects/doorSlotToDirection.d.ts +0 -4
- package/objects/doorSlotToDirection.lua +0 -18
- package/objects/doorSlotToDoorSlotFlag.d.ts +0 -4
- package/objects/doorSlotToDoorSlotFlag.lua +0 -19
- package/objects/isaacAPIClassTypeToBrand.d.ts +0 -5
- package/objects/isaacAPIClassTypeToBrand.lua +0 -9
- package/objects/isaacAPIClassTypeToCopyFunction.d.ts +0 -5
- package/objects/isaacAPIClassTypeToCopyFunction.lua +0 -15
- package/objects/languageNames.d.ts +0 -4
- package/objects/languageNames.lua +0 -15
- package/objects/oppositeDoorSlots.d.ts +0 -4
- package/objects/oppositeDoorSlots.lua +0 -17
- package/objects/pillEffectClasses.d.ts +0 -5
- package/objects/pillEffectClasses.lua +0 -61
- package/objects/pillEffectNames.d.ts +0 -5
- package/objects/pillEffectNames.lua +0 -59
- package/objects/pillEffectTypes.d.ts +0 -5
- package/objects/pillEffectTypes.lua +0 -60
- package/objects/playerNamePNGFileNames.d.ts +0 -5
- package/objects/playerNamePNGFileNames.lua +0 -51
- package/objects/playerPortraitPNGFileNames.d.ts +0 -5
- package/objects/playerPortraitPNGFileNames.lua +0 -51
- package/objects/roomShapeBounds.d.ts +0 -8
- package/objects/roomShapeBounds.lua +0 -28
- package/objects/roomShapeCorners.d.ts +0 -6
- package/objects/roomShapeCorners.lua +0 -261
- package/objects/roomShapeLayoutSizes.d.ts +0 -10
- package/objects/roomShapeLayoutSizes.lua +0 -31
- package/objects/roomShapeToBottomRightPosition.d.ts +0 -8
- package/objects/roomShapeToBottomRightPosition.lua +0 -24
- package/objects/roomShapeToDoorSlotCoordinates.d.ts +0 -9
- package/objects/roomShapeToDoorSlotCoordinates.lua +0 -86
- package/objects/roomShapeToDoorSlots.d.ts +0 -4
- package/objects/roomShapeToDoorSlots.lua +0 -48
- package/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +0 -8
- package/objects/roomShapeToDoorSlotsToGridIndexDelta.lua +0 -91
- package/objects/roomShapeToGridWidth.d.ts +0 -4
- package/objects/roomShapeToGridWidth.lua +0 -22
- package/objects/roomShapeToTopLeftPosition.d.ts +0 -8
- package/objects/roomShapeToTopLeftPosition.lua +0 -26
- package/objects/roomShapeVolumes.d.ts +0 -13
- package/objects/roomShapeVolumes.lua +0 -32
- package/objects/roomTypeGotoPrefixes.d.ts +0 -4
- package/objects/roomTypeGotoPrefixes.lua +0 -37
- package/objects/roomTypeNames.d.ts +0 -5
- package/objects/roomTypeNames.lua +0 -38
- package/objects/serializedIsaacAPIClassTypeToIdentityFunction.d.ts +0 -4
- package/objects/serializedIsaacAPIClassTypeToIdentityFunction.lua +0 -15
- package/objects/stageTypeSuffixes.d.ts +0 -4
- package/objects/stageTypeSuffixes.lua +0 -14
- package/objects/stageTypeToLetter.d.ts +0 -4
- package/objects/stageTypeToLetter.lua +0 -14
- package/objects/transformationNames.d.ts +0 -4
- package/objects/transformationNames.lua +0 -22
- package/objects/versusScreenBackgroundColors.d.ts +0 -5
- package/objects/versusScreenBackgroundColors.lua +0 -40
- package/objects/versusScreenDirtSpotColors.d.ts +0 -5
- package/objects/versusScreenDirtSpotColors.lua +0 -40
- package/patchErrorFunctions.d.ts +0 -1
- package/patchErrorFunctions.lua +0 -60
- package/sets/LRoomShapesSet.d.ts +0 -2
- package/sets/LRoomShapesSet.lua +0 -10
- package/sets/bossSets.d.ts +0 -4
- package/sets/bossSets.lua +0 -556
- package/sets/charactersThatStartWithAnActiveItemSet.d.ts +0 -2
- package/sets/charactersThatStartWithAnActiveItemSet.lua +0 -22
- package/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +0 -2
- package/sets/charactersWithBlackHeartFromEternalHeartSet.lua +0 -10
- package/sets/charactersWithFreeDevilDealsSet.d.ts +0 -2
- package/sets/charactersWithFreeDevilDealsSet.lua +0 -10
- package/sets/charactersWithNoRedHeartsSet.d.ts +0 -6
- package/sets/charactersWithNoRedHeartsSet.lua +0 -21
- package/sets/charactersWithNoSoulHeartsSet.d.ts +0 -6
- package/sets/charactersWithNoSoulHeartsSet.lua +0 -18
- package/sets/chestPickupVariantsSet.d.ts +0 -2
- package/sets/chestPickupVariantsSet.lua +0 -23
- package/sets/consoleCommandsSet.d.ts +0 -5
- package/sets/consoleCommandsSet.lua +0 -63
- package/sets/familiarsThatShootPlayerTearsSet.d.ts +0 -2
- package/sets/familiarsThatShootPlayerTearsSet.lua +0 -19
- package/sets/lostStyleCharactersSet.d.ts +0 -6
- package/sets/lostStyleCharactersSet.lua +0 -18
- package/sets/mineShaftRoomSubTypesSet.d.ts +0 -2
- package/sets/mineShaftRoomSubTypesSet.lua +0 -16
- package/sets/narrowRoomShapesSet.d.ts +0 -2
- package/sets/narrowRoomShapesSet.lua +0 -10
- package/sets/redHeartSubTypesSet.d.ts +0 -2
- package/sets/redHeartSubTypesSet.lua +0 -10
- package/sets/sinEntityTypesSet.d.ts +0 -2
- package/sets/sinEntityTypesSet.lua +0 -18
- package/sets/singleUseActiveCollectibleTypesSet.d.ts +0 -2
- package/sets/singleUseActiveCollectibleTypesSet.lua +0 -19
- package/sets/storyBossesSet.d.ts +0 -2
- package/sets/storyBossesSet.lua +0 -24
- package/shaderCrashFix.d.ts +0 -7
- package/shaderCrashFix.lua +0 -20
- package/types/AnyEntity.d.ts +0 -12
- package/types/AnyEntity.lua +0 -4
- package/types/CollectibleIndex.d.ts +0 -16
- package/types/CollectibleIndex.lua +0 -4
- package/types/PickingUpItem.d.ts +0 -34
- package/types/PickingUpItem.lua +0 -36
- package/types/PlayerIndex.d.ts +0 -16
- package/types/PlayerIndex.lua +0 -4
- package/types/private/IsaacAPIClass.d.ts +0 -4
- package/types/private/IsaacAPIClass.lua +0 -4
- package/types/private/SerializedIsaacAPIClass.d.ts +0 -4
- package/types/private/SerializedIsaacAPIClass.lua +0 -4
- package/types/private/TSTLClass.d.ts +0 -4
- package/types/private/TSTLClass.lua +0 -4
- package/upgradeMod.d.ts +0 -23
- package/upgradeMod.lua +0 -56
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PlayerType } from "isaac-typescript-definitions";
|
|
2
|
+
/**
|
|
3
|
+
* Helper function to determine if the given character can have red heart containers. Returns true
|
|
4
|
+
* for characters like Isaac, Magdalene, or Cain. Returns true for Keeper and Tainted Keeper, even
|
|
5
|
+
* though coin containers are not technically the same as red heart containers. Returns false for
|
|
6
|
+
* characters like Blue Baby. Returns false for The Lost and Tainted Lost.
|
|
7
|
+
*/
|
|
8
|
+
export declare function characterCanHaveRedHearts(character: PlayerType): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Helper function to determine if the given character can have soul hearts. Returns true for
|
|
11
|
+
* characters like Isaac, Magdalene, or Cain. Returns false for characters like Bethany. Returns
|
|
12
|
+
* false for The Lost and Tainted Lost.
|
|
13
|
+
*/
|
|
14
|
+
export declare function characterCanHaveSoulHearts(character: PlayerType): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Helper function for determining whether the given character can take free Devil Deals. (e.g. The
|
|
17
|
+
* Lost, Tainted Lost, etc.)
|
|
18
|
+
*/
|
|
19
|
+
export declare function characterCanTakeFreeDevilDeals(character: PlayerType): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Normally, characters get a red heart container upon reaching a new floor with an eternal heart,
|
|
22
|
+
* but some characters grant a black heart instead. Returns true for Dark Judas and Tainted Judas.
|
|
23
|
+
* Otherwise, returns false.
|
|
24
|
+
*/
|
|
25
|
+
export declare function characterGetsBlackHeartFromEternalHeart(character: PlayerType): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Helper function to determine if the specified character starts with an active item.
|
|
28
|
+
*
|
|
29
|
+
* For the purposes of this function, the save file is considered to be fully unlocked (e.g. Isaac
|
|
30
|
+
* is considered to starts with the D6, but this is not the case on a brand new save file).
|
|
31
|
+
*/
|
|
32
|
+
export declare function characterStartsWithActiveItem(character: PlayerType): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* - Most characters have a 56 frame death animation (i.e. the "Death" animation).
|
|
35
|
+
* - The Lost and Tainted Lost have a 38 frame death animation (i.e. the "LostDeath" animation).
|
|
36
|
+
* - Tainted Forgotten have a 20 frame death animation (i.e. the "ForgottenDeath" animation).
|
|
37
|
+
*/
|
|
38
|
+
export declare function getCharacterDeathAnimationName(character: PlayerType): string;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the maximum heart containers that the provided character can have. Normally, this is 12,
|
|
41
|
+
* but with Keeper it is 3, and with Tainted Keeper it is 2. This does not account for Birthright or
|
|
42
|
+
* Mother's Kiss; use the `getPlayerMaxHeartContainers` helper function for that.
|
|
43
|
+
*/
|
|
44
|
+
export declare function getCharacterMaxHeartContainers(character: PlayerType): int;
|
|
45
|
+
/** Helper function to get the name of a character. Returns "Unknown" for modded characters. */
|
|
46
|
+
export declare function getCharacterName(character: PlayerType): string;
|
|
47
|
+
export declare function isModdedCharacter(character: PlayerType): boolean;
|
|
48
|
+
export declare function isVanillaCharacter(character: PlayerType): boolean;
|
|
49
|
+
//# sourceMappingURL=character.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"character.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/functions/character.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAU1D;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAExE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEzE;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,uCAAuC,CACrD,SAAS,EAAE,UAAU,GACpB,OAAO,CAET;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAE5E;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,CAU5E;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,GAAG,CAsBzE;AAED,+FAA+F;AAC/F,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,CAM9D;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEhE;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEjE"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
local ____exports = {}
|
|
2
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
3
|
+
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
4
|
+
local ____constantsFirstLast = require("constantsFirstLast")
|
|
5
|
+
local LAST_VANILLA_CHARACTER = ____constantsFirstLast.LAST_VANILLA_CHARACTER
|
|
6
|
+
local ____characterNames = require("objects.characterNames")
|
|
7
|
+
local CHARACTER_NAMES = ____characterNames.CHARACTER_NAMES
|
|
8
|
+
local ____charactersThatStartWithAnActiveItemSet = require("sets.charactersThatStartWithAnActiveItemSet")
|
|
9
|
+
local CHARACTERS_THAT_START_WITH_AN_ACTIVE_ITEM_SET = ____charactersThatStartWithAnActiveItemSet.CHARACTERS_THAT_START_WITH_AN_ACTIVE_ITEM_SET
|
|
10
|
+
local ____charactersWithBlackHeartFromEternalHeartSet = require("sets.charactersWithBlackHeartFromEternalHeartSet")
|
|
11
|
+
local CHARACTERS_WITH_BLACK_HEART_FROM_ETERNAL_HEART_SET = ____charactersWithBlackHeartFromEternalHeartSet.CHARACTERS_WITH_BLACK_HEART_FROM_ETERNAL_HEART_SET
|
|
12
|
+
local ____charactersWithFreeDevilDealsSet = require("sets.charactersWithFreeDevilDealsSet")
|
|
13
|
+
local CHARACTERS_WITH_FREE_DEVIL_DEALS_SET = ____charactersWithFreeDevilDealsSet.CHARACTERS_WITH_FREE_DEVIL_DEALS_SET
|
|
14
|
+
local ____charactersWithNoRedHeartsSet = require("sets.charactersWithNoRedHeartsSet")
|
|
15
|
+
local CHARACTERS_WITH_NO_RED_HEARTS_SET = ____charactersWithNoRedHeartsSet.CHARACTERS_WITH_NO_RED_HEARTS_SET
|
|
16
|
+
local ____charactersWithNoSoulHeartsSet = require("sets.charactersWithNoSoulHeartsSet")
|
|
17
|
+
local CHARACTERS_WITH_NO_SOUL_HEARTS_SET = ____charactersWithNoSoulHeartsSet.CHARACTERS_WITH_NO_SOUL_HEARTS_SET
|
|
18
|
+
local ____lostStyleCharactersSet = require("sets.lostStyleCharactersSet")
|
|
19
|
+
local LOST_STYLE_CHARACTERS_SET = ____lostStyleCharactersSet.LOST_STYLE_CHARACTERS_SET
|
|
20
|
+
function ____exports.isModdedCharacter(self, character)
|
|
21
|
+
return not ____exports.isVanillaCharacter(nil, character)
|
|
22
|
+
end
|
|
23
|
+
function ____exports.isVanillaCharacter(self, character)
|
|
24
|
+
return character <= LAST_VANILLA_CHARACTER
|
|
25
|
+
end
|
|
26
|
+
--- Helper function to determine if the given character can have red heart containers. Returns true
|
|
27
|
+
-- for characters like Isaac, Magdalene, or Cain. Returns true for Keeper and Tainted Keeper, even
|
|
28
|
+
-- though coin containers are not technically the same as red heart containers. Returns false for
|
|
29
|
+
-- characters like Blue Baby. Returns false for The Lost and Tainted Lost.
|
|
30
|
+
function ____exports.characterCanHaveRedHearts(self, character)
|
|
31
|
+
return not CHARACTERS_WITH_NO_RED_HEARTS_SET:has(character)
|
|
32
|
+
end
|
|
33
|
+
--- Helper function to determine if the given character can have soul hearts. Returns true for
|
|
34
|
+
-- characters like Isaac, Magdalene, or Cain. Returns false for characters like Bethany. Returns
|
|
35
|
+
-- false for The Lost and Tainted Lost.
|
|
36
|
+
function ____exports.characterCanHaveSoulHearts(self, character)
|
|
37
|
+
return not CHARACTERS_WITH_NO_SOUL_HEARTS_SET:has(character)
|
|
38
|
+
end
|
|
39
|
+
--- Helper function for determining whether the given character can take free Devil Deals. (e.g. The
|
|
40
|
+
-- Lost, Tainted Lost, etc.)
|
|
41
|
+
function ____exports.characterCanTakeFreeDevilDeals(self, character)
|
|
42
|
+
return CHARACTERS_WITH_FREE_DEVIL_DEALS_SET:has(character)
|
|
43
|
+
end
|
|
44
|
+
--- Normally, characters get a red heart container upon reaching a new floor with an eternal heart,
|
|
45
|
+
-- but some characters grant a black heart instead. Returns true for Dark Judas and Tainted Judas.
|
|
46
|
+
-- Otherwise, returns false.
|
|
47
|
+
function ____exports.characterGetsBlackHeartFromEternalHeart(self, character)
|
|
48
|
+
return CHARACTERS_WITH_BLACK_HEART_FROM_ETERNAL_HEART_SET:has(character)
|
|
49
|
+
end
|
|
50
|
+
--- Helper function to determine if the specified character starts with an active item.
|
|
51
|
+
--
|
|
52
|
+
-- For the purposes of this function, the save file is considered to be fully unlocked (e.g. Isaac
|
|
53
|
+
-- is considered to starts with the D6, but this is not the case on a brand new save file).
|
|
54
|
+
function ____exports.characterStartsWithActiveItem(self, character)
|
|
55
|
+
return CHARACTERS_THAT_START_WITH_AN_ACTIVE_ITEM_SET:has(character)
|
|
56
|
+
end
|
|
57
|
+
--- - Most characters have a 56 frame death animation (i.e. the "Death" animation).
|
|
58
|
+
-- - The Lost and Tainted Lost have a 38 frame death animation (i.e. the "LostDeath" animation).
|
|
59
|
+
-- - Tainted Forgotten have a 20 frame death animation (i.e. the "ForgottenDeath" animation).
|
|
60
|
+
function ____exports.getCharacterDeathAnimationName(self, character)
|
|
61
|
+
if LOST_STYLE_CHARACTERS_SET:has(character) then
|
|
62
|
+
return "LostDeath"
|
|
63
|
+
end
|
|
64
|
+
if character == PlayerType.THE_FORGOTTEN_B then
|
|
65
|
+
return "ForgottenDeath"
|
|
66
|
+
end
|
|
67
|
+
return "Death"
|
|
68
|
+
end
|
|
69
|
+
--- Returns the maximum heart containers that the provided character can have. Normally, this is 12,
|
|
70
|
+
-- but with Keeper it is 3, and with Tainted Keeper it is 2. This does not account for Birthright or
|
|
71
|
+
-- Mother's Kiss; use the `getPlayerMaxHeartContainers` helper function for that.
|
|
72
|
+
function ____exports.getCharacterMaxHeartContainers(self, character)
|
|
73
|
+
if character == PlayerType.KEEPER then
|
|
74
|
+
return 3
|
|
75
|
+
end
|
|
76
|
+
if character == PlayerType.THE_FORGOTTEN then
|
|
77
|
+
return 6
|
|
78
|
+
end
|
|
79
|
+
if character == PlayerType.THE_SOUL then
|
|
80
|
+
return 6
|
|
81
|
+
end
|
|
82
|
+
if character == PlayerType.KEEPER_B then
|
|
83
|
+
return 2
|
|
84
|
+
end
|
|
85
|
+
return 12
|
|
86
|
+
end
|
|
87
|
+
--- Helper function to get the name of a character. Returns "Unknown" for modded characters.
|
|
88
|
+
function ____exports.getCharacterName(self, character)
|
|
89
|
+
if ____exports.isModdedCharacter(nil, character) then
|
|
90
|
+
return "Unknown"
|
|
91
|
+
end
|
|
92
|
+
return CHARACTER_NAMES[character]
|
|
93
|
+
end
|
|
94
|
+
return ____exports
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ActiveSlot } from "isaac-typescript-definitions";
|
|
2
|
+
/**
|
|
3
|
+
* Helper function to add a charge to the player's active item. Will flash the HUD and play the
|
|
4
|
+
* appropriate sound effect, depending on whether the charge is partially full or completely full.
|
|
5
|
+
*
|
|
6
|
+
* If the player's active item is already fully charged, then this function will return 0 and not
|
|
7
|
+
* flash the HUD or play a sound effect.
|
|
8
|
+
*
|
|
9
|
+
* This function will take the following things into account:
|
|
10
|
+
* - The Battery
|
|
11
|
+
* - AAA Battery
|
|
12
|
+
*
|
|
13
|
+
* @param player The player to grant the charges to.
|
|
14
|
+
* @param activeSlot The slot to grant the charges to.
|
|
15
|
+
* @param numCharges Optional. The amount of charges to grant. Default is 1.
|
|
16
|
+
* @param playSoundEffect Optional. Whether to play a charge-related sound effect. Default is true.
|
|
17
|
+
* @returns The amount of charges that were actually granted. For example, if the active item was
|
|
18
|
+
* only one away from a full charge, but the `numCharges` provided to this function was 2,
|
|
19
|
+
* then this function would return 1.
|
|
20
|
+
*/
|
|
21
|
+
export declare function addCharge(player: EntityPlayer, activeSlot: ActiveSlot, numCharges?: number, playSoundEffect?: boolean): int;
|
|
22
|
+
/**
|
|
23
|
+
* Helper function to add a charge to a player's active item(s), emulating what happens when a room
|
|
24
|
+
* is cleared.
|
|
25
|
+
*
|
|
26
|
+
* This function will take the following things into account:
|
|
27
|
+
* - 2x2 rooms and L rooms granting a double charge
|
|
28
|
+
* - The Battery
|
|
29
|
+
* - AAA Battery
|
|
30
|
+
*
|
|
31
|
+
* @param player The player to grant the charges to.
|
|
32
|
+
* @param bigRoomDoubleCharge Optional. If set to false, it will treat the current room as a 1x1
|
|
33
|
+
* room for the purposes of calculating how much charge to grant. Default
|
|
34
|
+
* is true.
|
|
35
|
+
* @param playSoundEffect Optional. Whether to play a charge-related sound effect. Default is true.
|
|
36
|
+
*/
|
|
37
|
+
export declare function addRoomClearCharge(player: EntityPlayer, bigRoomDoubleCharge?: boolean, playSoundEffect?: boolean): void;
|
|
38
|
+
/**
|
|
39
|
+
* Helper function to add a charge to one of a player's active items, emulating what happens when a
|
|
40
|
+
* room is cleared.
|
|
41
|
+
*
|
|
42
|
+
* This function will take the following things into account:
|
|
43
|
+
* - L rooms and 2x2 rooms granting a double charge
|
|
44
|
+
* - The Battery
|
|
45
|
+
* - AAA Battery
|
|
46
|
+
*
|
|
47
|
+
* @param player The player to grant the charges to.
|
|
48
|
+
* @param activeSlot The active item slot to grant the charges to.
|
|
49
|
+
* @param bigRoomDoubleCharge Optional. If set to false, it will treat the current room as a 1x1
|
|
50
|
+
* room for the purposes of calculating how much charge to grant. Default
|
|
51
|
+
* is true.
|
|
52
|
+
* @param playSoundEffect Optional. Whether to play a charge-related sound effect. Default is true.
|
|
53
|
+
*/
|
|
54
|
+
export declare function addRoomClearChargeToSlot(player: EntityPlayer, activeSlot: ActiveSlot, bigRoomDoubleCharge?: boolean, playSoundEffect?: boolean): void;
|
|
55
|
+
/**
|
|
56
|
+
* Helper function to add a charge to every player's active item, emulating what happens when a room
|
|
57
|
+
* is cleared.
|
|
58
|
+
*
|
|
59
|
+
* This function will take the following things into account:
|
|
60
|
+
* - L rooms and 2x2 rooms granting a double charge
|
|
61
|
+
* - The Battery
|
|
62
|
+
* - AAA Battery
|
|
63
|
+
*
|
|
64
|
+
* @param ignoreBigRoomDoubleCharge Optional. If set to true, it will treat the current room as a
|
|
65
|
+
* 1x1 room for the purposes of calculating how much charge to
|
|
66
|
+
* grant. Default is false.
|
|
67
|
+
*/
|
|
68
|
+
export declare function addRoomClearCharges(ignoreBigRoomDoubleCharge?: boolean): void;
|
|
69
|
+
/**
|
|
70
|
+
* Helper function to get the combined normal charge and the battery charge for the player's active
|
|
71
|
+
* item. This is useful because you have to add these two values together when setting the active
|
|
72
|
+
* charge.
|
|
73
|
+
*/
|
|
74
|
+
export declare function getTotalCharge(player: EntityPlayer, activeSlot: ActiveSlot): int;
|
|
75
|
+
export declare function isActiveSlotDoubleCharged(player: EntityPlayer, activeSlot: ActiveSlot): boolean;
|
|
76
|
+
export declare function playChargeSoundEffect(player: EntityPlayer, activeSlot: ActiveSlot): void;
|
|
77
|
+
//# sourceMappingURL=charge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"charge.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/functions/charge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAIX,MAAM,8BAA8B,CAAC;AAMtC;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,SAAS,CACvB,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,UAAU,EACtB,UAAU,SAAI,EACd,eAAe,UAAO,GACrB,GAAG,CA2BL;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,YAAY,EACpB,mBAAmB,UAAO,EAC1B,eAAe,UAAO,GACrB,IAAI,CAaN;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,UAAU,EACtB,mBAAmB,UAAO,EAC1B,eAAe,UAAO,GACrB,IAAI,CAMN;AAuED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,yBAAyB,UAAQ,GAAG,IAAI,CAI3E;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,UAAU,GACrB,GAAG,CAKL;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,UAAU,GACrB,OAAO,CAMT;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,UAAU,GACrB,IAAI,CAYN"}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
local ____exports = {}
|
|
2
|
+
local getClampedChargesToAdd, getChargesToAddWithAAAModifier, shouldPlayFullRechargeSound
|
|
3
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
|
+
local ActiveSlot = ____isaac_2Dtypescript_2Ddefinitions.ActiveSlot
|
|
5
|
+
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
6
|
+
local SoundEffect = ____isaac_2Dtypescript_2Ddefinitions.SoundEffect
|
|
7
|
+
local TrinketType = ____isaac_2Dtypescript_2Ddefinitions.TrinketType
|
|
8
|
+
local ____cachedClasses = require("cachedClasses")
|
|
9
|
+
local game = ____cachedClasses.game
|
|
10
|
+
local sfxManager = ____cachedClasses.sfxManager
|
|
11
|
+
local ____collectibles = require("functions.collectibles")
|
|
12
|
+
local getCollectibleMaxCharges = ____collectibles.getCollectibleMaxCharges
|
|
13
|
+
local ____playerIndex = require("functions.playerIndex")
|
|
14
|
+
local getPlayers = ____playerIndex.getPlayers
|
|
15
|
+
local ____roomShape = require("functions.roomShape")
|
|
16
|
+
local getRoomShapeCharges = ____roomShape.getRoomShapeCharges
|
|
17
|
+
--- Helper function to add a charge to the player's active item. Will flash the HUD and play the
|
|
18
|
+
-- appropriate sound effect, depending on whether the charge is partially full or completely full.
|
|
19
|
+
--
|
|
20
|
+
-- If the player's active item is already fully charged, then this function will return 0 and not
|
|
21
|
+
-- flash the HUD or play a sound effect.
|
|
22
|
+
--
|
|
23
|
+
-- This function will take the following things into account:
|
|
24
|
+
-- - The Battery
|
|
25
|
+
-- - AAA Battery
|
|
26
|
+
--
|
|
27
|
+
-- @param player The player to grant the charges to.
|
|
28
|
+
-- @param activeSlot The slot to grant the charges to.
|
|
29
|
+
-- @param numCharges Optional. The amount of charges to grant. Default is 1.
|
|
30
|
+
-- @param playSoundEffect Optional. Whether to play a charge-related sound effect. Default is true.
|
|
31
|
+
-- @returns The amount of charges that were actually granted. For example, if the active item was
|
|
32
|
+
-- only one away from a full charge, but the `numCharges` provided to this function was 2,
|
|
33
|
+
-- then this function would return 1.
|
|
34
|
+
function ____exports.addCharge(self, player, activeSlot, numCharges, playSoundEffect)
|
|
35
|
+
if numCharges == nil then
|
|
36
|
+
numCharges = 1
|
|
37
|
+
end
|
|
38
|
+
if playSoundEffect == nil then
|
|
39
|
+
playSoundEffect = true
|
|
40
|
+
end
|
|
41
|
+
local hud = game:GetHUD()
|
|
42
|
+
local chargesToAdd = getClampedChargesToAdd(nil, player, activeSlot, numCharges)
|
|
43
|
+
local modifiedChargesToAdd = getChargesToAddWithAAAModifier(nil, player, activeSlot, chargesToAdd)
|
|
44
|
+
local totalCharge = ____exports.getTotalCharge(nil, player, activeSlot)
|
|
45
|
+
local newCharge = totalCharge + modifiedChargesToAdd
|
|
46
|
+
if newCharge == totalCharge then
|
|
47
|
+
return 0
|
|
48
|
+
end
|
|
49
|
+
player:SetActiveCharge(newCharge, activeSlot)
|
|
50
|
+
hud:FlashChargeBar(player, activeSlot)
|
|
51
|
+
if playSoundEffect then
|
|
52
|
+
____exports.playChargeSoundEffect(nil, player, activeSlot)
|
|
53
|
+
end
|
|
54
|
+
return modifiedChargesToAdd
|
|
55
|
+
end
|
|
56
|
+
--- Helper function to add a charge to one of a player's active items, emulating what happens when a
|
|
57
|
+
-- room is cleared.
|
|
58
|
+
--
|
|
59
|
+
-- This function will take the following things into account:
|
|
60
|
+
-- - L rooms and 2x2 rooms granting a double charge
|
|
61
|
+
-- - The Battery
|
|
62
|
+
-- - AAA Battery
|
|
63
|
+
--
|
|
64
|
+
-- @param player The player to grant the charges to.
|
|
65
|
+
-- @param activeSlot The active item slot to grant the charges to.
|
|
66
|
+
-- @param bigRoomDoubleCharge Optional. If set to false, it will treat the current room as a 1x1
|
|
67
|
+
-- room for the purposes of calculating how much charge to grant. Default
|
|
68
|
+
-- is true.
|
|
69
|
+
-- @param playSoundEffect Optional. Whether to play a charge-related sound effect. Default is true.
|
|
70
|
+
function ____exports.addRoomClearChargeToSlot(self, player, activeSlot, bigRoomDoubleCharge, playSoundEffect)
|
|
71
|
+
if bigRoomDoubleCharge == nil then
|
|
72
|
+
bigRoomDoubleCharge = true
|
|
73
|
+
end
|
|
74
|
+
if playSoundEffect == nil then
|
|
75
|
+
playSoundEffect = true
|
|
76
|
+
end
|
|
77
|
+
local room = game:GetRoom()
|
|
78
|
+
local roomShape = room:GetRoomShape()
|
|
79
|
+
local numCharges = bigRoomDoubleCharge and getRoomShapeCharges(nil, roomShape) or 1
|
|
80
|
+
____exports.addCharge(
|
|
81
|
+
nil,
|
|
82
|
+
player,
|
|
83
|
+
activeSlot,
|
|
84
|
+
numCharges,
|
|
85
|
+
playSoundEffect
|
|
86
|
+
)
|
|
87
|
+
end
|
|
88
|
+
function getClampedChargesToAdd(self, player, activeSlot, numCharges)
|
|
89
|
+
local activeItem = player:GetActiveItem(activeSlot)
|
|
90
|
+
local activeCharge = player:GetActiveCharge(activeSlot)
|
|
91
|
+
local batteryCharge = player:GetBatteryCharge(activeSlot)
|
|
92
|
+
local hasBattery = player:HasCollectible(CollectibleType.BATTERY)
|
|
93
|
+
local maxCharges = getCollectibleMaxCharges(nil, activeItem)
|
|
94
|
+
if not hasBattery and activeCharge == maxCharges then
|
|
95
|
+
return 0
|
|
96
|
+
end
|
|
97
|
+
if hasBattery and batteryCharge == maxCharges then
|
|
98
|
+
return 0
|
|
99
|
+
end
|
|
100
|
+
if not hasBattery and activeCharge + 1 == maxCharges then
|
|
101
|
+
return 1
|
|
102
|
+
end
|
|
103
|
+
if hasBattery and batteryCharge + 1 == maxCharges then
|
|
104
|
+
return 1
|
|
105
|
+
end
|
|
106
|
+
return numCharges
|
|
107
|
+
end
|
|
108
|
+
function getChargesToAddWithAAAModifier(self, player, activeSlot, chargesToAdd)
|
|
109
|
+
local activeItem = player:GetActiveItem(activeSlot)
|
|
110
|
+
local activeCharge = player:GetActiveCharge(activeSlot)
|
|
111
|
+
local batteryCharge = player:GetBatteryCharge(activeSlot)
|
|
112
|
+
local hasBattery = player:HasCollectible(CollectibleType.BATTERY)
|
|
113
|
+
local hasAAABattery = player:HasTrinket(TrinketType.AAA_BATTERY)
|
|
114
|
+
local maxCharges = getCollectibleMaxCharges(nil, activeItem)
|
|
115
|
+
if not hasAAABattery then
|
|
116
|
+
return chargesToAdd
|
|
117
|
+
end
|
|
118
|
+
if not hasBattery and activeCharge + chargesToAdd == maxCharges - 1 then
|
|
119
|
+
return chargesToAdd + 1
|
|
120
|
+
end
|
|
121
|
+
if hasBattery and batteryCharge + chargesToAdd == maxCharges - 1 then
|
|
122
|
+
return chargesToAdd + 1
|
|
123
|
+
end
|
|
124
|
+
return chargesToAdd
|
|
125
|
+
end
|
|
126
|
+
--- Helper function to get the combined normal charge and the battery charge for the player's active
|
|
127
|
+
-- item. This is useful because you have to add these two values together when setting the active
|
|
128
|
+
-- charge.
|
|
129
|
+
function ____exports.getTotalCharge(self, player, activeSlot)
|
|
130
|
+
local activeCharge = player:GetActiveCharge(activeSlot)
|
|
131
|
+
local batteryCharge = player:GetBatteryCharge(activeSlot)
|
|
132
|
+
return activeCharge + batteryCharge
|
|
133
|
+
end
|
|
134
|
+
function ____exports.playChargeSoundEffect(self, player, activeSlot)
|
|
135
|
+
for ____, soundEffect in ipairs({SoundEffect.BATTERY_CHARGE, SoundEffect.BEEP}) do
|
|
136
|
+
sfxManager:Stop(soundEffect)
|
|
137
|
+
end
|
|
138
|
+
local chargeSoundEffect = shouldPlayFullRechargeSound(nil, player, activeSlot) and SoundEffect.BATTERY_CHARGE or SoundEffect.BEEP
|
|
139
|
+
sfxManager:Play(chargeSoundEffect)
|
|
140
|
+
end
|
|
141
|
+
function shouldPlayFullRechargeSound(self, player, activeSlot)
|
|
142
|
+
local activeItem = player:GetActiveItem(activeSlot)
|
|
143
|
+
local activeCharge = player:GetActiveCharge(activeSlot)
|
|
144
|
+
local batteryCharge = player:GetBatteryCharge(activeSlot)
|
|
145
|
+
local hasBattery = player:HasCollectible(CollectibleType.BATTERY)
|
|
146
|
+
local maxCharges = getCollectibleMaxCharges(nil, activeItem)
|
|
147
|
+
if not hasBattery then
|
|
148
|
+
return activeCharge == maxCharges
|
|
149
|
+
end
|
|
150
|
+
return batteryCharge == maxCharges or activeCharge == maxCharges and batteryCharge == 0
|
|
151
|
+
end
|
|
152
|
+
--- Helper function to add a charge to a player's active item(s), emulating what happens when a room
|
|
153
|
+
-- is cleared.
|
|
154
|
+
--
|
|
155
|
+
-- This function will take the following things into account:
|
|
156
|
+
-- - 2x2 rooms and L rooms granting a double charge
|
|
157
|
+
-- - The Battery
|
|
158
|
+
-- - AAA Battery
|
|
159
|
+
--
|
|
160
|
+
-- @param player The player to grant the charges to.
|
|
161
|
+
-- @param bigRoomDoubleCharge Optional. If set to false, it will treat the current room as a 1x1
|
|
162
|
+
-- room for the purposes of calculating how much charge to grant. Default
|
|
163
|
+
-- is true.
|
|
164
|
+
-- @param playSoundEffect Optional. Whether to play a charge-related sound effect. Default is true.
|
|
165
|
+
function ____exports.addRoomClearCharge(self, player, bigRoomDoubleCharge, playSoundEffect)
|
|
166
|
+
if bigRoomDoubleCharge == nil then
|
|
167
|
+
bigRoomDoubleCharge = true
|
|
168
|
+
end
|
|
169
|
+
if playSoundEffect == nil then
|
|
170
|
+
playSoundEffect = true
|
|
171
|
+
end
|
|
172
|
+
for ____, activeSlot in ipairs({ActiveSlot.PRIMARY, ActiveSlot.SECONDARY, ActiveSlot.POCKET}) do
|
|
173
|
+
____exports.addRoomClearChargeToSlot(
|
|
174
|
+
nil,
|
|
175
|
+
player,
|
|
176
|
+
activeSlot,
|
|
177
|
+
bigRoomDoubleCharge,
|
|
178
|
+
playSoundEffect
|
|
179
|
+
)
|
|
180
|
+
end
|
|
181
|
+
end
|
|
182
|
+
--- Helper function to add a charge to every player's active item, emulating what happens when a room
|
|
183
|
+
-- is cleared.
|
|
184
|
+
--
|
|
185
|
+
-- This function will take the following things into account:
|
|
186
|
+
-- - L rooms and 2x2 rooms granting a double charge
|
|
187
|
+
-- - The Battery
|
|
188
|
+
-- - AAA Battery
|
|
189
|
+
--
|
|
190
|
+
-- @param ignoreBigRoomDoubleCharge Optional. If set to true, it will treat the current room as a
|
|
191
|
+
-- 1x1 room for the purposes of calculating how much charge to
|
|
192
|
+
-- grant. Default is false.
|
|
193
|
+
function ____exports.addRoomClearCharges(self, ignoreBigRoomDoubleCharge)
|
|
194
|
+
if ignoreBigRoomDoubleCharge == nil then
|
|
195
|
+
ignoreBigRoomDoubleCharge = false
|
|
196
|
+
end
|
|
197
|
+
for ____, player in ipairs(getPlayers(nil)) do
|
|
198
|
+
____exports.addRoomClearCharge(nil, player, ignoreBigRoomDoubleCharge)
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
function ____exports.isActiveSlotDoubleCharged(self, player, activeSlot)
|
|
202
|
+
local collectibleType = player:GetActiveItem(activeSlot)
|
|
203
|
+
local batteryCharge = player:GetBatteryCharge(activeSlot)
|
|
204
|
+
local maxCharges = getCollectibleMaxCharges(nil, collectibleType)
|
|
205
|
+
return batteryCharge >= maxCharges
|
|
206
|
+
end
|
|
207
|
+
return ____exports
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
3
|
+
import { ChargeBarSprites } from "../interfaces/ChargeBarSprites";
|
|
4
|
+
/**
|
|
5
|
+
* Constructor for a `ChargeBarSprites` object. For more information, see the `renderChargeBar`
|
|
6
|
+
* helper function.
|
|
7
|
+
*/
|
|
8
|
+
export declare function newChargeBarSprites(maxCharges: int): ChargeBarSprites;
|
|
9
|
+
/**
|
|
10
|
+
* Helper function to render a charge bar on the screen. First, call the `newChargeBarSprites`
|
|
11
|
+
* function to initialize the sprites, and then call this function on every render frame.
|
|
12
|
+
*/
|
|
13
|
+
export declare function renderChargeBar(sprites: ChargeBarSprites, position: Vector, normalCharges: int, batteryCharges: int): void;
|
|
14
|
+
//# sourceMappingURL=chargeBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chargeBar.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/functions/chargeBar.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAIlE;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,GAAG,GAAG,gBAAgB,CAwBrE;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,gBAAgB,EACzB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,GAAG,EAClB,cAAc,EAAE,GAAG,GAClB,IAAI,CAgBN"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
local ____exports = {}
|
|
2
|
+
local getChargeBarClamp
|
|
3
|
+
function getChargeBarClamp(self, charges, maxCharges)
|
|
4
|
+
local meterMultiplier = 24 / maxCharges
|
|
5
|
+
local meterClip = 26 - charges * meterMultiplier
|
|
6
|
+
return Vector(0, meterClip)
|
|
7
|
+
end
|
|
8
|
+
local CHARGE_BAR_ANM2 = "gfx/ui/ui_chargebar.anm2"
|
|
9
|
+
--- Constructor for a `ChargeBarSprites` object. For more information, see the `renderChargeBar`
|
|
10
|
+
-- helper function.
|
|
11
|
+
function ____exports.newChargeBarSprites(self, maxCharges)
|
|
12
|
+
local back = Sprite()
|
|
13
|
+
back:Load(CHARGE_BAR_ANM2, true)
|
|
14
|
+
back:Play("BarEmpty", true)
|
|
15
|
+
local meter = Sprite()
|
|
16
|
+
meter:Load(CHARGE_BAR_ANM2, true)
|
|
17
|
+
meter:Play("BarFull", true)
|
|
18
|
+
local meterBattery = Sprite()
|
|
19
|
+
meterBattery:Load(CHARGE_BAR_ANM2, true)
|
|
20
|
+
meterBattery:Play("BarFull", true)
|
|
21
|
+
local lines = Sprite()
|
|
22
|
+
lines:Load(CHARGE_BAR_ANM2, true)
|
|
23
|
+
lines:Play(
|
|
24
|
+
"BarOverlay" .. tostring(maxCharges),
|
|
25
|
+
true
|
|
26
|
+
)
|
|
27
|
+
return {
|
|
28
|
+
back = back,
|
|
29
|
+
meter = meter,
|
|
30
|
+
meterBattery = meterBattery,
|
|
31
|
+
lines = lines,
|
|
32
|
+
maxCharges = maxCharges
|
|
33
|
+
}
|
|
34
|
+
end
|
|
35
|
+
--- Helper function to render a charge bar on the screen. First, call the `newChargeBarSprites`
|
|
36
|
+
-- function to initialize the sprites, and then call this function on every render frame.
|
|
37
|
+
function ____exports.renderChargeBar(self, sprites, position, normalCharges, batteryCharges)
|
|
38
|
+
sprites.back:Render(position)
|
|
39
|
+
local normalChargesClamp = getChargeBarClamp(nil, normalCharges, sprites.maxCharges)
|
|
40
|
+
sprites.meter:Render(position, normalChargesClamp)
|
|
41
|
+
local batteryChargesClamp = getChargeBarClamp(nil, batteryCharges, sprites.maxCharges)
|
|
42
|
+
sprites.meterBattery:Render(position, batteryChargesClamp)
|
|
43
|
+
sprites.lines:Render(position)
|
|
44
|
+
end
|
|
45
|
+
return ____exports
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CacheFlag, CollectibleType } from "isaac-typescript-definitions";
|
|
2
|
+
export declare function collectibleHasCacheFlag(collectibleType: CollectibleType, cacheFlag: CacheFlag): boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Returns a set containing every collectible type with the given cache flag, including modded
|
|
5
|
+
* collectibles.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getCollectiblesForCacheFlag(cacheFlag: CacheFlag): Set<CollectibleType>;
|
|
8
|
+
/**
|
|
9
|
+
* Returns an array containing every collectible type that the player has that matches the provided
|
|
10
|
+
* CacheFlag.
|
|
11
|
+
*
|
|
12
|
+
* For example, if the cache flag is `CacheFlag.FLYING`, and the player has one Lord of the Pit and
|
|
13
|
+
* two Dead Doves, then this function would return:
|
|
14
|
+
*
|
|
15
|
+
* ```ts
|
|
16
|
+
* [
|
|
17
|
+
* CollectibleType.LORD_OF_THE_PIT,
|
|
18
|
+
* CollectibleType.DEAD_DOVE,
|
|
19
|
+
* CollectibleType.DEAD_DOVE,
|
|
20
|
+
* ]
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function getPlayerCollectiblesForCacheFlag(player: EntityPlayer, cacheFlag: CacheFlag): CollectibleType[];
|
|
24
|
+
//# sourceMappingURL=collectibleCacheFlag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectibleCacheFlag.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/functions/collectibleCacheFlag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AA2B1E,wBAAgB,uBAAuB,CACrC,eAAe,EAAE,eAAe,EAChC,SAAS,EAAE,SAAS,GACnB,OAAO,CAOT;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,SAAS,EAAE,SAAS,GACnB,GAAG,CAAC,eAAe,CAAC,CAYtB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,SAAS,GACnB,eAAe,EAAE,CAYnB"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local Map = ____lualib.Map
|
|
3
|
+
local __TS__New = ____lualib.__TS__New
|
|
4
|
+
local Set = ____lualib.Set
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
7
|
+
local CacheFlag = ____isaac_2Dtypescript_2Ddefinitions.CacheFlag
|
|
8
|
+
local ____cachedClasses = require("cachedClasses")
|
|
9
|
+
local itemConfig = ____cachedClasses.itemConfig
|
|
10
|
+
local ____collectibleSet = require("functions.collectibleSet")
|
|
11
|
+
local getCollectibleArray = ____collectibleSet.getCollectibleArray
|
|
12
|
+
local ____enums = require("functions.enums")
|
|
13
|
+
local getEnumValues = ____enums.getEnumValues
|
|
14
|
+
local ____flag = require("functions.flag")
|
|
15
|
+
local hasFlag = ____flag.hasFlag
|
|
16
|
+
local ____set = require("functions.set")
|
|
17
|
+
local copySet = ____set.copySet
|
|
18
|
+
local getSortedSetValues = ____set.getSortedSetValues
|
|
19
|
+
local ____utils = require("functions.utils")
|
|
20
|
+
local ____repeat = ____utils["repeat"]
|
|
21
|
+
function ____exports.collectibleHasCacheFlag(self, collectibleType, cacheFlag)
|
|
22
|
+
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
23
|
+
if itemConfigItem == nil then
|
|
24
|
+
return false
|
|
25
|
+
end
|
|
26
|
+
return hasFlag(nil, itemConfigItem.CacheFlags, cacheFlag)
|
|
27
|
+
end
|
|
28
|
+
local CACHE_FLAG_TO_COLLECTIBLES_MAP = __TS__New(Map)
|
|
29
|
+
local function initCacheFlagMap(self)
|
|
30
|
+
for ____, cacheFlag in ipairs(getEnumValues(nil, CacheFlag)) do
|
|
31
|
+
local collectiblesSet = __TS__New(Set)
|
|
32
|
+
for ____, collectibleType in ipairs(getCollectibleArray(nil)) do
|
|
33
|
+
if ____exports.collectibleHasCacheFlag(nil, collectibleType, cacheFlag) then
|
|
34
|
+
collectiblesSet:add(collectibleType)
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
CACHE_FLAG_TO_COLLECTIBLES_MAP:set(cacheFlag, collectiblesSet)
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
--- Returns a set containing every collectible type with the given cache flag, including modded
|
|
41
|
+
-- collectibles.
|
|
42
|
+
function ____exports.getCollectiblesForCacheFlag(self, cacheFlag)
|
|
43
|
+
if CACHE_FLAG_TO_COLLECTIBLES_MAP.size == 0 then
|
|
44
|
+
initCacheFlagMap(nil)
|
|
45
|
+
end
|
|
46
|
+
local collectiblesSet = CACHE_FLAG_TO_COLLECTIBLES_MAP:get(cacheFlag)
|
|
47
|
+
if collectiblesSet == nil then
|
|
48
|
+
return __TS__New(Set)
|
|
49
|
+
end
|
|
50
|
+
return copySet(nil, collectiblesSet)
|
|
51
|
+
end
|
|
52
|
+
--- Returns an array containing every collectible type that the player has that matches the provided
|
|
53
|
+
-- CacheFlag.
|
|
54
|
+
--
|
|
55
|
+
-- For example, if the cache flag is `CacheFlag.FLYING`, and the player has one Lord of the Pit and
|
|
56
|
+
-- two Dead Doves, then this function would return:
|
|
57
|
+
--
|
|
58
|
+
-- ```ts
|
|
59
|
+
-- [
|
|
60
|
+
-- CollectibleType.LORD_OF_THE_PIT,
|
|
61
|
+
-- CollectibleType.DEAD_DOVE,
|
|
62
|
+
-- CollectibleType.DEAD_DOVE,
|
|
63
|
+
-- ]
|
|
64
|
+
-- ```
|
|
65
|
+
function ____exports.getPlayerCollectiblesForCacheFlag(self, player, cacheFlag)
|
|
66
|
+
local collectiblesForCacheFlag = ____exports.getCollectiblesForCacheFlag(nil, cacheFlag)
|
|
67
|
+
local playerCollectibles = {}
|
|
68
|
+
for ____, collectibleType in ipairs(getSortedSetValues(nil, collectiblesForCacheFlag)) do
|
|
69
|
+
local numCollectibles = player:GetCollectibleNum(collectibleType)
|
|
70
|
+
____repeat(
|
|
71
|
+
nil,
|
|
72
|
+
numCollectibles,
|
|
73
|
+
function()
|
|
74
|
+
playerCollectibles[#playerCollectibles + 1] = collectibleType
|
|
75
|
+
end
|
|
76
|
+
)
|
|
77
|
+
end
|
|
78
|
+
return playerCollectibles
|
|
79
|
+
end
|
|
80
|
+
return ____exports
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CollectibleType } from "isaac-typescript-definitions";
|
|
2
|
+
/**
|
|
3
|
+
* Returns an array containing every valid collectible type in the game, including modded
|
|
4
|
+
* collectibles.
|
|
5
|
+
*
|
|
6
|
+
* Use this if you need to iterate over the collectibles in order. If you need to do O(1) lookups,
|
|
7
|
+
* then use the `getCollectibleArray` helper function instead.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getCollectibleArray(): readonly CollectibleType[];
|
|
10
|
+
/**
|
|
11
|
+
* Returns a set containing every valid collectible type in the game, including modded collectibles.
|
|
12
|
+
*
|
|
13
|
+
* Use this if you need to do O(1) lookups. If you need to iterate over the collectibles in order,
|
|
14
|
+
* then use the `getCollectibleArray` helper function instead.
|
|
15
|
+
*/
|
|
16
|
+
export declare function getCollectibleSet(): ReadonlySet<CollectibleType>;
|
|
17
|
+
/**
|
|
18
|
+
* Returns an array containing every modded collectible type in the game.
|
|
19
|
+
*
|
|
20
|
+
* Use this if you need to iterate over the collectibles in order. If you need to do O(1) lookups,
|
|
21
|
+
* then use the `getModdedCollectibleSet` helper function instead.
|
|
22
|
+
*/
|
|
23
|
+
export declare function getModdedCollectibleArray(): readonly CollectibleType[];
|
|
24
|
+
/**
|
|
25
|
+
* Returns a set containing every modded collectible type in the game.
|
|
26
|
+
*
|
|
27
|
+
* Use this if you need to do O(1) lookups. If you need to iterate over the collectibles in order,
|
|
28
|
+
* then use the `getModdedCollectibleArray` helper function instead.
|
|
29
|
+
*/
|
|
30
|
+
export declare function getModdedCollectibleSet(): ReadonlySet<CollectibleType>;
|
|
31
|
+
/**
|
|
32
|
+
* Returns an array containing every valid vanilla collectible type in the game.
|
|
33
|
+
*
|
|
34
|
+
* Use this if you need to iterate over the collectibles in order. If you need to do O(1) lookups,
|
|
35
|
+
* then use the `getVanillaCollectibleSet` helper function instead.
|
|
36
|
+
*/
|
|
37
|
+
export declare function getVanillaCollectibleArray(): readonly CollectibleType[];
|
|
38
|
+
/**
|
|
39
|
+
* Returns a set containing every valid vanilla collectible type in the game.
|
|
40
|
+
*
|
|
41
|
+
* Use this if you need to do O(1) lookups. If you need to iterate over the collectibles in order,
|
|
42
|
+
* then use the `getVanillaCollectibleArray` helper function instead.
|
|
43
|
+
*/
|
|
44
|
+
export declare function getVanillaCollectibleSet(): ReadonlySet<CollectibleType>;
|
|
45
|
+
//# sourceMappingURL=collectibleSet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collectibleSet.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/functions/collectibleSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAuD/D;;;;;;GAMG;AACH,wBAAgB,mBAAmB,IAAI,SAAS,eAAe,EAAE,CAKhE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,IAAI,WAAW,CAAC,eAAe,CAAC,CAKhE;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,IAAI,SAAS,eAAe,EAAE,CAKtE;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,IAAI,WAAW,CAAC,eAAe,CAAC,CAKtE;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,IAAI,SAAS,eAAe,EAAE,CAKvE;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,IAAI,WAAW,CAAC,eAAe,CAAC,CAKvE"}
|