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
package/dist/functions/table.lua
CHANGED
|
@@ -10,13 +10,13 @@ local isNumber = ____types.isNumber
|
|
|
10
10
|
local isString = ____types.isString
|
|
11
11
|
--- In a `Map`, you can use the `clear` method to delete every element. However, in a `LuaMap`, the
|
|
12
12
|
-- `clear` method does not exist. Use this helper function as a drop-in replacement for this.
|
|
13
|
-
function ____exports.clearTable(luaMap)
|
|
13
|
+
function ____exports.clearTable(self, luaMap)
|
|
14
14
|
for key in pairs(luaMap) do
|
|
15
15
|
luaMap[key] = nil
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
18
|
--- Helper function to copy specific values from a object to a table.
|
|
19
|
-
function ____exports.copyValuesToTable(object, keys, luaMap)
|
|
19
|
+
function ____exports.copyValuesToTable(self, object, keys, luaMap)
|
|
20
20
|
local otherTable = object
|
|
21
21
|
for ____, key in ipairs(keys) do
|
|
22
22
|
local value = otherTable[key]
|
|
@@ -27,7 +27,7 @@ end
|
|
|
27
27
|
-- specific value does not exist on the table.
|
|
28
28
|
--
|
|
29
29
|
-- This function is variadic, meaning that you can specify N arguments to get N values.
|
|
30
|
-
function ____exports.getBooleansFromTable(luaMap, objectName, ...)
|
|
30
|
+
function ____exports.getBooleansFromTable(self, luaMap, objectName, ...)
|
|
31
31
|
local keys = {...}
|
|
32
32
|
local booleans = {}
|
|
33
33
|
for ____, key in ipairs(keys) do
|
|
@@ -35,7 +35,7 @@ function ____exports.getBooleansFromTable(luaMap, objectName, ...)
|
|
|
35
35
|
if value == nil then
|
|
36
36
|
error(((("Failed to find a value for \"" .. key) .. "\" in a table representing a \"") .. objectName) .. "\" object.")
|
|
37
37
|
end
|
|
38
|
-
if isBoolean(value) then
|
|
38
|
+
if isBoolean(nil, value) then
|
|
39
39
|
booleans[#booleans + 1] = value
|
|
40
40
|
else
|
|
41
41
|
error((((("Failed to get the boolean for the \"" .. key) .. "\" value of a table representing a \"") .. objectName) .. "\" object because the type was: ") .. __TS__TypeOf(value))
|
|
@@ -47,7 +47,7 @@ end
|
|
|
47
47
|
-- error if the specific value does not exist on the table or if it cannot be converted to a number.
|
|
48
48
|
--
|
|
49
49
|
-- This function is variadic, meaning that you can specify N arguments to get N values.
|
|
50
|
-
function ____exports.getNumbersFromTable(luaMap, objectName, ...)
|
|
50
|
+
function ____exports.getNumbersFromTable(self, luaMap, objectName, ...)
|
|
51
51
|
local keys = {...}
|
|
52
52
|
local numbers = {}
|
|
53
53
|
for ____, key in ipairs(keys) do
|
|
@@ -55,9 +55,9 @@ function ____exports.getNumbersFromTable(luaMap, objectName, ...)
|
|
|
55
55
|
if value == nil then
|
|
56
56
|
error(((("Failed to find a value for \"" .. key) .. "\" in a table representing a \"") .. objectName) .. "\" object.")
|
|
57
57
|
end
|
|
58
|
-
if isNumber(value) then
|
|
58
|
+
if isNumber(nil, value) then
|
|
59
59
|
numbers[#numbers + 1] = value
|
|
60
|
-
elseif isString(value) then
|
|
60
|
+
elseif isString(nil, value) then
|
|
61
61
|
local number = tonumber(value)
|
|
62
62
|
if number == nil then
|
|
63
63
|
error((((("Failed to convert the \"" .. key) .. "\" value of a table representing a \"") .. objectName) .. "\" object to a number: ") .. value)
|
|
@@ -73,7 +73,7 @@ end
|
|
|
73
73
|
-- value does not exist on the table.
|
|
74
74
|
--
|
|
75
75
|
-- This function is variadic, meaning that you can specify N arguments to get N values.
|
|
76
|
-
function ____exports.getStringsFromTable(luaMap, objectName, ...)
|
|
76
|
+
function ____exports.getStringsFromTable(self, luaMap, objectName, ...)
|
|
77
77
|
local keys = {...}
|
|
78
78
|
local strings = {}
|
|
79
79
|
for ____, key in ipairs(keys) do
|
|
@@ -81,7 +81,7 @@ function ____exports.getStringsFromTable(luaMap, objectName, ...)
|
|
|
81
81
|
if value == nil then
|
|
82
82
|
error(((("Failed to find a value for \"" .. key) .. "\" in a table representing a \"") .. objectName) .. "\" object.")
|
|
83
83
|
end
|
|
84
|
-
if isString(value) then
|
|
84
|
+
if isString(nil, value) then
|
|
85
85
|
strings[#strings + 1] = value
|
|
86
86
|
else
|
|
87
87
|
local ____string = tostring(value)
|
|
@@ -103,28 +103,28 @@ end
|
|
|
103
103
|
-- @param inOrder Optional. Whether to iterate in order. True by default. You can dynamically set to
|
|
104
104
|
-- false in situations where iterating randomly would not matter and you need the
|
|
105
105
|
-- extra performance.
|
|
106
|
-
function ____exports.iterateTableInOrder(luaMap, func, inOrder)
|
|
106
|
+
function ____exports.iterateTableInOrder(self, luaMap, func, inOrder)
|
|
107
107
|
if inOrder == nil then
|
|
108
108
|
inOrder = true
|
|
109
109
|
end
|
|
110
110
|
if not inOrder then
|
|
111
111
|
for key, value in pairs(luaMap) do
|
|
112
|
-
func(key, value)
|
|
112
|
+
func(nil, key, value)
|
|
113
113
|
end
|
|
114
114
|
return
|
|
115
115
|
end
|
|
116
116
|
local keys = __TS__ObjectKeys(luaMap)
|
|
117
117
|
local hasAllNumberKeys = __TS__ArrayEvery(
|
|
118
118
|
keys,
|
|
119
|
-
function(____, key) return isNumber(key) end
|
|
119
|
+
function(____, key) return isNumber(nil, key) end
|
|
120
120
|
)
|
|
121
121
|
local hasAllStringKeys = __TS__ArrayEvery(
|
|
122
122
|
keys,
|
|
123
|
-
function(____, key) return isString(key) end
|
|
123
|
+
function(____, key) return isString(nil, key) end
|
|
124
124
|
)
|
|
125
125
|
if not hasAllNumberKeys and not hasAllStringKeys then
|
|
126
126
|
for key, value in pairs(luaMap) do
|
|
127
|
-
func(key, value)
|
|
127
|
+
func(nil, key, value)
|
|
128
128
|
end
|
|
129
129
|
return
|
|
130
130
|
end
|
|
@@ -133,7 +133,7 @@ function ____exports.iterateTableInOrder(luaMap, func, inOrder)
|
|
|
133
133
|
local keyIndex = key
|
|
134
134
|
local value = luaMap[keyIndex]
|
|
135
135
|
if value ~= nil then
|
|
136
|
-
func(keyIndex, value)
|
|
136
|
+
func(nil, keyIndex, value)
|
|
137
137
|
end
|
|
138
138
|
end
|
|
139
139
|
end
|
|
@@ -141,7 +141,7 @@ end
|
|
|
141
141
|
--
|
|
142
142
|
-- This function is variadic, meaning that you can specify as many arguments as you want to check
|
|
143
143
|
-- for.
|
|
144
|
-
function ____exports.tableHasKeys(luaMap, ...)
|
|
144
|
+
function ____exports.tableHasKeys(self, luaMap, ...)
|
|
145
145
|
local keys = {...}
|
|
146
146
|
return __TS__ArrayEvery(
|
|
147
147
|
keys,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tears.d.ts","sourceRoot":"","sources":["../../src/functions/tears.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tears.d.ts","sourceRoot":"","sources":["../../src/functions/tears.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,KAAK,GAAG,IAAI,CAKzE;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,KAAK,GAAG,KAAK,CAEpD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,KAAK,GAAG,KAAK,CAEpD"}
|
package/dist/functions/tears.lua
CHANGED
|
@@ -4,24 +4,24 @@ local ____exports = {}
|
|
|
4
4
|
-- - If you already have a "tears" stat and you want to convert it back to MaxFireDelay, then use
|
|
5
5
|
-- this function.
|
|
6
6
|
-- - In this context, the "tears stat" represents what is shown on the in-game stat UI.
|
|
7
|
-
function ____exports.getFireDelay(tearsStat)
|
|
7
|
+
function ____exports.getFireDelay(self, tearsStat)
|
|
8
8
|
return math.max(30 / tearsStat - 1, -0.9999)
|
|
9
9
|
end
|
|
10
10
|
--- - The `EntityPlayer` object stores a player's tear rate in the `MaxFireDelay` field. This is
|
|
11
11
|
-- equivalent to how many tears the player can shoot per frame.
|
|
12
12
|
-- - If you want to convert this to the "tears" stat that is shown on the in-game stat UI, then use
|
|
13
13
|
-- this function.
|
|
14
|
-
function ____exports.getTearsStat(fireDelay)
|
|
14
|
+
function ____exports.getTearsStat(self, fireDelay)
|
|
15
15
|
return 30 / (fireDelay + 1)
|
|
16
16
|
end
|
|
17
17
|
--- - Converts the specified amount of tears stat into the format of `EntityPlayer.MaxFireDelay` and
|
|
18
18
|
-- adds it to the player.
|
|
19
19
|
-- - This function should only be used inside the `EVALUATE_CACHE` callback.
|
|
20
20
|
-- - In this context, the "tears stat" represents what is shown on the in-game stat UI.
|
|
21
|
-
function ____exports.addTearsStat(player, tearsStat)
|
|
22
|
-
local existingTearsStat = ____exports.getTearsStat(player.MaxFireDelay)
|
|
21
|
+
function ____exports.addTearsStat(self, player, tearsStat)
|
|
22
|
+
local existingTearsStat = ____exports.getTearsStat(nil, player.MaxFireDelay)
|
|
23
23
|
local newTearsStat = existingTearsStat + tearsStat
|
|
24
|
-
local newMaxFireDelay = ____exports.getFireDelay(newTearsStat)
|
|
24
|
+
local newMaxFireDelay = ____exports.getFireDelay(nil, newTearsStat)
|
|
25
25
|
player.MaxFireDelay = newMaxFireDelay
|
|
26
26
|
end
|
|
27
27
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformations.d.ts","sourceRoot":"","sources":["../../src/functions/transformations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transformations.d.ts","sourceRoot":"","sources":["../../src/functions/transformations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,UAAU,EACX,MAAM,8BAA8B,CAAC;AAiCtC;;;;;;;;;GASG;AACH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,UAAU,GACrB,WAAW,CAAC,eAAe,CAAC,CAS9B;AAED,yFAAyF;AACzF,wBAAgB,yCAAyC,CACvD,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,UAAU,GACrB,GAAG,CAGL;AAED,6DAA6D;AAC7D,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,YAAY,GACnB,GAAG,CAAC,UAAU,CAAC,CASjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAEpE;AAED,wBAAgB,oCAAoC,CAClD,eAAe,EAAE,eAAe,GAC/B,GAAG,CAAC,UAAU,CAAC,CAiBjB;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAQrE;AAED,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAEtE"}
|
|
@@ -43,25 +43,26 @@ local TRANSFORMATIONS_THAT_GRANT_FLYING = __TS__New(Set, {PlayerForm.GUPPY, Play
|
|
|
43
43
|
-- ```ts
|
|
44
44
|
-- const guppyCollectibleTypes = getCollectibleTypesForTransformation(PlayerForm.GUPPY);
|
|
45
45
|
-- ```
|
|
46
|
-
function ____exports.getCollectibleTypesForTransformation(playerForm)
|
|
46
|
+
function ____exports.getCollectibleTypesForTransformation(self, playerForm)
|
|
47
47
|
local itemConfigTag = TRANSFORMATION_TO_TAG_MAP:get(playerForm)
|
|
48
48
|
if itemConfigTag == nil then
|
|
49
49
|
error(("Failed to get the collectible types for the transformation of " .. tostring(playerForm)) .. " because that transformation is not based on collectibles.")
|
|
50
50
|
end
|
|
51
|
-
return getCollectibleTypesWithTag(itemConfigTag)
|
|
51
|
+
return getCollectibleTypesWithTag(nil, itemConfigTag)
|
|
52
52
|
end
|
|
53
53
|
--- Returns the number of items that a player has towards a particular transformation.
|
|
54
|
-
function ____exports.getPlayerNumCollectiblesForTransformation(player, playerForm)
|
|
55
|
-
local collectibleTypes = ____exports.getCollectibleTypesForTransformation(playerForm)
|
|
54
|
+
function ____exports.getPlayerNumCollectiblesForTransformation(self, player, playerForm)
|
|
55
|
+
local collectibleTypes = ____exports.getCollectibleTypesForTransformation(nil, playerForm)
|
|
56
56
|
return getPlayerCollectibleCount(
|
|
57
|
+
nil,
|
|
57
58
|
player,
|
|
58
59
|
__TS__Spread(collectibleTypes:values())
|
|
59
60
|
)
|
|
60
61
|
end
|
|
61
62
|
--- Returns a set of the player's current transformations.
|
|
62
|
-
function ____exports.getPlayerTransformations(player)
|
|
63
|
+
function ____exports.getPlayerTransformations(self, player)
|
|
63
64
|
local transformations = __TS__New(Set)
|
|
64
|
-
for ____, playerForm in ipairs(getEnumValues(PlayerForm)) do
|
|
65
|
+
for ____, playerForm in ipairs(getEnumValues(nil, PlayerForm)) do
|
|
65
66
|
if player:HasPlayerForm(playerForm) then
|
|
66
67
|
transformations:add(playerForm)
|
|
67
68
|
end
|
|
@@ -76,12 +77,12 @@ end
|
|
|
76
77
|
-- const transformationName = getTransformationName(PlayerForm.LORD_OF_THE_FLIES);
|
|
77
78
|
-- // transformationName is "Beelzebub"
|
|
78
79
|
-- ```
|
|
79
|
-
function ____exports.getTransformationName(playerForm)
|
|
80
|
+
function ____exports.getTransformationName(self, playerForm)
|
|
80
81
|
return TRANSFORMATION_NAMES[playerForm]
|
|
81
82
|
end
|
|
82
|
-
function ____exports.getTransformationsForCollectibleType(collectibleType)
|
|
83
|
-
local itemConfigTags = getCollectibleTags(collectibleType)
|
|
84
|
-
local playerForms = getEnumValues(PlayerForm)
|
|
83
|
+
function ____exports.getTransformationsForCollectibleType(self, collectibleType)
|
|
84
|
+
local itemConfigTags = getCollectibleTags(nil, collectibleType)
|
|
85
|
+
local playerForms = getEnumValues(nil, PlayerForm)
|
|
85
86
|
local transformationSet = __TS__New(Set)
|
|
86
87
|
for ____, playerForm in ipairs(playerForms) do
|
|
87
88
|
do
|
|
@@ -89,7 +90,7 @@ function ____exports.getTransformationsForCollectibleType(collectibleType)
|
|
|
89
90
|
if itemConfigTag == nil then
|
|
90
91
|
goto __continue11
|
|
91
92
|
end
|
|
92
|
-
if hasFlag(itemConfigTags, itemConfigTag) then
|
|
93
|
+
if hasFlag(nil, itemConfigTags, itemConfigTag) then
|
|
93
94
|
transformationSet:add(playerForm)
|
|
94
95
|
end
|
|
95
96
|
end
|
|
@@ -97,7 +98,7 @@ function ____exports.getTransformationsForCollectibleType(collectibleType)
|
|
|
97
98
|
end
|
|
98
99
|
return transformationSet
|
|
99
100
|
end
|
|
100
|
-
function ____exports.hasFlyingTransformation(player)
|
|
101
|
+
function ____exports.hasFlyingTransformation(self, player)
|
|
101
102
|
for ____, playerForm in __TS__Iterator(TRANSFORMATIONS_THAT_GRANT_FLYING:values()) do
|
|
102
103
|
if player:HasPlayerForm(playerForm) then
|
|
103
104
|
return true
|
|
@@ -105,7 +106,7 @@ function ____exports.hasFlyingTransformation(player)
|
|
|
105
106
|
end
|
|
106
107
|
return false
|
|
107
108
|
end
|
|
108
|
-
function ____exports.isTransformationFlying(playerForm)
|
|
109
|
+
function ____exports.isTransformationFlying(self, playerForm)
|
|
109
110
|
return TRANSFORMATIONS_THAT_GRANT_FLYING:has(playerForm)
|
|
110
111
|
end
|
|
111
112
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trinketCacheFlag.d.ts","sourceRoot":"","sources":["../../src/functions/trinketCacheFlag.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trinketCacheFlag.d.ts","sourceRoot":"","sources":["../../src/functions/trinketCacheFlag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AA0BtE;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,SAAS,GACnB,GAAG,CAAC,WAAW,EAAE,GAAG,CAAC,CAYvB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,SAAS,GACnB,WAAW,CAAC,WAAW,CAAC,CAS1B;AAED,6FAA6F;AAC7F,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,GACnB,OAAO,CAOT"}
|
|
@@ -15,14 +15,14 @@ local ____enums = require("functions.enums")
|
|
|
15
15
|
local getEnumValues = ____enums.getEnumValues
|
|
16
16
|
local ____flag = require("functions.flag")
|
|
17
17
|
local hasFlag = ____flag.hasFlag
|
|
18
|
-
function lazyInitCacheFlagMap()
|
|
18
|
+
function lazyInitCacheFlagMap(self)
|
|
19
19
|
if CACHE_FLAG_TO_TRINKETS_MAP.size > 0 then
|
|
20
20
|
return
|
|
21
21
|
end
|
|
22
|
-
for ____, cacheFlag in ipairs(getEnumValues(CacheFlag)) do
|
|
22
|
+
for ____, cacheFlag in ipairs(getEnumValues(nil, CacheFlag)) do
|
|
23
23
|
local trinketsSet = __TS__New(Set)
|
|
24
|
-
for ____, trinketType in ipairs(getTrinketTypes()) do
|
|
25
|
-
if ____exports.trinketHasCacheFlag(trinketType, cacheFlag) then
|
|
24
|
+
for ____, trinketType in ipairs(getTrinketTypes(nil)) do
|
|
25
|
+
if ____exports.trinketHasCacheFlag(nil, trinketType, cacheFlag) then
|
|
26
26
|
trinketsSet:add(trinketType)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -33,8 +33,8 @@ end
|
|
|
33
33
|
--
|
|
34
34
|
-- This function can only be called if at least one callback has been executed. This is because not
|
|
35
35
|
-- all trinkets will necessarily be present when a mod first loads (due to mod load order).
|
|
36
|
-
function ____exports.getTrinketsForCacheFlag(cacheFlag)
|
|
37
|
-
lazyInitCacheFlagMap()
|
|
36
|
+
function ____exports.getTrinketsForCacheFlag(self, cacheFlag)
|
|
37
|
+
lazyInitCacheFlagMap(nil)
|
|
38
38
|
local trinketsSet = CACHE_FLAG_TO_TRINKETS_MAP:get(cacheFlag)
|
|
39
39
|
if trinketsSet == nil then
|
|
40
40
|
return __TS__New(Set)
|
|
@@ -42,12 +42,12 @@ function ____exports.getTrinketsForCacheFlag(cacheFlag)
|
|
|
42
42
|
return trinketsSet
|
|
43
43
|
end
|
|
44
44
|
--- Helper function to check in the item config if a given trinket has a given cache flag.
|
|
45
|
-
function ____exports.trinketHasCacheFlag(trinketType, cacheFlag)
|
|
45
|
+
function ____exports.trinketHasCacheFlag(self, trinketType, cacheFlag)
|
|
46
46
|
local itemConfigItem = itemConfig:GetTrinket(trinketType)
|
|
47
47
|
if itemConfigItem == nil then
|
|
48
48
|
return false
|
|
49
49
|
end
|
|
50
|
-
return hasFlag(itemConfigItem.CacheFlags, cacheFlag)
|
|
50
|
+
return hasFlag(nil, itemConfigItem.CacheFlags, cacheFlag)
|
|
51
51
|
end
|
|
52
52
|
CACHE_FLAG_TO_TRINKETS_MAP = __TS__New(Map)
|
|
53
53
|
--- Returns a map containing every trinket type that the player has that matches the provided
|
|
@@ -55,8 +55,8 @@ CACHE_FLAG_TO_TRINKETS_MAP = __TS__New(Map)
|
|
|
55
55
|
--
|
|
56
56
|
-- This function can only be called if at least one callback has been executed. This is because not
|
|
57
57
|
-- all trinkets will necessarily be present when a mod first loads (due to mod load order).
|
|
58
|
-
function ____exports.getPlayerTrinketsForCacheFlag(player, cacheFlag)
|
|
59
|
-
local trinketsForCacheFlag = ____exports.getTrinketsForCacheFlag(cacheFlag)
|
|
58
|
+
function ____exports.getPlayerTrinketsForCacheFlag(self, player, cacheFlag)
|
|
59
|
+
local trinketsForCacheFlag = ____exports.getTrinketsForCacheFlag(nil, cacheFlag)
|
|
60
60
|
local playerTrinkets = __TS__New(Map)
|
|
61
61
|
for ____, trinketType in __TS__Iterator(trinketsForCacheFlag:values()) do
|
|
62
62
|
local trinketMultiplier = player:GetTrinketMultiplier(trinketType)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trinketGive.d.ts","sourceRoot":"","sources":["../../src/functions/trinketGive.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trinketGive.d.ts","sourceRoot":"","sources":["../../src/functions/trinketGive.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAKlE;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,YAAY,EACpB,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,GAC7C,IAAI,CA+BN;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,EACxB,WAAW,SAAI,GACd,IAAI,CASN;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,YAAY,EACpB,GAAG,YAAY,EAAE,WAAW,EAAE,GAC7B,IAAI,CAIN;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,GACvB,gBAAgB,GAAG,SAAS,CAkC9B;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,YAAY,GACnB,gBAAgB,GAAG,SAAS,CAsB9B"}
|
|
@@ -14,7 +14,7 @@ local ____repeat = ____utils["repeat"]
|
|
|
14
14
|
-- give back trinkets on the same frame.
|
|
15
15
|
--
|
|
16
16
|
-- @returns Undefined if the player does not have any trinkets, or TrinketSituation if they do.
|
|
17
|
-
function ____exports.temporarilyRemoveTrinkets(player)
|
|
17
|
+
function ____exports.temporarilyRemoveTrinkets(self, player)
|
|
18
18
|
local trinketType1 = player:GetTrinket(TrinketSlot.SLOT_1)
|
|
19
19
|
local trinketType2 = player:GetTrinket(TrinketSlot.SLOT_2)
|
|
20
20
|
if trinketType1 == TrinketType.NULL and trinketType2 == TrinketType.NULL then
|
|
@@ -31,7 +31,7 @@ end
|
|
|
31
31
|
--- Helper function to restore the player's trinkets back to the way they were before the
|
|
32
32
|
-- `temporarilyRemoveTrinket` function was used. It will re-smelt any smelted trinkets that were
|
|
33
33
|
-- removed.
|
|
34
|
-
function ____exports.giveTrinketsBack(player, trinketSituation)
|
|
34
|
+
function ____exports.giveTrinketsBack(self, player, trinketSituation)
|
|
35
35
|
if trinketSituation == nil then
|
|
36
36
|
return
|
|
37
37
|
end
|
|
@@ -44,10 +44,11 @@ function ____exports.giveTrinketsBack(player, trinketSituation)
|
|
|
44
44
|
player:TryRemoveTrinket(trinketType2)
|
|
45
45
|
end
|
|
46
46
|
____repeat(
|
|
47
|
+
nil,
|
|
47
48
|
trinketSituation.numSmeltedTrinkets,
|
|
48
49
|
function()
|
|
49
50
|
player:AddTrinket(trinketSituation.trinketTypeRemoved, false)
|
|
50
|
-
useActiveItemTemp(player, CollectibleType.SMELTER)
|
|
51
|
+
useActiveItemTemp(nil, player, CollectibleType.SMELTER)
|
|
51
52
|
end
|
|
52
53
|
)
|
|
53
54
|
if trinketSituation.trinketType1 ~= TrinketType.NULL then
|
|
@@ -65,19 +66,20 @@ end
|
|
|
65
66
|
-- @param trinketType The trinket type to smelt.
|
|
66
67
|
-- @param numTrinkets Optional. If specified, will smelt the given number of trinkets. Use this to
|
|
67
68
|
-- avoid calling this function multiple times. Default is 1.
|
|
68
|
-
function ____exports.smeltTrinket(player, trinketType, numTrinkets)
|
|
69
|
+
function ____exports.smeltTrinket(self, player, trinketType, numTrinkets)
|
|
69
70
|
if numTrinkets == nil then
|
|
70
71
|
numTrinkets = 1
|
|
71
72
|
end
|
|
72
|
-
local trinketSituation = ____exports.temporarilyRemoveTrinkets(player)
|
|
73
|
+
local trinketSituation = ____exports.temporarilyRemoveTrinkets(nil, player)
|
|
73
74
|
____repeat(
|
|
75
|
+
nil,
|
|
74
76
|
numTrinkets,
|
|
75
77
|
function()
|
|
76
78
|
player:AddTrinket(trinketType)
|
|
77
|
-
useActiveItemTemp(player, CollectibleType.SMELTER)
|
|
79
|
+
useActiveItemTemp(nil, player, CollectibleType.SMELTER)
|
|
78
80
|
end
|
|
79
81
|
)
|
|
80
|
-
____exports.giveTrinketsBack(player, trinketSituation)
|
|
82
|
+
____exports.giveTrinketsBack(nil, player, trinketSituation)
|
|
81
83
|
end
|
|
82
84
|
--- Helper function to smelt two or more different trinkets. If you want to smelt one trinket (or
|
|
83
85
|
-- multiple copies of one trinket), then use the `smeltTrinket` helper function instead.
|
|
@@ -89,10 +91,10 @@ end
|
|
|
89
91
|
--
|
|
90
92
|
-- @param player The player to smelt the trinkets to.
|
|
91
93
|
-- @param trinketTypes The trinket types to smelt.
|
|
92
|
-
function ____exports.smeltTrinkets(player, ...)
|
|
94
|
+
function ____exports.smeltTrinkets(self, player, ...)
|
|
93
95
|
local trinketTypes = {...}
|
|
94
96
|
for ____, trinketType in ipairs(trinketTypes) do
|
|
95
|
-
____exports.smeltTrinket(player, trinketType)
|
|
97
|
+
____exports.smeltTrinket(nil, player, trinketType)
|
|
96
98
|
end
|
|
97
99
|
end
|
|
98
100
|
--- Helper function to temporarily remove a specific kind of trinket from the player. Use this in
|
|
@@ -103,7 +105,7 @@ end
|
|
|
103
105
|
-- Note that one smelted golden trinket is the same as two smelted normal trinkets.
|
|
104
106
|
--
|
|
105
107
|
-- @returns Undefined if the player does not have the trinket, or TrinketSituation if they do.
|
|
106
|
-
function ____exports.temporarilyRemoveTrinket(player, trinketType)
|
|
108
|
+
function ____exports.temporarilyRemoveTrinket(self, player, trinketType)
|
|
107
109
|
if not player:HasTrinket(trinketType) then
|
|
108
110
|
return nil
|
|
109
111
|
end
|
|
@@ -115,11 +117,11 @@ function ____exports.temporarilyRemoveTrinket(player, trinketType)
|
|
|
115
117
|
numTrinkets = numTrinkets + 1
|
|
116
118
|
end
|
|
117
119
|
local numSmeltedTrinkets = numTrinkets
|
|
118
|
-
local trinketWasInSlot1 = trinketType1 == trinketType or trinketType1 == getGoldenTrinketType(trinketType)
|
|
120
|
+
local trinketWasInSlot1 = trinketType1 == trinketType or trinketType1 == getGoldenTrinketType(nil, trinketType)
|
|
119
121
|
if trinketWasInSlot1 then
|
|
120
122
|
numSmeltedTrinkets = numSmeltedTrinkets - 1
|
|
121
123
|
end
|
|
122
|
-
local trinketWasInSlot2 = trinketType2 == trinketType or trinketType2 == getGoldenTrinketType(trinketType)
|
|
124
|
+
local trinketWasInSlot2 = trinketType2 == trinketType or trinketType2 == getGoldenTrinketType(nil, trinketType)
|
|
123
125
|
if trinketWasInSlot2 then
|
|
124
126
|
numSmeltedTrinkets = numSmeltedTrinkets - 1
|
|
125
127
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trinketSet.d.ts","sourceRoot":"","sources":["../../src/functions/trinketSet.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trinketSet.d.ts","sourceRoot":"","sources":["../../src/functions/trinketSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAwD3D;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,IAAI,SAAS,WAAW,EAAE,CAG9D;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,IAAI,WAAW,CAAC,WAAW,CAAC,CAG9D;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,IAAI,SAAS,WAAW,EAAE,CAGxD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,IAAI,WAAW,CAAC,WAAW,CAAC,CAGxD;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,IAAI,SAAS,WAAW,EAAE,CAG/D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,WAAW,CAAC,WAAW,CAAC,CAG/D"}
|
|
@@ -14,11 +14,11 @@ local VANILLA_TRINKET_TYPES_ARRAY = {}
|
|
|
14
14
|
local VANILLA_TRINKET_TYPES_SET = __TS__New(Set)
|
|
15
15
|
local MODDED_TRINKET_TYPES_ARRAY = {}
|
|
16
16
|
local MODDED_TRINKET_TYPES_SET = __TS__New(Set)
|
|
17
|
-
local function lazyInitVanillaTrinketTypes()
|
|
17
|
+
local function lazyInitVanillaTrinketTypes(self)
|
|
18
18
|
if #VANILLA_TRINKET_TYPES_ARRAY > 0 then
|
|
19
19
|
return
|
|
20
20
|
end
|
|
21
|
-
local vanillaTrinketTypes = getVanillaTrinketTypes()
|
|
21
|
+
local vanillaTrinketTypes = getVanillaTrinketTypes(nil)
|
|
22
22
|
for ____, trinketType in ipairs(vanillaTrinketTypes) do
|
|
23
23
|
local itemConfigItem = itemConfig:GetTrinket(trinketType)
|
|
24
24
|
if itemConfigItem ~= nil then
|
|
@@ -27,16 +27,16 @@ local function lazyInitVanillaTrinketTypes()
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
end
|
|
30
|
-
local function lazyInitModdedTrinketTypes()
|
|
30
|
+
local function lazyInitModdedTrinketTypes(self)
|
|
31
31
|
if #MODDED_TRINKET_TYPES_ARRAY > 0 then
|
|
32
32
|
return
|
|
33
33
|
end
|
|
34
|
-
lazyInitVanillaTrinketTypes()
|
|
34
|
+
lazyInitVanillaTrinketTypes(nil)
|
|
35
35
|
for ____, trinketType in ipairs(VANILLA_TRINKET_TYPES_ARRAY) do
|
|
36
36
|
ALL_TRINKET_TYPES_ARRAY[#ALL_TRINKET_TYPES_ARRAY + 1] = trinketType
|
|
37
37
|
ALL_TRINKET_TYPES_SET:add(trinketType)
|
|
38
38
|
end
|
|
39
|
-
local moddedTrinketTypes = getModdedTrinketTypes()
|
|
39
|
+
local moddedTrinketTypes = getModdedTrinketTypes(nil)
|
|
40
40
|
for ____, trinketType in ipairs(moddedTrinketTypes) do
|
|
41
41
|
local itemConfigItem = itemConfig:GetTrinket(trinketType)
|
|
42
42
|
if itemConfigItem ~= nil then
|
|
@@ -54,8 +54,8 @@ end
|
|
|
54
54
|
--
|
|
55
55
|
-- This function can only be called if at least one callback has been executed. This is because not
|
|
56
56
|
-- all trinkets will necessarily be present when a mod first loads (due to mod load order).
|
|
57
|
-
function ____exports.getModdedTrinketArray()
|
|
58
|
-
lazyInitModdedTrinketTypes()
|
|
57
|
+
function ____exports.getModdedTrinketArray(self)
|
|
58
|
+
lazyInitModdedTrinketTypes(nil)
|
|
59
59
|
return MODDED_TRINKET_TYPES_ARRAY
|
|
60
60
|
end
|
|
61
61
|
--- Returns a set containing every valid trinket type in the game, including modded trinkets.
|
|
@@ -65,8 +65,8 @@ end
|
|
|
65
65
|
--
|
|
66
66
|
-- This function can only be called if at least one callback has been executed. This is because not
|
|
67
67
|
-- all trinkets will necessarily be present when a mod first loads (due to mod load order).
|
|
68
|
-
function ____exports.getModdedTrinketSet()
|
|
69
|
-
lazyInitModdedTrinketTypes()
|
|
68
|
+
function ____exports.getModdedTrinketSet(self)
|
|
69
|
+
lazyInitModdedTrinketTypes(nil)
|
|
70
70
|
return MODDED_TRINKET_TYPES_SET
|
|
71
71
|
end
|
|
72
72
|
--- Returns an array containing every modded trinket type in the game.
|
|
@@ -76,8 +76,8 @@ end
|
|
|
76
76
|
--
|
|
77
77
|
-- This function can only be called if at least one callback has been executed. This is because not
|
|
78
78
|
-- all trinkets will necessarily be present when a mod first loads (due to mod load order).
|
|
79
|
-
function ____exports.getTrinketArray()
|
|
80
|
-
lazyInitModdedTrinketTypes()
|
|
79
|
+
function ____exports.getTrinketArray(self)
|
|
80
|
+
lazyInitModdedTrinketTypes(nil)
|
|
81
81
|
return ALL_TRINKET_TYPES_ARRAY
|
|
82
82
|
end
|
|
83
83
|
--- Returns a set containing every modded trinket type in the game.
|
|
@@ -87,24 +87,24 @@ end
|
|
|
87
87
|
--
|
|
88
88
|
-- This function can only be called if at least one callback has been executed. This is because not
|
|
89
89
|
-- all trinkets will necessarily be present when a mod first loads (due to mod load order).
|
|
90
|
-
function ____exports.getTrinketSet()
|
|
91
|
-
lazyInitModdedTrinketTypes()
|
|
90
|
+
function ____exports.getTrinketSet(self)
|
|
91
|
+
lazyInitModdedTrinketTypes(nil)
|
|
92
92
|
return ALL_TRINKET_TYPES_SET
|
|
93
93
|
end
|
|
94
94
|
--- Returns an array containing every valid vanilla trinket type in the game.
|
|
95
95
|
--
|
|
96
96
|
-- Use this if you need to iterate over the trinkets in order. If you need to do O(1) lookups, then
|
|
97
97
|
-- use the `getVanillaTrinketSet` helper function instead.
|
|
98
|
-
function ____exports.getVanillaTrinketArray()
|
|
99
|
-
lazyInitVanillaTrinketTypes()
|
|
98
|
+
function ____exports.getVanillaTrinketArray(self)
|
|
99
|
+
lazyInitVanillaTrinketTypes(nil)
|
|
100
100
|
return VANILLA_TRINKET_TYPES_ARRAY
|
|
101
101
|
end
|
|
102
102
|
--- Returns a set containing every valid vanilla trinket type in the game.
|
|
103
103
|
--
|
|
104
104
|
-- Use this if you need to do O(1) lookups. If you need to iterate over the trinkets in order, then
|
|
105
105
|
-- use the `getVanillaTrinketArray` helper function instead.
|
|
106
|
-
function ____exports.getVanillaTrinketSet()
|
|
107
|
-
lazyInitVanillaTrinketTypes()
|
|
106
|
+
function ____exports.getVanillaTrinketSet(self)
|
|
107
|
+
lazyInitVanillaTrinketTypes(nil)
|
|
108
108
|
return VANILLA_TRINKET_TYPES_SET
|
|
109
109
|
end
|
|
110
110
|
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trinkets.d.ts","sourceRoot":"","sources":["../../src/functions/trinkets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trinkets.d.ts","sourceRoot":"","sources":["../../src/functions/trinkets.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EACZ,MAAM,8BAA8B,CAAC;AA+BtC;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAE1E;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,GAAG,GAAG,SAAS,CAkBxE;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CActE;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAOtE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAc/D;AAED,kFAAkF;AAClF,wBAAgB,sBAAsB,IAAI,WAAW,EAAE,CAEtD;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAOhE;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAErE;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAErE;AAED,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAEtE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CASjE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,IAAI,CAeN"}
|