isaacscript-common 9.13.4 → 9.13.5-dev.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 +1 -0
- package/dist/callbacks/customRevive.d.ts.map +1 -1
- package/dist/callbacks/customRevive.lua +39 -45
- package/dist/callbacks/itemPickup.d.ts +1 -0
- package/dist/callbacks/itemPickup.d.ts.map +1 -1
- package/dist/callbacks/itemPickup.lua +16 -16
- package/dist/callbacks/postAmbush.d.ts +1 -0
- package/dist/callbacks/postAmbush.d.ts.map +1 -1
- package/dist/callbacks/postAmbush.lua +12 -12
- package/dist/callbacks/postBombExploded.d.ts +1 -0
- package/dist/callbacks/postBombExploded.d.ts.map +1 -1
- package/dist/callbacks/postBombExploded.lua +6 -6
- package/dist/callbacks/postBombInitLate.d.ts +1 -0
- package/dist/callbacks/postBombInitLate.d.ts.map +1 -1
- package/dist/callbacks/postBombInitLate.lua +7 -7
- package/dist/callbacks/postBoneSwing.d.ts +1 -0
- package/dist/callbacks/postBoneSwing.d.ts.map +1 -1
- package/dist/callbacks/postBoneSwing.lua +11 -11
- package/dist/callbacks/postCollectibleEmpty.d.ts +1 -0
- package/dist/callbacks/postCollectibleEmpty.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleEmpty.lua +6 -6
- package/dist/callbacks/postCollectibleInitFirst.d.ts +1 -0
- package/dist/callbacks/postCollectibleInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postCollectibleInitFirst.lua +7 -7
- package/dist/callbacks/postCursedTeleport.d.ts +1 -0
- package/dist/callbacks/postCursedTeleport.d.ts.map +1 -1
- package/dist/callbacks/postCursedTeleport.lua +24 -24
- package/dist/callbacks/postCustomDoorEnter.d.ts +1 -0
- package/dist/callbacks/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/postCustomDoorEnter.lua +28 -34
- package/dist/callbacks/postDiceRoomActivated.d.ts +1 -0
- package/dist/callbacks/postDiceRoomActivated.d.ts.map +1 -1
- package/dist/callbacks/postDiceRoomActivated.lua +9 -9
- package/dist/callbacks/postDoorRender.d.ts +1 -0
- package/dist/callbacks/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/postDoorRender.lua +7 -7
- package/dist/callbacks/postDoorUpdate.d.ts +1 -0
- package/dist/callbacks/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/postDoorUpdate.lua +7 -7
- package/dist/callbacks/postEffectInitLate.d.ts +1 -0
- package/dist/callbacks/postEffectInitLate.d.ts.map +1 -1
- package/dist/callbacks/postEffectInitLate.lua +7 -7
- package/dist/callbacks/postEffectStateChanged.d.ts +1 -0
- package/dist/callbacks/postEffectStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postEffectStateChanged.lua +8 -8
- package/dist/callbacks/postEsauJr.d.ts +1 -0
- package/dist/callbacks/postEsauJr.d.ts.map +1 -1
- package/dist/callbacks/postEsauJr.lua +11 -11
- package/dist/callbacks/postFamiliarInitLate.d.ts +1 -0
- package/dist/callbacks/postFamiliarInitLate.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarInitLate.lua +7 -7
- package/dist/callbacks/postFamiliarStateChanged.d.ts +1 -0
- package/dist/callbacks/postFamiliarStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postFamiliarStateChanged.lua +8 -8
- package/dist/callbacks/postFlip.d.ts +1 -0
- package/dist/callbacks/postFlip.d.ts.map +1 -1
- package/dist/callbacks/postFlip.lua +12 -12
- package/dist/callbacks/postGreedModeWave.d.ts +1 -0
- package/dist/callbacks/postGreedModeWave.d.ts.map +1 -1
- package/dist/callbacks/postGreedModeWave.lua +7 -7
- package/dist/callbacks/postGridEntity.d.ts +1 -0
- package/dist/callbacks/postGridEntity.d.ts.map +1 -1
- package/dist/callbacks/postGridEntity.lua +35 -41
- package/dist/callbacks/postGridEntityCollision.d.ts +1 -0
- package/dist/callbacks/postGridEntityCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomCollision.d.ts +1 -0
- package/dist/callbacks/postGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomCollision.lua +9 -9
- package/dist/callbacks/postGridEntityCustomRender.d.ts +1 -0
- package/dist/callbacks/postGridEntityCustomRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomRender.lua +7 -7
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts +1 -0
- package/dist/callbacks/postGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityCustomUpdate.lua +7 -7
- package/dist/callbacks/postGridEntityRender.d.ts +1 -0
- package/dist/callbacks/postGridEntityRender.d.ts.map +1 -1
- package/dist/callbacks/postGridEntityRender.lua +7 -7
- package/dist/callbacks/postHolyMantleRemoved.d.ts +1 -0
- package/dist/callbacks/postHolyMantleRemoved.d.ts.map +1 -1
- package/dist/callbacks/postHolyMantleRemoved.lua +9 -9
- package/dist/callbacks/postItemDischarged.d.ts +1 -0
- package/dist/callbacks/postItemDischarged.d.ts.map +1 -1
- package/dist/callbacks/postItemDischarged.lua +18 -18
- package/dist/callbacks/postKnifeInitLate.d.ts +1 -0
- package/dist/callbacks/postKnifeInitLate.d.ts.map +1 -1
- package/dist/callbacks/postKnifeInitLate.lua +7 -7
- package/dist/callbacks/postLaserInitLate.d.ts +1 -0
- package/dist/callbacks/postLaserInitLate.d.ts.map +1 -1
- package/dist/callbacks/postLaserInitLate.lua +7 -7
- package/dist/callbacks/postNPCInitLate.d.ts +1 -0
- package/dist/callbacks/postNPCInitLate.d.ts.map +1 -1
- package/dist/callbacks/postNPCInitLate.lua +7 -7
- package/dist/callbacks/postNPCStateChanged.d.ts +1 -0
- package/dist/callbacks/postNPCStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postNPCStateChanged.lua +8 -8
- package/dist/callbacks/postNewRoomEarly.d.ts +1 -0
- package/dist/callbacks/postNewRoomEarly.d.ts.map +1 -1
- package/dist/callbacks/postNewRoomEarly.lua +16 -16
- package/dist/callbacks/postPickupCollect.d.ts +1 -0
- package/dist/callbacks/postPickupCollect.d.ts.map +1 -1
- package/dist/callbacks/postPickupCollect.lua +8 -8
- package/dist/callbacks/postPickupInitFirst.d.ts +1 -0
- package/dist/callbacks/postPickupInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitFirst.lua +8 -8
- package/dist/callbacks/postPickupInitLate.d.ts +1 -0
- package/dist/callbacks/postPickupInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPickupInitLate.lua +7 -7
- package/dist/callbacks/postPickupStateChanged.d.ts +1 -0
- package/dist/callbacks/postPickupStateChanged.d.ts.map +1 -1
- package/dist/callbacks/postPickupStateChanged.lua +8 -8
- package/dist/callbacks/postPitRender.d.ts +1 -0
- package/dist/callbacks/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/postPitRender.lua +7 -7
- package/dist/callbacks/postPitUpdate.d.ts +1 -0
- package/dist/callbacks/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPitUpdate.lua +7 -7
- package/dist/callbacks/postPlayerChangeHealth.d.ts +1 -0
- package/dist/callbacks/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeHealth.lua +9 -10
- package/dist/callbacks/postPlayerChangeStat.d.ts +1 -0
- package/dist/callbacks/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeStat.lua +19 -20
- package/dist/callbacks/postPlayerChangeType.d.ts +1 -0
- package/dist/callbacks/postPlayerChangeType.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeType.lua +10 -10
- package/dist/callbacks/postPlayerCollectible.d.ts +1 -0
- package/dist/callbacks/postPlayerCollectible.d.ts.map +1 -1
- package/dist/callbacks/postPlayerCollectible.lua +36 -40
- package/dist/callbacks/postPlayerFatalDamage.d.ts +1 -0
- package/dist/callbacks/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/postPlayerFatalDamage.lua +14 -22
- package/dist/callbacks/postPlayerInitFirst.d.ts +1 -0
- package/dist/callbacks/postPlayerInitFirst.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitFirst.lua +12 -12
- package/dist/callbacks/postPlayerInitLate.d.ts +1 -0
- package/dist/callbacks/postPlayerInitLate.d.ts.map +1 -1
- package/dist/callbacks/postPlayerInitLate.lua +9 -9
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts +1 -0
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/postPlayerReorderedCallbacks.lua +25 -25
- package/dist/callbacks/postPoopRender.d.ts +1 -0
- package/dist/callbacks/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/postPoopRender.lua +7 -7
- package/dist/callbacks/postPoopUpdate.d.ts +1 -0
- package/dist/callbacks/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPoopUpdate.lua +7 -7
- package/dist/callbacks/postPressurePlateRender.d.ts +1 -0
- package/dist/callbacks/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateRender.lua +7 -7
- package/dist/callbacks/postPressurePlateUpdate.d.ts +1 -0
- package/dist/callbacks/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/postPressurePlateUpdate.lua +7 -7
- package/dist/callbacks/postProjectileInitLate.d.ts +1 -0
- package/dist/callbacks/postProjectileInitLate.d.ts.map +1 -1
- package/dist/callbacks/postProjectileInitLate.lua +7 -7
- package/dist/callbacks/postPurchase.d.ts +1 -0
- package/dist/callbacks/postPurchase.d.ts.map +1 -1
- package/dist/callbacks/postPurchase.lua +12 -12
- package/dist/callbacks/postRockRender.d.ts +1 -0
- package/dist/callbacks/postRockRender.d.ts.map +1 -1
- package/dist/callbacks/postRockRender.lua +7 -7
- package/dist/callbacks/postRockUpdate.d.ts +1 -0
- package/dist/callbacks/postRockUpdate.d.ts.map +1 -1
- package/dist/callbacks/postRockUpdate.lua +7 -7
- package/dist/callbacks/postRoomClearChanged.d.ts +1 -0
- package/dist/callbacks/postRoomClearChanged.d.ts.map +1 -1
- package/dist/callbacks/postRoomClearChanged.lua +9 -9
- package/dist/callbacks/postSacrifice.d.ts +1 -0
- package/dist/callbacks/postSacrifice.d.ts.map +1 -1
- package/dist/callbacks/postSacrifice.lua +8 -8
- package/dist/callbacks/postSlotCollision.d.ts +1 -0
- package/dist/callbacks/postSlotCollision.d.ts.map +1 -1
- package/dist/callbacks/postSlotCollision.lua +7 -7
- package/dist/callbacks/postSlotDestroyed.d.ts +1 -0
- package/dist/callbacks/postSlotDestroyed.d.ts.map +1 -1
- package/dist/callbacks/postSlotDestroyed.lua +8 -8
- package/dist/callbacks/postSlotInitUpdate.d.ts +1 -0
- package/dist/callbacks/postSlotInitUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSlotInitUpdate.lua +15 -15
- package/dist/callbacks/postSlotRender.d.ts +1 -0
- package/dist/callbacks/postSlotRender.d.ts.map +1 -1
- package/dist/callbacks/postSlotRender.lua +12 -12
- package/dist/callbacks/postSpikesRender.d.ts +1 -0
- package/dist/callbacks/postSpikesRender.d.ts.map +1 -1
- package/dist/callbacks/postSpikesRender.lua +7 -7
- package/dist/callbacks/postSpikesUpdate.d.ts +1 -0
- package/dist/callbacks/postSpikesUpdate.d.ts.map +1 -1
- package/dist/callbacks/postSpikesUpdate.lua +7 -7
- package/dist/callbacks/postTNTRender.d.ts +1 -0
- package/dist/callbacks/postTNTRender.d.ts.map +1 -1
- package/dist/callbacks/postTNTRender.lua +7 -7
- package/dist/callbacks/postTNTUpdate.d.ts +1 -0
- package/dist/callbacks/postTNTUpdate.d.ts.map +1 -1
- package/dist/callbacks/postTNTUpdate.lua +7 -7
- package/dist/callbacks/postTearInitLate.d.ts +1 -0
- package/dist/callbacks/postTearInitLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitLate.lua +7 -7
- package/dist/callbacks/postTearInitVeryLate.d.ts +1 -0
- package/dist/callbacks/postTearInitVeryLate.d.ts.map +1 -1
- package/dist/callbacks/postTearInitVeryLate.lua +7 -7
- package/dist/callbacks/postTransformation.d.ts +1 -0
- package/dist/callbacks/postTransformation.d.ts.map +1 -1
- package/dist/callbacks/postTransformation.lua +9 -9
- package/dist/callbacks/postTrinketBreak.d.ts +1 -0
- package/dist/callbacks/postTrinketBreak.d.ts.map +1 -1
- package/dist/callbacks/postTrinketBreak.lua +11 -11
- package/dist/callbacks/preBerserkDeath.d.ts +1 -0
- package/dist/callbacks/preBerserkDeath.d.ts.map +1 -1
- package/dist/callbacks/preBerserkDeath.lua +9 -9
- package/dist/callbacks/preNewLevel.d.ts +1 -0
- package/dist/callbacks/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/preNewLevel.lua +8 -8
- package/dist/callbacks/reorderedCallbacks.d.ts +1 -0
- package/dist/callbacks/reorderedCallbacks.d.ts.map +1 -1
- package/dist/callbacks/reorderedCallbacks.lua +26 -26
- package/dist/callbacks/subscriptions/postAmbushFinished.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +4 -10
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.lua +4 -10
- package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +3 -4
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts +1 -0
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerChangeStat.lua +3 -4
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +3 -4
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/callbacks/subscriptions/preNewLevel.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/preNewLevel.lua +4 -4
- package/dist/classes/DefaultMap.d.ts +1 -0
- package/dist/classes/DefaultMap.d.ts.map +1 -1
- package/dist/classes/DefaultMap.lua +4 -4
- package/dist/classes/ModUpgraded.d.ts +1 -0
- package/dist/classes/ModUpgraded.d.ts.map +1 -1
- package/dist/classes/ModUpgraded.lua +1 -1
- package/dist/core/cachedClasses.d.ts +1 -0
- package/dist/core/cachedClasses.d.ts.map +1 -1
- package/dist/core/constants.d.ts +1 -0
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.lua +4 -4
- package/dist/core/constantsFirstLast.d.ts +1 -0
- package/dist/core/constantsFirstLast.d.ts.map +1 -1
- package/dist/core/constantsFirstLast.lua +11 -11
- package/dist/core/upgradeMod.d.ts +1 -0
- package/dist/core/upgradeMod.d.ts.map +1 -1
- package/dist/core/upgradeMod.lua +9 -9
- package/dist/enums/AmbushType.d.ts +1 -0
- package/dist/enums/AmbushType.d.ts.map +1 -1
- package/dist/enums/CornerType.d.ts +1 -0
- package/dist/enums/CornerType.d.ts.map +1 -1
- package/dist/enums/HealthType.d.ts +1 -0
- package/dist/enums/HealthType.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.d.ts +1 -0
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/enums/PocketItemType.d.ts +1 -0
- package/dist/enums/PocketItemType.d.ts.map +1 -1
- package/dist/enums/RockAltType.d.ts +1 -0
- package/dist/enums/RockAltType.d.ts.map +1 -1
- package/dist/enums/SaveDataKey.d.ts +1 -0
- package/dist/enums/SaveDataKey.d.ts.map +1 -1
- package/dist/enums/SerializationType.d.ts +1 -0
- package/dist/enums/SerializationType.d.ts.map +1 -1
- package/dist/enums/SlotDestructionType.d.ts +1 -0
- package/dist/enums/SlotDestructionType.d.ts.map +1 -1
- package/dist/enums/StatType.d.ts +1 -0
- package/dist/enums/StatType.d.ts.map +1 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +1 -0
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts.map +1 -1
- package/dist/enums/private/SerializationBrand.d.ts +1 -0
- package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
- package/dist/enums/private/StageTravelState.d.ts +1 -0
- package/dist/enums/private/StageTravelState.d.ts.map +1 -1
- package/dist/enums/private/TrapdoorAnimation.d.ts +1 -0
- package/dist/enums/private/TrapdoorAnimation.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.d.ts +1 -0
- package/dist/features/characterHealthConversion.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.lua +10 -10
- package/dist/features/characterStats.d.ts +1 -0
- package/dist/features/characterStats.d.ts.map +1 -1
- package/dist/features/characterStats.lua +6 -6
- package/dist/features/collectibleItemPoolType.d.ts +1 -0
- package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
- package/dist/features/collectibleItemPoolType.lua +8 -8
- package/dist/features/customDoor.d.ts +1 -0
- package/dist/features/customDoor.d.ts.map +1 -1
- package/dist/features/customDoor.lua +4 -4
- package/dist/features/customGridEntity.d.ts +1 -0
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +39 -42
- package/dist/features/customPickup.d.ts +1 -0
- package/dist/features/customPickup.d.ts.map +1 -1
- package/dist/features/customPickup.lua +8 -8
- package/dist/features/customStage/backdrop.d.ts +1 -0
- package/dist/features/customStage/backdrop.d.ts.map +1 -1
- package/dist/features/customStage/backdrop.lua +28 -40
- package/dist/features/customStage/customStageConstants.d.ts +1 -0
- package/dist/features/customStage/customStageConstants.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.d.ts +1 -0
- 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 +1 -0
- package/dist/features/customStage/customStageUtils.d.ts.map +1 -1
- package/dist/features/customStage/customStageUtils.lua +21 -33
- package/dist/features/customStage/exports.d.ts +1 -0
- package/dist/features/customStage/exports.d.ts.map +1 -1
- package/dist/features/customStage/exports.lua +18 -36
- package/dist/features/customStage/init.d.ts +1 -0
- 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 +1 -0
- package/dist/features/customStage/shadows.d.ts.map +1 -1
- package/dist/features/customStage/shadows.lua +4 -10
- package/dist/features/customStage/streakText.d.ts +1 -0
- 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 +1 -0
- package/dist/features/customStage/v.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.d.ts +1 -0
- package/dist/features/customStage/versusScreen.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.lua +27 -31
- package/dist/features/customTrapdoor/blackSprite.d.ts +1 -0
- 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 +1 -0
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.d.ts +1 -0
- package/dist/features/customTrapdoor/exports.d.ts.map +1 -1
- package/dist/features/customTrapdoor/exports.lua +8 -20
- package/dist/features/customTrapdoor/init.d.ts +1 -0
- package/dist/features/customTrapdoor/init.d.ts.map +1 -1
- package/dist/features/customTrapdoor/init.lua +50 -65
- package/dist/features/customTrapdoor/openClose.d.ts +1 -0
- 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 +1 -0
- package/dist/features/customTrapdoor/spawn.d.ts.map +1 -1
- package/dist/features/customTrapdoor/spawn.lua +4 -5
- package/dist/features/customTrapdoor/touched.d.ts +1 -0
- package/dist/features/customTrapdoor/touched.d.ts.map +1 -1
- package/dist/features/customTrapdoor/touched.lua +21 -25
- package/dist/features/customTrapdoor/v.d.ts +1 -0
- package/dist/features/customTrapdoor/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/debugDisplay.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/features/debugDisplay/v.d.ts.map +1 -1
- package/dist/features/debugDisplay/v.lua +6 -6
- package/dist/features/deployJSONRoom.d.ts +1 -0
- package/dist/features/deployJSONRoom.d.ts.map +1 -1
- package/dist/features/deployJSONRoom.lua +93 -118
- package/dist/features/disableAllSound.d.ts +1 -0
- package/dist/features/disableAllSound.d.ts.map +1 -1
- package/dist/features/disableAllSound.lua +10 -10
- package/dist/features/disableInputs.d.ts +1 -0
- package/dist/features/disableInputs.d.ts.map +1 -1
- package/dist/features/disableInputs.lua +25 -25
- package/dist/features/extraConsoleCommands/commandsDisplay.d.ts +1 -0
- 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 +1 -0
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +33 -42
- package/dist/features/extraConsoleCommands/exports.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +307 -362
- package/dist/features/extraConsoleCommands/v.d.ts +1 -0
- package/dist/features/extraConsoleCommands/v.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/v.lua +1 -1
- package/dist/features/fadeInRemover.d.ts +1 -0
- package/dist/features/fadeInRemover.d.ts.map +1 -1
- package/dist/features/fadeInRemover.lua +8 -9
- package/dist/features/fastReset.d.ts +1 -0
- package/dist/features/fastReset.d.ts.map +1 -1
- package/dist/features/fastReset.lua +11 -11
- package/dist/features/firstLast.d.ts +1 -0
- package/dist/features/firstLast.d.ts.map +1 -1
- package/dist/features/firstLast.lua +93 -105
- package/dist/features/forgottenSwitch.d.ts +1 -0
- package/dist/features/forgottenSwitch.d.ts.map +1 -1
- package/dist/features/forgottenSwitch.lua +5 -5
- package/dist/features/pause.d.ts +1 -0
- package/dist/features/pause.d.ts.map +1 -1
- package/dist/features/pause.lua +25 -25
- package/dist/features/persistentEntities.d.ts +1 -0
- package/dist/features/persistentEntities.d.ts.map +1 -1
- package/dist/features/persistentEntities.lua +17 -25
- package/dist/features/pickupIndex.d.ts +1 -0
- package/dist/features/pickupIndex.d.ts.map +1 -1
- package/dist/features/pickupIndex.lua +25 -25
- package/dist/features/playerInventory.d.ts +1 -0
- package/dist/features/playerInventory.d.ts.map +1 -1
- package/dist/features/playerInventory.lua +16 -16
- package/dist/features/ponyDetection.d.ts +1 -0
- package/dist/features/ponyDetection.d.ts.map +1 -1
- package/dist/features/ponyDetection.lua +13 -14
- package/dist/features/preventChildEntities.d.ts +1 -0
- package/dist/features/preventChildEntities.d.ts.map +1 -1
- package/dist/features/preventChildEntities.lua +4 -4
- package/dist/features/preventCollectibleRotation.d.ts +1 -0
- package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
- package/dist/features/preventCollectibleRotation.lua +13 -13
- package/dist/features/registerHotkey.d.ts +1 -0
- package/dist/features/registerHotkey.d.ts.map +1 -1
- package/dist/features/registerHotkey.lua +14 -14
- package/dist/features/roomClearFrame.d.ts +1 -0
- package/dist/features/roomClearFrame.d.ts.map +1 -1
- package/dist/features/roomClearFrame.lua +7 -7
- package/dist/features/roomHistory.d.ts +1 -0
- package/dist/features/roomHistory.d.ts.map +1 -1
- package/dist/features/roomHistory.lua +19 -19
- package/dist/features/runInNFrames.d.ts +1 -0
- package/dist/features/runInNFrames.d.ts.map +1 -1
- package/dist/features/runInNFrames.lua +30 -30
- package/dist/features/runNextRoom.d.ts +1 -0
- package/dist/features/runNextRoom.d.ts.map +1 -1
- package/dist/features/runNextRoom.lua +7 -7
- package/dist/features/saveDataManager/exports.d.ts +1 -0
- 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 +1 -0
- package/dist/features/saveDataManager/load.d.ts.map +1 -1
- package/dist/features/saveDataManager/load.lua +12 -16
- package/dist/features/saveDataManager/main.d.ts +1 -0
- package/dist/features/saveDataManager/main.d.ts.map +1 -1
- package/dist/features/saveDataManager/main.lua +31 -32
- package/dist/features/saveDataManager/maps.d.ts +1 -0
- package/dist/features/saveDataManager/maps.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.d.ts +1 -0
- package/dist/features/saveDataManager/merge.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.lua +30 -33
- package/dist/features/saveDataManager/save.d.ts +1 -0
- package/dist/features/saveDataManager/save.d.ts.map +1 -1
- package/dist/features/saveDataManager/save.lua +8 -9
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts +1 -0
- package/dist/features/saveDataManager/saveDataManagerConstants.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.d.ts +1 -0
- package/dist/features/saveDataManager/serializationBrands.d.ts.map +1 -1
- package/dist/features/saveDataManager/serializationBrands.lua +3 -3
- package/dist/features/sirenHelpers.d.ts +1 -0
- package/dist/features/sirenHelpers.d.ts.map +1 -1
- package/dist/features/sirenHelpers.lua +15 -15
- package/dist/features/stageHistory.d.ts +1 -0
- package/dist/features/stageHistory.d.ts.map +1 -1
- package/dist/features/stageHistory.lua +7 -7
- package/dist/features/taintedLazarusPlayers.d.ts +1 -0
- package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
- package/dist/features/taintedLazarusPlayers.lua +8 -8
- package/dist/featuresInitialized.d.ts +1 -0
- package/dist/featuresInitialized.d.ts.map +1 -1
- package/dist/featuresInitialized.lua +4 -4
- package/dist/functions/ambush.d.ts +1 -0
- package/dist/functions/ambush.d.ts.map +1 -1
- package/dist/functions/ambush.lua +15 -18
- package/dist/functions/array.d.ts +1 -0
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.lua +48 -62
- package/dist/functions/benchmark.d.ts +1 -0
- package/dist/functions/benchmark.d.ts.map +1 -1
- package/dist/functions/benchmark.lua +4 -10
- package/dist/functions/bitSet128.d.ts +1 -0
- package/dist/functions/bitSet128.d.ts.map +1 -1
- package/dist/functions/bitSet128.lua +11 -13
- package/dist/functions/bitwise.d.ts +1 -0
- package/dist/functions/bitwise.d.ts.map +1 -1
- package/dist/functions/bitwise.lua +9 -9
- package/dist/functions/bombs.d.ts +1 -0
- package/dist/functions/bombs.d.ts.map +1 -1
- package/dist/functions/bombs.lua +1 -1
- package/dist/functions/bosses.d.ts +1 -0
- package/dist/functions/bosses.d.ts.map +1 -1
- package/dist/functions/bosses.lua +15 -31
- package/dist/functions/cards.d.ts +1 -0
- package/dist/functions/cards.d.ts.map +1 -1
- package/dist/functions/cards.lua +42 -48
- package/dist/functions/challenges.d.ts +1 -0
- package/dist/functions/challenges.d.ts.map +1 -1
- package/dist/functions/challenges.lua +1 -1
- package/dist/functions/characters.d.ts +1 -0
- package/dist/functions/characters.d.ts.map +1 -1
- package/dist/functions/characters.lua +13 -13
- package/dist/functions/charge.d.ts +1 -0
- package/dist/functions/charge.d.ts.map +1 -1
- package/dist/functions/charge.lua +24 -36
- package/dist/functions/chargeBar.d.ts +1 -0
- package/dist/functions/chargeBar.d.ts.map +1 -1
- package/dist/functions/chargeBar.lua +5 -5
- package/dist/functions/collectibleCacheFlag.d.ts +1 -0
- package/dist/functions/collectibleCacheFlag.d.ts.map +1 -1
- package/dist/functions/collectibleCacheFlag.lua +11 -12
- package/dist/functions/collectibleSet.d.ts +1 -0
- package/dist/functions/collectibleSet.d.ts.map +1 -1
- package/dist/functions/collectibleSet.lua +17 -17
- package/dist/functions/collectibleTag.d.ts +1 -0
- package/dist/functions/collectibleTag.d.ts.map +1 -1
- package/dist/functions/collectibleTag.lua +13 -14
- package/dist/functions/collectibles.d.ts +1 -0
- package/dist/functions/collectibles.d.ts.map +1 -1
- package/dist/functions/collectibles.lua +68 -69
- package/dist/functions/color.d.ts +1 -0
- package/dist/functions/color.d.ts.map +1 -1
- package/dist/functions/color.lua +19 -21
- package/dist/functions/curses.d.ts +1 -0
- package/dist/functions/curses.d.ts.map +1 -1
- package/dist/functions/curses.lua +3 -3
- package/dist/functions/debug.d.ts +1 -0
- package/dist/functions/debug.d.ts.map +1 -1
- package/dist/functions/debug.lua +15 -15
- package/dist/functions/deepCopy.d.ts +1 -0
- package/dist/functions/deepCopy.d.ts.map +1 -1
- package/dist/functions/deepCopy.lua +73 -169
- package/dist/functions/deepCopyTests.d.ts +1 -0
- package/dist/functions/deepCopyTests.d.ts.map +1 -1
- package/dist/functions/deepCopyTests.lua +81 -81
- package/dist/functions/dimensions.d.ts +1 -0
- package/dist/functions/dimensions.d.ts.map +1 -1
- package/dist/functions/dimensions.lua +7 -7
- package/dist/functions/direction.d.ts +1 -0
- package/dist/functions/direction.d.ts.map +1 -1
- package/dist/functions/direction.lua +4 -4
- package/dist/functions/doors.d.ts +1 -0
- package/dist/functions/doors.d.ts.map +1 -1
- package/dist/functions/doors.lua +74 -77
- package/dist/functions/easing.d.ts +1 -0
- package/dist/functions/easing.d.ts.map +1 -1
- package/dist/functions/easing.lua +32 -32
- package/dist/functions/eden.d.ts +1 -0
- package/dist/functions/eden.d.ts.map +1 -1
- package/dist/functions/eden.lua +9 -9
- package/dist/functions/effects.d.ts +1 -0
- package/dist/functions/effects.d.ts.map +1 -1
- package/dist/functions/effects.lua +2 -2
- package/dist/functions/entities.d.ts +1 -0
- package/dist/functions/entities.d.ts.map +1 -1
- package/dist/functions/entities.lua +41 -48
- package/dist/functions/entitiesSpecific.d.ts +1 -0
- package/dist/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/functions/entitiesSpecific.lua +70 -96
- package/dist/functions/entityTypes.d.ts +1 -0
- package/dist/functions/entityTypes.d.ts.map +1 -1
- package/dist/functions/entityTypes.lua +1 -1
- package/dist/functions/enums.d.ts +1 -0
- package/dist/functions/enums.d.ts.map +1 -1
- package/dist/functions/enums.lua +19 -19
- package/dist/functions/familiars.d.ts +1 -0
- package/dist/functions/familiars.d.ts.map +1 -1
- package/dist/functions/familiars.lua +5 -6
- package/dist/functions/flag.d.ts +1 -0
- package/dist/functions/flag.d.ts.map +1 -1
- package/dist/functions/flag.lua +8 -8
- package/dist/functions/flying.d.ts +1 -0
- package/dist/functions/flying.d.ts.map +1 -1
- package/dist/functions/flying.lua +9 -12
- package/dist/functions/globals.d.ts +1 -0
- package/dist/functions/globals.d.ts.map +1 -1
- package/dist/functions/globals.lua +14 -17
- package/dist/functions/gridEntities.d.ts +1 -0
- package/dist/functions/gridEntities.d.ts.map +1 -1
- package/dist/functions/gridEntities.lua +58 -64
- package/dist/functions/gridEntitiesSpecific.d.ts +1 -0
- package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -1
- package/dist/functions/gridEntitiesSpecific.lua +92 -92
- package/dist/functions/hex.d.ts +1 -0
- package/dist/functions/hex.d.ts.map +1 -1
- package/dist/functions/hex.lua +9 -12
- package/dist/functions/initArray.d.ts +1 -0
- package/dist/functions/initArray.d.ts.map +1 -1
- package/dist/functions/initArray.lua +3 -4
- package/dist/functions/input.d.ts +1 -0
- package/dist/functions/input.d.ts.map +1 -1
- package/dist/functions/input.lua +22 -25
- package/dist/functions/isaacAPIClass.d.ts +1 -0
- package/dist/functions/isaacAPIClass.d.ts.map +1 -1
- package/dist/functions/isaacAPIClass.lua +47 -47
- package/dist/functions/itemPool.d.ts +1 -0
- package/dist/functions/itemPool.d.ts.map +1 -1
- package/dist/functions/itemPool.lua +17 -19
- package/dist/functions/jsonHelpers.d.ts +1 -0
- package/dist/functions/jsonHelpers.d.ts.map +1 -1
- package/dist/functions/jsonHelpers.lua +3 -3
- package/dist/functions/jsonRoom.d.ts +1 -0
- package/dist/functions/jsonRoom.d.ts.map +1 -1
- package/dist/functions/jsonRoom.lua +16 -22
- package/dist/functions/kColor.d.ts +1 -0
- package/dist/functions/kColor.d.ts.map +1 -1
- package/dist/functions/kColor.lua +19 -21
- package/dist/functions/language.d.ts +1 -0
- package/dist/functions/language.d.ts.map +1 -1
- package/dist/functions/language.lua +1 -1
- package/dist/functions/level.d.ts +1 -0
- package/dist/functions/level.d.ts.map +1 -1
- package/dist/functions/level.lua +5 -5
- package/dist/functions/levelGrid.d.ts +1 -0
- package/dist/functions/levelGrid.d.ts.map +1 -1
- package/dist/functions/levelGrid.lua +67 -67
- package/dist/functions/log.d.ts +1 -0
- package/dist/functions/log.d.ts.map +1 -1
- package/dist/functions/log.lua +128 -240
- package/dist/functions/logEntities.d.ts +1 -0
- package/dist/functions/logEntities.d.ts.map +1 -1
- package/dist/functions/logEntities.lua +29 -32
- package/dist/functions/map.d.ts +1 -0
- package/dist/functions/map.d.ts.map +1 -1
- package/dist/functions/map.lua +5 -5
- package/dist/functions/math.d.ts +1 -0
- package/dist/functions/math.d.ts.map +1 -1
- package/dist/functions/math.lua +14 -14
- package/dist/functions/mergeTests.d.ts +1 -0
- package/dist/functions/mergeTests.d.ts.map +1 -1
- package/dist/functions/mergeTests.lua +47 -47
- package/dist/functions/minimap.d.ts +1 -0
- package/dist/functions/minimap.d.ts.map +1 -1
- package/dist/functions/minimap.lua +12 -12
- package/dist/functions/nextStage.d.ts +1 -0
- package/dist/functions/nextStage.d.ts.map +1 -1
- package/dist/functions/nextStage.lua +39 -39
- package/dist/functions/npcs.d.ts +1 -0
- package/dist/functions/npcs.d.ts.map +1 -1
- package/dist/functions/npcs.lua +15 -21
- package/dist/functions/pickupVariants.d.ts +1 -0
- package/dist/functions/pickupVariants.d.ts.map +1 -1
- package/dist/functions/pickupVariants.lua +11 -11
- package/dist/functions/pickups.d.ts +1 -0
- package/dist/functions/pickups.d.ts.map +1 -1
- package/dist/functions/pickups.lua +9 -9
- package/dist/functions/pickupsSpecific.d.ts +1 -0
- package/dist/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/functions/pickupsSpecific.lua +58 -76
- package/dist/functions/pills.d.ts +1 -0
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/pills.lua +22 -25
- package/dist/functions/playerCenter.d.ts +1 -0
- package/dist/functions/playerCenter.d.ts.map +1 -1
- package/dist/functions/playerCenter.lua +5 -6
- package/dist/functions/playerDataStructures.d.ts +1 -0
- package/dist/functions/playerDataStructures.d.ts.map +1 -1
- package/dist/functions/playerDataStructures.lua +16 -16
- package/dist/functions/playerHealth.d.ts +1 -0
- package/dist/functions/playerHealth.d.ts.map +1 -1
- package/dist/functions/playerHealth.lua +47 -54
- package/dist/functions/playerIndex.d.ts +1 -0
- package/dist/functions/playerIndex.d.ts.map +1 -1
- package/dist/functions/playerIndex.lua +17 -17
- package/dist/functions/playerStats.d.ts +1 -0
- package/dist/functions/playerStats.d.ts.map +1 -1
- package/dist/functions/playerStats.lua +1 -1
- package/dist/functions/players.d.ts +1 -0
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +81 -82
- package/dist/functions/pocketItems.d.ts +1 -0
- package/dist/functions/pocketItems.d.ts.map +1 -1
- package/dist/functions/pocketItems.lua +12 -12
- package/dist/functions/positionVelocity.d.ts +1 -0
- package/dist/functions/positionVelocity.d.ts.map +1 -1
- package/dist/functions/positionVelocity.lua +15 -15
- package/dist/functions/pressurePlate.d.ts +1 -0
- package/dist/functions/pressurePlate.d.ts.map +1 -1
- package/dist/functions/pressurePlate.lua +2 -2
- package/dist/functions/projectiles.d.ts +1 -0
- package/dist/functions/projectiles.d.ts.map +1 -1
- package/dist/functions/projectiles.lua +7 -19
- package/dist/functions/random.d.ts +1 -0
- package/dist/functions/random.d.ts.map +1 -1
- package/dist/functions/random.lua +9 -9
- package/dist/functions/reorderedCallbacks.d.ts +1 -0
- package/dist/functions/reorderedCallbacks.d.ts.map +1 -1
- package/dist/functions/reorderedCallbacks.lua +6 -6
- package/dist/functions/revive.d.ts +1 -0
- package/dist/functions/revive.d.ts.map +1 -1
- package/dist/functions/revive.lua +16 -16
- package/dist/functions/rng.d.ts +1 -0
- package/dist/functions/rng.d.ts.map +1 -1
- package/dist/functions/rng.lua +25 -27
- package/dist/functions/rockAlt.d.ts +1 -0
- package/dist/functions/rockAlt.d.ts.map +1 -1
- package/dist/functions/rockAlt.lua +74 -111
- package/dist/functions/roomData.d.ts +1 -0
- package/dist/functions/roomData.d.ts.map +1 -1
- package/dist/functions/roomData.lua +30 -30
- package/dist/functions/roomGrid.d.ts +1 -0
- package/dist/functions/roomGrid.d.ts.map +1 -1
- package/dist/functions/roomGrid.lua +17 -17
- package/dist/functions/roomShape.d.ts +1 -0
- package/dist/functions/roomShape.d.ts.map +1 -1
- package/dist/functions/roomShape.lua +13 -13
- package/dist/functions/roomTransition.d.ts +1 -0
- package/dist/functions/roomTransition.d.ts.map +1 -1
- package/dist/functions/roomTransition.lua +10 -19
- package/dist/functions/rooms.d.ts +1 -0
- package/dist/functions/rooms.d.ts.map +1 -1
- package/dist/functions/rooms.lua +87 -87
- package/dist/functions/run.d.ts +1 -0
- package/dist/functions/run.d.ts.map +1 -1
- package/dist/functions/run.lua +11 -17
- package/dist/functions/saveFile.d.ts +1 -0
- package/dist/functions/saveFile.d.ts.map +1 -1
- package/dist/functions/saveFile.lua +3 -3
- package/dist/functions/seeds.d.ts +1 -0
- package/dist/functions/seeds.d.ts.map +1 -1
- package/dist/functions/seeds.lua +3 -3
- package/dist/functions/serialization.d.ts +1 -0
- package/dist/functions/serialization.d.ts.map +1 -1
- package/dist/functions/serialization.lua +11 -11
- package/dist/functions/set.d.ts +1 -0
- package/dist/functions/set.d.ts.map +1 -1
- package/dist/functions/set.lua +15 -15
- package/dist/functions/sound.d.ts +1 -0
- package/dist/functions/sound.d.ts.map +1 -1
- package/dist/functions/sound.lua +2 -2
- package/dist/functions/spawnCollectible.d.ts +1 -0
- package/dist/functions/spawnCollectible.d.ts.map +1 -1
- package/dist/functions/spawnCollectible.lua +9 -11
- package/dist/functions/sprites.d.ts +1 -0
- package/dist/functions/sprites.d.ts.map +1 -1
- package/dist/functions/sprites.lua +7 -13
- package/dist/functions/stage.d.ts +1 -0
- package/dist/functions/stage.d.ts.map +1 -1
- package/dist/functions/stage.lua +26 -29
- package/dist/functions/stats.d.ts +1 -0
- package/dist/functions/stats.d.ts.map +1 -1
- package/dist/functions/stats.lua +3 -3
- package/dist/functions/string.d.ts +1 -0
- package/dist/functions/string.d.ts.map +1 -1
- package/dist/functions/string.lua +7 -7
- package/dist/functions/table.d.ts +1 -0
- package/dist/functions/table.d.ts.map +1 -1
- package/dist/functions/table.lua +16 -16
- package/dist/functions/tears.d.ts +1 -0
- package/dist/functions/tears.d.ts.map +1 -1
- package/dist/functions/tears.lua +5 -5
- package/dist/functions/transformations.d.ts +1 -0
- package/dist/functions/transformations.d.ts.map +1 -1
- package/dist/functions/transformations.lua +13 -14
- package/dist/functions/trinketCacheFlag.d.ts +1 -0
- package/dist/functions/trinketCacheFlag.d.ts.map +1 -1
- package/dist/functions/trinketCacheFlag.lua +10 -10
- package/dist/functions/trinketGive.d.ts +1 -0
- package/dist/functions/trinketGive.d.ts.map +1 -1
- package/dist/functions/trinketGive.lua +12 -14
- package/dist/functions/trinketSet.d.ts +1 -0
- package/dist/functions/trinketSet.d.ts.map +1 -1
- package/dist/functions/trinketSet.lua +17 -17
- package/dist/functions/trinkets.d.ts +1 -0
- package/dist/functions/trinkets.d.ts.map +1 -1
- package/dist/functions/trinkets.lua +22 -22
- package/dist/functions/tstlClass.d.ts +1 -0
- package/dist/functions/tstlClass.d.ts.map +1 -1
- package/dist/functions/tstlClass.lua +19 -19
- package/dist/functions/types.d.ts +1 -0
- package/dist/functions/types.d.ts.map +1 -1
- package/dist/functions/types.lua +17 -17
- package/dist/functions/ui.d.ts +1 -0
- package/dist/functions/ui.d.ts.map +1 -1
- package/dist/functions/ui.lua +19 -19
- package/dist/functions/utils.d.ts +1 -0
- package/dist/functions/utils.d.ts.map +1 -1
- package/dist/functions/utils.lua +12 -12
- package/dist/functions/vector.d.ts +1 -0
- package/dist/functions/vector.d.ts.map +1 -1
- package/dist/functions/vector.lua +21 -23
- package/dist/index.d.ts +92 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/initCustomCallbacks.d.ts +1 -0
- package/dist/initCustomCallbacks.d.ts.map +1 -1
- package/dist/initCustomCallbacks.lua +72 -72
- package/dist/initFeatures.d.ts +1 -0
- package/dist/initFeatures.d.ts.map +1 -1
- package/dist/initFeatures.lua +34 -34
- package/dist/interfaces/ChargeBarSprites.d.ts +1 -0
- package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -1
- package/dist/interfaces/Corner.d.ts +1 -0
- package/dist/interfaces/Corner.d.ts.map +1 -1
- package/dist/interfaces/CustomStageTSConfig.d.ts +1 -11
- package/dist/interfaces/CustomStageTSConfig.d.ts.map +1 -1
- package/dist/interfaces/GridEntityCustomData.d.ts +1 -0
- package/dist/interfaces/GridEntityCustomData.d.ts.map +1 -1
- package/dist/interfaces/JSONRoomsFile.d.ts +1 -0
- package/dist/interfaces/JSONRoomsFile.d.ts.map +1 -1
- package/dist/interfaces/PlayerHealth.d.ts +1 -0
- package/dist/interfaces/PlayerHealth.d.ts.map +1 -1
- package/dist/interfaces/PocketItemDescription.d.ts +1 -0
- package/dist/interfaces/PocketItemDescription.d.ts.map +1 -1
- package/dist/interfaces/RoomDescription.d.ts +1 -0
- package/dist/interfaces/RoomDescription.d.ts.map +1 -1
- package/dist/interfaces/SaveData.d.ts +1 -0
- package/dist/interfaces/SaveData.d.ts.map +1 -1
- package/dist/interfaces/SaveData.lua +10 -10
- package/dist/interfaces/StatTypeType.d.ts +1 -0
- package/dist/interfaces/StatTypeType.d.ts.map +1 -1
- package/dist/interfaces/TrinketSituation.d.ts +1 -0
- package/dist/interfaces/TrinketSituation.d.ts.map +1 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts +1 -0
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts.map +1 -1
- package/dist/interfaces/private/CustomStage.d.ts +1 -0
- package/dist/interfaces/private/CustomStage.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts +1 -0
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts +1 -0
- package/dist/interfaces/private/CustomTrapdoorDestination.d.ts.map +1 -1
- package/dist/interfaces/private/TSTLClassMetatable.d.ts +1 -0
- package/dist/interfaces/private/TSTLClassMetatable.d.ts.map +1 -1
- package/dist/maps/PHDPillConversions.d.ts +1 -0
- package/dist/maps/PHDPillConversions.d.ts.map +1 -1
- package/dist/maps/cardMap.d.ts +1 -0
- package/dist/maps/cardMap.d.ts.map +1 -1
- package/dist/maps/characterMap.d.ts +1 -0
- package/dist/maps/characterMap.d.ts.map +1 -1
- package/dist/maps/collectibleDescriptionMap.d.ts +1 -0
- package/dist/maps/collectibleDescriptionMap.d.ts.map +1 -1
- package/dist/maps/collectibleNameMap.d.ts +1 -0
- package/dist/maps/collectibleNameMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.d.ts +1 -0
- package/dist/maps/defaultPlayerStatMap.d.ts.map +1 -1
- package/dist/maps/defaultPlayerStatMap.lua +1 -1
- package/dist/maps/falsePHDPillConversions.d.ts +1 -0
- package/dist/maps/falsePHDPillConversions.d.ts.map +1 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +1 -0
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts.map +1 -1
- package/dist/maps/gridEntityXMLMap.d.ts +1 -0
- package/dist/maps/gridEntityXMLMap.d.ts.map +1 -1
- package/dist/maps/keyboardToString.d.ts +1 -0
- package/dist/maps/keyboardToString.d.ts.map +1 -1
- package/dist/maps/pillEffectMap.d.ts +1 -0
- package/dist/maps/pillEffectMap.d.ts.map +1 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +1 -0
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts.map +1 -1
- package/dist/maps/roomTypeMap.d.ts +1 -0
- package/dist/maps/roomTypeMap.d.ts.map +1 -1
- package/dist/maps/trinketDescriptionMap.d.ts +1 -0
- package/dist/maps/trinketDescriptionMap.d.ts.map +1 -1
- package/dist/maps/trinketNameMap.d.ts +1 -0
- package/dist/maps/trinketNameMap.d.ts.map +1 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts +1 -0
- package/dist/objects/LRoomShapeToRectangles.d.ts.map +1 -1
- package/dist/objects/backdropTypeToRockAltType.d.ts +1 -0
- package/dist/objects/backdropTypeToRockAltType.d.ts.map +1 -1
- package/dist/objects/bossNamePNGFileNames.d.ts +1 -0
- package/dist/objects/bossNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/bossPortraitPNGFileNames.d.ts +1 -0
- package/dist/objects/bossPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/callbackRegisterFunctions.d.ts +1 -0
- package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
- package/dist/objects/cardDescriptions.d.ts +1 -0
- package/dist/objects/cardDescriptions.d.ts.map +1 -1
- package/dist/objects/cardNames.d.ts +1 -0
- package/dist/objects/cardNames.d.ts.map +1 -1
- package/dist/objects/cardTypeToItemConfigCardType.d.ts +1 -0
- package/dist/objects/cardTypeToItemConfigCardType.d.ts.map +1 -1
- package/dist/objects/challengeNames.d.ts +1 -0
- package/dist/objects/challengeNames.d.ts.map +1 -1
- package/dist/objects/characterDamageMultipliers.d.ts +1 -0
- package/dist/objects/characterDamageMultipliers.d.ts.map +1 -1
- package/dist/objects/characterNames.d.ts +1 -0
- package/dist/objects/characterNames.d.ts.map +1 -1
- package/dist/objects/coinSubTypeToValue.d.ts +1 -0
- package/dist/objects/coinSubTypeToValue.d.ts.map +1 -1
- package/dist/objects/colors.d.ts +1 -0
- package/dist/objects/colors.d.ts.map +1 -1
- package/dist/objects/directionNames.d.ts +1 -0
- package/dist/objects/directionNames.d.ts.map +1 -1
- package/dist/objects/directionToDegrees.d.ts +1 -0
- package/dist/objects/directionToDegrees.d.ts.map +1 -1
- package/dist/objects/directionToVector.d.ts +1 -0
- package/dist/objects/directionToVector.d.ts.map +1 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts +1 -0
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
- package/dist/objects/doorSlotToDirection.d.ts +1 -0
- package/dist/objects/doorSlotToDirection.d.ts.map +1 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts +1 -0
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts +1 -0
- package/dist/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -1
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts +1 -0
- package/dist/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
- package/dist/objects/languageNames.d.ts +1 -0
- package/dist/objects/languageNames.d.ts.map +1 -1
- package/dist/objects/oppositeDoorSlots.d.ts +1 -0
- package/dist/objects/oppositeDoorSlots.d.ts.map +1 -1
- package/dist/objects/pillEffectClasses.d.ts +1 -0
- package/dist/objects/pillEffectClasses.d.ts.map +1 -1
- package/dist/objects/pillEffectNames.d.ts +1 -0
- package/dist/objects/pillEffectNames.d.ts.map +1 -1
- package/dist/objects/pillEffectTypes.d.ts +1 -0
- package/dist/objects/pillEffectTypes.d.ts.map +1 -1
- package/dist/objects/playerNamePNGFileNames.d.ts +1 -0
- package/dist/objects/playerNamePNGFileNames.d.ts.map +1 -1
- package/dist/objects/playerPortraitPNGFileNames.d.ts +1 -0
- package/dist/objects/playerPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/objects/roomShapeBounds.d.ts +1 -0
- package/dist/objects/roomShapeBounds.d.ts.map +1 -1
- package/dist/objects/roomShapeCorners.d.ts +1 -0
- package/dist/objects/roomShapeCorners.d.ts.map +1 -1
- package/dist/objects/roomShapeLayoutSizes.d.ts +1 -0
- package/dist/objects/roomShapeLayoutSizes.d.ts.map +1 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +1 -0
- package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts +1 -0
- package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlots.d.ts +1 -0
- package/dist/objects/roomShapeToDoorSlots.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +1 -0
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts.map +1 -1
- package/dist/objects/roomShapeToGridWidth.d.ts +1 -0
- package/dist/objects/roomShapeToGridWidth.d.ts.map +1 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +1 -0
- package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeVolumes.d.ts +1 -0
- package/dist/objects/roomShapeVolumes.d.ts.map +1 -1
- package/dist/objects/roomTypeGotoPrefixes.d.ts +1 -0
- package/dist/objects/roomTypeGotoPrefixes.d.ts.map +1 -1
- package/dist/objects/roomTypeNames.d.ts +1 -0
- package/dist/objects/roomTypeNames.d.ts.map +1 -1
- package/dist/objects/stageTypeSuffixes.d.ts +1 -0
- package/dist/objects/stageTypeSuffixes.d.ts.map +1 -1
- package/dist/objects/stageTypeToLetter.d.ts +1 -0
- package/dist/objects/stageTypeToLetter.d.ts.map +1 -1
- package/dist/objects/transformationNames.d.ts +1 -0
- package/dist/objects/transformationNames.d.ts.map +1 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts +1 -0
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts +1 -0
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/patchErrorFunctions.d.ts +1 -0
- package/dist/patchErrorFunctions.d.ts.map +1 -1
- package/dist/patchErrorFunctions.lua +7 -7
- package/dist/sets/LRoomShapesSet.d.ts +1 -0
- package/dist/sets/LRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/bossSets.d.ts +1 -0
- package/dist/sets/bossSets.d.ts.map +1 -1
- package/dist/sets/bossSets.lua +4 -4
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +1 -0
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts.map +1 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +1 -0
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts.map +1 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +1 -0
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts +1 -0
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts.map +1 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +1 -0
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts.map +1 -1
- package/dist/sets/chestPickupVariantsSet.d.ts +1 -0
- package/dist/sets/chestPickupVariantsSet.d.ts.map +1 -1
- package/dist/sets/consoleCommandsSet.d.ts +1 -0
- package/dist/sets/consoleCommandsSet.d.ts.map +1 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +1 -0
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts.map +1 -1
- package/dist/sets/lostStyleCharactersSet.d.ts +1 -0
- package/dist/sets/lostStyleCharactersSet.d.ts.map +1 -1
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts +1 -0
- package/dist/sets/mineShaftRoomSubTypesSet.d.ts.map +1 -1
- package/dist/sets/narrowRoomShapesSet.d.ts +1 -0
- package/dist/sets/narrowRoomShapesSet.d.ts.map +1 -1
- package/dist/sets/redHeartSubTypesSet.d.ts +1 -0
- package/dist/sets/redHeartSubTypesSet.d.ts.map +1 -1
- package/dist/sets/sinEntityTypesSet.d.ts +1 -0
- package/dist/sets/sinEntityTypesSet.d.ts.map +1 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +1 -0
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts.map +1 -1
- package/dist/sets/storyBossesSet.d.ts +1 -0
- package/dist/sets/storyBossesSet.d.ts.map +1 -1
- package/dist/shaderCrashFix.d.ts +1 -0
- package/dist/shaderCrashFix.d.ts.map +1 -1
- package/dist/shaderCrashFix.lua +2 -2
- package/dist/types/AnyEntity.d.ts +1 -0
- package/dist/types/AnyEntity.d.ts.map +1 -1
- package/dist/types/AnyGridEntity.d.ts +1 -0
- package/dist/types/AnyGridEntity.d.ts.map +1 -1
- package/dist/types/CollectibleIndex.d.ts +1 -0
- package/dist/types/CollectibleIndex.d.ts.map +1 -1
- package/dist/types/Immutable.d.ts +1 -0
- package/dist/types/Immutable.d.ts.map +1 -1
- package/dist/types/PickingUpItem.d.ts +1 -0
- package/dist/types/PickingUpItem.d.ts.map +1 -1
- package/dist/types/PickingUpItem.lua +5 -5
- package/dist/types/PickupIndex.d.ts +1 -0
- package/dist/types/PickupIndex.d.ts.map +1 -1
- package/dist/types/PlayerIndex.d.ts +1 -0
- package/dist/types/PlayerIndex.d.ts.map +1 -1
- package/dist/types/PossibleStatType.d.ts +1 -0
- package/dist/types/PossibleStatType.d.ts.map +1 -1
- package/dist/types/SerializedIsaacAPIClass.d.ts +1 -0
- package/dist/types/SerializedIsaacAPIClass.d.ts.map +1 -1
- package/dist/types/TSTLClass.d.ts +1 -0
- package/dist/types/TSTLClass.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/customPickup.ts +3 -3
|
@@ -120,58 +120,58 @@ local warpToRoomType = ____commandsSubroutines.warpToRoomType
|
|
|
120
120
|
local ____v = require("features.extraConsoleCommands.v")
|
|
121
121
|
local v = ____v.default
|
|
122
122
|
--- Warps to the first Boss Room on the floor.
|
|
123
|
-
function ____exports.bossRoom(
|
|
124
|
-
warpToRoomType(
|
|
123
|
+
function ____exports.bossRoom()
|
|
124
|
+
warpToRoomType(RoomType.BOSS)
|
|
125
125
|
end
|
|
126
126
|
--- Toggles Chaos Card tears for the player. Useful for killing enemies very fast without using
|
|
127
127
|
-- "debug 10".
|
|
128
|
-
function ____exports.chaosCardTears(
|
|
128
|
+
function ____exports.chaosCardTears()
|
|
129
129
|
v.run.chaosCardTears = not v.run.chaosCardTears
|
|
130
|
-
printEnabled(
|
|
130
|
+
printEnabled(v.run.chaosCardTears, "Chaos Card tears")
|
|
131
131
|
end
|
|
132
132
|
--- Warps to the Devil Room for the floor. If the Angel Room has already been visited or initialized,
|
|
133
133
|
-- this will uninitialize it and make an Devil Room instead.
|
|
134
|
-
function ____exports.devilRoom(
|
|
135
|
-
devilAngel(
|
|
134
|
+
function ____exports.devilRoom()
|
|
135
|
+
devilAngel(true)
|
|
136
136
|
end
|
|
137
137
|
--- Gives the player a golden bomb.
|
|
138
|
-
function ____exports.goldenBomb(
|
|
138
|
+
function ____exports.goldenBomb()
|
|
139
139
|
local player = Isaac.GetPlayer()
|
|
140
140
|
player:AddGoldenBomb()
|
|
141
141
|
end
|
|
142
142
|
--- Gives a golden heart. Provide a number to give a custom amount of hearts. (You can use negative
|
|
143
143
|
-- numbers to remove hearts.)
|
|
144
|
-
function ____exports.goldenHearts(
|
|
145
|
-
addHeart(
|
|
144
|
+
function ____exports.goldenHearts(params)
|
|
145
|
+
addHeart(params, HealthType.GOLDEN)
|
|
146
146
|
end
|
|
147
147
|
--- Gives the player a golden key.
|
|
148
|
-
function ____exports.goldenKey(
|
|
148
|
+
function ____exports.goldenKey()
|
|
149
149
|
local player = Isaac.GetPlayer()
|
|
150
150
|
player:AddGoldenKey()
|
|
151
151
|
end
|
|
152
152
|
--- Alias for the "debug 2" command. Useful for seeing the grid costs of each tile in the room.
|
|
153
|
-
function ____exports.gridCosts(
|
|
153
|
+
function ____exports.gridCosts()
|
|
154
154
|
Isaac.ExecuteCommand("debug 2")
|
|
155
155
|
end
|
|
156
156
|
--- Warps to the I AM ERROR room for the floor.
|
|
157
|
-
function ____exports.iAmErrorRoom(
|
|
158
|
-
changeRoom(
|
|
157
|
+
function ____exports.iAmErrorRoom()
|
|
158
|
+
changeRoom(GridRoom.ERROR)
|
|
159
159
|
end
|
|
160
160
|
--- Sets every NPC in the room to 1 HP.
|
|
161
|
-
function ____exports.oneHP(
|
|
162
|
-
for ____, npc in ipairs(getNPCs(
|
|
161
|
+
function ____exports.oneHP()
|
|
162
|
+
for ____, npc in ipairs(getNPCs()) do
|
|
163
163
|
npc.HitPoints = 1
|
|
164
164
|
end
|
|
165
|
-
printConsole(
|
|
165
|
+
printConsole("Set every NPC to 1 HP.")
|
|
166
166
|
end
|
|
167
167
|
--- Gives a poop mana charge. This only affects Tainted Blue Baby. Provide a number to give a custom
|
|
168
168
|
-- amount of charges. (You can use negative numbers to remove charges.)
|
|
169
|
-
function ____exports.poopMana(
|
|
169
|
+
function ____exports.poopMana(params)
|
|
170
170
|
local charges = 1
|
|
171
171
|
if params ~= "" then
|
|
172
172
|
local num = tonumber(params)
|
|
173
173
|
if num == nil then
|
|
174
|
-
printConsole(
|
|
174
|
+
printConsole("That is an invalid amount of mana to add.")
|
|
175
175
|
return
|
|
176
176
|
end
|
|
177
177
|
charges = num
|
|
@@ -183,108 +183,102 @@ end
|
|
|
183
183
|
--
|
|
184
184
|
-- For example:
|
|
185
185
|
-- - sound 1 - Plays the 1-Up sound effect.
|
|
186
|
-
function ____exports.sound(
|
|
186
|
+
function ____exports.sound(params)
|
|
187
187
|
local soundEffect = tonumber(params)
|
|
188
188
|
if soundEffect == nil then
|
|
189
|
-
printConsole(
|
|
189
|
+
printConsole("That is an invalid sound effect ID.")
|
|
190
190
|
return
|
|
191
191
|
end
|
|
192
192
|
sfxManager:Play(soundEffect)
|
|
193
193
|
end
|
|
194
194
|
--- Warps to the starting room of the floor.
|
|
195
|
-
function ____exports.startingRoom(
|
|
195
|
+
function ____exports.startingRoom()
|
|
196
196
|
local level = game:GetLevel()
|
|
197
197
|
local startingRoomIndex = level:GetStartingRoomIndex()
|
|
198
|
-
changeRoom(
|
|
198
|
+
changeRoom(startingRoomIndex)
|
|
199
199
|
end
|
|
200
200
|
--- Adds a single charge to the player's specified active item. You must provide the active slot
|
|
201
201
|
-- number. Provide a second number to give a custom amount of charges. (You can use negative numbers
|
|
202
202
|
-- to remove charge.)
|
|
203
|
-
function ____exports.addCharges(
|
|
203
|
+
function ____exports.addCharges(params)
|
|
204
204
|
if params == "" then
|
|
205
|
-
printConsole(
|
|
205
|
+
printConsole("You must specify a slot number. (Use 0 for the primary slot, 1 for the Schoolbag slot, 2 for the pocket item slot, and 3 for the Dice Bag slot.)")
|
|
206
206
|
return
|
|
207
207
|
end
|
|
208
208
|
local args = __TS__StringSplit(params, " ")
|
|
209
209
|
if #args ~= 1 and #args ~= 2 then
|
|
210
|
-
printConsole(
|
|
210
|
+
printConsole("That is an invalid amount of arguments.")
|
|
211
211
|
return
|
|
212
212
|
end
|
|
213
213
|
local activeSlotString, numChargeString = table.unpack(args)
|
|
214
214
|
local activeSlot = tonumber(activeSlotString)
|
|
215
215
|
if activeSlot == nil then
|
|
216
|
-
printConsole(
|
|
217
|
-
nil,
|
|
218
|
-
"The provided slot number is invalid: " .. tostring(activeSlotString)
|
|
219
|
-
)
|
|
216
|
+
printConsole("The provided slot number is invalid: " .. tostring(activeSlotString))
|
|
220
217
|
return
|
|
221
218
|
end
|
|
222
219
|
if activeSlot < ActiveSlot.PRIMARY or activeSlot > ActiveSlot.POCKET_SINGLE_USE then
|
|
223
|
-
printConsole(
|
|
224
|
-
nil,
|
|
225
|
-
"The provided slot number is invalid: " .. tostring(activeSlot)
|
|
226
|
-
)
|
|
220
|
+
printConsole("The provided slot number is invalid: " .. tostring(activeSlot))
|
|
227
221
|
return
|
|
228
222
|
end
|
|
229
223
|
local numCharges = 1
|
|
230
224
|
if numChargeString ~= nil then
|
|
231
225
|
local numChargesAttempt = tonumber(numChargeString)
|
|
232
226
|
if numChargesAttempt == nil then
|
|
233
|
-
printConsole(
|
|
227
|
+
printConsole("The provided charge amount is invalid: " .. numChargeString)
|
|
234
228
|
return
|
|
235
229
|
end
|
|
236
230
|
numCharges = numChargesAttempt
|
|
237
231
|
end
|
|
238
232
|
local player = Isaac.GetPlayer()
|
|
239
|
-
addCharge(
|
|
233
|
+
addCharge(player, activeSlot, numCharges)
|
|
240
234
|
end
|
|
241
235
|
--- Warps to the Angel Room for the floor. If the Devil Room has already been visited or initialized,
|
|
242
236
|
-- this will uninitialize it and make an Angel Room instead.
|
|
243
|
-
function ____exports.angelRoom(
|
|
244
|
-
devilAngel(
|
|
237
|
+
function ____exports.angelRoom()
|
|
238
|
+
devilAngel(false)
|
|
245
239
|
end
|
|
246
240
|
--- Activates the flags for the Ascent (i.e. Backwards Path).
|
|
247
|
-
function ____exports.ascent(
|
|
241
|
+
function ____exports.ascent()
|
|
248
242
|
game:SetStateFlag(GameStateFlag.BACKWARDS_PATH_INIT, true)
|
|
249
243
|
game:SetStateFlag(GameStateFlag.BACKWARDS_PATH, true)
|
|
250
|
-
printConsole(
|
|
244
|
+
printConsole("Set Ascent flags.")
|
|
251
245
|
end
|
|
252
246
|
--- Warps to the first Clean Bedroom or Dirty Bedroom on the floor.
|
|
253
|
-
function ____exports.bedroom(
|
|
254
|
-
local cleanBedroomGridIndexes = getRoomGridIndexesForType(
|
|
247
|
+
function ____exports.bedroom()
|
|
248
|
+
local cleanBedroomGridIndexes = getRoomGridIndexesForType(RoomType.CLEAN_BEDROOM)
|
|
255
249
|
if #cleanBedroomGridIndexes > 0 then
|
|
256
|
-
warpToRoomType(
|
|
250
|
+
warpToRoomType(RoomType.CLEAN_BEDROOM)
|
|
257
251
|
return
|
|
258
252
|
end
|
|
259
|
-
local dirtyBedroomGridIndexes = getRoomGridIndexesForType(
|
|
253
|
+
local dirtyBedroomGridIndexes = getRoomGridIndexesForType(RoomType.DIRTY_BEDROOM)
|
|
260
254
|
if #dirtyBedroomGridIndexes > 0 then
|
|
261
|
-
warpToRoomType(
|
|
255
|
+
warpToRoomType(RoomType.DIRTY_BEDROOM)
|
|
262
256
|
return
|
|
263
257
|
end
|
|
264
|
-
printConsole(
|
|
258
|
+
printConsole("There are no Clean Bedrooms or Dirty Bedrooms on this floor.")
|
|
265
259
|
end
|
|
266
260
|
--- Gives a half black heart. Provide a number to give a custom amount of hearts. (You can use
|
|
267
261
|
-- negative numbers to remove hearts.)
|
|
268
|
-
function ____exports.blackHearts(
|
|
269
|
-
addHeart(
|
|
262
|
+
function ____exports.blackHearts(params)
|
|
263
|
+
addHeart(params, HealthType.BLACK)
|
|
270
264
|
end
|
|
271
265
|
--- Warps to the Black Market for the floor.
|
|
272
|
-
function ____exports.blackMarket(
|
|
273
|
-
changeRoom(
|
|
266
|
+
function ____exports.blackMarket()
|
|
267
|
+
changeRoom(GridRoom.BLACK_MARKET)
|
|
274
268
|
end
|
|
275
269
|
--- Toggles permanent Curse of the Blind.
|
|
276
|
-
function ____exports.blind(
|
|
270
|
+
function ____exports.blind()
|
|
277
271
|
v.persistent.blind = not v.persistent.blind
|
|
278
|
-
printEnabled(
|
|
272
|
+
printEnabled(v.persistent.blind, "permanent Curse of the Blind")
|
|
279
273
|
end
|
|
280
274
|
--- Gives a blood charge. This only affects Bethany. Provide a number to give a custom amount of
|
|
281
275
|
-- charges. (You can use negative numbers to remove charges.)
|
|
282
|
-
function ____exports.bloodCharges(
|
|
276
|
+
function ____exports.bloodCharges(params)
|
|
283
277
|
local charges = 1
|
|
284
278
|
if params ~= "" then
|
|
285
279
|
local num = tonumber(params)
|
|
286
280
|
if num == nil then
|
|
287
|
-
printConsole(
|
|
281
|
+
printConsole("That is an invalid amount of charges to add.")
|
|
288
282
|
return
|
|
289
283
|
end
|
|
290
284
|
charges = num
|
|
@@ -293,17 +287,17 @@ function ____exports.bloodCharges(self, params)
|
|
|
293
287
|
player:AddBloodCharge(charges)
|
|
294
288
|
end
|
|
295
289
|
--- Alias for the "blackMarket" command.
|
|
296
|
-
function ____exports.bm(
|
|
297
|
-
____exports.blackMarket(
|
|
290
|
+
function ____exports.bm()
|
|
291
|
+
____exports.blackMarket()
|
|
298
292
|
end
|
|
299
293
|
--- Gives a bomb. Provide a number to give a custom amount of bombs. (You can use negative numbers to
|
|
300
294
|
-- remove bombs.)
|
|
301
|
-
function ____exports.bomb(
|
|
295
|
+
function ____exports.bomb(params)
|
|
302
296
|
local numBombs = 1
|
|
303
297
|
if params ~= "" then
|
|
304
298
|
local num = tonumber(params)
|
|
305
299
|
if num == nil then
|
|
306
|
-
printConsole(
|
|
300
|
+
printConsole("That is an invalid amount of bombs to add.")
|
|
307
301
|
return
|
|
308
302
|
end
|
|
309
303
|
numBombs = num
|
|
@@ -313,12 +307,12 @@ function ____exports.bomb(self, params)
|
|
|
313
307
|
end
|
|
314
308
|
--- Gives 99 bombs. Provide a number to give a custom amount of bombs. (You can use negative numbers
|
|
315
309
|
-- to remove bombs.)
|
|
316
|
-
function ____exports.bombs(
|
|
310
|
+
function ____exports.bombs(params)
|
|
317
311
|
local numBombs = 99
|
|
318
312
|
if params ~= "" then
|
|
319
313
|
local num = tonumber(params)
|
|
320
314
|
if num == nil then
|
|
321
|
-
printConsole(
|
|
315
|
+
printConsole("That is an invalid amount of bombs to add.")
|
|
322
316
|
return
|
|
323
317
|
end
|
|
324
318
|
numBombs = num
|
|
@@ -328,66 +322,60 @@ function ____exports.bombs(self, params)
|
|
|
328
322
|
end
|
|
329
323
|
--- Gives a bone heart. Provide a number to give a custom amount of hearts. (You can use negative
|
|
330
324
|
-- numbers to remove hearts.)
|
|
331
|
-
function ____exports.boneHearts(
|
|
332
|
-
addHeart(
|
|
325
|
+
function ____exports.boneHearts(params)
|
|
326
|
+
addHeart(params, HealthType.BONE)
|
|
333
327
|
end
|
|
334
328
|
--- Alias for the "bossRoom" command.
|
|
335
|
-
function ____exports.boss(
|
|
336
|
-
____exports.bossRoom(
|
|
329
|
+
function ____exports.boss()
|
|
330
|
+
____exports.bossRoom()
|
|
337
331
|
end
|
|
338
332
|
--- Warps to the room next to the first Boss Room on the floor.
|
|
339
|
-
function ____exports.bossNextRoom(
|
|
340
|
-
warpNextToRoomType(
|
|
333
|
+
function ____exports.bossNextRoom()
|
|
334
|
+
warpNextToRoomType(RoomType.BOSS)
|
|
341
335
|
end
|
|
342
336
|
--- Warps to the Boss Rush for the floor.
|
|
343
|
-
function ____exports.bossRush(
|
|
344
|
-
changeRoom(
|
|
337
|
+
function ____exports.bossRush()
|
|
338
|
+
changeRoom(GridRoom.BOSS_RUSH)
|
|
345
339
|
end
|
|
346
340
|
--- Gives a broken heart. Provide a number to give a custom amount of hearts. (You can use negative
|
|
347
341
|
-- numbers to remove hearts.)
|
|
348
|
-
function ____exports.brokenHearts(
|
|
349
|
-
addHeart(
|
|
342
|
+
function ____exports.brokenHearts(params)
|
|
343
|
+
addHeart(params, HealthType.BROKEN)
|
|
350
344
|
end
|
|
351
345
|
--- Gives the specified card. Accepts either the card sub-type or the partial name of the card.
|
|
352
346
|
--
|
|
353
347
|
-- For example:
|
|
354
348
|
-- - card 5 - Gives The Emperor.
|
|
355
349
|
-- - card spa - Gives 2 of Spades.
|
|
356
|
-
function ____exports.card(
|
|
350
|
+
function ____exports.card(params)
|
|
357
351
|
if params == "" then
|
|
358
|
-
printConsole(
|
|
352
|
+
printConsole("You must specify a card name or number.")
|
|
359
353
|
return
|
|
360
354
|
end
|
|
361
355
|
local cardType
|
|
362
356
|
local num = tonumber(params)
|
|
363
357
|
if num == nil then
|
|
364
|
-
local match = getMapPartialMatch(
|
|
358
|
+
local match = getMapPartialMatch(params, CARD_MAP)
|
|
365
359
|
if match == nil then
|
|
366
|
-
printConsole(
|
|
360
|
+
printConsole("Unknown card: " .. params)
|
|
367
361
|
return
|
|
368
362
|
end
|
|
369
363
|
cardType = match[2]
|
|
370
364
|
else
|
|
371
|
-
local lastCardType = getLastCardType(
|
|
365
|
+
local lastCardType = getLastCardType()
|
|
372
366
|
if num < FIRST_CARD_TYPE or num > lastCardType then
|
|
373
|
-
printConsole(
|
|
374
|
-
nil,
|
|
375
|
-
"Invalid card sub-type: " .. tostring(num)
|
|
376
|
-
)
|
|
367
|
+
printConsole("Invalid card sub-type: " .. tostring(num))
|
|
377
368
|
return
|
|
378
369
|
end
|
|
379
370
|
cardType = num
|
|
380
371
|
end
|
|
381
|
-
local cardName = getCardName(
|
|
372
|
+
local cardName = getCardName(cardType)
|
|
382
373
|
Isaac.ExecuteCommand("g k" .. tostring(cardType))
|
|
383
|
-
printConsole(
|
|
384
|
-
nil,
|
|
385
|
-
((("Gave card: " .. cardName) .. " (") .. tostring(cardType)) .. ")"
|
|
386
|
-
)
|
|
374
|
+
printConsole(((("Gave card: " .. cardName) .. " (") .. tostring(cardType)) .. ")")
|
|
387
375
|
end
|
|
388
376
|
--- Spawns every card on the ground, starting at the top-left-most tile.
|
|
389
|
-
function ____exports.cards(
|
|
390
|
-
local lastCardType = getLastCardType(
|
|
377
|
+
function ____exports.cards()
|
|
378
|
+
local lastCardType = getLastCardType()
|
|
391
379
|
local cardType = 1
|
|
392
380
|
do
|
|
393
381
|
local y = 0
|
|
@@ -395,13 +383,12 @@ function ____exports.cards(self)
|
|
|
395
383
|
do
|
|
396
384
|
local x = 0
|
|
397
385
|
while x <= 12 do
|
|
398
|
-
if asCardType(
|
|
386
|
+
if asCardType(cardType) == lastCardType then
|
|
399
387
|
return
|
|
400
388
|
end
|
|
401
|
-
local worldPosition = gridCoordinatesToWorldPosition(
|
|
389
|
+
local worldPosition = gridCoordinatesToWorldPosition(x, y)
|
|
402
390
|
spawnCard(
|
|
403
|
-
|
|
404
|
-
asCardType(nil, cardType),
|
|
391
|
+
asCardType(cardType),
|
|
405
392
|
worldPosition
|
|
406
393
|
)
|
|
407
394
|
cardType = cardType + 1
|
|
@@ -413,8 +400,8 @@ function ____exports.cards(self)
|
|
|
413
400
|
end
|
|
414
401
|
end
|
|
415
402
|
--- Alias for the "chaosCardTears" command.
|
|
416
|
-
function ____exports.cc(
|
|
417
|
-
____exports.chaosCardTears(
|
|
403
|
+
function ____exports.cc()
|
|
404
|
+
____exports.chaosCardTears()
|
|
418
405
|
end
|
|
419
406
|
--- Restart as the specified character. Accepts either the character sub-type or the partial name of
|
|
420
407
|
-- the character.
|
|
@@ -422,53 +409,47 @@ end
|
|
|
422
409
|
-- For example:
|
|
423
410
|
-- - character 2 - Restarts as Cain.
|
|
424
411
|
-- - character ta - Restarts as Tainted Azazel.
|
|
425
|
-
function ____exports.character(
|
|
412
|
+
function ____exports.character(params)
|
|
426
413
|
if params == "" then
|
|
427
|
-
printConsole(
|
|
414
|
+
printConsole("You must specify a character name or number.")
|
|
428
415
|
return
|
|
429
416
|
end
|
|
430
417
|
local playerType
|
|
431
418
|
local num = tonumber(params)
|
|
432
419
|
if num == nil then
|
|
433
|
-
local match = getMapPartialMatch(
|
|
420
|
+
local match = getMapPartialMatch(params, CHARACTER_MAP)
|
|
434
421
|
if match == nil then
|
|
435
|
-
printConsole(
|
|
422
|
+
printConsole("Unknown character: " .. params)
|
|
436
423
|
return
|
|
437
424
|
end
|
|
438
425
|
playerType = match[2]
|
|
439
426
|
else
|
|
440
427
|
if num < FIRST_CHARACTER or num > LAST_VANILLA_CHARACTER then
|
|
441
|
-
printConsole(
|
|
442
|
-
nil,
|
|
443
|
-
"Invalid player sub-type: " .. tostring(num)
|
|
444
|
-
)
|
|
428
|
+
printConsole("Invalid player sub-type: " .. tostring(num))
|
|
445
429
|
return
|
|
446
430
|
end
|
|
447
431
|
playerType = num
|
|
448
432
|
end
|
|
449
|
-
local characterName = getCharacterName(
|
|
450
|
-
restart(
|
|
451
|
-
printConsole(
|
|
452
|
-
nil,
|
|
453
|
-
((("Restarting as character: " .. characterName) .. " (") .. tostring(playerType)) .. ")"
|
|
454
|
-
)
|
|
433
|
+
local characterName = getCharacterName(playerType)
|
|
434
|
+
restart(playerType)
|
|
435
|
+
printConsole(((("Restarting as character: " .. characterName) .. " (") .. tostring(playerType)) .. ")")
|
|
455
436
|
end
|
|
456
437
|
--- Alias for the "addCharges" command.
|
|
457
|
-
function ____exports.charge(
|
|
458
|
-
____exports.addCharges(
|
|
438
|
+
function ____exports.charge(params)
|
|
439
|
+
____exports.addCharges(params)
|
|
459
440
|
end
|
|
460
441
|
--- Warps to the first Clean Bedroom on the floor.
|
|
461
|
-
function ____exports.cleanBedroom(
|
|
462
|
-
warpToRoomType(
|
|
442
|
+
function ____exports.cleanBedroom()
|
|
443
|
+
warpToRoomType(RoomType.CLEAN_BEDROOM)
|
|
463
444
|
end
|
|
464
445
|
--- Gives a coin. Provide a number to give a custom amount of coins. (You can use negative numbers to
|
|
465
446
|
-- remove coins.)
|
|
466
|
-
function ____exports.coin(
|
|
447
|
+
function ____exports.coin(params)
|
|
467
448
|
local numCoins = 1
|
|
468
449
|
if params ~= "" then
|
|
469
450
|
local num = tonumber(params)
|
|
470
451
|
if num == nil then
|
|
471
|
-
printConsole(
|
|
452
|
+
printConsole("That is an invalid amount of coins to add.")
|
|
472
453
|
return
|
|
473
454
|
end
|
|
474
455
|
numCoins = num
|
|
@@ -478,12 +459,12 @@ function ____exports.coin(self, params)
|
|
|
478
459
|
end
|
|
479
460
|
--- Gives 999 coins. Provide a number to give a custom amount of coins. (You can use negative numbers
|
|
480
461
|
-- to remove coins.)
|
|
481
|
-
function ____exports.coins(
|
|
462
|
+
function ____exports.coins(params)
|
|
482
463
|
local numCoins = 999
|
|
483
464
|
if params ~= "" then
|
|
484
465
|
local num = tonumber(params)
|
|
485
466
|
if num == nil then
|
|
486
|
-
printConsole(
|
|
467
|
+
printConsole("That is an invalid amount of coins to add.")
|
|
487
468
|
return
|
|
488
469
|
end
|
|
489
470
|
numCoins = num
|
|
@@ -492,78 +473,78 @@ function ____exports.coins(self, params)
|
|
|
492
473
|
player:AddCoins(numCoins)
|
|
493
474
|
end
|
|
494
475
|
--- Creates a crawl space next to the player.
|
|
495
|
-
function ____exports.crawlSpace(
|
|
496
|
-
spawnTrapdoorOrCrawlSpace(
|
|
476
|
+
function ____exports.crawlSpace()
|
|
477
|
+
spawnTrapdoorOrCrawlSpace(false)
|
|
497
478
|
end
|
|
498
479
|
--- Toggles permanent Curse of the Cursed.
|
|
499
|
-
function ____exports.cursed(
|
|
480
|
+
function ____exports.cursed()
|
|
500
481
|
v.persistent.cursed = not v.persistent.cursed
|
|
501
|
-
printEnabled(
|
|
482
|
+
printEnabled(v.persistent.cursed, "permanent Curse of the Cursed")
|
|
502
483
|
end
|
|
503
484
|
--- Uses the D20.
|
|
504
|
-
function ____exports.d20(
|
|
485
|
+
function ____exports.d20()
|
|
505
486
|
local player = Isaac.GetPlayer()
|
|
506
|
-
useActiveItemTemp(
|
|
487
|
+
useActiveItemTemp(player, CollectibleType.D20)
|
|
507
488
|
end
|
|
508
489
|
--- Uses the D6.
|
|
509
|
-
function ____exports.d6(
|
|
490
|
+
function ____exports.d6()
|
|
510
491
|
local player = Isaac.GetPlayer()
|
|
511
|
-
useActiveItemTemp(
|
|
492
|
+
useActiveItemTemp(player, CollectibleType.D6)
|
|
512
493
|
end
|
|
513
494
|
--- Warps to the Mausoleum 2 Boss Room that has Dad's Note in it.
|
|
514
|
-
function ____exports.dadsNote(
|
|
495
|
+
function ____exports.dadsNote()
|
|
515
496
|
game:SetStateFlag(GameStateFlag.BACKWARDS_PATH_INIT, true)
|
|
516
|
-
setStage(
|
|
517
|
-
____exports.bossRoom(
|
|
497
|
+
setStage(LevelStage.DEPTHS_2, StageType.REPENTANCE)
|
|
498
|
+
____exports.bossRoom()
|
|
518
499
|
end
|
|
519
500
|
--- Toggles extremely high-damage tears for the player.
|
|
520
|
-
function ____exports.damage(
|
|
501
|
+
function ____exports.damage()
|
|
521
502
|
v.run.maxDamage = not v.run.maxDamage
|
|
522
|
-
printEnabled(
|
|
503
|
+
printEnabled(v.run.maxDamage, "debug damage")
|
|
523
504
|
end
|
|
524
505
|
--- Toggles permanent Curse of Darkness.
|
|
525
|
-
function ____exports.darkness(
|
|
506
|
+
function ____exports.darkness()
|
|
526
507
|
v.persistent.darkness = not v.persistent.darkness
|
|
527
|
-
printEnabled(
|
|
508
|
+
printEnabled(v.persistent.darkness, "permanent Curse of Darkness")
|
|
528
509
|
end
|
|
529
510
|
--- Alias for the "devil" command.
|
|
530
|
-
function ____exports.dd(
|
|
531
|
-
____exports.devilRoom(
|
|
511
|
+
function ____exports.dd()
|
|
512
|
+
____exports.devilRoom()
|
|
532
513
|
end
|
|
533
514
|
--- Warps to the first Dirty Bedroom on the floor.
|
|
534
|
-
function ____exports.dirtyBedroom(
|
|
535
|
-
warpToRoomType(
|
|
515
|
+
function ____exports.dirtyBedroom()
|
|
516
|
+
warpToRoomType(RoomType.DIRTY_BEDROOM)
|
|
536
517
|
end
|
|
537
518
|
--- Toggles whether or not curses can appear.
|
|
538
|
-
function ____exports.disableCurses(
|
|
519
|
+
function ____exports.disableCurses()
|
|
539
520
|
v.persistent.disableCurses = not v.persistent.disableCurses
|
|
540
|
-
printEnabled(
|
|
521
|
+
printEnabled(not v.persistent.disableCurses, "curses")
|
|
541
522
|
end
|
|
542
523
|
--- Moves the player 0.5 units down. Provide a number to move a custom amount of units.
|
|
543
|
-
function ____exports.down(
|
|
544
|
-
movePlayer(
|
|
524
|
+
function ____exports.down(params)
|
|
525
|
+
movePlayer(params, Direction.DOWN)
|
|
545
526
|
end
|
|
546
527
|
--- Warps to the Dungeon (i.e. the crawl space room) for the floor.
|
|
547
|
-
function ____exports.dungeon(
|
|
548
|
-
changeRoom(
|
|
528
|
+
function ____exports.dungeon()
|
|
529
|
+
changeRoom(GridRoom.DUNGEON)
|
|
549
530
|
end
|
|
550
531
|
--- Logs the player's current temporary effects to the "log.txt" file.
|
|
551
|
-
function ____exports.effects(
|
|
532
|
+
function ____exports.effects()
|
|
552
533
|
local player = Isaac.GetPlayer()
|
|
553
|
-
logPlayerEffects(
|
|
554
|
-
printConsole(
|
|
534
|
+
logPlayerEffects(player)
|
|
535
|
+
printConsole("Logged the player's effects to the \"log.txt\" file.")
|
|
555
536
|
end
|
|
556
537
|
--- Alias for the "iAmError" command.
|
|
557
|
-
function ____exports.errorRoom(
|
|
558
|
-
____exports.iAmErrorRoom(
|
|
538
|
+
function ____exports.errorRoom()
|
|
539
|
+
____exports.iAmErrorRoom()
|
|
559
540
|
end
|
|
560
541
|
--- Gives an eternal heart. Provide a number to give a custom amount of hearts. (You can use negative
|
|
561
542
|
-- numbers to remove hearts.)
|
|
562
|
-
function ____exports.eternalHearts(
|
|
563
|
-
addHeart(
|
|
543
|
+
function ____exports.eternalHearts(params)
|
|
544
|
+
addHeart(params, HealthType.ETERNAL)
|
|
564
545
|
end
|
|
565
546
|
--- Toggles flight for the player.
|
|
566
|
-
function ____exports.flight(
|
|
547
|
+
function ____exports.flight(params)
|
|
567
548
|
local player = Isaac.GetPlayer()
|
|
568
549
|
v.run.flight = not v.run.flight
|
|
569
550
|
if params == "true" then
|
|
@@ -575,46 +556,43 @@ function ____exports.flight(self, params)
|
|
|
575
556
|
player:EvaluateItems()
|
|
576
557
|
local collectibleUsedToShowFlight = CollectibleType.FATE
|
|
577
558
|
if v.run.flight then
|
|
578
|
-
addCollectibleCostume(
|
|
559
|
+
addCollectibleCostume(player, collectibleUsedToShowFlight)
|
|
579
560
|
else
|
|
580
|
-
removeCollectibleCostume(
|
|
561
|
+
removeCollectibleCostume(player, collectibleUsedToShowFlight)
|
|
581
562
|
end
|
|
582
|
-
printEnabled(
|
|
563
|
+
printEnabled(v.run.maxSpeed, "max speed")
|
|
583
564
|
end
|
|
584
565
|
--- Alias for the "startingRoom" command.
|
|
585
|
-
function ____exports.fool(
|
|
586
|
-
____exports.startingRoom(
|
|
566
|
+
function ____exports.fool()
|
|
567
|
+
____exports.startingRoom()
|
|
587
568
|
end
|
|
588
569
|
--- Displays the current challenge, if any.
|
|
589
|
-
function ____exports.getChallenge(
|
|
570
|
+
function ____exports.getChallenge()
|
|
590
571
|
local challenge = Isaac.GetChallenge()
|
|
591
572
|
local challengeName = Challenge[challenge]
|
|
592
573
|
local challengeDescription = challengeName == nil and tostring(challenge) .. " (custom)" or ((("Challenge." .. challengeName) .. " (") .. tostring(challenge)) .. ")"
|
|
593
|
-
printConsole(
|
|
574
|
+
printConsole("The current challenge is: " .. challengeDescription)
|
|
594
575
|
end
|
|
595
576
|
--- Prints the current position of all players.
|
|
596
|
-
function ____exports.getPosition(
|
|
597
|
-
for ____, player in ipairs(getPlayers(
|
|
598
|
-
local playerName = getPlayerName(
|
|
599
|
-
printConsole(
|
|
600
|
-
nil,
|
|
601
|
-
((((("Player position for " .. playerName) .. ": (") .. tostring(player.Position.X)) .. ", ") .. tostring(player.Position.Y)) .. ")"
|
|
602
|
-
)
|
|
577
|
+
function ____exports.getPosition()
|
|
578
|
+
for ____, player in ipairs(getPlayers()) do
|
|
579
|
+
local playerName = getPlayerName(player)
|
|
580
|
+
printConsole(((((("Player position for " .. playerName) .. ": (") .. tostring(player.Position.X)) .. ", ") .. tostring(player.Position.Y)) .. ")")
|
|
603
581
|
end
|
|
604
582
|
end
|
|
605
583
|
--- Toggles permanent Curse of the Giant.
|
|
606
|
-
function ____exports.giant(
|
|
584
|
+
function ____exports.giant()
|
|
607
585
|
v.persistent.giant = not v.persistent.giant
|
|
608
|
-
printEnabled(
|
|
586
|
+
printEnabled(v.persistent.giant, "permanent Curse of the Giant")
|
|
609
587
|
end
|
|
610
588
|
--- Gives a Giga Bomb. Provide a number to give a custom amount of Giga Bombs. (You can use negative
|
|
611
589
|
-- numbers to remove bombs.)
|
|
612
|
-
function ____exports.gigaBomb(
|
|
590
|
+
function ____exports.gigaBomb(params)
|
|
613
591
|
local numBombs = 1
|
|
614
592
|
if params ~= "" then
|
|
615
593
|
local num = tonumber(params)
|
|
616
594
|
if num == nil then
|
|
617
|
-
printConsole(
|
|
595
|
+
printConsole("That is an invalid amount of Giga Bombs to add.")
|
|
618
596
|
return
|
|
619
597
|
end
|
|
620
598
|
numBombs = num
|
|
@@ -623,29 +601,29 @@ function ____exports.gigaBomb(self, params)
|
|
|
623
601
|
player:AddGigaBombs(numBombs)
|
|
624
602
|
end
|
|
625
603
|
--- Alias for the "goldenBomb" command.
|
|
626
|
-
function ____exports.goldBomb(
|
|
627
|
-
____exports.goldenBomb(
|
|
604
|
+
function ____exports.goldBomb()
|
|
605
|
+
____exports.goldenBomb()
|
|
628
606
|
end
|
|
629
607
|
--- Alias for the "goldenHearts" command.
|
|
630
|
-
function ____exports.goldHearts(
|
|
631
|
-
____exports.goldenHearts(
|
|
608
|
+
function ____exports.goldHearts(params)
|
|
609
|
+
____exports.goldenHearts(params)
|
|
632
610
|
end
|
|
633
611
|
--- Alias for the "goldenKey" command.
|
|
634
|
-
function ____exports.goldKey(
|
|
635
|
-
____exports.goldenKey(
|
|
612
|
+
function ____exports.goldKey()
|
|
613
|
+
____exports.goldenKey()
|
|
636
614
|
end
|
|
637
615
|
--- Alias for the "debug 11" command. Useful for seeing the coordinates and grid index of each tile
|
|
638
616
|
-- in the room.
|
|
639
|
-
function ____exports.grid(
|
|
617
|
+
function ____exports.grid()
|
|
640
618
|
Isaac.ExecuteCommand("debug 11")
|
|
641
619
|
end
|
|
642
620
|
--- Alias for the "gridCosts" command.
|
|
643
|
-
function ____exports.grid2(
|
|
644
|
-
____exports.gridCosts(
|
|
621
|
+
function ____exports.grid2()
|
|
622
|
+
____exports.gridCosts()
|
|
645
623
|
end
|
|
646
624
|
--- Spawns every grid entity, starting at the top-left-most tile.
|
|
647
|
-
function ____exports.gridEntities(
|
|
648
|
-
local gridEntityTypes = getEnumValues(
|
|
625
|
+
function ____exports.gridEntities()
|
|
626
|
+
local gridEntityTypes = getEnumValues(GridEntityType)
|
|
649
627
|
local gridEntityTypeIndex = -1
|
|
650
628
|
do
|
|
651
629
|
local y = 0
|
|
@@ -658,8 +636,8 @@ function ____exports.gridEntities(self)
|
|
|
658
636
|
if gridEntityType == nil then
|
|
659
637
|
return
|
|
660
638
|
end
|
|
661
|
-
local worldPosition = gridCoordinatesToWorldPosition(
|
|
662
|
-
spawnGridEntity(
|
|
639
|
+
local worldPosition = gridCoordinatesToWorldPosition(x, y)
|
|
640
|
+
spawnGridEntity(gridEntityType, worldPosition)
|
|
663
641
|
x = x + 1
|
|
664
642
|
end
|
|
665
643
|
end
|
|
@@ -669,21 +647,21 @@ function ____exports.gridEntities(self)
|
|
|
669
647
|
end
|
|
670
648
|
--- Gives a half red heart. Provide a number to give a custom amount of hearts. (You can use negative
|
|
671
649
|
-- numbers to remove hearts.)
|
|
672
|
-
function ____exports.hearts(
|
|
673
|
-
addHeart(
|
|
650
|
+
function ____exports.hearts(params)
|
|
651
|
+
addHeart(params, HealthType.RED)
|
|
674
652
|
end
|
|
675
653
|
--- Alias for the "debug 6" command.
|
|
676
|
-
function ____exports.hitboxes(
|
|
654
|
+
function ____exports.hitboxes()
|
|
677
655
|
Isaac.ExecuteCommand("debug 6")
|
|
678
656
|
end
|
|
679
657
|
--- Gives a key. Provide a number to give a custom amount of key. (You can use negative numbers to
|
|
680
658
|
-- remove keys.)
|
|
681
|
-
function ____exports.key(
|
|
659
|
+
function ____exports.key(params)
|
|
682
660
|
local numKeys = 1
|
|
683
661
|
if params ~= "" then
|
|
684
662
|
local num = tonumber(params)
|
|
685
663
|
if num == nil then
|
|
686
|
-
printConsole(
|
|
664
|
+
printConsole("That is an invalid amount of keys to add.")
|
|
687
665
|
return
|
|
688
666
|
end
|
|
689
667
|
numKeys = num
|
|
@@ -693,12 +671,12 @@ function ____exports.key(self, params)
|
|
|
693
671
|
end
|
|
694
672
|
--- Gives 99 keys. Provide a number to give a custom amount of coins. (You can use negative numbers
|
|
695
673
|
-- to remove keys.)
|
|
696
|
-
function ____exports.keys(
|
|
674
|
+
function ____exports.keys(params)
|
|
697
675
|
local numKeys = 99
|
|
698
676
|
if params ~= "" then
|
|
699
677
|
local num = tonumber(params)
|
|
700
678
|
if num == nil then
|
|
701
|
-
printConsole(
|
|
679
|
+
printConsole("That is an invalid amount of keys to add.")
|
|
702
680
|
return
|
|
703
681
|
end
|
|
704
682
|
numKeys = num
|
|
@@ -707,66 +685,66 @@ function ____exports.keys(self, params)
|
|
|
707
685
|
player:AddKeys(numKeys)
|
|
708
686
|
end
|
|
709
687
|
--- Toggles permanent Curse of the Labyrinth.
|
|
710
|
-
function ____exports.labyrinth(
|
|
688
|
+
function ____exports.labyrinth()
|
|
711
689
|
v.persistent.labyrinth = not v.persistent.labyrinth
|
|
712
|
-
printEnabled(
|
|
690
|
+
printEnabled(v.persistent.labyrinth, "permanent Curse of the Labyrinth")
|
|
713
691
|
end
|
|
714
692
|
--- Moves the player 0.5 units left. Provide a number to move a custom amount of units.
|
|
715
|
-
function ____exports.left(
|
|
716
|
-
movePlayer(
|
|
693
|
+
function ____exports.left(params)
|
|
694
|
+
movePlayer(params, Direction.LEFT)
|
|
717
695
|
end
|
|
718
696
|
--- Warps to the first Library on the floor.
|
|
719
|
-
function ____exports.library(
|
|
720
|
-
warpToRoomType(
|
|
697
|
+
function ____exports.library()
|
|
698
|
+
warpToRoomType(RoomType.LIBRARY)
|
|
721
699
|
end
|
|
722
700
|
--- Logs the entities in the room to the "log.txt" file. Provide a number to only log that specific
|
|
723
701
|
-- `EntityType`.
|
|
724
702
|
--
|
|
725
703
|
-- By default, this command will exclude background effects. If that is not desired, use the
|
|
726
704
|
-- "listAll" command instead.
|
|
727
|
-
function ____exports.list(
|
|
728
|
-
listEntities(
|
|
705
|
+
function ____exports.list(params)
|
|
706
|
+
listEntities(params, false)
|
|
729
707
|
end
|
|
730
708
|
--- Logs the entities in the room to the "log.txt" file. Provide a number to only log that specific
|
|
731
709
|
-- `EntityType`.
|
|
732
|
-
function ____exports.listAll(
|
|
733
|
-
listEntities(
|
|
710
|
+
function ____exports.listAll(params)
|
|
711
|
+
listEntities(params, true)
|
|
734
712
|
end
|
|
735
713
|
--- Logs the grid entities in the room to the "log.txt" file. Provide a number to only log that
|
|
736
714
|
-- specific `GridEntityType`.
|
|
737
715
|
--
|
|
738
716
|
-- By default, this command will exclude walls. If that is not desired, use the "listGridAll"
|
|
739
717
|
-- command instead.
|
|
740
|
-
function ____exports.listGrid(
|
|
741
|
-
listGridEntities(
|
|
718
|
+
function ____exports.listGrid(params)
|
|
719
|
+
listGridEntities(params, false)
|
|
742
720
|
end
|
|
743
721
|
--- Logs the grid entities in the room to the "log.txt" file. Provide a number to only log that
|
|
744
722
|
-- specific `GridEntityType`.
|
|
745
|
-
function ____exports.listGridAll(
|
|
746
|
-
listGridEntities(
|
|
723
|
+
function ____exports.listGridAll(params)
|
|
724
|
+
listGridEntities(params, true)
|
|
747
725
|
end
|
|
748
726
|
--- Toggles permanent Curse of the Lost.
|
|
749
|
-
function ____exports.lost(
|
|
727
|
+
function ____exports.lost()
|
|
750
728
|
v.persistent.lost = not v.persistent.lost
|
|
751
|
-
printEnabled(
|
|
729
|
+
printEnabled(v.persistent.lost, "permanent Curse of the Lost")
|
|
752
730
|
end
|
|
753
731
|
--- Alias for the "1hp" command.
|
|
754
|
-
function ____exports.lowHP(
|
|
755
|
-
____exports.oneHP(
|
|
732
|
+
function ____exports.lowHP()
|
|
733
|
+
____exports.oneHP()
|
|
756
734
|
end
|
|
757
735
|
--- Alias for "debug 9".
|
|
758
|
-
function ____exports.luck(
|
|
736
|
+
function ____exports.luck()
|
|
759
737
|
Isaac.ExecuteCommand("debug 9")
|
|
760
738
|
end
|
|
761
739
|
--- Alias for the "poopMana" command.
|
|
762
|
-
function ____exports.mana(
|
|
763
|
-
____exports.poopMana(
|
|
740
|
+
function ____exports.mana(params)
|
|
741
|
+
____exports.poopMana(params)
|
|
764
742
|
end
|
|
765
743
|
--- Completely reveals the entire map, including the Ultra Secret Room.
|
|
766
|
-
function ____exports.map(
|
|
744
|
+
function ____exports.map()
|
|
767
745
|
local level = game:GetLevel()
|
|
768
|
-
local displayFlags = addFlag(
|
|
769
|
-
for ____, roomGridIndex in ipairs(irange(
|
|
746
|
+
local displayFlags = addFlag(DisplayFlag.VISIBLE, DisplayFlag.SHADOW, DisplayFlag.SHOW_ICON)
|
|
747
|
+
for ____, roomGridIndex in ipairs(irange(MAX_LEVEL_GRID_INDEX)) do
|
|
770
748
|
local roomDesc = level:GetRoomByIdx(roomGridIndex)
|
|
771
749
|
roomDesc.DisplayFlags = displayFlags
|
|
772
750
|
end
|
|
@@ -774,21 +752,21 @@ function ____exports.map(self)
|
|
|
774
752
|
end
|
|
775
753
|
--- Gives a heart container. Provide a number to give a custom amount of heart containers. (You can
|
|
776
754
|
-- use negative numbers to remove heart containers.)
|
|
777
|
-
function ____exports.maxHearts(
|
|
778
|
-
addHeart(
|
|
755
|
+
function ____exports.maxHearts(params)
|
|
756
|
+
addHeart(params, HealthType.MAX_HEARTS)
|
|
779
757
|
end
|
|
780
758
|
--- Toggles permanent Curse of the Maze.
|
|
781
|
-
function ____exports.maze(
|
|
759
|
+
function ____exports.maze()
|
|
782
760
|
v.persistent.maze = not v.persistent.maze
|
|
783
|
-
printEnabled(
|
|
761
|
+
printEnabled(v.persistent.maze, "permanent Curse of the Maze")
|
|
784
762
|
end
|
|
785
763
|
--- Warps to the first Miniboss Room on the floor.
|
|
786
|
-
function ____exports.miniboss(
|
|
787
|
-
warpToRoomType(
|
|
764
|
+
function ____exports.miniboss()
|
|
765
|
+
warpToRoomType(RoomType.MINI_BOSS)
|
|
788
766
|
end
|
|
789
767
|
--- Alias for the "disableCurses" command.
|
|
790
|
-
function ____exports.noCurses(
|
|
791
|
-
____exports.disableCurses(
|
|
768
|
+
function ____exports.noCurses()
|
|
769
|
+
____exports.disableCurses()
|
|
792
770
|
end
|
|
793
771
|
--- Gives a pill with the specified pill effect. Accepts either the effect ID or the partial name of
|
|
794
772
|
-- the effect.
|
|
@@ -797,42 +775,36 @@ end
|
|
|
797
775
|
--
|
|
798
776
|
-- - `pill 5` - Gives a "Full Health" pill.
|
|
799
777
|
-- - `pill suns` - Gives a "Feels like I'm walking on sunshine" pill.
|
|
800
|
-
function ____exports.pill(
|
|
778
|
+
function ____exports.pill(params)
|
|
801
779
|
if params == "" then
|
|
802
|
-
printConsole(
|
|
780
|
+
printConsole("You must specify a pill name or number.")
|
|
803
781
|
return
|
|
804
782
|
end
|
|
805
783
|
local pillEffect
|
|
806
784
|
local num = tonumber(params)
|
|
807
785
|
if num == nil then
|
|
808
|
-
local match = getMapPartialMatch(
|
|
786
|
+
local match = getMapPartialMatch(params, PILL_EFFECT_MAP)
|
|
809
787
|
if match == nil then
|
|
810
|
-
printConsole(
|
|
788
|
+
printConsole("Unknown pill effect: " .. params)
|
|
811
789
|
return
|
|
812
790
|
end
|
|
813
791
|
pillEffect = match[2]
|
|
814
792
|
else
|
|
815
|
-
local lastPillEffect = getLastPillEffect(
|
|
793
|
+
local lastPillEffect = getLastPillEffect()
|
|
816
794
|
if num < FIRST_PILL_EFFECT or num > lastPillEffect then
|
|
817
|
-
printConsole(
|
|
818
|
-
nil,
|
|
819
|
-
"Invalid pill effect ID: " .. tostring(num)
|
|
820
|
-
)
|
|
795
|
+
printConsole("Invalid pill effect ID: " .. tostring(num))
|
|
821
796
|
return
|
|
822
797
|
end
|
|
823
798
|
pillEffect = num
|
|
824
799
|
end
|
|
825
|
-
local pillEffectName = getPillEffectName(
|
|
800
|
+
local pillEffectName = getPillEffectName(pillEffect)
|
|
826
801
|
Isaac.ExecuteCommand("g p" .. tostring(pillEffect))
|
|
827
|
-
printConsole(
|
|
828
|
-
nil,
|
|
829
|
-
((("Gave pill: " .. pillEffectName) .. " (") .. tostring(pillEffect)) .. ")"
|
|
830
|
-
)
|
|
802
|
+
printConsole(((("Gave pill: " .. pillEffectName) .. " (") .. tostring(pillEffect)) .. ")")
|
|
831
803
|
end
|
|
832
804
|
--- Spawns every pill on the ground, starting at the top-left-most tile.
|
|
833
|
-
function ____exports.pills(
|
|
805
|
+
function ____exports.pills()
|
|
834
806
|
local pillColors = __TS__ArrayFilter(
|
|
835
|
-
getEnumValues(
|
|
807
|
+
getEnumValues(PillColor),
|
|
836
808
|
function(____, pillColor) return pillColor ~= PillColor.NULL end
|
|
837
809
|
)
|
|
838
810
|
local pillColorIndex = -1
|
|
@@ -847,8 +819,8 @@ function ____exports.pills(self)
|
|
|
847
819
|
if pillColor == nil then
|
|
848
820
|
return
|
|
849
821
|
end
|
|
850
|
-
local worldPosition = gridCoordinatesToWorldPosition(
|
|
851
|
-
spawnPill(
|
|
822
|
+
local worldPosition = gridCoordinatesToWorldPosition(x, y)
|
|
823
|
+
spawnPill(pillColor, worldPosition)
|
|
852
824
|
x = x + 1
|
|
853
825
|
end
|
|
854
826
|
end
|
|
@@ -857,74 +829,74 @@ function ____exports.pills(self)
|
|
|
857
829
|
end
|
|
858
830
|
end
|
|
859
831
|
--- Warps to the first Planetarium on the floor.
|
|
860
|
-
function ____exports.planetarium(
|
|
861
|
-
warpToRoomType(
|
|
832
|
+
function ____exports.planetarium()
|
|
833
|
+
warpToRoomType(RoomType.PLANETARIUM)
|
|
862
834
|
end
|
|
863
835
|
--- Alias for the "sound" command.
|
|
864
|
-
function ____exports.playSound(
|
|
865
|
-
____exports.sound(
|
|
836
|
+
function ____exports.playSound(params)
|
|
837
|
+
____exports.sound(params)
|
|
866
838
|
end
|
|
867
839
|
--- Sets the player's pocket item to the specified collectible type.
|
|
868
|
-
function ____exports.pocket(
|
|
840
|
+
function ____exports.pocket(params)
|
|
869
841
|
if params == "" then
|
|
870
|
-
printConsole(
|
|
842
|
+
printConsole("You must supply a collectible type to put as the pocket item.")
|
|
871
843
|
return
|
|
872
844
|
end
|
|
873
845
|
local collectibleType = tonumber(params)
|
|
874
846
|
if collectibleType == nil then
|
|
875
|
-
printConsole(
|
|
847
|
+
printConsole("That is an invalid collectible type.")
|
|
876
848
|
return
|
|
877
849
|
end
|
|
878
|
-
if not isValidCollectibleType(
|
|
879
|
-
printConsole(
|
|
850
|
+
if not isValidCollectibleType(collectibleType) then
|
|
851
|
+
printConsole("That is an invalid collectible type.")
|
|
880
852
|
return
|
|
881
853
|
end
|
|
882
854
|
local player = Isaac.GetPlayer()
|
|
883
855
|
player:SetPocketActiveItem(collectibleType, ActiveSlot.POCKET)
|
|
884
856
|
end
|
|
885
857
|
--- Alias for the "getPosition" command.
|
|
886
|
-
function ____exports.position(
|
|
887
|
-
____exports.getPosition(
|
|
858
|
+
function ____exports.position()
|
|
859
|
+
____exports.getPosition()
|
|
888
860
|
end
|
|
889
861
|
--- Alias for the "hearts" command.
|
|
890
|
-
function ____exports.redHearts(
|
|
891
|
-
____exports.hearts(
|
|
862
|
+
function ____exports.redHearts(params)
|
|
863
|
+
____exports.hearts(params)
|
|
892
864
|
end
|
|
893
865
|
--- Starts a room transition to the same room that you are already in.
|
|
894
|
-
function ____exports.reloadRoom(
|
|
895
|
-
reloadRoomFunction(
|
|
866
|
+
function ____exports.reloadRoom()
|
|
867
|
+
reloadRoomFunction()
|
|
896
868
|
end
|
|
897
869
|
--- Moves the player 0.5 units right. Provide a number to move a custom amount of units.
|
|
898
|
-
function ____exports.right(
|
|
899
|
-
movePlayer(
|
|
870
|
+
function ____exports.right(params)
|
|
871
|
+
movePlayer(params, Direction.RIGHT)
|
|
900
872
|
end
|
|
901
873
|
--- Logs information about the room to the "log.txt" file.
|
|
902
|
-
function ____exports.room(
|
|
903
|
-
logRoom(
|
|
904
|
-
printConsole(
|
|
874
|
+
function ____exports.room()
|
|
875
|
+
logRoom()
|
|
876
|
+
printConsole("Logged room information to the \"log.txt\" file.")
|
|
905
877
|
end
|
|
906
878
|
--- Gives a rotten heart. Provide a number to give a custom amount of hearts. (You can use negative
|
|
907
879
|
-- numbers to remove hearts.)
|
|
908
|
-
function ____exports.rottenHearts(
|
|
909
|
-
addHeart(
|
|
880
|
+
function ____exports.rottenHearts(params)
|
|
881
|
+
addHeart(params, HealthType.ROTTEN)
|
|
910
882
|
end
|
|
911
883
|
--- Run the suite of tests that prove that the "deepCopy" helper function and the "merge" function
|
|
912
884
|
-- work properly. For more information, see the `runDeepCopyTests` and the `runMergeTests`
|
|
913
885
|
-- functions.
|
|
914
886
|
--
|
|
915
887
|
-- In general, running the tests is only useful if you are troubleshooting the save data manager.
|
|
916
|
-
function ____exports.runTests(
|
|
917
|
-
runDeepCopyTests(
|
|
918
|
-
runMergeTests(
|
|
888
|
+
function ____exports.runTests()
|
|
889
|
+
runDeepCopyTests()
|
|
890
|
+
runMergeTests()
|
|
919
891
|
end
|
|
920
892
|
--- Alias for the "stage" command.
|
|
921
893
|
--
|
|
922
894
|
-- For example:
|
|
923
895
|
-- - s 3 - Warps to Caves 1.
|
|
924
896
|
-- - s 1c - Warps to Downpour 1.
|
|
925
|
-
function ____exports.s(
|
|
897
|
+
function ____exports.s(params)
|
|
926
898
|
if params == "" then
|
|
927
|
-
printConsole(
|
|
899
|
+
printConsole("You must specify a stage number.")
|
|
928
900
|
return
|
|
929
901
|
end
|
|
930
902
|
local finalCharacter = string.sub(params, -1)
|
|
@@ -939,86 +911,68 @@ function ____exports.s(self, params)
|
|
|
939
911
|
end
|
|
940
912
|
local stage = tonumber(stageString)
|
|
941
913
|
if stage == nil then
|
|
942
|
-
printConsole(
|
|
943
|
-
nil,
|
|
944
|
-
"That is an invalid stage number: " .. tostring(stage)
|
|
945
|
-
)
|
|
914
|
+
printConsole("That is an invalid stage number: " .. tostring(stage))
|
|
946
915
|
return
|
|
947
916
|
end
|
|
948
917
|
if stage < FIRST_STAGE or stage > LAST_STAGE then
|
|
949
|
-
printConsole(
|
|
950
|
-
nil,
|
|
951
|
-
((("Invalid stage number; must be between " .. tostring(FIRST_STAGE)) .. " and ") .. tostring(LAST_STAGE)) .. "."
|
|
952
|
-
)
|
|
918
|
+
printConsole(((("Invalid stage number; must be between " .. tostring(FIRST_STAGE)) .. " and ") .. tostring(LAST_STAGE)) .. ".")
|
|
953
919
|
return
|
|
954
920
|
end
|
|
955
921
|
Isaac.ExecuteCommand(("stage " .. tostring(stage)) .. stageTypeLetter)
|
|
956
922
|
end
|
|
957
923
|
--- Warps to the first Sacrifice Room on the floor.
|
|
958
|
-
function ____exports.sacrificeRoom(
|
|
959
|
-
warpToRoomType(
|
|
924
|
+
function ____exports.sacrificeRoom()
|
|
925
|
+
warpToRoomType(RoomType.SACRIFICE)
|
|
960
926
|
end
|
|
961
927
|
--- Warps to the first Secret Room on the floor.
|
|
962
|
-
function ____exports.secretRoom(
|
|
963
|
-
warpToRoomType(
|
|
928
|
+
function ____exports.secretRoom()
|
|
929
|
+
warpToRoomType(RoomType.SECRET)
|
|
964
930
|
end
|
|
965
931
|
--- Changes to a seeded run, using the seed of the current run.
|
|
966
|
-
function ____exports.seedStick(
|
|
932
|
+
function ____exports.seedStick()
|
|
967
933
|
local seedsClass = game:GetSeeds()
|
|
968
934
|
local startSeedString = seedsClass:GetStartSeedString()
|
|
969
935
|
Isaac.ExecuteCommand("seed " .. startSeedString)
|
|
970
936
|
end
|
|
971
937
|
--- Logs all of the current run's seed effects to the "log.txt" file.
|
|
972
|
-
function ____exports.seeds(
|
|
973
|
-
logSeedEffects(
|
|
974
|
-
printConsole(
|
|
938
|
+
function ____exports.seeds()
|
|
939
|
+
logSeedEffects()
|
|
940
|
+
printConsole("Logged the seed effects to the \"log.txt\" file.")
|
|
975
941
|
end
|
|
976
942
|
--- Sets a charge to the player's specified active item. You must provide the active slot number and
|
|
977
943
|
-- the number of charges to set.
|
|
978
|
-
function ____exports.setCharges(
|
|
944
|
+
function ____exports.setCharges(params)
|
|
979
945
|
if params == "" then
|
|
980
|
-
printConsole(
|
|
946
|
+
printConsole("You must specify a slot number and a charge amount. (Use 0 for the primary slot, 1 for the Schoolbag slot, 2 for the pocket item slot, and 3 for the Dice Bag slot.)")
|
|
981
947
|
return
|
|
982
948
|
end
|
|
983
949
|
local args = __TS__StringSplit(params, " ")
|
|
984
950
|
if #args == 1 then
|
|
985
|
-
printConsole(
|
|
951
|
+
printConsole("You must specify the amount of charge to set.")
|
|
986
952
|
return
|
|
987
953
|
end
|
|
988
954
|
if #args ~= 2 then
|
|
989
|
-
printConsole(
|
|
955
|
+
printConsole("That is an invalid amount of arguments.")
|
|
990
956
|
return
|
|
991
957
|
end
|
|
992
958
|
local activeSlotString, chargeString = table.unpack(args)
|
|
993
959
|
local activeSlot = tonumber(activeSlotString)
|
|
994
960
|
if activeSlot == nil then
|
|
995
|
-
printConsole(
|
|
996
|
-
nil,
|
|
997
|
-
"The provided slot number is invalid: " .. tostring(activeSlotString)
|
|
998
|
-
)
|
|
961
|
+
printConsole("The provided slot number is invalid: " .. tostring(activeSlotString))
|
|
999
962
|
return
|
|
1000
963
|
end
|
|
1001
|
-
local activeSlots = getEnumValues(
|
|
964
|
+
local activeSlots = getEnumValues(ActiveSlot)
|
|
1002
965
|
if not __TS__ArrayIncludes(activeSlots, activeSlot) then
|
|
1003
|
-
printConsole(
|
|
1004
|
-
nil,
|
|
1005
|
-
"The provided slot number is invalid: " .. tostring(activeSlot)
|
|
1006
|
-
)
|
|
966
|
+
printConsole("The provided slot number is invalid: " .. tostring(activeSlot))
|
|
1007
967
|
return
|
|
1008
968
|
end
|
|
1009
969
|
local chargeNum = tonumber(chargeString)
|
|
1010
970
|
if chargeNum == nil then
|
|
1011
|
-
printConsole(
|
|
1012
|
-
nil,
|
|
1013
|
-
"The provided charge amount is invalid: " .. tostring(chargeString)
|
|
1014
|
-
)
|
|
971
|
+
printConsole("The provided charge amount is invalid: " .. tostring(chargeString))
|
|
1015
972
|
return
|
|
1016
973
|
end
|
|
1017
974
|
if chargeNum < 0 then
|
|
1018
|
-
printConsole(
|
|
1019
|
-
nil,
|
|
1020
|
-
"The provided charge amount is invalid: " .. tostring(chargeNum)
|
|
1021
|
-
)
|
|
975
|
+
printConsole("The provided charge amount is invalid: " .. tostring(chargeNum))
|
|
1022
976
|
return
|
|
1023
977
|
end
|
|
1024
978
|
local player = Isaac.GetPlayer()
|
|
@@ -1028,31 +982,25 @@ end
|
|
|
1028
982
|
--
|
|
1029
983
|
-- For example:
|
|
1030
984
|
-- - setPosition 100 50
|
|
1031
|
-
function ____exports.setPosition(
|
|
985
|
+
function ____exports.setPosition(params)
|
|
1032
986
|
if params == "" then
|
|
1033
|
-
printConsole(
|
|
987
|
+
printConsole("You must specify a position. (e.g. \"setPosition 100 50\")")
|
|
1034
988
|
return
|
|
1035
989
|
end
|
|
1036
990
|
local args = __TS__StringSplit(params, " ")
|
|
1037
991
|
if #args ~= 2 then
|
|
1038
|
-
printConsole(
|
|
992
|
+
printConsole("You must specify a position. (e.g. \"setPosition 100 50\")")
|
|
1039
993
|
return
|
|
1040
994
|
end
|
|
1041
995
|
local xString, yString = table.unpack(args)
|
|
1042
996
|
local x = tonumber(xString)
|
|
1043
997
|
if x == nil then
|
|
1044
|
-
printConsole(
|
|
1045
|
-
nil,
|
|
1046
|
-
"That is an invalid x value: " .. tostring(xString)
|
|
1047
|
-
)
|
|
998
|
+
printConsole("That is an invalid x value: " .. tostring(xString))
|
|
1048
999
|
return
|
|
1049
1000
|
end
|
|
1050
1001
|
local y = tonumber(yString)
|
|
1051
1002
|
if y == nil then
|
|
1052
|
-
printConsole(
|
|
1053
|
-
nil,
|
|
1054
|
-
"That is an invalid y value: " .. tostring(yString)
|
|
1055
|
-
)
|
|
1003
|
+
printConsole("That is an invalid y value: " .. tostring(yString))
|
|
1056
1004
|
return
|
|
1057
1005
|
end
|
|
1058
1006
|
local player = Isaac.GetPlayer()
|
|
@@ -1060,22 +1008,22 @@ function ____exports.setPosition(self, params)
|
|
|
1060
1008
|
player.Position = newPosition
|
|
1061
1009
|
end
|
|
1062
1010
|
--- Warps to the first shop on the floor.
|
|
1063
|
-
function ____exports.shop(
|
|
1064
|
-
warpToRoomType(
|
|
1011
|
+
function ____exports.shop()
|
|
1012
|
+
warpToRoomType(RoomType.SHOP)
|
|
1065
1013
|
end
|
|
1066
1014
|
--- Uses the Smelter to smelt the current player's trinket.
|
|
1067
|
-
function ____exports.smelt(
|
|
1015
|
+
function ____exports.smelt()
|
|
1068
1016
|
local player = Isaac.GetPlayer()
|
|
1069
|
-
useActiveItemTemp(
|
|
1017
|
+
useActiveItemTemp(player, CollectibleType.SMELTER)
|
|
1070
1018
|
end
|
|
1071
1019
|
--- Gives a soul charge. This only affects Tainted Bethany. Provide a number to give a custom amount
|
|
1072
1020
|
-- of charges. (You can use negative numbers to remove charges.)
|
|
1073
|
-
function ____exports.soulCharges(
|
|
1021
|
+
function ____exports.soulCharges(params)
|
|
1074
1022
|
local charges = 1
|
|
1075
1023
|
if params ~= "" then
|
|
1076
1024
|
local num = tonumber(params)
|
|
1077
1025
|
if num == nil then
|
|
1078
|
-
printConsole(
|
|
1026
|
+
printConsole("That is an invalid amount of charges to add.")
|
|
1079
1027
|
return
|
|
1080
1028
|
end
|
|
1081
1029
|
charges = num
|
|
@@ -1085,96 +1033,96 @@ function ____exports.soulCharges(self, params)
|
|
|
1085
1033
|
end
|
|
1086
1034
|
--- Gives a half soul heart. Provide a number to give a custom amount of hearts. (You can use
|
|
1087
1035
|
-- negative numbers to remove hearts.)
|
|
1088
|
-
function ____exports.soulHearts(
|
|
1089
|
-
addHeart(
|
|
1036
|
+
function ____exports.soulHearts(params)
|
|
1037
|
+
addHeart(params, HealthType.SOUL)
|
|
1090
1038
|
end
|
|
1091
1039
|
--- Logs all of the currently playing sound effects to the "log.txt" file.
|
|
1092
|
-
function ____exports.sounds(
|
|
1093
|
-
logSounds(
|
|
1094
|
-
printConsole(
|
|
1040
|
+
function ____exports.sounds()
|
|
1041
|
+
logSounds()
|
|
1042
|
+
printConsole("Logged the currently playing sound effects to the \"log.txt\" file.")
|
|
1095
1043
|
end
|
|
1096
1044
|
--- Toggles spamming Blood Rights on every frame. Useful for killing enemies very fast without using
|
|
1097
1045
|
-- "debug 10".
|
|
1098
|
-
function ____exports.spam(
|
|
1046
|
+
function ____exports.spam()
|
|
1099
1047
|
v.run.spamBloodRights = not v.run.spamBloodRights
|
|
1100
|
-
printEnabled(
|
|
1048
|
+
printEnabled(v.run.spamBloodRights, "spamming Blood Rights")
|
|
1101
1049
|
end
|
|
1102
1050
|
--- Spawns a golden version of the specified trinket type.
|
|
1103
|
-
function ____exports.spawnGoldenTrinket(
|
|
1051
|
+
function ____exports.spawnGoldenTrinket(params)
|
|
1104
1052
|
if params == "" then
|
|
1105
|
-
printConsole(
|
|
1053
|
+
printConsole("You must specify the number corresponding to the trinket type.")
|
|
1106
1054
|
return
|
|
1107
1055
|
end
|
|
1108
1056
|
local trinketType = tonumber(params)
|
|
1109
1057
|
if trinketType == nil then
|
|
1110
|
-
printConsole(
|
|
1058
|
+
printConsole("That is an invalid trinket type: " .. params)
|
|
1111
1059
|
return
|
|
1112
1060
|
end
|
|
1113
|
-
local goldenTrinketType = getGoldenTrinketType(
|
|
1061
|
+
local goldenTrinketType = getGoldenTrinketType(trinketType)
|
|
1114
1062
|
local roomClass = game:GetRoom()
|
|
1115
1063
|
local centerPos = roomClass:GetCenterPos()
|
|
1116
|
-
spawnTrinket(
|
|
1064
|
+
spawnTrinket(goldenTrinketType, centerPos)
|
|
1117
1065
|
end
|
|
1118
1066
|
--- Toggles maximum movement speed and flight for the player.
|
|
1119
|
-
function ____exports.speed(
|
|
1067
|
+
function ____exports.speed()
|
|
1120
1068
|
local player = Isaac.GetPlayer()
|
|
1121
1069
|
v.run.maxSpeed = not v.run.maxSpeed
|
|
1122
1070
|
player:AddCacheFlags(CacheFlag.SPEED)
|
|
1123
1071
|
player:EvaluateItems()
|
|
1124
1072
|
local value = tostring(v.run.maxSpeed)
|
|
1125
|
-
____exports.flight(
|
|
1126
|
-
printEnabled(
|
|
1073
|
+
____exports.flight(value)
|
|
1074
|
+
printEnabled(v.run.maxSpeed, "max speed and flight")
|
|
1127
1075
|
end
|
|
1128
1076
|
--- Alias for the "startingRoom" command.
|
|
1129
|
-
function ____exports.startRoom(
|
|
1130
|
-
____exports.startingRoom(
|
|
1077
|
+
function ____exports.startRoom()
|
|
1078
|
+
____exports.startingRoom()
|
|
1131
1079
|
end
|
|
1132
1080
|
--- Warps to the first Super Secret Room on the floor.
|
|
1133
|
-
function ____exports.superSecretRoom(
|
|
1134
|
-
warpToRoomType(
|
|
1081
|
+
function ____exports.superSecretRoom()
|
|
1082
|
+
warpToRoomType(RoomType.SUPER_SECRET)
|
|
1135
1083
|
end
|
|
1136
1084
|
--- Toggles an extremely high tears stat (e.g. fire rate) for the player, equivalent of that to soy
|
|
1137
1085
|
-- milk.
|
|
1138
|
-
function ____exports.tears(
|
|
1086
|
+
function ____exports.tears()
|
|
1139
1087
|
v.run.maxTears = not v.run.maxTears
|
|
1140
1088
|
local player = Isaac.GetPlayer()
|
|
1141
1089
|
player:AddCacheFlags(CacheFlag.FIRE_DELAY)
|
|
1142
1090
|
player:EvaluateItems()
|
|
1143
|
-
printEnabled(
|
|
1091
|
+
printEnabled(v.run.maxDamage, "debug tear-rate")
|
|
1144
1092
|
end
|
|
1145
1093
|
--- Alias for the "runTests" command.
|
|
1146
|
-
function ____exports.tests(
|
|
1147
|
-
____exports.runTests(
|
|
1094
|
+
function ____exports.tests()
|
|
1095
|
+
____exports.runTests()
|
|
1148
1096
|
end
|
|
1149
1097
|
--- Creates a trapdoor next to the player.
|
|
1150
|
-
function ____exports.trapdoor(
|
|
1151
|
-
spawnTrapdoorOrCrawlSpace(
|
|
1098
|
+
function ____exports.trapdoor()
|
|
1099
|
+
spawnTrapdoorOrCrawlSpace(true)
|
|
1152
1100
|
end
|
|
1153
1101
|
--- Warps to the first Treasure Room on the floor.
|
|
1154
|
-
function ____exports.treasureRoom(
|
|
1155
|
-
warpToRoomType(
|
|
1102
|
+
function ____exports.treasureRoom()
|
|
1103
|
+
warpToRoomType(RoomType.TREASURE)
|
|
1156
1104
|
end
|
|
1157
1105
|
--- Warps to the first Ultra Secret Room on the floor.
|
|
1158
|
-
function ____exports.ultraSecretRoom(
|
|
1159
|
-
warpToRoomType(
|
|
1106
|
+
function ____exports.ultraSecretRoom()
|
|
1107
|
+
warpToRoomType(RoomType.ULTRA_SECRET)
|
|
1160
1108
|
end
|
|
1161
1109
|
--- Toggles permanent Curse of the Unknown.
|
|
1162
|
-
function ____exports.unknown(
|
|
1110
|
+
function ____exports.unknown()
|
|
1163
1111
|
v.persistent.unknown = not v.persistent.unknown
|
|
1164
|
-
printEnabled(
|
|
1112
|
+
printEnabled(v.persistent.unknown, "permanent Curse of the Unknown")
|
|
1165
1113
|
end
|
|
1166
1114
|
--- If currently on a set seed, changes to an unseeded state and restarts the game.
|
|
1167
|
-
function ____exports.unseed(
|
|
1168
|
-
if not onSetSeed(
|
|
1169
|
-
printConsole(
|
|
1115
|
+
function ____exports.unseed()
|
|
1116
|
+
if not onSetSeed() then
|
|
1117
|
+
printConsole("You are not on a set seed, so you cannot unseed the run.")
|
|
1170
1118
|
return
|
|
1171
1119
|
end
|
|
1172
|
-
setUnseeded(
|
|
1173
|
-
restart(
|
|
1120
|
+
setUnseeded()
|
|
1121
|
+
restart()
|
|
1174
1122
|
end
|
|
1175
1123
|
--- Moves the player 0.5 units up. Provide a number to move a custom amount of units.
|
|
1176
|
-
function ____exports.up(
|
|
1177
|
-
movePlayer(
|
|
1124
|
+
function ____exports.up(params)
|
|
1125
|
+
movePlayer(params, Direction.UP)
|
|
1178
1126
|
end
|
|
1179
1127
|
--- Warps to the specified room type. Accepts either the room type number or the partial name of the
|
|
1180
1128
|
-- room type.
|
|
@@ -1182,30 +1130,27 @@ end
|
|
|
1182
1130
|
-- For example:
|
|
1183
1131
|
-- - warp 5 - Warps to the first Boss Room on the floor, if any.
|
|
1184
1132
|
-- - warp tr - Warps to the first Treasure Room on the floor, if any.
|
|
1185
|
-
function ____exports.warp(
|
|
1133
|
+
function ____exports.warp(params)
|
|
1186
1134
|
if params == "" then
|
|
1187
|
-
printConsole(
|
|
1135
|
+
printConsole("You must specify a room type name or number.")
|
|
1188
1136
|
return
|
|
1189
1137
|
end
|
|
1190
1138
|
local roomType
|
|
1191
1139
|
local num = tonumber(params)
|
|
1192
1140
|
if num == nil then
|
|
1193
|
-
local match = getMapPartialMatch(
|
|
1141
|
+
local match = getMapPartialMatch(params, ROOM_TYPE_MAP)
|
|
1194
1142
|
if match == nil then
|
|
1195
|
-
printConsole(
|
|
1143
|
+
printConsole("Unknown room type: " .. params)
|
|
1196
1144
|
return
|
|
1197
1145
|
end
|
|
1198
1146
|
roomType = match[2]
|
|
1199
1147
|
else
|
|
1200
1148
|
if num < FIRST_ROOM_TYPE or num > LAST_ROOM_TYPE then
|
|
1201
|
-
printConsole(
|
|
1202
|
-
nil,
|
|
1203
|
-
"Invalid room type: " .. tostring(num)
|
|
1204
|
-
)
|
|
1149
|
+
printConsole("Invalid room type: " .. tostring(num))
|
|
1205
1150
|
return
|
|
1206
1151
|
end
|
|
1207
1152
|
roomType = num
|
|
1208
1153
|
end
|
|
1209
|
-
warpToRoomType(
|
|
1154
|
+
warpToRoomType(roomType)
|
|
1210
1155
|
end
|
|
1211
1156
|
return ____exports
|