isaacscript-common 30.12.3 → 30.12.4
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/index.rollup.d.ts +283 -283
- package/dist/isaacscript-common.lua +196 -214
- package/dist/src/classes/DefaultMap.d.ts +2 -2
- package/dist/src/classes/DefaultMap.d.ts.map +1 -1
- package/dist/src/classes/ModFeature.d.ts +4 -4
- package/dist/src/classes/ModFeature.d.ts.map +1 -1
- package/dist/src/classes/ModUpgraded.d.ts +6 -6
- package/dist/src/classes/ModUpgraded.d.ts.map +1 -1
- package/dist/src/classes/callbacks/EntityTakeDmgFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/EntityTakeDmgFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/EntityTakeDmgPlayer.d.ts +2 -2
- package/dist/src/classes/callbacks/EntityTakeDmgPlayer.d.ts.map +1 -1
- package/dist/src/classes/callbacks/InputActionFilter.d.ts +3 -3
- package/dist/src/classes/callbacks/InputActionFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/InputActionPlayer.d.ts +3 -3
- package/dist/src/classes/callbacks/InputActionPlayer.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostAmbushFinished.d.ts +2 -2
- package/dist/src/classes/callbacks/PostAmbushFinished.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostAmbushStarted.d.ts +2 -2
- package/dist/src/classes/callbacks/PostAmbushStarted.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostBombExploded.d.ts +2 -2
- package/dist/src/classes/callbacks/PostBombExploded.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostBombInitFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostBombInitFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostBombInitLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostBombInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostBombRenderFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostBombRenderFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostBombUpdateFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostBombUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostBoneSwing.d.ts +2 -2
- package/dist/src/classes/callbacks/PostBoneSwing.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostCollectibleEmpty.d.ts +4 -3
- package/dist/src/classes/callbacks/PostCollectibleEmpty.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostCursedTeleport.d.ts +3 -3
- package/dist/src/classes/callbacks/PostCursedTeleport.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostCustomRevive.d.ts +3 -2
- package/dist/src/classes/callbacks/PostCustomRevive.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostDiceRoomActivated.d.ts +5 -4
- package/dist/src/classes/callbacks/PostDiceRoomActivated.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostDoorRender.d.ts +2 -2
- package/dist/src/classes/callbacks/PostDoorRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostDoorUpdate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostDoorUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostEffectInitFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostEffectInitFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostEffectInitLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostEffectInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostEffectRenderFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostEffectRenderFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostEffectStateChanged.d.ts +2 -2
- package/dist/src/classes/callbacks/PostEffectStateChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostEffectUpdateFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostEffectUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostEntityKillFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostEntityKillFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostEsauJr.d.ts +1 -1
- package/dist/src/classes/callbacks/PostEsauJr.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostFamiliarInitFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostFamiliarInitFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostFamiliarInitLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostFamiliarInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostFamiliarRenderFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostFamiliarRenderFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostFamiliarStateChanged.d.ts +2 -2
- package/dist/src/classes/callbacks/PostFamiliarStateChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostFamiliarUpdateFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostFamiliarUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostFirstEsauJr.d.ts +1 -1
- package/dist/src/classes/callbacks/PostFirstEsauJr.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostFirstFlip.d.ts +1 -1
- package/dist/src/classes/callbacks/PostFirstFlip.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostFlip.d.ts +1 -1
- package/dist/src/classes/callbacks/PostFlip.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGameEndFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostGameEndFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGameStartedReordered.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGameStartedReordered.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGameStartedReorderedLast.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGameStartedReorderedLast.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGreedModeWave.d.ts +2 -2
- package/dist/src/classes/callbacks/PostGreedModeWave.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityBroken.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityBroken.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCollision.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCollision.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomBroken.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomBroken.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomCollision.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomInit.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomInit.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomRemove.d.ts +3 -2
- package/dist/src/classes/callbacks/PostGridEntityCustomRemove.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomRender.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomStateChanged.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomStateChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomUpdate.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityInit.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityInit.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityRemove.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityRemove.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityRender.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityStateChanged.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityStateChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityUpdate.d.ts +1 -1
- package/dist/src/classes/callbacks/PostGridEntityUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostHolyMantleRemoved.d.ts +2 -2
- package/dist/src/classes/callbacks/PostHolyMantleRemoved.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostItemDischarge.d.ts +6 -5
- package/dist/src/classes/callbacks/PostItemDischarge.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostItemPickup.d.ts +1 -1
- package/dist/src/classes/callbacks/PostItemPickup.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostKeyboardChanged.d.ts +3 -3
- package/dist/src/classes/callbacks/PostKeyboardChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostKnifeInitFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostKnifeInitFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostKnifeInitLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostKnifeInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostKnifeRenderFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostKnifeRenderFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostKnifeUpdateFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostKnifeUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostLaserInitFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostLaserInitFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostLaserInitLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostLaserInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostLaserRenderFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostLaserRenderFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostLaserUpdateFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostLaserUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCDeathFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostNPCDeathFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCInitFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostNPCInitFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCInitLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostNPCInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCRenderFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostNPCRenderFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCStateChanged.d.ts +3 -3
- package/dist/src/classes/callbacks/PostNPCStateChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCUpdateFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostNPCUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNewLevelReordered.d.ts +1 -1
- package/dist/src/classes/callbacks/PostNewLevelReordered.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNewRoomEarly.d.ts +3 -3
- package/dist/src/classes/callbacks/PostNewRoomEarly.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNewRoomReordered.d.ts +1 -1
- package/dist/src/classes/callbacks/PostNewRoomReordered.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPEffectUpdateReordered.d.ts +1 -1
- package/dist/src/classes/callbacks/PostPEffectUpdateReordered.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupChanged.d.ts +1 -1
- package/dist/src/classes/callbacks/PostPickupChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupCollect.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPickupCollect.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupInitFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPickupInitFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupInitFirst.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPickupInitFirst.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupInitLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPickupInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupRenderFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPickupRenderFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupSelectionFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPickupSelectionFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupStateChanged.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPickupStateChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupUpdateFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPickupUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPitRender.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPitRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPitUpdate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPitUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerChangeHealth.d.ts +3 -3
- package/dist/src/classes/callbacks/PostPlayerChangeHealth.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerChangeStat.d.ts +4 -4
- package/dist/src/classes/callbacks/PostPlayerChangeStat.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerChangeType.d.ts +3 -3
- package/dist/src/classes/callbacks/PostPlayerChangeType.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerCollectibleAdded.d.ts +1 -1
- package/dist/src/classes/callbacks/PostPlayerCollectibleAdded.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerCollectibleRemoved.d.ts +1 -1
- package/dist/src/classes/callbacks/PostPlayerCollectibleRemoved.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerFatalDamage.d.ts +3 -3
- package/dist/src/classes/callbacks/PostPlayerFatalDamage.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerInitFirst.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPlayerInitFirst.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerInitLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPlayerInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerRenderReordered.d.ts +1 -1
- package/dist/src/classes/callbacks/PostPlayerRenderReordered.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerUpdateReordered.d.ts +1 -1
- package/dist/src/classes/callbacks/PostPlayerUpdateReordered.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPoopRender.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPoopRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPoopUpdate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPoopUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPressurePlateRender.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPressurePlateRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPressurePlateUpdate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostPressurePlateUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostProjectileInitFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostProjectileInitFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostProjectileInitLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostProjectileInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostProjectileKill.d.ts +4 -4
- package/dist/src/classes/callbacks/PostProjectileKill.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostProjectileRenderFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostProjectileRenderFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostProjectileUpdateFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostProjectileUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPurchase.d.ts +5 -5
- package/dist/src/classes/callbacks/PostPurchase.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostRockRender.d.ts +2 -2
- package/dist/src/classes/callbacks/PostRockRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostRockUpdate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostRockUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostRoomClearChanged.d.ts +4 -3
- package/dist/src/classes/callbacks/PostRoomClearChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSacrifice.d.ts +1 -1
- package/dist/src/classes/callbacks/PostSacrifice.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSlotAnimationChanged.d.ts +1 -1
- package/dist/src/classes/callbacks/PostSlotAnimationChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSlotCollision.d.ts +2 -2
- package/dist/src/classes/callbacks/PostSlotCollision.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSlotDestroyed.d.ts +1 -1
- package/dist/src/classes/callbacks/PostSlotDestroyed.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSlotInit.d.ts +1 -1
- package/dist/src/classes/callbacks/PostSlotInit.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSlotRender.d.ts +1 -1
- package/dist/src/classes/callbacks/PostSlotRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSlotUpdate.d.ts +1 -1
- package/dist/src/classes/callbacks/PostSlotUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSpikesRender.d.ts +2 -2
- package/dist/src/classes/callbacks/PostSpikesRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSpikesUpdate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostSpikesUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTNTRender.d.ts +2 -2
- package/dist/src/classes/callbacks/PostTNTRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTNTUpdate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostTNTUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTearInitFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostTearInitFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTearInitLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostTearInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTearInitVeryLate.d.ts +2 -2
- package/dist/src/classes/callbacks/PostTearInitVeryLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTearKill.d.ts +4 -4
- package/dist/src/classes/callbacks/PostTearKill.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTearRenderFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostTearRenderFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTearUpdateFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PostTearUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTransformation.d.ts +5 -4
- package/dist/src/classes/callbacks/PostTransformation.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTrinketBreak.d.ts +3 -3
- package/dist/src/classes/callbacks/PostTrinketBreak.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostUsePillFilter.d.ts +5 -5
- package/dist/src/classes/callbacks/PostUsePillFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreBerserkDeath.d.ts +1 -1
- package/dist/src/classes/callbacks/PreBerserkDeath.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreBombCollisionFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PreBombCollisionFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreCustomRevive.d.ts +1 -1
- package/dist/src/classes/callbacks/PreCustomRevive.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreEntitySpawnFilter.d.ts +3 -3
- package/dist/src/classes/callbacks/PreEntitySpawnFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreFamiliarCollisionFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PreFamiliarCollisionFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreGetPedestal.d.ts +2 -2
- package/dist/src/classes/callbacks/PreGetPedestal.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreItemPickup.d.ts +1 -1
- package/dist/src/classes/callbacks/PreItemPickup.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreKnifeCollisionFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PreKnifeCollisionFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreNPCCollisionFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PreNPCCollisionFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreNPCUpdateFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PreNPCUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreNewLevel.d.ts +1 -1
- package/dist/src/classes/callbacks/PreNewLevel.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreProjectileCollisionFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PreProjectileCollisionFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreRoomEntitySpawnFilter.d.ts +3 -3
- package/dist/src/classes/callbacks/PreRoomEntitySpawnFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreTearCollisionFilter.d.ts +2 -2
- package/dist/src/classes/callbacks/PreTearCollisionFilter.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts +4 -4
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.lua +2 -2
- package/dist/src/classes/features/callbackLogic/CustomRevive.d.ts +13 -13
- package/dist/src/classes/features/callbackLogic/CustomRevive.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/EsauJrDetection.d.ts +7 -7
- package/dist/src/classes/features/callbackLogic/EsauJrDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/FlipDetection.d.ts +5 -5
- package/dist/src/classes/features/callbackLogic/FlipDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.d.ts +11 -11
- package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/GridEntityCollisionDetection.d.ts +7 -7
- package/dist/src/classes/features/callbackLogic/GridEntityCollisionDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/GridEntityRenderDetection.d.ts +7 -7
- package/dist/src/classes/features/callbackLogic/GridEntityRenderDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/GridEntityUpdateDetection.d.ts +25 -25
- package/dist/src/classes/features/callbackLogic/GridEntityUpdateDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/ItemPickupDetection.d.ts +7 -7
- package/dist/src/classes/features/callbackLogic/ItemPickupDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/PickupChangeDetection.d.ts +7 -7
- package/dist/src/classes/features/callbackLogic/PickupChangeDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts +15 -14
- package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/PlayerReorderedCallbacks.d.ts +11 -11
- package/dist/src/classes/features/callbackLogic/PlayerReorderedCallbacks.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/SlotDestroyedDetection.d.ts +6 -6
- package/dist/src/classes/features/callbackLogic/SlotDestroyedDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/SlotRenderDetection.d.ts +5 -5
- package/dist/src/classes/features/callbackLogic/SlotRenderDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/SlotUpdateDetection.d.ts +6 -6
- package/dist/src/classes/features/callbackLogic/SlotUpdateDetection.d.ts.map +1 -1
- package/dist/src/classes/features/other/CharacterHealthConversion.d.ts +5 -5
- package/dist/src/classes/features/other/CharacterHealthConversion.d.ts.map +1 -1
- package/dist/src/classes/features/other/CharacterStats.d.ts +3 -3
- package/dist/src/classes/features/other/CharacterStats.d.ts.map +1 -1
- package/dist/src/classes/features/other/CollectibleItemPoolType.d.ts +3 -3
- package/dist/src/classes/features/other/CollectibleItemPoolType.d.ts.map +1 -1
- package/dist/src/classes/features/other/CollectibleItemPoolType.lua +1 -1
- package/dist/src/classes/features/other/CustomHotkeys.d.ts +4 -4
- package/dist/src/classes/features/other/CustomHotkeys.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomItemPools.d.ts +4 -3
- package/dist/src/classes/features/other/CustomItemPools.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomPickups.d.ts +4 -4
- package/dist/src/classes/features/other/CustomPickups.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomStages.d.ts +15 -15
- package/dist/src/classes/features/other/CustomStages.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomTrapdoors.d.ts +12 -12
- package/dist/src/classes/features/other/CustomTrapdoors.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomTrapdoors.lua +18 -20
- package/dist/src/classes/features/other/DebugDisplay.d.ts +19 -19
- package/dist/src/classes/features/other/DebugDisplay.d.ts.map +1 -1
- package/dist/src/classes/features/other/DeployJSONRoom.d.ts +3 -3
- package/dist/src/classes/features/other/DeployJSONRoom.d.ts.map +1 -1
- package/dist/src/classes/features/other/DisableAllSound.d.ts +1 -1
- package/dist/src/classes/features/other/DisableAllSound.d.ts.map +1 -1
- package/dist/src/classes/features/other/DisableInputs.d.ts +4 -4
- package/dist/src/classes/features/other/DisableInputs.d.ts.map +1 -1
- package/dist/src/classes/features/other/EdenStartingStats.d.ts +3 -3
- package/dist/src/classes/features/other/EdenStartingStats.d.ts.map +1 -1
- package/dist/src/classes/features/other/ExtraConsoleCommands.d.ts +10 -10
- package/dist/src/classes/features/other/ExtraConsoleCommands.d.ts.map +1 -1
- package/dist/src/classes/features/other/FadeInRemover.d.ts +1 -1
- package/dist/src/classes/features/other/FadeInRemover.d.ts.map +1 -1
- package/dist/src/classes/features/other/FastReset.d.ts +1 -1
- package/dist/src/classes/features/other/FastReset.d.ts.map +1 -1
- package/dist/src/classes/features/other/FlyingDetection.d.ts +1 -1
- package/dist/src/classes/features/other/FlyingDetection.d.ts.map +1 -1
- package/dist/src/classes/features/other/ForgottenSwitch.d.ts +1 -1
- package/dist/src/classes/features/other/ForgottenSwitch.d.ts.map +1 -1
- package/dist/src/classes/features/other/ItemPoolDetection.d.ts +3 -2
- package/dist/src/classes/features/other/ItemPoolDetection.d.ts.map +1 -1
- package/dist/src/classes/features/other/ModdedElementDetection.d.ts +2 -2
- package/dist/src/classes/features/other/ModdedElementDetection.d.ts.map +1 -1
- package/dist/src/classes/features/other/ModdedElementSets.d.ts +27 -27
- package/dist/src/classes/features/other/ModdedElementSets.d.ts.map +1 -1
- package/dist/src/classes/features/other/NoSirenSteal.d.ts +2 -2
- package/dist/src/classes/features/other/NoSirenSteal.d.ts.map +1 -1
- package/dist/src/classes/features/other/Pause.d.ts +3 -3
- package/dist/src/classes/features/other/Pause.d.ts.map +1 -1
- package/dist/src/classes/features/other/PersistentEntities.d.ts +4 -4
- package/dist/src/classes/features/other/PersistentEntities.d.ts.map +1 -1
- package/dist/src/classes/features/other/PickupIndexCreation.d.ts +5 -5
- package/dist/src/classes/features/other/PickupIndexCreation.d.ts.map +1 -1
- package/dist/src/classes/features/other/PlayerInventory.d.ts +3 -3
- package/dist/src/classes/features/other/PlayerInventory.d.ts.map +1 -1
- package/dist/src/classes/features/other/PonyDetection.d.ts +1 -1
- package/dist/src/classes/features/other/PonyDetection.d.ts.map +1 -1
- package/dist/src/classes/features/other/PressInput.d.ts +2 -2
- package/dist/src/classes/features/other/PressInput.d.ts.map +1 -1
- package/dist/src/classes/features/other/PreventChildEntities.d.ts +1 -1
- package/dist/src/classes/features/other/PreventChildEntities.d.ts.map +1 -1
- package/dist/src/classes/features/other/PreventCollectibleRotation.d.ts +6 -6
- package/dist/src/classes/features/other/PreventCollectibleRotation.d.ts.map +1 -1
- package/dist/src/classes/features/other/PreventGridEntityRespawn.d.ts +3 -3
- package/dist/src/classes/features/other/PreventGridEntityRespawn.d.ts.map +1 -1
- package/dist/src/classes/features/other/RoomClearFrame.d.ts +1 -1
- package/dist/src/classes/features/other/RoomClearFrame.d.ts.map +1 -1
- package/dist/src/classes/features/other/RoomHistory.d.ts +2 -2
- package/dist/src/classes/features/other/RoomHistory.d.ts.map +1 -1
- package/dist/src/classes/features/other/RunInNFrames.d.ts +4 -4
- package/dist/src/classes/features/other/RunInNFrames.d.ts.map +1 -1
- package/dist/src/classes/features/other/RunNextRoom.d.ts +1 -1
- package/dist/src/classes/features/other/RunNextRoom.d.ts.map +1 -1
- package/dist/src/classes/features/other/SaveDataManager.d.ts +13 -13
- package/dist/src/classes/features/other/SaveDataManager.d.ts.map +1 -1
- package/dist/src/classes/features/other/SpawnCollectible.d.ts +2 -2
- package/dist/src/classes/features/other/SpawnCollectible.d.ts.map +1 -1
- package/dist/src/classes/features/other/SpawnRockAltRewards.d.ts +1 -1
- package/dist/src/classes/features/other/SpawnRockAltRewards.d.ts.map +1 -1
- package/dist/src/classes/features/other/StageHistory.d.ts +2 -2
- package/dist/src/classes/features/other/StageHistory.d.ts.map +1 -1
- package/dist/src/classes/features/other/StartAmbush.d.ts +1 -1
- package/dist/src/classes/features/other/StartAmbush.d.ts.map +1 -1
- package/dist/src/classes/features/other/TaintedLazarusPlayers.d.ts +1 -1
- package/dist/src/classes/features/other/TaintedLazarusPlayers.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/backdrop.d.ts +1 -1
- package/dist/src/classes/features/other/customStages/backdrop.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/backdrop.lua +1 -1
- package/dist/src/classes/features/other/customStages/gridEntities.d.ts +2 -2
- package/dist/src/classes/features/other/customStages/gridEntities.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/gridEntities.lua +1 -1
- package/dist/src/classes/features/other/customStages/shadows.d.ts +1 -1
- package/dist/src/classes/features/other/customStages/shadows.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/streakText.d.ts +1 -1
- package/dist/src/classes/features/other/customStages/streakText.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/utils.d.ts +1 -1
- package/dist/src/classes/features/other/customStages/utils.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/v.d.ts +2 -2
- package/dist/src/classes/features/other/customStages/v.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/versusScreen.d.ts +4 -4
- package/dist/src/classes/features/other/customStages/versusScreen.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPit.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPit.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayRock.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayRock.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayTear.d.ts +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayTear.d.ts.map +1 -1
- package/dist/src/classes/features/other/extraConsoleCommands/commands.d.ts.map +1 -1
- package/dist/src/classes/features/other/extraConsoleCommands/commands.lua +1 -2
- package/dist/src/classes/features/other/extraConsoleCommands/subroutines.d.ts +2 -1
- package/dist/src/classes/features/other/extraConsoleCommands/subroutines.d.ts.map +1 -1
- package/dist/src/classes/features/other/saveDataManager/glowingHourGlass.d.ts +2 -2
- package/dist/src/classes/features/other/saveDataManager/glowingHourGlass.d.ts.map +1 -1
- package/dist/src/classes/features/other/saveDataManager/loadFromDisk.d.ts +2 -2
- package/dist/src/classes/features/other/saveDataManager/loadFromDisk.d.ts.map +1 -1
- package/dist/src/classes/features/other/saveDataManager/restoreDefaults.d.ts +1 -1
- package/dist/src/classes/features/other/saveDataManager/restoreDefaults.d.ts.map +1 -1
- package/dist/src/classes/features/other/saveDataManager/saveToDisk.d.ts +1 -1
- package/dist/src/classes/features/other/saveDataManager/saveToDisk.d.ts.map +1 -1
- package/dist/src/classes/private/CustomCallback.d.ts +4 -4
- package/dist/src/classes/private/CustomCallback.d.ts.map +1 -1
- package/dist/src/classes/private/CustomCallback.lua +7 -7
- package/dist/src/classes/private/Feature.d.ts +1 -1
- package/dist/src/classes/private/Feature.d.ts.map +1 -1
- package/dist/src/core/constants.d.ts.map +1 -1
- package/dist/src/core/upgradeMod.d.ts +2 -2
- package/dist/src/core/upgradeMod.d.ts.map +1 -1
- package/dist/src/decorators.d.ts +1 -1
- package/dist/src/decorators.d.ts.map +1 -1
- package/dist/src/enums/private/GridEntityTypeCustom.d.ts +1 -1
- package/dist/src/enums/private/GridEntityTypeCustom.d.ts.map +1 -1
- package/dist/src/features.d.ts +2 -2
- package/dist/src/features.d.ts.map +1 -1
- package/dist/src/functions/array.lua +18 -12
- package/dist/src/functions/arrayLua.d.ts.map +1 -1
- package/dist/src/functions/benchmark.lua +19 -19
- package/dist/src/functions/bitSet128.d.ts +1 -1
- package/dist/src/functions/bitSet128.d.ts.map +1 -1
- package/dist/src/functions/bosses.d.ts +2 -1
- package/dist/src/functions/bosses.d.ts.map +1 -1
- package/dist/src/functions/cards.d.ts +2 -1
- package/dist/src/functions/cards.d.ts.map +1 -1
- package/dist/src/functions/challenges.d.ts +1 -1
- package/dist/src/functions/challenges.d.ts.map +1 -1
- package/dist/src/functions/challenges.lua +1 -1
- package/dist/src/functions/characters.d.ts +2 -1
- package/dist/src/functions/characters.d.ts.map +1 -1
- package/dist/src/functions/chargeBar.d.ts +1 -1
- package/dist/src/functions/chargeBar.d.ts.map +1 -1
- package/dist/src/functions/collectibleTag.d.ts +2 -1
- package/dist/src/functions/collectibleTag.d.ts.map +1 -1
- package/dist/src/functions/collectibles.d.ts +2 -1
- package/dist/src/functions/collectibles.d.ts.map +1 -1
- package/dist/src/functions/color.d.ts +1 -1
- package/dist/src/functions/color.d.ts.map +1 -1
- package/dist/src/functions/curses.d.ts +1 -1
- package/dist/src/functions/curses.d.ts.map +1 -1
- package/dist/src/functions/debugFunctions.d.ts.map +1 -1
- package/dist/src/functions/decorators.d.ts +5 -5
- package/dist/src/functions/decorators.d.ts.map +1 -1
- package/dist/src/functions/deepCopy.d.ts +1 -1
- package/dist/src/functions/deepCopy.d.ts.map +1 -1
- package/dist/src/functions/direction.d.ts +2 -1
- package/dist/src/functions/direction.d.ts.map +1 -1
- package/dist/src/functions/doors.d.ts +2 -1
- package/dist/src/functions/doors.d.ts.map +1 -1
- package/dist/src/functions/doors.lua +1 -1
- package/dist/src/functions/entities.d.ts +3 -3
- package/dist/src/functions/entities.d.ts.map +1 -1
- package/dist/src/functions/entitiesSpecific.d.ts +2 -1
- package/dist/src/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/src/functions/familiars.d.ts +1 -1
- package/dist/src/functions/familiars.d.ts.map +1 -1
- package/dist/src/functions/globals.d.ts.map +1 -1
- package/dist/src/functions/globals.lua +8 -10
- package/dist/src/functions/gridEntities.d.ts +4 -3
- package/dist/src/functions/gridEntities.d.ts.map +1 -1
- package/dist/src/functions/gridEntities.lua +1 -1
- package/dist/src/functions/gridEntitiesSpecific.d.ts +2 -1
- package/dist/src/functions/gridEntitiesSpecific.d.ts.map +1 -1
- package/dist/src/functions/hex.d.ts.map +1 -1
- package/dist/src/functions/hex.lua +3 -4
- package/dist/src/functions/itemPool.d.ts +2 -1
- package/dist/src/functions/itemPool.d.ts.map +1 -1
- package/dist/src/functions/jsonRoom.d.ts +2 -2
- package/dist/src/functions/jsonRoom.d.ts.map +1 -1
- package/dist/src/functions/kColor.d.ts +1 -1
- package/dist/src/functions/kColor.d.ts.map +1 -1
- package/dist/src/functions/level.d.ts +1 -1
- package/dist/src/functions/level.d.ts.map +1 -1
- package/dist/src/functions/levelGrid.d.ts +3 -2
- package/dist/src/functions/levelGrid.d.ts.map +1 -1
- package/dist/src/functions/levelGrid.lua +4 -3
- package/dist/src/functions/logEntities.d.ts +2 -1
- package/dist/src/functions/logEntities.d.ts.map +1 -1
- package/dist/src/functions/logEntities.lua +17 -19
- package/dist/src/functions/logMisc.d.ts +2 -1
- package/dist/src/functions/logMisc.d.ts.map +1 -1
- package/dist/src/functions/logMisc.lua +26 -26
- package/dist/src/functions/map.d.ts +1 -1
- package/dist/src/functions/map.d.ts.map +1 -1
- package/dist/src/functions/math.lua +1 -1
- package/dist/src/functions/merge.d.ts +1 -1
- package/dist/src/functions/merge.d.ts.map +1 -1
- package/dist/src/functions/minimap.d.ts +1 -1
- package/dist/src/functions/minimap.d.ts.map +1 -1
- package/dist/src/functions/modFeatures.d.ts +2 -2
- package/dist/src/functions/modFeatures.d.ts.map +1 -1
- package/dist/src/functions/npcDataStructures.d.ts +1 -1
- package/dist/src/functions/npcDataStructures.d.ts.map +1 -1
- package/dist/src/functions/pickups.d.ts +1 -1
- package/dist/src/functions/pickups.d.ts.map +1 -1
- package/dist/src/functions/pickups.lua +1 -1
- package/dist/src/functions/pickupsSpecific.d.ts +1 -1
- package/dist/src/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/src/functions/pills.d.ts +2 -1
- package/dist/src/functions/pills.d.ts.map +1 -1
- package/dist/src/functions/pills.lua +4 -4
- package/dist/src/functions/playerCenter.d.ts.map +1 -1
- package/dist/src/functions/playerCenter.lua +9 -9
- package/dist/src/functions/playerDataStructures.d.ts +2 -2
- package/dist/src/functions/playerDataStructures.d.ts.map +1 -1
- package/dist/src/functions/playerHealth.d.ts +1 -1
- package/dist/src/functions/playerHealth.d.ts.map +1 -1
- package/dist/src/functions/playerHealth.lua +34 -34
- package/dist/src/functions/playerIndex.d.ts +1 -1
- package/dist/src/functions/playerIndex.d.ts.map +1 -1
- package/dist/src/functions/playerStats.d.ts +1 -1
- package/dist/src/functions/playerStats.d.ts.map +1 -1
- package/dist/src/functions/players.d.ts.map +1 -1
- package/dist/src/functions/players.lua +1 -1
- package/dist/src/functions/pocketItems.d.ts +2 -2
- package/dist/src/functions/pocketItems.d.ts.map +1 -1
- package/dist/src/functions/rng.d.ts +1 -1
- package/dist/src/functions/rng.d.ts.map +1 -1
- package/dist/src/functions/rockAlt.d.ts +1 -1
- package/dist/src/functions/rockAlt.d.ts.map +1 -1
- package/dist/src/functions/roomData.d.ts +1 -1
- package/dist/src/functions/roomData.d.ts.map +1 -1
- package/dist/src/functions/roomGrid.d.ts +1 -1
- package/dist/src/functions/roomGrid.d.ts.map +1 -1
- package/dist/src/functions/roomShape.d.ts +3 -2
- package/dist/src/functions/roomShape.d.ts.map +1 -1
- package/dist/src/functions/rooms.d.ts +2 -1
- package/dist/src/functions/rooms.d.ts.map +1 -1
- package/dist/src/functions/rooms.lua +4 -7
- package/dist/src/functions/serialization.d.ts +1 -1
- package/dist/src/functions/serialization.d.ts.map +1 -1
- package/dist/src/functions/sound.d.ts +1 -1
- package/dist/src/functions/sound.d.ts.map +1 -1
- package/dist/src/functions/stage.d.ts +2 -1
- package/dist/src/functions/stage.d.ts.map +1 -1
- package/dist/src/functions/stage.lua +4 -13
- package/dist/src/functions/tears.d.ts +1 -1
- package/dist/src/functions/tears.d.ts.map +1 -1
- package/dist/src/functions/transformations.d.ts +2 -1
- package/dist/src/functions/transformations.d.ts.map +1 -1
- package/dist/src/functions/trinketGive.d.ts +1 -1
- package/dist/src/functions/trinketGive.d.ts.map +1 -1
- package/dist/src/functions/trinkets.d.ts +2 -1
- package/dist/src/functions/trinkets.d.ts.map +1 -1
- package/dist/src/functions/tstlClass.d.ts +3 -3
- package/dist/src/functions/tstlClass.d.ts.map +1 -1
- package/dist/src/functions/types.d.ts +1 -1
- package/dist/src/functions/types.d.ts.map +1 -1
- package/dist/src/functions/vector.d.ts +1 -1
- package/dist/src/functions/vector.d.ts.map +1 -1
- package/dist/src/functions/weighted.d.ts +1 -1
- package/dist/src/functions/weighted.d.ts.map +1 -1
- package/dist/src/functions/weighted.lua +9 -10
- package/dist/src/interfaces/Corner.d.ts +1 -1
- package/dist/src/interfaces/Corner.d.ts.map +1 -1
- package/dist/src/interfaces/CustomStageTSConfig.d.ts +1 -1
- package/dist/src/interfaces/CustomStageTSConfig.d.ts.map +1 -1
- package/dist/src/interfaces/GridEntityCustomData.d.ts +1 -1
- package/dist/src/interfaces/GridEntityCustomData.d.ts.map +1 -1
- package/dist/src/interfaces/PlayerHealth.d.ts +1 -1
- package/dist/src/interfaces/PlayerHealth.d.ts.map +1 -1
- package/dist/src/interfaces/PlayerStats.d.ts +2 -2
- package/dist/src/interfaces/PlayerStats.d.ts.map +1 -1
- package/dist/src/interfaces/PlayerStats.lua +0 -2
- package/dist/src/interfaces/PocketItemDescription.d.ts +2 -2
- package/dist/src/interfaces/PocketItemDescription.d.ts.map +1 -1
- package/dist/src/interfaces/RoomDescription.d.ts +1 -1
- package/dist/src/interfaces/RoomDescription.d.ts.map +1 -1
- package/dist/src/interfaces/SaveData.d.ts +1 -1
- package/dist/src/interfaces/SaveData.d.ts.map +1 -1
- package/dist/src/interfaces/StageHistoryEntry.d.ts +1 -1
- package/dist/src/interfaces/StageHistoryEntry.d.ts.map +1 -1
- package/dist/src/interfaces/TrinketSituation.d.ts +1 -1
- package/dist/src/interfaces/TrinketSituation.d.ts.map +1 -1
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +8 -8
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
- package/dist/src/interfaces/private/AddCallbackParametersCustom.lua +0 -2
- package/dist/src/interfaces/private/CustomStage.d.ts +2 -2
- package/dist/src/interfaces/private/CustomStage.d.ts.map +1 -1
- package/dist/src/interfaces/private/CustomTrapdoorDescription.d.ts +1 -1
- package/dist/src/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
- package/dist/src/interfaces/private/ModUpgradedInterface.d.ts +3 -3
- package/dist/src/interfaces/private/ModUpgradedInterface.d.ts.map +1 -1
- package/dist/src/maps/collectibleDescriptionMap.d.ts +1 -1
- package/dist/src/maps/collectibleDescriptionMap.d.ts.map +1 -1
- package/dist/src/maps/collectibleNameToTypeMap.d.ts +1 -1
- package/dist/src/maps/collectibleNameToTypeMap.d.ts.map +1 -1
- package/dist/src/maps/collectibleTypeToNameMap.d.ts +1 -1
- package/dist/src/maps/collectibleTypeToNameMap.d.ts.map +1 -1
- package/dist/src/maps/trinketDescriptionMap.d.ts +1 -1
- package/dist/src/maps/trinketDescriptionMap.d.ts.map +1 -1
- package/dist/src/maps/trinketNameToTypeMap.d.ts +1 -1
- package/dist/src/maps/trinketNameToTypeMap.d.ts.map +1 -1
- package/dist/src/maps/trinketTypeToNameMap.d.ts +1 -1
- package/dist/src/maps/trinketTypeToNameMap.d.ts.map +1 -1
- package/dist/src/objects/isaacAPIClassTypeToFunctions.d.ts +10 -5
- package/dist/src/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
- package/dist/src/shouldFire.d.ts +7 -7
- package/dist/src/shouldFire.d.ts.map +1 -1
- package/dist/src/types/ConversionHeartSubType.d.ts +1 -1
- package/dist/src/types/ConversionHeartSubType.d.ts.map +1 -1
- package/dist/src/types/Decrement.d.ts +1 -1
- package/dist/src/types/Decrement.d.ts.map +1 -1
- package/dist/src/types/FunctionTuple.d.ts +1 -1
- package/dist/src/types/FunctionTuple.d.ts.map +1 -1
- package/dist/src/types/Increment.d.ts +1 -1
- package/dist/src/types/Increment.d.ts.map +1 -1
- package/dist/src/types/LowercaseKeys.d.ts +1 -1
- package/dist/src/types/LowercaseKeys.d.ts.map +1 -1
- package/dist/src/types/PickingUpItem.d.ts +2 -1
- package/dist/src/types/PickingUpItem.d.ts.map +1 -1
- package/dist/src/types/PossibleStatType.d.ts +1 -1
- package/dist/src/types/PossibleStatType.d.ts.map +1 -1
- package/dist/src/types/Range.d.ts +2 -2
- package/dist/src/types/Range.d.ts.map +1 -1
- package/dist/src/types/TupleWithMaxLength.d.ts +1 -1
- package/dist/src/types/TupleWithMaxLength.d.ts.map +1 -1
- package/dist/src/types/UppercaseKeys.d.ts +1 -1
- package/dist/src/types/UppercaseKeys.d.ts.map +1 -1
- package/dist/src/types/private/CallbackTuple.d.ts +4 -4
- package/dist/src/types/private/CallbackTuple.d.ts.map +1 -1
- package/dist/src/types/private/ModUpgradedWithFeatures.d.ts +7 -7
- package/dist/src/types/private/ModUpgradedWithFeatures.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/callbacks.ts +1 -1
- package/src/classes/DefaultMap.ts +4 -2
- package/src/classes/ModFeature.ts +7 -7
- package/src/classes/ModUpgraded.ts +11 -13
- package/src/classes/callbacks/EntityTakeDmgFilter.ts +4 -3
- package/src/classes/callbacks/EntityTakeDmgPlayer.ts +4 -7
- package/src/classes/callbacks/InputActionFilter.ts +6 -12
- package/src/classes/callbacks/InputActionPlayer.ts +6 -12
- package/src/classes/callbacks/PostAmbushFinished.ts +2 -2
- package/src/classes/callbacks/PostAmbushStarted.ts +2 -2
- package/src/classes/callbacks/PostBombExploded.ts +2 -2
- package/src/classes/callbacks/PostBombInitFilter.ts +2 -2
- package/src/classes/callbacks/PostBombInitLate.ts +2 -2
- package/src/classes/callbacks/PostBombRenderFilter.ts +5 -2
- package/src/classes/callbacks/PostBombUpdateFilter.ts +2 -2
- package/src/classes/callbacks/PostBoneSwing.ts +2 -2
- package/src/classes/callbacks/PostCollectibleEmpty.ts +6 -7
- package/src/classes/callbacks/PostCursedTeleport.ts +3 -3
- package/src/classes/callbacks/PostCustomRevive.ts +3 -6
- package/src/classes/callbacks/PostDiceRoomActivated.ts +6 -12
- package/src/classes/callbacks/PostDoorRender.ts +2 -2
- package/src/classes/callbacks/PostDoorUpdate.ts +2 -2
- package/src/classes/callbacks/PostEffectInitFilter.ts +2 -2
- package/src/classes/callbacks/PostEffectInitLate.ts +2 -2
- package/src/classes/callbacks/PostEffectRenderFilter.ts +5 -2
- package/src/classes/callbacks/PostEffectStateChanged.ts +2 -2
- package/src/classes/callbacks/PostEffectUpdateFilter.ts +2 -2
- package/src/classes/callbacks/PostEntityKillFilter.ts +2 -2
- package/src/classes/callbacks/PostEsauJr.ts +1 -1
- package/src/classes/callbacks/PostFamiliarInitFilter.ts +2 -2
- package/src/classes/callbacks/PostFamiliarInitLate.ts +2 -2
- package/src/classes/callbacks/PostFamiliarRenderFilter.ts +2 -2
- package/src/classes/callbacks/PostFamiliarStateChanged.ts +2 -2
- package/src/classes/callbacks/PostFamiliarUpdateFilter.ts +2 -2
- package/src/classes/callbacks/PostFirstEsauJr.ts +1 -1
- package/src/classes/callbacks/PostFirstFlip.ts +1 -1
- package/src/classes/callbacks/PostFlip.ts +1 -1
- package/src/classes/callbacks/PostGameEndFilter.ts +2 -2
- package/src/classes/callbacks/PostGameStartedReordered.ts +1 -1
- package/src/classes/callbacks/PostGameStartedReorderedLast.ts +1 -1
- package/src/classes/callbacks/PostGreedModeWave.ts +2 -2
- package/src/classes/callbacks/PostGridEntityBroken.ts +1 -1
- package/src/classes/callbacks/PostGridEntityCollision.ts +3 -6
- package/src/classes/callbacks/PostGridEntityCustomBroken.ts +1 -1
- package/src/classes/callbacks/PostGridEntityCustomCollision.ts +3 -6
- package/src/classes/callbacks/PostGridEntityCustomInit.ts +1 -1
- package/src/classes/callbacks/PostGridEntityCustomRemove.ts +3 -6
- package/src/classes/callbacks/PostGridEntityCustomRender.ts +1 -1
- package/src/classes/callbacks/PostGridEntityCustomStateChanged.ts +1 -1
- package/src/classes/callbacks/PostGridEntityCustomUpdate.ts +1 -1
- package/src/classes/callbacks/PostGridEntityInit.ts +1 -1
- package/src/classes/callbacks/PostGridEntityRemove.ts +3 -6
- package/src/classes/callbacks/PostGridEntityRender.ts +1 -1
- package/src/classes/callbacks/PostGridEntityStateChanged.ts +1 -1
- package/src/classes/callbacks/PostGridEntityUpdate.ts +1 -1
- package/src/classes/callbacks/PostHolyMantleRemoved.ts +4 -2
- package/src/classes/callbacks/PostItemDischarge.ts +6 -10
- package/src/classes/callbacks/PostItemPickup.ts +1 -1
- package/src/classes/callbacks/PostKeyboardChanged.ts +6 -8
- package/src/classes/callbacks/PostKnifeInitFilter.ts +2 -2
- package/src/classes/callbacks/PostKnifeInitLate.ts +2 -2
- package/src/classes/callbacks/PostKnifeRenderFilter.ts +5 -2
- package/src/classes/callbacks/PostKnifeUpdateFilter.ts +2 -2
- package/src/classes/callbacks/PostLaserInitFilter.ts +2 -2
- package/src/classes/callbacks/PostLaserInitLate.ts +2 -2
- package/src/classes/callbacks/PostLaserRenderFilter.ts +5 -2
- package/src/classes/callbacks/PostLaserUpdateFilter.ts +2 -2
- package/src/classes/callbacks/PostNPCDeathFilter.ts +2 -2
- package/src/classes/callbacks/PostNPCInitFilter.ts +2 -2
- package/src/classes/callbacks/PostNPCInitLate.ts +2 -2
- package/src/classes/callbacks/PostNPCRenderFilter.ts +2 -2
- package/src/classes/callbacks/PostNPCStateChanged.ts +4 -3
- package/src/classes/callbacks/PostNPCUpdateFilter.ts +2 -2
- package/src/classes/callbacks/PostNewLevelReordered.ts +1 -1
- package/src/classes/callbacks/PostNewRoomEarly.ts +7 -8
- package/src/classes/callbacks/PostNewRoomReordered.ts +1 -1
- package/src/classes/callbacks/PostPEffectUpdateReordered.ts +1 -1
- package/src/classes/callbacks/PostPickupChanged.ts +1 -1
- package/src/classes/callbacks/PostPickupCollect.ts +2 -2
- package/src/classes/callbacks/PostPickupInitFilter.ts +2 -2
- package/src/classes/callbacks/PostPickupInitFirst.ts +2 -2
- package/src/classes/callbacks/PostPickupInitLate.ts +2 -2
- package/src/classes/callbacks/PostPickupRenderFilter.ts +5 -2
- package/src/classes/callbacks/PostPickupSelectionFilter.ts +4 -3
- package/src/classes/callbacks/PostPickupStateChanged.ts +2 -2
- package/src/classes/callbacks/PostPickupUpdateFilter.ts +2 -2
- package/src/classes/callbacks/PostPitRender.ts +2 -2
- package/src/classes/callbacks/PostPitUpdate.ts +2 -2
- package/src/classes/callbacks/PostPlayerChangeHealth.ts +3 -3
- package/src/classes/callbacks/PostPlayerChangeStat.ts +4 -4
- package/src/classes/callbacks/PostPlayerChangeType.ts +3 -3
- package/src/classes/callbacks/PostPlayerCollectibleAdded.ts +1 -1
- package/src/classes/callbacks/PostPlayerCollectibleRemoved.ts +1 -1
- package/src/classes/callbacks/PostPlayerFatalDamage.ts +8 -6
- package/src/classes/callbacks/PostPlayerInitFirst.ts +2 -2
- package/src/classes/callbacks/PostPlayerInitLate.ts +2 -2
- package/src/classes/callbacks/PostPlayerRenderReordered.ts +1 -1
- package/src/classes/callbacks/PostPlayerUpdateReordered.ts +1 -1
- package/src/classes/callbacks/PostPoopRender.ts +2 -2
- package/src/classes/callbacks/PostPoopUpdate.ts +2 -2
- package/src/classes/callbacks/PostPressurePlateRender.ts +2 -2
- package/src/classes/callbacks/PostPressurePlateUpdate.ts +2 -2
- package/src/classes/callbacks/PostProjectileInitFilter.ts +2 -2
- package/src/classes/callbacks/PostProjectileInitLate.ts +4 -2
- package/src/classes/callbacks/PostProjectileKill.ts +4 -4
- package/src/classes/callbacks/PostProjectileRenderFilter.ts +2 -2
- package/src/classes/callbacks/PostProjectileUpdateFilter.ts +2 -2
- package/src/classes/callbacks/PostPurchase.ts +15 -12
- package/src/classes/callbacks/PostRockRender.ts +2 -2
- package/src/classes/callbacks/PostRockUpdate.ts +2 -2
- package/src/classes/callbacks/PostRoomClearChanged.ts +4 -7
- package/src/classes/callbacks/PostSacrifice.ts +1 -1
- package/src/classes/callbacks/PostSlotAnimationChanged.ts +1 -1
- package/src/classes/callbacks/PostSlotCollision.ts +2 -2
- package/src/classes/callbacks/PostSlotDestroyed.ts +1 -1
- package/src/classes/callbacks/PostSlotInit.ts +1 -1
- package/src/classes/callbacks/PostSlotRender.ts +1 -1
- package/src/classes/callbacks/PostSlotUpdate.ts +1 -1
- package/src/classes/callbacks/PostSpikesRender.ts +2 -2
- package/src/classes/callbacks/PostSpikesUpdate.ts +2 -2
- package/src/classes/callbacks/PostTNTRender.ts +2 -2
- package/src/classes/callbacks/PostTNTUpdate.ts +2 -2
- package/src/classes/callbacks/PostTearInitFilter.ts +2 -2
- package/src/classes/callbacks/PostTearInitLate.ts +2 -2
- package/src/classes/callbacks/PostTearInitVeryLate.ts +2 -2
- package/src/classes/callbacks/PostTearKill.ts +6 -4
- package/src/classes/callbacks/PostTearRenderFilter.ts +5 -2
- package/src/classes/callbacks/PostTearUpdateFilter.ts +2 -2
- package/src/classes/callbacks/PostTransformation.ts +5 -8
- package/src/classes/callbacks/PostTrinketBreak.ts +4 -4
- package/src/classes/callbacks/PostUsePillFilter.ts +6 -7
- package/src/classes/callbacks/PreBerserkDeath.ts +3 -1
- package/src/classes/callbacks/PreBombCollisionFilter.ts +2 -2
- package/src/classes/callbacks/PreCustomRevive.ts +1 -1
- package/src/classes/callbacks/PreEntitySpawnFilter.ts +6 -8
- package/src/classes/callbacks/PreFamiliarCollisionFilter.ts +2 -2
- package/src/classes/callbacks/PreGetPedestal.ts +2 -2
- package/src/classes/callbacks/PreItemPickup.ts +1 -1
- package/src/classes/callbacks/PreKnifeCollisionFilter.ts +2 -2
- package/src/classes/callbacks/PreNPCCollisionFilter.ts +6 -3
- package/src/classes/callbacks/PreNPCUpdateFilter.ts +2 -2
- package/src/classes/callbacks/PreNewLevel.ts +1 -1
- package/src/classes/callbacks/PreProjectileCollisionFilter.ts +2 -2
- package/src/classes/callbacks/PreRoomEntitySpawnFilter.ts +6 -9
- package/src/classes/callbacks/PreTearCollisionFilter.ts +2 -2
- package/src/classes/features/callbackLogic/CustomGridEntities.ts +8 -14
- package/src/classes/features/callbackLogic/CustomRevive.ts +15 -13
- package/src/classes/features/callbackLogic/EsauJrDetection.ts +8 -12
- package/src/classes/features/callbackLogic/FlipDetection.ts +6 -6
- package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +16 -20
- package/src/classes/features/callbackLogic/GridEntityCollisionDetection.ts +7 -7
- package/src/classes/features/callbackLogic/GridEntityRenderDetection.ts +7 -7
- package/src/classes/features/callbackLogic/GridEntityUpdateDetection.ts +26 -25
- package/src/classes/features/callbackLogic/ItemPickupDetection.ts +9 -9
- package/src/classes/features/callbackLogic/PickupChangeDetection.ts +8 -7
- package/src/classes/features/callbackLogic/PlayerCollectibleDetection.ts +15 -15
- package/src/classes/features/callbackLogic/PlayerReorderedCallbacks.ts +11 -11
- package/src/classes/features/callbackLogic/SlotDestroyedDetection.ts +6 -6
- package/src/classes/features/callbackLogic/SlotRenderDetection.ts +5 -5
- package/src/classes/features/callbackLogic/SlotUpdateDetection.ts +6 -6
- package/src/classes/features/other/CharacterHealthConversion.ts +5 -5
- package/src/classes/features/other/CharacterStats.ts +7 -7
- package/src/classes/features/other/CollectibleItemPoolType.ts +7 -10
- package/src/classes/features/other/CustomHotkeys.ts +4 -4
- package/src/classes/features/other/CustomItemPools.ts +4 -3
- package/src/classes/features/other/CustomPickups.ts +7 -4
- package/src/classes/features/other/CustomStages.ts +25 -26
- package/src/classes/features/other/CustomTrapdoors.ts +25 -25
- package/src/classes/features/other/DebugDisplay.ts +22 -22
- package/src/classes/features/other/DeployJSONRoom.ts +6 -6
- package/src/classes/features/other/DisableAllSound.ts +1 -1
- package/src/classes/features/other/DisableInputs.ts +5 -8
- package/src/classes/features/other/EdenStartingStats.ts +4 -4
- package/src/classes/features/other/ExtraConsoleCommands.ts +14 -11
- package/src/classes/features/other/FadeInRemover.ts +1 -1
- package/src/classes/features/other/FastReset.ts +1 -1
- package/src/classes/features/other/FlyingDetection.ts +2 -2
- package/src/classes/features/other/ForgottenSwitch.ts +2 -2
- package/src/classes/features/other/ItemPoolDetection.ts +4 -4
- package/src/classes/features/other/ModdedElementDetection.ts +3 -3
- package/src/classes/features/other/ModdedElementSets.ts +33 -29
- package/src/classes/features/other/NoSirenSteal.ts +3 -6
- package/src/classes/features/other/Pause.ts +4 -4
- package/src/classes/features/other/PersistentEntities.ts +6 -10
- package/src/classes/features/other/PickupIndexCreation.ts +7 -7
- package/src/classes/features/other/PlayerInventory.ts +4 -4
- package/src/classes/features/other/PonyDetection.ts +2 -2
- package/src/classes/features/other/PressInput.ts +4 -7
- package/src/classes/features/other/PreventChildEntities.ts +1 -1
- package/src/classes/features/other/PreventCollectibleRotation.ts +9 -9
- package/src/classes/features/other/PreventGridEntityRespawn.ts +5 -6
- package/src/classes/features/other/RoomClearFrame.ts +1 -1
- package/src/classes/features/other/RoomHistory.ts +2 -2
- package/src/classes/features/other/RunInNFrames.ts +6 -5
- package/src/classes/features/other/RunNextRoom.ts +1 -1
- package/src/classes/features/other/SaveDataManager.ts +18 -19
- package/src/classes/features/other/SpawnCollectible.ts +6 -3
- package/src/classes/features/other/SpawnRockAltRewards.ts +2 -2
- package/src/classes/features/other/StageHistory.ts +2 -2
- package/src/classes/features/other/StartAmbush.ts +2 -2
- package/src/classes/features/other/TaintedLazarusPlayers.ts +1 -1
- package/src/classes/features/other/customStages/backdrop.ts +2 -6
- package/src/classes/features/other/customStages/gridEntities.ts +3 -6
- package/src/classes/features/other/customStages/shadows.ts +1 -1
- package/src/classes/features/other/customStages/streakText.ts +1 -1
- package/src/classes/features/other/customStages/utils.ts +1 -1
- package/src/classes/features/other/customStages/v.ts +2 -2
- package/src/classes/features/other/customStages/versusScreen.ts +4 -4
- package/src/classes/features/other/debugDisplay/DebugDisplayBomb.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayDoor.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayEffect.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayKnife.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayLaser.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayNPC.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayPickup.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayPit.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayPlayer.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayPoop.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayProjectile.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayRock.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplaySlot.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplaySpikes.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayTNT.ts +1 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayTear.ts +1 -1
- package/src/classes/features/other/extraConsoleCommands/commands.ts +9 -7
- package/src/classes/features/other/extraConsoleCommands/subroutines.ts +1 -2
- package/src/classes/features/other/extraConsoleCommands/v.ts +1 -1
- package/src/classes/features/other/saveDataManager/glowingHourGlass.ts +2 -2
- package/src/classes/features/other/saveDataManager/loadFromDisk.ts +2 -2
- package/src/classes/features/other/saveDataManager/restoreDefaults.ts +1 -1
- package/src/classes/features/other/saveDataManager/saveToDisk.ts +1 -1
- package/src/classes/private/CustomCallback.ts +7 -7
- package/src/classes/private/Feature.ts +4 -4
- package/src/core/constants.ts +5 -3
- package/src/core/upgradeMod.ts +3 -3
- package/src/decorators.ts +1 -1
- package/src/enums/private/GridEntityTypeCustom.ts +1 -1
- package/src/features.ts +3 -3
- package/src/functions/array.ts +3 -3
- package/src/functions/arrayLua.ts +3 -1
- package/src/functions/benchmark.ts +2 -2
- package/src/functions/bitSet128.ts +1 -1
- package/src/functions/bosses.ts +2 -5
- package/src/functions/cards.ts +2 -1
- package/src/functions/challenges.ts +2 -2
- package/src/functions/characters.ts +3 -2
- package/src/functions/chargeBar.ts +1 -1
- package/src/functions/collectibleTag.ts +2 -1
- package/src/functions/collectibles.ts +5 -3
- package/src/functions/color.ts +1 -1
- package/src/functions/curses.ts +1 -1
- package/src/functions/debugFunctions.ts +1 -0
- package/src/functions/decorators.ts +5 -5
- package/src/functions/deepCopy.ts +2 -2
- package/src/functions/direction.ts +2 -1
- package/src/functions/doors.ts +6 -4
- package/src/functions/easing.ts +4 -4
- package/src/functions/entities.ts +6 -5
- package/src/functions/entitiesSpecific.ts +2 -2
- package/src/functions/enums.ts +1 -1
- package/src/functions/familiars.ts +2 -2
- package/src/functions/globals.ts +6 -4
- package/src/functions/gridEntities.ts +4 -6
- package/src/functions/gridEntitiesSpecific.ts +1 -1
- package/src/functions/hex.ts +5 -5
- package/src/functions/itemPool.ts +2 -2
- package/src/functions/jsonRoom.ts +3 -6
- package/src/functions/kColor.ts +1 -1
- package/src/functions/level.ts +1 -1
- package/src/functions/levelGrid.ts +4 -6
- package/src/functions/logEntities.ts +19 -19
- package/src/functions/logMisc.ts +14 -12
- package/src/functions/map.ts +1 -1
- package/src/functions/math.ts +1 -1
- package/src/functions/merge.ts +1 -1
- package/src/functions/minimap.ts +2 -1
- package/src/functions/modFeatures.ts +2 -2
- package/src/functions/npcDataStructures.ts +1 -1
- package/src/functions/pickups.ts +2 -2
- package/src/functions/pickupsSpecific.ts +2 -2
- package/src/functions/pills.ts +8 -10
- package/src/functions/playerCenter.ts +2 -4
- package/src/functions/playerDataStructures.ts +2 -2
- package/src/functions/playerHealth.ts +4 -4
- package/src/functions/playerIndex.ts +1 -1
- package/src/functions/playerStats.ts +1 -1
- package/src/functions/players.ts +12 -7
- package/src/functions/pocketItems.ts +3 -2
- package/src/functions/rng.ts +1 -1
- package/src/functions/rockAlt.ts +1 -1
- package/src/functions/roomData.ts +1 -1
- package/src/functions/roomGrid.ts +1 -1
- package/src/functions/roomShape.ts +3 -2
- package/src/functions/roomShapeWalls.ts +1 -1
- package/src/functions/rooms.ts +7 -5
- package/src/functions/serialization.ts +3 -3
- package/src/functions/sound.ts +1 -1
- package/src/functions/stage.ts +4 -6
- package/src/functions/tears.ts +1 -1
- package/src/functions/transformations.ts +2 -5
- package/src/functions/trinketGive.ts +1 -1
- package/src/functions/trinkets.ts +2 -2
- package/src/functions/tstlClass.ts +4 -4
- package/src/functions/types.ts +1 -1
- package/src/functions/utils.ts +1 -1
- package/src/functions/vector.ts +1 -1
- package/src/functions/weighted.ts +2 -4
- package/src/interfaces/Corner.ts +1 -1
- package/src/interfaces/CustomStageTSConfig.ts +1 -4
- package/src/interfaces/GridEntityCustomData.ts +1 -1
- package/src/interfaces/PlayerHealth.ts +1 -1
- package/src/interfaces/PlayerStats.ts +2 -2
- package/src/interfaces/PocketItemDescription.ts +2 -2
- package/src/interfaces/RoomDescription.ts +1 -1
- package/src/interfaces/SaveData.ts +2 -1
- package/src/interfaces/StageHistoryEntry.ts +1 -1
- package/src/interfaces/TrinketSituation.ts +1 -1
- package/src/interfaces/private/AddCallbackParametersCustom.ts +8 -8
- package/src/interfaces/private/CustomStage.ts +2 -2
- package/src/interfaces/private/CustomTrapdoorDescription.ts +1 -1
- package/src/interfaces/private/ModUpgradedInterface.ts +3 -3
- package/src/maps/collectibleDescriptionMap.ts +1 -1
- package/src/maps/collectibleNameToTypeMap.ts +1 -1
- package/src/maps/collectibleTypeToNameMap.ts +1 -1
- package/src/maps/defaultPlayerStatMap.ts +1 -1
- package/src/maps/trinketDescriptionMap.ts +1 -1
- package/src/maps/trinketNameToTypeMap.ts +1 -1
- package/src/maps/trinketTypeToNameMap.ts +1 -1
- package/src/objects/characterDamageMultipliers.ts +28 -28
- package/src/objects/isaacAPIClassTypeToFunctions.ts +5 -5
- package/src/objects/roomShapeCorners.ts +1 -1
- package/src/shouldFire.ts +9 -9
- package/src/types/ConversionHeartSubType.ts +1 -1
- package/src/types/Decrement.ts +1 -1
- package/src/types/FunctionTuple.ts +1 -1
- package/src/types/Increment.ts +1 -1
- package/src/types/LowercaseKeys.ts +1 -1
- package/src/types/PickingUpItem.ts +2 -5
- package/src/types/PossibleStatType.ts +1 -1
- package/src/types/Range.ts +2 -2
- package/src/types/TupleWithMaxLength.ts +1 -1
- package/src/types/UppercaseKeys.ts +1 -1
- package/src/types/private/CallbackTuple.ts +4 -4
- package/src/types/private/ModUpgradedWithFeatures.ts +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 30.12.
|
|
3
|
+
isaacscript-common 30.12.4
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -16645,12 +16645,15 @@ local __TS__ArrayEvery = ____lualib.__TS__ArrayEvery
|
|
|
16645
16645
|
local __TS__ArrayIndexOf = ____lualib.__TS__ArrayIndexOf
|
|
16646
16646
|
local __TS__ArraySplice = ____lualib.__TS__ArraySplice
|
|
16647
16647
|
local __TS__New = ____lualib.__TS__New
|
|
16648
|
-
local
|
|
16648
|
+
local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
|
|
16649
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
16649
16650
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
16650
16651
|
local __TS__ArraySort = ____lualib.__TS__ArraySort
|
|
16651
16652
|
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
|
|
16652
16653
|
local __TS__ArraySlice = ____lualib.__TS__ArraySlice
|
|
16653
|
-
local
|
|
16654
|
+
local __TS__SparseArrayNew = ____lualib.__TS__SparseArrayNew
|
|
16655
|
+
local __TS__SparseArrayPush = ____lualib.__TS__SparseArrayPush
|
|
16656
|
+
local __TS__SparseArraySpread = ____lualib.__TS__SparseArraySpread
|
|
16654
16657
|
local __TS__ArrayUnshift = ____lualib.__TS__ArrayUnshift
|
|
16655
16658
|
local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
|
|
16656
16659
|
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
@@ -16774,14 +16777,13 @@ function ____exports.arrayRemoveIndex(self, originalArray, ...)
|
|
|
16774
16777
|
local indexesToRemove = {...}
|
|
16775
16778
|
local indexesToRemoveSet = __TS__New(ReadonlySet, indexesToRemove)
|
|
16776
16779
|
local array = {}
|
|
16777
|
-
|
|
16778
|
-
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
end
|
|
16780
|
+
for ____, ____value in __TS__Iterator(__TS__ArrayEntries(originalArray)) do
|
|
16781
|
+
local i = ____value[1]
|
|
16782
|
+
local element = ____value[2]
|
|
16783
|
+
if not indexesToRemoveSet:has(i) then
|
|
16784
|
+
array[#array + 1] = element
|
|
16783
16785
|
end
|
|
16784
|
-
|
|
16786
|
+
end
|
|
16785
16787
|
return array
|
|
16786
16788
|
end
|
|
16787
16789
|
function ____exports.arrayRemoveIndexInPlace(self, array, ...)
|
|
@@ -16846,11 +16848,15 @@ function ____exports.getArrayCombinations(self, array, includeEmptyArray, min, m
|
|
|
16846
16848
|
local j = 0
|
|
16847
16849
|
while j < #src do
|
|
16848
16850
|
local value = src[j + 1]
|
|
16851
|
+
local ____temp_1 = n - 1
|
|
16852
|
+
local ____TS__ArraySlice_result_2 = __TS__ArraySlice(src, j + 1)
|
|
16853
|
+
local ____array_0 = __TS__SparseArrayNew(table.unpack(got))
|
|
16854
|
+
__TS__SparseArrayPush(____array_0, value)
|
|
16849
16855
|
addCombinations(
|
|
16850
16856
|
nil,
|
|
16851
|
-
|
|
16852
|
-
|
|
16853
|
-
|
|
16857
|
+
____temp_1,
|
|
16858
|
+
____TS__ArraySlice_result_2,
|
|
16859
|
+
{__TS__SparseArraySpread(____array_0)},
|
|
16854
16860
|
all
|
|
16855
16861
|
)
|
|
16856
16862
|
j = j + 1
|
|
@@ -17104,14 +17110,10 @@ return ____exports
|
|
|
17104
17110
|
end,
|
|
17105
17111
|
["src.interfaces.PlayerStats"] = function(...)
|
|
17106
17112
|
local ____exports = {}
|
|
17107
|
-
local ____PlayerStat = require("src.enums.PlayerStat")
|
|
17108
|
-
local PlayerStat = ____PlayerStat.PlayerStat
|
|
17109
17113
|
return ____exports
|
|
17110
17114
|
end,
|
|
17111
17115
|
["src.interfaces.private.AddCallbackParametersCustom"] = function(...)
|
|
17112
17116
|
local ____exports = {}
|
|
17113
|
-
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
17114
|
-
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
17115
17117
|
local ____enums = require("src.functions.enums")
|
|
17116
17118
|
local validateInterfaceMatchesEnum = ____enums.validateInterfaceMatchesEnum
|
|
17117
17119
|
validateInterfaceMatchesEnum(nil)
|
|
@@ -18114,7 +18116,8 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
18114
18116
|
local __TS__Spread = ____lualib.__TS__Spread
|
|
18115
18117
|
local __TS__ArrayFindIndex = ____lualib.__TS__ArrayFindIndex
|
|
18116
18118
|
local __TS__ArraySplice = ____lualib.__TS__ArraySplice
|
|
18117
|
-
local
|
|
18119
|
+
local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
|
|
18120
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
18118
18121
|
local ____exports = {}
|
|
18119
18122
|
local ____log = require("src.functions.log")
|
|
18120
18123
|
local log = ____log.log
|
|
@@ -18180,12 +18183,11 @@ function CustomCallback.prototype.logSubscriptions(self)
|
|
|
18180
18183
|
if #self.subscriptions == 0 then
|
|
18181
18184
|
log("- n/a (no subscriptions)")
|
|
18182
18185
|
else
|
|
18183
|
-
|
|
18184
|
-
|
|
18185
|
-
|
|
18186
|
-
|
|
18187
|
-
|
|
18188
|
-
)
|
|
18186
|
+
for ____, ____value in __TS__Iterator(__TS__ArrayEntries(self.subscriptions)) do
|
|
18187
|
+
local i = ____value[1]
|
|
18188
|
+
local subscription = ____value[2]
|
|
18189
|
+
log((("- " .. tostring(i + 1)) .. " - priority: ") .. tostring(subscription.priority))
|
|
18190
|
+
end
|
|
18189
18191
|
end
|
|
18190
18192
|
end
|
|
18191
18193
|
return ____exports
|
|
@@ -21791,7 +21793,7 @@ function ____exports.getFinalPlayer(self)
|
|
|
21791
21793
|
return lastPlayer
|
|
21792
21794
|
end
|
|
21793
21795
|
function ____exports.getNewestPlayer(self)
|
|
21794
|
-
local newestPlayer
|
|
21796
|
+
local newestPlayer
|
|
21795
21797
|
local lowestFrame = math.huge
|
|
21796
21798
|
for ____, player in ipairs(getPlayers(nil)) do
|
|
21797
21799
|
if player.FrameCount < lowestFrame then
|
|
@@ -22404,7 +22406,7 @@ function ____exports.round(self, num, numDecimalPlaces)
|
|
|
22404
22406
|
("%." .. tostring(numDecimalPlaces)) .. "f",
|
|
22405
22407
|
num
|
|
22406
22408
|
))
|
|
22407
|
-
return roundedNum
|
|
22409
|
+
return roundedNum or 0
|
|
22408
22410
|
end
|
|
22409
22411
|
function ____exports.sign(self, n)
|
|
22410
22412
|
if n > 0 then
|
|
@@ -22863,7 +22865,7 @@ function ____exports.closeDoorFast(self, door)
|
|
|
22863
22865
|
end
|
|
22864
22866
|
function ____exports.doorSlotFlagToDoorSlot(self, doorSlotFlag)
|
|
22865
22867
|
local doorSlot = DOOR_SLOT_FLAG_TO_DOOR_SLOT[doorSlotFlag]
|
|
22866
|
-
return doorSlot
|
|
22868
|
+
return doorSlot or DEFAULT_DOOR_SLOT
|
|
22867
22869
|
end
|
|
22868
22870
|
function ____exports.doorSlotFlagsToDoorSlots(self, doorSlotFlags)
|
|
22869
22871
|
local doorSlots = {}
|
|
@@ -27064,7 +27066,7 @@ return ____exports
|
|
|
27064
27066
|
end,
|
|
27065
27067
|
["src.functions.stage"] = function(...)
|
|
27066
27068
|
local ____lualib = require("lualib_bundle")
|
|
27067
|
-
local
|
|
27069
|
+
local __TS__ArrayIncludes = ____lualib.__TS__ArrayIncludes
|
|
27068
27070
|
local ____exports = {}
|
|
27069
27071
|
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
27070
27072
|
local GameStateFlag = ____isaac_2Dtypescript_2Ddefinitions.GameStateFlag
|
|
@@ -27202,10 +27204,7 @@ end
|
|
|
27202
27204
|
function ____exports.onEffectiveStage(self, ...)
|
|
27203
27205
|
local effectiveStages = {...}
|
|
27204
27206
|
local thisEffectiveStage = ____exports.getEffectiveStage(nil)
|
|
27205
|
-
return
|
|
27206
|
-
effectiveStages,
|
|
27207
|
-
function(____, effectiveStage) return effectiveStage == thisEffectiveStage end
|
|
27208
|
-
)
|
|
27207
|
+
return __TS__ArrayIncludes(effectiveStages, thisEffectiveStage)
|
|
27209
27208
|
end
|
|
27210
27209
|
function ____exports.onFinalFloor(self)
|
|
27211
27210
|
local level = game:GetLevel()
|
|
@@ -27227,10 +27226,7 @@ function ____exports.onStage(self, ...)
|
|
|
27227
27226
|
local stages = {...}
|
|
27228
27227
|
local level = game:GetLevel()
|
|
27229
27228
|
local thisStage = level:GetStage()
|
|
27230
|
-
return
|
|
27231
|
-
stages,
|
|
27232
|
-
function(____, stage) return stage == thisStage end
|
|
27233
|
-
)
|
|
27229
|
+
return __TS__ArrayIncludes(stages, thisStage)
|
|
27234
27230
|
end
|
|
27235
27231
|
function ____exports.onStageOrHigher(self, stage)
|
|
27236
27232
|
local level = game:GetLevel()
|
|
@@ -27246,10 +27242,7 @@ function ____exports.onStageType(self, ...)
|
|
|
27246
27242
|
local stageTypes = {...}
|
|
27247
27243
|
local level = game:GetLevel()
|
|
27248
27244
|
local thisStageType = level:GetStageType()
|
|
27249
|
-
return
|
|
27250
|
-
stageTypes,
|
|
27251
|
-
function(____, stageType) return stageType == thisStageType end
|
|
27252
|
-
)
|
|
27245
|
+
return __TS__ArrayIncludes(stageTypes, thisStageType)
|
|
27253
27246
|
end
|
|
27254
27247
|
function ____exports.onStageWithNaturalDevilRoom(self)
|
|
27255
27248
|
local effectiveStage = ____exports.getEffectiveStage(nil)
|
|
@@ -27306,7 +27299,7 @@ local __TS__Spread = ____lualib.__TS__Spread
|
|
|
27306
27299
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
27307
27300
|
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
|
|
27308
27301
|
local __TS__StringIncludes = ____lualib.__TS__StringIncludes
|
|
27309
|
-
local
|
|
27302
|
+
local __TS__ArrayIncludes = ____lualib.__TS__ArrayIncludes
|
|
27310
27303
|
local __TS__ArrayEvery = ____lualib.__TS__ArrayEvery
|
|
27311
27304
|
local ____exports = {}
|
|
27312
27305
|
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
@@ -27563,10 +27556,7 @@ function ____exports.inRoomType(self, ...)
|
|
|
27563
27556
|
local roomTypes = {...}
|
|
27564
27557
|
local room = game:GetRoom()
|
|
27565
27558
|
local thisRoomType = room:GetType()
|
|
27566
|
-
return
|
|
27567
|
-
roomTypes,
|
|
27568
|
-
function(____, roomType) return roomType == thisRoomType end
|
|
27569
|
-
)
|
|
27559
|
+
return __TS__ArrayIncludes(roomTypes, thisRoomType)
|
|
27570
27560
|
end
|
|
27571
27561
|
function ____exports.inSecretExit(self)
|
|
27572
27562
|
local roomGridIndex = getRoomGridIndex(nil)
|
|
@@ -27643,12 +27633,12 @@ function ____exports.setRoomCleared(self)
|
|
|
27643
27633
|
for ____, door in ipairs(getDoors(nil)) do
|
|
27644
27634
|
do
|
|
27645
27635
|
if isHiddenSecretRoomDoor(nil, door) then
|
|
27646
|
-
goto
|
|
27636
|
+
goto __continue59
|
|
27647
27637
|
end
|
|
27648
27638
|
openDoorFast(nil, door)
|
|
27649
27639
|
door.ExtraVisible = false
|
|
27650
27640
|
end
|
|
27651
|
-
::
|
|
27641
|
+
::__continue59::
|
|
27652
27642
|
end
|
|
27653
27643
|
sfxManager:Stop(SoundEffect.DOOR_HEAVY_OPEN)
|
|
27654
27644
|
game:ShakeScreen(0)
|
|
@@ -27733,7 +27723,7 @@ function ____exports.getTopLeftWallGridIndex(self)
|
|
|
27733
27723
|
local room = game:GetRoom()
|
|
27734
27724
|
local roomShape = room:GetRoomShape()
|
|
27735
27725
|
local topLeftWallGridIndex = ROOM_SHAPE_TO_TOP_LEFT_WALL_GRID_INDEX_MAP:get(roomShape)
|
|
27736
|
-
return topLeftWallGridIndex
|
|
27726
|
+
return topLeftWallGridIndex or DEFAULT_TOP_LEFT_WALL_GRID_INDEX
|
|
27737
27727
|
end
|
|
27738
27728
|
function ____exports.removeGridEntity(self, gridEntityOrGridIndex, updateRoom)
|
|
27739
27729
|
local room = game:GetRoom()
|
|
@@ -28092,7 +28082,8 @@ return ____exports
|
|
|
28092
28082
|
["src.functions.playerHealth"] = function(...)
|
|
28093
28083
|
local ____lualib = require("lualib_bundle")
|
|
28094
28084
|
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
|
|
28095
|
-
local
|
|
28085
|
+
local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
|
|
28086
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
28096
28087
|
local ____exports = {}
|
|
28097
28088
|
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
28098
28089
|
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
@@ -28186,42 +28177,41 @@ function ____exports.setPlayerHealth(self, player, playerHealth)
|
|
|
28186
28177
|
end
|
|
28187
28178
|
player:AddEternalHearts(playerHealth.eternalHearts)
|
|
28188
28179
|
local soulHeartsRemaining = playerHealth.soulHearts
|
|
28189
|
-
|
|
28190
|
-
|
|
28191
|
-
|
|
28192
|
-
|
|
28193
|
-
|
|
28194
|
-
|
|
28195
|
-
|
|
28196
|
-
|
|
28197
|
-
|
|
28198
|
-
|
|
28199
|
-
|
|
28200
|
-
|
|
28201
|
-
|
|
28202
|
-
|
|
28203
|
-
|
|
28204
|
-
|
|
28205
|
-
end
|
|
28180
|
+
for ____, ____value in __TS__Iterator(__TS__ArrayEntries(playerHealth.soulHeartTypes)) do
|
|
28181
|
+
local i = ____value[1]
|
|
28182
|
+
local soulHeartType = ____value[2]
|
|
28183
|
+
local isHalf = playerHealth.soulHearts + playerHealth.boneHearts * 2 < (i + 1) * 2
|
|
28184
|
+
local addAmount = 2
|
|
28185
|
+
if isHalf or soulHeartType == HeartSubType.BONE or soulHeartsRemaining < 2 then
|
|
28186
|
+
addAmount = 1
|
|
28187
|
+
end
|
|
28188
|
+
repeat
|
|
28189
|
+
local ____switch70 = soulHeartType
|
|
28190
|
+
local ____cond70 = ____switch70 == HeartSubType.SOUL
|
|
28191
|
+
if ____cond70 then
|
|
28192
|
+
do
|
|
28193
|
+
player:AddSoulHearts(addAmount)
|
|
28194
|
+
soulHeartsRemaining = soulHeartsRemaining - addAmount
|
|
28195
|
+
break
|
|
28206
28196
|
end
|
|
28207
|
-
|
|
28208
|
-
|
|
28209
|
-
|
|
28210
|
-
|
|
28211
|
-
|
|
28212
|
-
|
|
28213
|
-
|
|
28197
|
+
end
|
|
28198
|
+
____cond70 = ____cond70 or ____switch70 == HeartSubType.BLACK
|
|
28199
|
+
if ____cond70 then
|
|
28200
|
+
do
|
|
28201
|
+
player:AddBlackHearts(addAmount)
|
|
28202
|
+
soulHeartsRemaining = soulHeartsRemaining - addAmount
|
|
28203
|
+
break
|
|
28214
28204
|
end
|
|
28215
|
-
|
|
28216
|
-
|
|
28217
|
-
|
|
28218
|
-
|
|
28219
|
-
|
|
28220
|
-
|
|
28205
|
+
end
|
|
28206
|
+
____cond70 = ____cond70 or ____switch70 == HeartSubType.BONE
|
|
28207
|
+
if ____cond70 then
|
|
28208
|
+
do
|
|
28209
|
+
player:AddBoneHearts(addAmount)
|
|
28210
|
+
break
|
|
28221
28211
|
end
|
|
28222
|
-
|
|
28223
|
-
|
|
28224
|
-
|
|
28212
|
+
end
|
|
28213
|
+
until true
|
|
28214
|
+
end
|
|
28225
28215
|
player:AddRottenHearts(playerHealth.rottenHearts * 2)
|
|
28226
28216
|
if character == PlayerType.MAGDALENE_B then
|
|
28227
28217
|
____repeat(
|
|
@@ -29250,7 +29240,8 @@ local ____lualib = require("lualib_bundle")
|
|
|
29250
29240
|
local Map = ____lualib.Map
|
|
29251
29241
|
local __TS__Spread = ____lualib.__TS__Spread
|
|
29252
29242
|
local __TS__ArraySort = ____lualib.__TS__ArraySort
|
|
29253
|
-
local
|
|
29243
|
+
local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
|
|
29244
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
29254
29245
|
local Set = ____lualib.Set
|
|
29255
29246
|
local __TS__TypeOf = ____lualib.__TS__TypeOf
|
|
29256
29247
|
local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
|
|
@@ -29451,24 +29442,23 @@ function ____exports.logPlayerEffects(player)
|
|
|
29451
29442
|
log(" n/a (no effects)")
|
|
29452
29443
|
return
|
|
29453
29444
|
end
|
|
29454
|
-
|
|
29455
|
-
|
|
29456
|
-
|
|
29457
|
-
|
|
29458
|
-
|
|
29459
|
-
|
|
29460
|
-
|
|
29461
|
-
|
|
29462
|
-
|
|
29463
|
-
|
|
29464
|
-
|
|
29465
|
-
|
|
29466
|
-
|
|
29467
|
-
|
|
29468
|
-
end
|
|
29469
|
-
log((((((" " .. tostring(i + 1)) .. ") ") .. effectDescription) .. " (x") .. tostring(effect.Count)) .. ")")
|
|
29445
|
+
for ____, ____value in __TS__Iterator(__TS__ArrayEntries(effects)) do
|
|
29446
|
+
local i = ____value[1]
|
|
29447
|
+
local effect = ____value[2]
|
|
29448
|
+
local effectDescription
|
|
29449
|
+
if effect.Item:IsCollectible() then
|
|
29450
|
+
local collectibleName = getCollectibleName(nil, effect.Item.ID)
|
|
29451
|
+
effectDescription = "Collectible: " .. collectibleName
|
|
29452
|
+
elseif effect.Item:IsTrinket() then
|
|
29453
|
+
local trinketName = getTrinketName(nil, effect.Item.ID)
|
|
29454
|
+
effectDescription = "Trinket: " .. trinketName
|
|
29455
|
+
elseif effect.Item:IsNull() then
|
|
29456
|
+
effectDescription = "Null item: " .. tostring(effect.Item.ID)
|
|
29457
|
+
else
|
|
29458
|
+
effectDescription = "Unknown type of effect: " .. tostring(effect.Item.ID)
|
|
29470
29459
|
end
|
|
29471
|
-
|
|
29460
|
+
log((((((" " .. tostring(i + 1)) .. ") ") .. effectDescription) .. " (x") .. tostring(effect.Count)) .. ")")
|
|
29461
|
+
end
|
|
29472
29462
|
end
|
|
29473
29463
|
function ____exports.logPlayerHealth(player)
|
|
29474
29464
|
local playerName = getPlayerName(nil, player)
|
|
@@ -29611,16 +29601,16 @@ function ____exports.logTableDifferences(table1, table2)
|
|
|
29611
29601
|
local keys = {__TS__Spread(keysSet:values())}
|
|
29612
29602
|
__TS__ArraySort(keys)
|
|
29613
29603
|
for ____, key in ipairs(keys) do
|
|
29614
|
-
|
|
29604
|
+
local value1 = table1[key]
|
|
29605
|
+
local value2 = table2[key]
|
|
29606
|
+
if value1 == nil then
|
|
29615
29607
|
log(" Table 1 is missing key: " .. tostring(key))
|
|
29616
|
-
|
|
29608
|
+
end
|
|
29609
|
+
if value2 == nil then
|
|
29617
29610
|
log(" Table 2 is missing key: " .. tostring(key))
|
|
29618
|
-
|
|
29619
|
-
|
|
29620
|
-
|
|
29621
|
-
if value1 ~= value2 then
|
|
29622
|
-
log((((((" " .. tostring(key)) .. " --> \"") .. tostring(value1)) .. "\" versus \"") .. tostring(value2)) .. "\"")
|
|
29623
|
-
end
|
|
29611
|
+
end
|
|
29612
|
+
if value1 ~= value2 then
|
|
29613
|
+
log((((((" " .. tostring(key)) .. " --> \"") .. tostring(value1)) .. "\" versus \"") .. tostring(value2)) .. "\"")
|
|
29624
29614
|
end
|
|
29625
29615
|
end
|
|
29626
29616
|
end
|
|
@@ -32580,7 +32570,7 @@ function ____exports.getAllPillColors(self)
|
|
|
32580
32570
|
end
|
|
32581
32571
|
function ____exports.getFalsePHDPillEffect(self, pillEffect)
|
|
32582
32572
|
local convertedPillEffect = FALSE_PHD_PILL_CONVERSIONS:get(pillEffect)
|
|
32583
|
-
return convertedPillEffect
|
|
32573
|
+
return convertedPillEffect or pillEffect
|
|
32584
32574
|
end
|
|
32585
32575
|
function ____exports.getHorsePillColor(self, pillColor)
|
|
32586
32576
|
return asNumber(nil, pillColor) + HORSE_PILL_ADJUSTMENT
|
|
@@ -32600,7 +32590,7 @@ function ____exports.getNormalPillColors(self)
|
|
|
32600
32590
|
end
|
|
32601
32591
|
function ____exports.getPHDPillEffect(self, pillEffect)
|
|
32602
32592
|
local convertedPillEffect = PHD_PILL_CONVERSIONS:get(pillEffect)
|
|
32603
|
-
return convertedPillEffect
|
|
32593
|
+
return convertedPillEffect or pillEffect
|
|
32604
32594
|
end
|
|
32605
32595
|
function ____exports.getPillColorFromEffect(self, pillEffect)
|
|
32606
32596
|
local itemPool = game:GetItemPool()
|
|
@@ -32615,7 +32605,7 @@ function ____exports.getPillColorFromEffect(self, pillEffect)
|
|
|
32615
32605
|
end
|
|
32616
32606
|
function ____exports.getPillEffectClass(self, pillEffect)
|
|
32617
32607
|
local pillEffectClass = PILL_EFFECT_CLASSES[pillEffect]
|
|
32618
|
-
return pillEffectClass
|
|
32608
|
+
return pillEffectClass or DEFAULT_PILL_EFFECT_CLASS
|
|
32619
32609
|
end
|
|
32620
32610
|
function ____exports.getPillEffectName(self, pillEffect)
|
|
32621
32611
|
local pillEffectName = PILL_EFFECT_NAMES[pillEffect]
|
|
@@ -32630,7 +32620,7 @@ function ____exports.getPillEffectName(self, pillEffect)
|
|
|
32630
32620
|
end
|
|
32631
32621
|
function ____exports.getPillEffectType(self, pillEffect)
|
|
32632
32622
|
local pillEffectClass = PILL_EFFECT_TYPES[pillEffect]
|
|
32633
|
-
return pillEffectClass
|
|
32623
|
+
return pillEffectClass or DEFAULT_PILL_EFFECT_TYPE
|
|
32634
32624
|
end
|
|
32635
32625
|
function ____exports.getVanillaPillEffects(self)
|
|
32636
32626
|
return iRange(nil, FIRST_PILL_EFFECT, LAST_VANILLA_PILL_EFFECT)
|
|
@@ -34544,7 +34534,7 @@ function CustomGridEntities.prototype.____constructor(self, runInNFrames)
|
|
|
34544
34534
|
if data.anm2Path ~= nil then
|
|
34545
34535
|
local sprite = decoration:GetSprite()
|
|
34546
34536
|
sprite:Load(data.anm2Path, true)
|
|
34547
|
-
local animationToPlay = data.defaultAnimation
|
|
34537
|
+
local animationToPlay = data.defaultAnimation or sprite:GetDefaultAnimation()
|
|
34548
34538
|
sprite:Play(animationToPlay, true)
|
|
34549
34539
|
end
|
|
34550
34540
|
end
|
|
@@ -34576,7 +34566,7 @@ function CustomGridEntities.prototype.spawnCustomGridEntity(self, gridEntityType
|
|
|
34576
34566
|
if anm2Path ~= nil then
|
|
34577
34567
|
local sprite = customGridEntity:GetSprite()
|
|
34578
34568
|
sprite:Load(anm2Path, true)
|
|
34579
|
-
local animationToPlay = defaultAnimation
|
|
34569
|
+
local animationToPlay = defaultAnimation or sprite:GetDefaultAnimation()
|
|
34580
34570
|
sprite:Play(animationToPlay, true)
|
|
34581
34571
|
end
|
|
34582
34572
|
local customGridEntityData = {
|
|
@@ -39567,7 +39557,7 @@ local ____pickupsSpecific = require("src.functions.pickupsSpecific")
|
|
|
39567
39557
|
local getHearts = ____pickupsSpecific.getHearts
|
|
39568
39558
|
function ____exports.getCoinValue(self, coinSubType)
|
|
39569
39559
|
local value = COIN_SUB_TYPE_TO_VALUE[coinSubType]
|
|
39570
|
-
return value
|
|
39560
|
+
return value or DEFAULT_COIN_VALUE
|
|
39571
39561
|
end
|
|
39572
39562
|
function ____exports.getRedHearts(self)
|
|
39573
39563
|
local hearts = getHearts(nil)
|
|
@@ -39925,7 +39915,7 @@ function CollectibleItemPoolType.prototype.getCollectibleItemPoolType(self, coll
|
|
|
39925
39915
|
end
|
|
39926
39916
|
local pickupIndex = self.pickupIndexCreation:getPickupIndex(collectible)
|
|
39927
39917
|
local itemPoolType = v.run.collectibleItemPoolTypeMap:get(pickupIndex)
|
|
39928
|
-
return itemPoolType
|
|
39918
|
+
return itemPoolType or getRoomItemPoolType(nil)
|
|
39929
39919
|
end
|
|
39930
39920
|
__TS__DecorateLegacy({Exported}, CollectibleItemPoolType.prototype, "getCollectibleItemPoolType", true)
|
|
39931
39921
|
return ____exports
|
|
@@ -40079,6 +40069,8 @@ return ____exports
|
|
|
40079
40069
|
["src.functions.weighted"] = function(...)
|
|
40080
40070
|
local ____lualib = require("lualib_bundle")
|
|
40081
40071
|
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
|
|
40072
|
+
local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
|
|
40073
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
40082
40074
|
local ____exports = {}
|
|
40083
40075
|
local ____array = require("src.functions.array")
|
|
40084
40076
|
local sumArray = ____array.sumArray
|
|
@@ -40100,16 +40092,13 @@ function ____exports.getRandomIndexFromWeightedArray(self, weightedArray, seedOr
|
|
|
40100
40092
|
local totalWeight = sumArray(nil, weights)
|
|
40101
40093
|
local randomWeight = getRandomFloat(nil, 0, totalWeight, seedOrRNG)
|
|
40102
40094
|
local weightAccumulator = 0
|
|
40103
|
-
do
|
|
40104
|
-
local i =
|
|
40105
|
-
|
|
40106
|
-
|
|
40107
|
-
|
|
40108
|
-
|
|
40109
|
-
|
|
40110
|
-
return i
|
|
40111
|
-
end
|
|
40112
|
-
i = i + 1
|
|
40095
|
+
for ____, ____value in __TS__Iterator(__TS__ArrayEntries(weightedArray)) do
|
|
40096
|
+
local i = ____value[1]
|
|
40097
|
+
local tuple = ____value[2]
|
|
40098
|
+
local _element, weight = table.unpack(tuple)
|
|
40099
|
+
weightAccumulator = weightAccumulator + weight
|
|
40100
|
+
if weightAccumulator >= randomWeight then
|
|
40101
|
+
return i
|
|
40113
40102
|
end
|
|
40114
40103
|
end
|
|
40115
40104
|
error("Failed to get a random index from a weighted array.")
|
|
@@ -40802,6 +40791,9 @@ end
|
|
|
40802
40791
|
return ____exports
|
|
40803
40792
|
end,
|
|
40804
40793
|
["src.functions.playerCenter"] = function(...)
|
|
40794
|
+
local ____lualib = require("lualib_bundle")
|
|
40795
|
+
local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
|
|
40796
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
40805
40797
|
local ____exports = {}
|
|
40806
40798
|
local movePlayerAndTheirFamiliars
|
|
40807
40799
|
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
@@ -40848,15 +40840,12 @@ function ____exports.movePlayersToCenter(self, radius)
|
|
|
40848
40840
|
1,
|
|
40849
40841
|
Direction.LEFT
|
|
40850
40842
|
)
|
|
40851
|
-
do
|
|
40852
|
-
local i =
|
|
40853
|
-
|
|
40854
|
-
|
|
40855
|
-
|
|
40856
|
-
|
|
40857
|
-
player.Position = circlePosition
|
|
40858
|
-
end
|
|
40859
|
-
i = i + 1
|
|
40843
|
+
for ____, ____value in __TS__Iterator(__TS__ArrayEntries(players)) do
|
|
40844
|
+
local i = ____value[1]
|
|
40845
|
+
local player = ____value[2]
|
|
40846
|
+
local circlePosition = circlePoints[i + 1]
|
|
40847
|
+
if circlePosition ~= nil then
|
|
40848
|
+
player.Position = circlePosition
|
|
40860
40849
|
end
|
|
40861
40850
|
end
|
|
40862
40851
|
end
|
|
@@ -41465,7 +41454,8 @@ local __TS__New = ____lualib.__TS__New
|
|
|
41465
41454
|
local Map = ____lualib.Map
|
|
41466
41455
|
local __TS__Class = ____lualib.__TS__Class
|
|
41467
41456
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
41468
|
-
local
|
|
41457
|
+
local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
|
|
41458
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
41469
41459
|
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
41470
41460
|
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
41471
41461
|
local ____exports = {}
|
|
@@ -41812,19 +41802,18 @@ function CustomTrapdoors.prototype.playerTouchedCustomTrapdoor(self, gridEntity,
|
|
|
41812
41802
|
dropTaintedForgotten(nil, player)
|
|
41813
41803
|
player:PlayExtraAnimation("Trapdoor")
|
|
41814
41804
|
local otherPlayers = getOtherPlayers(nil, player)
|
|
41815
|
-
|
|
41816
|
-
|
|
41817
|
-
|
|
41818
|
-
|
|
41819
|
-
|
|
41820
|
-
|
|
41821
|
-
|
|
41822
|
-
|
|
41823
|
-
|
|
41824
|
-
|
|
41825
|
-
|
|
41826
|
-
|
|
41827
|
-
)
|
|
41805
|
+
for ____, ____value in __TS__Iterator(__TS__ArrayEntries(otherPlayers)) do
|
|
41806
|
+
local i = ____value[1]
|
|
41807
|
+
local otherPlayer = ____value[2]
|
|
41808
|
+
local gameFramesToWaitBeforeJumping = OTHER_PLAYER_TRAPDOOR_JUMP_DELAY_GAME_FRAMES * (i + 1)
|
|
41809
|
+
local otherPlayerPtr = EntityPtr(otherPlayer)
|
|
41810
|
+
self.runInNFrames:runInNGameFrames(
|
|
41811
|
+
function()
|
|
41812
|
+
self:startDelayedJump(otherPlayerPtr, gridEntity.Position)
|
|
41813
|
+
end,
|
|
41814
|
+
gameFramesToWaitBeforeJumping
|
|
41815
|
+
)
|
|
41816
|
+
end
|
|
41828
41817
|
end
|
|
41829
41818
|
function CustomTrapdoors.prototype.startDelayedJump(self, entityPtr, trapdoorPosition)
|
|
41830
41819
|
local entity = entityPtr.Ref
|
|
@@ -41931,13 +41920,11 @@ function CustomTrapdoors.prototype.spawnCustomTrapdoor(self, gridIndexOrPosition
|
|
|
41931
41920
|
TrapdoorAnimation.OPENED
|
|
41932
41921
|
)
|
|
41933
41922
|
local firstSpawn = roomFrameCount ~= 0
|
|
41934
|
-
local
|
|
41935
|
-
if
|
|
41936
|
-
|
|
41937
|
-
else
|
|
41938
|
-
____temp_0 = spawnOpen
|
|
41923
|
+
local ____spawnOpen_0 = spawnOpen
|
|
41924
|
+
if ____spawnOpen_0 == nil then
|
|
41925
|
+
____spawnOpen_0 = self:shouldTrapdoorSpawnOpen(gridEntity, firstSpawn)
|
|
41939
41926
|
end
|
|
41940
|
-
local open =
|
|
41927
|
+
local open = ____spawnOpen_0
|
|
41941
41928
|
local roomTrapdoorMap = v.level.trapdoors:getAndSetDefault(roomListIndex)
|
|
41942
41929
|
local customTrapdoorDescription = {
|
|
41943
41930
|
destinationName = destinationName,
|
|
@@ -42212,7 +42199,7 @@ local ReadonlySet = ____ReadonlySet.ReadonlySet
|
|
|
42212
42199
|
local ____constants = require("src.classes.features.other.customStages.constants")
|
|
42213
42200
|
local ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH = ____constants.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH
|
|
42214
42201
|
function getBackdropPNGPath(self, customStage, backdropKind, rng)
|
|
42215
|
-
local backdrop = customStage.backdropPNGPaths
|
|
42202
|
+
local backdrop = customStage.backdropPNGPaths or DEFAULT_BACKDROP
|
|
42216
42203
|
local pathArray = backdrop[backdropKind]
|
|
42217
42204
|
local randomPath = getRandomArrayElement(nil, pathArray, rng)
|
|
42218
42205
|
return removeCharactersBefore(nil, randomPath, "gfx/")
|
|
@@ -42579,7 +42566,7 @@ function ____exports.convertVanillaTrapdoors(self, customStage, gridEntity, isFi
|
|
|
42579
42566
|
if isFirstFloor then
|
|
42580
42567
|
customTrapdoors:spawnCustomTrapdoor(gridEntity.Position, customStage.name, LevelStage.BASEMENT_2)
|
|
42581
42568
|
else
|
|
42582
|
-
local baseStage = customStage.baseStage
|
|
42569
|
+
local baseStage = customStage.baseStage or DEFAULT_BASE_STAGE
|
|
42583
42570
|
local destinationStage = baseStage + 2
|
|
42584
42571
|
local destinationStageType = calculateStageType(nil, destinationStage)
|
|
42585
42572
|
customTrapdoors:spawnCustomTrapdoor(gridEntity.Position, nil, destinationStage, destinationStageType)
|
|
@@ -47673,7 +47660,7 @@ function ____exports.getAdjacentExistingRoomGridIndexes(self, roomGridIndex)
|
|
|
47673
47660
|
)
|
|
47674
47661
|
end
|
|
47675
47662
|
function ____exports.getAdjacentRoomGridIndexes(self, roomGridIndex)
|
|
47676
|
-
local roomGridIndexToUse = roomGridIndex
|
|
47663
|
+
local roomGridIndexToUse = roomGridIndex or getRoomGridIndex(nil)
|
|
47677
47664
|
if not ____exports.isRoomInsideGrid(nil, roomGridIndexToUse) then
|
|
47678
47665
|
return {}
|
|
47679
47666
|
end
|
|
@@ -47832,7 +47819,8 @@ function ____exports.getRoomAdjacentGridIndexes(self, roomGridIndex)
|
|
|
47832
47819
|
return ____exports.getRoomShapeAdjacentExistingGridIndexes(nil, roomDescriptor.SafeGridIndex, roomData.Shape)
|
|
47833
47820
|
end
|
|
47834
47821
|
function ____exports.getRoomDescriptorsForType(self, ...)
|
|
47835
|
-
local
|
|
47822
|
+
local roomTypes = {...}
|
|
47823
|
+
local roomTypesSet = __TS__New(Set, roomTypes)
|
|
47836
47824
|
local rooms = getRoomsInsideGrid(nil)
|
|
47837
47825
|
return __TS__ArrayFilter(
|
|
47838
47826
|
rooms,
|
|
@@ -48662,7 +48650,8 @@ return ____exports
|
|
|
48662
48650
|
["src.functions.logEntities"] = function(...)
|
|
48663
48651
|
local ____lualib = require("lualib_bundle")
|
|
48664
48652
|
local __TS__New = ____lualib.__TS__New
|
|
48665
|
-
local
|
|
48653
|
+
local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
|
|
48654
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
48666
48655
|
local __TS__StringTrim = ____lualib.__TS__StringTrim
|
|
48667
48656
|
local __TS__StringSplit = ____lualib.__TS__StringSplit
|
|
48668
48657
|
local ____exports = {}
|
|
@@ -48822,25 +48811,26 @@ function ____exports.logAllEntities(includeBackgroundEffects, entityTypeFilter)
|
|
|
48822
48811
|
msg = msg .. ":\n"
|
|
48823
48812
|
local entities = getEntities(nil)
|
|
48824
48813
|
local numMatchedEntities = 0
|
|
48825
|
-
|
|
48826
|
-
|
|
48827
|
-
|
|
48814
|
+
for ____, ____value in __TS__Iterator(__TS__ArrayEntries(entities)) do
|
|
48815
|
+
local i = ____value[1]
|
|
48816
|
+
local entity = ____value[2]
|
|
48817
|
+
do
|
|
48828
48818
|
if entityTypeFilter ~= nil and entity.Type ~= entityTypeFilter then
|
|
48829
|
-
|
|
48819
|
+
goto __continue5
|
|
48830
48820
|
end
|
|
48831
48821
|
local effect = entity:ToEffect()
|
|
48832
48822
|
if not includeBackgroundEffects and effect ~= nil and IGNORE_EFFECT_VARIANTS:has(effect.Variant) then
|
|
48833
|
-
|
|
48823
|
+
goto __continue5
|
|
48834
48824
|
end
|
|
48835
48825
|
msg = msg .. getEntityLogLine(entity, i + 1)
|
|
48836
48826
|
numMatchedEntities = numMatchedEntities + 1
|
|
48837
48827
|
end
|
|
48838
|
-
|
|
48839
|
-
if numMatchedEntities == 0 then
|
|
48840
|
-
msg = msg .. "(no entities matched)\n"
|
|
48841
|
-
else
|
|
48842
|
-
msg = msg .. ((("(" .. tostring(numMatchedEntities)) .. " total ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n"
|
|
48828
|
+
::__continue5::
|
|
48843
48829
|
end
|
|
48830
|
+
local zeroText = "(no entities matched)"
|
|
48831
|
+
local oneOrMoreText = ((("(" .. tostring(numMatchedEntities)) .. " total ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")"
|
|
48832
|
+
local text = numMatchedEntities == 0 and zeroText or oneOrMoreText
|
|
48833
|
+
msg = msg .. text .. "\n"
|
|
48844
48834
|
for ____, line in ipairs(__TS__StringSplit(
|
|
48845
48835
|
__TS__StringTrim(msg),
|
|
48846
48836
|
"\n"
|
|
@@ -48866,21 +48856,17 @@ function ____exports.logAllGridEntities(includeWalls, gridEntityTypeFilter)
|
|
|
48866
48856
|
local gridEntityIndex = gridEntity:GetGridIndex()
|
|
48867
48857
|
local gridEntityType = gridEntity:GetType()
|
|
48868
48858
|
if gridEntityTypeFilter ~= nil and gridEntityType ~= gridEntityTypeFilter then
|
|
48869
|
-
goto
|
|
48859
|
+
goto __continue14
|
|
48870
48860
|
end
|
|
48871
48861
|
if not includeWalls and gridEntityType == GridEntityType.WALL and gridEntityTypeFilter ~= GridEntityType.WALL then
|
|
48872
|
-
goto
|
|
48862
|
+
goto __continue14
|
|
48873
48863
|
end
|
|
48874
48864
|
msg = msg .. getGridEntityLogLine(gridEntity, gridEntityIndex)
|
|
48875
48865
|
numMatchedEntities = numMatchedEntities + 1
|
|
48876
48866
|
end
|
|
48877
|
-
::
|
|
48878
|
-
end
|
|
48879
|
-
if numMatchedEntities == 0 then
|
|
48880
|
-
msg = msg .. "(no grid entities matched)\n"
|
|
48881
|
-
else
|
|
48882
|
-
msg = msg .. ((("(" .. tostring(numMatchedEntities)) .. " total grid ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n"
|
|
48867
|
+
::__continue14::
|
|
48883
48868
|
end
|
|
48869
|
+
msg = msg .. (numMatchedEntities == 0 and "(no grid entities matched)\n" or ((("(" .. tostring(numMatchedEntities)) .. " total grid ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n")
|
|
48884
48870
|
for ____, line in ipairs(__TS__StringSplit(
|
|
48885
48871
|
__TS__StringTrim(msg),
|
|
48886
48872
|
"\n"
|
|
@@ -49084,7 +49070,6 @@ return ____exports
|
|
|
49084
49070
|
["src.classes.features.other.extraConsoleCommands.commands"] = function(...)
|
|
49085
49071
|
local ____lualib = require("lualib_bundle")
|
|
49086
49072
|
local __TS__StringSplit = ____lualib.__TS__StringSplit
|
|
49087
|
-
local __TS__StringSlice = ____lualib.__TS__StringSlice
|
|
49088
49073
|
local __TS__ArrayIncludes = ____lualib.__TS__ArrayIncludes
|
|
49089
49074
|
local ____exports = {}
|
|
49090
49075
|
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
@@ -49899,7 +49884,7 @@ function ____exports.s(self, params)
|
|
|
49899
49884
|
local stageString
|
|
49900
49885
|
local stageTypeLetter
|
|
49901
49886
|
if finalCharacter == "a" or finalCharacter == "b" or finalCharacter == "c" or finalCharacter == "d" then
|
|
49902
|
-
stageString =
|
|
49887
|
+
stageString = string.sub(params, 1, -2)
|
|
49903
49888
|
stageTypeLetter = finalCharacter
|
|
49904
49889
|
else
|
|
49905
49890
|
stageString = params
|
|
@@ -52629,7 +52614,8 @@ return ____exports
|
|
|
52629
52614
|
end,
|
|
52630
52615
|
["src.functions.benchmark"] = function(...)
|
|
52631
52616
|
local ____lualib = require("lualib_bundle")
|
|
52632
|
-
local
|
|
52617
|
+
local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
|
|
52618
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
52633
52619
|
local ____exports = {}
|
|
52634
52620
|
local ____log = require("src.functions.log")
|
|
52635
52621
|
local log = ____log.log
|
|
@@ -52637,26 +52623,25 @@ function ____exports.benchmark(self, numTrials, ...)
|
|
|
52637
52623
|
local functions = {...}
|
|
52638
52624
|
log(((("Benchmarking " .. tostring(#functions)) .. " function(s) with ") .. tostring(numTrials)) .. " trials.")
|
|
52639
52625
|
local averages = {}
|
|
52640
|
-
|
|
52641
|
-
|
|
52642
|
-
|
|
52643
|
-
|
|
52644
|
-
|
|
52645
|
-
|
|
52646
|
-
|
|
52647
|
-
|
|
52648
|
-
|
|
52649
|
-
|
|
52650
|
-
|
|
52651
|
-
|
|
52652
|
-
|
|
52653
|
-
end
|
|
52626
|
+
for ____, ____value in __TS__Iterator(__TS__ArrayEntries(functions)) do
|
|
52627
|
+
local i = ____value[1]
|
|
52628
|
+
local func = ____value[2]
|
|
52629
|
+
local totalTimeMilliseconds = 0
|
|
52630
|
+
do
|
|
52631
|
+
local j = 0
|
|
52632
|
+
while j < numTrials do
|
|
52633
|
+
local startTimeMilliseconds = Isaac.GetTime()
|
|
52634
|
+
func(nil)
|
|
52635
|
+
local endTimeMilliseconds = Isaac.GetTime()
|
|
52636
|
+
local elapsedTimeMilliseconds = endTimeMilliseconds - startTimeMilliseconds
|
|
52637
|
+
totalTimeMilliseconds = totalTimeMilliseconds + elapsedTimeMilliseconds
|
|
52638
|
+
j = j + 1
|
|
52654
52639
|
end
|
|
52655
|
-
local averageTimeMilliseconds = totalTimeMilliseconds / numTrials
|
|
52656
|
-
log(((("The average time of the function at index " .. tostring(i)) .. " is: ") .. tostring(averageTimeMilliseconds)) .. " milliseconds")
|
|
52657
|
-
averages[#averages + 1] = averageTimeMilliseconds
|
|
52658
52640
|
end
|
|
52659
|
-
|
|
52641
|
+
local averageTimeMilliseconds = totalTimeMilliseconds / numTrials
|
|
52642
|
+
log(((("The average time of the function at index " .. tostring(i)) .. " is: ") .. tostring(averageTimeMilliseconds)) .. " milliseconds")
|
|
52643
|
+
averages[#averages + 1] = averageTimeMilliseconds
|
|
52644
|
+
end
|
|
52660
52645
|
return averages
|
|
52661
52646
|
end
|
|
52662
52647
|
return ____exports
|
|
@@ -52736,7 +52721,7 @@ local CHALLENGE_NAMES = ____challengeNames.CHALLENGE_NAMES
|
|
|
52736
52721
|
local DEFAULT_CHALLENGE_NAME = ____challengeNames.DEFAULT_CHALLENGE_NAME
|
|
52737
52722
|
function ____exports.getChallengeName(self, challenge)
|
|
52738
52723
|
local challengeName = CHALLENGE_NAMES[challenge]
|
|
52739
|
-
return challengeName
|
|
52724
|
+
return challengeName or DEFAULT_CHALLENGE_NAME
|
|
52740
52725
|
end
|
|
52741
52726
|
return ____exports
|
|
52742
52727
|
end,
|
|
@@ -52865,7 +52850,8 @@ local ____lualib = require("lualib_bundle")
|
|
|
52865
52850
|
local __TS__New = ____lualib.__TS__New
|
|
52866
52851
|
local Set = ____lualib.Set
|
|
52867
52852
|
local __TS__ArraySort = ____lualib.__TS__ArraySort
|
|
52868
|
-
local
|
|
52853
|
+
local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
|
|
52854
|
+
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
52869
52855
|
local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
|
|
52870
52856
|
local ____exports = {}
|
|
52871
52857
|
local isRacingPlusSandboxEnabled
|
|
@@ -53088,17 +53074,14 @@ function ____exports.logNewGlobals(self)
|
|
|
53088
53074
|
log("List of added global variables in the Isaac environment:")
|
|
53089
53075
|
if #newGlobals == 0 then
|
|
53090
53076
|
log("- n/a (no extra global variables found)")
|
|
53091
|
-
|
|
53092
|
-
|
|
53093
|
-
|
|
53094
|
-
|
|
53095
|
-
local value
|
|
53096
|
-
local key
|
|
53097
|
-
key = ____bindingPattern0[1]
|
|
53098
|
-
value = ____bindingPattern0[2]
|
|
53077
|
+
else
|
|
53078
|
+
for ____, ____value in __TS__Iterator(__TS__ArrayEntries(newGlobals)) do
|
|
53079
|
+
local i = ____value[1]
|
|
53080
|
+
local tuple = ____value[2]
|
|
53081
|
+
local key, value = table.unpack(tuple)
|
|
53099
53082
|
log((((tostring(i + 1) .. ") ") .. tostring(key)) .. " - ") .. tostring(value))
|
|
53100
53083
|
end
|
|
53101
|
-
|
|
53084
|
+
end
|
|
53102
53085
|
end
|
|
53103
53086
|
function ____exports.setLogFunctionsGlobal(self)
|
|
53104
53087
|
local globals = _G
|
|
@@ -53120,7 +53103,6 @@ return ____exports
|
|
|
53120
53103
|
["src.functions.hex"] = function(...)
|
|
53121
53104
|
local ____lualib = require("lualib_bundle")
|
|
53122
53105
|
local __TS__StringReplace = ____lualib.__TS__StringReplace
|
|
53123
|
-
local __TS__StringSubstring = ____lualib.__TS__StringSubstring
|
|
53124
53106
|
local ____exports = {}
|
|
53125
53107
|
local hexToRGB, HEX_STRING_LENGTH
|
|
53126
53108
|
local ____logMisc = require("src.functions.logMisc")
|
|
@@ -53131,19 +53113,19 @@ function hexToRGB(self, hexString)
|
|
|
53131
53113
|
logError("Hex strings must be of length: " .. tostring(HEX_STRING_LENGTH))
|
|
53132
53114
|
return {0, 0, 0}
|
|
53133
53115
|
end
|
|
53134
|
-
local rString =
|
|
53116
|
+
local rString = string.sub(hexString, 1, 2)
|
|
53135
53117
|
local r = tonumber("0x" .. rString)
|
|
53136
53118
|
if r == nil then
|
|
53137
53119
|
logError(("Failed to convert `0x" .. rString) .. "` to a number.")
|
|
53138
53120
|
return {0, 0, 0}
|
|
53139
53121
|
end
|
|
53140
|
-
local gString =
|
|
53122
|
+
local gString = string.sub(hexString, 3, 4)
|
|
53141
53123
|
local g = tonumber("0x" .. gString)
|
|
53142
53124
|
if g == nil then
|
|
53143
53125
|
logError(("Failed to convert `0x" .. gString) .. "` to a number.")
|
|
53144
53126
|
return {0, 0, 0}
|
|
53145
53127
|
end
|
|
53146
|
-
local bString =
|
|
53128
|
+
local bString = string.sub(hexString, 5, 6)
|
|
53147
53129
|
local b = tonumber("0x" .. bString)
|
|
53148
53130
|
if b == nil then
|
|
53149
53131
|
logError(("Failed to convert `0x" .. bString) .. "` to a number.")
|