isaacscript-common 9.13.5-dev.2 → 9.14.0
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/callbacks/customRevive.d.ts +0 -1
- package/dist/callbacks/customRevive.d.ts.map +1 -1
- package/dist/callbacks/customRevive.lua +45 -39
- package/dist/callbacks/itemPickup.d.ts +0 -1
- package/dist/callbacks/itemPickup.d.ts.map +1 -1
- package/dist/callbacks/itemPickup.lua +16 -16
- package/dist/callbacks/postAmbush.d.ts +0 -1
- package/dist/callbacks/postAmbush.d.ts.map +1 -1
- package/dist/callbacks/postAmbush.lua +12 -12
- package/dist/callbacks/postBombExploded.d.ts +0 -1
- package/dist/callbacks/postBombExploded.d.ts.map +1 -1
- package/dist/callbacks/postBombExploded.lua +6 -6
- package/dist/callbacks/postBombInitLate.d.ts +0 -1
- package/dist/callbacks/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/postBombInitLate.lua +7 -7
- package/dist/callbacks/postBoneSwing.d.ts +0 -1
- package/dist/callbacks/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/postBoneSwing.lua +11 -11
- package/dist/callbacks/postCollectibleEmpty.d.ts +0 -1
- package/dist/callbacks/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleEmpty.lua +6 -6
- package/dist/callbacks/postCollectibleInitFirst.d.ts +0 -1
- package/dist/callbacks/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleInitFirst.lua +7 -7
- package/dist/callbacks/postCursedTeleport.d.ts +0 -1
- package/dist/callbacks/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/postCursedTeleport.lua +24 -24
- package/dist/callbacks/postCustomDoorEnter.d.ts +0 -1
- package/dist/callbacks/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/postCustomDoorEnter.lua +34 -28
- package/dist/callbacks/postDiceRoomActivated.d.ts +0 -1
- package/dist/callbacks/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/postDiceRoomActivated.lua +9 -9
- package/dist/callbacks/postDoorRender.d.ts +0 -1
- package/dist/callbacks/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/postDoorRender.lua +7 -7
- package/dist/callbacks/postDoorUpdate.d.ts +0 -1
- package/dist/callbacks/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/postDoorUpdate.lua +7 -7
- package/dist/callbacks/postEffectInitLate.d.ts +0 -1
- package/dist/callbacks/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/postEffectInitLate.lua +7 -7
- package/dist/callbacks/postEffectStateChanged.d.ts +0 -1
- package/dist/callbacks/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postEffectStateChanged.lua +8 -8
- package/dist/callbacks/postEsauJr.d.ts +0 -1
- package/dist/callbacks/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/postEsauJr.lua +11 -11
- package/dist/callbacks/postFamiliarInitLate.d.ts +0 -1
- package/dist/callbacks/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarInitLate.lua +7 -7
- package/dist/callbacks/postFamiliarStateChanged.d.ts +0 -1
- package/dist/callbacks/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarStateChanged.lua +8 -8
- package/dist/callbacks/postFlip.d.ts +0 -1
- package/dist/callbacks/postFlip.d.ts.map +1 -1
- package/dist/callbacks/postFlip.lua +12 -12
- package/dist/callbacks/postGreedModeWave.d.ts +0 -1
- package/dist/callbacks/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/postGreedModeWave.lua +7 -7
- package/dist/callbacks/postGridEntity.d.ts +0 -1
- package/dist/callbacks/postGridEntity.d.ts.map +1 -1
- package/dist/callbacks/postGridEntity.lua +41 -35
- package/dist/callbacks/postGridEntityCollision.d.ts +0 -1
- package/dist/callbacks/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomCollision.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomRender.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomRender.lua +7 -7
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts +0 -1
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomUpdate.lua +7 -7
- package/dist/callbacks/postGridEntityRender.d.ts +0 -1
- package/dist/callbacks/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityRender.lua +7 -7
- package/dist/callbacks/postHolyMantleRemoved.d.ts +0 -1
- package/dist/callbacks/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/postHolyMantleRemoved.lua +9 -9
- package/dist/callbacks/postItemDischarged.d.ts +0 -1
- package/dist/callbacks/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/postItemDischarged.lua +18 -18
- package/dist/callbacks/postKnifeInitLate.d.ts +0 -1
- package/dist/callbacks/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/postKnifeInitLate.lua +7 -7
- package/dist/callbacks/postLaserInitLate.d.ts +0 -1
- package/dist/callbacks/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/postLaserInitLate.lua +7 -7
- package/dist/callbacks/postNPCInitLate.d.ts +0 -1
- package/dist/callbacks/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/postNPCInitLate.lua +7 -7
- package/dist/callbacks/postNPCStateChanged.d.ts +0 -1
- package/dist/callbacks/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postNPCStateChanged.lua +8 -8
- package/dist/callbacks/postNewRoomEarly.d.ts +0 -1
- package/dist/callbacks/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/postNewRoomEarly.lua +16 -16
- package/dist/callbacks/postPickupCollect.d.ts +0 -1
- package/dist/callbacks/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/postPickupCollect.lua +8 -8
- package/dist/callbacks/postPickupInitFirst.d.ts +0 -1
- package/dist/callbacks/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitFirst.lua +8 -8
- package/dist/callbacks/postPickupInitLate.d.ts +0 -1
- package/dist/callbacks/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitLate.lua +7 -7
- package/dist/callbacks/postPickupStateChanged.d.ts +0 -1
- package/dist/callbacks/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postPickupStateChanged.lua +8 -8
- package/dist/callbacks/postPitRender.d.ts +0 -1
- package/dist/callbacks/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/postPitRender.lua +7 -7
- package/dist/callbacks/postPitUpdate.d.ts +0 -1
- package/dist/callbacks/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPitUpdate.lua +7 -7
- package/dist/callbacks/postPlayerChangeHealth.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeHealth.lua +10 -9
- package/dist/callbacks/postPlayerChangeStat.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeStat.lua +20 -19
- package/dist/callbacks/postPlayerChangeType.d.ts +0 -1
- package/dist/callbacks/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeType.lua +10 -10
- package/dist/callbacks/postPlayerCollectible.d.ts +0 -1
- package/dist/callbacks/postPlayerCollectible.d.ts.map +1 -1
- package/dist/callbacks/postPlayerCollectible.lua +40 -36
- package/dist/callbacks/postPlayerFatalDamage.d.ts +0 -1
- package/dist/callbacks/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/postPlayerFatalDamage.lua +22 -14
- package/dist/callbacks/postPlayerInitFirst.d.ts +0 -1
- package/dist/callbacks/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitFirst.lua +12 -12
- package/dist/callbacks/postPlayerInitLate.d.ts +0 -1
- package/dist/callbacks/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitLate.lua +9 -9
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts +0 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.lua +25 -25
- package/dist/callbacks/postPoopRender.d.ts +0 -1
- package/dist/callbacks/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/postPoopRender.lua +7 -7
- package/dist/callbacks/postPoopUpdate.d.ts +0 -1
- package/dist/callbacks/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPoopUpdate.lua +7 -7
- package/dist/callbacks/postPressurePlateRender.d.ts +0 -1
- package/dist/callbacks/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateRender.lua +7 -7
- package/dist/callbacks/postPressurePlateUpdate.d.ts +0 -1
- package/dist/callbacks/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateUpdate.lua +7 -7
- package/dist/callbacks/postProjectileInitLate.d.ts +0 -1
- package/dist/callbacks/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/postProjectileInitLate.lua +7 -7
- package/dist/callbacks/postPurchase.d.ts +0 -1
- package/dist/callbacks/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/postPurchase.lua +12 -12
- package/dist/callbacks/postRockRender.d.ts +0 -1
- package/dist/callbacks/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/postRockRender.lua +7 -7
- package/dist/callbacks/postRockUpdate.d.ts +0 -1
- package/dist/callbacks/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/postRockUpdate.lua +7 -7
- package/dist/callbacks/postRoomClearChanged.d.ts +0 -1
- package/dist/callbacks/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/postRoomClearChanged.lua +9 -9
- package/dist/callbacks/postSacrifice.d.ts +0 -1
- package/dist/callbacks/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/postSacrifice.lua +8 -8
- package/dist/callbacks/postSlotCollision.d.ts +0 -1
- package/dist/callbacks/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/postSlotCollision.lua +7 -7
- package/dist/callbacks/postSlotDestroyed.d.ts +0 -1
- package/dist/callbacks/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/postSlotDestroyed.lua +8 -8
- package/dist/callbacks/postSlotInitUpdate.d.ts +0 -1
- package/dist/callbacks/postSlotInitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSlotInitUpdate.lua +15 -15
- package/dist/callbacks/postSlotRender.d.ts +0 -1
- package/dist/callbacks/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/postSlotRender.lua +12 -12
- package/dist/callbacks/postSpikesRender.d.ts +0 -1
- package/dist/callbacks/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/postSpikesRender.lua +7 -7
- package/dist/callbacks/postSpikesUpdate.d.ts +0 -1
- package/dist/callbacks/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSpikesUpdate.lua +7 -7
- package/dist/callbacks/postTNTRender.d.ts +0 -1
- package/dist/callbacks/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/postTNTRender.lua +7 -7
- package/dist/callbacks/postTNTUpdate.d.ts +0 -1
- package/dist/callbacks/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/postTNTUpdate.lua +7 -7
- package/dist/callbacks/postTearInitLate.d.ts +0 -1
- package/dist/callbacks/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitLate.lua +7 -7
- package/dist/callbacks/postTearInitVeryLate.d.ts +0 -1
- package/dist/callbacks/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitVeryLate.lua +7 -7
- package/dist/callbacks/postTransformation.d.ts +0 -1
- package/dist/callbacks/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/postTransformation.lua +9 -9
- package/dist/callbacks/postTrinketBreak.d.ts +0 -1
- package/dist/callbacks/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/postTrinketBreak.lua +11 -11
- package/dist/callbacks/preBerserkDeath.d.ts +0 -1
- package/dist/callbacks/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/preBerserkDeath.lua +9 -9
- package/dist/callbacks/preNewLevel.d.ts +0 -1
- package/dist/callbacks/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/preNewLevel.lua +8 -8
- package/dist/callbacks/reorderedCallbacks.d.ts +0 -1
- package/dist/callbacks/reorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/reorderedCallbacks.lua +26 -26
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts +0 -1
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postAmbushFinished.lua +4 -4
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts +0 -1
- package/dist/callbacks/subscriptions/postAmbushStarted.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postAmbushStarted.lua +4 -4
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBombInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBoneExploded.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBoneExploded.lua +4 -4
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts +0 -1
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postBoneSwing.lua +4 -4
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCollectibleEmpty.lua +4 -4
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +4 -4
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +10 -4
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +0 -1
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomRevive.lua +4 -4
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDiceRoomActivated.lua +4 -4
- package/dist/callbacks/subscriptions/postDoorRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorRender.lua +4 -4
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEffectStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postEsauJr.d.ts +0 -1
- package/dist/callbacks/subscriptions/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postEsauJr.lua +4 -4
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +4 -4
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFirstFlip.lua +4 -4
- package/dist/callbacks/subscriptions/postFlip.d.ts +0 -1
- package/dist/callbacks/subscriptions/postFlip.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postFlip.lua +4 -4
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGameStartedReorderedLast.lua +4 -4
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGreedModeWave.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityBroken.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomRender.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.lua +10 -4
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityRender.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts +0 -1
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.lua +4 -4
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postItemDischarged.lua +4 -4
- package/dist/callbacks/subscriptions/postItemPickup.d.ts +0 -1
- package/dist/callbacks/subscriptions/postItemPickup.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postItemPickup.lua +4 -4
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNPCStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +4 -4
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupCollect.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPickupStateChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postPitRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +4 -3
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerInitFirst.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +4 -4
- package/dist/callbacks/subscriptions/postPoopRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.lua +4 -4
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postPurchase.d.ts +0 -1
- package/dist/callbacks/subscriptions/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPurchase.lua +4 -4
- package/dist/callbacks/subscriptions/postRockRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRockRender.lua +4 -4
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRockUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postRoomClearChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postSacrifice.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSacrifice.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotCollision.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotCollision.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotInit.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotInit.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotInit.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotRender.lua +4 -4
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSpikesRender.lua +4 -4
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postSpikesUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postTNTRender.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTNTRender.lua +4 -4
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTNTUpdate.lua +4 -4
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTearInitLate.lua +4 -4
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +4 -4
- package/dist/callbacks/subscriptions/postTransformation.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTransformation.lua +4 -4
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts +0 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.lua +4 -4
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts +0 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.lua +4 -4
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts +0 -1
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preCustomRevive.lua +4 -4
- package/dist/callbacks/subscriptions/preItemPickup.d.ts +0 -1
- package/dist/callbacks/subscriptions/preItemPickup.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preItemPickup.lua +4 -4
- package/dist/callbacks/subscriptions/preNewLevel.d.ts +0 -1
- package/dist/callbacks/subscriptions/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preNewLevel.lua +4 -4
- package/dist/classes/DefaultMap.d.ts +0 -1
- package/dist/classes/DefaultMap.d.ts.map +1 -1
- package/dist/classes/DefaultMap.lua +4 -4
- package/dist/classes/ModUpgraded.d.ts +4 -1
- package/dist/classes/ModUpgraded.d.ts.map +1 -1
- package/dist/classes/ModUpgraded.lua +1 -1
- package/dist/core/cachedClasses.d.ts +0 -1
- package/dist/core/cachedClasses.d.ts.map +1 -1
- package/dist/core/constants.d.ts +0 -1
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.lua +4 -4
- package/dist/core/constantsFirstLast.d.ts +0 -1
- package/dist/core/constantsFirstLast.d.ts.map +1 -1
- package/dist/core/constantsFirstLast.lua +11 -11
- package/dist/core/upgradeMod.d.ts +0 -1
- package/dist/core/upgradeMod.d.ts.map +1 -1
- package/dist/core/upgradeMod.lua +9 -9
- package/dist/enums/AmbushType.d.ts +0 -1
- package/dist/enums/AmbushType.d.ts.map +1 -1
- package/dist/enums/CornerType.d.ts +0 -1
- package/dist/enums/CornerType.d.ts.map +1 -1
- package/dist/enums/HealthType.d.ts +0 -1
- package/dist/enums/HealthType.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.d.ts +0 -1
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/enums/PocketItemType.d.ts +0 -1
- package/dist/enums/PocketItemType.d.ts.map +1 -1
- package/dist/enums/RockAltType.d.ts +0 -1
- package/dist/enums/RockAltType.d.ts.map +1 -1
- package/dist/enums/SaveDataKey.d.ts +0 -1
- package/dist/enums/SaveDataKey.d.ts.map +1 -1
- package/dist/enums/SerializationType.d.ts +0 -1
- package/dist/enums/SerializationType.d.ts.map +1 -1
- package/dist/enums/SlotDestructionType.d.ts +0 -1
- package/dist/enums/SlotDestructionType.d.ts.map +1 -1
- package/dist/enums/StatType.d.ts +0 -1
- package/dist/enums/StatType.d.ts.map +1 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +0 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts.map +1 -1
- package/dist/enums/private/SerializationBrand.d.ts +0 -1
- package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
- package/dist/enums/private/StageTravelState.d.ts +0 -1
- package/dist/enums/private/StageTravelState.d.ts.map +1 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts +0 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.d.ts +0 -1
- package/dist/features/characterHealthConversion.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.lua +10 -10
- package/dist/features/characterStats.d.ts +0 -1
- package/dist/features/characterStats.d.ts.map +1 -1
- package/dist/features/characterStats.lua +6 -6
- package/dist/features/collectibleItemPoolType.d.ts +0 -1
- package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
- package/dist/features/collectibleItemPoolType.lua +8 -8
- package/dist/features/customDoor.d.ts +0 -1
- package/dist/features/customDoor.d.ts.map +1 -1
- package/dist/features/customDoor.lua +4 -4
- package/dist/features/customGridEntity.d.ts +0 -1
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +42 -39
- package/dist/features/customPickup.d.ts +0 -1
- package/dist/features/customPickup.d.ts.map +1 -1
- package/dist/features/customPickup.lua +8 -8
- package/dist/features/customStage/backdrop.d.ts +0 -1
- package/dist/features/customStage/backdrop.d.ts.map +1 -1
- package/dist/features/customStage/backdrop.lua +40 -28
- package/dist/features/customStage/customStageConstants.d.ts +0 -1
- package/dist/features/customStage/customStageConstants.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.d.ts +0 -1
- package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.lua +34 -34
- package/dist/features/customStage/customStageUtils.d.ts +0 -1
- package/dist/features/customStage/customStageUtils.d.ts.map +1 -1
- package/dist/features/customStage/customStageUtils.lua +33 -21
- package/dist/features/customStage/exports.d.ts +0 -1
- package/dist/features/customStage/exports.d.ts.map +1 -1
- package/dist/features/customStage/exports.lua +36 -18
- package/dist/features/customStage/init.d.ts +0 -1
- package/dist/features/customStage/init.d.ts.map +1 -1
- package/dist/features/customStage/init.lua +28 -28
- package/dist/features/customStage/shadows.d.ts +0 -1
- package/dist/features/customStage/shadows.d.ts.map +1 -1
- package/dist/features/customStage/shadows.lua +10 -4
- package/dist/features/customStage/streakText.d.ts +0 -1
- package/dist/features/customStage/streakText.d.ts.map +1 -1
- package/dist/features/customStage/streakText.lua +17 -17
- package/dist/features/customStage/v.d.ts +0 -1
- package/dist/features/customStage/v.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.d.ts +0 -1
- package/dist/features/customStage/versusScreen.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.lua +31 -27
- package/dist/features/customTrapdoor/blackSprite.d.ts +0 -1
- package/dist/features/customTrapdoor/blackSprite.d.ts.map +1 -1
- package/dist/features/customTrapdoor/blackSprite.lua +1 -1
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts +0 -1
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.d.ts +0 -1
- package/dist/features/customTrapdoor/exports.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.lua +20 -8
- package/dist/features/customTrapdoor/init.d.ts +0 -1
- package/dist/features/customTrapdoor/init.d.ts.map +1 -1
- package/dist/features/customTrapdoor/init.lua +65 -50
- package/dist/features/customTrapdoor/openClose.d.ts +0 -1
- package/dist/features/customTrapdoor/openClose.d.ts.map +1 -1
- package/dist/features/customTrapdoor/openClose.lua +12 -12
- package/dist/features/customTrapdoor/spawn.d.ts +0 -1
- package/dist/features/customTrapdoor/spawn.d.ts.map +1 -1
- package/dist/features/customTrapdoor/spawn.lua +5 -4
- package/dist/features/customTrapdoor/touched.d.ts +0 -1
- package/dist/features/customTrapdoor/touched.d.ts.map +1 -1
- package/dist/features/customTrapdoor/touched.lua +25 -21
- package/dist/features/customTrapdoor/v.d.ts +0 -1
- package/dist/features/customTrapdoor/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts +0 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.lua +59 -59
- package/dist/features/debugDisplay/exports.d.ts +0 -1
- package/dist/features/debugDisplay/exports.d.ts.map +1 -1
- package/dist/features/debugDisplay/exports.lua +90 -90
- package/dist/features/debugDisplay/v.d.ts +0 -1
- package/dist/features/debugDisplay/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/v.lua +6 -6
- package/dist/features/deployJSONRoom.d.ts +0 -1
- package/dist/features/deployJSONRoom.d.ts.map +1 -1
- package/dist/features/deployJSONRoom.lua +118 -93
- package/dist/features/disableAllSound.d.ts +0 -1
- package/dist/features/disableAllSound.d.ts.map +1 -1
- package/dist/features/disableAllSound.lua +10 -10
- package/dist/features/disableInputs.d.ts +0 -1
- package/dist/features/disableInputs.d.ts.map +1 -1
- package/dist/features/disableInputs.lua +25 -25
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts +0 -1
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsDisplay.lua +72 -72
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts +0 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +42 -33
- package/dist/features/extraConsoleCommands/exports.d.ts +0 -1
- package/dist/features/extraConsoleCommands/exports.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/exports.lua +8 -8
- package/dist/features/extraConsoleCommands/init.d.ts +0 -1
- package/dist/features/extraConsoleCommands/init.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/init.lua +28 -28
- package/dist/features/extraConsoleCommands/listCommands.d.ts +2 -1
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +367 -307
- package/dist/features/extraConsoleCommands/v.d.ts +0 -1
- package/dist/features/extraConsoleCommands/v.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/v.lua +1 -1
- package/dist/features/fadeInRemover.d.ts +0 -1
- package/dist/features/fadeInRemover.d.ts.map +1 -1
- package/dist/features/fadeInRemover.lua +9 -8
- package/dist/features/fastReset.d.ts +0 -1
- package/dist/features/fastReset.d.ts.map +1 -1
- package/dist/features/fastReset.lua +11 -11
- package/dist/features/firstLast.d.ts +0 -1
- package/dist/features/firstLast.d.ts.map +1 -1
- package/dist/features/firstLast.lua +105 -93
- package/dist/features/forgottenSwitch.d.ts +0 -1
- package/dist/features/forgottenSwitch.d.ts.map +1 -1
- package/dist/features/forgottenSwitch.lua +5 -5
- package/dist/features/pause.d.ts +0 -1
- package/dist/features/pause.d.ts.map +1 -1
- package/dist/features/pause.lua +25 -25
- package/dist/features/persistentEntities.d.ts +0 -1
- package/dist/features/persistentEntities.d.ts.map +1 -1
- package/dist/features/persistentEntities.lua +25 -17
- package/dist/features/pickupIndex.d.ts +0 -1
- package/dist/features/pickupIndex.d.ts.map +1 -1
- package/dist/features/pickupIndex.lua +25 -25
- package/dist/features/playerInventory.d.ts +0 -1
- package/dist/features/playerInventory.d.ts.map +1 -1
- package/dist/features/playerInventory.lua +16 -16
- package/dist/features/ponyDetection.d.ts +0 -1
- package/dist/features/ponyDetection.d.ts.map +1 -1
- package/dist/features/ponyDetection.lua +14 -13
- package/dist/features/preventChildEntities.d.ts +0 -1
- package/dist/features/preventChildEntities.d.ts.map +1 -1
- package/dist/features/preventChildEntities.lua +4 -4
- package/dist/features/preventCollectibleRotation.d.ts +0 -1
- package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
- package/dist/features/preventCollectibleRotation.lua +13 -13
- package/dist/features/registerHotkey.d.ts +0 -1
- package/dist/features/registerHotkey.d.ts.map +1 -1
- package/dist/features/registerHotkey.lua +14 -14
- package/dist/features/roomClearFrame.d.ts +0 -1
- package/dist/features/roomClearFrame.d.ts.map +1 -1
- package/dist/features/roomClearFrame.lua +7 -7
- package/dist/features/roomHistory.d.ts +0 -1
- package/dist/features/roomHistory.d.ts.map +1 -1
- package/dist/features/roomHistory.lua +19 -19
- package/dist/features/runInNFrames.d.ts +0 -1
- package/dist/features/runInNFrames.d.ts.map +1 -1
- package/dist/features/runInNFrames.lua +30 -30
- package/dist/features/runNextRoom.d.ts +0 -1
- package/dist/features/runNextRoom.d.ts.map +1 -1
- package/dist/features/runNextRoom.lua +7 -7
- package/dist/features/saveDataManager/exports.d.ts +0 -1
- package/dist/features/saveDataManager/exports.d.ts.map +1 -1
- package/dist/features/saveDataManager/exports.lua +16 -16
- package/dist/features/saveDataManager/load.d.ts +0 -1
- package/dist/features/saveDataManager/load.d.ts.map +1 -1
- package/dist/features/saveDataManager/load.lua +16 -12
- package/dist/features/saveDataManager/main.d.ts +0 -1
- package/dist/features/saveDataManager/main.d.ts.map +1 -1
- package/dist/features/saveDataManager/main.lua +32 -31
- package/dist/features/saveDataManager/maps.d.ts +0 -1
- package/dist/features/saveDataManager/maps.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.d.ts +0 -1
- package/dist/features/saveDataManager/merge.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.lua +33 -30
- package/dist/features/saveDataManager/save.d.ts +0 -1
- package/dist/features/saveDataManager/save.d.ts.map +1 -1
- package/dist/features/saveDataManager/save.lua +9 -8
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts +0 -1
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts +0 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.lua +3 -3
- package/dist/features/sirenHelpers.d.ts +0 -1
- package/dist/features/sirenHelpers.d.ts.map +1 -1
- package/dist/features/sirenHelpers.lua +15 -15
- package/dist/features/stageHistory.d.ts +0 -1
- package/dist/features/stageHistory.d.ts.map +1 -1
- package/dist/features/stageHistory.lua +7 -7
- package/dist/features/taintedLazarusPlayers.d.ts +0 -1
- package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
- package/dist/features/taintedLazarusPlayers.lua +8 -8
- package/dist/featuresInitialized.d.ts +0 -1
- package/dist/featuresInitialized.d.ts.map +1 -1
- package/dist/featuresInitialized.lua +4 -4
- package/dist/functions/ambush.d.ts +0 -1
- package/dist/functions/ambush.d.ts.map +1 -1
- package/dist/functions/ambush.lua +18 -15
- package/dist/functions/array.d.ts +0 -1
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.lua +62 -48
- package/dist/functions/benchmark.d.ts +0 -1
- package/dist/functions/benchmark.d.ts.map +1 -1
- package/dist/functions/benchmark.lua +10 -4
- package/dist/functions/bitSet128.d.ts +0 -1
- package/dist/functions/bitSet128.d.ts.map +1 -1
- package/dist/functions/bitSet128.lua +13 -11
- package/dist/functions/bitwise.d.ts +0 -1
- package/dist/functions/bitwise.d.ts.map +1 -1
- package/dist/functions/bitwise.lua +9 -9
- package/dist/functions/bombs.d.ts +0 -1
- package/dist/functions/bombs.d.ts.map +1 -1
- package/dist/functions/bombs.lua +1 -1
- package/dist/functions/bosses.d.ts +0 -1
- package/dist/functions/bosses.d.ts.map +1 -1
- package/dist/functions/bosses.lua +31 -15
- package/dist/functions/cards.d.ts +0 -1
- package/dist/functions/cards.d.ts.map +1 -1
- package/dist/functions/cards.lua +48 -42
- package/dist/functions/challenges.d.ts +0 -1
- package/dist/functions/challenges.d.ts.map +1 -1
- package/dist/functions/challenges.lua +1 -1
- package/dist/functions/characters.d.ts +0 -1
- package/dist/functions/characters.d.ts.map +1 -1
- package/dist/functions/characters.lua +13 -13
- package/dist/functions/charge.d.ts +0 -1
- package/dist/functions/charge.d.ts.map +1 -1
- package/dist/functions/charge.lua +36 -24
- package/dist/functions/chargeBar.d.ts +0 -1
- package/dist/functions/chargeBar.d.ts.map +1 -1
- package/dist/functions/chargeBar.lua +5 -5
- package/dist/functions/collectibleCacheFlag.d.ts +0 -1
- package/dist/functions/collectibleCacheFlag.d.ts.map +1 -1
- package/dist/functions/collectibleCacheFlag.lua +12 -11
- package/dist/functions/collectibleSet.d.ts +0 -1
- package/dist/functions/collectibleSet.d.ts.map +1 -1
- package/dist/functions/collectibleSet.lua +17 -17
- package/dist/functions/collectibleTag.d.ts +0 -1
- package/dist/functions/collectibleTag.d.ts.map +1 -1
- package/dist/functions/collectibleTag.lua +14 -13
- package/dist/functions/collectibles.d.ts +0 -1
- package/dist/functions/collectibles.d.ts.map +1 -1
- package/dist/functions/collectibles.lua +69 -68
- package/dist/functions/color.d.ts +0 -1
- package/dist/functions/color.d.ts.map +1 -1
- package/dist/functions/color.lua +21 -19
- package/dist/functions/curses.d.ts +0 -1
- package/dist/functions/curses.d.ts.map +1 -1
- package/dist/functions/curses.lua +3 -3
- package/dist/functions/debug.d.ts +0 -1
- package/dist/functions/debug.d.ts.map +1 -1
- package/dist/functions/debug.lua +15 -15
- package/dist/functions/deepCopy.d.ts +0 -1
- package/dist/functions/deepCopy.d.ts.map +1 -1
- package/dist/functions/deepCopy.lua +169 -73
- package/dist/functions/deepCopyTests.d.ts +0 -1
- package/dist/functions/deepCopyTests.d.ts.map +1 -1
- package/dist/functions/deepCopyTests.lua +81 -81
- package/dist/functions/dimensions.d.ts +0 -1
- package/dist/functions/dimensions.d.ts.map +1 -1
- package/dist/functions/dimensions.lua +7 -7
- package/dist/functions/direction.d.ts +0 -1
- package/dist/functions/direction.d.ts.map +1 -1
- package/dist/functions/direction.lua +4 -4
- package/dist/functions/doors.d.ts +0 -1
- package/dist/functions/doors.d.ts.map +1 -1
- package/dist/functions/doors.lua +77 -74
- package/dist/functions/easing.d.ts +0 -1
- package/dist/functions/easing.d.ts.map +1 -1
- package/dist/functions/easing.lua +32 -32
- package/dist/functions/eden.d.ts +0 -1
- package/dist/functions/eden.d.ts.map +1 -1
- package/dist/functions/eden.lua +9 -9
- package/dist/functions/effects.d.ts +0 -1
- package/dist/functions/effects.d.ts.map +1 -1
- package/dist/functions/effects.lua +2 -2
- package/dist/functions/entities.d.ts +0 -1
- package/dist/functions/entities.d.ts.map +1 -1
- package/dist/functions/entities.lua +48 -41
- package/dist/functions/entitiesSpecific.d.ts +0 -1
- package/dist/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/functions/entitiesSpecific.lua +96 -70
- package/dist/functions/entityTypes.d.ts +0 -1
- package/dist/functions/entityTypes.d.ts.map +1 -1
- package/dist/functions/entityTypes.lua +1 -1
- package/dist/functions/enums.d.ts +0 -1
- package/dist/functions/enums.d.ts.map +1 -1
- package/dist/functions/enums.lua +19 -19
- package/dist/functions/familiars.d.ts +0 -1
- package/dist/functions/familiars.d.ts.map +1 -1
- package/dist/functions/familiars.lua +6 -5
- package/dist/functions/flag.d.ts +0 -1
- package/dist/functions/flag.d.ts.map +1 -1
- package/dist/functions/flag.lua +8 -8
- package/dist/functions/flying.d.ts +0 -1
- package/dist/functions/flying.d.ts.map +1 -1
- package/dist/functions/flying.lua +12 -9
- package/dist/functions/globals.d.ts +0 -1
- package/dist/functions/globals.d.ts.map +1 -1
- package/dist/functions/globals.lua +17 -14
- package/dist/functions/gridEntities.d.ts +0 -1
- package/dist/functions/gridEntities.d.ts.map +1 -1
- package/dist/functions/gridEntities.lua +64 -58
- package/dist/functions/gridEntitiesSpecific.d.ts +3 -1
- package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -1
- package/dist/functions/gridEntitiesSpecific.lua +98 -92
- package/dist/functions/hex.d.ts +0 -1
- package/dist/functions/hex.d.ts.map +1 -1
- package/dist/functions/hex.lua +12 -9
- package/dist/functions/initArray.d.ts +0 -1
- package/dist/functions/initArray.d.ts.map +1 -1
- package/dist/functions/initArray.lua +4 -3
- package/dist/functions/input.d.ts +0 -1
- package/dist/functions/input.d.ts.map +1 -1
- package/dist/functions/input.lua +25 -22
- package/dist/functions/isaacAPIClass.d.ts +0 -1
- package/dist/functions/isaacAPIClass.d.ts.map +1 -1
- package/dist/functions/isaacAPIClass.lua +47 -47
- package/dist/functions/itemPool.d.ts +0 -1
- package/dist/functions/itemPool.d.ts.map +1 -1
- package/dist/functions/itemPool.lua +19 -17
- package/dist/functions/jsonHelpers.d.ts +0 -1
- package/dist/functions/jsonHelpers.d.ts.map +1 -1
- package/dist/functions/jsonHelpers.lua +3 -3
- package/dist/functions/jsonRoom.d.ts +0 -1
- package/dist/functions/jsonRoom.d.ts.map +1 -1
- package/dist/functions/jsonRoom.lua +22 -16
- package/dist/functions/kColor.d.ts +0 -1
- package/dist/functions/kColor.d.ts.map +1 -1
- package/dist/functions/kColor.lua +21 -19
- package/dist/functions/language.d.ts +0 -1
- package/dist/functions/language.d.ts.map +1 -1
- package/dist/functions/language.lua +1 -1
- package/dist/functions/level.d.ts +0 -1
- package/dist/functions/level.d.ts.map +1 -1
- package/dist/functions/level.lua +5 -5
- package/dist/functions/levelGrid.d.ts +0 -1
- package/dist/functions/levelGrid.d.ts.map +1 -1
- package/dist/functions/levelGrid.lua +67 -67
- package/dist/functions/log.d.ts +0 -1
- package/dist/functions/log.d.ts.map +1 -1
- package/dist/functions/log.lua +240 -128
- package/dist/functions/logEntities.d.ts +0 -1
- package/dist/functions/logEntities.d.ts.map +1 -1
- package/dist/functions/logEntities.lua +32 -29
- package/dist/functions/map.d.ts +0 -1
- package/dist/functions/map.d.ts.map +1 -1
- package/dist/functions/map.lua +5 -5
- package/dist/functions/math.d.ts +0 -1
- package/dist/functions/math.d.ts.map +1 -1
- package/dist/functions/math.lua +14 -14
- package/dist/functions/mergeTests.d.ts +0 -1
- package/dist/functions/mergeTests.d.ts.map +1 -1
- package/dist/functions/mergeTests.lua +47 -47
- package/dist/functions/minimap.d.ts +0 -1
- package/dist/functions/minimap.d.ts.map +1 -1
- package/dist/functions/minimap.lua +12 -12
- package/dist/functions/nextStage.d.ts +0 -1
- package/dist/functions/nextStage.d.ts.map +1 -1
- package/dist/functions/nextStage.lua +39 -39
- package/dist/functions/npcs.d.ts +0 -1
- package/dist/functions/npcs.d.ts.map +1 -1
- package/dist/functions/npcs.lua +21 -15
- package/dist/functions/pickupVariants.d.ts +0 -1
- package/dist/functions/pickupVariants.d.ts.map +1 -1
- package/dist/functions/pickupVariants.lua +11 -11
- package/dist/functions/pickups.d.ts +0 -1
- package/dist/functions/pickups.d.ts.map +1 -1
- package/dist/functions/pickups.lua +9 -9
- package/dist/functions/pickupsSpecific.d.ts +0 -1
- package/dist/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/functions/pickupsSpecific.lua +76 -58
- package/dist/functions/pills.d.ts +0 -1
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/pills.lua +25 -22
- package/dist/functions/playerCenter.d.ts +0 -1
- package/dist/functions/playerCenter.d.ts.map +1 -1
- package/dist/functions/playerCenter.lua +6 -5
- package/dist/functions/playerDataStructures.d.ts +0 -1
- package/dist/functions/playerDataStructures.d.ts.map +1 -1
- package/dist/functions/playerDataStructures.lua +16 -16
- package/dist/functions/playerHealth.d.ts +0 -1
- package/dist/functions/playerHealth.d.ts.map +1 -1
- package/dist/functions/playerHealth.lua +54 -47
- package/dist/functions/playerIndex.d.ts +0 -1
- package/dist/functions/playerIndex.d.ts.map +1 -1
- package/dist/functions/playerIndex.lua +17 -17
- package/dist/functions/playerStats.d.ts +0 -1
- package/dist/functions/playerStats.d.ts.map +1 -1
- package/dist/functions/playerStats.lua +1 -1
- package/dist/functions/players.d.ts +0 -1
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +82 -81
- package/dist/functions/pocketItems.d.ts +0 -1
- package/dist/functions/pocketItems.d.ts.map +1 -1
- package/dist/functions/pocketItems.lua +12 -12
- package/dist/functions/positionVelocity.d.ts +0 -1
- package/dist/functions/positionVelocity.d.ts.map +1 -1
- package/dist/functions/positionVelocity.lua +15 -15
- package/dist/functions/pressurePlate.d.ts +0 -1
- package/dist/functions/pressurePlate.d.ts.map +1 -1
- package/dist/functions/pressurePlate.lua +2 -2
- package/dist/functions/projectiles.d.ts +0 -1
- package/dist/functions/projectiles.d.ts.map +1 -1
- package/dist/functions/projectiles.lua +19 -7
- package/dist/functions/random.d.ts +0 -1
- package/dist/functions/random.d.ts.map +1 -1
- package/dist/functions/random.lua +9 -9
- package/dist/functions/reorderedCallbacks.d.ts +0 -1
- package/dist/functions/reorderedCallbacks.d.ts.map +1 -1
- package/dist/functions/reorderedCallbacks.lua +6 -6
- package/dist/functions/revive.d.ts +0 -1
- package/dist/functions/revive.d.ts.map +1 -1
- package/dist/functions/revive.lua +16 -16
- package/dist/functions/rng.d.ts +0 -1
- package/dist/functions/rng.d.ts.map +1 -1
- package/dist/functions/rng.lua +27 -25
- package/dist/functions/rockAlt.d.ts +0 -1
- package/dist/functions/rockAlt.d.ts.map +1 -1
- package/dist/functions/rockAlt.lua +111 -74
- package/dist/functions/roomData.d.ts +0 -1
- package/dist/functions/roomData.d.ts.map +1 -1
- package/dist/functions/roomData.lua +30 -30
- package/dist/functions/roomGrid.d.ts +0 -1
- package/dist/functions/roomGrid.d.ts.map +1 -1
- package/dist/functions/roomGrid.lua +17 -17
- package/dist/functions/roomShape.d.ts +0 -1
- package/dist/functions/roomShape.d.ts.map +1 -1
- package/dist/functions/roomShape.lua +13 -13
- package/dist/functions/roomTransition.d.ts +0 -1
- package/dist/functions/roomTransition.d.ts.map +1 -1
- package/dist/functions/roomTransition.lua +19 -10
- package/dist/functions/rooms.d.ts +0 -1
- package/dist/functions/rooms.d.ts.map +1 -1
- package/dist/functions/rooms.lua +87 -87
- package/dist/functions/run.d.ts +0 -1
- package/dist/functions/run.d.ts.map +1 -1
- package/dist/functions/run.lua +17 -11
- package/dist/functions/saveFile.d.ts +0 -1
- package/dist/functions/saveFile.d.ts.map +1 -1
- package/dist/functions/saveFile.lua +3 -3
- package/dist/functions/seeds.d.ts +0 -1
- package/dist/functions/seeds.d.ts.map +1 -1
- package/dist/functions/seeds.lua +3 -3
- package/dist/functions/serialization.d.ts +0 -1
- package/dist/functions/serialization.d.ts.map +1 -1
- package/dist/functions/serialization.lua +11 -11
- package/dist/functions/set.d.ts +0 -1
- package/dist/functions/set.d.ts.map +1 -1
- package/dist/functions/set.lua +15 -15
- package/dist/functions/sound.d.ts +0 -1
- package/dist/functions/sound.d.ts.map +1 -1
- package/dist/functions/sound.lua +2 -2
- package/dist/functions/spawnCollectible.d.ts +0 -1
- package/dist/functions/spawnCollectible.d.ts.map +1 -1
- package/dist/functions/spawnCollectible.lua +11 -9
- package/dist/functions/sprites.d.ts +0 -1
- package/dist/functions/sprites.d.ts.map +1 -1
- package/dist/functions/sprites.lua +13 -7
- package/dist/functions/stage.d.ts +0 -1
- package/dist/functions/stage.d.ts.map +1 -1
- package/dist/functions/stage.lua +29 -26
- package/dist/functions/stats.d.ts +0 -1
- package/dist/functions/stats.d.ts.map +1 -1
- package/dist/functions/stats.lua +3 -3
- package/dist/functions/string.d.ts +0 -1
- package/dist/functions/string.d.ts.map +1 -1
- package/dist/functions/string.lua +7 -7
- package/dist/functions/table.d.ts +0 -1
- package/dist/functions/table.d.ts.map +1 -1
- package/dist/functions/table.lua +16 -16
- package/dist/functions/tears.d.ts +0 -1
- package/dist/functions/tears.d.ts.map +1 -1
- package/dist/functions/tears.lua +5 -5
- package/dist/functions/transformations.d.ts +0 -1
- package/dist/functions/transformations.d.ts.map +1 -1
- package/dist/functions/transformations.lua +14 -13
- package/dist/functions/trinketCacheFlag.d.ts +0 -1
- package/dist/functions/trinketCacheFlag.d.ts.map +1 -1
- package/dist/functions/trinketCacheFlag.lua +10 -10
- package/dist/functions/trinketGive.d.ts +0 -1
- package/dist/functions/trinketGive.d.ts.map +1 -1
- package/dist/functions/trinketGive.lua +14 -12
- package/dist/functions/trinketSet.d.ts +0 -1
- package/dist/functions/trinketSet.d.ts.map +1 -1
- package/dist/functions/trinketSet.lua +17 -17
- package/dist/functions/trinkets.d.ts +0 -1
- package/dist/functions/trinkets.d.ts.map +1 -1
- package/dist/functions/trinkets.lua +22 -22
- package/dist/functions/tstlClass.d.ts +0 -1
- package/dist/functions/tstlClass.d.ts.map +1 -1
- package/dist/functions/tstlClass.lua +19 -19
- package/dist/functions/types.d.ts +0 -1
- package/dist/functions/types.d.ts.map +1 -1
- package/dist/functions/types.lua +17 -17
- package/dist/functions/ui.d.ts +0 -1
- package/dist/functions/ui.d.ts.map +1 -1
- package/dist/functions/ui.lua +19 -19
- package/dist/functions/utils.d.ts +0 -1
- package/dist/functions/utils.d.ts.map +1 -1
- package/dist/functions/utils.lua +12 -12
- package/dist/functions/vector.d.ts +0 -1
- package/dist/functions/vector.d.ts.map +1 -1
- package/dist/functions/vector.lua +23 -21
- package/dist/index.d.ts +11912 -11988
- package/dist/index.d.ts.map +1 -1
- package/dist/initCustomCallbacks.d.ts +0 -1
- package/dist/initCustomCallbacks.d.ts.map +1 -1
- package/dist/initCustomCallbacks.lua +72 -72
- package/dist/initFeatures.d.ts +0 -1
- package/dist/initFeatures.d.ts.map +1 -1
- package/dist/initFeatures.lua +34 -34
- package/dist/interfaces/ChargeBarSprites.d.ts +0 -1
- package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -1
- package/dist/interfaces/Corner.d.ts +0 -1
- package/dist/interfaces/Corner.d.ts.map +1 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts +11 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts.map +1 -1
- package/dist/interfaces/GridEntityCustomData.d.ts +0 -1
- package/dist/interfaces/GridEntityCustomData.d.ts.map +1 -1
- package/dist/interfaces/JSONRoomsFile.d.ts +0 -1
- package/dist/interfaces/JSONRoomsFile.d.ts.map +1 -1
- package/dist/interfaces/PlayerHealth.d.ts +0 -1
- package/dist/interfaces/PlayerHealth.d.ts.map +1 -1
- package/dist/interfaces/PocketItemDescription.d.ts +0 -1
- package/dist/interfaces/PocketItemDescription.d.ts.map +1 -1
- package/dist/interfaces/RoomDescription.d.ts +0 -1
- package/dist/interfaces/RoomDescription.d.ts.map +1 -1
- package/dist/interfaces/SaveData.d.ts +0 -1
- package/dist/interfaces/SaveData.d.ts.map +1 -1
- package/dist/interfaces/SaveData.lua +10 -10
- package/dist/interfaces/StatTypeType.d.ts +0 -1
- package/dist/interfaces/StatTypeType.d.ts.map +1 -1
- package/dist/interfaces/TrinketSituation.d.ts +0 -1
- package/dist/interfaces/TrinketSituation.d.ts.map +1 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts +0 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts.map +1 -1
- package/dist/interfaces/private/CustomStage.d.ts +0 -1
- package/dist/interfaces/private/CustomStage.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts +0 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts +0 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts.map +1 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts +0 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts.map +1 -1
- package/dist/maps/PHDPillConversions.d.ts +0 -1
- package/dist/maps/PHDPillConversions.d.ts.map +1 -1
- package/dist/maps/cardMap.d.ts +0 -1
- package/dist/maps/cardMap.d.ts.map +1 -1
- package/dist/maps/characterMap.d.ts +0 -1
- package/dist/maps/characterMap.d.ts.map +1 -1
- package/dist/maps/collectibleDescriptionMap.d.ts +0 -1
- package/dist/maps/collectibleDescriptionMap.d.ts.map +1 -1
- package/dist/maps/collectibleNameMap.d.ts +0 -1
- package/dist/maps/collectibleNameMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.d.ts +0 -1
- package/dist/maps/defaultPlayerStatMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.lua +1 -1
- package/dist/maps/falsePHDPillConversions.d.ts +0 -1
- package/dist/maps/falsePHDPillConversions.d.ts.map +1 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +0 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts.map +1 -1
- package/dist/maps/gridEntityXMLMap.d.ts +0 -1
- package/dist/maps/gridEntityXMLMap.d.ts.map +1 -1
- package/dist/maps/keyboardToString.d.ts +0 -1
- package/dist/maps/keyboardToString.d.ts.map +1 -1
- package/dist/maps/pillEffectMap.d.ts +0 -1
- package/dist/maps/pillEffectMap.d.ts.map +1 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +0 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts.map +1 -1
- package/dist/maps/roomTypeMap.d.ts +0 -1
- package/dist/maps/roomTypeMap.d.ts.map +1 -1
- package/dist/maps/trinketDescriptionMap.d.ts +0 -1
- package/dist/maps/trinketDescriptionMap.d.ts.map +1 -1
- package/dist/maps/trinketNameMap.d.ts +0 -1
- package/dist/maps/trinketNameMap.d.ts.map +1 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts +0 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts.map +1 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts +0 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts.map +1 -1
- package/dist/objects/bossNamePNGFileNames.d.ts +0 -1
- package/dist/objects/bossNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts +0 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/callbackRegisterFunctions.d.ts +0 -1
- package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
- package/dist/objects/cardDescriptions.d.ts +0 -1
- package/dist/objects/cardDescriptions.d.ts.map +1 -1
- package/dist/objects/cardNames.d.ts +0 -1
- package/dist/objects/cardNames.d.ts.map +1 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts +0 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts.map +1 -1
- package/dist/objects/challengeNames.d.ts +0 -1
- package/dist/objects/challengeNames.d.ts.map +1 -1
- package/dist/objects/characterDamageMultipliers.d.ts +0 -1
- package/dist/objects/characterDamageMultipliers.d.ts.map +1 -1
- package/dist/objects/characterNames.d.ts +0 -1
- package/dist/objects/characterNames.d.ts.map +1 -1
- package/dist/objects/coinSubTypeToValue.d.ts +0 -1
- package/dist/objects/coinSubTypeToValue.d.ts.map +1 -1
- package/dist/objects/colors.d.ts +0 -1
- package/dist/objects/colors.d.ts.map +1 -1
- package/dist/objects/directionNames.d.ts +0 -1
- package/dist/objects/directionNames.d.ts.map +1 -1
- package/dist/objects/directionToDegrees.d.ts +0 -1
- package/dist/objects/directionToDegrees.d.ts.map +1 -1
- package/dist/objects/directionToVector.d.ts +0 -1
- package/dist/objects/directionToVector.d.ts.map +1 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts +0 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
- package/dist/objects/doorSlotToDirection.d.ts +0 -1
- package/dist/objects/doorSlotToDirection.d.ts.map +1 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts +0 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts +0 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts +0 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
- package/dist/objects/languageNames.d.ts +0 -1
- package/dist/objects/languageNames.d.ts.map +1 -1
- package/dist/objects/oppositeDoorSlots.d.ts +0 -1
- package/dist/objects/oppositeDoorSlots.d.ts.map +1 -1
- package/dist/objects/pillEffectClasses.d.ts +0 -1
- package/dist/objects/pillEffectClasses.d.ts.map +1 -1
- package/dist/objects/pillEffectNames.d.ts +0 -1
- package/dist/objects/pillEffectNames.d.ts.map +1 -1
- package/dist/objects/pillEffectTypes.d.ts +0 -1
- package/dist/objects/pillEffectTypes.d.ts.map +1 -1
- package/dist/objects/playerNamePNGFileNames.d.ts +0 -1
- package/dist/objects/playerNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts +0 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/roomShapeBounds.d.ts +0 -1
- package/dist/objects/roomShapeBounds.d.ts.map +1 -1
- package/dist/objects/roomShapeCorners.d.ts +0 -1
- package/dist/objects/roomShapeCorners.d.ts.map +1 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts +0 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts.map +1 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +0 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +0 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts.map +1 -1
- package/dist/objects/roomShapeToGridWidth.d.ts +0 -1
- package/dist/objects/roomShapeToGridWidth.d.ts.map +1 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +0 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeVolumes.d.ts +0 -1
- package/dist/objects/roomShapeVolumes.d.ts.map +1 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts +0 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts.map +1 -1
- package/dist/objects/roomTypeNames.d.ts +0 -1
- package/dist/objects/roomTypeNames.d.ts.map +1 -1
- package/dist/objects/stageTypeSuffixes.d.ts +0 -1
- package/dist/objects/stageTypeSuffixes.d.ts.map +1 -1
- package/dist/objects/stageTypeToLetter.d.ts +0 -1
- package/dist/objects/stageTypeToLetter.d.ts.map +1 -1
- package/dist/objects/transformationNames.d.ts +0 -1
- package/dist/objects/transformationNames.d.ts.map +1 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts +0 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts +0 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/patchErrorFunctions.d.ts +0 -1
- package/dist/patchErrorFunctions.d.ts.map +1 -1
- package/dist/patchErrorFunctions.lua +7 -7
- package/dist/sets/LRoomShapesSet.d.ts +0 -1
- package/dist/sets/LRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/bossSets.d.ts +0 -1
- package/dist/sets/bossSets.d.ts.map +1 -1
- package/dist/sets/bossSets.lua +4 -4
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +0 -1
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts.map +1 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +0 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts.map +1 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +0 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts +0 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +0 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts.map +1 -1
- package/dist/sets/chestPickupVariantsSet.d.ts +0 -1
- package/dist/sets/chestPickupVariantsSet.d.ts.map +1 -1
- package/dist/sets/consoleCommandsSet.d.ts +0 -1
- package/dist/sets/consoleCommandsSet.d.ts.map +1 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +0 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts.map +1 -1
- package/dist/sets/lostStyleCharactersSet.d.ts +0 -1
- package/dist/sets/lostStyleCharactersSet.d.ts.map +1 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts +0 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts.map +1 -1
- package/dist/sets/narrowRoomShapesSet.d.ts +0 -1
- package/dist/sets/narrowRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/redHeartSubTypesSet.d.ts +0 -1
- package/dist/sets/redHeartSubTypesSet.d.ts.map +1 -1
- package/dist/sets/sinEntityTypesSet.d.ts +0 -1
- package/dist/sets/sinEntityTypesSet.d.ts.map +1 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +0 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts.map +1 -1
- package/dist/sets/storyBossesSet.d.ts +0 -1
- package/dist/sets/storyBossesSet.d.ts.map +1 -1
- package/dist/shaderCrashFix.d.ts +0 -1
- package/dist/shaderCrashFix.d.ts.map +1 -1
- package/dist/shaderCrashFix.lua +2 -2
- package/dist/types/AnyEntity.d.ts +0 -1
- package/dist/types/AnyEntity.d.ts.map +1 -1
- package/dist/types/AnyGridEntity.d.ts +0 -1
- package/dist/types/AnyGridEntity.d.ts.map +1 -1
- package/dist/types/CollectibleIndex.d.ts +0 -1
- package/dist/types/CollectibleIndex.d.ts.map +1 -1
- package/dist/types/Immutable.d.ts +0 -1
- package/dist/types/Immutable.d.ts.map +1 -1
- package/dist/types/PickingUpItem.d.ts +0 -1
- package/dist/types/PickingUpItem.d.ts.map +1 -1
- package/dist/types/PickingUpItem.lua +5 -5
- package/dist/types/PickupIndex.d.ts +0 -1
- package/dist/types/PickupIndex.d.ts.map +1 -1
- package/dist/types/PlayerIndex.d.ts +0 -1
- package/dist/types/PlayerIndex.d.ts.map +1 -1
- package/dist/types/PossibleStatType.d.ts +0 -1
- package/dist/types/PossibleStatType.d.ts.map +1 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts +0 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts.map +1 -1
- package/dist/types/TSTLClass.d.ts +0 -1
- package/dist/types/TSTLClass.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/classes/ModUpgraded.ts +5 -1
- package/src/features/customPickup.ts +2 -3
- package/src/features/extraConsoleCommands/listCommands.ts +6 -0
- package/src/functions/gridEntitiesSpecific.ts +7 -2
|
@@ -15,12 +15,12 @@ local spawnGridEntityWithVariant = ____gridEntities.spawnGridEntityWithVariant
|
|
|
15
15
|
local ____types = require("functions.types")
|
|
16
16
|
local asNumber = ____types.asNumber
|
|
17
17
|
--- Helper function to spawn a `GridEntityType.CRAWL_SPACE` (18) with a specific variant.
|
|
18
|
-
function ____exports.spawnCrawlSpaceWithVariant(crawlSpaceVariant, gridIndexOrPosition)
|
|
19
|
-
return spawnGridEntityWithVariant(GridEntityType.CRAWL_SPACE, crawlSpaceVariant, gridIndexOrPosition)
|
|
18
|
+
function ____exports.spawnCrawlSpaceWithVariant(self, crawlSpaceVariant, gridIndexOrPosition)
|
|
19
|
+
return spawnGridEntityWithVariant(nil, GridEntityType.CRAWL_SPACE, crawlSpaceVariant, gridIndexOrPosition)
|
|
20
20
|
end
|
|
21
21
|
--- Helper function to spawn a `GridEntityType.DOOR` (16).
|
|
22
|
-
function ____exports.spawnDoorWithVariant(doorVariant, gridIndexOrPosition)
|
|
23
|
-
local gridEntity = spawnGridEntityWithVariant(GridEntityType.DOOR, doorVariant, gridIndexOrPosition)
|
|
22
|
+
function ____exports.spawnDoorWithVariant(self, doorVariant, gridIndexOrPosition)
|
|
23
|
+
local gridEntity = spawnGridEntityWithVariant(nil, GridEntityType.DOOR, doorVariant, gridIndexOrPosition)
|
|
24
24
|
if gridEntity == nil then
|
|
25
25
|
return gridEntity
|
|
26
26
|
end
|
|
@@ -31,8 +31,8 @@ function ____exports.spawnDoorWithVariant(doorVariant, gridIndexOrPosition)
|
|
|
31
31
|
return door
|
|
32
32
|
end
|
|
33
33
|
--- Helper function to spawn a `GridEntityType.PIT` (7) with a specific variant.
|
|
34
|
-
function ____exports.spawnPitWithVariant(pitVariant, gridIndexOrPosition)
|
|
35
|
-
local gridEntity = spawnGridEntityWithVariant(GridEntityType.PIT, pitVariant, gridIndexOrPosition)
|
|
34
|
+
function ____exports.spawnPitWithVariant(self, pitVariant, gridIndexOrPosition)
|
|
35
|
+
local gridEntity = spawnGridEntityWithVariant(nil, GridEntityType.PIT, pitVariant, gridIndexOrPosition)
|
|
36
36
|
if gridEntity == nil then
|
|
37
37
|
return gridEntity
|
|
38
38
|
end
|
|
@@ -43,8 +43,8 @@ function ____exports.spawnPitWithVariant(pitVariant, gridIndexOrPosition)
|
|
|
43
43
|
return pit
|
|
44
44
|
end
|
|
45
45
|
--- Helper function to spawn a `GridEntityType.POOP` (14) with a specific variant.
|
|
46
|
-
function ____exports.spawnPoopWithVariant(poopVariant, gridIndexOrPosition)
|
|
47
|
-
local gridEntity = spawnGridEntityWithVariant(GridEntityType.POOP, poopVariant, gridIndexOrPosition)
|
|
46
|
+
function ____exports.spawnPoopWithVariant(self, poopVariant, gridIndexOrPosition)
|
|
47
|
+
local gridEntity = spawnGridEntityWithVariant(nil, GridEntityType.POOP, poopVariant, gridIndexOrPosition)
|
|
48
48
|
if gridEntity == nil then
|
|
49
49
|
return gridEntity
|
|
50
50
|
end
|
|
@@ -55,8 +55,8 @@ function ____exports.spawnPoopWithVariant(poopVariant, gridIndexOrPosition)
|
|
|
55
55
|
return poop
|
|
56
56
|
end
|
|
57
57
|
--- Helper function to spawn a `GridEntityType.PRESSURE_PLATE` (20) with a specific variant.
|
|
58
|
-
function ____exports.spawnPressurePlateWithVariant(pressurePlateVariant, gridIndexOrPosition)
|
|
59
|
-
local gridEntity = spawnGridEntityWithVariant(GridEntityType.PRESSURE_PLATE, pressurePlateVariant, gridIndexOrPosition)
|
|
58
|
+
function ____exports.spawnPressurePlateWithVariant(self, pressurePlateVariant, gridIndexOrPosition)
|
|
59
|
+
local gridEntity = spawnGridEntityWithVariant(nil, GridEntityType.PRESSURE_PLATE, pressurePlateVariant, gridIndexOrPosition)
|
|
60
60
|
if gridEntity == nil then
|
|
61
61
|
return gridEntity
|
|
62
62
|
end
|
|
@@ -67,8 +67,8 @@ function ____exports.spawnPressurePlateWithVariant(pressurePlateVariant, gridInd
|
|
|
67
67
|
return pressurePlate
|
|
68
68
|
end
|
|
69
69
|
--- Helper function to spawn a `GridEntityType.ROCK` (2) with a specific variant.
|
|
70
|
-
function ____exports.spawnRockWithVariant(rockVariant, gridIndexOrPosition)
|
|
71
|
-
local gridEntity = spawnGridEntityWithVariant(GridEntityType.ROCK, rockVariant, gridIndexOrPosition)
|
|
70
|
+
function ____exports.spawnRockWithVariant(self, rockVariant, gridIndexOrPosition)
|
|
71
|
+
local gridEntity = spawnGridEntityWithVariant(nil, GridEntityType.ROCK, rockVariant, gridIndexOrPosition)
|
|
72
72
|
if gridEntity == nil then
|
|
73
73
|
return gridEntity
|
|
74
74
|
end
|
|
@@ -79,8 +79,8 @@ function ____exports.spawnRockWithVariant(rockVariant, gridIndexOrPosition)
|
|
|
79
79
|
return rock
|
|
80
80
|
end
|
|
81
81
|
--- Helper function to spawn a `GridEntityType.SPIKES` (8) with a specific variant.
|
|
82
|
-
function ____exports.spawnSpikesWithVariant(variant, gridIndexOrPosition)
|
|
83
|
-
local gridEntity = spawnGridEntityWithVariant(GridEntityType.SPIKES, variant, gridIndexOrPosition)
|
|
82
|
+
function ____exports.spawnSpikesWithVariant(self, variant, gridIndexOrPosition)
|
|
83
|
+
local gridEntity = spawnGridEntityWithVariant(nil, GridEntityType.SPIKES, variant, gridIndexOrPosition)
|
|
84
84
|
if gridEntity == nil then
|
|
85
85
|
return gridEntity
|
|
86
86
|
end
|
|
@@ -91,8 +91,8 @@ function ____exports.spawnSpikesWithVariant(variant, gridIndexOrPosition)
|
|
|
91
91
|
return spikes
|
|
92
92
|
end
|
|
93
93
|
--- Helper function to spawn a `GridEntityType.TNT` (12) with a specific variant.
|
|
94
|
-
function ____exports.spawnTNTWithVariant(variant, gridIndexOrPosition)
|
|
95
|
-
local gridEntity = spawnGridEntityWithVariant(GridEntityType.TNT, variant, gridIndexOrPosition)
|
|
94
|
+
function ____exports.spawnTNTWithVariant(self, variant, gridIndexOrPosition)
|
|
95
|
+
local gridEntity = spawnGridEntityWithVariant(nil, GridEntityType.TNT, variant, gridIndexOrPosition)
|
|
96
96
|
if gridEntity == nil then
|
|
97
97
|
return gridEntity
|
|
98
98
|
end
|
|
@@ -103,38 +103,38 @@ function ____exports.spawnTNTWithVariant(variant, gridIndexOrPosition)
|
|
|
103
103
|
return tnt
|
|
104
104
|
end
|
|
105
105
|
--- Helper function to spawn a `GridEntityType.TELEPORTER` (23) with a specific variant.
|
|
106
|
-
function ____exports.spawnTeleporterWithVariant(variant, gridIndexOrPosition)
|
|
107
|
-
return spawnGridEntityWithVariant(GridEntityType.TELEPORTER, variant, gridIndexOrPosition)
|
|
106
|
+
function ____exports.spawnTeleporterWithVariant(self, variant, gridIndexOrPosition)
|
|
107
|
+
return spawnGridEntityWithVariant(nil, GridEntityType.TELEPORTER, variant, gridIndexOrPosition)
|
|
108
108
|
end
|
|
109
109
|
--- Helper function to get all of the grid entities of type `GridEntityType.CRAWL_SPACE` (18) in the
|
|
110
110
|
-- room.
|
|
111
111
|
--
|
|
112
112
|
-- @param crawlSpaceVariant Optional. If specified, will only get the crawl spaces that match the
|
|
113
113
|
-- variant. Default is -1, which matches every variant.
|
|
114
|
-
function ____exports.getCrawlSpaces(crawlSpaceVariant)
|
|
114
|
+
function ____exports.getCrawlSpaces(self, crawlSpaceVariant)
|
|
115
115
|
if crawlSpaceVariant == nil then
|
|
116
116
|
crawlSpaceVariant = -1
|
|
117
117
|
end
|
|
118
|
-
if asNumber(crawlSpaceVariant) == -1 then
|
|
119
|
-
return getGridEntities(GridEntityType.CRAWL_SPACE)
|
|
118
|
+
if asNumber(nil, crawlSpaceVariant) == -1 then
|
|
119
|
+
return getGridEntities(nil, GridEntityType.CRAWL_SPACE)
|
|
120
120
|
end
|
|
121
|
-
return getMatchingGridEntities(GridEntityType.CRAWL_SPACE, crawlSpaceVariant)
|
|
121
|
+
return getMatchingGridEntities(nil, GridEntityType.CRAWL_SPACE, crawlSpaceVariant)
|
|
122
122
|
end
|
|
123
123
|
--- Helper function to get all of the `GridEntityPit` in the room.
|
|
124
124
|
--
|
|
125
125
|
-- @param pitVariant Optional. If specified, will only get the pits that match the variant. Default
|
|
126
126
|
-- is -1, which matches every variant.
|
|
127
|
-
function ____exports.getPits(pitVariant)
|
|
127
|
+
function ____exports.getPits(self, pitVariant)
|
|
128
128
|
if pitVariant == nil then
|
|
129
129
|
pitVariant = -1
|
|
130
130
|
end
|
|
131
|
-
local gridEntities = getGridEntities()
|
|
131
|
+
local gridEntities = getGridEntities(nil)
|
|
132
132
|
local pits = {}
|
|
133
133
|
for ____, gridEntity in ipairs(gridEntities) do
|
|
134
134
|
local pit = gridEntity:ToPit()
|
|
135
135
|
if pit ~= nil then
|
|
136
136
|
local gridEntityVariant = pit:GetVariant()
|
|
137
|
-
if asNumber(pitVariant) == -1 or pitVariant == gridEntityVariant then
|
|
137
|
+
if asNumber(nil, pitVariant) == -1 or pitVariant == gridEntityVariant then
|
|
138
138
|
pits[#pits + 1] = pit
|
|
139
139
|
end
|
|
140
140
|
end
|
|
@@ -145,17 +145,17 @@ end
|
|
|
145
145
|
--
|
|
146
146
|
-- @param poopVariant Optional. If specified, will only get the poops that match the variant.
|
|
147
147
|
-- Default is -1, which matches every variant.
|
|
148
|
-
function ____exports.getPoops(poopVariant)
|
|
148
|
+
function ____exports.getPoops(self, poopVariant)
|
|
149
149
|
if poopVariant == nil then
|
|
150
150
|
poopVariant = -1
|
|
151
151
|
end
|
|
152
|
-
local gridEntities = getGridEntities()
|
|
152
|
+
local gridEntities = getGridEntities(nil)
|
|
153
153
|
local poops = {}
|
|
154
154
|
for ____, gridEntity in ipairs(gridEntities) do
|
|
155
155
|
local poop = gridEntity:ToPoop()
|
|
156
156
|
if poop ~= nil then
|
|
157
157
|
local gridEntityVariant = poop:GetVariant()
|
|
158
|
-
if asNumber(poopVariant) == -1 or poopVariant == gridEntityVariant then
|
|
158
|
+
if asNumber(nil, poopVariant) == -1 or poopVariant == gridEntityVariant then
|
|
159
159
|
poops[#poops + 1] = poop
|
|
160
160
|
end
|
|
161
161
|
end
|
|
@@ -166,17 +166,17 @@ end
|
|
|
166
166
|
--
|
|
167
167
|
-- @param pressurePlateVariant Optional. If specified, will only get the pressure plates that match
|
|
168
168
|
-- the variant. Default is -1, which matches every variant.
|
|
169
|
-
function ____exports.getPressurePlates(pressurePlateVariant)
|
|
169
|
+
function ____exports.getPressurePlates(self, pressurePlateVariant)
|
|
170
170
|
if pressurePlateVariant == nil then
|
|
171
171
|
pressurePlateVariant = -1
|
|
172
172
|
end
|
|
173
|
-
local gridEntities = getGridEntities()
|
|
173
|
+
local gridEntities = getGridEntities(nil)
|
|
174
174
|
local pressurePlates = {}
|
|
175
175
|
for ____, gridEntity in ipairs(gridEntities) do
|
|
176
176
|
local pressurePlate = gridEntity:ToPressurePlate()
|
|
177
177
|
if pressurePlate ~= nil then
|
|
178
178
|
local gridEntityVariant = pressurePlate:GetVariant()
|
|
179
|
-
if asNumber(pressurePlateVariant) == -1 or pressurePlateVariant == gridEntityVariant then
|
|
179
|
+
if asNumber(nil, pressurePlateVariant) == -1 or pressurePlateVariant == gridEntityVariant then
|
|
180
180
|
pressurePlates[#pressurePlates + 1] = pressurePlate
|
|
181
181
|
end
|
|
182
182
|
end
|
|
@@ -189,11 +189,11 @@ end
|
|
|
189
189
|
-- -1, which matches every variant. Note that this is not the same thing as the
|
|
190
190
|
-- `RockVariant` enum, since that only applies to `GridEntityType.ROCK`, and other
|
|
191
191
|
-- types of grid entities can be the `GridEntityRock` class.
|
|
192
|
-
function ____exports.getRocks(variant)
|
|
192
|
+
function ____exports.getRocks(self, variant)
|
|
193
193
|
if variant == nil then
|
|
194
194
|
variant = -1
|
|
195
195
|
end
|
|
196
|
-
local gridEntities = getGridEntities()
|
|
196
|
+
local gridEntities = getGridEntities(nil)
|
|
197
197
|
local rocks = {}
|
|
198
198
|
for ____, gridEntity in ipairs(gridEntities) do
|
|
199
199
|
local rock = gridEntity:ToRock()
|
|
@@ -207,11 +207,11 @@ function ____exports.getRocks(variant)
|
|
|
207
207
|
return rocks
|
|
208
208
|
end
|
|
209
209
|
--- Helper function to get all of the `GridEntitySpikes` in the room.
|
|
210
|
-
function ____exports.getSpikes(variant)
|
|
210
|
+
function ____exports.getSpikes(self, variant)
|
|
211
211
|
if variant == nil then
|
|
212
212
|
variant = -1
|
|
213
213
|
end
|
|
214
|
-
local gridEntities = getGridEntities()
|
|
214
|
+
local gridEntities = getGridEntities(nil)
|
|
215
215
|
local spikes = {}
|
|
216
216
|
for ____, gridEntity in ipairs(gridEntities) do
|
|
217
217
|
local spike = gridEntity:ToSpikes()
|
|
@@ -225,11 +225,11 @@ function ____exports.getSpikes(variant)
|
|
|
225
225
|
return spikes
|
|
226
226
|
end
|
|
227
227
|
--- Helper function to get all of the `GridEntityTNT` in the room.
|
|
228
|
-
function ____exports.getTNT(variant)
|
|
228
|
+
function ____exports.getTNT(self, variant)
|
|
229
229
|
if variant == nil then
|
|
230
230
|
variant = -1
|
|
231
231
|
end
|
|
232
|
-
local gridEntities = getGridEntities()
|
|
232
|
+
local gridEntities = getGridEntities(nil)
|
|
233
233
|
local tntArray = {}
|
|
234
234
|
for ____, gridEntity in ipairs(gridEntities) do
|
|
235
235
|
local tnt = gridEntity:ToTNT()
|
|
@@ -247,22 +247,28 @@ end
|
|
|
247
247
|
--
|
|
248
248
|
-- @param variant Optional. If specified, will only get the teleporters that match the variant.
|
|
249
249
|
-- Default is -1, which matches every variant.
|
|
250
|
-
function ____exports.getTeleporters(variant)
|
|
250
|
+
function ____exports.getTeleporters(self, variant)
|
|
251
251
|
if variant == nil then
|
|
252
252
|
variant = -1
|
|
253
253
|
end
|
|
254
254
|
if variant == -1 then
|
|
255
|
-
return getGridEntities(GridEntityType.TELEPORTER)
|
|
255
|
+
return getGridEntities(nil, GridEntityType.TELEPORTER)
|
|
256
256
|
end
|
|
257
|
-
return getMatchingGridEntities(GridEntityType.TELEPORTER, variant)
|
|
257
|
+
return getMatchingGridEntities(nil, GridEntityType.TELEPORTER, variant)
|
|
258
258
|
end
|
|
259
259
|
--- Helper function to get all of the grid entities of type `GridEntityType.TRAPDOOR` (17) in the
|
|
260
260
|
-- room. Specify a specific trapdoor variant to select only trapdoors of that variant.
|
|
261
|
-
|
|
261
|
+
--
|
|
262
|
+
-- @param trapdoorVariant Optional. If specified, will only get the trapdoors that match the
|
|
263
|
+
-- variant. Default is -1, which matches every variant.
|
|
264
|
+
function ____exports.getTrapdoors(self, trapdoorVariant)
|
|
262
265
|
if trapdoorVariant == nil then
|
|
263
|
-
|
|
266
|
+
trapdoorVariant = -1
|
|
267
|
+
end
|
|
268
|
+
if asNumber(nil, trapdoorVariant) == -1 then
|
|
269
|
+
return getGridEntities(nil, GridEntityType.TRAPDOOR)
|
|
264
270
|
end
|
|
265
|
-
return getMatchingGridEntities(GridEntityType.TRAPDOOR, trapdoorVariant)
|
|
271
|
+
return getMatchingGridEntities(nil, GridEntityType.TRAPDOOR, trapdoorVariant)
|
|
266
272
|
end
|
|
267
273
|
--- Helper function to remove all of the `GridEntityType.CRAWL_SPACE` (18) in the room.
|
|
268
274
|
--
|
|
@@ -273,15 +279,15 @@ end
|
|
|
273
279
|
-- `removeGridEntities` helper function.
|
|
274
280
|
-- @param cap Optional. If specified, will only remove the given amount of crawl spaces.
|
|
275
281
|
-- @returns The crawl spaces that were removed.
|
|
276
|
-
function ____exports.removeAllCrawlSpaces(crawlSpaceVariant, updateRoom, cap)
|
|
282
|
+
function ____exports.removeAllCrawlSpaces(self, crawlSpaceVariant, updateRoom, cap)
|
|
277
283
|
if crawlSpaceVariant == nil then
|
|
278
284
|
crawlSpaceVariant = -1
|
|
279
285
|
end
|
|
280
286
|
if updateRoom == nil then
|
|
281
287
|
updateRoom = false
|
|
282
288
|
end
|
|
283
|
-
local crawlSpaces = ____exports.getCrawlSpaces(crawlSpaceVariant)
|
|
284
|
-
return removeGridEntities(crawlSpaces, updateRoom, cap)
|
|
289
|
+
local crawlSpaces = ____exports.getCrawlSpaces(nil, crawlSpaceVariant)
|
|
290
|
+
return removeGridEntities(nil, crawlSpaces, updateRoom, cap)
|
|
285
291
|
end
|
|
286
292
|
--- Helper function to remove all of the `GridEntityPit` in the room.
|
|
287
293
|
--
|
|
@@ -292,15 +298,15 @@ end
|
|
|
292
298
|
-- helper function.
|
|
293
299
|
-- @param cap Optional. If specified, will only remove the given amount of pits.
|
|
294
300
|
-- @returns The pits that were removed.
|
|
295
|
-
function ____exports.removeAllPits(pitVariant, updateRoom, cap)
|
|
301
|
+
function ____exports.removeAllPits(self, pitVariant, updateRoom, cap)
|
|
296
302
|
if pitVariant == nil then
|
|
297
303
|
pitVariant = -1
|
|
298
304
|
end
|
|
299
305
|
if updateRoom == nil then
|
|
300
306
|
updateRoom = false
|
|
301
307
|
end
|
|
302
|
-
local pits = ____exports.getPits(pitVariant)
|
|
303
|
-
return removeGridEntities(pits, updateRoom, cap)
|
|
308
|
+
local pits = ____exports.getPits(nil, pitVariant)
|
|
309
|
+
return removeGridEntities(nil, pits, updateRoom, cap)
|
|
304
310
|
end
|
|
305
311
|
--- Helper function to remove all of the `GridEntityPoop` in the room.
|
|
306
312
|
--
|
|
@@ -314,15 +320,15 @@ end
|
|
|
314
320
|
-- `removeGridEntities` helper function.
|
|
315
321
|
-- @param cap Optional. If specified, will only remove the given amount of poops.
|
|
316
322
|
-- @returns The poops that were removed.
|
|
317
|
-
function ____exports.removeAllPoops(poopVariant, updateRoom, cap)
|
|
323
|
+
function ____exports.removeAllPoops(self, poopVariant, updateRoom, cap)
|
|
318
324
|
if poopVariant == nil then
|
|
319
325
|
poopVariant = -1
|
|
320
326
|
end
|
|
321
327
|
if updateRoom == nil then
|
|
322
328
|
updateRoom = false
|
|
323
329
|
end
|
|
324
|
-
local poops = ____exports.getPoops(poopVariant)
|
|
325
|
-
return removeGridEntities(poops, updateRoom, cap)
|
|
330
|
+
local poops = ____exports.getPoops(nil, poopVariant)
|
|
331
|
+
return removeGridEntities(nil, poops, updateRoom, cap)
|
|
326
332
|
end
|
|
327
333
|
--- Helper function to remove all of the `GridEntityPressurePlate` in the room.
|
|
328
334
|
--
|
|
@@ -333,15 +339,15 @@ end
|
|
|
333
339
|
-- `removeGridEntities` helper function.
|
|
334
340
|
-- @param cap Optional. If specified, will only remove the given amount of pressure plates.
|
|
335
341
|
-- @returns The pressure plates that were removed.
|
|
336
|
-
function ____exports.removeAllPressurePlates(pressurePlateVariant, updateRoom, cap)
|
|
342
|
+
function ____exports.removeAllPressurePlates(self, pressurePlateVariant, updateRoom, cap)
|
|
337
343
|
if pressurePlateVariant == nil then
|
|
338
344
|
pressurePlateVariant = -1
|
|
339
345
|
end
|
|
340
346
|
if updateRoom == nil then
|
|
341
347
|
updateRoom = false
|
|
342
348
|
end
|
|
343
|
-
local pressurePlates = ____exports.getPressurePlates(pressurePlateVariant)
|
|
344
|
-
return removeGridEntities(pressurePlates, updateRoom, cap)
|
|
349
|
+
local pressurePlates = ____exports.getPressurePlates(nil, pressurePlateVariant)
|
|
350
|
+
return removeGridEntities(nil, pressurePlates, updateRoom, cap)
|
|
345
351
|
end
|
|
346
352
|
--- Helper function to remove all of the `GridEntityRock` in the room.
|
|
347
353
|
--
|
|
@@ -354,15 +360,15 @@ end
|
|
|
354
360
|
-- `removeGridEntities` helper function.
|
|
355
361
|
-- @param cap Optional. If specified, will only remove the given amount of rocks.
|
|
356
362
|
-- @returns The rocks that were removed.
|
|
357
|
-
function ____exports.removeAllRocks(variant, updateRoom, cap)
|
|
363
|
+
function ____exports.removeAllRocks(self, variant, updateRoom, cap)
|
|
358
364
|
if variant == nil then
|
|
359
365
|
variant = -1
|
|
360
366
|
end
|
|
361
367
|
if updateRoom == nil then
|
|
362
368
|
updateRoom = false
|
|
363
369
|
end
|
|
364
|
-
local rocks = ____exports.getRocks(variant)
|
|
365
|
-
return removeGridEntities(rocks, updateRoom, cap)
|
|
370
|
+
local rocks = ____exports.getRocks(nil, variant)
|
|
371
|
+
return removeGridEntities(nil, rocks, updateRoom, cap)
|
|
366
372
|
end
|
|
367
373
|
--- Helper function to remove all of the `GridEntitySpikes` in the room.
|
|
368
374
|
--
|
|
@@ -373,15 +379,15 @@ end
|
|
|
373
379
|
-- `removeGridEntities` helper function.
|
|
374
380
|
-- @param cap Optional. If specified, will only remove the given amount of spikes.
|
|
375
381
|
-- @returns The spikes that were removed.
|
|
376
|
-
function ____exports.removeAllSpikes(variant, updateRoom, cap)
|
|
382
|
+
function ____exports.removeAllSpikes(self, variant, updateRoom, cap)
|
|
377
383
|
if variant == nil then
|
|
378
384
|
variant = -1
|
|
379
385
|
end
|
|
380
386
|
if updateRoom == nil then
|
|
381
387
|
updateRoom = false
|
|
382
388
|
end
|
|
383
|
-
local spikes = ____exports.getSpikes(variant)
|
|
384
|
-
return removeGridEntities(spikes, updateRoom, cap)
|
|
389
|
+
local spikes = ____exports.getSpikes(nil, variant)
|
|
390
|
+
return removeGridEntities(nil, spikes, updateRoom, cap)
|
|
385
391
|
end
|
|
386
392
|
--- Helper function to remove all of the `GridEntityTNT` in the room.
|
|
387
393
|
--
|
|
@@ -392,15 +398,15 @@ end
|
|
|
392
398
|
-- helper function.
|
|
393
399
|
-- @param cap Optional. If specified, will only remove the given amount of TNTs.
|
|
394
400
|
-- @returns The TNTs that were removed.
|
|
395
|
-
function ____exports.removeAllTNT(variant, updateRoom, cap)
|
|
401
|
+
function ____exports.removeAllTNT(self, variant, updateRoom, cap)
|
|
396
402
|
if variant == nil then
|
|
397
403
|
variant = -1
|
|
398
404
|
end
|
|
399
405
|
if updateRoom == nil then
|
|
400
406
|
updateRoom = false
|
|
401
407
|
end
|
|
402
|
-
local tnt = ____exports.getTNT(variant)
|
|
403
|
-
return removeGridEntities(tnt, updateRoom, cap)
|
|
408
|
+
local tnt = ____exports.getTNT(nil, variant)
|
|
409
|
+
return removeGridEntities(nil, tnt, updateRoom, cap)
|
|
404
410
|
end
|
|
405
411
|
--- Helper function to remove all of the `GridEntityType.TELEPORTER` (23) in the room.
|
|
406
412
|
--
|
|
@@ -411,15 +417,15 @@ end
|
|
|
411
417
|
-- `removeGridEntities` helper function.
|
|
412
418
|
-- @param cap Optional. If specified, will only remove the given amount of teleporters.
|
|
413
419
|
-- @returns The teleporters that were removed.
|
|
414
|
-
function ____exports.removeAllTeleporters(variant, updateRoom, cap)
|
|
420
|
+
function ____exports.removeAllTeleporters(self, variant, updateRoom, cap)
|
|
415
421
|
if variant == nil then
|
|
416
422
|
variant = -1
|
|
417
423
|
end
|
|
418
424
|
if updateRoom == nil then
|
|
419
425
|
updateRoom = false
|
|
420
426
|
end
|
|
421
|
-
local teleporters = ____exports.getTeleporters(variant)
|
|
422
|
-
return removeGridEntities(teleporters, updateRoom, cap)
|
|
427
|
+
local teleporters = ____exports.getTeleporters(nil, variant)
|
|
428
|
+
return removeGridEntities(nil, teleporters, updateRoom, cap)
|
|
423
429
|
end
|
|
424
430
|
--- Helper function to remove all of the `GridEntityType.TRAPDOOR` (17) in the room.
|
|
425
431
|
--
|
|
@@ -430,58 +436,58 @@ end
|
|
|
430
436
|
-- `removeGridEntities` helper function.
|
|
431
437
|
-- @param cap Optional. If specified, will only remove the given amount of trapdoors.
|
|
432
438
|
-- @returns The trapdoors that were removed.
|
|
433
|
-
function ____exports.removeAllTrapdoors(trapdoorVariant, updateRoom, cap)
|
|
439
|
+
function ____exports.removeAllTrapdoors(self, trapdoorVariant, updateRoom, cap)
|
|
434
440
|
if trapdoorVariant == nil then
|
|
435
441
|
trapdoorVariant = -1
|
|
436
442
|
end
|
|
437
443
|
if updateRoom == nil then
|
|
438
444
|
updateRoom = false
|
|
439
445
|
end
|
|
440
|
-
local trapdoors = ____exports.getTrapdoors(trapdoorVariant)
|
|
441
|
-
return removeGridEntities(trapdoors, updateRoom, cap)
|
|
446
|
+
local trapdoors = ____exports.getTrapdoors(nil, trapdoorVariant)
|
|
447
|
+
return removeGridEntities(nil, trapdoors, updateRoom, cap)
|
|
442
448
|
end
|
|
443
449
|
--- Helper function to spawn a `GridEntityType.CRAWL_SPACE` (18).
|
|
444
|
-
function ____exports.spawnCrawlSpace(gridIndexOrPosition)
|
|
445
|
-
return ____exports.spawnCrawlSpaceWithVariant(CrawlSpaceVariant.NORMAL, gridIndexOrPosition)
|
|
450
|
+
function ____exports.spawnCrawlSpace(self, gridIndexOrPosition)
|
|
451
|
+
return ____exports.spawnCrawlSpaceWithVariant(nil, CrawlSpaceVariant.NORMAL, gridIndexOrPosition)
|
|
446
452
|
end
|
|
447
453
|
--- Helper function to spawn a `GridEntityType.PIT` (7) with a specific variant.
|
|
448
|
-
function ____exports.spawnDoor(gridIndexOrPosition)
|
|
449
|
-
return ____exports.spawnDoorWithVariant(DoorVariant.UNSPECIFIED, gridIndexOrPosition)
|
|
454
|
+
function ____exports.spawnDoor(self, gridIndexOrPosition)
|
|
455
|
+
return ____exports.spawnDoorWithVariant(nil, DoorVariant.UNSPECIFIED, gridIndexOrPosition)
|
|
450
456
|
end
|
|
451
457
|
--- Helper function to spawn a `GridEntityType.DOOR` (16) with a specific variant.
|
|
452
|
-
function ____exports.spawnPit(gridIndexOrPosition)
|
|
453
|
-
return ____exports.spawnPitWithVariant(PitVariant.NORMAL, gridIndexOrPosition)
|
|
458
|
+
function ____exports.spawnPit(self, gridIndexOrPosition)
|
|
459
|
+
return ____exports.spawnPitWithVariant(nil, PitVariant.NORMAL, gridIndexOrPosition)
|
|
454
460
|
end
|
|
455
461
|
--- Helper function to spawn a `GridEntityType.POOP` (14).
|
|
456
|
-
function ____exports.spawnPoop(gridIndexOrPosition)
|
|
457
|
-
return ____exports.spawnPoopWithVariant(PoopGridEntityVariant.NORMAL, gridIndexOrPosition)
|
|
462
|
+
function ____exports.spawnPoop(self, gridIndexOrPosition)
|
|
463
|
+
return ____exports.spawnPoopWithVariant(nil, PoopGridEntityVariant.NORMAL, gridIndexOrPosition)
|
|
458
464
|
end
|
|
459
465
|
--- Helper function to spawn a `GridEntityType.PRESSURE_PLATE` (20).
|
|
460
|
-
function ____exports.spawnPressurePlate(gridIndexOrPosition)
|
|
461
|
-
return ____exports.spawnPressurePlateWithVariant(PressurePlateVariant.PRESSURE_PLATE, gridIndexOrPosition)
|
|
466
|
+
function ____exports.spawnPressurePlate(self, gridIndexOrPosition)
|
|
467
|
+
return ____exports.spawnPressurePlateWithVariant(nil, PressurePlateVariant.PRESSURE_PLATE, gridIndexOrPosition)
|
|
462
468
|
end
|
|
463
469
|
--- Helper function to spawn a `GridEntityType.ROCK` (2).
|
|
464
|
-
function ____exports.spawnRock(gridIndexOrPosition)
|
|
465
|
-
return ____exports.spawnRockWithVariant(RockVariant.NORMAL, gridIndexOrPosition)
|
|
470
|
+
function ____exports.spawnRock(self, gridIndexOrPosition)
|
|
471
|
+
return ____exports.spawnRockWithVariant(nil, RockVariant.NORMAL, gridIndexOrPosition)
|
|
466
472
|
end
|
|
467
473
|
--- Helper function to spawn a `GridEntityType.SPIKES` (8).
|
|
468
|
-
function ____exports.spawnSpikes(gridIndexOrPosition)
|
|
469
|
-
return ____exports.spawnSpikesWithVariant(0, gridIndexOrPosition)
|
|
474
|
+
function ____exports.spawnSpikes(self, gridIndexOrPosition)
|
|
475
|
+
return ____exports.spawnSpikesWithVariant(nil, 0, gridIndexOrPosition)
|
|
470
476
|
end
|
|
471
477
|
--- Helper function to spawn a `GridEntityType.TNT` (12).
|
|
472
|
-
function ____exports.spawnTNT(gridIndexOrPosition)
|
|
473
|
-
return ____exports.spawnTNTWithVariant(0, gridIndexOrPosition)
|
|
478
|
+
function ____exports.spawnTNT(self, gridIndexOrPosition)
|
|
479
|
+
return ____exports.spawnTNTWithVariant(nil, 0, gridIndexOrPosition)
|
|
474
480
|
end
|
|
475
481
|
--- Helper function to spawn a `GridEntityType.TELEPORTER` (23).
|
|
476
|
-
function ____exports.spawnTeleporter(gridIndexOrPosition)
|
|
477
|
-
return ____exports.spawnTeleporterWithVariant(0, gridIndexOrPosition)
|
|
482
|
+
function ____exports.spawnTeleporter(self, gridIndexOrPosition)
|
|
483
|
+
return ____exports.spawnTeleporterWithVariant(nil, 0, gridIndexOrPosition)
|
|
478
484
|
end
|
|
479
485
|
--- Helper function to spawn a `GridEntityType.TRAPDOOR` (17).
|
|
480
|
-
function ____exports.spawnTrapdoor(gridIndexOrPosition)
|
|
481
|
-
return ____exports.spawnCrawlSpaceWithVariant(CrawlSpaceVariant.NORMAL, gridIndexOrPosition)
|
|
486
|
+
function ____exports.spawnTrapdoor(self, gridIndexOrPosition)
|
|
487
|
+
return ____exports.spawnCrawlSpaceWithVariant(nil, CrawlSpaceVariant.NORMAL, gridIndexOrPosition)
|
|
482
488
|
end
|
|
483
489
|
--- Helper function to spawn a `GridEntityType.TRAPDOOR` (17) with a specific variant.
|
|
484
|
-
function ____exports.spawnTrapdoorWithVariant(trapdoorVariant, gridIndexOrPosition)
|
|
485
|
-
return spawnGridEntityWithVariant(GridEntityType.TRAPDOOR, trapdoorVariant, gridIndexOrPosition)
|
|
490
|
+
function ____exports.spawnTrapdoorWithVariant(self, trapdoorVariant, gridIndexOrPosition)
|
|
491
|
+
return spawnGridEntityWithVariant(nil, GridEntityType.TRAPDOOR, trapdoorVariant, gridIndexOrPosition)
|
|
486
492
|
end
|
|
487
493
|
return ____exports
|
package/dist/functions/hex.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hex.d.ts","sourceRoot":"","sources":["../../src/functions/hex.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hex.d.ts","sourceRoot":"","sources":["../../src/functions/hex.ts"],"names":[],"mappings":";;;AAIA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,KAAK,CAMjE;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM,CAMnE"}
|
package/dist/functions/hex.lua
CHANGED
|
@@ -5,28 +5,31 @@ local ____exports = {}
|
|
|
5
5
|
local hexToRGB, HEX_STRING_LENGTH
|
|
6
6
|
local ____log = require("functions.log")
|
|
7
7
|
local logError = ____log.logError
|
|
8
|
-
function hexToRGB(hexString)
|
|
8
|
+
function hexToRGB(self, hexString)
|
|
9
9
|
hexString = __TS__StringReplace(hexString, "#", "")
|
|
10
10
|
if #hexString ~= HEX_STRING_LENGTH then
|
|
11
|
-
logError(
|
|
11
|
+
logError(
|
|
12
|
+
nil,
|
|
13
|
+
"Hex strings must be of length: " .. tostring(HEX_STRING_LENGTH)
|
|
14
|
+
)
|
|
12
15
|
return {0, 0, 0}
|
|
13
16
|
end
|
|
14
17
|
local rString = __TS__StringSubstring(hexString, 0, 2)
|
|
15
18
|
local r = tonumber("0x" .. rString)
|
|
16
19
|
if r == nil then
|
|
17
|
-
logError(("Failed to convert `0x" .. rString) .. "` to a number.")
|
|
20
|
+
logError(nil, ("Failed to convert `0x" .. rString) .. "` to a number.")
|
|
18
21
|
return {0, 0, 0}
|
|
19
22
|
end
|
|
20
23
|
local gString = __TS__StringSubstring(hexString, 2, 4)
|
|
21
24
|
local g = tonumber("0x" .. gString)
|
|
22
25
|
if g == nil then
|
|
23
|
-
logError(("Failed to convert `0x" .. gString) .. "` to a number.")
|
|
26
|
+
logError(nil, ("Failed to convert `0x" .. gString) .. "` to a number.")
|
|
24
27
|
return {0, 0, 0}
|
|
25
28
|
end
|
|
26
29
|
local bString = __TS__StringSubstring(hexString, 4, 6)
|
|
27
30
|
local b = tonumber("0x" .. bString)
|
|
28
31
|
if b == nil then
|
|
29
|
-
logError(("Failed to convert `0x" .. bString) .. "` to a number.")
|
|
32
|
+
logError(nil, ("Failed to convert `0x" .. bString) .. "` to a number.")
|
|
30
33
|
return {0, 0, 0}
|
|
31
34
|
end
|
|
32
35
|
return {r, g, b}
|
|
@@ -35,16 +38,16 @@ HEX_STRING_LENGTH = 6
|
|
|
35
38
|
--- Converts a hex string like "#33aa33" to a KColor object.
|
|
36
39
|
--
|
|
37
40
|
-- @param hexString A hex string like "#ffffff" or "ffffff". (The "#" character is optional.)
|
|
38
|
-
function ____exports.hexToColor(hexString, alpha)
|
|
39
|
-
local r, g, b = table.unpack(hexToRGB(hexString))
|
|
41
|
+
function ____exports.hexToColor(self, hexString, alpha)
|
|
42
|
+
local r, g, b = table.unpack(hexToRGB(nil, hexString))
|
|
40
43
|
local base = 255
|
|
41
44
|
return Color(r / base, g / base, b / base, alpha)
|
|
42
45
|
end
|
|
43
46
|
--- Converts a hex string like "#33aa33" to a Color object.
|
|
44
47
|
--
|
|
45
48
|
-- @param hexString A hex string like "#ffffff" or "ffffff". (The "#" character is optional.)
|
|
46
|
-
function ____exports.hexToKColor(hexString, alpha)
|
|
47
|
-
local r, g, b = table.unpack(hexToRGB(hexString))
|
|
49
|
+
function ____exports.hexToKColor(self, hexString, alpha)
|
|
50
|
+
local r, g, b = table.unpack(hexToRGB(nil, hexString))
|
|
48
51
|
local base = 255
|
|
49
52
|
return KColor(r / base, g / base, b / base, alpha)
|
|
50
53
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initArray.d.ts","sourceRoot":"","sources":["../../src/functions/initArray.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"initArray.d.ts","sourceRoot":"","sources":["../../src/functions/initArray.ts"],"names":[],"mappings":";AAIA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,GAAG,CAAC,EAAE,CAY5D"}
|
|
@@ -18,15 +18,16 @@ local ____repeat = ____utils["repeat"]
|
|
|
18
18
|
-- const arrayWithZeroes = initArray(0, 10); // Has 10 elements of 0.
|
|
19
19
|
-- const arrayWithArrays = initArray([0], 20); // Has 20 elements of an array with a 0 in it.
|
|
20
20
|
-- ```
|
|
21
|
-
function ____exports.initArray(defaultValue, size)
|
|
21
|
+
function ____exports.initArray(self, defaultValue, size)
|
|
22
22
|
local array = {}
|
|
23
23
|
____repeat(
|
|
24
|
+
nil,
|
|
24
25
|
size,
|
|
25
26
|
function()
|
|
26
|
-
if isPrimitive(defaultValue) then
|
|
27
|
+
if isPrimitive(nil, defaultValue) then
|
|
27
28
|
array[#array + 1] = defaultValue
|
|
28
29
|
else
|
|
29
|
-
local copy = deepCopy(defaultValue)
|
|
30
|
+
local copy = deepCopy(nil, defaultValue)
|
|
30
31
|
array[#array + 1] = copy
|
|
31
32
|
end
|
|
32
33
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/functions/input.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/functions/input.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,UAAU,EAEV,QAAQ,EACT,MAAM,8BAA8B,CAAC;AAsCtC;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAO7E;AAED,wBAAgB,cAAc,IAAI,WAAW,CAAC,YAAY,CAAC,CAE1D;AAED,wBAAgB,eAAe,IAAI,WAAW,CAAC,YAAY,CAAC,CAE3D;AAED,gGAAgG;AAChG,wBAAgB,yBAAyB,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAK7E;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,YAAY,GACzB,OAAO,CAKT;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO,CAI9D;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAED,wBAAgB,YAAY,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAEhE;AAED,wBAAgB,6BAA6B,IAAI,OAAO,CAIvD;AAED,wBAAgB,+BAA+B,IAAI,OAAO,CAIzD;AAED,wBAAgB,aAAa,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAEjE;AAED,wBAAgB,8BAA8B,IAAI,OAAO,CAIxD;AAED,wBAAgB,gCAAgC,IAAI,OAAO,CAI1D;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,OAAO,GACjB,MAAM,GAAG,SAAS,CAQpB"}
|