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/roomData.js
DELETED
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
import { DoorSlotFlag, } from "isaac-typescript-definitions";
|
|
2
|
-
import { game } from "../cachedClasses";
|
|
3
|
-
import { doorSlotFlagToDoorSlot } from "./doors";
|
|
4
|
-
import { getEnumValues } from "./enums";
|
|
5
|
-
import { hasFlag } from "./flag";
|
|
6
|
-
/**
|
|
7
|
-
* Helper function to get the set of allowed door slots for the room at the supplied grid index.
|
|
8
|
-
* This corresponds to the doors that are enabled in the STB/XML file for the room.
|
|
9
|
-
*/
|
|
10
|
-
export function getRoomAllowedDoors(roomGridIndex) {
|
|
11
|
-
const allowedDoors = new Set();
|
|
12
|
-
const roomData = getRoomData(roomGridIndex);
|
|
13
|
-
if (roomData === undefined) {
|
|
14
|
-
return allowedDoors;
|
|
15
|
-
}
|
|
16
|
-
const doorSlotFlags = getEnumValues(DoorSlotFlag);
|
|
17
|
-
for (const doorSlotFlag of doorSlotFlags) {
|
|
18
|
-
if (hasFlag(roomData.Doors, doorSlotFlag)) {
|
|
19
|
-
const doorSlot = doorSlotFlagToDoorSlot(doorSlotFlag);
|
|
20
|
-
allowedDoors.add(doorSlot);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
return allowedDoors;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Helper function to get the room data for the provided room.
|
|
27
|
-
*
|
|
28
|
-
* @param roomGridIndex Optional. Default is the current room index.
|
|
29
|
-
*/
|
|
30
|
-
export function getRoomData(roomGridIndex) {
|
|
31
|
-
const roomDescriptor = getRoomDescriptor(roomGridIndex);
|
|
32
|
-
return roomDescriptor.Data;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Helper function to get the descriptor for a room.
|
|
36
|
-
*
|
|
37
|
-
* @param roomGridIndex Optional. Default is the current room index.
|
|
38
|
-
*/
|
|
39
|
-
export function getRoomDescriptor(roomGridIndex) {
|
|
40
|
-
const level = game.GetLevel();
|
|
41
|
-
if (roomGridIndex === undefined) {
|
|
42
|
-
roomGridIndex = getRoomGridIndex();
|
|
43
|
-
}
|
|
44
|
-
return level.GetRoomByIdx(roomGridIndex);
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Alias for the `Level.GetCurrentRoomDesc` method. Use this to make it more clear what type of
|
|
48
|
-
* `RoomDescriptor` object that you are retrieving.
|
|
49
|
-
*/
|
|
50
|
-
export function getRoomDescriptorReadOnly() {
|
|
51
|
-
const level = game.GetLevel();
|
|
52
|
-
return level.GetCurrentRoomDesc();
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Helper function to get the grid index of the current room.
|
|
56
|
-
*
|
|
57
|
-
* - If the current room is inside of the grid, this function will return the `SafeGridIndex` from
|
|
58
|
-
* the room descriptor. (The safe grid index is defined as the top-left 1x1 section that the room
|
|
59
|
-
* overlaps with, or the top-right 1x1 section of a `RoomType.SHAPE_LTL` room.)
|
|
60
|
-
* - If the current room is outside of the grid, it will return the index from the
|
|
61
|
-
* `Level.GetCurrentRoomIndex` method (since `SafeGridIndex` is bugged for these cases).
|
|
62
|
-
*
|
|
63
|
-
* Use this function instead of the `Level.GetCurrentRoomIndex` method directly because the latter
|
|
64
|
-
* will return the specific 1x1 quadrant that the player entered the room at. For most situations,
|
|
65
|
-
* using the safe grid index is more reliable than this.
|
|
66
|
-
*
|
|
67
|
-
* Data structures that store data per room should use the room's `ListIndex` instead of
|
|
68
|
-
* `SafeGridIndex`, since the former is unique across different dimensions.
|
|
69
|
-
*/
|
|
70
|
-
export function getRoomGridIndex() {
|
|
71
|
-
const level = game.GetLevel();
|
|
72
|
-
const currentRoomIndex = level.GetCurrentRoomIndex();
|
|
73
|
-
// Both `RoomDescriptor.GridIndex` and `RoomDescriptor.SafeGridIndex` will always be equal to -1
|
|
74
|
-
// for rooms outside of the grid. Thus, we revert to using the `Level.GetCurrentRoomIndex` method
|
|
75
|
-
// for these cases.
|
|
76
|
-
if (currentRoomIndex < 0) {
|
|
77
|
-
return currentRoomIndex;
|
|
78
|
-
}
|
|
79
|
-
const roomDescriptor = getRoomDescriptorReadOnly();
|
|
80
|
-
return roomDescriptor.SafeGridIndex;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Helper function to get the list grid index of the provided room, which is equal to the index in
|
|
84
|
-
* the `RoomList.Get` method. In other words, this is equal to the order that the room was created
|
|
85
|
-
* by the floor generation algorithm.
|
|
86
|
-
*
|
|
87
|
-
* Use this as an index for data structures that store data per room, since it is unique across
|
|
88
|
-
* different dimensions.
|
|
89
|
-
*
|
|
90
|
-
* @param roomGridIndex Optional. Default is the current room index.
|
|
91
|
-
*/
|
|
92
|
-
export function getRoomListIndex(roomGridIndex) {
|
|
93
|
-
const roomDescriptor = getRoomDescriptor(roomGridIndex);
|
|
94
|
-
return roomDescriptor.ListIndex;
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Helper function to get the name of the room as it appears in the STB/XML data.
|
|
98
|
-
*
|
|
99
|
-
* @param roomGridIndex Optional. Default is the current room index.
|
|
100
|
-
* @returns The room name. Returns "Unknown" if the type was not found.
|
|
101
|
-
*/
|
|
102
|
-
export function getRoomName(roomGridIndex) {
|
|
103
|
-
const roomData = getRoomData(roomGridIndex);
|
|
104
|
-
return roomData === undefined ? "Unknown" : roomData.Name;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Helper function to get the name of the room as it appears in the STB/XML data.
|
|
108
|
-
*
|
|
109
|
-
* @param roomGridIndex Optional. Default is the current room index.
|
|
110
|
-
* @returns The room name. Returns "Unknown" if the type was not found.
|
|
111
|
-
*/
|
|
112
|
-
export function getRoomShape(roomGridIndex) {
|
|
113
|
-
const roomData = getRoomData(roomGridIndex);
|
|
114
|
-
return roomData === undefined ? undefined : roomData.Shape;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Helper function to get the stage ID for a room from the XML/STB data. The room stage ID will
|
|
118
|
-
* correspond to the first number in the filename of the XML/STB file. For example, a Depths room
|
|
119
|
-
* would have a stage ID of 7.
|
|
120
|
-
*
|
|
121
|
-
* @param roomGridIndex Optional. Default is the current room index.
|
|
122
|
-
* @returns The room stage ID. Returns -1 if the stage ID was not found.
|
|
123
|
-
*/
|
|
124
|
-
export function getRoomStageID(roomGridIndex) {
|
|
125
|
-
const roomData = getRoomData(roomGridIndex);
|
|
126
|
-
return roomData === undefined ? -1 : roomData.StageID;
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Helper function to get the sub-type for a room from the XML/STB data. The room sub-type will
|
|
130
|
-
* correspond to different things depending on what XML/STB file it draws from. For example, in the
|
|
131
|
-
* "00.special rooms.stb" file, an Angel Room with a sub-type of 0 will correspond to a normal Angel
|
|
132
|
-
* Room and a sub-type of 1 will correspond to an Angel Room shop for The Stairway.
|
|
133
|
-
*
|
|
134
|
-
* @param roomGridIndex Optional. Default is the current room index.
|
|
135
|
-
* @returns The room sub-type. Returns -1 if the sub-type was not found.
|
|
136
|
-
*/
|
|
137
|
-
export function getRoomSubType(roomGridIndex) {
|
|
138
|
-
const roomData = getRoomData(roomGridIndex);
|
|
139
|
-
return roomData === undefined ? -1 : roomData.Subtype;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Helper function for getting the type of the room with the given grid index.
|
|
143
|
-
*
|
|
144
|
-
* @param roomGridIndex Optional. Default is the current room index.
|
|
145
|
-
* @returns The room data type. Returns -1 if the type was not found.
|
|
146
|
-
*/
|
|
147
|
-
export function getRoomType(roomGridIndex) {
|
|
148
|
-
const roomData = getRoomData(roomGridIndex);
|
|
149
|
-
return roomData === undefined ? -1 : roomData.Type;
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Helper function to get the variant for a room from the XML/STB data. You can think of a room
|
|
153
|
-
* variant as its identifier. For example, to go to Basement room #123, you would use a console
|
|
154
|
-
* command of `goto d.123` while on the Basement.
|
|
155
|
-
*
|
|
156
|
-
* @param roomGridIndex Optional. Default is the current room index.
|
|
157
|
-
* @returns The room variant. Returns -1 if the variant was not found.
|
|
158
|
-
*/
|
|
159
|
-
export function getRoomVariant(roomGridIndex) {
|
|
160
|
-
const roomData = getRoomData(roomGridIndex);
|
|
161
|
-
return roomData === undefined ? -1 : roomData.Variant;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Note that the room visited count will be inaccurate during the period before the PostNewRoom
|
|
165
|
-
* callback has fired (i.e. when entities are initializing and performing their first update). This
|
|
166
|
-
* is because the variable is only incremented immediately before the PostNewRoom callback fires.
|
|
167
|
-
*
|
|
168
|
-
* @param roomGridIndex Optional. Default is the current room index.
|
|
169
|
-
*/
|
|
170
|
-
export function getRoomVisitedCount(roomGridIndex) {
|
|
171
|
-
const roomDescriptor = getRoomDescriptor(roomGridIndex);
|
|
172
|
-
return roomDescriptor.VisitedCount;
|
|
173
|
-
}
|
|
174
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9vbURhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9pc2FhY3NjcmlwdC1jb21tb24vc3JjL2Z1bmN0aW9ucy9yb29tRGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUwsWUFBWSxHQUliLE1BQU0sOEJBQThCLENBQUM7QUFDdEMsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ3hDLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUNqRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQ3hDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxRQUFRLENBQUM7QUFFakM7OztHQUdHO0FBQ0gsTUFBTSxVQUFVLG1CQUFtQixDQUFDLGFBQW1CO0lBQ3JELE1BQU0sWUFBWSxHQUFHLElBQUksR0FBRyxFQUFZLENBQUM7SUFFekMsTUFBTSxRQUFRLEdBQUcsV0FBVyxDQUFDLGFBQWEsQ0FBQyxDQUFDO0lBQzVDLElBQUksUUFBUSxLQUFLLFNBQVMsRUFBRTtRQUMxQixPQUFPLFlBQVksQ0FBQztLQUNyQjtJQUVELE1BQU0sYUFBYSxHQUFHLGFBQWEsQ0FBQyxZQUFZLENBQUMsQ0FBQztJQUNsRCxLQUFLLE1BQU0sWUFBWSxJQUFJLGFBQWEsRUFBRTtRQUN4QyxJQUFJLE9BQU8sQ0FBQyxRQUFRLENBQUMsS0FBSyxFQUFFLFlBQVksQ0FBQyxFQUFFO1lBQ3pDLE1BQU0sUUFBUSxHQUFHLHNCQUFzQixDQUFDLFlBQVksQ0FBQyxDQUFDO1lBQ3RELFlBQVksQ0FBQyxHQUFHLENBQUMsUUFBUSxDQUFDLENBQUM7U0FDNUI7S0FDRjtJQUVELE9BQU8sWUFBWSxDQUFDO0FBQ3RCLENBQUM7QUFFRDs7OztHQUlHO0FBQ0gsTUFBTSxVQUFVLFdBQVcsQ0FBQyxhQUFtQjtJQUM3QyxNQUFNLGNBQWMsR0FBRyxpQkFBaUIsQ0FBQyxhQUFhLENBQUMsQ0FBQztJQUN4RCxPQUFPLGNBQWMsQ0FBQyxJQUFJLENBQUM7QUFDN0IsQ0FBQztBQUVEOzs7O0dBSUc7QUFDSCxNQUFNLFVBQVUsaUJBQWlCLENBQUMsYUFBbUI7SUFDbkQsTUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLFFBQVEsRUFBRSxDQUFDO0lBRTlCLElBQUksYUFBYSxLQUFLLFNBQVMsRUFBRTtRQUMvQixhQUFhLEdBQUcsZ0JBQWdCLEVBQUUsQ0FBQztLQUNwQztJQUVELE9BQU8sS0FBSyxDQUFDLFlBQVksQ0FBQyxhQUFhLENBQUMsQ0FBQztBQUMzQyxDQUFDO0FBRUQ7OztHQUdHO0FBQ0gsTUFBTSxVQUFVLHlCQUF5QjtJQUN2QyxNQUFNLEtBQUssR0FBRyxJQUFJLENBQUMsUUFBUSxFQUFFLENBQUM7SUFDOUIsT0FBTyxLQUFLLENBQUMsa0JBQWtCLEVBQUUsQ0FBQztBQUNwQyxDQUFDO0FBRUQ7Ozs7Ozs7Ozs7Ozs7OztHQWVHO0FBQ0gsTUFBTSxVQUFVLGdCQUFnQjtJQUM5QixNQUFNLEtBQUssR0FBRyxJQUFJLENBQUMsUUFBUSxFQUFFLENBQUM7SUFDOUIsTUFBTSxnQkFBZ0IsR0FBRyxLQUFLLENBQUMsbUJBQW1CLEVBQUUsQ0FBQztJQUVyRCxnR0FBZ0c7SUFDaEcsaUdBQWlHO0lBQ2pHLG1CQUFtQjtJQUNuQixJQUFJLGdCQUFnQixHQUFHLENBQUMsRUFBRTtRQUN4QixPQUFPLGdCQUFnQixDQUFDO0tBQ3pCO0lBRUQsTUFBTSxjQUFjLEdBQUcseUJBQXlCLEVBQUUsQ0FBQztJQUNuRCxPQUFPLGNBQWMsQ0FBQyxhQUFhLENBQUM7QUFDdEMsQ0FBQztBQUVEOzs7Ozs7Ozs7R0FTRztBQUNILE1BQU0sVUFBVSxnQkFBZ0IsQ0FBQyxhQUFtQjtJQUNsRCxNQUFNLGNBQWMsR0FBRyxpQkFBaUIsQ0FBQyxhQUFhLENBQUMsQ0FBQztJQUN4RCxPQUFPLGNBQWMsQ0FBQyxTQUFTLENBQUM7QUFDbEMsQ0FBQztBQUVEOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLFdBQVcsQ0FBQyxhQUFtQjtJQUM3QyxNQUFNLFFBQVEsR0FBRyxXQUFXLENBQUMsYUFBYSxDQUFDLENBQUM7SUFDNUMsT0FBTyxRQUFRLEtBQUssU0FBUyxDQUFDLENBQUMsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUM7QUFDNUQsQ0FBQztBQUVEOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLFlBQVksQ0FBQyxhQUFtQjtJQUM5QyxNQUFNLFFBQVEsR0FBRyxXQUFXLENBQUMsYUFBYSxDQUFDLENBQUM7SUFDNUMsT0FBTyxRQUFRLEtBQUssU0FBUyxDQUFDLENBQUMsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUM7QUFDN0QsQ0FBQztBQUVEOzs7Ozs7O0dBT0c7QUFDSCxNQUFNLFVBQVUsY0FBYyxDQUFDLGFBQW1CO0lBQ2hELE1BQU0sUUFBUSxHQUFHLFdBQVcsQ0FBQyxhQUFhLENBQUMsQ0FBQztJQUM1QyxPQUFPLFFBQVEsS0FBSyxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUMsT0FBTyxDQUFDO0FBQ3hELENBQUM7QUFFRDs7Ozs7Ozs7R0FRRztBQUNILE1BQU0sVUFBVSxjQUFjLENBQUMsYUFBbUI7SUFDaEQsTUFBTSxRQUFRLEdBQUcsV0FBVyxDQUFDLGFBQWEsQ0FBQyxDQUFDO0lBQzVDLE9BQU8sUUFBUSxLQUFLLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxPQUFPLENBQUM7QUFDeEQsQ0FBQztBQUVEOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLFdBQVcsQ0FBQyxhQUFtQjtJQUM3QyxNQUFNLFFBQVEsR0FBRyxXQUFXLENBQUMsYUFBYSxDQUFDLENBQUM7SUFDNUMsT0FBTyxRQUFRLEtBQUssU0FBUyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQztBQUNyRCxDQUFDO0FBRUQ7Ozs7Ozs7R0FPRztBQUNILE1BQU0sVUFBVSxjQUFjLENBQUMsYUFBbUI7SUFDaEQsTUFBTSxRQUFRLEdBQUcsV0FBVyxDQUFDLGFBQWEsQ0FBQyxDQUFDO0lBQzVDLE9BQU8sUUFBUSxLQUFLLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxPQUFPLENBQUM7QUFDeEQsQ0FBQztBQUVEOzs7Ozs7R0FNRztBQUNILE1BQU0sVUFBVSxtQkFBbUIsQ0FBQyxhQUFtQjtJQUNyRCxNQUFNLGNBQWMsR0FBRyxpQkFBaUIsQ0FBQyxhQUFhLENBQUMsQ0FBQztJQUN4RCxPQUFPLGNBQWMsQ0FBQyxZQUFZLENBQUM7QUFDckMsQ0FBQyJ9
|
package/functions/roomData.lua
DELETED
|
@@ -1,162 +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 ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
|
-
local DoorSlotFlag = ____isaac_2Dtypescript_2Ddefinitions.DoorSlotFlag
|
|
7
|
-
local ____cachedClasses = require("cachedClasses")
|
|
8
|
-
local game = ____cachedClasses.game
|
|
9
|
-
local ____doors = require("functions.doors")
|
|
10
|
-
local doorSlotFlagToDoorSlot = ____doors.doorSlotFlagToDoorSlot
|
|
11
|
-
local ____enums = require("functions.enums")
|
|
12
|
-
local getEnumValues = ____enums.getEnumValues
|
|
13
|
-
local ____flag = require("functions.flag")
|
|
14
|
-
local hasFlag = ____flag.hasFlag
|
|
15
|
-
--- Helper function to get the room data for the provided room.
|
|
16
|
-
--
|
|
17
|
-
-- @param roomGridIndex Optional. Default is the current room index.
|
|
18
|
-
function ____exports.getRoomData(self, roomGridIndex)
|
|
19
|
-
local roomDescriptor = ____exports.getRoomDescriptor(nil, roomGridIndex)
|
|
20
|
-
return roomDescriptor.Data
|
|
21
|
-
end
|
|
22
|
-
--- Helper function to get the descriptor for a room.
|
|
23
|
-
--
|
|
24
|
-
-- @param roomGridIndex Optional. Default is the current room index.
|
|
25
|
-
function ____exports.getRoomDescriptor(self, roomGridIndex)
|
|
26
|
-
local level = game:GetLevel()
|
|
27
|
-
if roomGridIndex == nil then
|
|
28
|
-
roomGridIndex = ____exports.getRoomGridIndex(nil)
|
|
29
|
-
end
|
|
30
|
-
return level:GetRoomByIdx(roomGridIndex)
|
|
31
|
-
end
|
|
32
|
-
--- Alias for the `Level.GetCurrentRoomDesc` method. Use this to make it more clear what type of
|
|
33
|
-
-- `RoomDescriptor` object that you are retrieving.
|
|
34
|
-
function ____exports.getRoomDescriptorReadOnly(self)
|
|
35
|
-
local level = game:GetLevel()
|
|
36
|
-
return level:GetCurrentRoomDesc()
|
|
37
|
-
end
|
|
38
|
-
--- Helper function to get the grid index of the current room.
|
|
39
|
-
--
|
|
40
|
-
-- - If the current room is inside of the grid, this function will return the `SafeGridIndex` from
|
|
41
|
-
-- the room descriptor. (The safe grid index is defined as the top-left 1x1 section that the room
|
|
42
|
-
-- overlaps with, or the top-right 1x1 section of a `RoomType.SHAPE_LTL` room.)
|
|
43
|
-
-- - If the current room is outside of the grid, it will return the index from the
|
|
44
|
-
-- `Level.GetCurrentRoomIndex` method (since `SafeGridIndex` is bugged for these cases).
|
|
45
|
-
--
|
|
46
|
-
-- Use this function instead of the `Level.GetCurrentRoomIndex` method directly because the latter
|
|
47
|
-
-- will return the specific 1x1 quadrant that the player entered the room at. For most situations,
|
|
48
|
-
-- using the safe grid index is more reliable than this.
|
|
49
|
-
--
|
|
50
|
-
-- Data structures that store data per room should use the room's `ListIndex` instead of
|
|
51
|
-
-- `SafeGridIndex`, since the former is unique across different dimensions.
|
|
52
|
-
function ____exports.getRoomGridIndex(self)
|
|
53
|
-
local level = game:GetLevel()
|
|
54
|
-
local currentRoomIndex = level:GetCurrentRoomIndex()
|
|
55
|
-
if currentRoomIndex < 0 then
|
|
56
|
-
return currentRoomIndex
|
|
57
|
-
end
|
|
58
|
-
local roomDescriptor = ____exports.getRoomDescriptorReadOnly(nil)
|
|
59
|
-
return roomDescriptor.SafeGridIndex
|
|
60
|
-
end
|
|
61
|
-
--- Helper function to get the set of allowed door slots for the room at the supplied grid index.
|
|
62
|
-
-- This corresponds to the doors that are enabled in the STB/XML file for the room.
|
|
63
|
-
function ____exports.getRoomAllowedDoors(self, roomGridIndex)
|
|
64
|
-
local allowedDoors = __TS__New(Set)
|
|
65
|
-
local roomData = ____exports.getRoomData(nil, roomGridIndex)
|
|
66
|
-
if roomData == nil then
|
|
67
|
-
return allowedDoors
|
|
68
|
-
end
|
|
69
|
-
local doorSlotFlags = getEnumValues(nil, DoorSlotFlag)
|
|
70
|
-
for ____, doorSlotFlag in ipairs(doorSlotFlags) do
|
|
71
|
-
if hasFlag(nil, roomData.Doors, doorSlotFlag) then
|
|
72
|
-
local doorSlot = doorSlotFlagToDoorSlot(nil, doorSlotFlag)
|
|
73
|
-
allowedDoors:add(doorSlot)
|
|
74
|
-
end
|
|
75
|
-
end
|
|
76
|
-
return allowedDoors
|
|
77
|
-
end
|
|
78
|
-
--- Helper function to get the list grid index of the provided room, which is equal to the index in
|
|
79
|
-
-- the `RoomList.Get` method. In other words, this is equal to the order that the room was created
|
|
80
|
-
-- by the floor generation algorithm.
|
|
81
|
-
--
|
|
82
|
-
-- Use this as an index for data structures that store data per room, since it is unique across
|
|
83
|
-
-- different dimensions.
|
|
84
|
-
--
|
|
85
|
-
-- @param roomGridIndex Optional. Default is the current room index.
|
|
86
|
-
function ____exports.getRoomListIndex(self, roomGridIndex)
|
|
87
|
-
local roomDescriptor = ____exports.getRoomDescriptor(nil, roomGridIndex)
|
|
88
|
-
return roomDescriptor.ListIndex
|
|
89
|
-
end
|
|
90
|
-
--- Helper function to get the name of the room as it appears in the STB/XML data.
|
|
91
|
-
--
|
|
92
|
-
-- @param roomGridIndex Optional. Default is the current room index.
|
|
93
|
-
-- @returns The room name. Returns "Unknown" if the type was not found.
|
|
94
|
-
function ____exports.getRoomName(self, roomGridIndex)
|
|
95
|
-
local roomData = ____exports.getRoomData(nil, roomGridIndex)
|
|
96
|
-
return roomData == nil and "Unknown" or roomData.Name
|
|
97
|
-
end
|
|
98
|
-
--- Helper function to get the name of the room as it appears in the STB/XML data.
|
|
99
|
-
--
|
|
100
|
-
-- @param roomGridIndex Optional. Default is the current room index.
|
|
101
|
-
-- @returns The room name. Returns "Unknown" if the type was not found.
|
|
102
|
-
function ____exports.getRoomShape(self, roomGridIndex)
|
|
103
|
-
local roomData = ____exports.getRoomData(nil, roomGridIndex)
|
|
104
|
-
local ____temp_0
|
|
105
|
-
if roomData == nil then
|
|
106
|
-
____temp_0 = nil
|
|
107
|
-
else
|
|
108
|
-
____temp_0 = roomData.Shape
|
|
109
|
-
end
|
|
110
|
-
return ____temp_0
|
|
111
|
-
end
|
|
112
|
-
--- Helper function to get the stage ID for a room from the XML/STB data. The room stage ID will
|
|
113
|
-
-- correspond to the first number in the filename of the XML/STB file. For example, a Depths room
|
|
114
|
-
-- would have a stage ID of 7.
|
|
115
|
-
--
|
|
116
|
-
-- @param roomGridIndex Optional. Default is the current room index.
|
|
117
|
-
-- @returns The room stage ID. Returns -1 if the stage ID was not found.
|
|
118
|
-
function ____exports.getRoomStageID(self, roomGridIndex)
|
|
119
|
-
local roomData = ____exports.getRoomData(nil, roomGridIndex)
|
|
120
|
-
return roomData == nil and -1 or roomData.StageID
|
|
121
|
-
end
|
|
122
|
-
--- Helper function to get the sub-type for a room from the XML/STB data. The room sub-type will
|
|
123
|
-
-- correspond to different things depending on what XML/STB file it draws from. For example, in the
|
|
124
|
-
-- "00.special rooms.stb" file, an Angel Room with a sub-type of 0 will correspond to a normal Angel
|
|
125
|
-
-- Room and a sub-type of 1 will correspond to an Angel Room shop for The Stairway.
|
|
126
|
-
--
|
|
127
|
-
-- @param roomGridIndex Optional. Default is the current room index.
|
|
128
|
-
-- @returns The room sub-type. Returns -1 if the sub-type was not found.
|
|
129
|
-
function ____exports.getRoomSubType(self, roomGridIndex)
|
|
130
|
-
local roomData = ____exports.getRoomData(nil, roomGridIndex)
|
|
131
|
-
return roomData == nil and -1 or roomData.Subtype
|
|
132
|
-
end
|
|
133
|
-
--- Helper function for getting the type of the room with the given grid index.
|
|
134
|
-
--
|
|
135
|
-
-- @param roomGridIndex Optional. Default is the current room index.
|
|
136
|
-
-- @returns The room data type. Returns -1 if the type was not found.
|
|
137
|
-
function ____exports.getRoomType(self, roomGridIndex)
|
|
138
|
-
local roomData = ____exports.getRoomData(nil, roomGridIndex)
|
|
139
|
-
return roomData == nil and -1 or roomData.Type
|
|
140
|
-
end
|
|
141
|
-
--- Helper function to get the variant for a room from the XML/STB data. You can think of a room
|
|
142
|
-
-- variant as its identifier. For example, to go to Basement room #123, you would use a console
|
|
143
|
-
-- command of `goto d.123` while on the Basement.
|
|
144
|
-
--
|
|
145
|
-
-- @param roomGridIndex Optional. Default is the current room index.
|
|
146
|
-
-- @returns The room variant. Returns -1 if the variant was not found.
|
|
147
|
-
function ____exports.getRoomVariant(self, roomGridIndex)
|
|
148
|
-
local roomData = ____exports.getRoomData(nil, roomGridIndex)
|
|
149
|
-
return roomData == nil and -1 or roomData.Variant
|
|
150
|
-
end
|
|
151
|
-
--- Note that the room visited count will be inaccurate during the period before the PostNewRoom
|
|
152
|
-
-- callback has fired (i.e. when entities are initializing and performing their first update). This
|
|
153
|
-
-- is because the variable is only incremented immediately before the PostNewRoom callback fires.
|
|
154
|
-
--
|
|
155
|
-
-- @param roomGridIndex Optional. Default is the current room index.
|
|
156
|
-
function ____exports.getRoomVisitedCount(self, roomGridIndex)
|
|
157
|
-
local roomDescriptor = ____exports.getRoomDescriptor(nil, roomGridIndex)
|
|
158
|
-
return roomDescriptor.VisitedCount
|
|
159
|
-
end
|
|
160
|
-
return ____exports
|
|
161
|
-
|
|
162
|
-
--# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL2lzYWFjc2NyaXB0LWNvbW1vbi9zcmMvZnVuY3Rpb25zL3Jvb21EYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSw2Q0FNTztBQUpMO0FBS0YsMEJBQXFCO0FBQVo7QUFDVCxrQkFBdUM7QUFBOUI7QUFDVCxrQkFBOEI7QUFBckI7QUFDVCxpQkFBd0I7QUFBZjs7OztBQThCVCx1Q0FBNEI7QUFDcEIsMkJBQWlCLG1DQUFrQjtBQUN6QyxXQUFPO0FBRlQ7Ozs7QUFVQSw2Q0FBa0M7QUFDMUIsa0JBQVEsS0FBSztPQUVmO0FBQ0Ysd0JBQWdCOztBQUdsQixXQUFPLE1BQU0sYUFBYTtBQVA1Qjs7O0FBY0E7QUFDUSxrQkFBUSxLQUFLO0FBQ25CLFdBQU8sTUFBTTtBQUZmOzs7Ozs7Ozs7Ozs7Ozs7QUFxQkE7QUFDUSxrQkFBUSxLQUFLO0FBQ2IsNkJBQW1CLE1BQU07T0FLM0IsbUJBQW1CO0FBQ3JCLGVBQU87O0FBR0gsMkJBQWlCO0FBQ3ZCLFdBQU87QUFaVDs7O0FBckVBLCtDQUFvQztBQUM1Qix5QkFBZSxVQUFJO0FBRW5CLHFCQUFXLDZCQUFZO09BQ3pCO0FBQ0YsZUFBTzs7QUFHSCwwQkFBZ0IsbUJBQWM7QUFDcEMsY0FBVyx1QkFBZ0I7V0FDckIsYUFBUSxnQkFBZ0I7QUFDcEIsNkJBQVcsNEJBQXVCO1lBQ3hDLGFBQWEsSUFBSTs7O0FBSXJCLFdBQU87QUFoQlQ7Ozs7Ozs7OztBQThGQSw0Q0FBaUM7QUFDekIsMkJBQWlCLG1DQUFrQjtBQUN6QyxXQUFPO0FBRlQ7Ozs7O0FBV0EsdUNBQTRCO0FBQ3BCLHFCQUFXLDZCQUFZO0FBQzdCLFdBQU8sb0JBQXlCLGFBQVk7QUFGOUM7Ozs7O0FBV0Esd0NBQTZCO0FBQ3JCLHFCQUFXLDZCQUFZO0FBQ3RCO09BQUE7QUFBeUI7O0FBQVk7O0FBQTVDO0FBRkY7Ozs7Ozs7QUFhQSwwQ0FBK0I7QUFDdkIscUJBQVcsNkJBQVk7QUFDN0IsV0FBTyxxQkFBMEIsS0FBSTtBQUZ2Qzs7Ozs7Ozs7QUFjQSwwQ0FBK0I7QUFDdkIscUJBQVcsNkJBQVk7QUFDN0IsV0FBTyxxQkFBMEIsS0FBSTtBQUZ2Qzs7Ozs7QUFXQSx1Q0FBNEI7QUFDcEIscUJBQVcsNkJBQVk7QUFDN0IsV0FBTyxxQkFBMEIsS0FBSTtBQUZ2Qzs7Ozs7OztBQWFBLDBDQUErQjtBQUN2QixxQkFBVyw2QkFBWTtBQUM3QixXQUFPLHFCQUEwQixLQUFJO0FBRnZDOzs7Ozs7QUFZQSwrQ0FBb0M7QUFDNUIsMkJBQWlCLG1DQUFrQjtBQUN6QyxXQUFPO0FBRlQiLCJmaWxlIjoicm9vbURhdGEubHVhIiwic291cmNlUm9vdCI6IiJ9
|
package/functions/roomGrid.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { RoomShape } from "isaac-typescript-definitions";
|
|
2
|
-
/**
|
|
3
|
-
* Helper function to convert grid coordinates to a world position `Vector`.
|
|
4
|
-
*
|
|
5
|
-
* For example, the coordinates of (0, 0) are equal to `Vector(80, 160)`.
|
|
6
|
-
*/
|
|
7
|
-
export declare function gridCoordinatesToWorldPosition(x: int, y: int): Vector;
|
|
8
|
-
/**
|
|
9
|
-
* Helper function to convert a grid index to a grid position.
|
|
10
|
-
*
|
|
11
|
-
* For example, in a 1x1 room, grid index 0 is equal to "Vector(-1, -1) and grid index 16 is equal
|
|
12
|
-
* to "Vector(0, 0)".
|
|
13
|
-
*/
|
|
14
|
-
export declare function gridIndexToGridPosition(gridIndex: int, roomShape: RoomShape): Vector;
|
|
15
|
-
/**
|
|
16
|
-
* Helper function to convert a grid position `Vector` to a world position `Vector`.
|
|
17
|
-
*
|
|
18
|
-
* For example, the coordinates of (0, 0) are equal to `Vector(80, 160)`.
|
|
19
|
-
*/
|
|
20
|
-
export declare function gridPositionToWorldPosition(gridPosition: Vector): Vector;
|
|
21
|
-
/**
|
|
22
|
-
* Test if a grid position is actually in the given `RoomShape`.
|
|
23
|
-
*
|
|
24
|
-
* In this context, the grid position of the top-left wall is "Vector(-1, -1)".
|
|
25
|
-
*/
|
|
26
|
-
export declare function isValidGridPosition(gridPosition: Vector, roomShape: RoomShape): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Helper function to convert a world position `Vector` to a grid position `Vector`.
|
|
29
|
-
*
|
|
30
|
-
* In this context, the grid position of the top-left wall is "Vector(-1, -1)".
|
|
31
|
-
*/
|
|
32
|
-
export declare function worldPositionToGridPosition(worldPos: Vector): Vector;
|
|
33
|
-
/**
|
|
34
|
-
* Helper function to convert a world position `Vector` to a grid position `Vector`.
|
|
35
|
-
*
|
|
36
|
-
* In this context, the grid position of the top-left wall is "Vector(-1, -1)".
|
|
37
|
-
*
|
|
38
|
-
* This is similar to the `worldPositionToGridPosition` function, but the values are not rounded.
|
|
39
|
-
*/
|
|
40
|
-
export declare function worldPositionToGridPositionFast(worldPos: Vector): Vector;
|
package/functions/roomGrid.js
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { L_ROOM_SHAPE_TO_RECTANGLES } from "../objects/LRoomShapeToRectangles";
|
|
2
|
-
import { inRectangle } from "./math";
|
|
3
|
-
import { getRoomShapeBottomRightPosition, getRoomShapeTopLeftPosition, getRoomShapeWidth, isLRoom, } from "./roomShape";
|
|
4
|
-
/**
|
|
5
|
-
* Helper function to convert grid coordinates to a world position `Vector`.
|
|
6
|
-
*
|
|
7
|
-
* For example, the coordinates of (0, 0) are equal to `Vector(80, 160)`.
|
|
8
|
-
*/
|
|
9
|
-
export function gridCoordinatesToWorldPosition(x, y) {
|
|
10
|
-
const gridPosition = Vector(x, y);
|
|
11
|
-
return gridPositionToWorldPosition(gridPosition);
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Helper function to convert a grid index to a grid position.
|
|
15
|
-
*
|
|
16
|
-
* For example, in a 1x1 room, grid index 0 is equal to "Vector(-1, -1) and grid index 16 is equal
|
|
17
|
-
* to "Vector(0, 0)".
|
|
18
|
-
*/
|
|
19
|
-
export function gridIndexToGridPosition(gridIndex, roomShape) {
|
|
20
|
-
const gridWidth = getRoomShapeWidth(roomShape);
|
|
21
|
-
const x = (gridIndex % gridWidth) - 1;
|
|
22
|
-
const y = Math.floor(gridIndex / gridWidth) - 1;
|
|
23
|
-
return Vector(x, y);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Helper function to convert a grid position `Vector` to a world position `Vector`.
|
|
27
|
-
*
|
|
28
|
-
* For example, the coordinates of (0, 0) are equal to `Vector(80, 160)`.
|
|
29
|
-
*/
|
|
30
|
-
export function gridPositionToWorldPosition(gridPosition) {
|
|
31
|
-
const x = (gridPosition.X + 2) * 40;
|
|
32
|
-
const y = (gridPosition.Y + 4) * 40;
|
|
33
|
-
return Vector(x, y);
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Test if a grid position is actually in the given `RoomShape`.
|
|
37
|
-
*
|
|
38
|
-
* In this context, the grid position of the top-left wall is "Vector(-1, -1)".
|
|
39
|
-
*/
|
|
40
|
-
export function isValidGridPosition(gridPosition, roomShape) {
|
|
41
|
-
return isLRoom(roomShape)
|
|
42
|
-
? isValidGridPositionLRoom(gridPosition, roomShape)
|
|
43
|
-
: isValidGridPositionNormal(gridPosition, roomShape);
|
|
44
|
-
}
|
|
45
|
-
function isValidGridPositionNormal(gridPosition, roomShape) {
|
|
46
|
-
const topLeft = getRoomShapeTopLeftPosition(roomShape);
|
|
47
|
-
const bottomRight = getRoomShapeBottomRightPosition(roomShape);
|
|
48
|
-
return inRectangle(gridPosition, topLeft, bottomRight);
|
|
49
|
-
}
|
|
50
|
-
function isValidGridPositionLRoom(gridPosition, roomShape) {
|
|
51
|
-
const rectangles = L_ROOM_SHAPE_TO_RECTANGLES[roomShape];
|
|
52
|
-
if (rectangles === undefined) {
|
|
53
|
-
return false;
|
|
54
|
-
}
|
|
55
|
-
const [verticalTopLeft, verticalBottomRight, horizontalTopLeft, horizontalBottomRight,] = rectangles;
|
|
56
|
-
return (inRectangle(gridPosition, verticalTopLeft, verticalBottomRight) ||
|
|
57
|
-
inRectangle(gridPosition, horizontalTopLeft, horizontalBottomRight));
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Helper function to convert a world position `Vector` to a grid position `Vector`.
|
|
61
|
-
*
|
|
62
|
-
* In this context, the grid position of the top-left wall is "Vector(-1, -1)".
|
|
63
|
-
*/
|
|
64
|
-
export function worldPositionToGridPosition(worldPos) {
|
|
65
|
-
const x = Math.round(worldPos.X / 40 - 2);
|
|
66
|
-
const y = Math.round(worldPos.Y / 40 - 4);
|
|
67
|
-
return Vector(x, y);
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Helper function to convert a world position `Vector` to a grid position `Vector`.
|
|
71
|
-
*
|
|
72
|
-
* In this context, the grid position of the top-left wall is "Vector(-1, -1)".
|
|
73
|
-
*
|
|
74
|
-
* This is similar to the `worldPositionToGridPosition` function, but the values are not rounded.
|
|
75
|
-
*/
|
|
76
|
-
export function worldPositionToGridPositionFast(worldPos) {
|
|
77
|
-
const x = worldPos.X / 40 - 2;
|
|
78
|
-
const y = worldPos.Y / 40 - 4;
|
|
79
|
-
return Vector(x, y);
|
|
80
|
-
}
|
|
81
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9vbUdyaWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9pc2FhY3NjcmlwdC1jb21tb24vc3JjL2Z1bmN0aW9ucy9yb29tR3JpZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUMvRSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sUUFBUSxDQUFDO0FBQ3JDLE9BQU8sRUFDTCwrQkFBK0IsRUFDL0IsMkJBQTJCLEVBQzNCLGlCQUFpQixFQUNqQixPQUFPLEdBQ1IsTUFBTSxhQUFhLENBQUM7QUFFckI7Ozs7R0FJRztBQUNILE1BQU0sVUFBVSw4QkFBOEIsQ0FBQyxDQUFNLEVBQUUsQ0FBTTtJQUMzRCxNQUFNLFlBQVksR0FBRyxNQUFNLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDO0lBQ2xDLE9BQU8sMkJBQTJCLENBQUMsWUFBWSxDQUFDLENBQUM7QUFDbkQsQ0FBQztBQUVEOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLHVCQUF1QixDQUNyQyxTQUFjLEVBQ2QsU0FBb0I7SUFFcEIsTUFBTSxTQUFTLEdBQUcsaUJBQWlCLENBQUMsU0FBUyxDQUFDLENBQUM7SUFFL0MsTUFBTSxDQUFDLEdBQUcsQ0FBQyxTQUFTLEdBQUcsU0FBUyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQ3RDLE1BQU0sQ0FBQyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsU0FBUyxHQUFHLFNBQVMsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUNoRCxPQUFPLE1BQU0sQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUM7QUFDdEIsQ0FBQztBQUVEOzs7O0dBSUc7QUFDSCxNQUFNLFVBQVUsMkJBQTJCLENBQUMsWUFBb0I7SUFDOUQsTUFBTSxDQUFDLEdBQUcsQ0FBQyxZQUFZLENBQUMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxHQUFHLEVBQUUsQ0FBQztJQUNwQyxNQUFNLENBQUMsR0FBRyxDQUFDLFlBQVksQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQ3BDLE9BQU8sTUFBTSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQztBQUN0QixDQUFDO0FBRUQ7Ozs7R0FJRztBQUNILE1BQU0sVUFBVSxtQkFBbUIsQ0FDakMsWUFBb0IsRUFDcEIsU0FBb0I7SUFFcEIsT0FBTyxPQUFPLENBQUMsU0FBUyxDQUFDO1FBQ3ZCLENBQUMsQ0FBQyx3QkFBd0IsQ0FBQyxZQUFZLEVBQUUsU0FBUyxDQUFDO1FBQ25ELENBQUMsQ0FBQyx5QkFBeUIsQ0FBQyxZQUFZLEVBQUUsU0FBUyxDQUFDLENBQUM7QUFDekQsQ0FBQztBQUVELFNBQVMseUJBQXlCLENBQUMsWUFBb0IsRUFBRSxTQUFvQjtJQUMzRSxNQUFNLE9BQU8sR0FBRywyQkFBMkIsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUN2RCxNQUFNLFdBQVcsR0FBRywrQkFBK0IsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUMvRCxPQUFPLFdBQVcsQ0FBQyxZQUFZLEVBQUUsT0FBTyxFQUFFLFdBQVcsQ0FBQyxDQUFDO0FBQ3pELENBQUM7QUFFRCxTQUFTLHdCQUF3QixDQUFDLFlBQW9CLEVBQUUsU0FBb0I7SUFDMUUsTUFBTSxVQUFVLEdBQUcsMEJBQTBCLENBQUMsU0FBUyxDQUFDLENBQUM7SUFDekQsSUFBSSxVQUFVLEtBQUssU0FBUyxFQUFFO1FBQzVCLE9BQU8sS0FBSyxDQUFDO0tBQ2Q7SUFFRCxNQUFNLENBQ0osZUFBZSxFQUNmLG1CQUFtQixFQUNuQixpQkFBaUIsRUFDakIscUJBQXFCLEVBQ3RCLEdBQUcsVUFBVSxDQUFDO0lBQ2YsT0FBTyxDQUNMLFdBQVcsQ0FBQyxZQUFZLEVBQUUsZUFBZSxFQUFFLG1CQUFtQixDQUFDO1FBQy9ELFdBQVcsQ0FBQyxZQUFZLEVBQUUsaUJBQWlCLEVBQUUscUJBQXFCLENBQUMsQ0FDcEUsQ0FBQztBQUNKLENBQUM7QUFFRDs7OztHQUlHO0FBQ0gsTUFBTSxVQUFVLDJCQUEyQixDQUFDLFFBQWdCO0lBQzFELE1BQU0sQ0FBQyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsUUFBUSxDQUFDLENBQUMsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUFDLENBQUM7SUFDMUMsTUFBTSxDQUFDLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxRQUFRLENBQUMsQ0FBQyxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQztJQUMxQyxPQUFPLE1BQU0sQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUM7QUFDdEIsQ0FBQztBQUVEOzs7Ozs7R0FNRztBQUNILE1BQU0sVUFBVSwrQkFBK0IsQ0FBQyxRQUFnQjtJQUM5RCxNQUFNLENBQUMsR0FBRyxRQUFRLENBQUMsQ0FBQyxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQUM7SUFDOUIsTUFBTSxDQUFDLEdBQUcsUUFBUSxDQUFDLENBQUMsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUFDO0lBQzlCLE9BQU8sTUFBTSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQztBQUN0QixDQUFDIn0=
|
package/functions/roomGrid.lua
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
local isValidGridPositionNormal, isValidGridPositionLRoom
|
|
3
|
-
local ____LRoomShapeToRectangles = require("objects.LRoomShapeToRectangles")
|
|
4
|
-
local L_ROOM_SHAPE_TO_RECTANGLES = ____LRoomShapeToRectangles.L_ROOM_SHAPE_TO_RECTANGLES
|
|
5
|
-
local ____math = require("functions.math")
|
|
6
|
-
local inRectangle = ____math.inRectangle
|
|
7
|
-
local ____roomShape = require("functions.roomShape")
|
|
8
|
-
local getRoomShapeBottomRightPosition = ____roomShape.getRoomShapeBottomRightPosition
|
|
9
|
-
local getRoomShapeTopLeftPosition = ____roomShape.getRoomShapeTopLeftPosition
|
|
10
|
-
local getRoomShapeWidth = ____roomShape.getRoomShapeWidth
|
|
11
|
-
local isLRoom = ____roomShape.isLRoom
|
|
12
|
-
--- Helper function to convert a grid position `Vector` to a world position `Vector`.
|
|
13
|
-
--
|
|
14
|
-
-- For example, the coordinates of (0, 0) are equal to `Vector(80, 160)`.
|
|
15
|
-
function ____exports.gridPositionToWorldPosition(self, gridPosition)
|
|
16
|
-
local x = (gridPosition.X + 2) * 40
|
|
17
|
-
local y = (gridPosition.Y + 4) * 40
|
|
18
|
-
return Vector(x, y)
|
|
19
|
-
end
|
|
20
|
-
function isValidGridPositionNormal(self, gridPosition, roomShape)
|
|
21
|
-
local topLeft = getRoomShapeTopLeftPosition(nil, roomShape)
|
|
22
|
-
local bottomRight = getRoomShapeBottomRightPosition(nil, roomShape)
|
|
23
|
-
return inRectangle(nil, gridPosition, topLeft, bottomRight)
|
|
24
|
-
end
|
|
25
|
-
function isValidGridPositionLRoom(self, gridPosition, roomShape)
|
|
26
|
-
local rectangles = L_ROOM_SHAPE_TO_RECTANGLES[roomShape]
|
|
27
|
-
if rectangles == nil then
|
|
28
|
-
return false
|
|
29
|
-
end
|
|
30
|
-
local verticalTopLeft, verticalBottomRight, horizontalTopLeft, horizontalBottomRight = table.unpack(rectangles)
|
|
31
|
-
return inRectangle(nil, gridPosition, verticalTopLeft, verticalBottomRight) or inRectangle(nil, gridPosition, horizontalTopLeft, horizontalBottomRight)
|
|
32
|
-
end
|
|
33
|
-
--- Helper function to convert grid coordinates to a world position `Vector`.
|
|
34
|
-
--
|
|
35
|
-
-- For example, the coordinates of (0, 0) are equal to `Vector(80, 160)`.
|
|
36
|
-
function ____exports.gridCoordinatesToWorldPosition(self, x, y)
|
|
37
|
-
local gridPosition = Vector(x, y)
|
|
38
|
-
return ____exports.gridPositionToWorldPosition(nil, gridPosition)
|
|
39
|
-
end
|
|
40
|
-
--- Helper function to convert a grid index to a grid position.
|
|
41
|
-
--
|
|
42
|
-
-- For example, in a 1x1 room, grid index 0 is equal to "Vector(-1, -1) and grid index 16 is equal
|
|
43
|
-
-- to "Vector(0, 0)".
|
|
44
|
-
function ____exports.gridIndexToGridPosition(self, gridIndex, roomShape)
|
|
45
|
-
local gridWidth = getRoomShapeWidth(nil, roomShape)
|
|
46
|
-
local x = gridIndex % gridWidth - 1
|
|
47
|
-
local y = math.floor(gridIndex / gridWidth) - 1
|
|
48
|
-
return Vector(x, y)
|
|
49
|
-
end
|
|
50
|
-
--- Test if a grid position is actually in the given `RoomShape`.
|
|
51
|
-
--
|
|
52
|
-
-- In this context, the grid position of the top-left wall is "Vector(-1, -1)".
|
|
53
|
-
function ____exports.isValidGridPosition(self, gridPosition, roomShape)
|
|
54
|
-
local ____isLRoom_result_0
|
|
55
|
-
if isLRoom(nil, roomShape) then
|
|
56
|
-
____isLRoom_result_0 = isValidGridPositionLRoom(nil, gridPosition, roomShape)
|
|
57
|
-
else
|
|
58
|
-
____isLRoom_result_0 = isValidGridPositionNormal(nil, gridPosition, roomShape)
|
|
59
|
-
end
|
|
60
|
-
return ____isLRoom_result_0
|
|
61
|
-
end
|
|
62
|
-
--- Helper function to convert a world position `Vector` to a grid position `Vector`.
|
|
63
|
-
--
|
|
64
|
-
-- In this context, the grid position of the top-left wall is "Vector(-1, -1)".
|
|
65
|
-
function ____exports.worldPositionToGridPosition(self, worldPos)
|
|
66
|
-
local x = math.floor(worldPos.X / 40 - 2 + 0.5)
|
|
67
|
-
local y = math.floor(worldPos.Y / 40 - 4 + 0.5)
|
|
68
|
-
return Vector(x, y)
|
|
69
|
-
end
|
|
70
|
-
--- Helper function to convert a world position `Vector` to a grid position `Vector`.
|
|
71
|
-
--
|
|
72
|
-
-- In this context, the grid position of the top-left wall is "Vector(-1, -1)".
|
|
73
|
-
--
|
|
74
|
-
-- This is similar to the `worldPositionToGridPosition` function, but the values are not rounded.
|
|
75
|
-
function ____exports.worldPositionToGridPositionFast(self, worldPos)
|
|
76
|
-
local x = worldPos.X / 40 - 2
|
|
77
|
-
local y = worldPos.Y / 40 - 4
|
|
78
|
-
return Vector(x, y)
|
|
79
|
-
end
|
|
80
|
-
return ____exports
|
|
81
|
-
|
|
82
|
-
--# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL2lzYWFjc2NyaXB0LWNvbW1vbi9zcmMvZnVuY3Rpb25zL3Jvb21HcmlkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7TUE4RFMsMkJBTUE7QUFuRVQsbUNBQTJDO0FBQWxDO0FBQ1QsaUJBQTRCO0FBQW5CO0FBQ1Qsc0JBS087QUFKTDtBQUNBO0FBQ0E7QUFDQTs7OztBQW1DRix1REFBNEM7QUFDcEMsY0FBSSxDQUFDLGlCQUFpQixLQUFLO0FBQzNCLGNBQUksQ0FBQyxpQkFBaUIsS0FBSztBQUNqQyxXQUFPLE9BQU8sR0FBRztBQUhuQjtBQW9CQSxTQUFTLGdDQUEwQixjQUFzQjtBQUNqRCxvQkFBVSxpQ0FBNEI7QUFDdEMsd0JBQWMscUNBQWdDO0FBQ3BELFdBQU8saUJBQVksY0FBYyxTQUFTOztBQUc1QyxTQUFTLCtCQUF5QixjQUFzQjtBQUNoRCx1QkFBYSwyQkFBMkI7T0FDMUM7QUFDRixlQUFPOztBQVFMLFVBSkYsaUJBQ0EscUJBQ0EsbUJBQ0Esd0JBQ0U7QUFDSixXQUNFLGlCQUFZLGNBQWMsaUJBQWlCLHdCQUMzQyxpQkFBWSxjQUFjLG1CQUFtQjs7Ozs7QUFuRWpELDBEQUErQyxHQUFRO0FBQy9DLHlCQUFlLE9BQU8sR0FBRztBQUMvQixXQUFPLDZDQUE0QjtBQUZyQzs7Ozs7QUFXQSxtREFDRSxXQUNBO0FBRU0sc0JBQVksdUJBQWtCO0FBRTlCLGNBQUksWUFBYSxZQUFhO0FBQzlCLGNBQUksV0FBVyxZQUFZLGFBQWE7QUFDOUMsV0FBTyxPQUFPLEdBQUc7QUFSbkI7Ozs7QUEyQkEsK0NBQ0UsY0FDQTtBQUVPO09BQUEsYUFBUTtBQUNYLDZEQUF5QixjQUFjOztBQUN2Qyw4REFBMEIsY0FBYzs7QUFGNUM7QUFKRjs7OztBQXNDQSx1REFBNEM7QUFDcEMsY0FBSSxXQUFXLGFBQWEsS0FBSztBQUNqQyxjQUFJLFdBQVcsYUFBYSxLQUFLO0FBQ3ZDLFdBQU8sT0FBTyxHQUFHO0FBSG5COzs7Ozs7QUFhQSwyREFBZ0Q7QUFDeEMsY0FBSSxhQUFhLEtBQUs7QUFDdEIsY0FBSSxhQUFhLEtBQUs7QUFDNUIsV0FBTyxPQUFPLEdBQUc7QUFIbkIiLCJmaWxlIjoicm9vbUdyaWQubHVhIiwic291cmNlUm9vdCI6IiJ9
|
package/functions/roomShape.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { DoorSlot, RoomShape } from "isaac-typescript-definitions";
|
|
2
|
-
import { Corner } from "../interfaces/Corner";
|
|
3
|
-
/**
|
|
4
|
-
* Helper function to get the grid index delta that a door out of the given room shape would lead
|
|
5
|
-
* to. For example, if you went through the bottom door in a room of `RoomShape.SHAPE_1x2`, you
|
|
6
|
-
* would end up in a room with a grid index that is +26 units from the `SafeGridIndex` of where you
|
|
7
|
-
* started.
|
|
8
|
-
*/
|
|
9
|
-
export declare function getGridIndexDelta(roomShape: RoomShape, doorSlot: DoorSlot): int | undefined;
|
|
10
|
-
/**
|
|
11
|
-
* Helper function to see if a given room shape will grant a single charge or a double charge to the
|
|
12
|
-
* player's active item(s).
|
|
13
|
-
*
|
|
14
|
-
* For example, `RoomShape.SHAPE_2x2` will return 2.
|
|
15
|
-
*/
|
|
16
|
-
export declare function getRoomShapeBottomRightPosition(roomShape: RoomShape): Readonly<Vector>;
|
|
17
|
-
/**
|
|
18
|
-
* Helper function to get the grid position of the bottom-right tile of a given room shape.
|
|
19
|
-
*
|
|
20
|
-
* "Vector(0, 0)" corresponds to the top left tile of a room, not including the walls. (The top-left
|
|
21
|
-
* wall would be at "Vector(-1, -1)".)
|
|
22
|
-
*/
|
|
23
|
-
export declare function getRoomShapeBounds(roomShape: RoomShape): readonly [width: int, height: int];
|
|
24
|
-
/**
|
|
25
|
-
* Helper function to get the number of charges that a given room shape will grant to a player upon
|
|
26
|
-
* clearing it.
|
|
27
|
-
*
|
|
28
|
-
* For example, `RoomShape.SHAPE_2x2` will return 2.
|
|
29
|
-
*/
|
|
30
|
-
export declare function getRoomShapeCharges(roomShape: RoomShape): int;
|
|
31
|
-
/** Helper function to get the corners that exist in the given room shape. */
|
|
32
|
-
export declare function getRoomShapeCorners(roomShape: RoomShape): readonly Corner[];
|
|
33
|
-
/**
|
|
34
|
-
* Helper function to get the dimensions of a room shape's layout. This is NOT the size of the
|
|
35
|
-
* room's actual contents! For that, use the `getRoomShapeBounds` function.
|
|
36
|
-
*
|
|
37
|
-
* For example, a horizontal narrow room has a layout size of equal to that of a 1x1 room.
|
|
38
|
-
*/
|
|
39
|
-
export declare function getRoomShapeLayoutSize(roomShape: RoomShape): readonly [width: int, height: int];
|
|
40
|
-
/**
|
|
41
|
-
* Helper function to get the grid position of the top-left tile of a given room shape.
|
|
42
|
-
*
|
|
43
|
-
* "Vector(0, 0)" corresponds to the top left tile of a room, not including the walls. (The top-left
|
|
44
|
-
* wall would be at "Vector(-1, -1)".)
|
|
45
|
-
*/
|
|
46
|
-
export declare function getRoomShapeTopLeftPosition(roomShape: RoomShape): Readonly<Vector>;
|
|
47
|
-
/**
|
|
48
|
-
* Helper function to get the volume of a room shape, which is the amount of tiles that are inside
|
|
49
|
-
* the room.
|
|
50
|
-
*
|
|
51
|
-
* (This cannot be directly calculated from the bounds since L rooms are a special case.)
|
|
52
|
-
*/
|
|
53
|
-
export declare function getRoomShapeVolume(roomShape: RoomShape): int;
|
|
54
|
-
export declare function getRoomShapeWidth(roomShape: RoomShape): int;
|
|
55
|
-
export declare function isLRoom(roomShape: RoomShape): boolean;
|
|
56
|
-
export declare function isNarrowRoom(roomShape: RoomShape): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Helper function to see if a given room shape will grant a single charge or a double charge to the
|
|
59
|
-
* player's active item(s).
|
|
60
|
-
*
|
|
61
|
-
* For example, `RoomShape.SHAPE_2x2` will return true.
|
|
62
|
-
*/
|
|
63
|
-
export declare function isRoomShapeDoubleCharge(roomShape: RoomShape): boolean;
|