isaacscript-common 87.5.0 → 87.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/callbackClasses.d.ts +7 -6
- package/dist/callbackClasses.d.ts.map +1 -1
- package/dist/callbackClasses.js +17 -15
- package/dist/callbackClasses.lua +163 -300
- package/dist/callbacks.d.ts +118 -117
- package/dist/callbacks.d.ts.map +1 -1
- package/dist/callbacks.js +19 -9
- package/dist/callbacks.lua +1 -0
- 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 +4 -6
- package/dist/classes/callbacks/InputActionFilter.d.ts +2 -2
- package/dist/classes/callbacks/InputActionFilter.d.ts.map +1 -1
- package/dist/classes/callbacks/InputActionFilter.js +3 -3
- package/dist/classes/callbacks/InputActionPlayer.d.ts +2 -2
- package/dist/classes/callbacks/InputActionPlayer.d.ts.map +1 -1
- package/dist/classes/callbacks/InputActionPlayer.js +6 -6
- package/dist/classes/callbacks/PostBoneSwing.js +2 -2
- 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 +3 -5
- package/dist/classes/callbacks/PostCursedTeleport.js +5 -5
- 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/PostDiceRoomActivated.js +2 -2
- package/dist/classes/callbacks/PostEntityRemoveFilter.d.ts +9 -0
- package/dist/classes/callbacks/PostEntityRemoveFilter.d.ts.map +1 -0
- package/dist/classes/callbacks/PostEntityRemoveFilter.js +21 -0
- package/dist/classes/callbacks/PostEntityRemoveFilter.lua +23 -0
- package/dist/classes/callbacks/PostGridEntityCollision.d.ts +2 -4
- package/dist/classes/callbacks/PostGridEntityCollision.d.ts.map +1 -1
- package/dist/classes/callbacks/PostGridEntityCollision.js +10 -10
- package/dist/classes/callbacks/PostGridEntityCustomCollision.d.ts +2 -4
- package/dist/classes/callbacks/PostGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/classes/callbacks/PostGridEntityCustomCollision.js +8 -8
- package/dist/classes/callbacks/PostGridEntityCustomRemove.d.ts +2 -3
- package/dist/classes/callbacks/PostGridEntityCustomRemove.d.ts.map +1 -1
- package/dist/classes/callbacks/PostGridEntityCustomRemove.js +2 -2
- package/dist/classes/callbacks/PostGridEntityRemove.d.ts +2 -2
- package/dist/classes/callbacks/PostGridEntityRemove.d.ts.map +1 -1
- package/dist/classes/callbacks/PostGridEntityRemove.js +3 -3
- 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 +5 -8
- package/dist/classes/callbacks/PostKeyboardChanged.d.ts +2 -1
- package/dist/classes/callbacks/PostKeyboardChanged.d.ts.map +1 -1
- package/dist/classes/callbacks/PostKeyboardChanged.js +2 -2
- package/dist/classes/callbacks/PostNewRoomEarly.js +3 -3
- package/dist/classes/callbacks/PostPickupSelectionFilter.d.ts +2 -2
- package/dist/classes/callbacks/PostPickupSelectionFilter.d.ts.map +1 -1
- package/dist/classes/callbacks/PostPickupSelectionFilter.js +4 -3
- package/dist/classes/callbacks/PostPlayerChangeHealth.js +2 -2
- 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/PostPurchase.js +9 -9
- 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/PostUsePillFilter.js +2 -2
- package/dist/classes/callbacks/PreBerserkDeath.js +4 -4
- package/dist/classes/callbacks/PreEntitySpawnFilter.d.ts +2 -2
- package/dist/classes/callbacks/PreEntitySpawnFilter.d.ts.map +1 -1
- package/dist/classes/callbacks/PreEntitySpawnFilter.js +3 -3
- 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/callbacks/PreRoomEntitySpawnFilter.js +5 -5
- 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/EsauJrDetection.js +2 -2
- package/dist/classes/features/callbackLogic/GameReorderedCallbacks.d.ts.map +1 -1
- package/dist/classes/features/callbackLogic/GameReorderedCallbacks.js +9 -11
- package/dist/classes/features/callbackLogic/GridEntityUpdateDetection.js +4 -4
- package/dist/classes/features/callbackLogic/ItemPickupDetection.js +4 -4
- package/dist/classes/features/callbackLogic/PlayerCollectibleDetection.js +2 -2
- 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 +44 -38
- 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 +6 -4
- package/dist/classes/features/other/DisableInputs.js +3 -3
- 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 +3 -3
- package/dist/classes/features/other/NoSirenSteal.js +4 -4
- 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 +7 -8
- 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/PonyDetection.js +2 -2
- package/dist/classes/features/other/PressInput.js +2 -2
- 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/PreventChildEntities.js +4 -4
- 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/RoomHistory.js +5 -5
- package/dist/classes/features/other/RunInNFrames.js +2 -2
- package/dist/classes/features/other/SaveDataManager.js +3 -3
- 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/StageHistory.js +2 -2
- package/dist/classes/features/other/StartAmbush.js +2 -2
- 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/TaintedLazarusPlayers.js +2 -2
- 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 +9 -10
- package/dist/classes/features/other/customStages/shadows.js +1 -2
- package/dist/classes/features/other/customStages/streakText.js +7 -8
- 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 +155 -158
- 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 +4 -5
- 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/ModCallbackCustom.d.ts +134 -117
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.js +134 -117
- package/dist/enums/ModCallbackCustom.lua +119 -117
- 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 +19 -19
- 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 +12 -13
- 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 +39 -40
- 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 +7 -10
- 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 +56 -52
- package/dist/functions/easing.js +32 -33
- 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 +7 -8
- package/dist/functions/entities.d.ts +0 -1
- package/dist/functions/entities.d.ts.map +1 -1
- package/dist/functions/entities.js +36 -38
- 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 +8 -9
- package/dist/functions/flag.d.ts +1 -1
- package/dist/functions/flag.d.ts.map +1 -1
- package/dist/functions/flag.js +9 -10
- 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 +68 -62
- package/dist/functions/gridEntitiesSpecific.js +40 -41
- 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 +25 -26
- 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 +7 -8
- package/dist/functions/levelGrid.d.ts.map +1 -1
- package/dist/functions/levelGrid.js +33 -38
- package/dist/functions/log.js +4 -5
- package/dist/functions/logEntities.d.ts.map +1 -1
- package/dist/functions/logEntities.js +19 -17
- 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 +17 -18
- 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 +16 -13
- 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 +19 -17
- package/dist/functions/pickupVariants.d.ts +0 -1
- package/dist/functions/pickupVariants.d.ts.map +1 -1
- package/dist/functions/pickupVariants.js +17 -18
- 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 +21 -24
- 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 +28 -29
- 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 +12 -13
- package/dist/functions/playerTrinkets.js +10 -11
- package/dist/functions/players.js +41 -42
- package/dist/functions/pocketItems.js +10 -11
- 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 +20 -21
- 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 +8 -9
- 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 +1 -2
- package/dist/functions/rooms.d.ts.map +1 -1
- package/dist/functions/rooms.js +116 -105
- package/dist/functions/rooms.lua +3 -4
- 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 +8 -9
- 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 +7 -10
- 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 +60 -69
- 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 +18 -19
- 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 +8 -9
- package/dist/functions/transformations.js +5 -6
- package/dist/functions/trinketGive.js +9 -10
- 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 +41 -42
- 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 +222 -181
- 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/AddCallbackParametersCustom.d.ts +6 -0
- package/dist/interfaces/private/AddCallbackParametersCustom.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 +786 -871
- package/dist/lib/jsonLua.js +34 -34
- 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 +83 -86
- 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/Increment.d.ts.map +1 -1
- package/dist/types/PickingUpItem.d.ts +10 -3
- package/dist/types/PickingUpItem.d.ts.map +1 -1
- package/dist/types/PickingUpItem.js +15 -9
- package/dist/types/PickingUpItem.lua +8 -3
- 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 +7 -6
- package/src/callbacks.ts +1 -0
- package/src/classes/DefaultMap.ts +5 -2
- package/src/classes/ModFeature.ts +3 -3
- package/src/classes/ModUpgraded.ts +4 -6
- package/src/classes/callbacks/InputActionFilter.ts +3 -3
- package/src/classes/callbacks/InputActionPlayer.ts +6 -6
- package/src/classes/callbacks/PostBoneSwing.ts +2 -2
- package/src/classes/callbacks/PostCollectibleEmpty.ts +3 -5
- package/src/classes/callbacks/PostCursedTeleport.ts +5 -5
- package/src/classes/callbacks/PostDiceRoomActivated.ts +2 -2
- package/src/classes/callbacks/PostEntityRemoveFilter.ts +22 -0
- package/src/classes/callbacks/PostGridEntityCollision.ts +10 -10
- package/src/classes/callbacks/PostGridEntityCustomCollision.ts +8 -8
- package/src/classes/callbacks/PostGridEntityCustomRemove.ts +2 -2
- package/src/classes/callbacks/PostGridEntityRemove.ts +3 -3
- package/src/classes/callbacks/PostItemDischarge.ts +5 -8
- package/src/classes/callbacks/PostKeyboardChanged.ts +2 -2
- package/src/classes/callbacks/PostNPCStateChanged.ts +1 -1
- package/src/classes/callbacks/PostNewRoomEarly.ts +3 -3
- package/src/classes/callbacks/PostPickupSelectionFilter.ts +4 -3
- package/src/classes/callbacks/PostPlayerChangeHealth.ts +2 -2
- package/src/classes/callbacks/PostPlayerChangeType.ts +1 -1
- package/src/classes/callbacks/PostPurchase.ts +9 -9
- package/src/classes/callbacks/PostTransformation.ts +1 -3
- package/src/classes/callbacks/PostTrinketBreak.ts +1 -3
- package/src/classes/callbacks/PostUsePillFilter.ts +2 -2
- package/src/classes/callbacks/PreBerserkDeath.ts +4 -4
- package/src/classes/callbacks/PreEntitySpawnFilter.ts +3 -3
- package/src/classes/callbacks/PreRoomEntitySpawnFilter.ts +5 -5
- package/src/classes/features/callbackLogic/CustomGridEntities.ts +1 -1
- package/src/classes/features/callbackLogic/EsauJrDetection.ts +2 -2
- package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +9 -11
- package/src/classes/features/callbackLogic/GridEntityUpdateDetection.ts +4 -4
- package/src/classes/features/callbackLogic/ItemPickupDetection.ts +4 -4
- package/src/classes/features/callbackLogic/PlayerCollectibleDetection.ts +2 -2
- 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 +46 -39
- package/src/classes/features/other/DeployJSONRoom.ts +6 -4
- package/src/classes/features/other/DisableInputs.ts +3 -3
- 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 +5 -5
- package/src/classes/features/other/NoSirenSteal.ts +4 -4
- package/src/classes/features/other/PickupIndexCreation.ts +7 -8
- package/src/classes/features/other/PonyDetection.ts +2 -2
- package/src/classes/features/other/PressInput.ts +2 -2
- package/src/classes/features/other/PreventChildEntities.ts +4 -4
- package/src/classes/features/other/RoomHistory.ts +5 -5
- package/src/classes/features/other/RunInNFrames.ts +2 -2
- package/src/classes/features/other/SaveDataManager.ts +3 -3
- 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 +2 -2
- package/src/classes/features/other/customStages/backdrop.ts +1 -1
- package/src/classes/features/other/customStages/gridEntities.ts +4 -4
- package/src/classes/features/other/customStages/streakText.ts +4 -4
- package/src/classes/features/other/extraConsoleCommands/commands.ts +15 -15
- package/src/classes/features/other/saveDataManager/glowingHourGlass.ts +4 -2
- 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/enums/ModCallbackCustom.ts +18 -0
- package/src/functions/array.ts +33 -29
- package/src/functions/arrayLua.ts +1 -1
- package/src/functions/bosses.ts +4 -3
- package/src/functions/charge.ts +3 -4
- package/src/functions/collectibles.ts +2 -2
- package/src/functions/decorators.ts +6 -9
- package/src/functions/deepCopy.ts +6 -10
- package/src/functions/deepCopyTests.ts +4 -4
- package/src/functions/doors.ts +8 -3
- package/src/functions/easing.ts +2 -2
- package/src/functions/emptyRoom.ts +5 -5
- package/src/functions/entities.ts +11 -12
- package/src/functions/enums.ts +4 -4
- package/src/functions/familiars.ts +2 -2
- package/src/functions/flag.ts +3 -3
- package/src/functions/globals.ts +2 -3
- package/src/functions/gridEntities.ts +30 -24
- package/src/functions/gridEntitiesSpecific.ts +2 -2
- package/src/functions/isaacAPIClass.ts +2 -2
- package/src/functions/jsonHelpers.ts +7 -5
- package/src/functions/level.ts +3 -3
- package/src/functions/levelGrid.ts +9 -12
- package/src/functions/logEntities.ts +11 -8
- package/src/functions/logMisc.ts +9 -20
- package/src/functions/map.ts +4 -4
- package/src/functions/math.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 +14 -10
- package/src/functions/npcDataStructures.ts +5 -5
- package/src/functions/npcs.ts +13 -10
- package/src/functions/pickupVariants.ts +6 -6
- package/src/functions/playerCollectibles.ts +3 -5
- package/src/functions/playerDataStructures.ts +5 -5
- package/src/functions/playerHealth.ts +8 -8
- package/src/functions/playerIndex.ts +3 -3
- package/src/functions/players.ts +4 -4
- package/src/functions/pocketItems.ts +2 -2
- package/src/functions/positionVelocity.ts +4 -12
- package/src/functions/revive.ts +15 -15
- package/src/functions/rng.ts +4 -3
- package/src/functions/roomData.ts +1 -3
- package/src/functions/roomGrid.ts +2 -2
- package/src/functions/rooms.ts +55 -42
- package/src/functions/set.ts +8 -8
- package/src/functions/sort.ts +4 -4
- package/src/functions/sound.ts +2 -7
- package/src/functions/spawnCollectible.ts +4 -6
- package/src/functions/stage.ts +20 -30
- package/src/functions/string.ts +6 -6
- package/src/functions/tears.ts +2 -2
- package/src/functions/trinketGive.ts +4 -4
- package/src/functions/trinkets.ts +1 -3
- package/src/functions/tstlClass.ts +2 -2
- package/src/functions/types.ts +19 -19
- package/src/index.ts +58 -58
- package/src/interfaces/SaveData.ts +2 -1
- package/src/interfaces/private/AddCallbackParametersCustom.ts +7 -0
- package/src/lib/jsonLua.js +34 -34
- package/src/objects/LRoomShapeToRectangles.ts +1 -1
- package/src/objects/roomShapeToDoorSlotsToGridIndexDelta.ts +1 -1
- package/src/shouldFire.ts +55 -57
- package/src/types/AddSubtract.ts +10 -2
- package/src/types/HasFunction.ts +1 -1
- package/src/types/Immutable.ts +1 -1
- package/src/types/Increment.ts +2 -2
- package/src/types/PickingUpItem.ts +10 -3
- package/src/types/TupleWithLengthBetween.ts +2 -2
- package/src/types/TupleWithMaxLength.ts +2 -2
|
@@ -92,8 +92,9 @@ class DeployJSONRoom extends Feature_1.Feature {
|
|
|
92
92
|
const position = (0, roomGrid_1.gridCoordinatesToWorldPosition)(x, y);
|
|
93
93
|
const seed = rng.Next();
|
|
94
94
|
let entity;
|
|
95
|
-
if (entityType === isaac_typescript_definitions_1.EntityType.PICKUP
|
|
96
|
-
|
|
95
|
+
if (entityType === isaac_typescript_definitions_1.EntityType.PICKUP
|
|
96
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison
|
|
97
|
+
&& variant === isaac_typescript_definitions_1.PickupVariant.COLLECTIBLE) {
|
|
97
98
|
const collectibleType = (0, types_1.asCollectibleType)(subType);
|
|
98
99
|
const options = roomType === isaac_typescript_definitions_1.RoomType.ANGEL;
|
|
99
100
|
entity = (0, spawnCollectible_1.spawnCollectible)(collectibleType, position, seed, options);
|
|
@@ -102,8 +103,9 @@ class DeployJSONRoom extends Feature_1.Feature {
|
|
|
102
103
|
entity = (0, entities_1.spawnWithSeed)(entityType, variant, subType, position, seed);
|
|
103
104
|
}
|
|
104
105
|
// For some reason, Pitfalls do not spawn with the correct collision classes.
|
|
105
|
-
if (entityType === isaac_typescript_definitions_1.EntityType.PITFALL
|
|
106
|
-
|
|
106
|
+
if (entityType === isaac_typescript_definitions_1.EntityType.PITFALL
|
|
107
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-enum-comparison
|
|
108
|
+
&& variant === isaac_typescript_definitions_1.PitfallVariant.PITFALL) {
|
|
107
109
|
entity.EntityCollisionClass = isaac_typescript_definitions_1.EntityCollisionClass.ENEMIES;
|
|
108
110
|
entity.GridCollisionClass = isaac_typescript_definitions_1.EntityGridCollisionClass.WALLS;
|
|
109
111
|
}
|
|
@@ -89,9 +89,9 @@ class DisableInputs extends Feature_1.Feature {
|
|
|
89
89
|
* @public
|
|
90
90
|
*/
|
|
91
91
|
areInputsEnabled() {
|
|
92
|
-
return (v.run.disableInputs.size === 0
|
|
93
|
-
v.run.enableAllInputsWithBlacklistMap.size === 0
|
|
94
|
-
v.run.disableAllInputsWithWhitelistMap.size === 0);
|
|
92
|
+
return (v.run.disableInputs.size === 0
|
|
93
|
+
&& v.run.enableAllInputsWithBlacklistMap.size === 0
|
|
94
|
+
&& v.run.disableAllInputsWithWhitelistMap.size === 0);
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* Helper function to enable all inputs. Use this function to set things back to normal after
|
|
@@ -38,7 +38,7 @@ export declare class EdenStartingStatsHealth extends Feature {
|
|
|
38
38
|
*
|
|
39
39
|
* @public
|
|
40
40
|
*/
|
|
41
|
-
getEdenStartingCollectibles(player: EntityPlayer): CollectibleType[];
|
|
41
|
+
getEdenStartingCollectibles(player: EntityPlayer): readonly CollectibleType[];
|
|
42
42
|
/**
|
|
43
43
|
* Helper function to get the health that Eden started with at the beginning of the run before any
|
|
44
44
|
* of the random collectibles were added.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EdenStartingStatsHealth.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/EdenStartingStatsHealth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAIpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2B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AAM,EAAE,YAAY,GACnB,SAAS,eAAe,EAAE;IAwB7B;;;;;;;;;OASG;IAEI,qBAAqB,CAC1B,MAAM,EAAE,YAAY,GACnB,QAAQ,CAAC,YAAY,CAAC,GAAG,SAAS;IAIrC;;;;;;;;;OASG;IAEI,iCAAiC,CACtC,MAAM,EAAE,YAAY,GACnB,eAAe,GAAG,SAAS;IAI9B;;;;;;;;;OASG;IAEI,mBAAmB,CAAC,CAAC,SAAS,UAAU,EAC7C,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,CAAC,GACZ,WAAW,CAAC,CAAC,CAAC,GAAG,SAAS;IAS7B;;;;;;;;;OASG;IAEI,oBAAoB,CACzB,MAAM,EAAE,YAAY,GACnB,QAAQ,CAAC,WAAW,CAAC,GAAG,SAAS;CAGrC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Feature } from "../../private/Feature";
|
|
2
2
|
/**
|
|
3
3
|
* When you enable this feature, many custom commands will be added to the in-game console. See the
|
|
4
|
-
* [dedicated command list](ExtraConsoleCommandsList) for more
|
|
4
|
+
* [dedicated command list](/isaacscript-common/features/ExtraConsoleCommandsList) for more
|
|
5
|
+
* information about them.
|
|
5
6
|
*
|
|
6
7
|
* Note that in order to avoid conflicts, if two or more mods enable this feature, then the first
|
|
7
8
|
* loaded one will control all of the command logic. When this occurs, a global variable of
|
|
@@ -25,10 +26,11 @@ export declare class ExtraConsoleCommands extends Feature {
|
|
|
25
26
|
/**
|
|
26
27
|
* Helper function to add a custom console command.
|
|
27
28
|
*
|
|
28
|
-
* The standard library comes with [many existing console
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* logic manually to the
|
|
29
|
+
* The standard library comes with [many existing console
|
|
30
|
+
* commands](/isaacscript-common/features/ExtraConsoleCommandsList) that are useful for debugging,
|
|
31
|
+
* but you can also add your own commands that are useful for your particular mod. It's easier to
|
|
32
|
+
* add commands to the existing command system than to add your own logic manually to the
|
|
33
|
+
* `EXECUTE_CMD` callback.
|
|
32
34
|
*
|
|
33
35
|
* This function is intended to be called when your mod is first loading.
|
|
34
36
|
*
|
|
@@ -41,8 +43,9 @@ export declare class ExtraConsoleCommands extends Feature {
|
|
|
41
43
|
/**
|
|
42
44
|
* Helper function to remove a custom console command.
|
|
43
45
|
*
|
|
44
|
-
* The standard library comes with [many existing console
|
|
45
|
-
* are useful for debugging.
|
|
46
|
+
* The standard library comes with [many existing console
|
|
47
|
+
* commands](/isaacscript-common/features/ExtraConsoleCommandsList) that are useful for debugging.
|
|
48
|
+
* If you want to disable one of them, use this function.
|
|
46
49
|
*
|
|
47
50
|
* This function is intended to be called when your mod is first loading.
|
|
48
51
|
*
|
|
@@ -55,9 +58,10 @@ export declare class ExtraConsoleCommands extends Feature {
|
|
|
55
58
|
/**
|
|
56
59
|
* Helper function to remove all custom console commands.
|
|
57
60
|
*
|
|
58
|
-
* The standard library comes with [many existing console
|
|
59
|
-
* are useful for debugging.
|
|
60
|
-
* been initialized, use this
|
|
61
|
+
* The standard library comes with [many existing console
|
|
62
|
+
* commands](/isaacscript-common/features/ExtraConsoleCommandsList) that are useful for debugging.
|
|
63
|
+
* If you want to disable all of them after this feature has already been initialized, use this
|
|
64
|
+
* function.
|
|
61
65
|
*
|
|
62
66
|
* In order to use this function, you must upgrade your mod with
|
|
63
67
|
* `ISCFeature.EXTRA_CONSOLE_COMMANDS`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtraConsoleCommands.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ExtraConsoleCommands.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD
|
|
1
|
+
{"version":3,"file":"ExtraConsoleCommands.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ExtraConsoleCommands.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD;;;;;;;;;;;GAWG;AACH,qBAAa,oBAAqB,SAAQ,OAAO;IAI/C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAU;IAExC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAG/B;IAoEJ,OAAO,CAAC,QAAQ,CAAC,UAAU,CAKzB;IAIF,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAIlC;IAIF,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAIrC;IAIF,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAIjC;IAIF,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAIlC;IAGF,OAAO,CAAC,QAAQ,CAAC,aAAa,CAkD5B;IAGF,OAAO,CAAC,QAAQ,CAAC,UAAU,CAWzB;IAGF,OAAO,CAAC,QAAQ,CAAC,YAAY,CAI3B;IAGF,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAYlC;IAEF;;;;;;;;;;;;;;;OAeG;IAEI,iBAAiB,CACtB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GACxC,IAAI;IA8BP;;;;;;;;;;;;;OAaG;IAEI,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAqBtD;;;;;;;;;;;;OAYG;IAEI,wBAAwB,IAAI,IAAI;CAGxC"}
|
|
@@ -21,13 +21,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
21
21
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
22
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
23
|
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
25
|
+
var ownKeys = function(o) {
|
|
26
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27
|
+
var ar = [];
|
|
28
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
29
|
+
return ar;
|
|
30
|
+
};
|
|
31
|
+
return ownKeys(o);
|
|
32
|
+
};
|
|
33
|
+
return function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
})();
|
|
31
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
42
|
exports.ExtraConsoleCommands = void 0;
|
|
33
43
|
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
|
|
@@ -43,7 +53,8 @@ const commands = __importStar(require("./extraConsoleCommands/commands"));
|
|
|
43
53
|
const v_1 = require("./extraConsoleCommands/v");
|
|
44
54
|
/**
|
|
45
55
|
* When you enable this feature, many custom commands will be added to the in-game console. See the
|
|
46
|
-
* [dedicated command list](ExtraConsoleCommandsList) for more
|
|
56
|
+
* [dedicated command list](/isaacscript-common/features/ExtraConsoleCommandsList) for more
|
|
57
|
+
* information about them.
|
|
47
58
|
*
|
|
48
59
|
* Note that in order to avoid conflicts, if two or more mods enable this feature, then the first
|
|
49
60
|
* loaded one will control all of the command logic. When this occurs, a global variable of
|
|
@@ -212,10 +223,11 @@ class ExtraConsoleCommands extends Feature_1.Feature {
|
|
|
212
223
|
/**
|
|
213
224
|
* Helper function to add a custom console command.
|
|
214
225
|
*
|
|
215
|
-
* The standard library comes with [many existing console
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* logic manually to the
|
|
226
|
+
* The standard library comes with [many existing console
|
|
227
|
+
* commands](/isaacscript-common/features/ExtraConsoleCommandsList) that are useful for debugging,
|
|
228
|
+
* but you can also add your own commands that are useful for your particular mod. It's easier to
|
|
229
|
+
* add commands to the existing command system than to add your own logic manually to the
|
|
230
|
+
* `EXECUTE_CMD` callback.
|
|
219
231
|
*
|
|
220
232
|
* This function is intended to be called when your mod is first loading.
|
|
221
233
|
*
|
|
@@ -243,8 +255,9 @@ class ExtraConsoleCommands extends Feature_1.Feature {
|
|
|
243
255
|
/**
|
|
244
256
|
* Helper function to remove a custom console command.
|
|
245
257
|
*
|
|
246
|
-
* The standard library comes with [many existing console
|
|
247
|
-
* are useful for debugging.
|
|
258
|
+
* The standard library comes with [many existing console
|
|
259
|
+
* commands](/isaacscript-common/features/ExtraConsoleCommandsList) that are useful for debugging.
|
|
260
|
+
* If you want to disable one of them, use this function.
|
|
248
261
|
*
|
|
249
262
|
* This function is intended to be called when your mod is first loading.
|
|
250
263
|
*
|
|
@@ -267,9 +280,10 @@ class ExtraConsoleCommands extends Feature_1.Feature {
|
|
|
267
280
|
/**
|
|
268
281
|
* Helper function to remove all custom console commands.
|
|
269
282
|
*
|
|
270
|
-
* The standard library comes with [many existing console
|
|
271
|
-
* are useful for debugging.
|
|
272
|
-
* been initialized, use this
|
|
283
|
+
* The standard library comes with [many existing console
|
|
284
|
+
* commands](/isaacscript-common/features/ExtraConsoleCommandsList) that are useful for debugging.
|
|
285
|
+
* If you want to disable all of them after this feature has already been initialized, use this
|
|
286
|
+
* function.
|
|
273
287
|
*
|
|
274
288
|
* In order to use this function, you must upgrade your mod with
|
|
275
289
|
* `ISCFeature.EXTRA_CONSOLE_COMMANDS`.
|
|
@@ -33,7 +33,8 @@ local commands = require("classes.features.other.extraConsoleCommands.commands")
|
|
|
33
33
|
local ____v = require("classes.features.other.extraConsoleCommands.v")
|
|
34
34
|
local v = ____v.v
|
|
35
35
|
--- When you enable this feature, many custom commands will be added to the in-game console. See the
|
|
36
|
-
-- [dedicated command list](ExtraConsoleCommandsList) for more
|
|
36
|
+
-- [dedicated command list](/isaacscript-common/features/ExtraConsoleCommandsList) for more
|
|
37
|
+
-- information about them.
|
|
37
38
|
--
|
|
38
39
|
-- Note that in order to avoid conflicts, if two or more mods enable this feature, then the first
|
|
39
40
|
-- loaded one will control all of the command logic. When this occurs, a global variable of
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlyingDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/FlyingDetection.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FlyingDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/FlyingDetection.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD,qBAAa,eAAgB,SAAQ,OAAO;IAC1C,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAoB;IAWtD;;;;;;;OAOG;IAEI,wBAAwB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO;CA8B/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ForgottenSwitch.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ForgottenSwitch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ForgottenSwitch.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ForgottenSwitch.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,qBAAa,eAAgB,SAAQ,OAAO;IAQ1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IAWxC;;;;;;;OAOG;IAEI,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI;CAGnD"}
|
|
@@ -12,13 +12,13 @@ const cachedClasses_1 = require("../../../core/cachedClasses");
|
|
|
12
12
|
const constantsFirstLast_1 = require("../../../core/constantsFirstLast");
|
|
13
13
|
const decorators_1 = require("../../../decorators");
|
|
14
14
|
const Feature_1 = require("../../private/Feature");
|
|
15
|
-
// eslint-disable-next-line
|
|
15
|
+
// eslint-disable-next-line complete/strict-enums
|
|
16
16
|
const FIRST_MODDED_COLLECTIBLE_TYPE = constantsFirstLast_1.LAST_VANILLA_COLLECTIBLE_TYPE + 1;
|
|
17
|
-
// eslint-disable-next-line
|
|
17
|
+
// eslint-disable-next-line complete/strict-enums
|
|
18
18
|
const FIRST_MODDED_TRINKET_TYPE = constantsFirstLast_1.LAST_VANILLA_TRINKET_TYPE + 1;
|
|
19
|
-
// eslint-disable-next-line
|
|
19
|
+
// eslint-disable-next-line complete/strict-enums
|
|
20
20
|
const FIRST_MODDED_CARD_TYPE = constantsFirstLast_1.LAST_VANILLA_CARD_TYPE + 1;
|
|
21
|
-
// eslint-disable-next-line
|
|
21
|
+
// eslint-disable-next-line complete/strict-enums
|
|
22
22
|
const FIRST_MODDED_PILL_EFFECT = constantsFirstLast_1.LAST_VANILLA_PILL_EFFECT + 1;
|
|
23
23
|
/**
|
|
24
24
|
* Mods can add extra things to the game (e.g. collectibles, trinkets, and so on). Since mods load
|
|
@@ -134,7 +134,7 @@ export declare class ModdedElementSets extends Feature {
|
|
|
134
134
|
*
|
|
135
135
|
* @public
|
|
136
136
|
*/
|
|
137
|
-
getPlayerCollectibleMap(player: EntityPlayer):
|
|
137
|
+
getPlayerCollectibleMap(player: EntityPlayer): ReadonlyMap<CollectibleType, int>;
|
|
138
138
|
/**
|
|
139
139
|
* Returns an array containing every modded trinket type in the game.
|
|
140
140
|
*
|
|
@@ -376,7 +376,7 @@ export declare class ModdedElementSets extends Feature {
|
|
|
376
376
|
*
|
|
377
377
|
* @public
|
|
378
378
|
*/
|
|
379
|
-
getPlayerTrinketsWithCacheFlag(player: EntityPlayer, cacheFlag: CacheFlag):
|
|
379
|
+
getPlayerTrinketsWithCacheFlag(player: EntityPlayer, cacheFlag: CacheFlag): ReadonlyMap<TrinketType, int>;
|
|
380
380
|
/**
|
|
381
381
|
* Returns a set of all of the collectibles that grant flight. This is derived from collectibles
|
|
382
382
|
* that have `CacheFlag.FLYING` set in the "items.xml" file.
|
|
@@ -1 +1 @@
|
|
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AAE,OAAO,GACf,SAAS,eAAe,EAAE;IAoB7B;;;;;;;;;;;;OAYG;IAEI,kBAAkB,CACvB,GAAG,mBAAmB,EAAE,SAAS,kBAAkB,EAAE,GACpD,SAAS,QAAQ,EAAE;IAoBtB;;;;;;;;;;;;;;;;;;OAkBG;IAEI,uBAAuB,CAC5B,kBAAkB,EAAE,kBAAkB,EACtC,SAAS,EAAE,IAAI,GAAG,GAAG,GAAG,SAAS,EACjC,UAAU,GAAE,SAAS,QAAQ,EAAO,GACnC,QAAQ;IAKX;;;;;;;;;;;;;;;;;;;;OAoBG;IAEI,aAAa,CAClB,SAAS,EAAE,IAAI,GAAG,GAAG,GAAG,SAAS,EACjC,UAAU,GAAE,SAAS,QAAQ,EAAO,GACnC,QAAQ;IAKX;;;;;;;;;;;;;;;;;OAiBG;IAEI,aAAa,CAClB,SAAS,EAAE,IAAI,GAAG,GAAG,GAAG,SAAS,EACjC,UAAU,GAAE,SAAS,QAAQ,EAAO,GACnC,QAAQ;CAKZ"}
|
|
@@ -280,8 +280,8 @@ class ModdedElementSets extends Feature_1.Feature {
|
|
|
280
280
|
}
|
|
281
281
|
lazyInitEdenCollectibleTypesSet() {
|
|
282
282
|
for (const collectibleType of this.getCollectibleTypes()) {
|
|
283
|
-
if ((0, collectibles_1.isHiddenCollectible)(collectibleType)
|
|
284
|
-
(0, collectibleTag_1.collectibleHasTag)(collectibleType, isaac_typescript_definitions_1.ItemConfigTag.NO_EDEN)) {
|
|
283
|
+
if ((0, collectibles_1.isHiddenCollectible)(collectibleType)
|
|
284
|
+
|| (0, collectibleTag_1.collectibleHasTag)(collectibleType, isaac_typescript_definitions_1.ItemConfigTag.NO_EDEN)) {
|
|
285
285
|
continue;
|
|
286
286
|
}
|
|
287
287
|
if ((0, collectibles_1.isActiveCollectible)(collectibleType)) {
|
|
@@ -438,7 +438,7 @@ class ModdedElementSets extends Feature_1.Feature {
|
|
|
438
438
|
collectibleMap.set(collectibleType, 1);
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
collectibleType--; // eslint-disable-line
|
|
441
|
+
collectibleType--; // eslint-disable-line complete/strict-enums
|
|
442
442
|
} while (itemConfigItem !== undefined);
|
|
443
443
|
}
|
|
444
444
|
return collectibleMap;
|
|
@@ -51,13 +51,13 @@ class NoSirenSteal extends Feature_1.Feature {
|
|
|
51
51
|
blacklistEntryExists(incomingFamiliarVariant, incomingFamiliarSubType) {
|
|
52
52
|
for (const familiarTuple of v.run.familiarBlacklist) {
|
|
53
53
|
const [familiarVariant, familiarSubType] = familiarTuple;
|
|
54
|
-
if (familiarVariant === incomingFamiliarVariant
|
|
55
|
-
familiarSubType === incomingFamiliarSubType) {
|
|
54
|
+
if (familiarVariant === incomingFamiliarVariant
|
|
55
|
+
&& familiarSubType === incomingFamiliarSubType) {
|
|
56
56
|
// There is an entry that matches the variant and sub-type exactly.
|
|
57
57
|
return true;
|
|
58
58
|
}
|
|
59
|
-
if (familiarVariant === incomingFamiliarVariant
|
|
60
|
-
familiarSubType === undefined) {
|
|
59
|
+
if (familiarVariant === incomingFamiliarVariant
|
|
60
|
+
&& familiarSubType === undefined) {
|
|
61
61
|
// There is an entry that matches all sub-types for this variant.
|
|
62
62
|
return true;
|
|
63
63
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PickupIndexCreation.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/PickupIndexCreation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PickupIndexCreation.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/PickupIndexCreation.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AA8BhD,qBAAa,mBAAoB,SAAQ,OAAO;IAI9C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;IAC1C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAkB;IAyBlD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAE7B;IAEF,OAAO,CAAC,cAAc;IA+BtB,OAAO,CAAC,8BAA8B;IAetC,OAAO,CAAC,QAAQ,CAAC,sBAAsB,CAErC;IAEF,OAAO,CAAC,oCAAoC;IAc5C;;;OAGG;IACH,OAAO,CAAC,6BAA6B;IAkCrC;;;;OAIG;IAEH,OAAO,CAAC,8BAA8B;IAyBtC,OAAO,CAAC,wBAAwB;IA2BhC;;;;;;;;;;;;;;;;;;;OAmBG;IAEI,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,WAAW;CAgBzD"}
|
|
@@ -73,9 +73,9 @@ class PickupIndexCreation extends Feature_1.Feature {
|
|
|
73
73
|
const pickupIndexFromLevelData = this.getPickupIndexFromPreviousData(pickup);
|
|
74
74
|
const room = cachedClasses_1.game.GetRoom();
|
|
75
75
|
const isFirstVisit = room.IsFirstVisit();
|
|
76
|
-
if (pickupIndexFromLevelData !== undefined
|
|
77
|
-
!isFirstVisit
|
|
78
|
-
(0, frames_1.onOrBeforeRoomFrame)(0)) {
|
|
76
|
+
if (pickupIndexFromLevelData !== undefined
|
|
77
|
+
&& !isFirstVisit
|
|
78
|
+
&& (0, frames_1.onOrBeforeRoomFrame)(0)) {
|
|
79
79
|
v.room.pickupIndexes.set(ptrHash, pickupIndexFromLevelData);
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
@@ -87,9 +87,7 @@ class PickupIndexCreation extends Feature_1.Feature {
|
|
|
87
87
|
const roomListIndex = (0, roomData_1.getRoomListIndex)();
|
|
88
88
|
const pickupDescriptions = v.level.pickupData.getAndSetDefault(roomListIndex);
|
|
89
89
|
let pickupIndex = getStoredPickupIndex(pickup, pickupDescriptions);
|
|
90
|
-
|
|
91
|
-
pickupIndex = this.getPostAscentPickupIndex(pickup);
|
|
92
|
-
}
|
|
90
|
+
pickupIndex ??= this.getPostAscentPickupIndex(pickup);
|
|
93
91
|
return pickupIndex;
|
|
94
92
|
}
|
|
95
93
|
// ModCallback.POST_ENTITY_REMOVE (67)
|
|
@@ -141,6 +139,7 @@ class PickupIndexCreation extends Feature_1.Feature {
|
|
|
141
139
|
* pickup could re-appear during The Ascent. If this is the case, we store the metadata on a
|
|
142
140
|
* separate map to reference later.
|
|
143
141
|
*/
|
|
142
|
+
// eslint-disable-next-line complete/no-mutable-return
|
|
144
143
|
getPickupDataMapForCurrentRoom() {
|
|
145
144
|
if ((0, stage_1.onAscent)()) {
|
|
146
145
|
return undefined;
|
|
@@ -220,8 +219,8 @@ __decorate([
|
|
|
220
219
|
], PickupIndexCreation.prototype, "getPickupIndex", null);
|
|
221
220
|
function getStoredPickupIndex(pickup, pickupDescriptions) {
|
|
222
221
|
for (const [pickupIndex, pickupDescription] of pickupDescriptions) {
|
|
223
|
-
if ((0, vector_1.vectorEquals)(pickupDescription.position, pickup.Position)
|
|
224
|
-
pickupDescription.initSeed === pickup.InitSeed) {
|
|
222
|
+
if ((0, vector_1.vectorEquals)(pickupDescription.position, pickup.Position)
|
|
223
|
+
&& pickupDescription.initSeed === pickup.InitSeed) {
|
|
225
224
|
return pickupIndex;
|
|
226
225
|
}
|
|
227
226
|
}
|
|
@@ -131,15 +131,15 @@ function PickupIndexCreation.prototype.getPickupDataMapForCurrentRoom(self)
|
|
|
131
131
|
local room = game:GetRoom()
|
|
132
132
|
local roomType = room:GetType()
|
|
133
133
|
repeat
|
|
134
|
-
local
|
|
135
|
-
local
|
|
136
|
-
if
|
|
134
|
+
local ____switch19 = roomType
|
|
135
|
+
local ____cond19 = ____switch19 == RoomType.TREASURE
|
|
136
|
+
if ____cond19 then
|
|
137
137
|
do
|
|
138
138
|
return v.run.pickupDataTreasureRooms
|
|
139
139
|
end
|
|
140
140
|
end
|
|
141
|
-
|
|
142
|
-
if
|
|
141
|
+
____cond19 = ____cond19 or ____switch19 == RoomType.BOSS
|
|
142
|
+
if ____cond19 then
|
|
143
143
|
do
|
|
144
144
|
return v.run.pickupDataBossRooms
|
|
145
145
|
end
|
|
@@ -158,15 +158,15 @@ function PickupIndexCreation.prototype.getPostAscentPickupIndex(self, pickup)
|
|
|
158
158
|
local room = game:GetRoom()
|
|
159
159
|
local roomType = room:GetType()
|
|
160
160
|
repeat
|
|
161
|
-
local
|
|
162
|
-
local
|
|
163
|
-
if
|
|
161
|
+
local ____switch25 = roomType
|
|
162
|
+
local ____cond25 = ____switch25 == RoomType.TREASURE
|
|
163
|
+
if ____cond25 then
|
|
164
164
|
do
|
|
165
165
|
return getStoredPickupIndex(nil, pickup, v.run.pickupDataTreasureRooms)
|
|
166
166
|
end
|
|
167
167
|
end
|
|
168
|
-
|
|
169
|
-
if
|
|
168
|
+
____cond25 = ____cond25 or ____switch25 == RoomType.BOSS
|
|
169
|
+
if ____cond25 then
|
|
170
170
|
do
|
|
171
171
|
return getStoredPickupIndex(nil, pickup, v.run.pickupDataBossRooms)
|
|
172
172
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PonyDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/PonyDetection.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PonyDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/PonyDetection.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAchD,qBAAa,aAAc,SAAQ,OAAO;IAiBxC,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAmBzC;IAEF;;;;;;;OAOG;IAEI,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO;IAIvD;;;;;;;OAOG;IAEI,kBAAkB,IAAI,OAAO;CAIrC"}
|
|
@@ -41,8 +41,8 @@ class PonyDetection extends Feature_1.Feature {
|
|
|
41
41
|
postPEffectUpdateReordered = (player) => {
|
|
42
42
|
const effects = player.GetEffects();
|
|
43
43
|
const entityFlags = player.GetEntityFlags();
|
|
44
|
-
const hasPonyCollectibleEffect = effects.HasCollectibleEffect(isaac_typescript_definitions_1.CollectibleType.PONY)
|
|
45
|
-
effects.HasCollectibleEffect(isaac_typescript_definitions_1.CollectibleType.WHITE_PONY);
|
|
44
|
+
const hasPonyCollectibleEffect = effects.HasCollectibleEffect(isaac_typescript_definitions_1.CollectibleType.PONY)
|
|
45
|
+
|| effects.HasCollectibleEffect(isaac_typescript_definitions_1.CollectibleType.WHITE_PONY);
|
|
46
46
|
const isPonyActiveOnPreviousFrame = (0, playerDataStructures_1.setHasPlayer)(v.run.playersIsPonyActive, player);
|
|
47
47
|
const hasPonyFlags = (0, flag_1.hasFlag)(entityFlags, ...FLAGS_WHEN_PONY_IS_ACTIVE);
|
|
48
48
|
const isPonyActiveNow = hasPonyCollectibleEffect || (isPonyActiveOnPreviousFrame && hasPonyFlags);
|
|
@@ -45,8 +45,8 @@ class PressInput extends Feature_1.Feature {
|
|
|
45
45
|
for (let i = v.run.buttonActionPairs.length - 1; i >= 0; i--) {
|
|
46
46
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
47
47
|
const pair = v.run.buttonActionPairs[i];
|
|
48
|
-
if (pair.playerIndex === playerIndex
|
|
49
|
-
pair.buttonAction === buttonAction) {
|
|
48
|
+
if (pair.playerIndex === playerIndex
|
|
49
|
+
&& pair.buttonAction === buttonAction) {
|
|
50
50
|
v.run.buttonActionPairs.splice(i);
|
|
51
51
|
return true;
|
|
52
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreventChildEntities.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/PreventChildEntities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PreventChildEntities.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/PreventChildEntities.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,qBAAa,oBAAqB,SAAQ,OAAO;IAe/C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAY1B;IAEF;;;;;;;;;;;;OAYG;IAEI,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;CAIlD"}
|
|
@@ -28,10 +28,10 @@ class PreventChildEntities extends Feature_1.Feature {
|
|
|
28
28
|
}
|
|
29
29
|
// ModCallback.POST_NPC_INIT (27)
|
|
30
30
|
postNPCInit = (npc) => {
|
|
31
|
-
const spawnerEntityMatch = npc.SpawnerEntity !== undefined
|
|
32
|
-
v.room.preventingEntities.has(GetPtrHash(npc.SpawnerEntity));
|
|
33
|
-
const parentMatch = npc.Parent !== undefined
|
|
34
|
-
v.room.preventingEntities.has(GetPtrHash(npc.Parent));
|
|
31
|
+
const spawnerEntityMatch = npc.SpawnerEntity !== undefined
|
|
32
|
+
&& v.room.preventingEntities.has(GetPtrHash(npc.SpawnerEntity));
|
|
33
|
+
const parentMatch = npc.Parent !== undefined
|
|
34
|
+
&& v.room.preventingEntities.has(GetPtrHash(npc.Parent));
|
|
35
35
|
if (spawnerEntityMatch || parentMatch) {
|
|
36
36
|
npc.Remove();
|
|
37
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoomClearFrame.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/RoomClearFrame.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RoomClearFrame.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/RoomClearFrame.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAUhD,qBAAa,cAAe,SAAQ,OAAO;IAkBzC,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CASvC;IAEF;;;;;;;;;OASG;IAEI,qBAAqB,IAAI,GAAG,GAAG,SAAS;IAI/C;;;;;;;;;OASG;IAEI,uBAAuB,IAAI,GAAG,GAAG,SAAS;IAIjD;;;;;;;;;OASG;IAEI,qBAAqB,IAAI,GAAG,GAAG,SAAS;CAGhD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoomHistory.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/RoomHistory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RoomHistory.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/RoomHistory.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,qBAAa,WAAY,SAAQ,OAAO;IActC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAgC/B;IAEF;;;;;;OAMG;IAEI,yBAAyB,IAAI,IAAI;IAIxC;;;;;;;OAOG;IAEI,kBAAkB,IAAI,GAAG;IAIhC;;;;;;;OAOG;IAEI,cAAc,IAAI,aAAa,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IAIjE;;;;;;;;;OASG;IAEI,0BAA0B,IAAI,QAAQ,CAAC,eAAe,CAAC;IAgB9D;;;;;;;;;;;;OAYG;IAEI,wBAAwB,IAAI,QAAQ,CAAC,eAAe,CAAC,GAAG,SAAS;IAIxE;;;;OAIG;IAEI,WAAW,IAAI,OAAO;IAI7B;;;;;;;;;;;;OAYG;IAEI,aAAa,IAAI,OAAO;CAwBhC"}
|
|
@@ -165,11 +165,11 @@ class RoomHistory extends Feature_1.Feature {
|
|
|
165
165
|
if (latestRoomDescription === undefined) {
|
|
166
166
|
return false;
|
|
167
167
|
}
|
|
168
|
-
return (startSeedString !== latestRoomDescription.startSeedString
|
|
169
|
-
stage !== latestRoomDescription.stage
|
|
170
|
-
stageType !== latestRoomDescription.stageType
|
|
171
|
-
roomListIndex !== latestRoomDescription.roomListIndex
|
|
172
|
-
roomVisitedCount !== latestRoomDescription.roomVisitedCount);
|
|
168
|
+
return (startSeedString !== latestRoomDescription.startSeedString
|
|
169
|
+
|| stage !== latestRoomDescription.stage
|
|
170
|
+
|| stageType !== latestRoomDescription.stageType
|
|
171
|
+
|| roomListIndex !== latestRoomDescription.roomListIndex
|
|
172
|
+
|| roomVisitedCount !== latestRoomDescription.roomVisitedCount);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
exports.RoomHistory = RoomHistory;
|
|
@@ -286,7 +286,7 @@ __decorate([
|
|
|
286
286
|
decorators_1.Exported
|
|
287
287
|
], RunInNFrames.prototype, "setIntervalRenderFrames", null);
|
|
288
288
|
function checkExecuteQueuedFunctions(
|
|
289
|
-
// eslint-disable-next-line
|
|
289
|
+
// eslint-disable-next-line complete/prefer-readonly-parameter-types
|
|
290
290
|
queuedFunctions, frameCount, newNumRoomsEntered) {
|
|
291
291
|
const firingFunctions = queuedFunctions.filter(({ frameCountToFire }) => frameCount >= frameCountToFire);
|
|
292
292
|
for (const firingFunction of firingFunctions) {
|
|
@@ -298,7 +298,7 @@ queuedFunctions, frameCount, newNumRoomsEntered) {
|
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
function checkExecuteIntervalFunctions(
|
|
301
|
-
// eslint-disable-next-line
|
|
301
|
+
// eslint-disable-next-line complete/prefer-readonly-parameter-types
|
|
302
302
|
intervalFunctions, frameCount, newNumRoomsEntered) {
|
|
303
303
|
const firingFunctions = intervalFunctions.filter(({ frameCountToFire }) => frameCount >= frameCountToFire);
|
|
304
304
|
for (const firingFunction of firingFunctions) {
|
|
@@ -84,7 +84,7 @@ class SaveDataManager extends Feature_1.Feature {
|
|
|
84
84
|
[isaac_typescript_definitions_1.ModCallback.PRE_GAME_EXIT, this.preGameExit],
|
|
85
85
|
// 18
|
|
86
86
|
// We want to avoid a needless dependency on the `GameReorderedCallbacks` feature.
|
|
87
|
-
// eslint-disable-next-line
|
|
87
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
88
88
|
[isaac_typescript_definitions_1.ModCallback.POST_NEW_LEVEL, this.postNewLevel],
|
|
89
89
|
];
|
|
90
90
|
this.customCallbacksUsed = [
|
|
@@ -194,8 +194,8 @@ class SaveDataManager extends Feature_1.Feature {
|
|
|
194
194
|
*/
|
|
195
195
|
storeClassConstructorsFromObject(luaMap) {
|
|
196
196
|
const tstlClassName = (0, tstlClass_1.getTSTLClassName)(luaMap);
|
|
197
|
-
if (tstlClassName !== undefined
|
|
198
|
-
!NON_USER_DEFINED_CLASS_NAMES.has(tstlClassName)) {
|
|
197
|
+
if (tstlClassName !== undefined
|
|
198
|
+
&& !NON_USER_DEFINED_CLASS_NAMES.has(tstlClassName)) {
|
|
199
199
|
this.classConstructors.set(tstlClassName, luaMap);
|
|
200
200
|
}
|
|
201
201
|
for (const [_key, value] of luaMap) {
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
3
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
4
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
5
1
|
import { RockAltType } from "../../../enums/RockAltType";
|
|
6
2
|
import { Feature } from "../../private/Feature";
|
|
7
3
|
export declare class SpawnRockAltRewards extends Feature {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpawnRockAltRewards.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/SpawnRockAltRewards.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpawnRockAltRewards.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/SpawnRockAltRewards.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAkBzD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAwBhD,qBAAa,mBAAoB,SAAQ,OAAO;IAC9C,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAoB;IAWtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IAEI,kBAAkB,CACvB,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,IAAI,GAAG,GAAG,GAAG,SAAS,GAChC,OAAO;IAkCV;;;;;;;;OAQG;IAEI,qBAAqB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;IAwDjE;;;;;;;;OAQG;IAEI,0BAA0B,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;IA+EtE;;;;;;;;OAQG;IAEI,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;IA6DnE;;;;;;;;OAQG;IAEI,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;IAoEnE;;;;;;;;OAQG;IAEI,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;IA2E5E;;;;;;;;OAQG;IAEI,6BAA6B,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;CAsE1E"}
|