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
package/functions/tstlClass.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
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;
|
package/functions/tstlClass.js
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { isString, isTable } from "./types";
|
|
2
|
-
const VANILLA_TSTL_CLASSES = new Set(["Map", "Set", "WeakMap", "WeakSet"]);
|
|
3
|
-
const TSTL_CLASS_METATABLE_KEYS = new Set([
|
|
4
|
-
"____constructor",
|
|
5
|
-
"__index",
|
|
6
|
-
"constructor",
|
|
7
|
-
]);
|
|
8
|
-
/**
|
|
9
|
-
* Helper function to get the name of a TypeScriptToLua class. TSTL classes are Lua tables created
|
|
10
|
-
* with the `__TS__Class` Lua function from the TSTL lualib. Their name is contained within
|
|
11
|
-
* "constructor.name" metatable key.
|
|
12
|
-
*
|
|
13
|
-
* For example, a `Map` class is has a name of "Map".
|
|
14
|
-
*
|
|
15
|
-
* Returns undefined if the object is not a table or if the aforementioned metatable key does not
|
|
16
|
-
* exist.
|
|
17
|
-
*/
|
|
18
|
-
export function getTSTLClassName(object) {
|
|
19
|
-
if (!isTable(object)) {
|
|
20
|
-
return undefined;
|
|
21
|
-
}
|
|
22
|
-
const metatable = getmetatable(object);
|
|
23
|
-
if (metatable === undefined) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
const { constructor } = metatable;
|
|
27
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
28
|
-
if (constructor === undefined) {
|
|
29
|
-
return undefined;
|
|
30
|
-
}
|
|
31
|
-
return constructor.name;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Helper function to determine if a given object is a TypeScriptToLua `Map`.
|
|
35
|
-
*
|
|
36
|
-
* It is not reliable to use the `instanceof` operator to determine this because each Lua module has
|
|
37
|
-
* their own copies of the entire lualib and thus their own instantiated version of a `Map`.
|
|
38
|
-
*/
|
|
39
|
-
export function isDefaultMap(object) {
|
|
40
|
-
const className = getTSTLClassName(object);
|
|
41
|
-
return className === "DefaultMap";
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Returns whether or not this is a class that is provided by the `isaacscript-common` library, such
|
|
45
|
-
* as a `DefaultMap`.
|
|
46
|
-
*/
|
|
47
|
-
export function isIsaacScriptCommonClass(object) {
|
|
48
|
-
return isDefaultMap(object);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Helper function to determine if a given object is a TypeScriptToLua `Map`.
|
|
52
|
-
*
|
|
53
|
-
* It is not reliable to use the `instanceof` operator to determine this because each Lua module has
|
|
54
|
-
* their own copies of the entire lualib and thus their own instantiated version of a `Map`.
|
|
55
|
-
*/
|
|
56
|
-
export function isTSTLMap(object) {
|
|
57
|
-
const className = getTSTLClassName(object);
|
|
58
|
-
return className === "Map";
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Helper function to determine if a given object is a TypeScriptToLua `Set`.
|
|
62
|
-
*
|
|
63
|
-
* It is not reliable to use the `instanceof` operator to determine this because each Lua module has
|
|
64
|
-
* their own copies of the entire lualib and thus their own instantiated version of a `Set`.
|
|
65
|
-
*/
|
|
66
|
-
export function isTSTLSet(object) {
|
|
67
|
-
const className = getTSTLClassName(object);
|
|
68
|
-
return className === "Set";
|
|
69
|
-
}
|
|
70
|
-
/** TypeScriptToLua classes are Lua tables that have a metatable with a certain amount of keys. */
|
|
71
|
-
export function isUserDefinedTSTLClass(object) {
|
|
72
|
-
if (isVanillaTSTLClass(object) || isIsaacScriptCommonClass(object)) {
|
|
73
|
-
return false;
|
|
74
|
-
}
|
|
75
|
-
if (!isTable(object)) {
|
|
76
|
-
return false;
|
|
77
|
-
}
|
|
78
|
-
const metatable = getmetatable(object);
|
|
79
|
-
if (metatable === undefined) {
|
|
80
|
-
return false;
|
|
81
|
-
}
|
|
82
|
-
let numKeys = 0;
|
|
83
|
-
for (const [key] of pairs(metatable)) {
|
|
84
|
-
numKeys += 1;
|
|
85
|
-
if (!isString(key)) {
|
|
86
|
-
return false;
|
|
87
|
-
}
|
|
88
|
-
if (!TSTL_CLASS_METATABLE_KEYS.has(key)) {
|
|
89
|
-
return false;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
return numKeys === TSTL_CLASS_METATABLE_KEYS.size;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Returns whether or not this is a class that is provided as part of the TypeScriptToLua
|
|
96
|
-
* transpiler, such as a `Map` or a `Set`.
|
|
97
|
-
*/
|
|
98
|
-
export function isVanillaTSTLClass(object) {
|
|
99
|
-
const className = getTSTLClassName(object);
|
|
100
|
-
if (className === undefined) {
|
|
101
|
-
return false;
|
|
102
|
-
}
|
|
103
|
-
return VANILLA_TSTL_CLASSES.has(className);
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Initializes a new TypeScriptToLua class in the situation where you do not know what kind of class
|
|
107
|
-
* it is. This function requires that you provide an instantiated class of the same type, as it will
|
|
108
|
-
* use the class constructor that is present on the other object's metatable to initialize the new
|
|
109
|
-
* class.
|
|
110
|
-
*/
|
|
111
|
-
export function newTSTLClass(oldClass) {
|
|
112
|
-
const metatable = getmetatable(oldClass);
|
|
113
|
-
if (metatable === undefined) {
|
|
114
|
-
error("Failed to instantiate a new TypeScriptToLua class since the provided old class does not have a metatable.");
|
|
115
|
-
}
|
|
116
|
-
return newTSTLClassFromMetatable(metatable);
|
|
117
|
-
}
|
|
118
|
-
/** This is a re-implementation of the transpiled "__TS__New" function. */
|
|
119
|
-
function newTSTLClassFromMetatable(metatable) {
|
|
120
|
-
const newClass = new LuaTable();
|
|
121
|
-
const newClassMetatable = setmetatable(newClass, metatable.constructor.prototype);
|
|
122
|
-
newClassMetatable.____constructor(); // eslint-disable-line no-underscore-dangle
|
|
123
|
-
return newClass;
|
|
124
|
-
}
|
|
125
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHN0bENsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcGFja2FnZXMvaXNhYWNzY3JpcHQtY29tbW9uL3NyYy9mdW5jdGlvbnMvdHN0bENsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE9BQU8sRUFBRSxRQUFRLEVBQUUsT0FBTyxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBRTVDLE1BQU0sb0JBQW9CLEdBQUcsSUFBSSxHQUFHLENBQUMsQ0FBQyxLQUFLLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBRSxTQUFTLENBQUMsQ0FBQyxDQUFDO0FBRTNFLE1BQU0seUJBQXlCLEdBQXdCLElBQUksR0FBRyxDQUFDO0lBQzdELGlCQUFpQjtJQUNqQixTQUFTO0lBQ1QsYUFBYTtDQUNkLENBQUMsQ0FBQztBQUVIOzs7Ozs7Ozs7R0FTRztBQUNILE1BQU0sVUFBVSxnQkFBZ0IsQ0FBQyxNQUFlO0lBQzlDLElBQUksQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLEVBQUU7UUFDcEIsT0FBTyxTQUFTLENBQUM7S0FDbEI7SUFFRCxNQUFNLFNBQVMsR0FBRyxZQUFZLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDdkMsSUFBSSxTQUFTLEtBQUssU0FBUyxFQUFFO1FBQzNCLE9BQU8sU0FBUyxDQUFDO0tBQ2xCO0lBRUQsTUFBTSxFQUFFLFdBQVcsRUFBRSxHQUFHLFNBQVMsQ0FBQztJQUNsQyx1RUFBdUU7SUFDdkUsSUFBSSxXQUFXLEtBQUssU0FBUyxFQUFFO1FBQzdCLE9BQU8sU0FBUyxDQUFDO0tBQ2xCO0lBRUQsT0FBTyxXQUFXLENBQUMsSUFBSSxDQUFDO0FBQzFCLENBQUM7QUFFRDs7Ozs7R0FLRztBQUNILE1BQU0sVUFBVSxZQUFZLENBQzFCLE1BQWU7SUFFZixNQUFNLFNBQVMsR0FBRyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUMzQyxPQUFPLFNBQVMsS0FBSyxZQUFZLENBQUM7QUFDcEMsQ0FBQztBQUVEOzs7R0FHRztBQUNILE1BQU0sVUFBVSx3QkFBd0IsQ0FBQyxNQUFlO0lBQ3RELE9BQU8sWUFBWSxDQUFDLE1BQU0sQ0FBQyxDQUFDO0FBQzlCLENBQUM7QUFFRDs7Ozs7R0FLRztBQUNILE1BQU0sVUFBVSxTQUFTLENBQUMsTUFBZTtJQUN2QyxNQUFNLFNBQVMsR0FBRyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUMzQyxPQUFPLFNBQVMsS0FBSyxLQUFLLENBQUM7QUFDN0IsQ0FBQztBQUVEOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLFNBQVMsQ0FBQyxNQUFlO0lBQ3ZDLE1BQU0sU0FBUyxHQUFHLGdCQUFnQixDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQzNDLE9BQU8sU0FBUyxLQUFLLEtBQUssQ0FBQztBQUM3QixDQUFDO0FBRUQsa0dBQWtHO0FBQ2xHLE1BQU0sVUFBVSxzQkFBc0IsQ0FBQyxNQUFlO0lBQ3BELElBQUksa0JBQWtCLENBQUMsTUFBTSxDQUFDLElBQUksd0JBQXdCLENBQUMsTUFBTSxDQUFDLEVBQUU7UUFDbEUsT0FBTyxLQUFLLENBQUM7S0FDZDtJQUVELElBQUksQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLEVBQUU7UUFDcEIsT0FBTyxLQUFLLENBQUM7S0FDZDtJQUVELE1BQU0sU0FBUyxHQUFHLFlBQVksQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUN2QyxJQUFJLFNBQVMsS0FBSyxTQUFTLEVBQUU7UUFDM0IsT0FBTyxLQUFLLENBQUM7S0FDZDtJQUVELElBQUksT0FBTyxHQUFHLENBQUMsQ0FBQztJQUNoQixLQUFLLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBSSxLQUFLLENBQUMsU0FBUyxDQUFDLEVBQUU7UUFDcEMsT0FBTyxJQUFJLENBQUMsQ0FBQztRQUViLElBQUksQ0FBQyxRQUFRLENBQUMsR0FBRyxDQUFDLEVBQUU7WUFDbEIsT0FBTyxLQUFLLENBQUM7U0FDZDtRQUVELElBQUksQ0FBQyx5QkFBeUIsQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLEVBQUU7WUFDdkMsT0FBTyxLQUFLLENBQUM7U0FDZDtLQUNGO0lBRUQsT0FBTyxPQUFPLEtBQUsseUJBQXlCLENBQUMsSUFBSSxDQUFDO0FBQ3BELENBQUM7QUFFRDs7O0dBR0c7QUFDSCxNQUFNLFVBQVUsa0JBQWtCLENBQUMsTUFBZTtJQUNoRCxNQUFNLFNBQVMsR0FBRyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUMzQyxJQUFJLFNBQVMsS0FBSyxTQUFTLEVBQUU7UUFDM0IsT0FBTyxLQUFLLENBQUM7S0FDZDtJQUVELE9BQU8sb0JBQW9CLENBQUMsR0FBRyxDQUFDLFNBQVMsQ0FBQyxDQUFDO0FBQzdDLENBQUM7QUFFRDs7Ozs7R0FLRztBQUNILE1BQU0sVUFBVSxZQUFZLENBQUMsUUFBbUI7SUFDOUMsTUFBTSxTQUFTLEdBQUcsWUFBWSxDQUFDLFFBQVEsQ0FBbUMsQ0FBQztJQUMzRSxJQUFJLFNBQVMsS0FBSyxTQUFTLEVBQUU7UUFDM0IsS0FBSyxDQUNILDJHQUEyRyxDQUM1RyxDQUFDO0tBQ0g7SUFFRCxPQUFPLHlCQUF5QixDQUFDLFNBQVMsQ0FBQyxDQUFDO0FBQzlDLENBQUM7QUFFRCwwRUFBMEU7QUFDMUUsU0FBUyx5QkFBeUIsQ0FBQyxTQUE2QjtJQUM5RCxNQUFNLFFBQVEsR0FBRyxJQUFJLFFBQVEsRUFBc0IsQ0FBQztJQUNwRCxNQUFNLGlCQUFpQixHQUFHLFlBQVksQ0FDcEMsUUFBUSxFQUNSLFNBQVMsQ0FBQyxXQUFXLENBQUMsU0FBUyxDQUNDLENBQUM7SUFDbkMsaUJBQWlCLENBQUMsZUFBZSxFQUFFLENBQUMsQ0FBQywyQ0FBMkM7SUFFaEYsT0FBTyxRQUFnQyxDQUFDO0FBQzFDLENBQUMifQ==
|
package/functions/tstlClass.lua
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
local ____lualib = require("lualib_bundle")
|
|
2
|
-
local Set = ____lualib.Set
|
|
3
|
-
local __TS__New = ____lualib.__TS__New
|
|
4
|
-
local ____exports = {}
|
|
5
|
-
local newTSTLClassFromMetatable, VANILLA_TSTL_CLASSES
|
|
6
|
-
local ____types = require("functions.types")
|
|
7
|
-
local isString = ____types.isString
|
|
8
|
-
local isTable = ____types.isTable
|
|
9
|
-
--- Helper function to get the name of a TypeScriptToLua class. TSTL classes are Lua tables created
|
|
10
|
-
-- with the `__TS__Class` Lua function from the TSTL lualib. Their name is contained within
|
|
11
|
-
-- "constructor.name" metatable key.
|
|
12
|
-
--
|
|
13
|
-
-- For example, a `Map` class is has a name of "Map".
|
|
14
|
-
--
|
|
15
|
-
-- Returns undefined if the object is not a table or if the aforementioned metatable key does not
|
|
16
|
-
-- exist.
|
|
17
|
-
function ____exports.getTSTLClassName(self, object)
|
|
18
|
-
if not isTable(nil, object) then
|
|
19
|
-
return nil
|
|
20
|
-
end
|
|
21
|
-
local metatable = getmetatable(object)
|
|
22
|
-
if metatable == nil then
|
|
23
|
-
return nil
|
|
24
|
-
end
|
|
25
|
-
local constructor = metatable.constructor
|
|
26
|
-
if constructor == nil then
|
|
27
|
-
return nil
|
|
28
|
-
end
|
|
29
|
-
return constructor.name
|
|
30
|
-
end
|
|
31
|
-
--- Returns whether or not this is a class that is provided as part of the TypeScriptToLua
|
|
32
|
-
-- transpiler, such as a `Map` or a `Set`.
|
|
33
|
-
function ____exports.isVanillaTSTLClass(self, object)
|
|
34
|
-
local className = ____exports.getTSTLClassName(nil, object)
|
|
35
|
-
if className == nil then
|
|
36
|
-
return false
|
|
37
|
-
end
|
|
38
|
-
return VANILLA_TSTL_CLASSES:has(className)
|
|
39
|
-
end
|
|
40
|
-
function newTSTLClassFromMetatable(self, metatable)
|
|
41
|
-
local newClass = {}
|
|
42
|
-
local newClassMetatable = setmetatable(newClass, metatable.constructor.prototype)
|
|
43
|
-
newClassMetatable:____constructor()
|
|
44
|
-
return newClass
|
|
45
|
-
end
|
|
46
|
-
VANILLA_TSTL_CLASSES = __TS__New(Set, {"Map", "Set", "WeakMap", "WeakSet"})
|
|
47
|
-
local TSTL_CLASS_METATABLE_KEYS = __TS__New(Set, {"____constructor", "__index", "constructor"})
|
|
48
|
-
--- Helper function to determine if a given object is a TypeScriptToLua `Map`.
|
|
49
|
-
--
|
|
50
|
-
-- It is not reliable to use the `instanceof` operator to determine this because each Lua module has
|
|
51
|
-
-- their own copies of the entire lualib and thus their own instantiated version of a `Map`.
|
|
52
|
-
function ____exports.isDefaultMap(self, object)
|
|
53
|
-
local className = ____exports.getTSTLClassName(nil, object)
|
|
54
|
-
return className == "DefaultMap"
|
|
55
|
-
end
|
|
56
|
-
--- Returns whether or not this is a class that is provided by the `isaacscript-common` library, such
|
|
57
|
-
-- as a `DefaultMap`.
|
|
58
|
-
function ____exports.isIsaacScriptCommonClass(self, object)
|
|
59
|
-
return ____exports.isDefaultMap(nil, object)
|
|
60
|
-
end
|
|
61
|
-
--- Helper function to determine if a given object is a TypeScriptToLua `Map`.
|
|
62
|
-
--
|
|
63
|
-
-- It is not reliable to use the `instanceof` operator to determine this because each Lua module has
|
|
64
|
-
-- their own copies of the entire lualib and thus their own instantiated version of a `Map`.
|
|
65
|
-
function ____exports.isTSTLMap(self, object)
|
|
66
|
-
local className = ____exports.getTSTLClassName(nil, object)
|
|
67
|
-
return className == "Map"
|
|
68
|
-
end
|
|
69
|
-
--- Helper function to determine if a given object is a TypeScriptToLua `Set`.
|
|
70
|
-
--
|
|
71
|
-
-- It is not reliable to use the `instanceof` operator to determine this because each Lua module has
|
|
72
|
-
-- their own copies of the entire lualib and thus their own instantiated version of a `Set`.
|
|
73
|
-
function ____exports.isTSTLSet(self, object)
|
|
74
|
-
local className = ____exports.getTSTLClassName(nil, object)
|
|
75
|
-
return className == "Set"
|
|
76
|
-
end
|
|
77
|
-
--- TypeScriptToLua classes are Lua tables that have a metatable with a certain amount of keys.
|
|
78
|
-
function ____exports.isUserDefinedTSTLClass(self, object)
|
|
79
|
-
if ____exports.isVanillaTSTLClass(nil, object) or ____exports.isIsaacScriptCommonClass(nil, object) then
|
|
80
|
-
return false
|
|
81
|
-
end
|
|
82
|
-
if not isTable(nil, object) then
|
|
83
|
-
return false
|
|
84
|
-
end
|
|
85
|
-
local metatable = getmetatable(object)
|
|
86
|
-
if metatable == nil then
|
|
87
|
-
return false
|
|
88
|
-
end
|
|
89
|
-
local numKeys = 0
|
|
90
|
-
for key in pairs(metatable) do
|
|
91
|
-
numKeys = numKeys + 1
|
|
92
|
-
if not isString(nil, key) then
|
|
93
|
-
return false
|
|
94
|
-
end
|
|
95
|
-
if not TSTL_CLASS_METATABLE_KEYS:has(key) then
|
|
96
|
-
return false
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
|
-
return numKeys == TSTL_CLASS_METATABLE_KEYS.size
|
|
100
|
-
end
|
|
101
|
-
--- Initializes a new TypeScriptToLua class in the situation where you do not know what kind of class
|
|
102
|
-
-- it is. This function requires that you provide an instantiated class of the same type, as it will
|
|
103
|
-
-- use the class constructor that is present on the other object's metatable to initialize the new
|
|
104
|
-
-- class.
|
|
105
|
-
function ____exports.newTSTLClass(self, oldClass)
|
|
106
|
-
local metatable = getmetatable(oldClass)
|
|
107
|
-
if metatable == nil then
|
|
108
|
-
error("Failed to instantiate a new TypeScriptToLua class since the provided old class does not have a metatable.")
|
|
109
|
-
end
|
|
110
|
-
return newTSTLClassFromMetatable(nil, metatable)
|
|
111
|
-
end
|
|
112
|
-
return ____exports
|
|
113
|
-
|
|
114
|
-
--# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL2lzYWFjc2NyaXB0LWNvbW1vbi9zcmMvZnVuY3Rpb25zL3RzdGxDbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O01BbUpTLDJCQTlJSDtBQUZOLGtCQUFrQztBQUF6QjtBQUFVOzs7Ozs7Ozs7QUFvQm5CLDRDQUFpQztXQUMxQixhQUFRO0FBQ1g7O0FBR0ksc0JBQVksYUFBYTtPQUMzQjtBQUNGOztVQUdNLGNBQWdCO09BRXBCO0FBQ0Y7O0FBR0YsV0FBTztBQWhCVDs7O0FBaUdBLDhDQUFtQztBQUMzQixzQkFBWSxrQ0FBaUI7T0FDL0I7QUFDRixlQUFPOztBQUdULFdBQU8scUJBQXFCLElBQUk7QUFObEM7QUEyQkEsU0FBUyxnQ0FBMEI7QUFDM0IscUJBQVc7QUFDWCw4QkFBb0IsYUFDeEIsVUFDQTtJQUVGLGtCQUFrQjtBQUVsQixXQUFPOztBQXRKSCx1QkFBdUIsVUFBSSxLQUFJLENBQUMsT0FBTyxPQUFPLFdBQVc7QUFFekQsa0NBQWlELFVBQUksS0FBSSxDQUM3RCxtQkFDQSxXQUNBOzs7OztBQXNDRix3Q0FDRTtBQUVNLHNCQUFZLGtDQUFpQjtBQUNuQyxXQUFPLGFBQWM7QUFKdkI7OztBQVdBLG9EQUF5QztBQUN2QyxXQUFPLDhCQUFhO0FBRHRCOzs7OztBQVVBLHFDQUEwQjtBQUNsQixzQkFBWSxrQ0FBaUI7QUFDbkMsV0FBTyxhQUFjO0FBRnZCOzs7OztBQVdBLHFDQUEwQjtBQUNsQixzQkFBWSxrQ0FBaUI7QUFDbkMsV0FBTyxhQUFjO0FBRnZCOztBQU1BLGtEQUF1QztPQUNqQyxvQ0FBbUIsV0FBVywwQ0FBeUI7QUFDekQsZUFBTzs7V0FHSixhQUFRO0FBQ1gsZUFBTzs7QUFHSCxzQkFBWSxhQUFhO09BQzNCO0FBQ0YsZUFBTzs7QUFHTCxvQkFBVTtBQUNkLFFBQVksT0FBUSxNQUFNO0FBQ3hCLDRCQUFXO2VBRU4sY0FBUztBQUNaLG1CQUFPOztlQUdKLDBCQUEwQixJQUFJO0FBQ2pDLG1CQUFPOzs7QUFJWCxXQUFPLFdBQVk7QUEzQnJCOzs7OztBQWlEQSx3Q0FBNkI7QUFDckIsc0JBQVksYUFBYTtPQUMzQjtRQUNGLE1BQ0U7O0FBSUosV0FBTywrQkFBMEI7QUFSbkMiLCJmaWxlIjoidHN0bENsYXNzLmx1YSIsInNvdXJjZVJvb3QiOiIifQ==
|
package/functions/types.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="typescript-to-lua/language-extensions" />
|
|
2
|
-
/// <reference types="lua-types/5.3" />
|
|
3
|
-
export declare function isBoolean(variable: unknown): variable is boolean;
|
|
4
|
-
export declare function isFunction(variable: unknown): variable is Function;
|
|
5
|
-
export declare function isNumber(variable: unknown): variable is number;
|
|
6
|
-
/** Helper function to detect if a variable is a boolean, number, or string. */
|
|
7
|
-
export declare function isPrimitive(variable: unknown): variable is boolean | number | string;
|
|
8
|
-
export declare function isString(variable: unknown): variable is string;
|
|
9
|
-
export declare function isTable(variable: unknown): variable is LuaTable;
|
|
10
|
-
export declare function isUserdata(variable: unknown): variable is LuaUserdata;
|
package/functions/types.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export function isBoolean(variable) {
|
|
2
|
-
return type(variable) === "boolean";
|
|
3
|
-
}
|
|
4
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
5
|
-
export function isFunction(variable) {
|
|
6
|
-
return type(variable) === "function";
|
|
7
|
-
}
|
|
8
|
-
export function isNumber(variable) {
|
|
9
|
-
return type(variable) === "number";
|
|
10
|
-
}
|
|
11
|
-
/** Helper function to detect if a variable is a boolean, number, or string. */
|
|
12
|
-
export function isPrimitive(variable) {
|
|
13
|
-
const variableType = type(variable);
|
|
14
|
-
return (variableType === "boolean" ||
|
|
15
|
-
variableType === "number" ||
|
|
16
|
-
variableType === "string");
|
|
17
|
-
}
|
|
18
|
-
export function isString(variable) {
|
|
19
|
-
return type(variable) === "string";
|
|
20
|
-
}
|
|
21
|
-
export function isTable(variable) {
|
|
22
|
-
return type(variable) === "table";
|
|
23
|
-
}
|
|
24
|
-
export function isUserdata(variable) {
|
|
25
|
-
return type(variable) === "userdata";
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9pc2FhY3NjcmlwdC1jb21tb24vc3JjL2Z1bmN0aW9ucy90eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLFVBQVUsU0FBUyxDQUFDLFFBQWlCO0lBQ3pDLE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxLQUFLLFNBQVMsQ0FBQztBQUN0QyxDQUFDO0FBRUQsd0RBQXdEO0FBQ3hELE1BQU0sVUFBVSxVQUFVLENBQUMsUUFBaUI7SUFDMUMsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDLEtBQUssVUFBVSxDQUFDO0FBQ3ZDLENBQUM7QUFFRCxNQUFNLFVBQVUsUUFBUSxDQUFDLFFBQWlCO0lBQ3hDLE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxLQUFLLFFBQVEsQ0FBQztBQUNyQyxDQUFDO0FBRUQsK0VBQStFO0FBQy9FLE1BQU0sVUFBVSxXQUFXLENBQ3pCLFFBQWlCO0lBRWpCLE1BQU0sWUFBWSxHQUFHLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQztJQUNwQyxPQUFPLENBQ0wsWUFBWSxLQUFLLFNBQVM7UUFDMUIsWUFBWSxLQUFLLFFBQVE7UUFDekIsWUFBWSxLQUFLLFFBQVEsQ0FDMUIsQ0FBQztBQUNKLENBQUM7QUFFRCxNQUFNLFVBQVUsUUFBUSxDQUFDLFFBQWlCO0lBQ3hDLE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxLQUFLLFFBQVEsQ0FBQztBQUNyQyxDQUFDO0FBRUQsTUFBTSxVQUFVLE9BQU8sQ0FBQyxRQUFpQjtJQUN2QyxPQUFPLElBQUksQ0FBQyxRQUFRLENBQUMsS0FBSyxPQUFPLENBQUM7QUFDcEMsQ0FBQztBQUVELE1BQU0sVUFBVSxVQUFVLENBQUMsUUFBaUI7SUFDMUMsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDLEtBQUssVUFBVSxDQUFDO0FBQ3ZDLENBQUMifQ==
|
package/functions/types.lua
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
function ____exports.isBoolean(self, variable)
|
|
3
|
-
return type(variable) == "boolean"
|
|
4
|
-
end
|
|
5
|
-
function ____exports.isFunction(self, variable)
|
|
6
|
-
return type(variable) == "function"
|
|
7
|
-
end
|
|
8
|
-
function ____exports.isNumber(self, variable)
|
|
9
|
-
return type(variable) == "number"
|
|
10
|
-
end
|
|
11
|
-
--- Helper function to detect if a variable is a boolean, number, or string.
|
|
12
|
-
function ____exports.isPrimitive(self, variable)
|
|
13
|
-
local variableType = type(variable)
|
|
14
|
-
return variableType == "boolean" or variableType == "number" or variableType == "string"
|
|
15
|
-
end
|
|
16
|
-
function ____exports.isString(self, variable)
|
|
17
|
-
return type(variable) == "string"
|
|
18
|
-
end
|
|
19
|
-
function ____exports.isTable(self, variable)
|
|
20
|
-
return type(variable) == "table"
|
|
21
|
-
end
|
|
22
|
-
function ____exports.isUserdata(self, variable)
|
|
23
|
-
return type(variable) == "userdata"
|
|
24
|
-
end
|
|
25
|
-
return ____exports
|
|
26
|
-
|
|
27
|
-
--# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL2lzYWFjc2NyaXB0LWNvbW1vbi9zcmMvZnVuY3Rpb25zL3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxxQ0FBMEI7QUFDeEIsV0FBTyxLQUFLLGFBQWM7QUFENUI7QUFLQSxzQ0FBMkI7QUFDekIsV0FBTyxLQUFLLGFBQWM7QUFENUI7QUFJQSxvQ0FBeUI7QUFDdkIsV0FBTyxLQUFLLGFBQWM7QUFENUI7O0FBS0EsdUNBQ0U7QUFFTSx5QkFBZSxLQUFLO0FBQzFCLFdBQ0UsZ0JBQWlCLGFBQ2pCLGdCQUFpQixZQUNqQixnQkFBaUI7QUFQckI7QUFXQSxvQ0FBeUI7QUFDdkIsV0FBTyxLQUFLLGFBQWM7QUFENUI7QUFJQSxtQ0FBd0I7QUFDdEIsV0FBTyxLQUFLLGFBQWM7QUFENUI7QUFJQSxzQ0FBMkI7QUFDekIsV0FBTyxLQUFLLGFBQWM7QUFENUIiLCJmaWxlIjoidHlwZXMubHVhIiwic291cmNlUm9vdCI6IiJ9
|
package/functions/ui.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
3
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
4
|
-
/**
|
|
5
|
-
* In the options menu, players have the ability to set a HUD offset. However, mods do not have
|
|
6
|
-
* access to this value. To get around this, Mod Config Menu provides a separate HUD offset setting
|
|
7
|
-
* on the first page of the menu. This is intended to be set by end-users to match their vanilla HUD
|
|
8
|
-
* offset setting so that mods can render UI elements to the screen in the correct position.
|
|
9
|
-
*
|
|
10
|
-
* @returns If the user does not have Mod Config Menu enabled, or does not have this option set,
|
|
11
|
-
* then this function will return `Vector.Zero.` Otherwise, it will return a Vector that
|
|
12
|
-
* represents a HUD offset that should be added to the position of a UI element.
|
|
13
|
-
*/
|
|
14
|
-
export declare function getHUDOffsetVector(): Vector;
|
|
15
|
-
/**
|
|
16
|
-
* Returns how many hearts are in the heart UI row. If the player has more than 6 hearts, this
|
|
17
|
-
* function will return 6.
|
|
18
|
-
*/
|
|
19
|
-
export declare function getHeartRowLength(player: EntityPlayer): int;
|
|
20
|
-
/**
|
|
21
|
-
* Helper function to get the width of the first player's hearts on the UI. This is useful for
|
|
22
|
-
* drawing UI elements to the right of where the player's hearts are. Make sure to use this in
|
|
23
|
-
* combination with the the `getHUDOffsetVector` helper function.
|
|
24
|
-
*/
|
|
25
|
-
export declare function getHeartsUIWidth(): int;
|
|
26
|
-
export declare function getScreenBottomCenterPos(): Vector;
|
|
27
|
-
export declare function getScreenBottomLeftPos(): Vector;
|
|
28
|
-
export declare function getScreenBottomRightPos(): Vector;
|
|
29
|
-
export declare function getScreenCenterPos(): Vector;
|
|
30
|
-
export declare function getScreenTopCenterPos(): Vector;
|
|
31
|
-
export declare function getScreenTopLeftPos(): Vector;
|
|
32
|
-
export declare function getScreenTopRightPos(): Vector;
|
|
33
|
-
/**
|
|
34
|
-
* Get how many hearts are currently being shown on the hearts UI.
|
|
35
|
-
*
|
|
36
|
-
* This function is originally from piber20 Helper.
|
|
37
|
-
*/
|
|
38
|
-
export declare function getVisibleHearts(player: EntityPlayer): int;
|
package/functions/ui.js
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { CollectibleType, LevelCurse } from "isaac-typescript-definitions";
|
|
2
|
-
import { game } from "../cachedClasses";
|
|
3
|
-
import { UI_HEART_WIDTH, VectorZero } from "../constants";
|
|
4
|
-
import { copyVector } from "./vector";
|
|
5
|
-
/**
|
|
6
|
-
* In the options menu, players have the ability to set a HUD offset. However, mods do not have
|
|
7
|
-
* access to this value. To get around this, Mod Config Menu provides a separate HUD offset setting
|
|
8
|
-
* on the first page of the menu. This is intended to be set by end-users to match their vanilla HUD
|
|
9
|
-
* offset setting so that mods can render UI elements to the screen in the correct position.
|
|
10
|
-
*
|
|
11
|
-
* @returns If the user does not have Mod Config Menu enabled, or does not have this option set,
|
|
12
|
-
* then this function will return `Vector.Zero.` Otherwise, it will return a Vector that
|
|
13
|
-
* represents a HUD offset that should be added to the position of a UI element.
|
|
14
|
-
*/
|
|
15
|
-
export function getHUDOffsetVector() {
|
|
16
|
-
const defaultVector = copyVector(VectorZero);
|
|
17
|
-
// Convert e.g. 0.4 to 4.
|
|
18
|
-
const hudOffset = math.floor(Options.HUDOffset * 10);
|
|
19
|
-
// Expected values are integers between 1 and 10.
|
|
20
|
-
if (hudOffset < 1 || hudOffset > 10) {
|
|
21
|
-
return defaultVector;
|
|
22
|
-
}
|
|
23
|
-
const x = hudOffset * 2;
|
|
24
|
-
let y = hudOffset;
|
|
25
|
-
if (y >= 4) {
|
|
26
|
-
y += 1;
|
|
27
|
-
}
|
|
28
|
-
if (y >= 9) {
|
|
29
|
-
y += 1;
|
|
30
|
-
}
|
|
31
|
-
return Vector(x, y);
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Returns how many hearts are in the heart UI row. If the player has more than 6 hearts, this
|
|
35
|
-
* function will return 6.
|
|
36
|
-
*/
|
|
37
|
-
export function getHeartRowLength(player) {
|
|
38
|
-
const maxHearts = player.GetMaxHearts();
|
|
39
|
-
const soulHearts = player.GetSoulHearts();
|
|
40
|
-
const boneHearts = player.GetBoneHearts();
|
|
41
|
-
const combinedHearts = maxHearts + soulHearts + boneHearts * 2; // There are no half bone hearts
|
|
42
|
-
const heartRowLength = combinedHearts / 2;
|
|
43
|
-
// After 6 hearts, the hearts wrap to a second row.
|
|
44
|
-
return Math.min(heartRowLength, 6);
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Helper function to get the width of the first player's hearts on the UI. This is useful for
|
|
48
|
-
* drawing UI elements to the right of where the player's hearts are. Make sure to use this in
|
|
49
|
-
* combination with the the `getHUDOffsetVector` helper function.
|
|
50
|
-
*/
|
|
51
|
-
export function getHeartsUIWidth() {
|
|
52
|
-
const level = game.GetLevel();
|
|
53
|
-
const curses = level.GetCurses();
|
|
54
|
-
const player = Isaac.GetPlayer();
|
|
55
|
-
const extraLives = player.GetExtraLives();
|
|
56
|
-
const effects = player.GetEffects();
|
|
57
|
-
const hasHolyMantleEffect = effects.HasCollectibleEffect(CollectibleType.HOLY_MANTLE);
|
|
58
|
-
let heartRowLength = getHeartRowLength(player);
|
|
59
|
-
if (hasHolyMantleEffect) {
|
|
60
|
-
heartRowLength += 1;
|
|
61
|
-
}
|
|
62
|
-
if (curses === LevelCurse.UNKNOWN) {
|
|
63
|
-
heartRowLength = 1;
|
|
64
|
-
}
|
|
65
|
-
let width = heartRowLength * UI_HEART_WIDTH;
|
|
66
|
-
if (extraLives > 9) {
|
|
67
|
-
width += 20;
|
|
68
|
-
if (player.HasCollectible(CollectibleType.GUPPYS_COLLAR)) {
|
|
69
|
-
width += 6;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
else if (extraLives > 0) {
|
|
73
|
-
width += 16;
|
|
74
|
-
if (player.HasCollectible(CollectibleType.GUPPYS_COLLAR)) {
|
|
75
|
-
width += 4;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
return width;
|
|
79
|
-
}
|
|
80
|
-
export function getScreenBottomCenterPos() {
|
|
81
|
-
const bottomRight = getScreenBottomRightPos();
|
|
82
|
-
return Vector(bottomRight.X / 2, bottomRight.Y);
|
|
83
|
-
}
|
|
84
|
-
export function getScreenBottomLeftPos() {
|
|
85
|
-
const bottomRight = getScreenBottomRightPos();
|
|
86
|
-
return Vector(0, bottomRight.Y);
|
|
87
|
-
}
|
|
88
|
-
export function getScreenBottomRightPos() {
|
|
89
|
-
const screenWidth = Isaac.GetScreenWidth();
|
|
90
|
-
const screenHeight = Isaac.GetScreenHeight();
|
|
91
|
-
return Vector(screenWidth, screenHeight);
|
|
92
|
-
}
|
|
93
|
-
export function getScreenCenterPos() {
|
|
94
|
-
const bottomRight = getScreenBottomRightPos();
|
|
95
|
-
return bottomRight.div(2);
|
|
96
|
-
}
|
|
97
|
-
export function getScreenTopCenterPos() {
|
|
98
|
-
const bottomRight = getScreenBottomRightPos();
|
|
99
|
-
return Vector(bottomRight.X / 2, 0);
|
|
100
|
-
}
|
|
101
|
-
export function getScreenTopLeftPos() {
|
|
102
|
-
return copyVector(VectorZero);
|
|
103
|
-
}
|
|
104
|
-
export function getScreenTopRightPos() {
|
|
105
|
-
const bottomRight = getScreenBottomRightPos();
|
|
106
|
-
return Vector(bottomRight.X, 0);
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Get how many hearts are currently being shown on the hearts UI.
|
|
110
|
-
*
|
|
111
|
-
* This function is originally from piber20 Helper.
|
|
112
|
-
*/
|
|
113
|
-
export function getVisibleHearts(player) {
|
|
114
|
-
const effectiveMaxHearts = player.GetEffectiveMaxHearts();
|
|
115
|
-
const soulHearts = player.GetSoulHearts();
|
|
116
|
-
const boneHearts = player.GetBoneHearts();
|
|
117
|
-
const maxHearts = math.max(effectiveMaxHearts, boneHearts * 2);
|
|
118
|
-
let visibleHearts = math.ceil((maxHearts + soulHearts) / 2);
|
|
119
|
-
if (visibleHearts < 1) {
|
|
120
|
-
visibleHearts = 1;
|
|
121
|
-
}
|
|
122
|
-
return visibleHearts;
|
|
123
|
-
}
|
|
124
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9pc2FhY3NjcmlwdC1jb21tb24vc3JjL2Z1bmN0aW9ucy91aS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLFVBQVUsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQzNFLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUN4QyxPQUFPLEVBQUUsY0FBYyxFQUFFLFVBQVUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUMxRCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRXRDOzs7Ozs7Ozs7R0FTRztBQUNILE1BQU0sVUFBVSxrQkFBa0I7SUFDaEMsTUFBTSxhQUFhLEdBQUcsVUFBVSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0lBRTdDLHlCQUF5QjtJQUN6QixNQUFNLFNBQVMsR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxTQUFTLEdBQUcsRUFBRSxDQUFDLENBQUM7SUFFckQsaURBQWlEO0lBQ2pELElBQUksU0FBUyxHQUFHLENBQUMsSUFBSSxTQUFTLEdBQUcsRUFBRSxFQUFFO1FBQ25DLE9BQU8sYUFBYSxDQUFDO0tBQ3RCO0lBRUQsTUFBTSxDQUFDLEdBQUcsU0FBUyxHQUFHLENBQUMsQ0FBQztJQUN4QixJQUFJLENBQUMsR0FBRyxTQUFTLENBQUM7SUFDbEIsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFO1FBQ1YsQ0FBQyxJQUFJLENBQUMsQ0FBQztLQUNSO0lBQ0QsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFO1FBQ1YsQ0FBQyxJQUFJLENBQUMsQ0FBQztLQUNSO0lBRUQsT0FBTyxNQUFNLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDO0FBQ3RCLENBQUM7QUFFRDs7O0dBR0c7QUFDSCxNQUFNLFVBQVUsaUJBQWlCLENBQUMsTUFBb0I7SUFDcEQsTUFBTSxTQUFTLEdBQUcsTUFBTSxDQUFDLFlBQVksRUFBRSxDQUFDO0lBQ3hDLE1BQU0sVUFBVSxHQUFHLE1BQU0sQ0FBQyxhQUFhLEVBQUUsQ0FBQztJQUMxQyxNQUFNLFVBQVUsR0FBRyxNQUFNLENBQUMsYUFBYSxFQUFFLENBQUM7SUFFMUMsTUFBTSxjQUFjLEdBQUcsU0FBUyxHQUFHLFVBQVUsR0FBRyxVQUFVLEdBQUcsQ0FBQyxDQUFDLENBQUMsZ0NBQWdDO0lBQ2hHLE1BQU0sY0FBYyxHQUFHLGNBQWMsR0FBRyxDQUFDLENBQUM7SUFFMUMsbURBQW1EO0lBQ25ELE9BQU8sSUFBSSxDQUFDLEdBQUcsQ0FBQyxjQUFjLEVBQUUsQ0FBQyxDQUFDLENBQUM7QUFDckMsQ0FBQztBQUVEOzs7O0dBSUc7QUFDSCxNQUFNLFVBQVUsZ0JBQWdCO0lBQzlCLE1BQU0sS0FBSyxHQUFHLElBQUksQ0FBQyxRQUFRLEVBQUUsQ0FBQztJQUM5QixNQUFNLE1BQU0sR0FBRyxLQUFLLENBQUMsU0FBUyxFQUFFLENBQUM7SUFDakMsTUFBTSxNQUFNLEdBQUcsS0FBSyxDQUFDLFNBQVMsRUFBRSxDQUFDO0lBQ2pDLE1BQU0sVUFBVSxHQUFHLE1BQU0sQ0FBQyxhQUFhLEVBQUUsQ0FBQztJQUMxQyxNQUFNLE9BQU8sR0FBRyxNQUFNLENBQUMsVUFBVSxFQUFFLENBQUM7SUFDcEMsTUFBTSxtQkFBbUIsR0FBRyxPQUFPLENBQUMsb0JBQW9CLENBQ3RELGVBQWUsQ0FBQyxXQUFXLENBQzVCLENBQUM7SUFFRixJQUFJLGNBQWMsR0FBRyxpQkFBaUIsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUMvQyxJQUFJLG1CQUFtQixFQUFFO1FBQ3ZCLGNBQWMsSUFBSSxDQUFDLENBQUM7S0FDckI7SUFDRCxJQUFJLE1BQU0sS0FBSyxVQUFVLENBQUMsT0FBTyxFQUFFO1FBQ2pDLGNBQWMsR0FBRyxDQUFDLENBQUM7S0FDcEI7SUFFRCxJQUFJLEtBQUssR0FBRyxjQUFjLEdBQUcsY0FBYyxDQUFDO0lBQzVDLElBQUksVUFBVSxHQUFHLENBQUMsRUFBRTtRQUNsQixLQUFLLElBQUksRUFBRSxDQUFDO1FBQ1osSUFBSSxNQUFNLENBQUMsY0FBYyxDQUFDLGVBQWUsQ0FBQyxhQUFhLENBQUMsRUFBRTtZQUN4RCxLQUFLLElBQUksQ0FBQyxDQUFDO1NBQ1o7S0FDRjtTQUFNLElBQUksVUFBVSxHQUFHLENBQUMsRUFBRTtRQUN6QixLQUFLLElBQUksRUFBRSxDQUFDO1FBQ1osSUFBSSxNQUFNLENBQUMsY0FBYyxDQUFDLGVBQWUsQ0FBQyxhQUFhLENBQUMsRUFBRTtZQUN4RCxLQUFLLElBQUksQ0FBQyxDQUFDO1NBQ1o7S0FDRjtJQUVELE9BQU8sS0FBSyxDQUFDO0FBQ2YsQ0FBQztBQUVELE1BQU0sVUFBVSx3QkFBd0I7SUFDdEMsTUFBTSxXQUFXLEdBQUcsdUJBQXVCLEVBQUUsQ0FBQztJQUM5QyxPQUFPLE1BQU0sQ0FBQyxXQUFXLENBQUMsQ0FBQyxHQUFHLENBQUMsRUFBRSxXQUFXLENBQUMsQ0FBQyxDQUFDLENBQUM7QUFDbEQsQ0FBQztBQUVELE1BQU0sVUFBVSxzQkFBc0I7SUFDcEMsTUFBTSxXQUFXLEdBQUcsdUJBQXVCLEVBQUUsQ0FBQztJQUM5QyxPQUFPLE1BQU0sQ0FBQyxDQUFDLEVBQUUsV0FBVyxDQUFDLENBQUMsQ0FBQyxDQUFDO0FBQ2xDLENBQUM7QUFFRCxNQUFNLFVBQVUsdUJBQXVCO0lBQ3JDLE1BQU0sV0FBVyxHQUFHLEtBQUssQ0FBQyxjQUFjLEVBQUUsQ0FBQztJQUMzQyxNQUFNLFlBQVksR0FBRyxLQUFLLENBQUMsZUFBZSxFQUFFLENBQUM7SUFFN0MsT0FBTyxNQUFNLENBQUMsV0FBVyxFQUFFLFlBQVksQ0FBQyxDQUFDO0FBQzNDLENBQUM7QUFFRCxNQUFNLFVBQVUsa0JBQWtCO0lBQ2hDLE1BQU0sV0FBVyxHQUFHLHVCQUF1QixFQUFFLENBQUM7SUFDOUMsT0FBTyxXQUFXLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO0FBQzVCLENBQUM7QUFFRCxNQUFNLFVBQVUscUJBQXFCO0lBQ25DLE1BQU0sV0FBVyxHQUFHLHVCQUF1QixFQUFFLENBQUM7SUFDOUMsT0FBTyxNQUFNLENBQUMsV0FBVyxDQUFDLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUM7QUFDdEMsQ0FBQztBQUVELE1BQU0sVUFBVSxtQkFBbUI7SUFDakMsT0FBTyxVQUFVLENBQUMsVUFBVSxDQUFDLENBQUM7QUFDaEMsQ0FBQztBQUVELE1BQU0sVUFBVSxvQkFBb0I7SUFDbEMsTUFBTSxXQUFXLEdBQUcsdUJBQXVCLEVBQUUsQ0FBQztJQUM5QyxPQUFPLE1BQU0sQ0FBQyxXQUFXLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDO0FBQ2xDLENBQUM7QUFFRDs7OztHQUlHO0FBQ0gsTUFBTSxVQUFVLGdCQUFnQixDQUFDLE1BQW9CO0lBQ25ELE1BQU0sa0JBQWtCLEdBQUcsTUFBTSxDQUFDLHFCQUFxQixFQUFFLENBQUM7SUFDMUQsTUFBTSxVQUFVLEdBQUcsTUFBTSxDQUFDLGFBQWEsRUFBRSxDQUFDO0lBQzFDLE1BQU0sVUFBVSxHQUFHLE1BQU0sQ0FBQyxhQUFhLEVBQUUsQ0FBQztJQUUxQyxNQUFNLFNBQVMsR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDLGtCQUFrQixFQUFFLFVBQVUsR0FBRyxDQUFDLENBQUMsQ0FBQztJQUUvRCxJQUFJLGFBQWEsR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsU0FBUyxHQUFHLFVBQVUsQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDO0lBQzVELElBQUksYUFBYSxHQUFHLENBQUMsRUFBRTtRQUNyQixhQUFhLEdBQUcsQ0FBQyxDQUFDO0tBQ25CO0lBRUQsT0FBTyxhQUFhLENBQUM7QUFDdkIsQ0FBQyJ9
|
package/functions/ui.lua
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
3
|
-
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
4
|
-
local LevelCurse = ____isaac_2Dtypescript_2Ddefinitions.LevelCurse
|
|
5
|
-
local ____cachedClasses = require("cachedClasses")
|
|
6
|
-
local game = ____cachedClasses.game
|
|
7
|
-
local ____constants = require("constants")
|
|
8
|
-
local UI_HEART_WIDTH = ____constants.UI_HEART_WIDTH
|
|
9
|
-
local VectorZero = ____constants.VectorZero
|
|
10
|
-
local ____vector = require("functions.vector")
|
|
11
|
-
local copyVector = ____vector.copyVector
|
|
12
|
-
function ____exports.getScreenBottomRightPos(self)
|
|
13
|
-
local screenWidth = Isaac.GetScreenWidth()
|
|
14
|
-
local screenHeight = Isaac.GetScreenHeight()
|
|
15
|
-
return Vector(screenWidth, screenHeight)
|
|
16
|
-
end
|
|
17
|
-
--- In the options menu, players have the ability to set a HUD offset. However, mods do not have
|
|
18
|
-
-- access to this value. To get around this, Mod Config Menu provides a separate HUD offset setting
|
|
19
|
-
-- on the first page of the menu. This is intended to be set by end-users to match their vanilla HUD
|
|
20
|
-
-- offset setting so that mods can render UI elements to the screen in the correct position.
|
|
21
|
-
--
|
|
22
|
-
-- @returns If the user does not have Mod Config Menu enabled, or does not have this option set,
|
|
23
|
-
-- then this function will return `Vector.Zero.` Otherwise, it will return a Vector that
|
|
24
|
-
-- represents a HUD offset that should be added to the position of a UI element.
|
|
25
|
-
function ____exports.getHUDOffsetVector(self)
|
|
26
|
-
local defaultVector = copyVector(nil, VectorZero)
|
|
27
|
-
local hudOffset = math.floor(Options.HUDOffset * 10)
|
|
28
|
-
if hudOffset < 1 or hudOffset > 10 then
|
|
29
|
-
return defaultVector
|
|
30
|
-
end
|
|
31
|
-
local x = hudOffset * 2
|
|
32
|
-
local y = hudOffset
|
|
33
|
-
if y >= 4 then
|
|
34
|
-
y = y + 1
|
|
35
|
-
end
|
|
36
|
-
if y >= 9 then
|
|
37
|
-
y = y + 1
|
|
38
|
-
end
|
|
39
|
-
return Vector(x, y)
|
|
40
|
-
end
|
|
41
|
-
--- Returns how many hearts are in the heart UI row. If the player has more than 6 hearts, this
|
|
42
|
-
-- function will return 6.
|
|
43
|
-
function ____exports.getHeartRowLength(self, player)
|
|
44
|
-
local maxHearts = player:GetMaxHearts()
|
|
45
|
-
local soulHearts = player:GetSoulHearts()
|
|
46
|
-
local boneHearts = player:GetBoneHearts()
|
|
47
|
-
local combinedHearts = maxHearts + soulHearts + boneHearts * 2
|
|
48
|
-
local heartRowLength = combinedHearts / 2
|
|
49
|
-
return math.min(heartRowLength, 6)
|
|
50
|
-
end
|
|
51
|
-
--- Helper function to get the width of the first player's hearts on the UI. This is useful for
|
|
52
|
-
-- drawing UI elements to the right of where the player's hearts are. Make sure to use this in
|
|
53
|
-
-- combination with the the `getHUDOffsetVector` helper function.
|
|
54
|
-
function ____exports.getHeartsUIWidth(self)
|
|
55
|
-
local level = game:GetLevel()
|
|
56
|
-
local curses = level:GetCurses()
|
|
57
|
-
local player = Isaac.GetPlayer()
|
|
58
|
-
local extraLives = player:GetExtraLives()
|
|
59
|
-
local effects = player:GetEffects()
|
|
60
|
-
local hasHolyMantleEffect = effects:HasCollectibleEffect(CollectibleType.HOLY_MANTLE)
|
|
61
|
-
local heartRowLength = ____exports.getHeartRowLength(nil, player)
|
|
62
|
-
if hasHolyMantleEffect then
|
|
63
|
-
heartRowLength = heartRowLength + 1
|
|
64
|
-
end
|
|
65
|
-
if curses == LevelCurse.UNKNOWN then
|
|
66
|
-
heartRowLength = 1
|
|
67
|
-
end
|
|
68
|
-
local width = heartRowLength * UI_HEART_WIDTH
|
|
69
|
-
if extraLives > 9 then
|
|
70
|
-
width = width + 20
|
|
71
|
-
if player:HasCollectible(CollectibleType.GUPPYS_COLLAR) then
|
|
72
|
-
width = width + 6
|
|
73
|
-
end
|
|
74
|
-
elseif extraLives > 0 then
|
|
75
|
-
width = width + 16
|
|
76
|
-
if player:HasCollectible(CollectibleType.GUPPYS_COLLAR) then
|
|
77
|
-
width = width + 4
|
|
78
|
-
end
|
|
79
|
-
end
|
|
80
|
-
return width
|
|
81
|
-
end
|
|
82
|
-
function ____exports.getScreenBottomCenterPos(self)
|
|
83
|
-
local bottomRight = ____exports.getScreenBottomRightPos(nil)
|
|
84
|
-
return Vector(bottomRight.X / 2, bottomRight.Y)
|
|
85
|
-
end
|
|
86
|
-
function ____exports.getScreenBottomLeftPos(self)
|
|
87
|
-
local bottomRight = ____exports.getScreenBottomRightPos(nil)
|
|
88
|
-
return Vector(0, bottomRight.Y)
|
|
89
|
-
end
|
|
90
|
-
function ____exports.getScreenCenterPos(self)
|
|
91
|
-
local bottomRight = ____exports.getScreenBottomRightPos(nil)
|
|
92
|
-
return bottomRight / 2
|
|
93
|
-
end
|
|
94
|
-
function ____exports.getScreenTopCenterPos(self)
|
|
95
|
-
local bottomRight = ____exports.getScreenBottomRightPos(nil)
|
|
96
|
-
return Vector(bottomRight.X / 2, 0)
|
|
97
|
-
end
|
|
98
|
-
function ____exports.getScreenTopLeftPos(self)
|
|
99
|
-
return copyVector(nil, VectorZero)
|
|
100
|
-
end
|
|
101
|
-
function ____exports.getScreenTopRightPos(self)
|
|
102
|
-
local bottomRight = ____exports.getScreenBottomRightPos(nil)
|
|
103
|
-
return Vector(bottomRight.X, 0)
|
|
104
|
-
end
|
|
105
|
-
--- Get how many hearts are currently being shown on the hearts UI.
|
|
106
|
-
--
|
|
107
|
-
-- This function is originally from piber20 Helper.
|
|
108
|
-
function ____exports.getVisibleHearts(self, player)
|
|
109
|
-
local effectiveMaxHearts = player:GetEffectiveMaxHearts()
|
|
110
|
-
local soulHearts = player:GetSoulHearts()
|
|
111
|
-
local boneHearts = player:GetBoneHearts()
|
|
112
|
-
local maxHearts = math.max(effectiveMaxHearts, boneHearts * 2)
|
|
113
|
-
local visibleHearts = math.ceil((maxHearts + soulHearts) / 2)
|
|
114
|
-
if visibleHearts < 1 then
|
|
115
|
-
visibleHearts = 1
|
|
116
|
-
end
|
|
117
|
-
return visibleHearts
|
|
118
|
-
end
|
|
119
|
-
return ____exports
|
|
120
|
-
|
|
121
|
-
--# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL2lzYWFjc2NyaXB0LWNvbW1vbi9zcmMvZnVuY3Rpb25zL3VpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw2Q0FBNEM7QUFBbkM7QUFBaUI7QUFDMUIsMEJBQXFCO0FBQVo7QUFDVCxzQkFBMkM7QUFBbEM7QUFBZ0I7QUFDekIsbUJBQTJCO0FBQWxCO0FBb0dUO0FBQ1Esd0JBQWM7QUFDZCx5QkFBZTtBQUVyQixXQUFPLE9BQU8sYUFBYTtBQUo3Qjs7Ozs7Ozs7O0FBeEZBO0FBQ1EsMEJBQWdCLGdCQUFXO0FBRzNCLHNCQUFZLFdBQVcsb0JBQW9CO09BRzdDLFlBQVksS0FBSyxZQUFZO0FBQy9CLGVBQU87O0FBR0gsY0FBSSxZQUFZO0FBQ2xCLGNBQUk7T0FDSixLQUFLO0FBQ1AsZ0JBQUs7O09BRUgsS0FBSztBQUNQLGdCQUFLOztBQUdQLFdBQU8sT0FBTyxHQUFHO0FBcEJuQjs7O0FBMkJBLDZDQUFrQztBQUMxQixzQkFBWSxPQUFPO0FBQ25CLHVCQUFhLE9BQU87QUFDcEIsdUJBQWEsT0FBTztBQUVwQiwyQkFBaUIsWUFBWSxhQUFhLGFBQWE7QUFDdkQsMkJBQWlCLGlCQUFpQjtBQUd4QyxXQUFPLFNBQVMsZ0JBQWdCO0FBVGxDOzs7O0FBaUJBO0FBQ1Esa0JBQVEsS0FBSztBQUNiLG1CQUFTLE1BQU07QUFDZixtQkFBUztBQUNULHVCQUFhLE9BQU87QUFDcEIsb0JBQVUsT0FBTztBQUNqQixnQ0FBc0IsUUFBUSxxQkFDbEM7QUFHRSwyQkFBaUIsbUNBQWtCO09BQ25DO0FBQ0YsMENBQWtCOztPQUVoQixVQUFXO0FBQ2IseUJBQWlCOztBQUdmLGtCQUFRLGlCQUFpQjtPQUN6QixhQUFhO0FBQ2Ysd0JBQVM7V0FDTCxPQUFPLGVBQWU7QUFDeEIsNEJBQVM7O1dBRUYsYUFBYTtBQUN0Qix3QkFBUztXQUNMLE9BQU8sZUFBZTtBQUN4Qiw0QkFBUzs7O0FBSWIsV0FBTztBQS9CVDtBQWtDQTtBQUNRLHdCQUFjO0FBQ3BCLFdBQU8sT0FBTyxnQkFBZ0IsR0FBRztBQUZuQztBQUtBO0FBQ1Esd0JBQWM7QUFDcEIsV0FBTyxPQUFPLEdBQUc7QUFGbkI7QUFZQTtBQUNRLHdCQUFjO0FBQ3BCLFdBQU8sY0FBZ0I7QUFGekI7QUFLQTtBQUNRLHdCQUFjO0FBQ3BCLFdBQU8sT0FBTyxnQkFBZ0IsR0FBRztBQUZuQztBQUtBO0FBQ0UsV0FBTyxnQkFBVztBQURwQjtBQUlBO0FBQ1Esd0JBQWM7QUFDcEIsV0FBTyxPQUFPLGVBQWU7QUFGL0I7Ozs7QUFVQSw0Q0FBaUM7QUFDekIsK0JBQXFCLE9BQU87QUFDNUIsdUJBQWEsT0FBTztBQUNwQix1QkFBYSxPQUFPO0FBRXBCLHNCQUFZLFNBQVMsb0JBQW9CLGFBQWE7QUFFeEQsMEJBQWdCLFVBQVUsQ0FBQyxZQUFZLGNBQWM7T0FDckQsZ0JBQWdCO0FBQ2xCLHdCQUFnQjs7QUFHbEIsV0FBTztBQVpUIiwiZmlsZSI6InVpLmx1YSIsInNvdXJjZVJvb3QiOiIifQ==
|