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,831 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local Set = ____lualib.Set
|
|
3
|
+
local __TS__New = ____lualib.__TS__New
|
|
4
|
+
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
5
|
+
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
|
|
6
|
+
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
|
|
7
|
+
local Map = ____lualib.Map
|
|
8
|
+
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
9
|
+
local __TS__ArrayEvery = ____lualib.__TS__ArrayEvery
|
|
10
|
+
local ____exports = {}
|
|
11
|
+
local isTaintedModded
|
|
12
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
13
|
+
local ActiveSlot = ____isaac_2Dtypescript_2Ddefinitions.ActiveSlot
|
|
14
|
+
local CacheFlag = ____isaac_2Dtypescript_2Ddefinitions.CacheFlag
|
|
15
|
+
local Challenge = ____isaac_2Dtypescript_2Ddefinitions.Challenge
|
|
16
|
+
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
17
|
+
local FamiliarVariant = ____isaac_2Dtypescript_2Ddefinitions.FamiliarVariant
|
|
18
|
+
local NullItemID = ____isaac_2Dtypescript_2Ddefinitions.NullItemID
|
|
19
|
+
local PlayerForm = ____isaac_2Dtypescript_2Ddefinitions.PlayerForm
|
|
20
|
+
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
21
|
+
local TrinketType = ____isaac_2Dtypescript_2Ddefinitions.TrinketType
|
|
22
|
+
local ____cachedClasses = require("cachedClasses")
|
|
23
|
+
local game = ____cachedClasses.game
|
|
24
|
+
local itemConfig = ____cachedClasses.itemConfig
|
|
25
|
+
local ____HealthType = require("enums.HealthType")
|
|
26
|
+
local HealthType = ____HealthType.HealthType
|
|
27
|
+
local ____array = require("functions.array")
|
|
28
|
+
local getLastElement = ____array.getLastElement
|
|
29
|
+
local sumArray = ____array.sumArray
|
|
30
|
+
local ____bitwise = require("functions.bitwise")
|
|
31
|
+
local countSetBits = ____bitwise.countSetBits
|
|
32
|
+
local getKBitOfN = ____bitwise.getKBitOfN
|
|
33
|
+
local getNumBitsOfN = ____bitwise.getNumBitsOfN
|
|
34
|
+
local ____character = require("functions.character")
|
|
35
|
+
local getCharacterMaxHeartContainers = ____character.getCharacterMaxHeartContainers
|
|
36
|
+
local getCharacterName = ____character.getCharacterName
|
|
37
|
+
local isVanillaCharacter = ____character.isVanillaCharacter
|
|
38
|
+
local ____collectibles = require("functions.collectibles")
|
|
39
|
+
local getCollectibleMaxCharges = ____collectibles.getCollectibleMaxCharges
|
|
40
|
+
local ____collectibleSet = require("functions.collectibleSet")
|
|
41
|
+
local getCollectibleArray = ____collectibleSet.getCollectibleArray
|
|
42
|
+
local ____enums = require("functions.enums")
|
|
43
|
+
local getEnumValues = ____enums.getEnumValues
|
|
44
|
+
local ____playerIndex = require("functions.playerIndex")
|
|
45
|
+
local getPlayerIndexVanilla = ____playerIndex.getPlayerIndexVanilla
|
|
46
|
+
local getPlayers = ____playerIndex.getPlayers
|
|
47
|
+
local ____tears = require("functions.tears")
|
|
48
|
+
local addTearsStat = ____tears.addTearsStat
|
|
49
|
+
local ____utils = require("functions.utils")
|
|
50
|
+
local ____repeat = ____utils["repeat"]
|
|
51
|
+
--- Helper function to get an array containing the characters of all of the current players.
|
|
52
|
+
function ____exports.getCharacters(self)
|
|
53
|
+
local players = getPlayers(nil)
|
|
54
|
+
return __TS__ArrayMap(
|
|
55
|
+
players,
|
|
56
|
+
function(____, player) return player:GetPlayerType() end
|
|
57
|
+
)
|
|
58
|
+
end
|
|
59
|
+
--- Returns the number of black hearts that the player has, excluding any soul hearts. For example,
|
|
60
|
+
-- if the player has one full black heart, one full soul heart, and one half black heart, this
|
|
61
|
+
-- function returns 3.
|
|
62
|
+
--
|
|
63
|
+
-- This is different from the `EntityPlayer.GetBlackHearts` method, since that returns a bitmask.
|
|
64
|
+
function ____exports.getPlayerBlackHearts(self, player)
|
|
65
|
+
local blackHeartsBitmask = player:GetBlackHearts()
|
|
66
|
+
local blackHeartBits = countSetBits(nil, blackHeartsBitmask)
|
|
67
|
+
return blackHeartBits * 2
|
|
68
|
+
end
|
|
69
|
+
--- Returns the maximum heart containers that the provided player can have. Normally, this is 12, but
|
|
70
|
+
-- it can change depending on the character (e.g. Keeper) and other things (e.g. Mother's Kiss).
|
|
71
|
+
-- This function does not account for Broken Hearts; use the `getPlayerAvailableHeartSlots` helper
|
|
72
|
+
-- function for that.
|
|
73
|
+
function ____exports.getPlayerMaxHeartContainers(self, player)
|
|
74
|
+
local character = player:GetPlayerType()
|
|
75
|
+
local characterMaxHeartContainers = getCharacterMaxHeartContainers(nil, character)
|
|
76
|
+
if character == PlayerType.MAGDALENE and player:HasCollectible(CollectibleType.BIRTHRIGHT) then
|
|
77
|
+
local extraMaxHeartContainersFromBirthright = 6
|
|
78
|
+
return characterMaxHeartContainers + extraMaxHeartContainersFromBirthright
|
|
79
|
+
end
|
|
80
|
+
if ____exports.isKeeper(nil, player) then
|
|
81
|
+
local numMothersKisses = player:GetTrinketMultiplier(TrinketType.MOTHERS_KISS)
|
|
82
|
+
local hasGreedsGullet = player:HasCollectible(CollectibleType.GREEDS_GULLET)
|
|
83
|
+
local coins = player:GetNumCoins()
|
|
84
|
+
local greedsGulletCoinContainers = hasGreedsGullet and math.floor(coins / 25) or 0
|
|
85
|
+
return characterMaxHeartContainers + numMothersKisses + greedsGulletCoinContainers
|
|
86
|
+
end
|
|
87
|
+
return characterMaxHeartContainers
|
|
88
|
+
end
|
|
89
|
+
--- Returns the number of soul hearts that the player has, excluding any black hearts. For example,
|
|
90
|
+
-- if the player has one full black heart, one full soul heart, and one half black heart, this
|
|
91
|
+
-- function returns 2.
|
|
92
|
+
--
|
|
93
|
+
-- This is different from the `EntityPlayer.GetSoulHearts` method, since that returns the combined
|
|
94
|
+
-- number of soul hearts and black hearts.
|
|
95
|
+
function ____exports.getPlayerSoulHearts(self, player)
|
|
96
|
+
local soulHearts = player:GetSoulHearts()
|
|
97
|
+
local blackHearts = ____exports.getPlayerBlackHearts(nil, player)
|
|
98
|
+
return soulHearts - blackHearts
|
|
99
|
+
end
|
|
100
|
+
--- Helper function to check if a player is a specific character (i.e. `PlayerType`).
|
|
101
|
+
--
|
|
102
|
+
-- This function is variadic, meaning that you can supply as many characters as you want to check
|
|
103
|
+
-- for. Returns true if the player is any of the supplied characters.
|
|
104
|
+
function ____exports.isCharacter(self, player, ...)
|
|
105
|
+
local characters = {...}
|
|
106
|
+
local characterSet = __TS__New(Set, characters)
|
|
107
|
+
local character = player:GetPlayerType()
|
|
108
|
+
return characterSet:has(character)
|
|
109
|
+
end
|
|
110
|
+
--- Helper function for detecting when a player is Keeper or Tainted Keeper. Useful for situations
|
|
111
|
+
-- where you want to know if the health is coin hearts, for example.
|
|
112
|
+
function ____exports.isKeeper(self, player)
|
|
113
|
+
local character = player:GetPlayerType()
|
|
114
|
+
return character == PlayerType.KEEPER or character == PlayerType.KEEPER_B
|
|
115
|
+
end
|
|
116
|
+
function ____exports.isModdedPlayer(self, player)
|
|
117
|
+
return not ____exports.isVanillaPlayer(nil, player)
|
|
118
|
+
end
|
|
119
|
+
function isTaintedModded(self, player)
|
|
120
|
+
local character = player:GetPlayerType()
|
|
121
|
+
local name = player:GetName()
|
|
122
|
+
local taintedCharacter = Isaac.GetPlayerTypeByName(name, true)
|
|
123
|
+
return character == taintedCharacter
|
|
124
|
+
end
|
|
125
|
+
function ____exports.isVanillaPlayer(self, player)
|
|
126
|
+
local character = player:GetPlayerType()
|
|
127
|
+
return isVanillaCharacter(nil, character)
|
|
128
|
+
end
|
|
129
|
+
local STAT_CACHE_FLAGS_SET = __TS__New(Set, {
|
|
130
|
+
CacheFlag.DAMAGE,
|
|
131
|
+
CacheFlag.FIRE_DELAY,
|
|
132
|
+
CacheFlag.SHOT_SPEED,
|
|
133
|
+
CacheFlag.RANGE,
|
|
134
|
+
CacheFlag.SPEED,
|
|
135
|
+
CacheFlag.LUCK
|
|
136
|
+
})
|
|
137
|
+
function ____exports.addCollectibleCostume(self, player, collectibleType)
|
|
138
|
+
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
139
|
+
if itemConfigItem == nil then
|
|
140
|
+
return
|
|
141
|
+
end
|
|
142
|
+
player:AddCostume(itemConfigItem, false)
|
|
143
|
+
end
|
|
144
|
+
--- Helper function to add a stat to a player based on the `CacheFlag` provided. Call this function
|
|
145
|
+
-- from the EvaluateCache callback.
|
|
146
|
+
--
|
|
147
|
+
-- Note that for `CacheFlag.FIRE_DELAY`, the "amount" argument will be interpreted as the tear stat
|
|
148
|
+
-- to add (and not the amount to mutate `EntityPlayer.MaxFireDelay` by).
|
|
149
|
+
--
|
|
150
|
+
-- This function supports the following cache flags:
|
|
151
|
+
-- - CacheFlag.DAMAGE (1 << 0)
|
|
152
|
+
-- - CacheFlag.FIRE_DELAY (1 << 1)
|
|
153
|
+
-- - CacheFlag.SHOT_SPEED (1 << 2)
|
|
154
|
+
-- - CacheFlag.RANGE (1 << 3)
|
|
155
|
+
-- - CacheFlag.SPEED (1 << 4)
|
|
156
|
+
-- - CacheFlag.LUCK (1 << 10)
|
|
157
|
+
function ____exports.addStat(self, player, cacheFlag, amount)
|
|
158
|
+
if not STAT_CACHE_FLAGS_SET:has(cacheFlag) then
|
|
159
|
+
error("You cannot add a stat to a player with the cache flag of: " .. tostring(cacheFlag))
|
|
160
|
+
end
|
|
161
|
+
repeat
|
|
162
|
+
local ____switch6 = cacheFlag
|
|
163
|
+
local ____cond6 = ____switch6 == CacheFlag.DAMAGE
|
|
164
|
+
if ____cond6 then
|
|
165
|
+
do
|
|
166
|
+
player.Damage = player.Damage + amount
|
|
167
|
+
break
|
|
168
|
+
end
|
|
169
|
+
end
|
|
170
|
+
____cond6 = ____cond6 or ____switch6 == CacheFlag.FIRE_DELAY
|
|
171
|
+
if ____cond6 then
|
|
172
|
+
do
|
|
173
|
+
addTearsStat(nil, player, amount)
|
|
174
|
+
break
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
____cond6 = ____cond6 or ____switch6 == CacheFlag.SHOT_SPEED
|
|
178
|
+
if ____cond6 then
|
|
179
|
+
do
|
|
180
|
+
player.ShotSpeed = player.ShotSpeed + amount
|
|
181
|
+
break
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
____cond6 = ____cond6 or ____switch6 == CacheFlag.RANGE
|
|
185
|
+
if ____cond6 then
|
|
186
|
+
do
|
|
187
|
+
player.TearHeight = player.TearHeight + amount
|
|
188
|
+
break
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
____cond6 = ____cond6 or ____switch6 == CacheFlag.SPEED
|
|
192
|
+
if ____cond6 then
|
|
193
|
+
do
|
|
194
|
+
player.MoveSpeed = player.MoveSpeed + amount
|
|
195
|
+
break
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
____cond6 = ____cond6 or ____switch6 == CacheFlag.LUCK
|
|
199
|
+
if ____cond6 then
|
|
200
|
+
do
|
|
201
|
+
player.Luck = player.Luck + amount
|
|
202
|
+
break
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
until true
|
|
206
|
+
end
|
|
207
|
+
function ____exports.addTrinketCostume(self, player, trinketType)
|
|
208
|
+
local itemConfigTrinket = itemConfig:GetTrinket(trinketType)
|
|
209
|
+
if itemConfigTrinket == nil then
|
|
210
|
+
return
|
|
211
|
+
end
|
|
212
|
+
player:AddCostume(itemConfigTrinket, false)
|
|
213
|
+
end
|
|
214
|
+
function ____exports.anyPlayerHasCollectible(self, collectibleType)
|
|
215
|
+
local players = getPlayers(nil)
|
|
216
|
+
return __TS__ArraySome(
|
|
217
|
+
players,
|
|
218
|
+
function(____, player) return player:HasCollectible(collectibleType) end
|
|
219
|
+
)
|
|
220
|
+
end
|
|
221
|
+
function ____exports.anyPlayerHasTrinket(self, trinketType)
|
|
222
|
+
local players = getPlayers(nil)
|
|
223
|
+
return __TS__ArraySome(
|
|
224
|
+
players,
|
|
225
|
+
function(____, player) return player:HasTrinket(trinketType) end
|
|
226
|
+
)
|
|
227
|
+
end
|
|
228
|
+
--- Helper function to determine if the given character is present.
|
|
229
|
+
--
|
|
230
|
+
-- This function is variadic, meaning that you can supply as many characters as you want to check
|
|
231
|
+
-- for. Returns true if any of the characters supplied are present.
|
|
232
|
+
function ____exports.anyPlayerIs(self, ...)
|
|
233
|
+
local matchingCharacters = {...}
|
|
234
|
+
local matchingCharacterSet = __TS__New(Set, matchingCharacters)
|
|
235
|
+
local characters = ____exports.getCharacters(nil)
|
|
236
|
+
return __TS__ArraySome(
|
|
237
|
+
characters,
|
|
238
|
+
function(____, character) return matchingCharacterSet:has(character) end
|
|
239
|
+
)
|
|
240
|
+
end
|
|
241
|
+
--- Helper function to determine if a player will destroy a rock/pot/skull if they walk over it.
|
|
242
|
+
--
|
|
243
|
+
-- The following situations allow for this to be true:
|
|
244
|
+
-- - the player has Leo (collectible 302)
|
|
245
|
+
-- - the player has Thunder Thighs (collectible 314)
|
|
246
|
+
-- - the player is under the effects of Mega Mush (collectible 625)
|
|
247
|
+
-- - the player has Stompy (transformation 13)
|
|
248
|
+
function ____exports.canPlayerCrushRocks(self, player)
|
|
249
|
+
local effects = player:GetEffects()
|
|
250
|
+
return player:HasCollectible(CollectibleType.LEO) or player:HasCollectible(CollectibleType.THUNDER_THIGHS) or effects:HasCollectibleEffect(CollectibleType.MEGA_MUSH) or player:HasPlayerForm(PlayerForm.STOMPY)
|
|
251
|
+
end
|
|
252
|
+
--- Returns whether or not all of the player's soul-heart-type hearts are black hearts.
|
|
253
|
+
--
|
|
254
|
+
-- Note that this function does not consider red heart containers.
|
|
255
|
+
--
|
|
256
|
+
-- For example:
|
|
257
|
+
--
|
|
258
|
+
-- - If the player has one black heart, this function would return true.
|
|
259
|
+
-- - If the player has one soul heart and two black hearts, this function would return false.
|
|
260
|
+
-- - If the player has no black hearts, this function will return false.
|
|
261
|
+
-- - If the player has one red heart container and three black hearts, this function would return
|
|
262
|
+
-- true.
|
|
263
|
+
function ____exports.doesPlayerHaveAllBlackHearts(self, player)
|
|
264
|
+
local soulHearts = ____exports.getPlayerSoulHearts(nil, player)
|
|
265
|
+
local blackHearts = ____exports.getPlayerBlackHearts(nil, player)
|
|
266
|
+
return blackHearts > 0 and soulHearts == 0
|
|
267
|
+
end
|
|
268
|
+
--- Returns whether or not all of the player's soul-heart-type hearts are soul hearts.
|
|
269
|
+
--
|
|
270
|
+
-- Note that this function does not consider red heart containers.
|
|
271
|
+
--
|
|
272
|
+
-- For example:
|
|
273
|
+
--
|
|
274
|
+
-- - If the player has two soul hearts and one black heart, this function would return false.
|
|
275
|
+
-- - If the player has no soul hearts, this function will return false.
|
|
276
|
+
-- - If the player has one red heart container and three soul hearts, this function would return
|
|
277
|
+
-- true.
|
|
278
|
+
function ____exports.doesPlayerHaveAllSoulHearts(self, player)
|
|
279
|
+
local soulHearts = ____exports.getPlayerSoulHearts(nil, player)
|
|
280
|
+
local blackHearts = ____exports.getPlayerBlackHearts(nil, player)
|
|
281
|
+
return soulHearts > 0 and blackHearts == 0
|
|
282
|
+
end
|
|
283
|
+
--- Helper function to find the active slot that the player has the corresponding collectible type
|
|
284
|
+
-- in. Returns undefined if the player does not have the collectible in any active slot.
|
|
285
|
+
function ____exports.getActiveItemSlot(self, player, collectibleType)
|
|
286
|
+
local activeSlots = getEnumValues(nil, ActiveSlot)
|
|
287
|
+
return __TS__ArrayFind(
|
|
288
|
+
activeSlots,
|
|
289
|
+
function(____, activeSlot)
|
|
290
|
+
local activeItem = player:GetActiveItem(activeSlot)
|
|
291
|
+
return activeItem == collectibleType
|
|
292
|
+
end
|
|
293
|
+
)
|
|
294
|
+
end
|
|
295
|
+
--- Helper function to get how long Azazel's Brimstone laser should be. You can pass either an
|
|
296
|
+
-- `EntityPlayer` object or a tear height stat.
|
|
297
|
+
--
|
|
298
|
+
-- The formula for calculating it is: 32 - 2.5 * player.TearHeight
|
|
299
|
+
function ____exports.getAzazelBrimstoneDistance(self, playerOrTearHeight)
|
|
300
|
+
local tearHeight = tonumber(playerOrTearHeight)
|
|
301
|
+
if tearHeight == nil then
|
|
302
|
+
local player = playerOrTearHeight
|
|
303
|
+
tearHeight = player.TearHeight
|
|
304
|
+
end
|
|
305
|
+
return 32 - 2.5 * tearHeight
|
|
306
|
+
end
|
|
307
|
+
function ____exports.getClosestPlayer(self, position)
|
|
308
|
+
local closestPlayer = nil
|
|
309
|
+
local closestDistance = math.huge
|
|
310
|
+
for ____, player in ipairs(getPlayers(nil)) do
|
|
311
|
+
local distance = position:Distance(player.Position)
|
|
312
|
+
if distance < closestDistance then
|
|
313
|
+
closestPlayer = player
|
|
314
|
+
closestDistance = distance
|
|
315
|
+
end
|
|
316
|
+
end
|
|
317
|
+
if closestPlayer == nil then
|
|
318
|
+
error("Failed to find the closest player.")
|
|
319
|
+
end
|
|
320
|
+
return closestPlayer
|
|
321
|
+
end
|
|
322
|
+
--- Helper function to get an array of temporary effects for a player. This is helpful so that you
|
|
323
|
+
-- don't have to manually create an array from an `EffectsList` object.
|
|
324
|
+
function ____exports.getEffectsList(self, player)
|
|
325
|
+
local effects = player:GetEffects()
|
|
326
|
+
local effectsList = effects:GetEffectsList()
|
|
327
|
+
local effectArray = {}
|
|
328
|
+
do
|
|
329
|
+
local i = 0
|
|
330
|
+
while i < effectsList.Size do
|
|
331
|
+
local effect = effectsList:Get(i)
|
|
332
|
+
if effect ~= nil then
|
|
333
|
+
effectArray[#effectArray + 1] = effect
|
|
334
|
+
end
|
|
335
|
+
i = i + 1
|
|
336
|
+
end
|
|
337
|
+
end
|
|
338
|
+
return effectArray
|
|
339
|
+
end
|
|
340
|
+
--- Helper function to return the player with the highest ID, according to the `Isaac.GetPlayer`
|
|
341
|
+
-- method.
|
|
342
|
+
function ____exports.getFinalPlayer(self)
|
|
343
|
+
local players = getPlayers(nil)
|
|
344
|
+
local lastPlayer = getLastElement(nil, players)
|
|
345
|
+
if lastPlayer == nil then
|
|
346
|
+
error("Failed to get the final player since there were 0 players.")
|
|
347
|
+
end
|
|
348
|
+
return lastPlayer
|
|
349
|
+
end
|
|
350
|
+
--- Helper function to get the first player with the lowest frame count. Useful to find a freshly
|
|
351
|
+
-- spawned player after using items like Esau Jr. Don't use this function if two or more players
|
|
352
|
+
-- will be spawned on the same frame.
|
|
353
|
+
function ____exports.getNewestPlayer(self)
|
|
354
|
+
local newestPlayer = nil
|
|
355
|
+
local lowestFrame = math.huge
|
|
356
|
+
for ____, player in ipairs(getPlayers(nil)) do
|
|
357
|
+
if player.FrameCount < lowestFrame then
|
|
358
|
+
newestPlayer = player
|
|
359
|
+
lowestFrame = player.FrameCount
|
|
360
|
+
end
|
|
361
|
+
end
|
|
362
|
+
if newestPlayer == nil then
|
|
363
|
+
error("Failed to find the newest player.")
|
|
364
|
+
end
|
|
365
|
+
return newestPlayer
|
|
366
|
+
end
|
|
367
|
+
--- Returns the number of slots that the player has remaining for new heart containers, accounting
|
|
368
|
+
-- for broken hearts. For example, if the player is Judas and has 1 red heart containers and 2 full
|
|
369
|
+
-- soul hearts and 3 broken hearts, then this function would return 6 (i.e. 12 - 1 - 2 - 3).
|
|
370
|
+
function ____exports.getPlayerAvailableHeartSlots(self, player)
|
|
371
|
+
local maxHeartContainers = ____exports.getPlayerMaxHeartContainers(nil, player)
|
|
372
|
+
local effectiveMaxHearts = player:GetEffectiveMaxHearts()
|
|
373
|
+
local normalAndBoneHeartContainers = effectiveMaxHearts / 2
|
|
374
|
+
local soulHearts = player:GetSoulHearts()
|
|
375
|
+
local soulHeartContainers = math.ceil(soulHearts / 2)
|
|
376
|
+
local totalHeartContainers = normalAndBoneHeartContainers + soulHeartContainers
|
|
377
|
+
local brokenHearts = player:GetBrokenHearts()
|
|
378
|
+
local totalOccupiedHeartSlots = totalHeartContainers + brokenHearts
|
|
379
|
+
return maxHeartContainers - totalOccupiedHeartSlots
|
|
380
|
+
end
|
|
381
|
+
--- Iterates over all players and checks if any are close enough to the specified position.
|
|
382
|
+
--
|
|
383
|
+
-- @returns The first player found when iterating upwards from index 0.
|
|
384
|
+
function ____exports.getPlayerCloserThan(self, position, distance)
|
|
385
|
+
local players = getPlayers(nil)
|
|
386
|
+
return __TS__ArrayFind(
|
|
387
|
+
players,
|
|
388
|
+
function(____, player) return player.Position:Distance(position) <= distance end
|
|
389
|
+
)
|
|
390
|
+
end
|
|
391
|
+
--- Helper function to return the total amount of collectibles that a player has that match the
|
|
392
|
+
-- collectible type(s) provided.
|
|
393
|
+
--
|
|
394
|
+
-- This function is variadic, meaning that you can specify N collectible types.
|
|
395
|
+
function ____exports.getPlayerCollectibleCount(self, player, ...)
|
|
396
|
+
local collectibleTypes = {...}
|
|
397
|
+
local numCollectibles = 0
|
|
398
|
+
for ____, collectibleType in ipairs(collectibleTypes) do
|
|
399
|
+
numCollectibles = numCollectibles + player:GetCollectibleNum(collectibleType, true)
|
|
400
|
+
end
|
|
401
|
+
return numCollectibles
|
|
402
|
+
end
|
|
403
|
+
--- Iterates over every item in the game and returns a map containing the number of each item that
|
|
404
|
+
-- the player has.
|
|
405
|
+
function ____exports.getPlayerCollectibleMap(self, player)
|
|
406
|
+
local collectibleArray = getCollectibleArray(nil)
|
|
407
|
+
local collectibleMap = __TS__New(Map)
|
|
408
|
+
for ____, collectibleType in ipairs(collectibleArray) do
|
|
409
|
+
local collectibleNum = player:GetCollectibleNum(collectibleType, true)
|
|
410
|
+
if collectibleNum > 0 then
|
|
411
|
+
collectibleMap:set(collectibleType, collectibleNum)
|
|
412
|
+
end
|
|
413
|
+
end
|
|
414
|
+
return collectibleMap
|
|
415
|
+
end
|
|
416
|
+
--- Helper function to get the player from a tear, laser, bomb, etc.
|
|
417
|
+
function ____exports.getPlayerFromTear(self, entity)
|
|
418
|
+
if entity.Parent ~= nil then
|
|
419
|
+
local player = entity.Parent:ToPlayer()
|
|
420
|
+
if player ~= nil then
|
|
421
|
+
return player
|
|
422
|
+
end
|
|
423
|
+
local familiar = entity.Parent:ToFamiliar()
|
|
424
|
+
if familiar ~= nil and familiar.Variant == FamiliarVariant.INCUBUS then
|
|
425
|
+
return familiar.Player
|
|
426
|
+
end
|
|
427
|
+
end
|
|
428
|
+
if entity.SpawnerEntity ~= nil then
|
|
429
|
+
local player = entity.SpawnerEntity:ToPlayer()
|
|
430
|
+
if player ~= nil then
|
|
431
|
+
return player
|
|
432
|
+
end
|
|
433
|
+
local familiar = entity.SpawnerEntity:ToFamiliar()
|
|
434
|
+
if familiar ~= nil and familiar.Variant == FamiliarVariant.INCUBUS then
|
|
435
|
+
return familiar.Player
|
|
436
|
+
end
|
|
437
|
+
end
|
|
438
|
+
return nil
|
|
439
|
+
end
|
|
440
|
+
--- Returns the number of red hearts that the player has, excluding any rotten hearts. For example,
|
|
441
|
+
-- if the player has one full black heart, one full soul heart, and one half black heart, this
|
|
442
|
+
-- function returns 3.
|
|
443
|
+
--
|
|
444
|
+
-- This is different from the `EntityPlayer.GetHearts` method, since that returns a value that
|
|
445
|
+
-- includes rotten hearts.
|
|
446
|
+
function ____exports.getPlayerHearts(self, player)
|
|
447
|
+
local rottenHearts = player:GetRottenHearts()
|
|
448
|
+
local hearts = player:GetHearts()
|
|
449
|
+
return hearts - rottenHearts * 2
|
|
450
|
+
end
|
|
451
|
+
--- Helper function that returns the type of the rightmost heart. This does not including golden
|
|
452
|
+
-- hearts or broken hearts, since they cannot be damaged directly.
|
|
453
|
+
function ____exports.getPlayerLastHeart(self, player)
|
|
454
|
+
local hearts = player:GetHearts()
|
|
455
|
+
local effectiveMaxHearts = player:GetEffectiveMaxHearts()
|
|
456
|
+
local soulHearts = player:GetSoulHearts()
|
|
457
|
+
local blackHearts = player:GetBlackHearts()
|
|
458
|
+
local eternalHearts = player:GetEternalHearts()
|
|
459
|
+
local boneHearts = player:GetBoneHearts()
|
|
460
|
+
local rottenHearts = player:GetRottenHearts()
|
|
461
|
+
local soulHeartSlots = soulHearts / 2
|
|
462
|
+
local lastHeartIndex = boneHearts + soulHeartSlots - 1
|
|
463
|
+
local isLastHeartBone = player:IsBoneHeart(lastHeartIndex)
|
|
464
|
+
if isLastHeartBone then
|
|
465
|
+
local isLastContainerEmpty = hearts <= effectiveMaxHearts - 2
|
|
466
|
+
if isLastContainerEmpty then
|
|
467
|
+
return HealthType.BONE
|
|
468
|
+
end
|
|
469
|
+
if rottenHearts > 0 then
|
|
470
|
+
return HealthType.ROTTEN
|
|
471
|
+
end
|
|
472
|
+
if eternalHearts > 0 then
|
|
473
|
+
return HealthType.ETERNAL
|
|
474
|
+
end
|
|
475
|
+
return HealthType.RED
|
|
476
|
+
end
|
|
477
|
+
if soulHearts > 0 then
|
|
478
|
+
local numBits = getNumBitsOfN(nil, blackHearts)
|
|
479
|
+
local finalBit = getKBitOfN(nil, numBits - 1, blackHearts)
|
|
480
|
+
local isBlack = finalBit == 1
|
|
481
|
+
if isBlack then
|
|
482
|
+
return HealthType.BLACK
|
|
483
|
+
end
|
|
484
|
+
return HealthType.SOUL
|
|
485
|
+
end
|
|
486
|
+
if eternalHearts > 0 then
|
|
487
|
+
return HealthType.ETERNAL
|
|
488
|
+
end
|
|
489
|
+
if rottenHearts > 0 then
|
|
490
|
+
return HealthType.ROTTEN
|
|
491
|
+
end
|
|
492
|
+
return HealthType.RED
|
|
493
|
+
end
|
|
494
|
+
--- Helper function to get the proper name of the player. Use this instead of the
|
|
495
|
+
-- `EntityPlayer.GetName` method because it accounts for Blue Baby, Lazarus II, and Tainted
|
|
496
|
+
-- characters.
|
|
497
|
+
function ____exports.getPlayerName(self, player)
|
|
498
|
+
local character = player:GetPlayerType()
|
|
499
|
+
return ____exports.isModdedPlayer(nil, player) and player:GetName() or getCharacterName(nil, character)
|
|
500
|
+
end
|
|
501
|
+
--- Returns the combined value of all of the player's red hearts, soul/black hearts, and bone hearts,
|
|
502
|
+
-- minus the value of the player's rotten hearts.
|
|
503
|
+
--
|
|
504
|
+
-- This is equivalent to the number of hits that the player can currently take, but does not take
|
|
505
|
+
-- into account double damage from champion enemies and/or being on later floors. (For example, on
|
|
506
|
+
-- Womb 1, players who have 1 soul heart remaining would die in 1 hit to anything, even though this
|
|
507
|
+
-- function would report that they have 2 hits remaining.)
|
|
508
|
+
function ____exports.getPlayerNumHitsRemaining(self, player)
|
|
509
|
+
local hearts = player:GetHearts()
|
|
510
|
+
local soulHearts = player:GetSoulHearts()
|
|
511
|
+
local boneHearts = player:GetBoneHearts()
|
|
512
|
+
local eternalHearts = player:GetEternalHearts()
|
|
513
|
+
local rottenHearts = player:GetRottenHearts()
|
|
514
|
+
return hearts + soulHearts + boneHearts + eternalHearts - rottenHearts
|
|
515
|
+
end
|
|
516
|
+
--- Helper function to get all of the players that are a certain character.
|
|
517
|
+
--
|
|
518
|
+
-- This function is variadic, meaning that you can supply as many characters as you want to check
|
|
519
|
+
-- for. Returns true if any of the characters supplied are present.
|
|
520
|
+
function ____exports.getPlayersOfType(self, ...)
|
|
521
|
+
local characters = {...}
|
|
522
|
+
local charactersSet = __TS__New(Set, characters)
|
|
523
|
+
local players = getPlayers(nil)
|
|
524
|
+
return __TS__ArrayFilter(
|
|
525
|
+
players,
|
|
526
|
+
function(____, player)
|
|
527
|
+
local character = player:GetPlayerType()
|
|
528
|
+
return charactersSet:has(character)
|
|
529
|
+
end
|
|
530
|
+
)
|
|
531
|
+
end
|
|
532
|
+
--- Helper function to get only the players that have a certain collectible.
|
|
533
|
+
--
|
|
534
|
+
-- This function is variadic, meaning that you can supply as many collectible types as you want to
|
|
535
|
+
-- check for. It only returns the players that have all of the collectibles.
|
|
536
|
+
function ____exports.getPlayersWithCollectible(self, ...)
|
|
537
|
+
local collectibleTypes = {...}
|
|
538
|
+
local players = getPlayers(nil)
|
|
539
|
+
return __TS__ArrayFilter(
|
|
540
|
+
players,
|
|
541
|
+
function(____, player) return __TS__ArrayEvery(
|
|
542
|
+
collectibleTypes,
|
|
543
|
+
function(____, collectibleType) return player:HasCollectible(collectibleType) end
|
|
544
|
+
) end
|
|
545
|
+
)
|
|
546
|
+
end
|
|
547
|
+
--- Helper function to get only the players that have a certain trinket.
|
|
548
|
+
--
|
|
549
|
+
-- This function is variadic, meaning that you can supply as many trinket types as you want to check
|
|
550
|
+
-- for. It only returns the players that have all of the trinkets.
|
|
551
|
+
function ____exports.getPlayersWithTrinket(self, ...)
|
|
552
|
+
local trinketTypes = {...}
|
|
553
|
+
local players = getPlayers(nil)
|
|
554
|
+
return __TS__ArrayFilter(
|
|
555
|
+
players,
|
|
556
|
+
function(____, player) return __TS__ArrayEvery(
|
|
557
|
+
trinketTypes,
|
|
558
|
+
function(____, trinketType) return player:HasTrinket(trinketType) end
|
|
559
|
+
) end
|
|
560
|
+
)
|
|
561
|
+
end
|
|
562
|
+
--- Helper function to determine how many heart containers that Tainted Magdalene has that will not
|
|
563
|
+
-- be automatically depleted over time. By default, this is 2, but this function will return 4 so
|
|
564
|
+
-- that it is consistent with the `player.GetHearts` and `player.GetMaxHearts` methods.
|
|
565
|
+
--
|
|
566
|
+
-- If Tainted Magdalene has Birthright, she will gained an additional non-temporary heart container.
|
|
567
|
+
--
|
|
568
|
+
-- This function does not validate whether or not the provided player is Tainted Magdalene; that
|
|
569
|
+
-- should be accomplished before invoking this function.
|
|
570
|
+
function ____exports.getTaintedMagdaleneNonTemporaryMaxHearts(self, player)
|
|
571
|
+
local maxHearts = player:GetMaxHearts()
|
|
572
|
+
local hasBirthright = player:HasCollectible(CollectibleType.BIRTHRIGHT)
|
|
573
|
+
local maxNonTemporaryMaxHearts = hasBirthright and 6 or 4
|
|
574
|
+
return math.min(maxHearts, maxNonTemporaryMaxHearts)
|
|
575
|
+
end
|
|
576
|
+
--- Returns the total number of collectibles amongst all players. For example, if player 1 has 1 Sad
|
|
577
|
+
-- Onion and player 2 has 2 Sad Onions, then this function would return 3.
|
|
578
|
+
function ____exports.getTotalPlayerCollectibles(self, collectibleType)
|
|
579
|
+
local players = getPlayers(nil)
|
|
580
|
+
local numCollectiblesArray = __TS__ArrayMap(
|
|
581
|
+
players,
|
|
582
|
+
function(____, player) return player:GetCollectibleNum(collectibleType) end
|
|
583
|
+
)
|
|
584
|
+
return sumArray(nil, numCollectiblesArray)
|
|
585
|
+
end
|
|
586
|
+
--- After touching a white fire, a player will turn into The Lost until they clear a room.
|
|
587
|
+
function ____exports.hasLostCurse(self, player)
|
|
588
|
+
local effects = player:GetEffects()
|
|
589
|
+
return effects:HasNullEffect(NullItemID.LOST_CURSE)
|
|
590
|
+
end
|
|
591
|
+
--- Returns whether or not the player can hold an additional active item, beyond what they are
|
|
592
|
+
-- currently carrying. This takes the Schoolbag into account.
|
|
593
|
+
--
|
|
594
|
+
-- If the player is the Tainted Soul, this always returns false, since that character cannot pick up
|
|
595
|
+
-- items. (Only Tainted Forgotten can pick up items.)
|
|
596
|
+
function ____exports.hasOpenActiveItemSlot(self, player)
|
|
597
|
+
if ____exports.isCharacter(nil, player, PlayerType.THE_SOUL_B) then
|
|
598
|
+
return false
|
|
599
|
+
end
|
|
600
|
+
local activeItemPrimary = player:GetActiveItem(ActiveSlot.PRIMARY)
|
|
601
|
+
local activeItemSecondary = player:GetActiveItem(ActiveSlot.SECONDARY)
|
|
602
|
+
local hasSchoolbag = player:HasCollectible(CollectibleType.SCHOOLBAG)
|
|
603
|
+
if hasSchoolbag then
|
|
604
|
+
return activeItemPrimary == CollectibleType.NULL or activeItemSecondary == CollectibleType.NULL
|
|
605
|
+
end
|
|
606
|
+
return activeItemPrimary == CollectibleType.NULL
|
|
607
|
+
end
|
|
608
|
+
function ____exports.isActiveSlotEmpty(self, player, activeSlot)
|
|
609
|
+
local activeCollectibleType = player:GetActiveItem(activeSlot)
|
|
610
|
+
return activeCollectibleType == CollectibleType.NULL
|
|
611
|
+
end
|
|
612
|
+
--- Helper function for detecting when a player is Bethany or Tainted Bethany. This is useful if you
|
|
613
|
+
-- need to adjust UI elements to account for Bethany's soul charges or Tainted Bethany's blood
|
|
614
|
+
-- charges.
|
|
615
|
+
function ____exports.isBethany(self, player)
|
|
616
|
+
local character = player:GetPlayerType()
|
|
617
|
+
return character == PlayerType.BETHANY or character == PlayerType.BETHANY_B
|
|
618
|
+
end
|
|
619
|
+
--- Helper function to see if a damage source is from a player. Use this instead of comparing to the
|
|
620
|
+
-- entity directly because it takes familiars into account.
|
|
621
|
+
function ____exports.isDamageFromPlayer(self, damageSource)
|
|
622
|
+
local player = damageSource:ToPlayer()
|
|
623
|
+
if player ~= nil then
|
|
624
|
+
return true
|
|
625
|
+
end
|
|
626
|
+
local indirectPlayer = ____exports.getPlayerFromTear(nil, damageSource)
|
|
627
|
+
return indirectPlayer ~= nil
|
|
628
|
+
end
|
|
629
|
+
--- Helper function for detecting when a player is Eden or Tainted Eden. Useful for situations where
|
|
630
|
+
-- you want to know if the starting stats were randomized, for example.
|
|
631
|
+
function ____exports.isEden(self, player)
|
|
632
|
+
local character = player:GetPlayerType()
|
|
633
|
+
return character == PlayerType.EDEN or character == PlayerType.EDEN_B
|
|
634
|
+
end
|
|
635
|
+
function ____exports.isFirstPlayer(self, player)
|
|
636
|
+
return getPlayerIndexVanilla(nil, player) == 0
|
|
637
|
+
end
|
|
638
|
+
--- Helper function for detecting when a player is Jacob or Esau. This will only match the
|
|
639
|
+
-- non-tainted versions of these characters.
|
|
640
|
+
function ____exports.isJacobOrEsau(self, player)
|
|
641
|
+
local character = player:GetPlayerType()
|
|
642
|
+
return character == PlayerType.JACOB or character == PlayerType.ESAU
|
|
643
|
+
end
|
|
644
|
+
--- Helper function for detecting when a player is The Lost or Tainted Lost.
|
|
645
|
+
function ____exports.isLost(self, player)
|
|
646
|
+
local character = player:GetPlayerType()
|
|
647
|
+
return character == PlayerType.THE_LOST or character == PlayerType.THE_LOST_B
|
|
648
|
+
end
|
|
649
|
+
--- Helper function for detecting if a player is one of the Tainted characters.
|
|
650
|
+
function ____exports.isTainted(self, player)
|
|
651
|
+
local character = player:GetPlayerType()
|
|
652
|
+
local ____isVanillaPlayer_result_0
|
|
653
|
+
if ____exports.isVanillaPlayer(nil, player) then
|
|
654
|
+
____isVanillaPlayer_result_0 = character >= PlayerType.ISAAC_B
|
|
655
|
+
else
|
|
656
|
+
____isVanillaPlayer_result_0 = isTaintedModded(nil, player)
|
|
657
|
+
end
|
|
658
|
+
return ____isVanillaPlayer_result_0
|
|
659
|
+
end
|
|
660
|
+
--- Helper function for detecting when a player is Tainted Lazarus or Dead Tainted Lazarus.
|
|
661
|
+
function ____exports.isTaintedLazarus(self, player)
|
|
662
|
+
local character = player:GetPlayerType()
|
|
663
|
+
return character == PlayerType.LAZARUS_B or character == PlayerType.LAZARUS_2_B
|
|
664
|
+
end
|
|
665
|
+
--- Helper function to add one or more collectibles to a player.
|
|
666
|
+
--
|
|
667
|
+
-- This function is variadic, meaning that you can supply as many collectible types as you want to
|
|
668
|
+
-- add.
|
|
669
|
+
function ____exports.playerAddCollectible(self, player, ...)
|
|
670
|
+
local collectibleTypes = {...}
|
|
671
|
+
for ____, collectibleType in ipairs(collectibleTypes) do
|
|
672
|
+
player:AddCollectible(collectibleType)
|
|
673
|
+
end
|
|
674
|
+
end
|
|
675
|
+
--- Helper function to check to see if a player has one or more collectibles.
|
|
676
|
+
--
|
|
677
|
+
-- This function is variadic, meaning that you can supply as many collectible types as you want to
|
|
678
|
+
-- check for. Returns true if the player has any of the supplied collectible types.
|
|
679
|
+
function ____exports.playerHasCollectible(self, player, ...)
|
|
680
|
+
local collectibleTypes = {...}
|
|
681
|
+
return __TS__ArraySome(
|
|
682
|
+
collectibleTypes,
|
|
683
|
+
function(____, collectibleType) return player:HasCollectible(collectibleType) end
|
|
684
|
+
)
|
|
685
|
+
end
|
|
686
|
+
--- Helper function to remove a collectible costume from a player. Use this helper function to avoid
|
|
687
|
+
-- having to request the collectible from the item config.
|
|
688
|
+
function ____exports.removeCollectibleCostume(self, player, collectibleType)
|
|
689
|
+
local itemConfigItem = itemConfig:GetCollectible(collectibleType)
|
|
690
|
+
if itemConfigItem == nil then
|
|
691
|
+
return
|
|
692
|
+
end
|
|
693
|
+
player:RemoveCostume(itemConfigItem)
|
|
694
|
+
end
|
|
695
|
+
--- Helper function to remove the Dead Eye multiplier from a player.
|
|
696
|
+
--
|
|
697
|
+
-- Note that each time the `EntityPlayer.ClearDeadEyeCharge` method is called, it only has a chance
|
|
698
|
+
-- of working, so this function calls it 100 times to be safe.
|
|
699
|
+
function ____exports.removeDeadEyeMultiplier(self, player)
|
|
700
|
+
____repeat(
|
|
701
|
+
nil,
|
|
702
|
+
100,
|
|
703
|
+
function()
|
|
704
|
+
player:ClearDeadEyeCharge()
|
|
705
|
+
end
|
|
706
|
+
)
|
|
707
|
+
end
|
|
708
|
+
--- Helper function to remove a trinket costume from a player. Use this helper function to avoid
|
|
709
|
+
-- having to request the trinket from the item config.
|
|
710
|
+
function ____exports.removeTrinketCostume(self, player, trinketType)
|
|
711
|
+
local itemConfigTrinket = itemConfig:GetTrinket(trinketType)
|
|
712
|
+
if itemConfigTrinket == nil then
|
|
713
|
+
return
|
|
714
|
+
end
|
|
715
|
+
player:RemoveCostume(itemConfigTrinket)
|
|
716
|
+
end
|
|
717
|
+
--- Helper function to set an active collectible to a particular slot. This has different behavior
|
|
718
|
+
-- than calling the `player.AddCollectible` method with the `activeSlot` argument, because this
|
|
719
|
+
-- function will not shift existing items into the Schoolbag and it handles
|
|
720
|
+
-- `ActiveSlot.SLOT_POCKET2`.
|
|
721
|
+
--
|
|
722
|
+
-- Note that if an item is set to `ActiveSlot.SLOT_POCKET2`, it will disappear after being used and
|
|
723
|
+
-- will be automatically removed upon entering a new room.
|
|
724
|
+
--
|
|
725
|
+
-- @param player The player to give the item to.
|
|
726
|
+
-- @param collectibleType The collectible type of the item to give.
|
|
727
|
+
-- @param activeSlot The slot to set.
|
|
728
|
+
-- @param charge Optional. The argument of charges to set. If not specified, the item will be set
|
|
729
|
+
-- with maximum charges.
|
|
730
|
+
-- @param keepInPools Optional. Whether or not to remove the item from pools. Default is false.
|
|
731
|
+
function ____exports.setActiveItem(self, player, collectibleType, activeSlot, charge, keepInPools)
|
|
732
|
+
if keepInPools == nil then
|
|
733
|
+
keepInPools = false
|
|
734
|
+
end
|
|
735
|
+
local itemPool = game:GetItemPool()
|
|
736
|
+
local primaryCollectibleType = player:GetActiveItem(ActiveSlot.PRIMARY)
|
|
737
|
+
local primaryCharge = player:GetActiveCharge(ActiveSlot.PRIMARY)
|
|
738
|
+
local secondaryCollectibleType = player:GetActiveItem(ActiveSlot.SECONDARY)
|
|
739
|
+
if charge == nil then
|
|
740
|
+
charge = getCollectibleMaxCharges(nil, collectibleType)
|
|
741
|
+
end
|
|
742
|
+
if not keepInPools then
|
|
743
|
+
itemPool:RemoveCollectible(collectibleType)
|
|
744
|
+
end
|
|
745
|
+
repeat
|
|
746
|
+
local ____switch123 = activeSlot
|
|
747
|
+
local ____cond123 = ____switch123 == ActiveSlot.PRIMARY
|
|
748
|
+
if ____cond123 then
|
|
749
|
+
do
|
|
750
|
+
if primaryCollectibleType ~= CollectibleType.NULL then
|
|
751
|
+
player:RemoveCollectible(primaryCollectibleType)
|
|
752
|
+
end
|
|
753
|
+
player:AddCollectible(collectibleType, charge, false)
|
|
754
|
+
break
|
|
755
|
+
end
|
|
756
|
+
end
|
|
757
|
+
____cond123 = ____cond123 or ____switch123 == ActiveSlot.SECONDARY
|
|
758
|
+
if ____cond123 then
|
|
759
|
+
do
|
|
760
|
+
if primaryCollectibleType ~= CollectibleType.NULL then
|
|
761
|
+
player:RemoveCollectible(primaryCollectibleType)
|
|
762
|
+
end
|
|
763
|
+
if secondaryCollectibleType ~= CollectibleType.NULL then
|
|
764
|
+
player:RemoveCollectible(secondaryCollectibleType)
|
|
765
|
+
end
|
|
766
|
+
player:AddCollectible(secondaryCollectibleType, charge, false)
|
|
767
|
+
if primaryCollectibleType ~= CollectibleType.NULL then
|
|
768
|
+
player:AddCollectible(primaryCollectibleType, primaryCharge, false)
|
|
769
|
+
end
|
|
770
|
+
break
|
|
771
|
+
end
|
|
772
|
+
end
|
|
773
|
+
____cond123 = ____cond123 or ____switch123 == ActiveSlot.POCKET
|
|
774
|
+
if ____cond123 then
|
|
775
|
+
do
|
|
776
|
+
player:SetPocketActiveItem(collectibleType, activeSlot, keepInPools)
|
|
777
|
+
player:SetActiveCharge(charge, activeSlot)
|
|
778
|
+
break
|
|
779
|
+
end
|
|
780
|
+
end
|
|
781
|
+
____cond123 = ____cond123 or ____switch123 == ActiveSlot.POCKET_SINGLE_USE
|
|
782
|
+
if ____cond123 then
|
|
783
|
+
do
|
|
784
|
+
player:SetPocketActiveItem(collectibleType, activeSlot, keepInPools)
|
|
785
|
+
break
|
|
786
|
+
end
|
|
787
|
+
end
|
|
788
|
+
until true
|
|
789
|
+
end
|
|
790
|
+
--- Helper function to blindfold the player by using a hack with the challenge variable.
|
|
791
|
+
--
|
|
792
|
+
-- The method used in this function was discovered by im_tem.
|
|
793
|
+
--
|
|
794
|
+
-- @param player The player to apply or remove the blindfold state from.
|
|
795
|
+
-- @param enabled Whether or not to apply or remove the blindfold.
|
|
796
|
+
-- @param modifyCostume Optional. Whether to add or remove the blindfold costume. Default is true.
|
|
797
|
+
function ____exports.setBlindfold(self, player, enabled, modifyCostume)
|
|
798
|
+
if modifyCostume == nil then
|
|
799
|
+
modifyCostume = true
|
|
800
|
+
end
|
|
801
|
+
local character = player:GetPlayerType()
|
|
802
|
+
local challenge = Isaac.GetChallenge()
|
|
803
|
+
if enabled then
|
|
804
|
+
game.Challenge = Challenge.SOLAR_SYSTEM
|
|
805
|
+
player:ChangePlayerType(character)
|
|
806
|
+
game.Challenge = challenge
|
|
807
|
+
if not modifyCostume then
|
|
808
|
+
player:TryRemoveNullCostume(NullItemID.BLINDFOLD)
|
|
809
|
+
end
|
|
810
|
+
else
|
|
811
|
+
game.Challenge = Challenge.NULL
|
|
812
|
+
player:ChangePlayerType(character)
|
|
813
|
+
game.Challenge = challenge
|
|
814
|
+
if modifyCostume then
|
|
815
|
+
player:TryRemoveNullCostume(NullItemID.BLINDFOLD)
|
|
816
|
+
end
|
|
817
|
+
end
|
|
818
|
+
end
|
|
819
|
+
--- Helper function to use an active item without showing an animation, keeping the item, or adding
|
|
820
|
+
-- any costumes.
|
|
821
|
+
function ____exports.useActiveItemTemp(self, player, collectibleType)
|
|
822
|
+
player:UseActiveItem(
|
|
823
|
+
collectibleType,
|
|
824
|
+
false,
|
|
825
|
+
false,
|
|
826
|
+
true,
|
|
827
|
+
false,
|
|
828
|
+
-1
|
|
829
|
+
)
|
|
830
|
+
end
|
|
831
|
+
return ____exports
|