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