isaacscript-common 87.5.0 → 87.5.1
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/README.md +1 -1
- package/dist/callbackClasses.d.ts +6 -6
- package/dist/callbackClasses.d.ts.map +1 -1
- package/dist/callbackClasses.js +14 -14
- package/dist/callbackClasses.lua +159 -300
- package/dist/callbacks.js +18 -9
- package/dist/classes/DefaultMap.d.ts +5 -1
- package/dist/classes/DefaultMap.d.ts.map +1 -1
- package/dist/classes/ModFeature.js +3 -3
- package/dist/classes/ModUpgraded.d.ts.map +1 -1
- package/dist/classes/ModUpgraded.js +2 -4
- package/dist/classes/callbacks/InputActionFilter.d.ts +2 -2
- package/dist/classes/callbacks/InputActionFilter.d.ts.map +1 -1
- package/dist/classes/callbacks/InputActionPlayer.d.ts +2 -2
- package/dist/classes/callbacks/InputActionPlayer.d.ts.map +1 -1
- package/dist/classes/callbacks/PostCollectibleEmpty.d.ts +2 -2
- package/dist/classes/callbacks/PostCollectibleEmpty.d.ts.map +1 -1
- package/dist/classes/callbacks/PostCollectibleEmpty.js +1 -3
- package/dist/classes/callbacks/PostCustomRevive.d.ts +2 -4
- package/dist/classes/callbacks/PostCustomRevive.d.ts.map +1 -1
- package/dist/classes/callbacks/PostDiceRoomActivated.d.ts +2 -3
- package/dist/classes/callbacks/PostDiceRoomActivated.d.ts.map +1 -1
- package/dist/classes/callbacks/PostGridEntityCollision.d.ts +2 -4
- package/dist/classes/callbacks/PostGridEntityCollision.d.ts.map +1 -1
- package/dist/classes/callbacks/PostGridEntityCustomCollision.d.ts +2 -4
- package/dist/classes/callbacks/PostGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/classes/callbacks/PostGridEntityCustomRemove.d.ts +2 -3
- package/dist/classes/callbacks/PostGridEntityCustomRemove.d.ts.map +1 -1
- package/dist/classes/callbacks/PostGridEntityRemove.d.ts +2 -2
- package/dist/classes/callbacks/PostGridEntityRemove.d.ts.map +1 -1
- package/dist/classes/callbacks/PostItemDischarge.d.ts +2 -2
- package/dist/classes/callbacks/PostItemDischarge.d.ts.map +1 -1
- package/dist/classes/callbacks/PostItemDischarge.js +3 -6
- package/dist/classes/callbacks/PostKeyboardChanged.d.ts +2 -1
- package/dist/classes/callbacks/PostKeyboardChanged.d.ts.map +1 -1
- package/dist/classes/callbacks/PostNewRoomEarly.js +1 -1
- package/dist/classes/callbacks/PostPickupSelectionFilter.d.ts +2 -2
- package/dist/classes/callbacks/PostPickupSelectionFilter.d.ts.map +1 -1
- package/dist/classes/callbacks/PostPlayerChangeType.js +1 -1
- package/dist/classes/callbacks/PostPurchase.d.ts +2 -4
- package/dist/classes/callbacks/PostPurchase.d.ts.map +1 -1
- package/dist/classes/callbacks/PostRoomClearChanged.d.ts.map +1 -1
- package/dist/classes/callbacks/PostTransformation.d.ts +2 -2
- package/dist/classes/callbacks/PostTransformation.d.ts.map +1 -1
- package/dist/classes/callbacks/PostTransformation.js +1 -3
- package/dist/classes/callbacks/PostTrinketBreak.d.ts.map +1 -1
- package/dist/classes/callbacks/PostTrinketBreak.js +1 -3
- package/dist/classes/callbacks/PreEntitySpawnFilter.d.ts +2 -2
- package/dist/classes/callbacks/PreEntitySpawnFilter.d.ts.map +1 -1
- package/dist/classes/callbacks/PreNewLevel.d.ts.map +1 -1
- package/dist/classes/callbacks/PreRoomEntitySpawnFilter.d.ts +2 -2
- package/dist/classes/callbacks/PreRoomEntitySpawnFilter.d.ts.map +1 -1
- package/dist/classes/features/callbackLogic/CustomGridEntities.d.ts +1 -1
- package/dist/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
- package/dist/classes/features/callbackLogic/CustomRevive.d.ts.map +1 -1
- package/dist/classes/features/callbackLogic/EsauJrDetection.d.ts.map +1 -1
- package/dist/classes/features/callbackLogic/GameReorderedCallbacks.d.ts.map +1 -1
- package/dist/classes/features/callbackLogic/GameReorderedCallbacks.js +4 -6
- package/dist/classes/features/callbackLogic/PlayerReorderedCallbacks.d.ts +0 -1
- package/dist/classes/features/callbackLogic/PlayerReorderedCallbacks.d.ts.map +1 -1
- package/dist/classes/features/callbackLogic/PlayerReorderedCallbacks.js +4 -4
- package/dist/classes/features/other/CustomPickups.d.ts.map +1 -1
- package/dist/classes/features/other/CustomPickups.js +1 -0
- package/dist/classes/features/other/CustomStages.js +19 -9
- package/dist/classes/features/other/CustomTrapdoors.d.ts.map +1 -1
- package/dist/classes/features/other/CustomTrapdoors.js +23 -17
- package/dist/classes/features/other/CustomTrapdoors.lua +14 -7
- package/dist/classes/features/other/DebugDisplay.d.ts +0 -18
- package/dist/classes/features/other/DebugDisplay.d.ts.map +1 -1
- package/dist/classes/features/other/DeployJSONRoom.d.ts +0 -2
- package/dist/classes/features/other/DeployJSONRoom.d.ts.map +1 -1
- package/dist/classes/features/other/DeployJSONRoom.js +2 -0
- package/dist/classes/features/other/EdenStartingStatsHealth.d.ts +1 -1
- package/dist/classes/features/other/EdenStartingStatsHealth.d.ts.map +1 -1
- package/dist/classes/features/other/ExtraConsoleCommands.d.ts +14 -10
- package/dist/classes/features/other/ExtraConsoleCommands.d.ts.map +1 -1
- package/dist/classes/features/other/ExtraConsoleCommands.js +31 -17
- package/dist/classes/features/other/ExtraConsoleCommands.lua +2 -1
- package/dist/classes/features/other/FlyingDetection.d.ts +0 -1
- package/dist/classes/features/other/FlyingDetection.d.ts.map +1 -1
- package/dist/classes/features/other/ForgottenSwitch.d.ts +0 -1
- package/dist/classes/features/other/ForgottenSwitch.d.ts.map +1 -1
- package/dist/classes/features/other/ModdedElementDetection.js +4 -4
- package/dist/classes/features/other/ModdedElementSets.d.ts +2 -2
- package/dist/classes/features/other/ModdedElementSets.d.ts.map +1 -1
- package/dist/classes/features/other/ModdedElementSets.js +1 -1
- package/dist/classes/features/other/PickupIndexCreation.d.ts +0 -1
- package/dist/classes/features/other/PickupIndexCreation.d.ts.map +1 -1
- package/dist/classes/features/other/PickupIndexCreation.js +2 -3
- package/dist/classes/features/other/PickupIndexCreation.lua +10 -10
- package/dist/classes/features/other/PonyDetection.d.ts +0 -1
- package/dist/classes/features/other/PonyDetection.d.ts.map +1 -1
- package/dist/classes/features/other/PreventChildEntities.d.ts +0 -1
- package/dist/classes/features/other/PreventChildEntities.d.ts.map +1 -1
- package/dist/classes/features/other/RoomClearFrame.d.ts +0 -1
- package/dist/classes/features/other/RoomClearFrame.d.ts.map +1 -1
- package/dist/classes/features/other/RoomHistory.d.ts +0 -1
- package/dist/classes/features/other/RoomHistory.d.ts.map +1 -1
- package/dist/classes/features/other/RunInNFrames.js +2 -2
- package/dist/classes/features/other/SaveDataManager.js +1 -1
- package/dist/classes/features/other/SpawnRockAltRewards.d.ts +0 -4
- package/dist/classes/features/other/SpawnRockAltRewards.d.ts.map +1 -1
- package/dist/classes/features/other/TaintedLazarusPlayers.d.ts +0 -1
- package/dist/classes/features/other/TaintedLazarusPlayers.d.ts.map +1 -1
- package/dist/classes/features/other/customStages/backdrop.js +2 -3
- package/dist/classes/features/other/customStages/constants.d.ts.map +1 -1
- package/dist/classes/features/other/customStages/gridEntities.d.ts +0 -1
- package/dist/classes/features/other/customStages/gridEntities.d.ts.map +1 -1
- package/dist/classes/features/other/customStages/gridEntities.js +5 -6
- package/dist/classes/features/other/customStages/shadows.js +1 -2
- package/dist/classes/features/other/customStages/streakText.js +3 -4
- package/dist/classes/features/other/customStages/utils.d.ts +0 -2
- package/dist/classes/features/other/customStages/utils.d.ts.map +1 -1
- package/dist/classes/features/other/customStages/utils.js +2 -3
- package/dist/classes/features/other/customStages/v.d.ts.map +1 -1
- package/dist/classes/features/other/customStages/versusScreen.js +2 -3
- package/dist/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayPit.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayPit.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayRock.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayRock.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayTear.d.ts +0 -1
- package/dist/classes/features/other/debugDisplay/DebugDisplayTear.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/utils.d.ts +0 -2
- package/dist/classes/features/other/debugDisplay/utils.d.ts.map +1 -1
- package/dist/classes/features/other/debugDisplay/utils.js +2 -3
- package/dist/classes/features/other/extraConsoleCommands/commands.js +147 -150
- package/dist/classes/features/other/extraConsoleCommands/subroutines.js +8 -9
- package/dist/classes/features/other/saveDataManager/constants.d.ts.map +1 -1
- package/dist/classes/features/other/saveDataManager/glowingHourGlass.d.ts +0 -1
- package/dist/classes/features/other/saveDataManager/glowingHourGlass.d.ts.map +1 -1
- package/dist/classes/features/other/saveDataManager/glowingHourGlass.js +2 -3
- package/dist/classes/features/other/saveDataManager/loadFromDisk.d.ts +0 -2
- package/dist/classes/features/other/saveDataManager/loadFromDisk.d.ts.map +1 -1
- package/dist/classes/features/other/saveDataManager/loadFromDisk.js +5 -2
- package/dist/classes/features/other/saveDataManager/loadFromDisk.lua +3 -0
- package/dist/classes/features/other/saveDataManager/restoreDefaults.d.ts +0 -1
- package/dist/classes/features/other/saveDataManager/restoreDefaults.d.ts.map +1 -1
- package/dist/classes/features/other/saveDataManager/restoreDefaults.js +3 -4
- package/dist/classes/features/other/saveDataManager/saveToDisk.d.ts +0 -2
- package/dist/classes/features/other/saveDataManager/saveToDisk.d.ts.map +1 -1
- package/dist/classes/features/other/saveDataManager/saveToDisk.js +1 -2
- package/dist/classes/private/CustomCallback.d.ts.map +1 -1
- package/dist/core/cachedClasses.d.ts +0 -5
- package/dist/core/cachedClasses.d.ts.map +1 -1
- package/dist/core/constants.js +1 -1
- package/dist/core/constantsVanilla.js +4 -4
- package/dist/core/upgradeMod.d.ts +0 -2
- package/dist/core/upgradeMod.d.ts.map +1 -1
- package/dist/core/upgradeMod.js +1 -2
- package/dist/decorators.js +2 -2
- package/dist/enums/private/GridEntityTypeCustom.d.ts.map +1 -1
- package/dist/features.js +1 -2
- package/dist/functions/ambush.js +1 -2
- package/dist/functions/array.d.ts +5 -8
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.js +55 -55
- package/dist/functions/array.lua +2 -2
- package/dist/functions/arrayLua.d.ts +1 -1
- package/dist/functions/arrayLua.d.ts.map +1 -1
- package/dist/functions/arrayLua.js +7 -8
- package/dist/functions/benchmark.d.ts +0 -1
- package/dist/functions/benchmark.d.ts.map +1 -1
- package/dist/functions/benchmark.js +1 -2
- package/dist/functions/bitSet128.d.ts +0 -1
- package/dist/functions/bitSet128.d.ts.map +1 -1
- package/dist/functions/bitSet128.js +5 -6
- package/dist/functions/bitwise.d.ts +0 -4
- package/dist/functions/bitwise.d.ts.map +1 -1
- package/dist/functions/bitwise.js +7 -8
- package/dist/functions/bitwise.lua +3 -3
- package/dist/functions/bombs.d.ts +0 -1
- package/dist/functions/bombs.d.ts.map +1 -1
- package/dist/functions/bombs.js +1 -2
- package/dist/functions/bosses.d.ts.map +1 -1
- package/dist/functions/bosses.js +17 -17
- package/dist/functions/cards.js +16 -17
- package/dist/functions/challenges.js +9 -10
- package/dist/functions/characters.js +17 -18
- package/dist/functions/charge.d.ts.map +1 -1
- package/dist/functions/charge.js +10 -11
- package/dist/functions/charge.lua +1 -1
- package/dist/functions/chargeBar.d.ts +0 -2
- package/dist/functions/chargeBar.d.ts.map +1 -1
- package/dist/functions/chargeBar.js +2 -3
- package/dist/functions/collectibleTag.js +2 -3
- package/dist/functions/collectibles.js +37 -38
- package/dist/functions/color.d.ts +0 -1
- package/dist/functions/color.d.ts.map +1 -1
- package/dist/functions/color.js +7 -8
- package/dist/functions/console.js +2 -3
- package/dist/functions/curses.js +2 -3
- package/dist/functions/debugFunctions.d.ts +0 -1
- package/dist/functions/debugFunctions.d.ts.map +1 -1
- package/dist/functions/debugFunctions.js +5 -6
- package/dist/functions/decorators.d.ts +4 -4
- package/dist/functions/decorators.d.ts.map +1 -1
- package/dist/functions/decorators.js +4 -5
- package/dist/functions/deepCopy.d.ts +0 -1
- package/dist/functions/deepCopy.d.ts.map +1 -1
- package/dist/functions/deepCopy.js +1 -4
- package/dist/functions/deepCopy.lua +0 -2
- package/dist/functions/deepCopyTests.js +5 -6
- package/dist/functions/dimensions.js +2 -3
- package/dist/functions/direction.js +6 -7
- package/dist/functions/doors.d.ts.map +1 -1
- package/dist/functions/doors.js +53 -49
- package/dist/functions/easing.js +30 -31
- package/dist/functions/effects.d.ts +0 -2
- package/dist/functions/effects.d.ts.map +1 -1
- package/dist/functions/effects.js +2 -2
- package/dist/functions/emptyRoom.js +2 -3
- package/dist/functions/entities.d.ts +0 -1
- package/dist/functions/entities.d.ts.map +1 -1
- package/dist/functions/entities.js +28 -30
- package/dist/functions/entitiesSpecific.js +40 -41
- package/dist/functions/entityTypes.d.ts +0 -1
- package/dist/functions/entityTypes.d.ts.map +1 -1
- package/dist/functions/entityTypes.js +1 -2
- package/dist/functions/enums.d.ts +1 -6
- package/dist/functions/enums.d.ts.map +1 -1
- package/dist/functions/enums.js +12 -13
- package/dist/functions/external.js +2 -3
- package/dist/functions/familiars.js +6 -7
- package/dist/functions/flag.d.ts +1 -1
- package/dist/functions/flag.d.ts.map +1 -1
- package/dist/functions/flag.js +7 -8
- package/dist/functions/frames.d.ts +0 -1
- package/dist/functions/frames.d.ts.map +1 -1
- package/dist/functions/frames.js +18 -19
- package/dist/functions/globals.d.ts +0 -1
- package/dist/functions/globals.d.ts.map +1 -1
- package/dist/functions/globals.js +23 -15
- package/dist/functions/gridEntities.d.ts.map +1 -1
- package/dist/functions/gridEntities.js +45 -39
- package/dist/functions/gridEntitiesSpecific.js +38 -39
- package/dist/functions/gridIndex.js +1 -2
- package/dist/functions/hash.js +1 -2
- package/dist/functions/hex.d.ts +0 -2
- package/dist/functions/hex.d.ts.map +1 -1
- package/dist/functions/hex.js +2 -3
- package/dist/functions/input.js +21 -21
- package/dist/functions/isaacAPIClass.d.ts +0 -20
- package/dist/functions/isaacAPIClass.d.ts.map +1 -1
- package/dist/functions/isaacAPIClass.js +23 -24
- package/dist/functions/itemPool.js +7 -8
- package/dist/functions/jsonHelpers.d.ts +4 -5
- package/dist/functions/jsonHelpers.d.ts.map +1 -1
- package/dist/functions/jsonHelpers.js +23 -14
- package/dist/functions/jsonHelpers.lua +4 -4
- package/dist/functions/jsonRoom.js +5 -6
- package/dist/functions/kColor.d.ts +0 -1
- package/dist/functions/kColor.d.ts.map +1 -1
- package/dist/functions/kColor.js +7 -8
- package/dist/functions/language.js +1 -2
- package/dist/functions/level.js +4 -5
- package/dist/functions/levelGrid.d.ts.map +1 -1
- package/dist/functions/levelGrid.js +27 -32
- package/dist/functions/log.js +4 -5
- package/dist/functions/logEntities.d.ts.map +1 -1
- package/dist/functions/logEntities.js +11 -9
- package/dist/functions/logMisc.d.ts +1 -2
- package/dist/functions/logMisc.d.ts.map +1 -1
- package/dist/functions/logMisc.js +35 -48
- package/dist/functions/logMisc.lua +3 -3
- package/dist/functions/map.d.ts +0 -2
- package/dist/functions/map.d.ts.map +1 -1
- package/dist/functions/map.js +12 -13
- package/dist/functions/math.js +13 -14
- package/dist/functions/merge.d.ts +0 -1
- package/dist/functions/merge.d.ts.map +1 -1
- package/dist/functions/merge.js +2 -3
- package/dist/functions/mergeTests.js +1 -2
- package/dist/functions/minimap.d.ts.map +1 -1
- package/dist/functions/minimap.js +12 -17
- package/dist/functions/modFeatures.js +1 -2
- package/dist/functions/newArray.d.ts +0 -1
- package/dist/functions/newArray.d.ts.map +1 -1
- package/dist/functions/newArray.js +2 -3
- package/dist/functions/nextStage.d.ts.map +1 -1
- package/dist/functions/nextStage.js +6 -3
- package/dist/functions/npcDataStructures.d.ts +0 -2
- package/dist/functions/npcDataStructures.d.ts.map +1 -1
- package/dist/functions/npcDataStructures.js +14 -15
- package/dist/functions/npcs.d.ts.map +1 -1
- package/dist/functions/npcs.js +9 -7
- package/dist/functions/pickupVariants.d.ts +0 -1
- package/dist/functions/pickupVariants.d.ts.map +1 -1
- package/dist/functions/pickupVariants.js +11 -12
- package/dist/functions/pickups.js +14 -15
- package/dist/functions/pickupsSpecific.js +40 -41
- package/dist/functions/pills.js +18 -19
- package/dist/functions/playerCenter.d.ts +0 -1
- package/dist/functions/playerCenter.d.ts.map +1 -1
- package/dist/functions/playerCenter.js +1 -2
- package/dist/functions/playerCollectibles.d.ts.map +1 -1
- package/dist/functions/playerCollectibles.js +19 -22
- package/dist/functions/playerCollectibles.lua +9 -9
- package/dist/functions/playerDataStructures.d.ts +0 -1
- package/dist/functions/playerDataStructures.d.ts.map +1 -1
- package/dist/functions/playerDataStructures.js +14 -15
- package/dist/functions/playerEffects.js +5 -6
- package/dist/functions/playerHealth.d.ts +0 -2
- package/dist/functions/playerHealth.d.ts.map +1 -1
- package/dist/functions/playerHealth.js +20 -21
- package/dist/functions/playerHealth.lua +26 -26
- package/dist/functions/playerIndex.d.ts +0 -3
- package/dist/functions/playerIndex.d.ts.map +1 -1
- package/dist/functions/playerIndex.js +9 -10
- package/dist/functions/playerTrinkets.js +10 -11
- package/dist/functions/players.js +37 -38
- package/dist/functions/pocketItems.js +8 -9
- package/dist/functions/positionVelocity.d.ts +0 -4
- package/dist/functions/positionVelocity.d.ts.map +1 -1
- package/dist/functions/positionVelocity.js +11 -20
- package/dist/functions/positionVelocity.lua +4 -4
- package/dist/functions/pressurePlate.js +1 -2
- package/dist/functions/projectiles.js +2 -3
- package/dist/functions/random.d.ts +0 -3
- package/dist/functions/random.d.ts.map +1 -1
- package/dist/functions/random.js +3 -4
- package/dist/functions/readOnly.d.ts +0 -4
- package/dist/functions/readOnly.d.ts.map +1 -1
- package/dist/functions/readOnly.js +3 -4
- package/dist/functions/render.d.ts +0 -3
- package/dist/functions/render.d.ts.map +1 -1
- package/dist/functions/render.js +3 -4
- package/dist/functions/revive.d.ts +0 -3
- package/dist/functions/revive.d.ts.map +1 -1
- package/dist/functions/revive.js +5 -6
- package/dist/functions/rng.d.ts +0 -1
- package/dist/functions/rng.d.ts.map +1 -1
- package/dist/functions/rng.js +15 -15
- package/dist/functions/rockAlt.d.ts +0 -1
- package/dist/functions/rockAlt.d.ts.map +1 -1
- package/dist/functions/rockAlt.js +2 -3
- package/dist/functions/roomData.d.ts.map +1 -1
- package/dist/functions/roomData.js +15 -18
- package/dist/functions/roomGrid.js +6 -7
- package/dist/functions/roomShape.js +14 -15
- package/dist/functions/roomShapeWalls.js +2 -3
- package/dist/functions/roomTransition.js +2 -3
- package/dist/functions/rooms.d.ts.map +1 -1
- package/dist/functions/rooms.js +77 -64
- package/dist/functions/rooms.lua +2 -2
- package/dist/functions/run.js +8 -9
- package/dist/functions/seeds.d.ts +0 -1
- package/dist/functions/seeds.d.ts.map +1 -1
- package/dist/functions/seeds.js +2 -3
- package/dist/functions/serialization.js +5 -6
- package/dist/functions/set.d.ts +0 -2
- package/dist/functions/set.d.ts.map +1 -1
- package/dist/functions/set.js +22 -23
- package/dist/functions/slots.js +2 -3
- package/dist/functions/sort.d.ts.map +1 -1
- package/dist/functions/sort.js +6 -7
- package/dist/functions/sound.d.ts.map +1 -1
- package/dist/functions/sound.js +4 -9
- package/dist/functions/spawnCollectible.d.ts.map +1 -1
- package/dist/functions/spawnCollectible.js +4 -7
- package/dist/functions/sprites.d.ts +0 -3
- package/dist/functions/sprites.d.ts.map +1 -1
- package/dist/functions/sprites.js +6 -7
- package/dist/functions/stage.d.ts.map +1 -1
- package/dist/functions/stage.js +44 -53
- package/dist/functions/stage.lua +5 -5
- package/dist/functions/stats.js +4 -5
- package/dist/functions/storyBosses.js +2 -3
- package/dist/functions/string.d.ts +0 -1
- package/dist/functions/string.d.ts.map +1 -1
- package/dist/functions/string.js +12 -13
- package/dist/functions/table.d.ts +0 -1
- package/dist/functions/table.d.ts.map +1 -1
- package/dist/functions/table.js +8 -9
- package/dist/functions/tears.js +6 -7
- package/dist/functions/transformations.js +5 -6
- package/dist/functions/trinketGive.js +5 -6
- package/dist/functions/trinkets.d.ts.map +1 -1
- package/dist/functions/trinkets.js +14 -17
- package/dist/functions/tstlClass.d.ts +2 -3
- package/dist/functions/tstlClass.d.ts.map +1 -1
- package/dist/functions/tstlClass.js +9 -10
- package/dist/functions/tstlClass.lua +2 -2
- package/dist/functions/types.d.ts +15 -17
- package/dist/functions/types.d.ts.map +1 -1
- package/dist/functions/types.js +38 -39
- package/dist/functions/types.lua +14 -14
- package/dist/functions/ui.d.ts +0 -3
- package/dist/functions/ui.d.ts.map +1 -1
- package/dist/functions/ui.js +13 -14
- package/dist/functions/utils.d.ts +0 -1
- package/dist/functions/utils.d.ts.map +1 -1
- package/dist/functions/utils.js +11 -12
- package/dist/functions/vector.d.ts +0 -1
- package/dist/functions/vector.d.ts.map +1 -1
- package/dist/functions/vector.js +11 -12
- package/dist/functions/versusScreen.js +4 -5
- package/dist/functions/weighted.d.ts +0 -3
- package/dist/functions/weighted.d.ts.map +1 -1
- package/dist/functions/weighted.js +2 -3
- package/dist/index.d.ts +58 -58
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -58
- package/dist/index.lua +18 -18
- package/dist/index.rollup.d.ts +71 -59
- package/dist/indexLua.d.ts +58 -58
- package/dist/indexLua.d.ts.map +1 -1
- package/dist/indexLua.js +4 -58
- package/dist/indexLua.lua +18 -18
- package/dist/interfaces/ChargeBarSprites.d.ts +0 -2
- package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -1
- package/dist/interfaces/Corner.d.ts +0 -2
- package/dist/interfaces/Corner.d.ts.map +1 -1
- package/dist/interfaces/SaveData.d.ts +0 -1
- package/dist/interfaces/SaveData.d.ts.map +1 -1
- package/dist/interfaces/TSTLClassMetatable.d.ts +0 -4
- package/dist/interfaces/TSTLClassMetatable.d.ts.map +1 -1
- package/dist/interfaces/private/ModUpgradedInterface.d.ts +0 -1
- package/dist/interfaces/private/ModUpgradedInterface.d.ts.map +1 -1
- package/dist/isaacscript-common.lua +628 -749
- package/dist/lib/jsonLua.js +2 -2
- package/dist/lualib_bundle.lua +49 -38
- package/dist/objects/LRoomShapeToRectangles.js +1 -1
- package/dist/objects/colors.d.ts +0 -1
- package/dist/objects/colors.d.ts.map +1 -1
- package/dist/objects/directionToVector.d.ts +0 -1
- package/dist/objects/directionToVector.d.ts.map +1 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts +9 -2
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts +0 -1
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
- package/dist/objects/itemPoolTypeToCollectibleTypesSet.js +17 -7
- package/dist/objects/kColors.d.ts +0 -1
- package/dist/objects/kColors.d.ts.map +1 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +0 -1
- package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.js +1 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +0 -1
- package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts +0 -1
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts +0 -1
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/patchErrorFunctions.js +1 -2
- package/dist/serialization.js +1 -2
- package/dist/shaderCrashFix.d.ts +0 -1
- package/dist/shaderCrashFix.d.ts.map +1 -1
- package/dist/shaderCrashFix.js +1 -2
- package/dist/shouldFire.d.ts.map +1 -1
- package/dist/shouldFire.js +30 -30
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/types/AddSubtract.d.ts +10 -2
- package/dist/types/AddSubtract.d.ts.map +1 -1
- package/dist/types/AnyEntity.d.ts +0 -11
- package/dist/types/AnyEntity.d.ts.map +1 -1
- package/dist/types/AnyGridEntity.d.ts +0 -8
- package/dist/types/AnyGridEntity.d.ts.map +1 -1
- package/dist/types/PickingUpItem.js +5 -6
- package/dist/types/PickupIndex.d.ts +0 -1
- package/dist/types/PickupIndex.d.ts.map +1 -1
- package/dist/types/PlayerIndex.d.ts +0 -1
- package/dist/types/PlayerIndex.d.ts.map +1 -1
- package/dist/types/ReadonlyMap.d.ts.map +1 -1
- package/dist/types/ReadonlySet.d.ts.map +1 -1
- package/dist/types/TSTLClass.d.ts +0 -1
- package/dist/types/TSTLClass.d.ts.map +1 -1
- package/dist/types/TupleWithLengthBetween.js +2 -2
- package/dist/types/TupleWithMaxLength.js +2 -2
- package/dist/types/WeightedArray.d.ts +0 -1
- package/dist/types/WeightedArray.d.ts.map +1 -1
- package/package.json +9 -2
- package/src/callbackClasses.ts +6 -6
- package/src/classes/DefaultMap.ts +5 -2
- package/src/classes/ModFeature.ts +3 -3
- package/src/classes/ModUpgraded.ts +2 -4
- package/src/classes/callbacks/PostCollectibleEmpty.ts +1 -3
- package/src/classes/callbacks/PostItemDischarge.ts +3 -6
- package/src/classes/callbacks/PostNPCStateChanged.ts +1 -1
- package/src/classes/callbacks/PostNewRoomEarly.ts +1 -1
- package/src/classes/callbacks/PostPlayerChangeType.ts +1 -1
- package/src/classes/callbacks/PostTransformation.ts +1 -3
- package/src/classes/callbacks/PostTrinketBreak.ts +1 -3
- package/src/classes/features/callbackLogic/CustomGridEntities.ts +1 -1
- package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +4 -6
- package/src/classes/features/callbackLogic/PlayerReorderedCallbacks.ts +4 -4
- package/src/classes/features/other/CustomPickups.ts +1 -0
- package/src/classes/features/other/CustomStages.ts +2 -2
- package/src/classes/features/other/CustomTrapdoors.ts +23 -18
- package/src/classes/features/other/DeployJSONRoom.ts +2 -0
- package/src/classes/features/other/EdenStartingStatsHealth.ts +3 -1
- package/src/classes/features/other/ExtraConsoleCommands.ts +14 -10
- package/src/classes/features/other/ModdedElementDetection.ts +4 -4
- package/src/classes/features/other/ModdedElementSets.ts +3 -3
- package/src/classes/features/other/PickupIndexCreation.ts +2 -3
- package/src/classes/features/other/RunInNFrames.ts +2 -2
- package/src/classes/features/other/SaveDataManager.ts +1 -1
- package/src/classes/features/other/customStages/backdrop.ts +1 -1
- package/src/classes/features/other/extraConsoleCommands/commands.ts +7 -7
- package/src/classes/features/other/saveDataManager/loadFromDisk.ts +5 -0
- package/src/core/constants.ts +1 -1
- package/src/core/constantsVanilla.ts +4 -4
- package/src/functions/array.ts +33 -29
- package/src/functions/arrayLua.ts +1 -1
- package/src/functions/bosses.ts +2 -1
- package/src/functions/charge.ts +1 -2
- package/src/functions/decorators.ts +6 -9
- package/src/functions/deepCopy.ts +0 -4
- package/src/functions/deepCopyTests.ts +4 -4
- package/src/functions/doors.ts +5 -0
- package/src/functions/entities.ts +3 -4
- package/src/functions/enums.ts +4 -4
- package/src/functions/flag.ts +1 -1
- package/src/functions/globals.ts +2 -3
- package/src/functions/gridEntities.ts +7 -1
- package/src/functions/jsonHelpers.ts +7 -5
- package/src/functions/levelGrid.ts +3 -6
- package/src/functions/logEntities.ts +3 -0
- package/src/functions/logMisc.ts +9 -20
- package/src/functions/map.ts +4 -4
- package/src/functions/merge.ts +1 -1
- package/src/functions/minimap.ts +2 -6
- package/src/functions/newArray.ts +1 -1
- package/src/functions/nextStage.ts +4 -0
- package/src/functions/npcDataStructures.ts +5 -5
- package/src/functions/npcs.ts +3 -0
- package/src/functions/playerCollectibles.ts +1 -3
- package/src/functions/playerDataStructures.ts +5 -5
- package/src/functions/positionVelocity.ts +4 -12
- package/src/functions/rng.ts +4 -3
- package/src/functions/roomData.ts +1 -3
- package/src/functions/rooms.ts +16 -1
- package/src/functions/set.ts +8 -8
- package/src/functions/sort.ts +2 -2
- package/src/functions/sound.ts +2 -7
- package/src/functions/spawnCollectible.ts +1 -3
- package/src/functions/stage.ts +4 -14
- package/src/functions/trinkets.ts +1 -3
- package/src/functions/tstlClass.ts +2 -2
- package/src/functions/types.ts +16 -16
- package/src/index.ts +58 -58
- package/src/interfaces/SaveData.ts +2 -1
- package/src/lib/jsonLua.js +2 -2
- package/src/objects/LRoomShapeToRectangles.ts +1 -1
- package/src/objects/roomShapeToDoorSlotsToGridIndexDelta.ts +1 -1
- package/src/shouldFire.ts +2 -1
- package/src/types/AddSubtract.ts +10 -2
- package/src/types/HasFunction.ts +1 -1
- package/src/types/Immutable.ts +1 -1
- package/src/types/TupleWithLengthBetween.ts +2 -2
- package/src/types/TupleWithMaxLength.ts +2 -2
package/dist/index.rollup.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/// <reference types="@typescript-to-lua/language-extensions" />
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
3
|
-
/// <reference types="lua-types/5.3" />
|
|
4
|
-
|
|
5
1
|
import { ActiveSlot } from 'isaac-typescript-definitions';
|
|
6
2
|
import type { BackdropType } from 'isaac-typescript-definitions';
|
|
7
3
|
import type { BatterySubType } from 'isaac-typescript-definitions';
|
|
@@ -84,7 +80,11 @@ import type { TrapdoorVariant } from 'isaac-typescript-definitions';
|
|
|
84
80
|
import { TrinketType } from 'isaac-typescript-definitions';
|
|
85
81
|
import { UseFlag } from 'isaac-typescript-definitions';
|
|
86
82
|
|
|
87
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Helper type to add two other types.
|
|
85
|
+
*
|
|
86
|
+
* From: https://gist.github.com/ryandabler/8b4ff4f36aed47bc09acc03174638468
|
|
87
|
+
*/
|
|
88
88
|
export declare type Add<A extends number, B extends number> = Length<[
|
|
89
89
|
...BuildTuple<A>,
|
|
90
90
|
...BuildTuple<B>
|
|
@@ -1156,7 +1156,7 @@ export declare function arrayToString(array: readonly unknown[]): string;
|
|
|
1156
1156
|
* Helper function to safely cast an `int` to a `CardType`. (This is better than using the `as`
|
|
1157
1157
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1158
1158
|
*
|
|
1159
|
-
* This is useful to satisfy the "
|
|
1159
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1160
1160
|
*/
|
|
1161
1161
|
export declare function asCardType(num: int): CardType;
|
|
1162
1162
|
|
|
@@ -1164,7 +1164,7 @@ export declare function asCardType(num: int): CardType;
|
|
|
1164
1164
|
* Helper function to safely cast an `int` to a `CollectibleType`. (This is better than using the
|
|
1165
1165
|
* `as` TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1166
1166
|
*
|
|
1167
|
-
* This is useful to satisfy the "
|
|
1167
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1168
1168
|
*/
|
|
1169
1169
|
export declare function asCollectibleType(num: int): CollectibleType;
|
|
1170
1170
|
|
|
@@ -1172,7 +1172,7 @@ export declare function asCollectibleType(num: int): CollectibleType;
|
|
|
1172
1172
|
* Helper function to safely cast an enum to an `int`. (This is better than using the `as`
|
|
1173
1173
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1174
1174
|
*
|
|
1175
|
-
* This is useful to satisfy the "
|
|
1175
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1176
1176
|
*/
|
|
1177
1177
|
export declare function asFloat(num: number): float;
|
|
1178
1178
|
|
|
@@ -1180,7 +1180,7 @@ export declare function asFloat(num: number): float;
|
|
|
1180
1180
|
* Helper function to safely cast an enum to an `int`. (This is better than using the `as`
|
|
1181
1181
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1182
1182
|
*
|
|
1183
|
-
* This is useful to satisfy the "
|
|
1183
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1184
1184
|
*/
|
|
1185
1185
|
export declare function asInt(num: number): int;
|
|
1186
1186
|
|
|
@@ -1188,7 +1188,7 @@ export declare function asInt(num: number): int;
|
|
|
1188
1188
|
* Helper function to safely cast an `int` to a `LevelStage`. (This is better than using the `as`
|
|
1189
1189
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1190
1190
|
*
|
|
1191
|
-
* This is useful to satisfy the "
|
|
1191
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1192
1192
|
*/
|
|
1193
1193
|
export declare function asLevelStage(num: int): LevelStage;
|
|
1194
1194
|
|
|
@@ -1196,7 +1196,7 @@ export declare function asLevelStage(num: int): LevelStage;
|
|
|
1196
1196
|
* Helper function to safely cast an `int` to a `NPCState`. (This is better than using the `as`
|
|
1197
1197
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1198
1198
|
*
|
|
1199
|
-
* This is useful to satisfy the "
|
|
1199
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1200
1200
|
*/
|
|
1201
1201
|
export declare function asNPCState(num: int): NPCState;
|
|
1202
1202
|
|
|
@@ -1204,7 +1204,7 @@ export declare function asNPCState(num: int): NPCState;
|
|
|
1204
1204
|
* Helper function to safely cast an enum to a `number`. (This is better than using the `as`
|
|
1205
1205
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1206
1206
|
*
|
|
1207
|
-
* This is useful to satisfy the "
|
|
1207
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1208
1208
|
*/
|
|
1209
1209
|
export declare function asNumber(num: number): number;
|
|
1210
1210
|
|
|
@@ -1212,7 +1212,7 @@ export declare function asNumber(num: number): number;
|
|
|
1212
1212
|
* Helper function to safely cast an `int` to a `PillColor`. (This is better than using the `as`
|
|
1213
1213
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1214
1214
|
*
|
|
1215
|
-
* This is useful to satisfy the "
|
|
1215
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1216
1216
|
*/
|
|
1217
1217
|
export declare function asPillColor(num: int): PillColor;
|
|
1218
1218
|
|
|
@@ -1220,7 +1220,7 @@ export declare function asPillColor(num: int): PillColor;
|
|
|
1220
1220
|
* Helper function to safely cast an `int` to a `PillEffect`. (This is better than using the `as`
|
|
1221
1221
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1222
1222
|
*
|
|
1223
|
-
* This is useful to satisfy the "
|
|
1223
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1224
1224
|
*/
|
|
1225
1225
|
export declare function asPillEffect(num: int): PillEffect;
|
|
1226
1226
|
|
|
@@ -1228,7 +1228,7 @@ export declare function asPillEffect(num: int): PillEffect;
|
|
|
1228
1228
|
* Helper function to safely cast an `int` to a `PlayerType`. (This is better than using the `as`
|
|
1229
1229
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1230
1230
|
*
|
|
1231
|
-
* This is useful to satisfy the "
|
|
1231
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1232
1232
|
*/
|
|
1233
1233
|
export declare function asPlayerType(num: int): PlayerType;
|
|
1234
1234
|
|
|
@@ -1236,7 +1236,7 @@ export declare function asPlayerType(num: int): PlayerType;
|
|
|
1236
1236
|
* Helper function to safely cast an `int` to a `RoomType`. (This is better than using the `as`
|
|
1237
1237
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1238
1238
|
*
|
|
1239
|
-
* This is useful to satisfy the "
|
|
1239
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1240
1240
|
*/
|
|
1241
1241
|
export declare function asRoomType(num: int): RoomType;
|
|
1242
1242
|
|
|
@@ -1264,7 +1264,7 @@ export declare function assertNotNull<T>(value: T, ...[msg]: [null] extends [T]
|
|
|
1264
1264
|
* Helper function to safely cast an enum to a `string`. (This is better than using the `as`
|
|
1265
1265
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1266
1266
|
*
|
|
1267
|
-
* This is useful to satisfy the "
|
|
1267
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1268
1268
|
*/
|
|
1269
1269
|
export declare function asString(str: string): string;
|
|
1270
1270
|
|
|
@@ -1272,7 +1272,7 @@ export declare function asString(str: string): string;
|
|
|
1272
1272
|
* Helper function to safely cast an `int` to a `TrinketType`. (This is better than using the `as`
|
|
1273
1273
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
1274
1274
|
*
|
|
1275
|
-
* This is useful to satisfy the "
|
|
1275
|
+
* This is useful to satisfy the "complete/strict-enums" ESLint rule.
|
|
1276
1276
|
*/
|
|
1277
1277
|
export declare function asTrinketType(num: int): TrinketType;
|
|
1278
1278
|
|
|
@@ -1344,7 +1344,7 @@ export declare function calculateStageTypeRepentance(stage: LevelStage): StageTy
|
|
|
1344
1344
|
* @allowEmptyVariadic
|
|
1345
1345
|
* @ignore
|
|
1346
1346
|
*/
|
|
1347
|
-
export declare function Callback<T extends ModCallback>(modCallback: T, ...optionalArgs: AllButFirst<AddCallbackParameters[T]>): <
|
|
1347
|
+
export declare function Callback<T extends ModCallback>(modCallback: T, ...optionalArgs: AllButFirst<AddCallbackParameters[T]>): <Fn extends AddCallbackParameters[T][0]>(target: ModFeature, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
1348
1348
|
|
|
1349
1349
|
/**
|
|
1350
1350
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
@@ -1353,7 +1353,7 @@ export declare function Callback<T extends ModCallback>(modCallback: T, ...optio
|
|
|
1353
1353
|
* @allowEmptyVariadic
|
|
1354
1354
|
* @ignore
|
|
1355
1355
|
*/
|
|
1356
|
-
export declare function CallbackCustom<T extends ModCallbackCustom>(modCallbackCustom: T, ...optionalArgs: AllButFirst<AddCallbackParametersCustom[T]>): <
|
|
1356
|
+
export declare function CallbackCustom<T extends ModCallbackCustom>(modCallbackCustom: T, ...optionalArgs: AllButFirst<AddCallbackParametersCustom[T]>): <Fn extends AddCallbackParametersCustom[T][0]>(target: ModFeature, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
1357
1357
|
|
|
1358
1358
|
/**
|
|
1359
1359
|
* Helper function to determine if the given character can have red heart containers. Returns true
|
|
@@ -1996,7 +1996,7 @@ declare class CustomGridEntities extends Feature {
|
|
|
1996
1996
|
*
|
|
1997
1997
|
* @public
|
|
1998
1998
|
*/
|
|
1999
|
-
getCustomGridEntities():
|
|
1999
|
+
getCustomGridEntities(): ReadonlyArray<{
|
|
2000
2000
|
gridEntity: GridEntity;
|
|
2001
2001
|
data: GridEntityCustomData;
|
|
2002
2002
|
}>;
|
|
@@ -4291,7 +4291,7 @@ declare class EdenStartingStatsHealth extends Feature {
|
|
|
4291
4291
|
*
|
|
4292
4292
|
* @public
|
|
4293
4293
|
*/
|
|
4294
|
-
getEdenStartingCollectibles(player: EntityPlayer): CollectibleType[];
|
|
4294
|
+
getEdenStartingCollectibles(player: EntityPlayer): readonly CollectibleType[];
|
|
4295
4295
|
/**
|
|
4296
4296
|
* Helper function to get the health that Eden started with at the beginning of the run before any
|
|
4297
4297
|
* of the random collectibles were added.
|
|
@@ -4352,7 +4352,7 @@ export declare const EGGY_STATE_FRAME_OF_FINAL_SPIDER = 45;
|
|
|
4352
4352
|
export declare const EMPTY_PNG_PATH = "gfx/none.png";
|
|
4353
4353
|
|
|
4354
4354
|
/** Helper function to remove all of the elements in an array in-place. */
|
|
4355
|
-
export declare function emptyArray
|
|
4355
|
+
export declare function emptyArray(array: unknown[]): void;
|
|
4356
4356
|
|
|
4357
4357
|
/**
|
|
4358
4358
|
* Helper function to remove all naturally spawning entities and grid entities from a room. Notably,
|
|
@@ -4446,7 +4446,8 @@ export declare function every<T>(array: readonly T[], func: (value: T, index: nu
|
|
|
4446
4446
|
|
|
4447
4447
|
/**
|
|
4448
4448
|
* When you enable this feature, many custom commands will be added to the in-game console. See the
|
|
4449
|
-
* [dedicated command list](ExtraConsoleCommandsList) for more
|
|
4449
|
+
* [dedicated command list](/isaacscript-common/features/ExtraConsoleCommandsList) for more
|
|
4450
|
+
* information about them.
|
|
4450
4451
|
*
|
|
4451
4452
|
* Note that in order to avoid conflicts, if two or more mods enable this feature, then the first
|
|
4452
4453
|
* loaded one will control all of the command logic. When this occurs, a global variable of
|
|
@@ -4470,10 +4471,11 @@ declare class ExtraConsoleCommands extends Feature {
|
|
|
4470
4471
|
/**
|
|
4471
4472
|
* Helper function to add a custom console command.
|
|
4472
4473
|
*
|
|
4473
|
-
* The standard library comes with [many existing console
|
|
4474
|
-
*
|
|
4475
|
-
*
|
|
4476
|
-
* logic manually to the
|
|
4474
|
+
* The standard library comes with [many existing console
|
|
4475
|
+
* commands](/isaacscript-common/features/ExtraConsoleCommandsList) that are useful for debugging,
|
|
4476
|
+
* but you can also add your own commands that are useful for your particular mod. It's easier to
|
|
4477
|
+
* add commands to the existing command system than to add your own logic manually to the
|
|
4478
|
+
* `EXECUTE_CMD` callback.
|
|
4477
4479
|
*
|
|
4478
4480
|
* This function is intended to be called when your mod is first loading.
|
|
4479
4481
|
*
|
|
@@ -4486,8 +4488,9 @@ declare class ExtraConsoleCommands extends Feature {
|
|
|
4486
4488
|
/**
|
|
4487
4489
|
* Helper function to remove a custom console command.
|
|
4488
4490
|
*
|
|
4489
|
-
* The standard library comes with [many existing console
|
|
4490
|
-
* are useful for debugging.
|
|
4491
|
+
* The standard library comes with [many existing console
|
|
4492
|
+
* commands](/isaacscript-common/features/ExtraConsoleCommandsList) that are useful for debugging.
|
|
4493
|
+
* If you want to disable one of them, use this function.
|
|
4491
4494
|
*
|
|
4492
4495
|
* This function is intended to be called when your mod is first loading.
|
|
4493
4496
|
*
|
|
@@ -4500,9 +4503,10 @@ declare class ExtraConsoleCommands extends Feature {
|
|
|
4500
4503
|
/**
|
|
4501
4504
|
* Helper function to remove all custom console commands.
|
|
4502
4505
|
*
|
|
4503
|
-
* The standard library comes with [many existing console
|
|
4504
|
-
* are useful for debugging.
|
|
4505
|
-
* been initialized, use this
|
|
4506
|
+
* The standard library comes with [many existing console
|
|
4507
|
+
* commands](/isaacscript-common/features/ExtraConsoleCommandsList) that are useful for debugging.
|
|
4508
|
+
* If you want to disable all of them after this feature has already been initialized, use this
|
|
4509
|
+
* function.
|
|
4506
4510
|
*
|
|
4507
4511
|
* In order to use this function, you must upgrade your mod with
|
|
4508
4512
|
* `ISCFeature.EXTRA_CONSOLE_COMMANDS`.
|
|
@@ -4514,7 +4518,11 @@ declare class ExtraConsoleCommands extends Feature {
|
|
|
4514
4518
|
|
|
4515
4519
|
/**
|
|
4516
4520
|
* A function that creates the default value for your `DefaultMap`. For example, if it was a
|
|
4517
|
-
* `DefaultMap` containing maps, the factory function would be:
|
|
4521
|
+
* `DefaultMap` containing maps, the factory function would be:
|
|
4522
|
+
*
|
|
4523
|
+
* ```ts
|
|
4524
|
+
* () => new Map()
|
|
4525
|
+
* ```
|
|
4518
4526
|
*/
|
|
4519
4527
|
export declare type FactoryFunction<V, Args extends unknown[]> = (...args: Args) => V;
|
|
4520
4528
|
|
|
@@ -5062,7 +5070,7 @@ export declare function getArrayDuplicateElements<T extends number | string>(arr
|
|
|
5062
5070
|
* due to implementation details of TypeScriptToLua, this results in an array of 1 through N
|
|
5063
5071
|
* (instead of an array of 0 through N -1).
|
|
5064
5072
|
*/
|
|
5065
|
-
export declare function getArrayIndexes
|
|
5073
|
+
export declare function getArrayIndexes(array: readonly unknown[]): readonly int[];
|
|
5066
5074
|
|
|
5067
5075
|
/**
|
|
5068
5076
|
* Helper function to get how long Azazel's Brimstone laser should be. You can pass either an
|
|
@@ -7087,7 +7095,7 @@ export declare function getRandomArrayElementAndRemove<T>(array: T[], seedOrRNG:
|
|
|
7087
7095
|
* @param exceptions Optional. An array of indexes that will be skipped over when getting the random
|
|
7088
7096
|
* index. Default is an empty array.
|
|
7089
7097
|
*/
|
|
7090
|
-
export declare function getRandomArrayIndex
|
|
7098
|
+
export declare function getRandomArrayIndex(array: readonly unknown[], seedOrRNG: Seed | RNG | undefined, exceptions?: readonly int[]): int;
|
|
7091
7099
|
|
|
7092
7100
|
/**
|
|
7093
7101
|
* Helper function to get a random `Color` object.
|
|
@@ -9474,10 +9482,10 @@ export declare function isDeadEnd(roomGridIndex?: int): boolean;
|
|
|
9474
9482
|
export declare function isDeathCertificateArea(roomData: RoomConfig): boolean;
|
|
9475
9483
|
|
|
9476
9484
|
/**
|
|
9477
|
-
* Helper function to determine if a given object is a
|
|
9485
|
+
* Helper function to determine if a given object is a `DefaultMap` from `isaacscript-common`.
|
|
9478
9486
|
*
|
|
9479
9487
|
* It is not reliable to use the `instanceof` operator to determine this because each Lua module has
|
|
9480
|
-
* their own copies of the entire lualib and thus their own instantiated version of a `
|
|
9488
|
+
* their own copies of the entire lualib and thus their own instantiated version of a `DefaultMap`.
|
|
9481
9489
|
*/
|
|
9482
9490
|
export declare function isDefaultMap(object: unknown): object is DefaultMap<AnyNotNil, unknown>;
|
|
9483
9491
|
|
|
@@ -9588,7 +9596,7 @@ export declare function isEffect(variable: unknown): variable is EntityEffect;
|
|
|
9588
9596
|
* (This is equivalent to checking if the flag is equal to 0, but this is not possible without
|
|
9589
9597
|
* casting the flag to a number.)
|
|
9590
9598
|
*/
|
|
9591
|
-
export declare function isEmptyFlag
|
|
9599
|
+
export declare function isEmptyFlag(flag: BitFlag | BitFlag128): boolean;
|
|
9592
9600
|
|
|
9593
9601
|
/**
|
|
9594
9602
|
* Helper function to detect if a variable is of type `Entity`. This will return false for child
|
|
@@ -10543,20 +10551,20 @@ export declare function iterateTableInOrder<K extends AnyNotNil, V>(luaMap: LuaM
|
|
|
10543
10551
|
*
|
|
10544
10552
|
* Internally, this just calls `Array.join`.
|
|
10545
10553
|
*/
|
|
10546
|
-
export declare function join
|
|
10554
|
+
export declare function join(array: readonly unknown[], separator: string): string;
|
|
10547
10555
|
|
|
10548
10556
|
/**
|
|
10549
10557
|
* Converts a JSON string to a Lua table.
|
|
10550
10558
|
*
|
|
10551
10559
|
* In most cases, this function will be used for reading data from a "save#.dat" file. If decoding
|
|
10552
|
-
* fails, it will return
|
|
10553
|
-
*
|
|
10554
|
-
*
|
|
10560
|
+
* fails, it will return undefined instead of throwing an error. (This allows execution to continue
|
|
10561
|
+
* in cases where users have no current save data or have manually removed their existing save
|
|
10562
|
+
* data.)
|
|
10555
10563
|
*
|
|
10556
10564
|
* Under the hood, this uses a custom JSON parser that was measured to be 11.8 times faster than the
|
|
10557
10565
|
* vanilla JSON parser.
|
|
10558
10566
|
*/
|
|
10559
|
-
export declare function jsonDecode(jsonString: string): LuaMap<AnyNotNil, unknown
|
|
10567
|
+
export declare function jsonDecode(jsonString: string): LuaMap<AnyNotNil, unknown> | undefined;
|
|
10560
10568
|
|
|
10561
10569
|
/** Part of `JSONRoomsFile`. */
|
|
10562
10570
|
export declare interface JSONDoor {
|
|
@@ -10849,7 +10857,7 @@ export declare function logAndPrint(msg: string): void;
|
|
|
10849
10857
|
* @param array The array to log.
|
|
10850
10858
|
* @param name Optional. The name of the array, which will be logged before the elements.
|
|
10851
10859
|
*/
|
|
10852
|
-
export declare function logArray
|
|
10860
|
+
export declare function logArray(this: void, array: readonly unknown[], name?: string): void;
|
|
10853
10861
|
|
|
10854
10862
|
/**
|
|
10855
10863
|
* Helper function to log the names of a collectible type array.
|
|
@@ -14127,7 +14135,7 @@ declare class ModdedElementSets extends Feature {
|
|
|
14127
14135
|
*
|
|
14128
14136
|
* @public
|
|
14129
14137
|
*/
|
|
14130
|
-
getPlayerCollectibleMap(player: EntityPlayer):
|
|
14138
|
+
getPlayerCollectibleMap(player: EntityPlayer): ReadonlyMap<CollectibleType, int>;
|
|
14131
14139
|
/**
|
|
14132
14140
|
* Returns an array containing every modded trinket type in the game.
|
|
14133
14141
|
*
|
|
@@ -14369,7 +14377,7 @@ declare class ModdedElementSets extends Feature {
|
|
|
14369
14377
|
*
|
|
14370
14378
|
* @public
|
|
14371
14379
|
*/
|
|
14372
|
-
getPlayerTrinketsWithCacheFlag(player: EntityPlayer, cacheFlag: CacheFlag):
|
|
14380
|
+
getPlayerTrinketsWithCacheFlag(player: EntityPlayer, cacheFlag: CacheFlag): ReadonlyMap<TrinketType, int>;
|
|
14373
14381
|
/**
|
|
14374
14382
|
* Returns a set of all of the collectibles that grant flight. This is derived from collectibles
|
|
14375
14383
|
* that have `CacheFlag.FLYING` set in the "items.xml" file.
|
|
@@ -15376,7 +15384,7 @@ export declare function parseEntityTypeVariantString(entityTypeVariantString: st
|
|
|
15376
15384
|
*
|
|
15377
15385
|
* Under the hood, this uses the built-in `tonumber` and `math.floor` functions.
|
|
15378
15386
|
*
|
|
15379
|
-
* This is named `parseIntSafe` in order to match the helper function
|
|
15387
|
+
* This is named `parseIntSafe` in order to match the helper function from `complete-common`.
|
|
15380
15388
|
*/
|
|
15381
15389
|
export declare function parseIntSafe(string: string): int | undefined;
|
|
15382
15390
|
|
|
@@ -15853,7 +15861,7 @@ export declare type PossibleStatType = number | boolean | BitFlags<TearFlag> | C
|
|
|
15853
15861
|
|
|
15854
15862
|
declare class PostCustomRevive extends CustomCallback<ModCallbackCustom.POST_CUSTOM_REVIVE> {
|
|
15855
15863
|
constructor();
|
|
15856
|
-
protected shouldFire: (fireArgs:
|
|
15864
|
+
protected shouldFire: (fireArgs: FireArgs<T>, optionalArgs: OptionalArgs<T>) => boolean;
|
|
15857
15865
|
}
|
|
15858
15866
|
|
|
15859
15867
|
declare class PostEsauJr extends CustomCallback<ModCallbackCustom.POST_ESAU_JR> {
|
|
@@ -15879,7 +15887,7 @@ declare class PostGridEntityBroken extends CustomCallback<ModCallbackCustom.POST
|
|
|
15879
15887
|
|
|
15880
15888
|
declare class PostGridEntityCollision extends CustomCallback<T_2> {
|
|
15881
15889
|
constructor();
|
|
15882
|
-
protected shouldFire: (fireArgs:
|
|
15890
|
+
protected shouldFire: (fireArgs: FireArgs<T_2>, optionalArgs: OptionalArgs<T_2>) => boolean;
|
|
15883
15891
|
}
|
|
15884
15892
|
|
|
15885
15893
|
declare class PostGridEntityCustomBroken extends CustomCallback<ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_BROKEN> {
|
|
@@ -15889,7 +15897,7 @@ declare class PostGridEntityCustomBroken extends CustomCallback<ModCallbackCusto
|
|
|
15889
15897
|
|
|
15890
15898
|
declare class PostGridEntityCustomCollision extends CustomCallback<T_3> {
|
|
15891
15899
|
constructor();
|
|
15892
|
-
protected shouldFire: (fireArgs:
|
|
15900
|
+
protected shouldFire: (fireArgs: FireArgs<T_3>, optionalArgs: OptionalArgs<T_3>) => boolean;
|
|
15893
15901
|
}
|
|
15894
15902
|
|
|
15895
15903
|
declare class PostGridEntityCustomInit extends CustomCallback<ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_INIT> {
|
|
@@ -15899,7 +15907,7 @@ declare class PostGridEntityCustomInit extends CustomCallback<ModCallbackCustom.
|
|
|
15899
15907
|
|
|
15900
15908
|
declare class PostGridEntityCustomRemove extends CustomCallback<T_5> {
|
|
15901
15909
|
constructor();
|
|
15902
|
-
protected shouldFire: (fireArgs:
|
|
15910
|
+
protected shouldFire: (fireArgs: FireArgs<T_5>, optionalArgs: OptionalArgs<T_5>) => boolean;
|
|
15903
15911
|
}
|
|
15904
15912
|
|
|
15905
15913
|
declare class PostGridEntityCustomRender extends CustomCallback<ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_RENDER> {
|
|
@@ -15924,7 +15932,7 @@ declare class PostGridEntityInit extends CustomCallback<ModCallbackCustom.POST_G
|
|
|
15924
15932
|
|
|
15925
15933
|
declare class PostGridEntityRemove extends CustomCallback<T_4> {
|
|
15926
15934
|
constructor();
|
|
15927
|
-
protected shouldFire: (fireArgs:
|
|
15935
|
+
protected shouldFire: (fireArgs: FireArgs<T_4>, optionalArgs: OptionalArgs<T_4>) => boolean;
|
|
15928
15936
|
}
|
|
15929
15937
|
|
|
15930
15938
|
declare class PostGridEntityRender extends CustomCallback<ModCallbackCustom.POST_GRID_ENTITY_RENDER> {
|
|
@@ -16096,7 +16104,7 @@ export declare function printEnabled(enabled: boolean, description: string): voi
|
|
|
16096
16104
|
* @allowEmptyVariadic
|
|
16097
16105
|
* @ignore
|
|
16098
16106
|
*/
|
|
16099
|
-
export declare function PriorityCallback<T extends ModCallback>(modCallback: T, priority: CallbackPriority | int, ...optionalArgs: AllButFirst<AddCallbackParameters[T]>): <
|
|
16107
|
+
export declare function PriorityCallback<T extends ModCallback>(modCallback: T, priority: CallbackPriority | int, ...optionalArgs: AllButFirst<AddCallbackParameters[T]>): <Fn extends AddCallbackParameters[T][0]>(target: ModFeature, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
16100
16108
|
|
|
16101
16109
|
/**
|
|
16102
16110
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
@@ -16105,7 +16113,7 @@ export declare function PriorityCallback<T extends ModCallback>(modCallback: T,
|
|
|
16105
16113
|
* @allowEmptyVariadic
|
|
16106
16114
|
* @ignore
|
|
16107
16115
|
*/
|
|
16108
|
-
export declare function PriorityCallbackCustom<T extends ModCallbackCustom>(modCallbackCustom: T, priority: CallbackPriority | int, ...optionalArgs: AllButFirst<AddCallbackParametersCustom[T]>): <
|
|
16116
|
+
export declare function PriorityCallbackCustom<T extends ModCallbackCustom>(modCallbackCustom: T, priority: CallbackPriority | int, ...optionalArgs: AllButFirst<AddCallbackParametersCustom[T]>): <Fn extends AddCallbackParametersCustom[T][0]>(target: ModFeature, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
16109
16117
|
|
|
16110
16118
|
/** Helper type to extract only the public interface of a class. */
|
|
16111
16119
|
export declare type PublicInterface<T> = Pick<T, keyof T>;
|
|
@@ -18155,7 +18163,7 @@ export declare function shuffleArray<T>(originalArray: readonly T[], seedOrRNG:
|
|
|
18155
18163
|
* `RNG.Next` method will be called. If `undefined` is provided, it will default to
|
|
18156
18164
|
* a random seed.
|
|
18157
18165
|
*/
|
|
18158
|
-
export declare function shuffleArrayInPlace
|
|
18166
|
+
export declare function shuffleArrayInPlace(array: unknown[], seedOrRNG: Seed | RNG | undefined): void;
|
|
18159
18167
|
|
|
18160
18168
|
/** @returns 1 if n is positive, -1 if n is negative, or 0 if n is 0. */
|
|
18161
18169
|
export declare function sign(n: number): int;
|
|
@@ -18939,7 +18947,11 @@ declare const STORY_BOSS_IDS: readonly [BossID.MOM, BossID.MOMS_HEART, BossID.SA
|
|
|
18939
18947
|
*/
|
|
18940
18948
|
export declare type StoryBossID = (typeof STORY_BOSS_IDS)[number];
|
|
18941
18949
|
|
|
18942
|
-
/**
|
|
18950
|
+
/**
|
|
18951
|
+
* Helper type to subtract two other types.
|
|
18952
|
+
*
|
|
18953
|
+
* From: https://gist.github.com/ryandabler/8b4ff4f36aed47bc09acc03174638468
|
|
18954
|
+
*/
|
|
18943
18955
|
export declare type Subtract<A extends number, B extends number> = A extends A ? BuildTuple<A> extends [...infer U, ...BuildTuple<B>] ? Length<U> : never : never;
|
|
18944
18956
|
|
|
18945
18957
|
/** Helper function to sum every value in an array together. */
|
|
@@ -18954,7 +18966,7 @@ export declare function sumSet(set: ReadonlySet<number>): number;
|
|
|
18954
18966
|
/**
|
|
18955
18967
|
* Helper function to swap two different array elements. (The elements will be swapped in-place.)
|
|
18956
18968
|
*/
|
|
18957
|
-
export declare function swapArrayElements
|
|
18969
|
+
export declare function swapArrayElements(array: unknown[], i: number, j: number): void;
|
|
18958
18970
|
|
|
18959
18971
|
declare type T = ModCallbackCustom.POST_CUSTOM_REVIVE;
|
|
18960
18972
|
|
|
@@ -19281,7 +19293,7 @@ export declare function validateCustomEnum(transpiledEnumName: string, transpile
|
|
|
19281
19293
|
*
|
|
19282
19294
|
* This is useful to automate checking large enums for typos.
|
|
19283
19295
|
*/
|
|
19284
|
-
export declare function validateEnumContiguous
|
|
19296
|
+
export declare function validateEnumContiguous(transpiledEnumName: string, transpiledEnum: TranspiledEnum): void;
|
|
19285
19297
|
|
|
19286
19298
|
/**
|
|
19287
19299
|
* An array that represents the range from the first vanilla card type to the last vanilla card
|
package/dist/indexLua.d.ts
CHANGED
|
@@ -32,8 +32,8 @@ export * from "./functions/challenges";
|
|
|
32
32
|
export * from "./functions/characters";
|
|
33
33
|
export * from "./functions/charge";
|
|
34
34
|
export * from "./functions/chargeBar";
|
|
35
|
-
export * from "./functions/collectibleTag";
|
|
36
35
|
export * from "./functions/collectibles";
|
|
36
|
+
export * from "./functions/collectibleTag";
|
|
37
37
|
export * from "./functions/color";
|
|
38
38
|
export * from "./functions/console";
|
|
39
39
|
export * from "./functions/curses";
|
|
@@ -83,9 +83,9 @@ export * from "./functions/newArray";
|
|
|
83
83
|
export * from "./functions/nextStage";
|
|
84
84
|
export * from "./functions/npcDataStructures";
|
|
85
85
|
export * from "./functions/npcs";
|
|
86
|
-
export * from "./functions/pickupVariants";
|
|
87
86
|
export * from "./functions/pickups";
|
|
88
87
|
export * from "./functions/pickupsSpecific";
|
|
88
|
+
export * from "./functions/pickupVariants";
|
|
89
89
|
export * from "./functions/pills";
|
|
90
90
|
export * from "./functions/playerCenter";
|
|
91
91
|
export * from "./functions/playerCollectibles";
|
|
@@ -93,8 +93,8 @@ export * from "./functions/playerDataStructures";
|
|
|
93
93
|
export * from "./functions/playerEffects";
|
|
94
94
|
export * from "./functions/playerHealth";
|
|
95
95
|
export * from "./functions/playerIndex";
|
|
96
|
-
export * from "./functions/playerTrinkets";
|
|
97
96
|
export * from "./functions/players";
|
|
97
|
+
export * from "./functions/playerTrinkets";
|
|
98
98
|
export * from "./functions/pocketItems";
|
|
99
99
|
export * from "./functions/positionVelocity";
|
|
100
100
|
export * from "./functions/pressurePlate";
|
|
@@ -107,10 +107,10 @@ export * from "./functions/rng";
|
|
|
107
107
|
export * from "./functions/rockAlt";
|
|
108
108
|
export * from "./functions/roomData";
|
|
109
109
|
export * from "./functions/roomGrid";
|
|
110
|
+
export * from "./functions/rooms";
|
|
110
111
|
export * from "./functions/roomShape";
|
|
111
112
|
export * from "./functions/roomShapeWalls";
|
|
112
113
|
export * from "./functions/roomTransition";
|
|
113
|
-
export * from "./functions/rooms";
|
|
114
114
|
export * from "./functions/run";
|
|
115
115
|
export * from "./functions/seeds";
|
|
116
116
|
export * from "./functions/serialization";
|
|
@@ -136,19 +136,19 @@ export * from "./functions/utils";
|
|
|
136
136
|
export * from "./functions/vector";
|
|
137
137
|
export * from "./functions/versusScreen";
|
|
138
138
|
export * from "./functions/weighted";
|
|
139
|
-
export * from "./interfaces/ChargeBarSprites";
|
|
140
|
-
export * from "./interfaces/Corner";
|
|
141
|
-
export * from "./interfaces/CustomStageTSConfig";
|
|
142
|
-
export * from "./interfaces/GridEntityCustomData";
|
|
143
|
-
export * from "./interfaces/JSONRoomsFile";
|
|
144
|
-
export * from "./interfaces/PlayerHealth";
|
|
145
|
-
export * from "./interfaces/PlayerStats";
|
|
146
|
-
export * from "./interfaces/PocketItemDescription";
|
|
147
|
-
export * from "./interfaces/RoomDescription";
|
|
148
|
-
export * from "./interfaces/SaveData";
|
|
149
|
-
export * from "./interfaces/StageHistoryEntry";
|
|
150
|
-
export * from "./interfaces/
|
|
151
|
-
export * from "./interfaces/
|
|
139
|
+
export type * from "./interfaces/ChargeBarSprites";
|
|
140
|
+
export type * from "./interfaces/Corner";
|
|
141
|
+
export type * from "./interfaces/CustomStageTSConfig";
|
|
142
|
+
export type * from "./interfaces/GridEntityCustomData";
|
|
143
|
+
export type * from "./interfaces/JSONRoomsFile";
|
|
144
|
+
export type * from "./interfaces/PlayerHealth";
|
|
145
|
+
export type * from "./interfaces/PlayerStats";
|
|
146
|
+
export type * from "./interfaces/PocketItemDescription";
|
|
147
|
+
export type * from "./interfaces/RoomDescription";
|
|
148
|
+
export type * from "./interfaces/SaveData";
|
|
149
|
+
export type * from "./interfaces/StageHistoryEntry";
|
|
150
|
+
export type * from "./interfaces/TrinketSituation";
|
|
151
|
+
export type * from "./interfaces/TSTLClassMetatable";
|
|
152
152
|
export * from "./maps/cardNameToTypeMap";
|
|
153
153
|
export * from "./maps/characterNameToTypeMap";
|
|
154
154
|
export * from "./maps/collectibleNameToTypeMap";
|
|
@@ -158,49 +158,49 @@ export * from "./maps/transformationNameToPlayerFormMap";
|
|
|
158
158
|
export * from "./maps/trinketNameToTypeMap";
|
|
159
159
|
export * from "./objects/colors";
|
|
160
160
|
export * from "./objects/kColors";
|
|
161
|
-
export * from "./types/AddSubtract";
|
|
162
|
-
export * from "./types/AllButFirst";
|
|
163
|
-
export * from "./types/AllButLast";
|
|
164
|
-
export * from "./types/AnyClass";
|
|
165
|
-
export * from "./types/AnyEntity";
|
|
166
|
-
export * from "./types/AnyFunction";
|
|
167
|
-
export * from "./types/AnyGridEntity";
|
|
168
|
-
export * from "./types/CompositionTypeSatisfiesEnum";
|
|
169
|
-
export * from "./types/ConversionHeartSubType";
|
|
170
|
-
export * from "./types/Decrement";
|
|
171
|
-
export * from "./types/
|
|
172
|
-
export * from "./types/
|
|
173
|
-
export * from "./types/FunctionTuple";
|
|
174
|
-
export * from "./types/GridEntityID";
|
|
175
|
-
export * from "./types/HasFunction";
|
|
176
|
-
export * from "./types/
|
|
177
|
-
export * from "./types/
|
|
178
|
-
export * from "./types/
|
|
179
|
-
export * from "./types/LowercaseKeys";
|
|
180
|
-
export * from "./types/NaturalNumbersLessThan";
|
|
181
|
-
export * from "./types/NaturalNumbersLessThanOrEqualTo";
|
|
182
|
-
export * from "./types/ObjectValues";
|
|
161
|
+
export type * from "./types/AddSubtract";
|
|
162
|
+
export type * from "./types/AllButFirst";
|
|
163
|
+
export type * from "./types/AllButLast";
|
|
164
|
+
export type * from "./types/AnyClass";
|
|
165
|
+
export type * from "./types/AnyEntity";
|
|
166
|
+
export type * from "./types/AnyFunction";
|
|
167
|
+
export type * from "./types/AnyGridEntity";
|
|
168
|
+
export type * from "./types/CompositionTypeSatisfiesEnum";
|
|
169
|
+
export type * from "./types/ConversionHeartSubType";
|
|
170
|
+
export type * from "./types/Decrement";
|
|
171
|
+
export type * from "./types/EntityID";
|
|
172
|
+
export type * from "./types/ERange";
|
|
173
|
+
export type * from "./types/FunctionTuple";
|
|
174
|
+
export type * from "./types/GridEntityID";
|
|
175
|
+
export type * from "./types/HasFunction";
|
|
176
|
+
export type * from "./types/Immutable";
|
|
177
|
+
export type * from "./types/Increment";
|
|
178
|
+
export type * from "./types/IRange";
|
|
179
|
+
export type * from "./types/LowercaseKeys";
|
|
180
|
+
export type * from "./types/NaturalNumbersLessThan";
|
|
181
|
+
export type * from "./types/NaturalNumbersLessThanOrEqualTo";
|
|
182
|
+
export type * from "./types/ObjectValues";
|
|
183
183
|
export * from "./types/PickingUpItem";
|
|
184
|
-
export * from "./types/PickupIndex";
|
|
185
|
-
export * from "./types/PlayerIndex";
|
|
186
|
-
export * from "./types/PossibleStatType";
|
|
187
|
-
export * from "./types/PublicInterface";
|
|
184
|
+
export type * from "./types/PickupIndex";
|
|
185
|
+
export type * from "./types/PlayerIndex";
|
|
186
|
+
export type * from "./types/PossibleStatType";
|
|
187
|
+
export type * from "./types/PublicInterface";
|
|
188
188
|
export * from "./types/ReadonlyMap";
|
|
189
|
-
export * from "./types/ReadonlyRecord";
|
|
189
|
+
export type * from "./types/ReadonlyRecord";
|
|
190
190
|
export * from "./types/ReadonlySet";
|
|
191
|
-
export * from "./types/StartsWithLowercase";
|
|
192
|
-
export * from "./types/StartsWithUppercase";
|
|
193
|
-
export * from "./types/TSTLClass";
|
|
194
|
-
export * from "./types/Tuple";
|
|
195
|
-
export * from "./types/TupleKeys";
|
|
196
|
-
export * from "./types/TupleToIntersection";
|
|
197
|
-
export * from "./types/TupleToUnion";
|
|
198
|
-
export * from "./types/TupleWithLengthBetween";
|
|
199
|
-
export * from "./types/TupleWithMaxLength";
|
|
200
|
-
export * from "./types/UnionToIntersection";
|
|
201
|
-
export * from "./types/UppercaseKeys";
|
|
202
|
-
export * from "./types/WeightedArray";
|
|
203
|
-
export * from "./types/WidenLiteral";
|
|
204
|
-
export * from "./types/Writable";
|
|
191
|
+
export type * from "./types/StartsWithLowercase";
|
|
192
|
+
export type * from "./types/StartsWithUppercase";
|
|
193
|
+
export type * from "./types/TSTLClass";
|
|
194
|
+
export type * from "./types/Tuple";
|
|
195
|
+
export type * from "./types/TupleKeys";
|
|
196
|
+
export type * from "./types/TupleToIntersection";
|
|
197
|
+
export type * from "./types/TupleToUnion";
|
|
198
|
+
export type * from "./types/TupleWithLengthBetween";
|
|
199
|
+
export type * from "./types/TupleWithMaxLength";
|
|
200
|
+
export type * from "./types/UnionToIntersection";
|
|
201
|
+
export type * from "./types/UppercaseKeys";
|
|
202
|
+
export type * from "./types/WeightedArray";
|
|
203
|
+
export type * from "./types/WidenLiteral";
|
|
204
|
+
export type * from "./types/Writable";
|
|
205
205
|
export * from "isaac-typescript-definitions";
|
|
206
206
|
//# sourceMappingURL=indexLua.d.ts.map
|
package/dist/indexLua.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexLua.d.ts","sourceRoot":"","sources":["../src/indexLua.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAA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