isaacscript-common 6.6.1-dev.2 → 6.6.1
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 +4 -4
- 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/{features → src/features}/customStage/metadata.json +0 -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 -56
- package/cachedClasses.js +0 -59
- package/cachedClasses.lua +0 -52
- package/callbacks/customRevive.d.ts +0 -1
- package/callbacks/customRevive.js +0 -153
- package/callbacks/customRevive.lua +0 -150
- package/callbacks/itemPickup.d.ts +0 -1
- package/callbacks/itemPickup.js +0 -64
- package/callbacks/itemPickup.lua +0 -68
- package/callbacks/postAmbush.d.ts +0 -1
- package/callbacks/postAmbush.js +0 -54
- package/callbacks/postAmbush.lua +0 -58
- package/callbacks/postBombExploded.d.ts +0 -1
- package/callbacks/postBombExploded.js +0 -20
- package/callbacks/postBombExploded.lua +0 -28
- package/callbacks/postBombInitLate.d.ts +0 -1
- package/callbacks/postBombInitLate.js +0 -28
- package/callbacks/postBombInitLate.lua +0 -35
- package/callbacks/postBoneSwing.d.ts +0 -1
- package/callbacks/postBoneSwing.js +0 -49
- package/callbacks/postBoneSwing.lua +0 -52
- package/callbacks/postCollectibleEmpty.d.ts +0 -1
- package/callbacks/postCollectibleEmpty.js +0 -32
- package/callbacks/postCollectibleEmpty.lua +0 -42
- package/callbacks/postCollectibleInitFirst.d.ts +0 -1
- package/callbacks/postCollectibleInitFirst.js +0 -27
- package/callbacks/postCollectibleInitFirst.lua +0 -37
- package/callbacks/postCursedTeleport.d.ts +0 -1
- package/callbacks/postCursedTeleport.js +0 -120
- package/callbacks/postCursedTeleport.lua +0 -124
- package/callbacks/postCustomDoorEnter.d.ts +0 -50
- package/callbacks/postCustomDoorEnter.js +0 -205
- package/callbacks/postCustomDoorEnter.lua +0 -242
- package/callbacks/postDiceRoomActivated.d.ts +0 -1
- package/callbacks/postDiceRoomActivated.js +0 -39
- package/callbacks/postDiceRoomActivated.lua +0 -43
- package/callbacks/postDoorRender.d.ts +0 -1
- package/callbacks/postDoorRender.js +0 -20
- package/callbacks/postDoorRender.lua +0 -28
- package/callbacks/postDoorUpdate.d.ts +0 -1
- package/callbacks/postDoorUpdate.js +0 -20
- package/callbacks/postDoorUpdate.lua +0 -28
- package/callbacks/postEffectInitLate.d.ts +0 -1
- package/callbacks/postEffectInitLate.js +0 -28
- package/callbacks/postEffectInitLate.lua +0 -35
- package/callbacks/postEffectStateChanged.d.ts +0 -1
- package/callbacks/postEffectStateChanged.js +0 -31
- package/callbacks/postEffectStateChanged.lua +0 -41
- package/callbacks/postEsauJr.d.ts +0 -1
- package/callbacks/postEsauJr.js +0 -70
- package/callbacks/postEsauJr.lua +0 -72
- package/callbacks/postFamiliarInitLate.d.ts +0 -1
- package/callbacks/postFamiliarInitLate.js +0 -28
- package/callbacks/postFamiliarInitLate.lua +0 -35
- package/callbacks/postFamiliarStateChanged.d.ts +0 -1
- package/callbacks/postFamiliarStateChanged.js +0 -31
- package/callbacks/postFamiliarStateChanged.lua +0 -41
- package/callbacks/postFlip.d.ts +0 -1
- package/callbacks/postFlip.js +0 -59
- package/callbacks/postFlip.lua +0 -66
- package/callbacks/postGreedModeWave.d.ts +0 -1
- package/callbacks/postGreedModeWave.js +0 -31
- package/callbacks/postGreedModeWave.lua +0 -36
- package/callbacks/postGridEntity.d.ts +0 -1
- package/callbacks/postGridEntity.js +0 -107
- package/callbacks/postGridEntity.lua +0 -111
- package/callbacks/postGridEntityCollision.d.ts +0 -1
- package/callbacks/postGridEntityCollision.js +0 -49
- package/callbacks/postGridEntityCollision.lua +0 -69
- package/callbacks/postGridEntityRender.d.ts +0 -1
- package/callbacks/postGridEntityRender.js +0 -20
- package/callbacks/postGridEntityRender.lua +0 -28
- package/callbacks/postHolyMantleRemoved.d.ts +0 -1
- package/callbacks/postHolyMantleRemoved.js +0 -33
- package/callbacks/postHolyMantleRemoved.lua +0 -43
- package/callbacks/postItemDischarged.d.ts +0 -2
- package/callbacks/postItemDischarged.js +0 -94
- package/callbacks/postItemDischarged.lua +0 -107
- package/callbacks/postKnifeInitLate.d.ts +0 -1
- package/callbacks/postKnifeInitLate.js +0 -28
- package/callbacks/postKnifeInitLate.lua +0 -35
- package/callbacks/postLaserInitLate.d.ts +0 -1
- package/callbacks/postLaserInitLate.js +0 -28
- package/callbacks/postLaserInitLate.lua +0 -35
- package/callbacks/postNPCInitLate.d.ts +0 -1
- package/callbacks/postNPCInitLate.js +0 -28
- package/callbacks/postNPCInitLate.lua +0 -35
- package/callbacks/postNPCStateChanged.d.ts +0 -1
- package/callbacks/postNPCStateChanged.js +0 -31
- package/callbacks/postNPCStateChanged.lua +0 -41
- package/callbacks/postNewRoomEarly.d.ts +0 -1
- package/callbacks/postNewRoomEarly.js +0 -69
- package/callbacks/postNewRoomEarly.lua +0 -70
- package/callbacks/postPickupCollect.d.ts +0 -1
- package/callbacks/postPickupCollect.js +0 -37
- package/callbacks/postPickupCollect.lua +0 -43
- package/callbacks/postPickupInitFirst.d.ts +0 -1
- package/callbacks/postPickupInitFirst.js +0 -52
- package/callbacks/postPickupInitFirst.lua +0 -57
- package/callbacks/postPickupInitLate.d.ts +0 -1
- package/callbacks/postPickupInitLate.js +0 -28
- package/callbacks/postPickupInitLate.lua +0 -35
- package/callbacks/postPickupStateChanged.d.ts +0 -1
- package/callbacks/postPickupStateChanged.js +0 -31
- package/callbacks/postPickupStateChanged.lua +0 -41
- package/callbacks/postPitRender.d.ts +0 -1
- package/callbacks/postPitRender.js +0 -20
- package/callbacks/postPitRender.lua +0 -28
- package/callbacks/postPitUpdate.d.ts +0 -1
- package/callbacks/postPitUpdate.js +0 -20
- package/callbacks/postPitUpdate.lua +0 -28
- package/callbacks/postPlayerChangeHealth.d.ts +0 -1
- package/callbacks/postPlayerChangeHealth.js +0 -43
- package/callbacks/postPlayerChangeHealth.lua +0 -54
- package/callbacks/postPlayerChangeType.d.ts +0 -1
- package/callbacks/postPlayerChangeType.js +0 -31
- package/callbacks/postPlayerChangeType.lua +0 -43
- package/callbacks/postPlayerCollectible.d.ts +0 -1
- package/callbacks/postPlayerCollectible.js +0 -74
- package/callbacks/postPlayerCollectible.lua +0 -99
- package/callbacks/postPlayerFatalDamage.d.ts +0 -1
- package/callbacks/postPlayerFatalDamage.js +0 -74
- package/callbacks/postPlayerFatalDamage.lua +0 -101
- package/callbacks/postPlayerInitLate.d.ts +0 -1
- package/callbacks/postPlayerInitLate.js +0 -28
- package/callbacks/postPlayerInitLate.lua +0 -37
- package/callbacks/postPlayerReordered.d.ts +0 -1
- package/callbacks/postPlayerReordered.js +0 -109
- package/callbacks/postPlayerReordered.lua +0 -116
- package/callbacks/postPoopRender.d.ts +0 -1
- package/callbacks/postPoopRender.js +0 -20
- package/callbacks/postPoopRender.lua +0 -28
- package/callbacks/postPoopUpdate.d.ts +0 -1
- package/callbacks/postPoopUpdate.js +0 -20
- package/callbacks/postPoopUpdate.lua +0 -28
- package/callbacks/postPressurePlateRender.d.ts +0 -1
- package/callbacks/postPressurePlateRender.js +0 -20
- package/callbacks/postPressurePlateRender.lua +0 -28
- package/callbacks/postPressurePlateUpdate.d.ts +0 -1
- package/callbacks/postPressurePlateUpdate.js +0 -20
- package/callbacks/postPressurePlateUpdate.lua +0 -28
- package/callbacks/postProjectileInitLate.d.ts +0 -1
- package/callbacks/postProjectileInitLate.js +0 -28
- package/callbacks/postProjectileInitLate.lua +0 -35
- package/callbacks/postPurchase.d.ts +0 -1
- package/callbacks/postPurchase.js +0 -39
- package/callbacks/postPurchase.lua +0 -53
- package/callbacks/postRockRender.d.ts +0 -1
- package/callbacks/postRockRender.js +0 -20
- package/callbacks/postRockRender.lua +0 -28
- package/callbacks/postRockUpdate.d.ts +0 -1
- package/callbacks/postRockUpdate.js +0 -20
- package/callbacks/postRockUpdate.lua +0 -28
- package/callbacks/postRoomClearChanged.d.ts +0 -1
- package/callbacks/postRoomClearChanged.js +0 -41
- package/callbacks/postRoomClearChanged.lua +0 -46
- package/callbacks/postSacrifice.d.ts +0 -1
- package/callbacks/postSacrifice.js +0 -38
- package/callbacks/postSacrifice.lua +0 -47
- package/callbacks/postSlotDestroyed.d.ts +0 -1
- package/callbacks/postSlotDestroyed.js +0 -64
- package/callbacks/postSlotDestroyed.lua +0 -70
- package/callbacks/postSlotInitUpdate.d.ts +0 -1
- package/callbacks/postSlotInitUpdate.js +0 -49
- package/callbacks/postSlotInitUpdate.lua +0 -57
- package/callbacks/postSlotRender.d.ts +0 -1
- package/callbacks/postSlotRender.js +0 -48
- package/callbacks/postSlotRender.lua +0 -60
- package/callbacks/postSpikesRender.d.ts +0 -1
- package/callbacks/postSpikesRender.js +0 -20
- package/callbacks/postSpikesRender.lua +0 -28
- package/callbacks/postSpikesUpdate.d.ts +0 -1
- package/callbacks/postSpikesUpdate.js +0 -20
- package/callbacks/postSpikesUpdate.lua +0 -28
- package/callbacks/postTNTRender.d.ts +0 -1
- package/callbacks/postTNTRender.js +0 -20
- package/callbacks/postTNTRender.lua +0 -28
- package/callbacks/postTNTUpdate.d.ts +0 -1
- package/callbacks/postTNTUpdate.js +0 -20
- package/callbacks/postTNTUpdate.lua +0 -28
- package/callbacks/postTearInitLate.d.ts +0 -1
- package/callbacks/postTearInitLate.js +0 -28
- package/callbacks/postTearInitLate.lua +0 -35
- package/callbacks/postTearInitVeryLate.d.ts +0 -1
- package/callbacks/postTearInitVeryLate.js +0 -32
- package/callbacks/postTearInitVeryLate.lua +0 -38
- package/callbacks/postTransformation.d.ts +0 -1
- package/callbacks/postTransformation.js +0 -37
- package/callbacks/postTransformation.lua +0 -50
- package/callbacks/postTrinketBreak.d.ts +0 -1
- package/callbacks/postTrinketBreak.js +0 -64
- package/callbacks/postTrinketBreak.lua +0 -75
- package/callbacks/preBerserkDeath.d.ts +0 -1
- package/callbacks/preBerserkDeath.js +0 -35
- package/callbacks/preBerserkDeath.lua +0 -40
- package/callbacks/preNewLevel.d.ts +0 -1
- package/callbacks/preNewLevel.js +0 -45
- package/callbacks/preNewLevel.lua +0 -47
- package/callbacks/reorderedCallbacks.d.ts +0 -29
- package/callbacks/reorderedCallbacks.js +0 -136
- package/callbacks/reorderedCallbacks.lua +0 -120
- package/callbacks/subscriptions/postAmbushFinished.d.ts +0 -5
- package/callbacks/subscriptions/postAmbushFinished.js +0 -20
- package/callbacks/subscriptions/postAmbushFinished.lua +0 -31
- package/callbacks/subscriptions/postAmbushStarted.d.ts +0 -5
- package/callbacks/subscriptions/postAmbushStarted.js +0 -20
- package/callbacks/subscriptions/postAmbushStarted.lua +0 -31
- package/callbacks/subscriptions/postBombInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postBombInitLate.js +0 -20
- package/callbacks/subscriptions/postBombInitLate.lua +0 -31
- package/callbacks/subscriptions/postBoneExploded.d.ts +0 -5
- package/callbacks/subscriptions/postBoneExploded.js +0 -20
- package/callbacks/subscriptions/postBoneExploded.lua +0 -31
- package/callbacks/subscriptions/postBoneSwing.d.ts +0 -4
- package/callbacks/subscriptions/postBoneSwing.js +0 -16
- package/callbacks/subscriptions/postBoneSwing.lua +0 -24
- package/callbacks/subscriptions/postCollectibleEmpty.d.ts +0 -5
- package/callbacks/subscriptions/postCollectibleEmpty.js +0 -21
- package/callbacks/subscriptions/postCollectibleEmpty.lua +0 -31
- package/callbacks/subscriptions/postCollectibleInitFirst.d.ts +0 -5
- package/callbacks/subscriptions/postCollectibleInitFirst.js +0 -21
- package/callbacks/subscriptions/postCollectibleInitFirst.lua +0 -31
- package/callbacks/subscriptions/postCursedTeleport.d.ts +0 -4
- package/callbacks/subscriptions/postCursedTeleport.js +0 -16
- package/callbacks/subscriptions/postCursedTeleport.lua +0 -24
- package/callbacks/subscriptions/postCustomDoorEnter.d.ts +0 -5
- package/callbacks/subscriptions/postCustomDoorEnter.js +0 -21
- package/callbacks/subscriptions/postCustomDoorEnter.lua +0 -37
- package/callbacks/subscriptions/postCustomRevive.d.ts +0 -6
- package/callbacks/subscriptions/postCustomRevive.js +0 -21
- package/callbacks/subscriptions/postCustomRevive.lua +0 -31
- package/callbacks/subscriptions/postDiceRoomActivated.d.ts +0 -5
- package/callbacks/subscriptions/postDiceRoomActivated.js +0 -21
- package/callbacks/subscriptions/postDiceRoomActivated.lua +0 -31
- package/callbacks/subscriptions/postDoorRender.d.ts +0 -6
- package/callbacks/subscriptions/postDoorRender.js +0 -22
- package/callbacks/subscriptions/postDoorRender.lua +0 -32
- package/callbacks/subscriptions/postDoorUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postDoorUpdate.js +0 -22
- package/callbacks/subscriptions/postDoorUpdate.lua +0 -32
- package/callbacks/subscriptions/postEffectInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postEffectInitLate.js +0 -20
- package/callbacks/subscriptions/postEffectInitLate.lua +0 -31
- package/callbacks/subscriptions/postEffectStateChanged.d.ts +0 -5
- package/callbacks/subscriptions/postEffectStateChanged.js +0 -20
- package/callbacks/subscriptions/postEffectStateChanged.lua +0 -31
- package/callbacks/subscriptions/postEsauJr.d.ts +0 -4
- package/callbacks/subscriptions/postEsauJr.js +0 -16
- package/callbacks/subscriptions/postEsauJr.lua +0 -24
- package/callbacks/subscriptions/postFamiliarInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postFamiliarInitLate.js +0 -20
- package/callbacks/subscriptions/postFamiliarInitLate.lua +0 -31
- package/callbacks/subscriptions/postFamiliarStateChanged.d.ts +0 -5
- package/callbacks/subscriptions/postFamiliarStateChanged.js +0 -20
- package/callbacks/subscriptions/postFamiliarStateChanged.lua +0 -31
- package/callbacks/subscriptions/postFirstEsauJr.d.ts +0 -4
- package/callbacks/subscriptions/postFirstEsauJr.js +0 -16
- package/callbacks/subscriptions/postFirstEsauJr.lua +0 -24
- package/callbacks/subscriptions/postFirstFlip.d.ts +0 -4
- package/callbacks/subscriptions/postFirstFlip.js +0 -16
- package/callbacks/subscriptions/postFirstFlip.lua +0 -24
- package/callbacks/subscriptions/postFlip.d.ts +0 -4
- package/callbacks/subscriptions/postFlip.js +0 -16
- package/callbacks/subscriptions/postFlip.lua +0 -24
- package/callbacks/subscriptions/postGameStartedReordered.d.ts +0 -3
- package/callbacks/subscriptions/postGameStartedReordered.js +0 -16
- package/callbacks/subscriptions/postGameStartedReordered.lua +0 -24
- package/callbacks/subscriptions/postGreedModeWave.d.ts +0 -4
- package/callbacks/subscriptions/postGreedModeWave.js +0 -16
- package/callbacks/subscriptions/postGreedModeWave.lua +0 -24
- package/callbacks/subscriptions/postGridEntityBroken.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityBroken.js +0 -28
- package/callbacks/subscriptions/postGridEntityBroken.lua +0 -37
- package/callbacks/subscriptions/postGridEntityCollision.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityCollision.js +0 -28
- package/callbacks/subscriptions/postGridEntityCollision.lua +0 -37
- package/callbacks/subscriptions/postGridEntityInit.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityInit.js +0 -28
- package/callbacks/subscriptions/postGridEntityInit.lua +0 -37
- package/callbacks/subscriptions/postGridEntityRemove.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityRemove.js +0 -26
- package/callbacks/subscriptions/postGridEntityRemove.lua +0 -35
- package/callbacks/subscriptions/postGridEntityRender.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityRender.js +0 -28
- package/callbacks/subscriptions/postGridEntityRender.lua +0 -37
- package/callbacks/subscriptions/postGridEntityStateChanged.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityStateChanged.js +0 -28
- package/callbacks/subscriptions/postGridEntityStateChanged.lua +0 -37
- package/callbacks/subscriptions/postGridEntityUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityUpdate.js +0 -28
- package/callbacks/subscriptions/postGridEntityUpdate.lua +0 -37
- package/callbacks/subscriptions/postHolyMantleRemoved.d.ts +0 -6
- package/callbacks/subscriptions/postHolyMantleRemoved.js +0 -25
- package/callbacks/subscriptions/postHolyMantleRemoved.lua +0 -36
- package/callbacks/subscriptions/postItemDischarged.d.ts +0 -5
- package/callbacks/subscriptions/postItemDischarged.js +0 -21
- package/callbacks/subscriptions/postItemDischarged.lua +0 -31
- package/callbacks/subscriptions/postItemPickup.d.ts +0 -11
- package/callbacks/subscriptions/postItemPickup.js +0 -25
- package/callbacks/subscriptions/postItemPickup.lua +0 -35
- package/callbacks/subscriptions/postKnifeInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postKnifeInitLate.js +0 -20
- package/callbacks/subscriptions/postKnifeInitLate.lua +0 -31
- package/callbacks/subscriptions/postLaserInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postLaserInitLate.js +0 -20
- package/callbacks/subscriptions/postLaserInitLate.lua +0 -31
- package/callbacks/subscriptions/postNPCInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postNPCInitLate.js +0 -20
- package/callbacks/subscriptions/postNPCInitLate.lua +0 -31
- package/callbacks/subscriptions/postNPCStateChanged.d.ts +0 -6
- package/callbacks/subscriptions/postNPCStateChanged.js +0 -24
- package/callbacks/subscriptions/postNPCStateChanged.lua +0 -35
- package/callbacks/subscriptions/postNewLevelReordered.d.ts +0 -1
- package/callbacks/subscriptions/postNewLevelReordered.js +0 -16
- package/callbacks/subscriptions/postNewLevelReordered.lua +0 -24
- package/callbacks/subscriptions/postNewRoomEarly.d.ts +0 -1
- package/callbacks/subscriptions/postNewRoomEarly.js +0 -16
- package/callbacks/subscriptions/postNewRoomEarly.lua +0 -24
- package/callbacks/subscriptions/postNewRoomReordered.d.ts +0 -1
- package/callbacks/subscriptions/postNewRoomReordered.js +0 -16
- package/callbacks/subscriptions/postNewRoomReordered.lua +0 -24
- package/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPEffectUpdateReordered.js +0 -25
- package/callbacks/subscriptions/postPEffectUpdateReordered.lua +0 -36
- package/callbacks/subscriptions/postPickupCollect.d.ts +0 -5
- package/callbacks/subscriptions/postPickupCollect.js +0 -20
- package/callbacks/subscriptions/postPickupCollect.lua +0 -31
- package/callbacks/subscriptions/postPickupInitFirst.d.ts +0 -5
- package/callbacks/subscriptions/postPickupInitFirst.js +0 -20
- package/callbacks/subscriptions/postPickupInitFirst.lua +0 -31
- package/callbacks/subscriptions/postPickupInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postPickupInitLate.js +0 -20
- package/callbacks/subscriptions/postPickupInitLate.lua +0 -31
- package/callbacks/subscriptions/postPickupStateChanged.d.ts +0 -5
- package/callbacks/subscriptions/postPickupStateChanged.js +0 -20
- package/callbacks/subscriptions/postPickupStateChanged.lua +0 -31
- package/callbacks/subscriptions/postPitRender.d.ts +0 -6
- package/callbacks/subscriptions/postPitRender.js +0 -22
- package/callbacks/subscriptions/postPitRender.lua +0 -32
- package/callbacks/subscriptions/postPitUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postPitUpdate.js +0 -22
- package/callbacks/subscriptions/postPitUpdate.lua +0 -32
- package/callbacks/subscriptions/postPlayerChangeHealth.d.ts +0 -7
- package/callbacks/subscriptions/postPlayerChangeHealth.js +0 -25
- package/callbacks/subscriptions/postPlayerChangeHealth.lua +0 -36
- package/callbacks/subscriptions/postPlayerChangeType.d.ts +0 -5
- package/callbacks/subscriptions/postPlayerChangeType.js +0 -20
- package/callbacks/subscriptions/postPlayerChangeType.lua +0 -31
- package/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +0 -5
- package/callbacks/subscriptions/postPlayerCollectibleAdded.js +0 -21
- package/callbacks/subscriptions/postPlayerCollectibleAdded.lua +0 -31
- package/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +0 -5
- package/callbacks/subscriptions/postPlayerCollectibleRemoved.js +0 -21
- package/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +0 -31
- package/callbacks/subscriptions/postPlayerFatalDamage.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerFatalDamage.js +0 -29
- package/callbacks/subscriptions/postPlayerFatalDamage.lua +0 -47
- package/callbacks/subscriptions/postPlayerInitLate.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerInitLate.js +0 -25
- package/callbacks/subscriptions/postPlayerInitLate.lua +0 -36
- package/callbacks/subscriptions/postPlayerInitReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerInitReordered.js +0 -25
- package/callbacks/subscriptions/postPlayerInitReordered.lua +0 -36
- package/callbacks/subscriptions/postPlayerRenderReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerRenderReordered.js +0 -25
- package/callbacks/subscriptions/postPlayerRenderReordered.lua +0 -36
- package/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerUpdateReordered.js +0 -25
- package/callbacks/subscriptions/postPlayerUpdateReordered.lua +0 -36
- package/callbacks/subscriptions/postPoopRender.d.ts +0 -6
- package/callbacks/subscriptions/postPoopRender.js +0 -22
- package/callbacks/subscriptions/postPoopRender.lua +0 -32
- package/callbacks/subscriptions/postPoopUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postPoopUpdate.js +0 -22
- package/callbacks/subscriptions/postPoopUpdate.lua +0 -32
- package/callbacks/subscriptions/postPressurePlateRender.d.ts +0 -6
- package/callbacks/subscriptions/postPressurePlateRender.js +0 -22
- package/callbacks/subscriptions/postPressurePlateRender.lua +0 -32
- package/callbacks/subscriptions/postPressurePlateUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postPressurePlateUpdate.js +0 -22
- package/callbacks/subscriptions/postPressurePlateUpdate.lua +0 -32
- package/callbacks/subscriptions/postProjectileInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postProjectileInitLate.js +0 -21
- package/callbacks/subscriptions/postProjectileInitLate.lua +0 -31
- package/callbacks/subscriptions/postPurchase.d.ts +0 -6
- package/callbacks/subscriptions/postPurchase.js +0 -16
- package/callbacks/subscriptions/postPurchase.lua +0 -24
- package/callbacks/subscriptions/postRockRender.d.ts +0 -6
- package/callbacks/subscriptions/postRockRender.js +0 -22
- package/callbacks/subscriptions/postRockRender.lua +0 -32
- package/callbacks/subscriptions/postRockUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postRockUpdate.js +0 -22
- package/callbacks/subscriptions/postRockUpdate.lua +0 -32
- package/callbacks/subscriptions/postRoomClearChanged.d.ts +0 -4
- package/callbacks/subscriptions/postRoomClearChanged.js +0 -20
- package/callbacks/subscriptions/postRoomClearChanged.lua +0 -31
- package/callbacks/subscriptions/postSacrifice.d.ts +0 -6
- package/callbacks/subscriptions/postSacrifice.js +0 -25
- package/callbacks/subscriptions/postSacrifice.lua +0 -36
- package/callbacks/subscriptions/postSlotAnimationChanged.d.ts +0 -5
- package/callbacks/subscriptions/postSlotAnimationChanged.js +0 -20
- package/callbacks/subscriptions/postSlotAnimationChanged.lua +0 -31
- package/callbacks/subscriptions/postSlotDestroyed.d.ts +0 -7
- package/callbacks/subscriptions/postSlotDestroyed.js +0 -26
- package/callbacks/subscriptions/postSlotDestroyed.lua +0 -35
- package/callbacks/subscriptions/postSlotInit.d.ts +0 -5
- package/callbacks/subscriptions/postSlotInit.js +0 -20
- package/callbacks/subscriptions/postSlotInit.lua +0 -31
- package/callbacks/subscriptions/postSlotRender.d.ts +0 -5
- package/callbacks/subscriptions/postSlotRender.js +0 -20
- package/callbacks/subscriptions/postSlotRender.lua +0 -31
- package/callbacks/subscriptions/postSlotUpdate.d.ts +0 -5
- package/callbacks/subscriptions/postSlotUpdate.js +0 -20
- package/callbacks/subscriptions/postSlotUpdate.lua +0 -31
- package/callbacks/subscriptions/postSpikesRender.d.ts +0 -6
- package/callbacks/subscriptions/postSpikesRender.js +0 -22
- package/callbacks/subscriptions/postSpikesRender.lua +0 -32
- package/callbacks/subscriptions/postSpikesUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postSpikesUpdate.js +0 -22
- package/callbacks/subscriptions/postSpikesUpdate.lua +0 -32
- package/callbacks/subscriptions/postTNTRender.d.ts +0 -6
- package/callbacks/subscriptions/postTNTRender.js +0 -22
- package/callbacks/subscriptions/postTNTRender.lua +0 -32
- package/callbacks/subscriptions/postTNTUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postTNTUpdate.js +0 -22
- package/callbacks/subscriptions/postTNTUpdate.lua +0 -32
- package/callbacks/subscriptions/postTearInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postTearInitLate.js +0 -20
- package/callbacks/subscriptions/postTearInitLate.lua +0 -31
- package/callbacks/subscriptions/postTearInitVeryLate.d.ts +0 -5
- package/callbacks/subscriptions/postTearInitVeryLate.js +0 -20
- package/callbacks/subscriptions/postTearInitVeryLate.lua +0 -31
- package/callbacks/subscriptions/postTransformation.d.ts +0 -5
- package/callbacks/subscriptions/postTransformation.js +0 -20
- package/callbacks/subscriptions/postTransformation.lua +0 -31
- package/callbacks/subscriptions/postTrinketBreak.d.ts +0 -5
- package/callbacks/subscriptions/postTrinketBreak.js +0 -21
- package/callbacks/subscriptions/postTrinketBreak.lua +0 -31
- package/callbacks/subscriptions/preBerserkDeath.d.ts +0 -6
- package/callbacks/subscriptions/preBerserkDeath.js +0 -26
- package/callbacks/subscriptions/preBerserkDeath.lua +0 -37
- package/callbacks/subscriptions/preCustomRevive.d.ts +0 -6
- package/callbacks/subscriptions/preCustomRevive.js +0 -29
- package/callbacks/subscriptions/preCustomRevive.lua +0 -40
- package/callbacks/subscriptions/preItemPickup.d.ts +0 -11
- package/callbacks/subscriptions/preItemPickup.js +0 -25
- package/callbacks/subscriptions/preItemPickup.lua +0 -35
- package/callbacks/subscriptions/preNewLevel.d.ts +0 -4
- package/callbacks/subscriptions/preNewLevel.js +0 -16
- package/callbacks/subscriptions/preNewLevel.lua +0 -24
- package/classes/DefaultMap.d.ts +0 -109
- package/classes/DefaultMap.js +0 -145
- package/classes/DefaultMap.lua +0 -136
- package/classes/ModUpgraded.d.ts +0 -27
- package/classes/ModUpgraded.js +0 -57
- package/classes/ModUpgraded.lua +0 -42
- package/constants.d.ts +0 -139
- package/constants.js +0 -143
- package/constants.lua +0 -117
- package/constantsFirstLast.d.ts +0 -130
- package/constantsFirstLast.js +0 -156
- package/constantsFirstLast.lua +0 -115
- package/enums/AmbushType.d.ts +0 -4
- package/enums/AmbushType.js +0 -6
- package/enums/AmbushType.lua +0 -9
- package/enums/CornerType.d.ts +0 -6
- package/enums/CornerType.js +0 -8
- package/enums/CornerType.lua +0 -13
- package/enums/DecorationVariant.d.ts +0 -9
- package/enums/DecorationVariant.js +0 -11
- package/enums/DecorationVariant.lua +0 -9
- package/enums/HealthType.d.ts +0 -16
- package/enums/HealthType.js +0 -18
- package/enums/HealthType.lua +0 -26
- package/enums/ModCallbackCustom.d.ts +0 -1203
- package/enums/ModCallbackCustom.js +0 -1213
- package/enums/ModCallbackCustom.lua +0 -177
- package/enums/PocketItemType.d.ts +0 -8
- package/enums/PocketItemType.js +0 -10
- package/enums/PocketItemType.lua +0 -17
- package/enums/RockAltType.d.ts +0 -7
- package/enums/RockAltType.js +0 -9
- package/enums/RockAltType.lua +0 -15
- package/enums/SerializationType.d.ts +0 -5
- package/enums/SerializationType.js +0 -7
- package/enums/SerializationType.lua +0 -11
- package/enums/SlotDestructionType.d.ts +0 -4
- package/enums/SlotDestructionType.js +0 -6
- package/enums/SlotDestructionType.lua +0 -9
- package/enums/private/CopyableIsaacAPIClassType.d.ts +0 -7
- package/enums/private/CopyableIsaacAPIClassType.js +0 -9
- package/enums/private/CopyableIsaacAPIClassType.lua +0 -10
- package/enums/private/SaveDataKey.d.ts +0 -6
- package/enums/private/SaveDataKey.js +0 -8
- package/enums/private/SaveDataKey.lua +0 -9
- package/enums/private/SerializationBrand.d.ts +0 -37
- package/enums/private/SerializationBrand.js +0 -41
- package/enums/private/SerializationBrand.lua +0 -19
- package/features/characterHealthConversion.d.ts +0 -15
- package/features/characterHealthConversion.js +0 -86
- package/features/characterHealthConversion.lua +0 -89
- package/features/characterStats.d.ts +0 -24
- package/features/characterStats.js +0 -52
- package/features/characterStats.lua +0 -56
- package/features/collectibleItemPoolType.d.ts +0 -7
- package/features/collectibleItemPoolType.js +0 -45
- package/features/collectibleItemPoolType.lua +0 -50
- package/features/customGridEntity.d.ts +0 -41
- package/features/customGridEntity.js +0 -148
- package/features/customGridEntity.lua +0 -158
- package/features/customStage/backdrop.d.ts +0 -2
- package/features/customStage/backdrop.js +0 -191
- package/features/customStage/backdrop.lua +0 -195
- package/features/customStage/customStageConstants.d.ts +0 -1
- package/features/customStage/customStageConstants.js +0 -2
- package/features/customStage/customStageConstants.lua +0 -5
- package/features/customStage/exports.d.ts +0 -35
- package/features/customStage/exports.js +0 -147
- package/features/customStage/exports.lua +0 -158
- package/features/customStage/gridEntities.d.ts +0 -18
- package/features/customStage/gridEntities.js +0 -138
- package/features/customStage/gridEntities.lua +0 -217
- package/features/customStage/init.d.ts +0 -2
- package/features/customStage/init.js +0 -104
- 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.js +0 -63
- package/features/customStage/shadows.lua +0 -71
- package/features/customStage/streakText.d.ts +0 -3
- package/features/customStage/streakText.js +0 -35
- package/features/customStage/streakText.lua +0 -40
- package/features/customStage/util.d.ts +0 -11
- package/features/customStage/util.js +0 -36
- package/features/customStage/util.lua +0 -53
- package/features/customStage/v.d.ts +0 -19
- package/features/customStage/v.js +0 -18
- package/features/customStage/v.lua +0 -15
- package/features/customStage/versusScreen.d.ts +0 -3
- package/features/customStage/versusScreen.js +0 -184
- package/features/customStage/versusScreen.lua +0 -208
- package/features/debugDisplay/debugDisplay.d.ts +0 -6
- package/features/debugDisplay/debugDisplay.js +0 -183
- package/features/debugDisplay/debugDisplay.lua +0 -187
- package/features/debugDisplay/exports.d.ts +0 -324
- package/features/debugDisplay/exports.js +0 -441
- package/features/debugDisplay/exports.lua +0 -370
- package/features/debugDisplay/v.d.ts +0 -63
- package/features/debugDisplay/v.js +0 -61
- package/features/debugDisplay/v.lua +0 -65
- package/features/deployJSONRoom.d.ts +0 -66
- package/features/deployJSONRoom.js +0 -532
- package/features/deployJSONRoom.lua +0 -569
- package/features/disableAllSound.d.ts +0 -18
- package/features/disableAllSound.js +0 -63
- package/features/disableAllSound.lua +0 -64
- package/features/disableInputs.d.ts +0 -62
- package/features/disableInputs.js +0 -130
- package/features/disableInputs.lua +0 -136
- package/features/extraConsoleCommands/commandsDisplay.d.ts +0 -162
- package/features/extraConsoleCommands/commandsDisplay.js +0 -236
- package/features/extraConsoleCommands/commandsDisplay.lua +0 -221
- package/features/extraConsoleCommands/commandsSubroutines.d.ts +0 -9
- package/features/extraConsoleCommands/commandsSubroutines.js +0 -109
- package/features/extraConsoleCommands/commandsSubroutines.lua +0 -131
- package/features/extraConsoleCommands/exports.d.ts +0 -26
- package/features/extraConsoleCommands/exports.js +0 -53
- package/features/extraConsoleCommands/exports.lua +0 -56
- package/features/extraConsoleCommands/init.d.ts +0 -2
- package/features/extraConsoleCommands/init.js +0 -239
- package/features/extraConsoleCommands/init.lua +0 -248
- package/features/extraConsoleCommands/listCommands.d.ts +0 -366
- package/features/extraConsoleCommands/listCommands.js +0 -1081
- package/features/extraConsoleCommands/listCommands.lua +0 -1132
- package/features/extraConsoleCommands/v.d.ts +0 -22
- package/features/extraConsoleCommands/v.js +0 -25
- package/features/extraConsoleCommands/v.lua +0 -24
- package/features/fadeInRemover.d.ts +0 -14
- package/features/fadeInRemover.js +0 -51
- package/features/fadeInRemover.lua +0 -57
- package/features/fastReset.d.ts +0 -14
- package/features/fastReset.js +0 -61
- package/features/fastReset.lua +0 -61
- package/features/forgottenSwitch.d.ts +0 -5
- package/features/forgottenSwitch.js +0 -33
- package/features/forgottenSwitch.lua +0 -34
- package/features/pause.d.ts +0 -11
- package/features/pause.js +0 -68
- package/features/pause.lua +0 -73
- package/features/persistentEntities.d.ts +0 -28
- package/features/persistentEntities.js +0 -120
- package/features/persistentEntities.lua +0 -157
- package/features/playerInventory.d.ts +0 -14
- package/features/playerInventory.js +0 -89
- package/features/playerInventory.lua +0 -113
- package/features/ponyDetection.d.ts +0 -11
- package/features/ponyDetection.js +0 -63
- package/features/ponyDetection.lua +0 -68
- package/features/preventCollectibleRotation.d.ts +0 -11
- package/features/preventCollectibleRotation.js +0 -81
- package/features/preventCollectibleRotation.lua +0 -70
- package/features/registerHotkey.d.ts +0 -22
- package/features/registerHotkey.js +0 -91
- package/features/registerHotkey.lua +0 -95
- package/features/roomClearFrame.d.ts +0 -11
- package/features/roomClearFrame.js +0 -42
- package/features/roomClearFrame.lua +0 -40
- package/features/runInNFrames.d.ts +0 -95
- package/features/runInNFrames.js +0 -189
- package/features/runInNFrames.lua +0 -198
- package/features/runNextRoom.d.ts +0 -8
- package/features/runNextRoom.js +0 -34
- package/features/runNextRoom.lua +0 -42
- package/features/saveDataManager/exports.d.ts +0 -131
- package/features/saveDataManager/exports.js +0 -183
- package/features/saveDataManager/exports.lua +0 -185
- package/features/saveDataManager/load.d.ts +0 -4
- package/features/saveDataManager/load.js +0 -69
- package/features/saveDataManager/load.lua +0 -74
- package/features/saveDataManager/main.d.ts +0 -3
- package/features/saveDataManager/main.js +0 -131
- package/features/saveDataManager/main.lua +0 -136
- package/features/saveDataManager/maps.d.ts +0 -10
- package/features/saveDataManager/maps.js +0 -9
- package/features/saveDataManager/maps.lua +0 -13
- package/features/saveDataManager/merge.d.ts +0 -24
- package/features/saveDataManager/merge.js +0 -139
- package/features/saveDataManager/merge.lua +0 -154
- package/features/saveDataManager/save.d.ts +0 -4
- package/features/saveDataManager/save.js +0 -43
- package/features/saveDataManager/save.lua +0 -51
- package/features/saveDataManager/saveDataManagerConstants.d.ts +0 -3
- package/features/saveDataManager/saveDataManagerConstants.js +0 -4
- package/features/saveDataManager/saveDataManagerConstants.lua +0 -7
- package/features/saveDataManager/serializationBrand.d.ts +0 -1
- package/features/saveDataManager/serializationBrand.js +0 -12
- package/features/saveDataManager/serializationBrand.lua +0 -21
- package/features/sirenHelpers.d.ts +0 -18
- package/features/sirenHelpers.js +0 -90
- package/features/sirenHelpers.lua +0 -84
- package/features/stageHistory.d.ts +0 -15
- package/features/stageHistory.js +0 -43
- package/features/stageHistory.lua +0 -64
- package/features/taintedLazarusPlayers.d.ts +0 -13
- package/features/taintedLazarusPlayers.js +0 -92
- package/features/taintedLazarusPlayers.lua +0 -87
- package/featuresInitialized.d.ts +0 -1
- package/featuresInitialized.js +0 -16
- package/featuresInitialized.lua +0 -22
- package/functions/ambush.d.ts +0 -7
- package/functions/ambush.js +0 -35
- package/functions/ambush.lua +0 -45
- package/functions/array.d.ts +0 -213
- package/functions/array.js +0 -423
- package/functions/array.lua +0 -502
- package/functions/benchmark.d.ts +0 -10
- package/functions/benchmark.js +0 -28
- package/functions/benchmark.lua +0 -40
- package/functions/bitwise.d.ts +0 -29
- package/functions/bitwise.js +0 -74
- package/functions/bitwise.lua +0 -79
- package/functions/bombs.d.ts +0 -3
- package/functions/bombs.js +0 -11
- package/functions/bombs.lua +0 -14
- package/functions/boss.d.ts +0 -56
- package/functions/boss.js +0 -137
- package/functions/boss.lua +0 -224
- package/functions/cacheFlag.d.ts +0 -8
- package/functions/cacheFlag.js +0 -11
- package/functions/cacheFlag.lua +0 -13
- package/functions/cards.d.ts +0 -95
- package/functions/cards.js +0 -217
- package/functions/cards.lua +0 -236
- package/functions/challenges.d.ts +0 -3
- package/functions/challenges.js +0 -9
- package/functions/challenges.lua +0 -12
- package/functions/character.d.ts +0 -48
- package/functions/character.js +0 -102
- package/functions/character.lua +0 -96
- package/functions/charge.d.ts +0 -76
- package/functions/charge.js +0 -202
- package/functions/charge.lua +0 -209
- package/functions/chargeBar.d.ts +0 -13
- package/functions/chargeBar.js +0 -44
- package/functions/chargeBar.lua +0 -47
- package/functions/collectibleCacheFlag.d.ts +0 -23
- package/functions/collectibleCacheFlag.js +0 -68
- package/functions/collectibleCacheFlag.lua +0 -82
- package/functions/collectibleSet.d.ts +0 -44
- package/functions/collectibleSet.js +0 -108
- package/functions/collectibleSet.lua +0 -104
- package/functions/collectibleTag.d.ts +0 -16
- package/functions/collectibleTag.js +0 -65
- package/functions/collectibleTag.lua +0 -85
- package/functions/collectibles.d.ts +0 -212
- package/functions/collectibles.js +0 -469
- package/functions/collectibles.lua +0 -438
- package/functions/color.d.ts +0 -29
- package/functions/color.js +0 -60
- package/functions/color.lua +0 -121
- package/functions/debug.d.ts +0 -27
- package/functions/debug.js +0 -60
- package/functions/debug.lua +0 -51
- package/functions/deepCopy.d.ts +0 -29
- package/functions/deepCopy.js +0 -361
- package/functions/deepCopy.lua +0 -391
- package/functions/deepCopyTests.d.ts +0 -1
- package/functions/deepCopyTests.js +0 -308
- package/functions/deepCopyTests.lua +0 -317
- package/functions/direction.d.ts +0 -12
- package/functions/direction.js +0 -41
- package/functions/direction.lua +0 -46
- package/functions/doors.d.ts +0 -138
- package/functions/doors.js +0 -326
- package/functions/doors.lua +0 -337
- package/functions/easing.d.ts +0 -30
- package/functions/easing.js +0 -142
- package/functions/easing.lua +0 -117
- package/functions/eden.d.ts +0 -3
- package/functions/eden.js +0 -32
- package/functions/eden.lua +0 -49
- package/functions/effects.d.ts +0 -6
- package/functions/effects.js +0 -11
- package/functions/effects.lua +0 -14
- package/functions/entity.d.ts +0 -155
- package/functions/entity.js +0 -324
- package/functions/entity.lua +0 -408
- package/functions/entitySpecific.d.ts +0 -264
- package/functions/entitySpecific.js +0 -481
- package/functions/entitySpecific.lua +0 -834
- package/functions/entityTypes.d.ts +0 -3
- package/functions/entityTypes.js +0 -6
- package/functions/entityTypes.lua +0 -10
- package/functions/enums.d.ts +0 -95
- package/functions/enums.js +0 -151
- package/functions/enums.lua +0 -179
- package/functions/familiars.d.ts +0 -62
- package/functions/familiars.js +0 -85
- package/functions/familiars.lua +0 -103
- package/functions/flag.d.ts +0 -99
- package/functions/flag.js +0 -137
- package/functions/flag.lua +0 -126
- package/functions/flying.d.ts +0 -19
- package/functions/flying.js +0 -88
- package/functions/flying.lua +0 -79
- package/functions/globals.d.ts +0 -14
- package/functions/globals.js +0 -230
- package/functions/globals.lua +0 -236
- package/functions/gridEntity.d.ts +0 -219
- package/functions/gridEntity.js +0 -488
- package/functions/gridEntity.lua +0 -493
- package/functions/gridEntitySpecific.d.ts +0 -28
- package/functions/gridEntitySpecific.js +0 -109
- package/functions/gridEntitySpecific.lua +0 -116
- package/functions/input.d.ts +0 -32
- package/functions/input.js +0 -95
- package/functions/input.lua +0 -119
- package/functions/isaacAPIClass.d.ts +0 -23
- package/functions/isaacAPIClass.js +0 -48
- package/functions/isaacAPIClass.lua +0 -51
- package/functions/jsonHelpers.d.ts +0 -18
- package/functions/jsonHelpers.js +0 -40
- package/functions/jsonHelpers.lua +0 -39
- package/functions/jsonRoom.d.ts +0 -36
- package/functions/jsonRoom.js +0 -132
- package/functions/jsonRoom.lua +0 -155
- package/functions/kColor.d.ts +0 -29
- package/functions/kColor.js +0 -63
- package/functions/kColor.lua +0 -100
- package/functions/language.d.ts +0 -8
- package/functions/language.js +0 -13
- package/functions/language.lua +0 -15
- package/functions/level.d.ts +0 -1
- package/functions/level.js +0 -20
- package/functions/level.lua +0 -31
- package/functions/log.d.ts +0 -90
- package/functions/log.js +0 -567
- package/functions/log.lua +0 -595
- package/functions/map.d.ts +0 -22
- package/functions/map.js +0 -45
- package/functions/map.lua +0 -63
- package/functions/math.d.ts +0 -50
- package/functions/math.js +0 -103
- package/functions/math.lua +0 -120
- package/functions/mergeTests.d.ts +0 -1
- package/functions/mergeTests.js +0 -213
- package/functions/mergeTests.lua +0 -184
- package/functions/minimap.d.ts +0 -39
- package/functions/minimap.js +0 -80
- package/functions/minimap.lua +0 -80
- package/functions/nextStage.d.ts +0 -18
- package/functions/nextStage.js +0 -290
- package/functions/nextStage.lua +0 -253
- package/functions/npc.d.ts +0 -40
- package/functions/npc.js +0 -101
- package/functions/npc.lua +0 -130
- package/functions/pickupVariants.d.ts +0 -23
- package/functions/pickupVariants.js +0 -47
- package/functions/pickupVariants.lua +0 -50
- package/functions/pickups.d.ts +0 -132
- package/functions/pickups.js +0 -219
- package/functions/pickups.lua +0 -476
- package/functions/pills.d.ts +0 -79
- package/functions/pills.js +0 -160
- package/functions/pills.lua +0 -146
- package/functions/player.d.ts +0 -330
- package/functions/player.js +0 -808
- package/functions/player.lua +0 -833
- package/functions/playerCenter.d.ts +0 -10
- package/functions/playerCenter.js +0 -50
- package/functions/playerCenter.lua +0 -66
- package/functions/playerDataStructures.d.ts +0 -92
- package/functions/playerDataStructures.js +0 -114
- package/functions/playerDataStructures.lua +0 -105
- package/functions/playerHealth.d.ts +0 -34
- package/functions/playerHealth.js +0 -321
- package/functions/playerHealth.lua +0 -355
- package/functions/playerIndex.d.ts +0 -73
- package/functions/playerIndex.js +0 -160
- package/functions/playerIndex.lua +0 -179
- package/functions/pocketItems.d.ts +0 -33
- package/functions/pocketItems.js +0 -124
- package/functions/pocketItems.lua +0 -106
- package/functions/positionVelocity.d.ts +0 -67
- package/functions/positionVelocity.js +0 -136
- package/functions/positionVelocity.lua +0 -156
- package/functions/random.d.ts +0 -48
- package/functions/random.js +0 -73
- package/functions/random.lua +0 -89
- package/functions/revive.d.ts +0 -33
- package/functions/revive.js +0 -140
- package/functions/revive.lua +0 -119
- package/functions/rng.d.ts +0 -54
- package/functions/rng.js +0 -117
- package/functions/rng.lua +0 -145
- package/functions/roomData.d.ts +0 -108
- package/functions/roomData.js +0 -174
- package/functions/roomData.lua +0 -162
- package/functions/roomGrid.d.ts +0 -40
- package/functions/roomGrid.js +0 -81
- package/functions/roomGrid.lua +0 -82
- package/functions/roomShape.d.ts +0 -63
- package/functions/roomShape.js +0 -99
- package/functions/roomShape.lua +0 -98
- package/functions/rooms.d.ts +0 -202
- package/functions/rooms.js +0 -487
- package/functions/rooms.lua +0 -494
- package/functions/run.d.ts +0 -22
- package/functions/run.js +0 -53
- package/functions/run.lua +0 -50
- package/functions/saveFile.d.ts +0 -15
- package/functions/saveFile.js +0 -104
- package/functions/saveFile.lua +0 -110
- package/functions/seeds.d.ts +0 -9
- package/functions/seeds.js +0 -18
- package/functions/seeds.lua +0 -21
- package/functions/serialization.d.ts +0 -11
- package/functions/serialization.js +0 -52
- package/functions/serialization.lua +0 -70
- package/functions/set.d.ts +0 -60
- package/functions/set.js +0 -99
- package/functions/set.lua +0 -112
- package/functions/sound.d.ts +0 -1
- package/functions/sound.js +0 -9
- package/functions/sound.lua +0 -15
- package/functions/spawnCollectible.d.ts +0 -31
- package/functions/spawnCollectible.js +0 -66
- package/functions/spawnCollectible.lua +0 -96
- package/functions/sprite.d.ts +0 -38
- package/functions/sprite.js +0 -80
- package/functions/sprite.lua +0 -91
- package/functions/stage.d.ts +0 -60
- package/functions/stage.js +0 -172
- package/functions/stage.lua +0 -144
- package/functions/string.d.ts +0 -13
- package/functions/string.js +0 -37
- package/functions/string.lua +0 -44
- package/functions/table.d.ts +0 -52
- package/functions/table.js +0 -143
- package/functions/table.lua +0 -151
- package/functions/tears.d.ts +0 -23
- package/functions/tears.js +0 -31
- package/functions/tears.lua +0 -28
- package/functions/transformations.d.ts +0 -30
- package/functions/transformations.js +0 -101
- package/functions/transformations.lua +0 -114
- package/functions/trinketCacheFlag.d.ts +0 -10
- package/functions/trinketCacheFlag.js +0 -46
- package/functions/trinketCacheFlag.lua +0 -55
- package/functions/trinketGive.d.ts +0 -38
- package/functions/trinketGive.js +0 -121
- package/functions/trinketGive.lua +0 -116
- package/functions/trinkets.d.ts +0 -73
- package/functions/trinkets.js +0 -169
- package/functions/trinkets.lua +0 -169
- package/functions/tstlClass.d.ts +0 -54
- package/functions/tstlClass.js +0 -125
- package/functions/tstlClass.lua +0 -114
- package/functions/types.d.ts +0 -10
- package/functions/types.js +0 -27
- package/functions/types.lua +0 -27
- package/functions/ui.d.ts +0 -38
- package/functions/ui.js +0 -124
- package/functions/ui.lua +0 -121
- package/functions/utils.d.ts +0 -97
- package/functions/utils.js +0 -172
- package/functions/utils.lua +0 -173
- package/functions/vector.d.ts +0 -32
- package/functions/vector.js +0 -68
- package/functions/vector.lua +0 -109
- package/index.d.ts +0 -139
- package/index.js +0 -140
- package/index.lua +0 -1020
- package/initCustomCallbacks.d.ts +0 -2
- package/initCustomCallbacks.js +0 -133
- package/initCustomCallbacks.lua +0 -201
- package/initFeatures.d.ts +0 -3
- package/initFeatures.js +0 -51
- package/initFeatures.lua +0 -77
- package/interfaces/AddCallbackParameterCustom.d.ts +0 -169
- package/interfaces/AddCallbackParameterCustom.js +0 -2
- package/interfaces/AddCallbackParameterCustom.lua +0 -6
- package/interfaces/ChargeBarSprites.d.ts +0 -14
- package/interfaces/ChargeBarSprites.js +0 -2
- package/interfaces/ChargeBarSprites.lua +0 -4
- package/interfaces/Corner.d.ts +0 -6
- package/interfaces/Corner.js +0 -2
- package/interfaces/Corner.lua +0 -4
- package/interfaces/CustomGridEntityData.d.ts +0 -9
- package/interfaces/CustomGridEntityData.js +0 -2
- package/interfaces/CustomGridEntityData.lua +0 -4
- package/interfaces/CustomStage.d.ts +0 -10
- package/interfaces/CustomStage.js +0 -2
- package/interfaces/CustomStage.lua +0 -4
- package/interfaces/CustomStageLua.d.ts +0 -370
- package/interfaces/CustomStageLua.js +0 -13
- package/interfaces/CustomStageLua.lua +0 -4
- package/interfaces/JSONRoomsFile.d.ts +0 -75
- package/interfaces/JSONRoomsFile.js +0 -2
- package/interfaces/JSONRoomsFile.lua +0 -4
- package/interfaces/PlayerHealth.d.ts +0 -15
- package/interfaces/PlayerHealth.js +0 -2
- package/interfaces/PlayerHealth.lua +0 -4
- package/interfaces/PocketItemDescription.d.ts +0 -8
- package/interfaces/PocketItemDescription.js +0 -2
- package/interfaces/PocketItemDescription.lua +0 -4
- package/interfaces/SaveData.d.ts +0 -29
- package/interfaces/SaveData.js +0 -2
- package/interfaces/SaveData.lua +0 -4
- package/interfaces/TrinketSituation.d.ts +0 -8
- package/interfaces/TrinketSituation.js +0 -2
- package/interfaces/TrinketSituation.lua +0 -4
- package/interfaces/private/TSTLClassMetatable.d.ts +0 -12
- package/interfaces/private/TSTLClassMetatable.js +0 -2
- package/interfaces/private/TSTLClassMetatable.lua +0 -4
- package/maps/PHDPillConversions.d.ts +0 -2
- package/maps/PHDPillConversions.js +0 -20
- package/maps/PHDPillConversions.lua +0 -27
- package/maps/cardMap.d.ts +0 -3
- package/maps/cardMap.js +0 -208
- package/maps/cardMap.lua +0 -214
- package/maps/characterMap.d.ts +0 -3
- package/maps/characterMap.js +0 -86
- package/maps/characterMap.lua +0 -92
- package/maps/collectibleDescriptionMap.d.ts +0 -3
- package/maps/collectibleDescriptionMap.js +0 -728
- package/maps/collectibleDescriptionMap.lua +0 -730
- package/maps/collectibleNameMap.d.ts +0 -3
- package/maps/collectibleNameMap.js +0 -727
- package/maps/collectibleNameMap.lua +0 -730
- package/maps/defaultPlayerStatMap.d.ts +0 -3
- package/maps/defaultPlayerStatMap.js +0 -14
- package/maps/defaultPlayerStatMap.lua +0 -27
- package/maps/falsePHDPillConversions.d.ts +0 -2
- package/maps/falsePHDPillConversions.js +0 -34
- package/maps/falsePHDPillConversions.lua +0 -41
- package/maps/gridEntityTypeToBrokenStateMap.d.ts +0 -2
- package/maps/gridEntityTypeToBrokenStateMap.js +0 -29
- package/maps/gridEntityTypeToBrokenStateMap.lua +0 -28
- package/maps/gridEntityXMLMap.d.ts +0 -9
- package/maps/gridEntityXMLMap.js +0 -128
- package/maps/gridEntityXMLMap.lua +0 -55
- package/maps/pillEffectMap.d.ts +0 -3
- package/maps/pillEffectMap.js +0 -88
- package/maps/pillEffectMap.lua +0 -92
- package/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +0 -7
- package/maps/roomShapeToTopLeftWallGridIndexMap.js +0 -14
- package/maps/roomShapeToTopLeftWallGridIndexMap.lua +0 -19
- package/maps/roomTypeMap.d.ts +0 -3
- package/maps/roomTypeMap.js +0 -39
- package/maps/roomTypeMap.lua +0 -46
- package/maps/trinketDescriptionMap.d.ts +0 -3
- package/maps/trinketDescriptionMap.js +0 -196
- package/maps/trinketDescriptionMap.lua +0 -198
- package/maps/trinketNameMap.d.ts +0 -3
- package/maps/trinketNameMap.js +0 -195
- package/maps/trinketNameMap.lua +0 -198
- package/objects/LRoomShapeToRectangles.d.ts +0 -13
- package/objects/LRoomShapeToRectangles.js +0 -33
- package/objects/LRoomShapeToRectangles.lua +0 -37
- package/objects/backdropTypeToRockAltType.d.ts +0 -6
- package/objects/backdropTypeToRockAltType.js +0 -66
- package/objects/backdropTypeToRockAltType.lua +0 -71
- package/objects/bossNamePNGFileNames.d.ts +0 -5
- package/objects/bossNamePNGFileNames.js +0 -112
- package/objects/bossNamePNGFileNames.lua +0 -110
- package/objects/bossPortraitPNGFileNames.d.ts +0 -5
- package/objects/bossPortraitPNGFileNames.js +0 -115
- package/objects/bossPortraitPNGFileNames.lua +0 -110
- package/objects/callbackRegisterFunctions.d.ts +0 -5
- package/objects/callbackRegisterFunctions.js +0 -170
- package/objects/callbackRegisterFunctions.lua +0 -257
- package/objects/cardDescriptions.d.ts +0 -5
- package/objects/cardDescriptions.js +0 -104
- package/objects/cardDescriptions.lua +0 -107
- package/objects/cardNames.d.ts +0 -5
- package/objects/cardNames.js +0 -104
- package/objects/cardNames.lua +0 -107
- package/objects/cardTypes.d.ts +0 -5
- package/objects/cardTypes.js +0 -103
- package/objects/cardTypes.lua +0 -108
- package/objects/challengeNames.d.ts +0 -5
- package/objects/challengeNames.js +0 -51
- package/objects/challengeNames.lua +0 -55
- package/objects/characterNames.d.ts +0 -4
- package/objects/characterNames.js +0 -46
- package/objects/characterNames.lua +0 -50
- package/objects/coinSubTypeToValue.d.ts +0 -5
- package/objects/coinSubTypeToValue.js +0 -13
- package/objects/coinSubTypeToValue.lua +0 -17
- package/objects/colors.d.ts +0 -24
- package/objects/colors.js +0 -24
- package/objects/colors.lua +0 -25
- package/objects/directionNames.d.ts +0 -4
- package/objects/directionNames.js +0 -9
- package/objects/directionNames.lua +0 -13
- package/objects/directionToDegrees.d.ts +0 -4
- package/objects/directionToDegrees.js +0 -9
- package/objects/directionToDegrees.lua +0 -13
- package/objects/directionToVector.d.ts +0 -4
- package/objects/directionToVector.js +0 -10
- package/objects/directionToVector.lua +0 -15
- package/objects/doorSlotFlagToDoorSlot.d.ts +0 -5
- package/objects/doorSlotFlagToDoorSlot.js +0 -13
- package/objects/doorSlotFlagToDoorSlot.lua +0 -18
- package/objects/doorSlotToDirection.d.ts +0 -4
- package/objects/doorSlotToDirection.js +0 -13
- package/objects/doorSlotToDirection.lua +0 -18
- package/objects/doorSlotToDoorSlotFlag.d.ts +0 -4
- package/objects/doorSlotToDoorSlotFlag.js +0 -13
- package/objects/doorSlotToDoorSlotFlag.lua +0 -19
- package/objects/isaacAPIClassTypeToBrand.d.ts +0 -5
- package/objects/isaacAPIClassTypeToBrand.js +0 -9
- package/objects/isaacAPIClassTypeToBrand.lua +0 -9
- package/objects/isaacAPIClassTypeToCopyFunction.d.ts +0 -5
- package/objects/isaacAPIClassTypeToCopyFunction.js +0 -12
- package/objects/isaacAPIClassTypeToCopyFunction.lua +0 -15
- package/objects/languageNames.d.ts +0 -4
- package/objects/languageNames.js +0 -11
- package/objects/languageNames.lua +0 -15
- package/objects/oppositeDoorSlots.d.ts +0 -4
- package/objects/oppositeDoorSlots.js +0 -13
- package/objects/oppositeDoorSlots.lua +0 -17
- package/objects/pillEffectClasses.d.ts +0 -5
- package/objects/pillEffectClasses.js +0 -56
- package/objects/pillEffectClasses.lua +0 -61
- package/objects/pillEffectNames.d.ts +0 -5
- package/objects/pillEffectNames.js +0 -55
- package/objects/pillEffectNames.lua +0 -59
- package/objects/pillEffectTypes.d.ts +0 -5
- package/objects/pillEffectTypes.js +0 -55
- package/objects/pillEffectTypes.lua +0 -60
- package/objects/playerNamePNGFileNames.d.ts +0 -5
- package/objects/playerNamePNGFileNames.js +0 -55
- package/objects/playerNamePNGFileNames.lua +0 -51
- package/objects/playerPortraitPNGFileNames.d.ts +0 -5
- package/objects/playerPortraitPNGFileNames.js +0 -52
- package/objects/playerPortraitPNGFileNames.lua +0 -51
- package/objects/roomShapeBounds.d.ts +0 -8
- package/objects/roomShapeBounds.js +0 -46
- package/objects/roomShapeBounds.lua +0 -28
- package/objects/roomShapeCorners.d.ts +0 -6
- package/objects/roomShapeCorners.js +0 -268
- package/objects/roomShapeCorners.lua +0 -261
- package/objects/roomShapeLayoutSizes.d.ts +0 -10
- package/objects/roomShapeLayoutSizes.js +0 -39
- package/objects/roomShapeLayoutSizes.lua +0 -31
- package/objects/roomShapeToBottomRightPosition.d.ts +0 -8
- package/objects/roomShapeToBottomRightPosition.js +0 -22
- package/objects/roomShapeToBottomRightPosition.lua +0 -24
- package/objects/roomShapeToDoorSlotCoordinates.d.ts +0 -9
- package/objects/roomShapeToDoorSlotCoordinates.js +0 -109
- package/objects/roomShapeToDoorSlotCoordinates.lua +0 -86
- package/objects/roomShapeToDoorSlots.d.ts +0 -4
- package/objects/roomShapeToDoorSlots.js +0 -69
- package/objects/roomShapeToDoorSlots.lua +0 -48
- package/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +0 -8
- package/objects/roomShapeToDoorSlotsToGridIndexDelta.js +0 -113
- package/objects/roomShapeToDoorSlotsToGridIndexDelta.lua +0 -91
- package/objects/roomShapeToGridWidth.d.ts +0 -4
- package/objects/roomShapeToGridWidth.js +0 -18
- package/objects/roomShapeToGridWidth.lua +0 -22
- package/objects/roomShapeToTopLeftPosition.d.ts +0 -8
- package/objects/roomShapeToTopLeftPosition.js +0 -23
- package/objects/roomShapeToTopLeftPosition.lua +0 -26
- package/objects/roomShapeVolumes.d.ts +0 -13
- package/objects/roomShapeVolumes.js +0 -30
- package/objects/roomShapeVolumes.lua +0 -32
- package/objects/roomTypeGotoPrefixes.d.ts +0 -4
- package/objects/roomTypeGotoPrefixes.js +0 -33
- package/objects/roomTypeGotoPrefixes.lua +0 -37
- package/objects/roomTypeNames.d.ts +0 -5
- package/objects/roomTypeNames.js +0 -34
- package/objects/roomTypeNames.lua +0 -38
- package/objects/serializedIsaacAPIClassTypeToIdentityFunction.d.ts +0 -4
- package/objects/serializedIsaacAPIClassTypeToIdentityFunction.js +0 -12
- package/objects/serializedIsaacAPIClassTypeToIdentityFunction.lua +0 -15
- package/objects/stageTypeSuffixes.d.ts +0 -4
- package/objects/stageTypeSuffixes.js +0 -10
- package/objects/stageTypeSuffixes.lua +0 -14
- package/objects/stageTypeToLetter.d.ts +0 -4
- package/objects/stageTypeToLetter.js +0 -12
- package/objects/stageTypeToLetter.lua +0 -14
- package/objects/transformationNames.d.ts +0 -4
- package/objects/transformationNames.js +0 -18
- package/objects/transformationNames.lua +0 -22
- package/objects/versusScreenBackgroundColors.d.ts +0 -5
- package/objects/versusScreenBackgroundColors.js +0 -36
- package/objects/versusScreenBackgroundColors.lua +0 -40
- package/objects/versusScreenDirtSpotColors.d.ts +0 -5
- package/objects/versusScreenDirtSpotColors.js +0 -36
- package/objects/versusScreenDirtSpotColors.lua +0 -40
- package/patchErrorFunctions.d.ts +0 -1
- package/patchErrorFunctions.js +0 -67
- package/patchErrorFunctions.lua +0 -60
- package/sets/LRoomShapesSet.d.ts +0 -2
- package/sets/LRoomShapesSet.js +0 -8
- package/sets/LRoomShapesSet.lua +0 -10
- package/sets/bossSets.d.ts +0 -4
- package/sets/bossSets.js +0 -374
- package/sets/bossSets.lua +0 -556
- package/sets/charactersThatStartWithAnActiveItemSet.d.ts +0 -2
- package/sets/charactersThatStartWithAnActiveItemSet.js +0 -15
- package/sets/charactersThatStartWithAnActiveItemSet.lua +0 -22
- package/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +0 -2
- package/sets/charactersWithBlackHeartFromEternalHeartSet.js +0 -6
- package/sets/charactersWithBlackHeartFromEternalHeartSet.lua +0 -10
- package/sets/charactersWithFreeDevilDealsSet.d.ts +0 -2
- package/sets/charactersWithFreeDevilDealsSet.js +0 -3
- package/sets/charactersWithFreeDevilDealsSet.lua +0 -10
- package/sets/charactersWithNoRedHeartsSet.d.ts +0 -6
- package/sets/charactersWithNoRedHeartsSet.js +0 -16
- package/sets/charactersWithNoRedHeartsSet.lua +0 -21
- package/sets/charactersWithNoSoulHeartsSet.d.ts +0 -6
- package/sets/charactersWithNoSoulHeartsSet.js +0 -13
- package/sets/charactersWithNoSoulHeartsSet.lua +0 -18
- package/sets/chestPickupVariantsSet.d.ts +0 -2
- package/sets/chestPickupVariantsSet.js +0 -16
- package/sets/chestPickupVariantsSet.lua +0 -23
- package/sets/consoleCommandsSet.d.ts +0 -5
- package/sets/consoleCommandsSet.js +0 -61
- package/sets/consoleCommandsSet.lua +0 -63
- package/sets/familiarsThatShootPlayerTearsSet.d.ts +0 -2
- package/sets/familiarsThatShootPlayerTearsSet.js +0 -12
- package/sets/familiarsThatShootPlayerTearsSet.lua +0 -19
- package/sets/lostStyleCharactersSet.d.ts +0 -6
- package/sets/lostStyleCharactersSet.js +0 -13
- package/sets/lostStyleCharactersSet.lua +0 -18
- package/sets/mineShaftRoomSubTypesSet.d.ts +0 -2
- package/sets/mineShaftRoomSubTypesSet.js +0 -9
- package/sets/mineShaftRoomSubTypesSet.lua +0 -16
- package/sets/narrowRoomShapesSet.d.ts +0 -2
- package/sets/narrowRoomShapesSet.js +0 -8
- package/sets/narrowRoomShapesSet.lua +0 -10
- package/sets/redHeartSubTypesSet.d.ts +0 -2
- package/sets/redHeartSubTypesSet.js +0 -7
- package/sets/redHeartSubTypesSet.lua +0 -10
- package/sets/sinEntityTypesSet.d.ts +0 -2
- package/sets/sinEntityTypesSet.js +0 -11
- package/sets/sinEntityTypesSet.lua +0 -18
- package/sets/singleUseActiveCollectibleTypesSet.d.ts +0 -2
- package/sets/singleUseActiveCollectibleTypesSet.js +0 -12
- package/sets/singleUseActiveCollectibleTypesSet.lua +0 -19
- package/sets/storyBossesSet.d.ts +0 -2
- package/sets/storyBossesSet.js +0 -17
- package/sets/storyBossesSet.lua +0 -24
- package/shaderCrashFix.d.ts +0 -7
- package/shaderCrashFix.js +0 -17
- package/shaderCrashFix.lua +0 -20
- package/types/AnyEntity.d.ts +0 -12
- package/types/AnyEntity.js +0 -2
- package/types/AnyEntity.lua +0 -4
- package/types/CollectibleIndex.d.ts +0 -16
- package/types/CollectibleIndex.js +0 -2
- package/types/CollectibleIndex.lua +0 -4
- package/types/PickingUpItem.d.ts +0 -34
- package/types/PickingUpItem.js +0 -38
- package/types/PickingUpItem.lua +0 -36
- package/types/PlayerIndex.d.ts +0 -16
- package/types/PlayerIndex.js +0 -2
- package/types/PlayerIndex.lua +0 -4
- package/types/private/IsaacAPIClass.d.ts +0 -4
- package/types/private/IsaacAPIClass.js +0 -2
- package/types/private/IsaacAPIClass.lua +0 -4
- package/types/private/SerializedIsaacAPIClass.d.ts +0 -4
- package/types/private/SerializedIsaacAPIClass.js +0 -2
- package/types/private/SerializedIsaacAPIClass.lua +0 -4
- package/types/private/TSTLClass.d.ts +0 -4
- package/types/private/TSTLClass.js +0 -2
- package/types/private/TSTLClass.lua +0 -4
- package/upgradeMod.d.ts +0 -23
- package/upgradeMod.js +0 -47
- package/upgradeMod.lua +0 -56
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local Map = ____lualib.Map
|
|
3
|
+
local __TS__New = ____lualib.__TS__New
|
|
4
|
+
local Set = ____lualib.Set
|
|
5
|
+
local __TS__Spread = ____lualib.__TS__Spread
|
|
6
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
7
|
+
local ____exports = {}
|
|
8
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
9
|
+
local ItemConfigTag = ____isaac_2Dtypescript_2Ddefinitions.ItemConfigTag
|
|
10
|
+
local PlayerForm = ____isaac_2Dtypescript_2Ddefinitions.PlayerForm
|
|
11
|
+
local ____transformationNames = require("objects.transformationNames")
|
|
12
|
+
local TRANSFORMATION_NAMES = ____transformationNames.TRANSFORMATION_NAMES
|
|
13
|
+
local ____collectibles = require("functions.collectibles")
|
|
14
|
+
local getCollectibleTags = ____collectibles.getCollectibleTags
|
|
15
|
+
local ____collectibleTag = require("functions.collectibleTag")
|
|
16
|
+
local getCollectibleTypesWithTag = ____collectibleTag.getCollectibleTypesWithTag
|
|
17
|
+
local ____enums = require("functions.enums")
|
|
18
|
+
local getEnumValues = ____enums.getEnumValues
|
|
19
|
+
local ____flag = require("functions.flag")
|
|
20
|
+
local hasFlag = ____flag.hasFlag
|
|
21
|
+
local ____player = require("functions.player")
|
|
22
|
+
local getPlayerCollectibleCount = ____player.getPlayerCollectibleCount
|
|
23
|
+
local TRANSFORMATION_TO_TAG_MAP = __TS__New(Map, {
|
|
24
|
+
{PlayerForm.GUPPY, ItemConfigTag.GUPPY},
|
|
25
|
+
{PlayerForm.BEELZEBUB, ItemConfigTag.FLY},
|
|
26
|
+
{PlayerForm.FUN_GUY, ItemConfigTag.MUSHROOM},
|
|
27
|
+
{PlayerForm.SERAPHIM, ItemConfigTag.ANGEL},
|
|
28
|
+
{PlayerForm.BOB, ItemConfigTag.BOB},
|
|
29
|
+
{PlayerForm.SPUN, ItemConfigTag.SYRINGE},
|
|
30
|
+
{PlayerForm.YES_MOTHER, ItemConfigTag.MOM},
|
|
31
|
+
{PlayerForm.CONJOINED, ItemConfigTag.BABY},
|
|
32
|
+
{PlayerForm.LEVIATHAN, ItemConfigTag.DEVIL},
|
|
33
|
+
{PlayerForm.OH_CRAP, ItemConfigTag.POOP},
|
|
34
|
+
{PlayerForm.BOOKWORM, ItemConfigTag.BOOK},
|
|
35
|
+
{PlayerForm.SPIDER_BABY, ItemConfigTag.SPIDER}
|
|
36
|
+
})
|
|
37
|
+
local TRANSFORMATIONS_THAT_GRANT_FLYING = __TS__New(Set, {PlayerForm.GUPPY, PlayerForm.BEELZEBUB, PlayerForm.SERAPHIM, PlayerForm.LEVIATHAN})
|
|
38
|
+
--- Helper function to get all of the collectible types in the game that count towards a particular
|
|
39
|
+
-- transformation.
|
|
40
|
+
--
|
|
41
|
+
-- For example, to get all of the collectible types that count towards Guppy:
|
|
42
|
+
--
|
|
43
|
+
-- ```ts
|
|
44
|
+
-- const guppyCollectibleTypes = getCollectibleTypesForTransformation(PlayerForm.GUPPY);
|
|
45
|
+
-- ```
|
|
46
|
+
function ____exports.getCollectibleTypesForTransformation(self, playerForm)
|
|
47
|
+
local itemConfigTag = TRANSFORMATION_TO_TAG_MAP:get(playerForm)
|
|
48
|
+
if itemConfigTag == nil then
|
|
49
|
+
error(("Failed to get the collectible types for the transformation of " .. tostring(playerForm)) .. " because that transformation is not based on collectibles.")
|
|
50
|
+
end
|
|
51
|
+
return getCollectibleTypesWithTag(nil, itemConfigTag)
|
|
52
|
+
end
|
|
53
|
+
--- Returns the number of items that a player has towards a particular transformation.
|
|
54
|
+
function ____exports.getPlayerNumCollectiblesForTransformation(self, player, playerForm)
|
|
55
|
+
local collectibleTypes = ____exports.getCollectibleTypesForTransformation(nil, playerForm)
|
|
56
|
+
return getPlayerCollectibleCount(
|
|
57
|
+
nil,
|
|
58
|
+
player,
|
|
59
|
+
__TS__Spread(collectibleTypes:values())
|
|
60
|
+
)
|
|
61
|
+
end
|
|
62
|
+
--- Returns a set of the player's current transformations.
|
|
63
|
+
function ____exports.getPlayerTransformations(self, player)
|
|
64
|
+
local transformations = __TS__New(Set)
|
|
65
|
+
for ____, playerForm in ipairs(getEnumValues(nil, PlayerForm)) do
|
|
66
|
+
if player:HasPlayerForm(playerForm) then
|
|
67
|
+
transformations:add(playerForm)
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
return transformations
|
|
71
|
+
end
|
|
72
|
+
--- Helper function to get a transformation name from a PlayerForm enum.
|
|
73
|
+
--
|
|
74
|
+
-- For example:
|
|
75
|
+
--
|
|
76
|
+
-- ```ts
|
|
77
|
+
-- const transformationName = getTransformationName(PlayerForm.LORD_OF_THE_FLIES);
|
|
78
|
+
-- // transformationName is "Beelzebub"
|
|
79
|
+
-- ```
|
|
80
|
+
function ____exports.getTransformationName(self, playerForm)
|
|
81
|
+
return TRANSFORMATION_NAMES[playerForm]
|
|
82
|
+
end
|
|
83
|
+
function ____exports.getTransformationsForCollectibleType(self, collectibleType)
|
|
84
|
+
local itemConfigTags = getCollectibleTags(nil, collectibleType)
|
|
85
|
+
local playerForms = getEnumValues(nil, PlayerForm)
|
|
86
|
+
local transformationSet = __TS__New(Set)
|
|
87
|
+
for ____, playerForm in ipairs(playerForms) do
|
|
88
|
+
do
|
|
89
|
+
local itemConfigTag = TRANSFORMATION_TO_TAG_MAP:get(playerForm)
|
|
90
|
+
if itemConfigTag == nil then
|
|
91
|
+
goto __continue11
|
|
92
|
+
end
|
|
93
|
+
if hasFlag(nil, itemConfigTags, itemConfigTag) then
|
|
94
|
+
transformationSet:add(playerForm)
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
::__continue11::
|
|
98
|
+
end
|
|
99
|
+
return transformationSet
|
|
100
|
+
end
|
|
101
|
+
function ____exports.hasFlyingTransformation(self, player)
|
|
102
|
+
for ____, playerForm in __TS__Iterator(TRANSFORMATIONS_THAT_GRANT_FLYING:values()) do
|
|
103
|
+
if player:HasPlayerForm(playerForm) then
|
|
104
|
+
return true
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
return false
|
|
108
|
+
end
|
|
109
|
+
function ____exports.isTransformationFlying(self, playerForm)
|
|
110
|
+
return TRANSFORMATIONS_THAT_GRANT_FLYING:has(playerForm)
|
|
111
|
+
end
|
|
112
|
+
return ____exports
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CacheFlag, TrinketType } from "isaac-typescript-definitions";
|
|
2
|
+
/**
|
|
3
|
+
* Returns a map containing every trinket type that the player has that matches the provided
|
|
4
|
+
* CacheFlag. The values of the map correspond to the multiplier for that trinket.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getPlayerTrinketsForCacheFlag(player: EntityPlayer, cacheFlag: CacheFlag): Map<TrinketType, int>;
|
|
7
|
+
/**
|
|
8
|
+
* Returns a set containing every trinket type with the given cache flag, including modded trinkets.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getTrinketsForCacheFlag(cacheFlag: CacheFlag): Set<TrinketType>;
|
|
11
|
+
//# sourceMappingURL=trinketCacheFlag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trinketCacheFlag.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/functions/trinketCacheFlag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAqBtE;;;GAGG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,SAAS,GACnB,GAAG,CAAC,WAAW,EAAE,GAAG,CAAC,CAYvB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,SAAS,GACnB,GAAG,CAAC,WAAW,CAAC,CAYlB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local Map = ____lualib.Map
|
|
3
|
+
local __TS__New = ____lualib.__TS__New
|
|
4
|
+
local Set = ____lualib.Set
|
|
5
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
6
|
+
local ____exports = {}
|
|
7
|
+
local initCacheFlagMap, CACHE_FLAG_TO_TRINKETS_MAP
|
|
8
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
9
|
+
local CacheFlag = ____isaac_2Dtypescript_2Ddefinitions.CacheFlag
|
|
10
|
+
local ____enums = require("functions.enums")
|
|
11
|
+
local getEnumValues = ____enums.getEnumValues
|
|
12
|
+
local ____set = require("functions.set")
|
|
13
|
+
local copySet = ____set.copySet
|
|
14
|
+
local ____trinkets = require("functions.trinkets")
|
|
15
|
+
local getTrinketTypes = ____trinkets.getTrinketTypes
|
|
16
|
+
local trinketHasCacheFlag = ____trinkets.trinketHasCacheFlag
|
|
17
|
+
function initCacheFlagMap(self)
|
|
18
|
+
for ____, cacheFlag in ipairs(getEnumValues(nil, CacheFlag)) do
|
|
19
|
+
local trinketsSet = __TS__New(Set)
|
|
20
|
+
for ____, trinketType in ipairs(getTrinketTypes(nil)) do
|
|
21
|
+
if trinketHasCacheFlag(nil, trinketType, cacheFlag) then
|
|
22
|
+
trinketsSet:add(trinketType)
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
CACHE_FLAG_TO_TRINKETS_MAP:set(cacheFlag, trinketsSet)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
--- Returns a set containing every trinket type with the given cache flag, including modded trinkets.
|
|
29
|
+
function ____exports.getTrinketsForCacheFlag(self, cacheFlag)
|
|
30
|
+
if CACHE_FLAG_TO_TRINKETS_MAP.size == 0 then
|
|
31
|
+
initCacheFlagMap(nil)
|
|
32
|
+
end
|
|
33
|
+
local trinketsSet = CACHE_FLAG_TO_TRINKETS_MAP:get(cacheFlag)
|
|
34
|
+
if trinketsSet == nil then
|
|
35
|
+
return __TS__New(Set)
|
|
36
|
+
end
|
|
37
|
+
return copySet(nil, trinketsSet)
|
|
38
|
+
end
|
|
39
|
+
CACHE_FLAG_TO_TRINKETS_MAP = __TS__New(Map)
|
|
40
|
+
--- Returns a map containing every trinket type that the player has that matches the provided
|
|
41
|
+
-- CacheFlag. The values of the map correspond to the multiplier for that trinket.
|
|
42
|
+
function ____exports.getPlayerTrinketsForCacheFlag(self, player, cacheFlag)
|
|
43
|
+
local trinketsForCacheFlag = ____exports.getTrinketsForCacheFlag(nil, cacheFlag)
|
|
44
|
+
local playerTrinkets = __TS__New(Map)
|
|
45
|
+
for ____, trinketType in __TS__Iterator(trinketsForCacheFlag:values()) do
|
|
46
|
+
local trinketMultiplier = player:GetTrinketMultiplier(trinketType)
|
|
47
|
+
if trinketMultiplier > 0 then
|
|
48
|
+
playerTrinkets:set(trinketType, trinketMultiplier)
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
return playerTrinkets
|
|
52
|
+
end
|
|
53
|
+
return ____exports
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { TrinketType } from "isaac-typescript-definitions";
|
|
2
|
+
import { TrinketSituation } from "../interfaces/TrinketSituation";
|
|
3
|
+
/**
|
|
4
|
+
* Helper function to restore the player's trinkets back to the way they were before the
|
|
5
|
+
* `temporarilyRemoveTrinket` function was used. It will re-smelt any smelted trinkets that were
|
|
6
|
+
* removed.
|
|
7
|
+
*/
|
|
8
|
+
export declare function giveTrinketsBack(player: EntityPlayer, trinketSituation: TrinketSituation | undefined): void;
|
|
9
|
+
/**
|
|
10
|
+
* Helper function to smelt a trinket. Before smelting, this function will automatically remove the
|
|
11
|
+
* trinkets that the player is holding, if any, and then give them back after the new trinket is
|
|
12
|
+
* smelted.
|
|
13
|
+
*
|
|
14
|
+
* @param player The player to smelt the trinkets to.
|
|
15
|
+
* @param trinketType The trinket type to smelt.
|
|
16
|
+
* @param numTrinkets Optional. If specified, will smelt the given number of trinkets. Use this to
|
|
17
|
+
* avoid calling this function multiple times. Default is 1.
|
|
18
|
+
*/
|
|
19
|
+
export declare function smeltTrinket(player: EntityPlayer, trinketType: TrinketType, numTrinkets?: number): void;
|
|
20
|
+
/**
|
|
21
|
+
* Helper function to temporarily remove a specific kind of trinket from the player. Use this in
|
|
22
|
+
* combination with the `giveTrinketsBack` function to take away and give back a trinket on the same
|
|
23
|
+
* frame. This function correctly handles multiple trinket slots and ensures that all copies of the
|
|
24
|
+
* trinket are removed, including smelted trinkets.
|
|
25
|
+
*
|
|
26
|
+
* Note that one smelted golden trinket is the same as two smelted normal trinkets.
|
|
27
|
+
*
|
|
28
|
+
* @returns Undefined if the player does not have the trinket, or TrinketSituation if they do.
|
|
29
|
+
*/
|
|
30
|
+
export declare function temporarilyRemoveTrinket(player: EntityPlayer, trinketType: TrinketType): TrinketSituation | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Helper function to temporarily removes a player's held trinkets, if any. This will not remove any
|
|
33
|
+
* smelted trinkets. Use this in combination with the `giveTrinketsBack` function to take away and
|
|
34
|
+
* give back trinkets on the same frame.
|
|
35
|
+
*
|
|
36
|
+
* @returns Undefined if the player does not have any trinkets, or TrinketSituation if they do.
|
|
37
|
+
*/
|
|
38
|
+
export declare function temporarilyRemoveTrinkets(player: EntityPlayer): TrinketSituation | undefined;
|
|
39
|
+
//# sourceMappingURL=trinketGive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trinketGive.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/functions/trinketGive.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAKlE;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,YAAY,EACpB,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,GAC7C,IAAI,CA+BN;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,EACxB,WAAW,SAAI,GACd,IAAI,CASN;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,GACvB,gBAAgB,GAAG,SAAS,CAkC9B;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,YAAY,GACnB,gBAAgB,GAAG,SAAS,CAsB9B"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
local ____exports = {}
|
|
2
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
3
|
+
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
4
|
+
local TrinketSlot = ____isaac_2Dtypescript_2Ddefinitions.TrinketSlot
|
|
5
|
+
local TrinketType = ____isaac_2Dtypescript_2Ddefinitions.TrinketType
|
|
6
|
+
local ____player = require("functions.player")
|
|
7
|
+
local useActiveItemTemp = ____player.useActiveItemTemp
|
|
8
|
+
local ____trinkets = require("functions.trinkets")
|
|
9
|
+
local getGoldenTrinketType = ____trinkets.getGoldenTrinketType
|
|
10
|
+
local ____utils = require("functions.utils")
|
|
11
|
+
local ____repeat = ____utils["repeat"]
|
|
12
|
+
--- Helper function to temporarily removes a player's held trinkets, if any. This will not remove any
|
|
13
|
+
-- smelted trinkets. Use this in combination with the `giveTrinketsBack` function to take away and
|
|
14
|
+
-- give back trinkets on the same frame.
|
|
15
|
+
--
|
|
16
|
+
-- @returns Undefined if the player does not have any trinkets, or TrinketSituation if they do.
|
|
17
|
+
function ____exports.temporarilyRemoveTrinkets(self, player)
|
|
18
|
+
local trinketType1 = player:GetTrinket(TrinketSlot.SLOT_1)
|
|
19
|
+
local trinketType2 = player:GetTrinket(TrinketSlot.SLOT_2)
|
|
20
|
+
if trinketType1 == TrinketType.NULL and trinketType2 == TrinketType.NULL then
|
|
21
|
+
return nil
|
|
22
|
+
end
|
|
23
|
+
if trinketType1 ~= TrinketType.NULL then
|
|
24
|
+
player:TryRemoveTrinket(trinketType1)
|
|
25
|
+
end
|
|
26
|
+
if trinketType2 ~= TrinketType.NULL then
|
|
27
|
+
player:TryRemoveTrinket(trinketType2)
|
|
28
|
+
end
|
|
29
|
+
return {trinketTypeRemoved = TrinketType.NULL, trinketType1 = trinketType1, trinketType2 = trinketType2, numSmeltedTrinkets = 0}
|
|
30
|
+
end
|
|
31
|
+
--- Helper function to restore the player's trinkets back to the way they were before the
|
|
32
|
+
-- `temporarilyRemoveTrinket` function was used. It will re-smelt any smelted trinkets that were
|
|
33
|
+
-- removed.
|
|
34
|
+
function ____exports.giveTrinketsBack(self, player, trinketSituation)
|
|
35
|
+
if trinketSituation == nil then
|
|
36
|
+
return
|
|
37
|
+
end
|
|
38
|
+
local trinketType1 = player:GetTrinket(TrinketSlot.SLOT_1)
|
|
39
|
+
local trinketType2 = player:GetTrinket(TrinketSlot.SLOT_2)
|
|
40
|
+
if trinketType1 ~= TrinketType.NULL then
|
|
41
|
+
player:TryRemoveTrinket(trinketType1)
|
|
42
|
+
end
|
|
43
|
+
if trinketType2 ~= TrinketType.NULL then
|
|
44
|
+
player:TryRemoveTrinket(trinketType2)
|
|
45
|
+
end
|
|
46
|
+
____repeat(
|
|
47
|
+
nil,
|
|
48
|
+
trinketSituation.numSmeltedTrinkets,
|
|
49
|
+
function()
|
|
50
|
+
player:AddTrinket(trinketSituation.trinketTypeRemoved, false)
|
|
51
|
+
useActiveItemTemp(nil, player, CollectibleType.SMELTER)
|
|
52
|
+
end
|
|
53
|
+
)
|
|
54
|
+
if trinketSituation.trinketType1 ~= TrinketType.NULL then
|
|
55
|
+
player:AddTrinket(trinketSituation.trinketType1, false)
|
|
56
|
+
end
|
|
57
|
+
if trinketSituation.trinketType2 ~= TrinketType.NULL then
|
|
58
|
+
player:AddTrinket(trinketSituation.trinketType2, false)
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
--- Helper function to smelt a trinket. Before smelting, this function will automatically remove the
|
|
62
|
+
-- trinkets that the player is holding, if any, and then give them back after the new trinket is
|
|
63
|
+
-- smelted.
|
|
64
|
+
--
|
|
65
|
+
-- @param player The player to smelt the trinkets to.
|
|
66
|
+
-- @param trinketType The trinket type to smelt.
|
|
67
|
+
-- @param numTrinkets Optional. If specified, will smelt the given number of trinkets. Use this to
|
|
68
|
+
-- avoid calling this function multiple times. Default is 1.
|
|
69
|
+
function ____exports.smeltTrinket(self, player, trinketType, numTrinkets)
|
|
70
|
+
if numTrinkets == nil then
|
|
71
|
+
numTrinkets = 1
|
|
72
|
+
end
|
|
73
|
+
local trinketSituation = ____exports.temporarilyRemoveTrinkets(nil, player)
|
|
74
|
+
____repeat(
|
|
75
|
+
nil,
|
|
76
|
+
numTrinkets,
|
|
77
|
+
function()
|
|
78
|
+
player:AddTrinket(trinketType)
|
|
79
|
+
useActiveItemTemp(nil, player, CollectibleType.SMELTER)
|
|
80
|
+
end
|
|
81
|
+
)
|
|
82
|
+
____exports.giveTrinketsBack(nil, player, trinketSituation)
|
|
83
|
+
end
|
|
84
|
+
--- Helper function to temporarily remove a specific kind of trinket from the player. Use this in
|
|
85
|
+
-- combination with the `giveTrinketsBack` function to take away and give back a trinket on the same
|
|
86
|
+
-- frame. This function correctly handles multiple trinket slots and ensures that all copies of the
|
|
87
|
+
-- trinket are removed, including smelted trinkets.
|
|
88
|
+
--
|
|
89
|
+
-- Note that one smelted golden trinket is the same as two smelted normal trinkets.
|
|
90
|
+
--
|
|
91
|
+
-- @returns Undefined if the player does not have the trinket, or TrinketSituation if they do.
|
|
92
|
+
function ____exports.temporarilyRemoveTrinket(self, player, trinketType)
|
|
93
|
+
if not player:HasTrinket(trinketType) then
|
|
94
|
+
return nil
|
|
95
|
+
end
|
|
96
|
+
local trinketType1 = player:GetTrinket(TrinketSlot.SLOT_1)
|
|
97
|
+
local trinketType2 = player:GetTrinket(TrinketSlot.SLOT_2)
|
|
98
|
+
local numTrinkets = 0
|
|
99
|
+
while player:HasTrinket(trinketType) do
|
|
100
|
+
player:TryRemoveTrinket(trinketType)
|
|
101
|
+
numTrinkets = numTrinkets + 1
|
|
102
|
+
end
|
|
103
|
+
local numSmeltedTrinkets = numTrinkets
|
|
104
|
+
local trinketWasInSlot1 = trinketType1 == trinketType or trinketType1 == getGoldenTrinketType(nil, trinketType)
|
|
105
|
+
if trinketWasInSlot1 then
|
|
106
|
+
numSmeltedTrinkets = numSmeltedTrinkets - 1
|
|
107
|
+
end
|
|
108
|
+
local trinketWasInSlot2 = trinketType2 == trinketType or trinketType2 == getGoldenTrinketType(nil, trinketType)
|
|
109
|
+
if trinketWasInSlot2 then
|
|
110
|
+
numSmeltedTrinkets = numSmeltedTrinkets - 1
|
|
111
|
+
end
|
|
112
|
+
return {trinketTypeRemoved = trinketType, trinketType1 = trinketType1, trinketType2 = trinketType2, numSmeltedTrinkets = numSmeltedTrinkets}
|
|
113
|
+
end
|
|
114
|
+
return ____exports
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { CacheFlag, TrinketType } from "isaac-typescript-definitions";
|
|
2
|
+
/**
|
|
3
|
+
* Helper function to get the corresponding golden trinket type from a normal trinket type.
|
|
4
|
+
*
|
|
5
|
+
* For example, passing `TrinketType.SWALLOWED_PENNY` would result in 32769, which is the value that
|
|
6
|
+
* corresponds to the golden trinket sub-type for Swallowed Penny.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getGoldenTrinketType(trinketType: TrinketType): TrinketType;
|
|
9
|
+
/**
|
|
10
|
+
* Helper function to get an array that represents every modded trinket type.
|
|
11
|
+
*
|
|
12
|
+
* Returns an empty array if there are no modded trinket types.
|
|
13
|
+
*/
|
|
14
|
+
export declare function getModdedTrinketTypes(): TrinketType[];
|
|
15
|
+
/**
|
|
16
|
+
* Returns the slot number corresponding to where a trinket can be safely inserted.
|
|
17
|
+
*
|
|
18
|
+
* For example:
|
|
19
|
+
*
|
|
20
|
+
* ```ts
|
|
21
|
+
* const player = Isaac.GetPlayer();
|
|
22
|
+
* const trinketSlot = getOpenTrinketSlotNum(player);
|
|
23
|
+
* if (trinketSlot !== undefined) {
|
|
24
|
+
* // They have one or more open trinket slots
|
|
25
|
+
* player.AddTrinket(TrinketType.SWALLOWED_PENNY);
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function getOpenTrinketSlot(player: EntityPlayer): int | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Helper function to get the in-game description for a trinket. Returns "Unknown" if the provided
|
|
32
|
+
* trinket type was not valid.
|
|
33
|
+
*/
|
|
34
|
+
export declare function getTrinketDescription(trinketType: TrinketType): string;
|
|
35
|
+
/**
|
|
36
|
+
* Helper function to get the name of a trinket. Returns "Unknown" if the provided trinket type is
|
|
37
|
+
* not valid.
|
|
38
|
+
*
|
|
39
|
+
* For example:
|
|
40
|
+
*
|
|
41
|
+
* ```ts
|
|
42
|
+
* const trinketType = TrinketType.SWALLOWED_PENNY;
|
|
43
|
+
* const trinketName = getTrinketName(trinketType); // trinketName is "Swallowed Penny"
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare function getTrinketName(trinketType: TrinketType): string;
|
|
47
|
+
/** Helper function to get an array that contains every trinket type. */
|
|
48
|
+
export declare function getTrinketTypes(): TrinketType[];
|
|
49
|
+
/** Helper function to get an array that represents every vanilla trinket type. */
|
|
50
|
+
export declare function getVanillaTrinketTypes(): TrinketType[];
|
|
51
|
+
/**
|
|
52
|
+
* Returns whether or not the player can hold an additional trinket, beyond what they are currently
|
|
53
|
+
* carrying. This takes into account items that modify the max number of trinkets, like Mom's Purse.
|
|
54
|
+
*
|
|
55
|
+
* If the player is the Tainted Soul, this always returns false, since that character cannot pick up
|
|
56
|
+
* items. (Only Tainted Forgotten can pick up items.)
|
|
57
|
+
*/
|
|
58
|
+
export declare function hasOpenTrinketSlot(player: EntityPlayer): boolean;
|
|
59
|
+
export declare function isGoldenTrinket(trinketType: TrinketType): boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Helper function to change the sprite of a trinket entity.
|
|
62
|
+
*
|
|
63
|
+
* For more information about removing the trinket sprite, see the documentation for the
|
|
64
|
+
* "clearSprite" helper function.
|
|
65
|
+
*
|
|
66
|
+
* @param trinket The trinket whose sprite you want to modify.
|
|
67
|
+
* @param pngPath Equal to either the spritesheet path to load (e.g.
|
|
68
|
+
* "gfx/items/trinkets/trinket_001_swallowedpenny.png") or undefined. If undefined,
|
|
69
|
+
* the sprite will be removed, making it appear like the collectible has already been
|
|
70
|
+
* taken by the player.
|
|
71
|
+
*/
|
|
72
|
+
export declare function setTrinketSprite(trinket: EntityPickup, pngPath: string | undefined): void;
|
|
73
|
+
export declare function trinketHasCacheFlag(trinketType: TrinketType, cacheFlag: CacheFlag): boolean;
|
|
74
|
+
//# sourceMappingURL=trinkets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trinkets.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/functions/trinkets.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAGT,WAAW,EACZ,MAAM,8BAA8B,CAAC;AA+BtC;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAE1E;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,WAAW,EAAE,CAMrD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,GAAG,GAAG,SAAS,CAkBxE;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CActE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAc/D;AAED,wEAAwE;AACxE,wBAAgB,eAAe,IAAI,WAAW,EAAE,CAE/C;AAED,kFAAkF;AAClF,wBAAgB,sBAAsB,IAAI,WAAW,EAAE,CAEtD;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAOhE;AAED,wBAAgB,eAAe,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAEjE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,IAAI,CAeN;AAED,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,GACnB,OAAO,CAOT"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
local ____exports = {}
|
|
2
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
3
|
+
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
4
|
+
local TrinketSlot = ____isaac_2Dtypescript_2Ddefinitions.TrinketSlot
|
|
5
|
+
local TrinketType = ____isaac_2Dtypescript_2Ddefinitions.TrinketType
|
|
6
|
+
local ____cachedClasses = require("cachedClasses")
|
|
7
|
+
local itemConfig = ____cachedClasses.itemConfig
|
|
8
|
+
local ____constantsFirstLast = require("constantsFirstLast")
|
|
9
|
+
local FIRST_MODDED_TRINKET_TYPE = ____constantsFirstLast.FIRST_MODDED_TRINKET_TYPE
|
|
10
|
+
local FIRST_TRINKET_TYPE = ____constantsFirstLast.FIRST_TRINKET_TYPE
|
|
11
|
+
local LAST_TRINKET_TYPE = ____constantsFirstLast.LAST_TRINKET_TYPE
|
|
12
|
+
local LAST_VANILLA_TRINKET_TYPE = ____constantsFirstLast.LAST_VANILLA_TRINKET_TYPE
|
|
13
|
+
local ____trinketDescriptionMap = require("maps.trinketDescriptionMap")
|
|
14
|
+
local DEFAULT_TRINKET_DESCRIPTION = ____trinketDescriptionMap.DEFAULT_TRINKET_DESCRIPTION
|
|
15
|
+
local TRINKET_DESCRIPTION_MAP = ____trinketDescriptionMap.TRINKET_DESCRIPTION_MAP
|
|
16
|
+
local ____trinketNameMap = require("maps.trinketNameMap")
|
|
17
|
+
local DEFAULT_TRINKET_NAME = ____trinketNameMap.DEFAULT_TRINKET_NAME
|
|
18
|
+
local TRINKET_NAME_MAP = ____trinketNameMap.TRINKET_NAME_MAP
|
|
19
|
+
local ____entity = require("functions.entity")
|
|
20
|
+
local getEntityID = ____entity.getEntityID
|
|
21
|
+
local ____flag = require("functions.flag")
|
|
22
|
+
local hasFlag = ____flag.hasFlag
|
|
23
|
+
local ____pickupVariants = require("functions.pickupVariants")
|
|
24
|
+
local isTrinket = ____pickupVariants.isTrinket
|
|
25
|
+
local ____player = require("functions.player")
|
|
26
|
+
local isCharacter = ____player.isCharacter
|
|
27
|
+
local ____sprite = require("functions.sprite")
|
|
28
|
+
local clearSprite = ____sprite.clearSprite
|
|
29
|
+
local ____utils = require("functions.utils")
|
|
30
|
+
local irange = ____utils.irange
|
|
31
|
+
--- Add this to a `TrinketType` to get the corresponding golden trinket type.
|
|
32
|
+
--
|
|
33
|
+
-- Corresponds to the vanilla `PillColor.TRINKET_GOLDEN_FLAG` value.
|
|
34
|
+
--
|
|
35
|
+
-- 1 << 15
|
|
36
|
+
local GOLDEN_TRINKET_ADJUSTMENT = 32768
|
|
37
|
+
local TRINKET_SPRITE_LAYER = 0
|
|
38
|
+
--- Helper function to get the corresponding golden trinket type from a normal trinket type.
|
|
39
|
+
--
|
|
40
|
+
-- For example, passing `TrinketType.SWALLOWED_PENNY` would result in 32769, which is the value that
|
|
41
|
+
-- corresponds to the golden trinket sub-type for Swallowed Penny.
|
|
42
|
+
function ____exports.getGoldenTrinketType(self, trinketType)
|
|
43
|
+
return trinketType + GOLDEN_TRINKET_ADJUSTMENT
|
|
44
|
+
end
|
|
45
|
+
--- Helper function to get an array that represents every modded trinket type.
|
|
46
|
+
--
|
|
47
|
+
-- Returns an empty array if there are no modded trinket types.
|
|
48
|
+
function ____exports.getModdedTrinketTypes(self)
|
|
49
|
+
if LAST_VANILLA_TRINKET_TYPE == LAST_TRINKET_TYPE then
|
|
50
|
+
return {}
|
|
51
|
+
end
|
|
52
|
+
return irange(nil, FIRST_MODDED_TRINKET_TYPE, LAST_TRINKET_TYPE)
|
|
53
|
+
end
|
|
54
|
+
--- Returns the slot number corresponding to where a trinket can be safely inserted.
|
|
55
|
+
--
|
|
56
|
+
-- For example:
|
|
57
|
+
--
|
|
58
|
+
-- ```ts
|
|
59
|
+
-- const player = Isaac.GetPlayer();
|
|
60
|
+
-- const trinketSlot = getOpenTrinketSlotNum(player);
|
|
61
|
+
-- if (trinketSlot !== undefined) {
|
|
62
|
+
-- // They have one or more open trinket slots
|
|
63
|
+
-- player.AddTrinket(TrinketType.SWALLOWED_PENNY);
|
|
64
|
+
-- }
|
|
65
|
+
-- ```
|
|
66
|
+
function ____exports.getOpenTrinketSlot(self, player)
|
|
67
|
+
local maxTrinkets = player:GetMaxTrinkets()
|
|
68
|
+
local trinketType1 = player:GetTrinket(TrinketSlot.SLOT_1)
|
|
69
|
+
local trinketType2 = player:GetTrinket(TrinketSlot.SLOT_2)
|
|
70
|
+
if maxTrinkets == 1 then
|
|
71
|
+
return trinketType1 == TrinketType.NULL and 0 or nil
|
|
72
|
+
end
|
|
73
|
+
if maxTrinkets == 2 then
|
|
74
|
+
if trinketType1 == TrinketType.NULL then
|
|
75
|
+
return 0
|
|
76
|
+
end
|
|
77
|
+
return trinketType2 == TrinketType.NULL and 1 or nil
|
|
78
|
+
end
|
|
79
|
+
error("The player has an unknown number of trinket slots: " .. tostring(maxTrinkets))
|
|
80
|
+
end
|
|
81
|
+
--- Helper function to get the in-game description for a trinket. Returns "Unknown" if the provided
|
|
82
|
+
-- trinket type was not valid.
|
|
83
|
+
function ____exports.getTrinketDescription(self, trinketType)
|
|
84
|
+
local trinketDescription = TRINKET_DESCRIPTION_MAP:get(trinketType)
|
|
85
|
+
if trinketDescription ~= nil then
|
|
86
|
+
return trinketDescription
|
|
87
|
+
end
|
|
88
|
+
local itemConfigItem = itemConfig:GetTrinket(trinketType)
|
|
89
|
+
if itemConfigItem ~= nil then
|
|
90
|
+
return itemConfigItem.Description
|
|
91
|
+
end
|
|
92
|
+
return DEFAULT_TRINKET_DESCRIPTION
|
|
93
|
+
end
|
|
94
|
+
--- Helper function to get the name of a trinket. Returns "Unknown" if the provided trinket type is
|
|
95
|
+
-- not valid.
|
|
96
|
+
--
|
|
97
|
+
-- For example:
|
|
98
|
+
--
|
|
99
|
+
-- ```ts
|
|
100
|
+
-- const trinketType = TrinketType.SWALLOWED_PENNY;
|
|
101
|
+
-- const trinketName = getTrinketName(trinketType); // trinketName is "Swallowed Penny"
|
|
102
|
+
-- ```
|
|
103
|
+
function ____exports.getTrinketName(self, trinketType)
|
|
104
|
+
local trinketName = TRINKET_NAME_MAP:get(trinketType)
|
|
105
|
+
if trinketName ~= nil then
|
|
106
|
+
return trinketName
|
|
107
|
+
end
|
|
108
|
+
local itemConfigItem = itemConfig:GetTrinket(trinketType)
|
|
109
|
+
if itemConfigItem ~= nil then
|
|
110
|
+
return itemConfigItem.Name
|
|
111
|
+
end
|
|
112
|
+
return DEFAULT_TRINKET_NAME
|
|
113
|
+
end
|
|
114
|
+
--- Helper function to get an array that contains every trinket type.
|
|
115
|
+
function ____exports.getTrinketTypes(self)
|
|
116
|
+
return irange(nil, FIRST_TRINKET_TYPE, LAST_TRINKET_TYPE)
|
|
117
|
+
end
|
|
118
|
+
--- Helper function to get an array that represents every vanilla trinket type.
|
|
119
|
+
function ____exports.getVanillaTrinketTypes(self)
|
|
120
|
+
return irange(nil, FIRST_TRINKET_TYPE, LAST_VANILLA_TRINKET_TYPE)
|
|
121
|
+
end
|
|
122
|
+
--- Returns whether or not the player can hold an additional trinket, beyond what they are currently
|
|
123
|
+
-- carrying. This takes into account items that modify the max number of trinkets, like Mom's Purse.
|
|
124
|
+
--
|
|
125
|
+
-- If the player is the Tainted Soul, this always returns false, since that character cannot pick up
|
|
126
|
+
-- items. (Only Tainted Forgotten can pick up items.)
|
|
127
|
+
function ____exports.hasOpenTrinketSlot(self, player)
|
|
128
|
+
if isCharacter(nil, player, PlayerType.THE_SOUL_B) then
|
|
129
|
+
return false
|
|
130
|
+
end
|
|
131
|
+
local openTrinketSlot = ____exports.getOpenTrinketSlot(nil, player)
|
|
132
|
+
return openTrinketSlot ~= nil
|
|
133
|
+
end
|
|
134
|
+
function ____exports.isGoldenTrinket(self, trinketType)
|
|
135
|
+
return trinketType > GOLDEN_TRINKET_ADJUSTMENT
|
|
136
|
+
end
|
|
137
|
+
--- Helper function to change the sprite of a trinket entity.
|
|
138
|
+
--
|
|
139
|
+
-- For more information about removing the trinket sprite, see the documentation for the
|
|
140
|
+
-- "clearSprite" helper function.
|
|
141
|
+
--
|
|
142
|
+
-- @param trinket The trinket whose sprite you want to modify.
|
|
143
|
+
-- @param pngPath Equal to either the spritesheet path to load (e.g.
|
|
144
|
+
-- "gfx/items/trinkets/trinket_001_swallowedpenny.png") or undefined. If undefined,
|
|
145
|
+
-- the sprite will be removed, making it appear like the collectible has already been
|
|
146
|
+
-- taken by the player.
|
|
147
|
+
function ____exports.setTrinketSprite(self, trinket, pngPath)
|
|
148
|
+
if not isTrinket(nil, trinket) then
|
|
149
|
+
local entityID = getEntityID(nil, trinket)
|
|
150
|
+
error("The \"setTrinketSprite\" function was given a non-trinket: " .. entityID)
|
|
151
|
+
end
|
|
152
|
+
local sprite = trinket:GetSprite()
|
|
153
|
+
if pngPath == nil then
|
|
154
|
+
clearSprite(nil, sprite, TRINKET_SPRITE_LAYER)
|
|
155
|
+
else
|
|
156
|
+
sprite:ReplaceSpritesheet(TRINKET_SPRITE_LAYER, pngPath)
|
|
157
|
+
sprite:LoadGraphics()
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
function ____exports.trinketHasCacheFlag(self, trinketType, cacheFlag)
|
|
161
|
+
local itemConfigItem = itemConfig:GetTrinket(trinketType)
|
|
162
|
+
if itemConfigItem == nil then
|
|
163
|
+
return false
|
|
164
|
+
end
|
|
165
|
+
return hasFlag(nil, itemConfigItem.CacheFlags, cacheFlag)
|
|
166
|
+
end
|
|
167
|
+
return ____exports
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/// <reference types="typescript-to-lua/language-extensions" />
|
|
2
|
+
import { DefaultMap } from "../classes/DefaultMap";
|
|
3
|
+
import { TSTLClass } from "../types/private/TSTLClass";
|
|
4
|
+
/**
|
|
5
|
+
* Helper function to get the name of a TypeScriptToLua class. TSTL classes are Lua tables created
|
|
6
|
+
* with the `__TS__Class` Lua function from the TSTL lualib. Their name is contained within
|
|
7
|
+
* "constructor.name" metatable key.
|
|
8
|
+
*
|
|
9
|
+
* For example, a `Map` class is has a name of "Map".
|
|
10
|
+
*
|
|
11
|
+
* Returns undefined if the object is not a table or if the aforementioned metatable key does not
|
|
12
|
+
* exist.
|
|
13
|
+
*/
|
|
14
|
+
export declare function getTSTLClassName(object: unknown): string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Helper function to determine if a given object is a TypeScriptToLua `Map`.
|
|
17
|
+
*
|
|
18
|
+
* It is not reliable to use the `instanceof` operator to determine this because each Lua module has
|
|
19
|
+
* their own copies of the entire lualib and thus their own instantiated version of a `Map`.
|
|
20
|
+
*/
|
|
21
|
+
export declare function isDefaultMap(object: unknown): object is DefaultMap<AnyNotNil, unknown>;
|
|
22
|
+
/**
|
|
23
|
+
* Returns whether or not this is a class that is provided by the `isaacscript-common` library, such
|
|
24
|
+
* as a `DefaultMap`.
|
|
25
|
+
*/
|
|
26
|
+
export declare function isIsaacScriptCommonClass(object: unknown): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Helper function to determine if a given object is a TypeScriptToLua `Map`.
|
|
29
|
+
*
|
|
30
|
+
* It is not reliable to use the `instanceof` operator to determine this because each Lua module has
|
|
31
|
+
* their own copies of the entire lualib and thus their own instantiated version of a `Map`.
|
|
32
|
+
*/
|
|
33
|
+
export declare function isTSTLMap(object: unknown): object is Map<AnyNotNil, unknown>;
|
|
34
|
+
/**
|
|
35
|
+
* Helper function to determine if a given object is a TypeScriptToLua `Set`.
|
|
36
|
+
*
|
|
37
|
+
* It is not reliable to use the `instanceof` operator to determine this because each Lua module has
|
|
38
|
+
* their own copies of the entire lualib and thus their own instantiated version of a `Set`.
|
|
39
|
+
*/
|
|
40
|
+
export declare function isTSTLSet(object: unknown): object is Set<AnyNotNil>;
|
|
41
|
+
/** TypeScriptToLua classes are Lua tables that have a metatable with a certain amount of keys. */
|
|
42
|
+
export declare function isUserDefinedTSTLClass(object: unknown): object is TSTLClass;
|
|
43
|
+
/**
|
|
44
|
+
* Returns whether or not this is a class that is provided as part of the TypeScriptToLua
|
|
45
|
+
* transpiler, such as a `Map` or a `Set`.
|
|
46
|
+
*/
|
|
47
|
+
export declare function isVanillaTSTLClass(object: unknown): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Initializes a new TypeScriptToLua class in the situation where you do not know what kind of class
|
|
50
|
+
* it is. This function requires that you provide an instantiated class of the same type, as it will
|
|
51
|
+
* use the class constructor that is present on the other object's metatable to initialize the new
|
|
52
|
+
* class.
|
|
53
|
+
*/
|
|
54
|
+
export declare function newTSTLClass(oldClass: TSTLClass): TSTLClass;
|
|
55
|
+
//# sourceMappingURL=tstlClass.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tstlClass.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/functions/tstlClass.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAWvD;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAiBpE;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,OAAO,GACd,MAAM,IAAI,UAAU,CAAC,SAAS,EAAE,OAAO,CAAC,CAG1C;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAEjE;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAG5E;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,GAAG,CAAC,SAAS,CAAC,CAGnE;AAED,kGAAkG;AAClG,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,SAAS,CA4B3E;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAO3D;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,SAAS,GAAG,SAAS,CAS3D"}
|