isaacscript-common 4.0.3 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/cachedClasses.ts +0 -39
- package/callbacks/customRevive.ts +0 -215
- package/callbacks/itemPickup.ts +0 -101
- package/callbacks/postAmbush.ts +0 -73
- package/callbacks/postBombExploded.ts +0 -26
- package/callbacks/postBombInitLate.ts +0 -36
- package/callbacks/postBoneSwing.ts +0 -64
- package/callbacks/postCollectibleInitFirst.ts +0 -40
- package/callbacks/postCursedTeleport.ts +0 -185
- package/callbacks/postCustomDoorEnter.ts +0 -292
- package/callbacks/postDiceRoomActivated.ts +0 -60
- package/callbacks/postDoorRender.ts +0 -26
- package/callbacks/postDoorUpdate.ts +0 -26
- package/callbacks/postEffectInitLate.ts +0 -36
- package/callbacks/postEffectStateChanged.ts +0 -43
- package/callbacks/postEsauJr.ts +0 -109
- package/callbacks/postFamiliarInitLate.ts +0 -36
- package/callbacks/postFamiliarStateChanged.ts +0 -43
- package/callbacks/postFlip.ts +0 -90
- package/callbacks/postGreedModeWave.ts +0 -41
- package/callbacks/postGridEntity.ts +0 -164
- package/callbacks/postGridEntityCollision.ts +0 -69
- package/callbacks/postGridEntityRender.ts +0 -26
- package/callbacks/postHolyMantleRemoved.ts +0 -55
- package/callbacks/postItemDischarged.ts +0 -154
- package/callbacks/postKnifeInitLate.ts +0 -36
- package/callbacks/postLaserInitLate.ts +0 -36
- package/callbacks/postNPCInitLate.ts +0 -36
- package/callbacks/postNPCStateChanged.ts +0 -42
- package/callbacks/postNewRoomEarly.ts +0 -96
- package/callbacks/postPickupCollect.ts +0 -48
- package/callbacks/postPickupInitFirst.ts +0 -70
- package/callbacks/postPickupInitLate.ts +0 -36
- package/callbacks/postPickupStateChanged.ts +0 -43
- package/callbacks/postPitRender.ts +0 -26
- package/callbacks/postPitUpdate.ts +0 -26
- package/callbacks/postPlayerChangeHealth.ts +0 -62
- package/callbacks/postPlayerChangeType.ts +0 -56
- package/callbacks/postPlayerCollectible.ts +0 -113
- package/callbacks/postPlayerFatalDamage.ts +0 -141
- package/callbacks/postPlayerInitLate.ts +0 -37
- package/callbacks/postPlayerReordered.ts +0 -142
- package/callbacks/postPoopRender.ts +0 -26
- package/callbacks/postPoopUpdate.ts +0 -26
- package/callbacks/postPressurePlateRender.ts +0 -26
- package/callbacks/postPressurePlateUpdate.ts +0 -26
- package/callbacks/postProjectileInitLate.ts +0 -36
- package/callbacks/postPurchase.ts +0 -64
- package/callbacks/postRockRender.ts +0 -26
- package/callbacks/postRockUpdate.ts +0 -26
- package/callbacks/postRoomClearChanged.ts +0 -57
- package/callbacks/postSacrifice.ts +0 -64
- package/callbacks/postSlotDestroyed.ts +0 -92
- package/callbacks/postSlotInitUpdate.ts +0 -68
- package/callbacks/postSlotRender.ts +0 -69
- package/callbacks/postSpikesRender.ts +0 -26
- package/callbacks/postSpikesUpdate.ts +0 -26
- package/callbacks/postTNTRender.ts +0 -26
- package/callbacks/postTNTUpdate.ts +0 -26
- package/callbacks/postTearInitLate.ts +0 -36
- package/callbacks/postTearInitVeryLate.ts +0 -41
- package/callbacks/postTransformation.ts +0 -59
- package/callbacks/postTrinketBreak.ts +0 -112
- package/callbacks/preBerserkDeath.ts +0 -49
- package/callbacks/preNewLevel.ts +0 -55
- package/callbacks/reorderedCallbacks.ts +0 -168
- package/callbacks/subscriptions/postAmbushFinished.ts +0 -32
- package/callbacks/subscriptions/postAmbushStarted.ts +0 -32
- package/callbacks/subscriptions/postBombInitLate.ts +0 -32
- package/callbacks/subscriptions/postBoneExploded.ts +0 -32
- package/callbacks/subscriptions/postBoneSwing.ts +0 -24
- package/callbacks/subscriptions/postCollectibleInitFirst.ts +0 -37
- package/callbacks/subscriptions/postCursedTeleport.ts +0 -24
- package/callbacks/subscriptions/postCustomDoorEnter.ts +0 -45
- package/callbacks/subscriptions/postCustomRevive.ts +0 -36
- package/callbacks/subscriptions/postDiceRoomActivated.ts +0 -38
- package/callbacks/subscriptions/postDoorRender.ts +0 -35
- package/callbacks/subscriptions/postDoorUpdate.ts +0 -35
- package/callbacks/subscriptions/postEffectInitLate.ts +0 -32
- package/callbacks/subscriptions/postEffectStateChanged.ts +0 -40
- package/callbacks/subscriptions/postEsauJr.ts +0 -24
- package/callbacks/subscriptions/postFamiliarInitLate.ts +0 -32
- package/callbacks/subscriptions/postFamiliarStateChanged.ts +0 -40
- package/callbacks/subscriptions/postFirstEsauJr.ts +0 -24
- package/callbacks/subscriptions/postFirstFlip.ts +0 -24
- package/callbacks/subscriptions/postFlip.ts +0 -22
- package/callbacks/subscriptions/postGameStartedReordered.ts +0 -24
- package/callbacks/subscriptions/postGreedModeWave.ts +0 -24
- package/callbacks/subscriptions/postGridEntityBroken.ts +0 -51
- package/callbacks/subscriptions/postGridEntityCollision.ts +0 -54
- package/callbacks/subscriptions/postGridEntityInit.ts +0 -51
- package/callbacks/subscriptions/postGridEntityRemove.ts +0 -52
- package/callbacks/subscriptions/postGridEntityRender.ts +0 -51
- package/callbacks/subscriptions/postGridEntityStateChanged.ts +0 -55
- package/callbacks/subscriptions/postGridEntityUpdate.ts +0 -51
- package/callbacks/subscriptions/postHolyMantleRemoved.ts +0 -48
- package/callbacks/subscriptions/postItemDischarged.ts +0 -43
- package/callbacks/subscriptions/postItemPickup.ts +0 -64
- package/callbacks/subscriptions/postKnifeInitLate.ts +0 -32
- package/callbacks/subscriptions/postLaserInitLate.ts +0 -32
- package/callbacks/subscriptions/postNPCInitLate.ts +0 -32
- package/callbacks/subscriptions/postNPCStateChanged.ts +0 -42
- package/callbacks/subscriptions/postNewLevelReordered.ts +0 -22
- package/callbacks/subscriptions/postNewRoomEarly.ts +0 -22
- package/callbacks/subscriptions/postNewRoomReordered.ts +0 -22
- package/callbacks/subscriptions/postPEffectUpdateReordered.ts +0 -40
- package/callbacks/subscriptions/postPickupCollect.ts +0 -35
- package/callbacks/subscriptions/postPickupInitFirst.ts +0 -32
- package/callbacks/subscriptions/postPickupInitLate.ts +0 -32
- package/callbacks/subscriptions/postPickupStateChanged.ts +0 -40
- package/callbacks/subscriptions/postPitRender.ts +0 -35
- package/callbacks/subscriptions/postPitUpdate.ts +0 -35
- package/callbacks/subscriptions/postPlayerChangeHealth.ts +0 -49
- package/callbacks/subscriptions/postPlayerChangeType.ts +0 -40
- package/callbacks/subscriptions/postPlayerCollectibleAdded.ts +0 -38
- package/callbacks/subscriptions/postPlayerCollectibleRemoved.ts +0 -38
- package/callbacks/subscriptions/postPlayerFatalDamage.ts +0 -68
- package/callbacks/subscriptions/postPlayerInitLate.ts +0 -40
- package/callbacks/subscriptions/postPlayerInitReordered.ts +0 -40
- package/callbacks/subscriptions/postPlayerRenderReordered.ts +0 -40
- package/callbacks/subscriptions/postPlayerUpdateReordered.ts +0 -40
- package/callbacks/subscriptions/postPoopRender.ts +0 -35
- package/callbacks/subscriptions/postPoopUpdate.ts +0 -35
- package/callbacks/subscriptions/postPressurePlateRender.ts +0 -37
- package/callbacks/subscriptions/postPressurePlateUpdate.ts +0 -37
- package/callbacks/subscriptions/postProjectileInitLate.ts +0 -35
- package/callbacks/subscriptions/postPurchase.ts +0 -31
- package/callbacks/subscriptions/postRockRender.ts +0 -35
- package/callbacks/subscriptions/postRockUpdate.ts +0 -35
- package/callbacks/subscriptions/postRoomClearChanged.ts +0 -30
- package/callbacks/subscriptions/postSacrifice.ts +0 -43
- package/callbacks/subscriptions/postSlotAnimationChanged.ts +0 -40
- package/callbacks/subscriptions/postSlotDestroyed.ts +0 -55
- package/callbacks/subscriptions/postSlotInit.ts +0 -32
- package/callbacks/subscriptions/postSlotRender.ts +0 -32
- package/callbacks/subscriptions/postSlotUpdate.ts +0 -32
- package/callbacks/subscriptions/postSpikesRender.ts +0 -35
- package/callbacks/subscriptions/postSpikesUpdate.ts +0 -35
- package/callbacks/subscriptions/postTNTRender.ts +0 -35
- package/callbacks/subscriptions/postTNTUpdate.ts +0 -35
- package/callbacks/subscriptions/postTearInitLate.ts +0 -32
- package/callbacks/subscriptions/postTearInitVeryLate.ts +0 -32
- package/callbacks/subscriptions/postTransformation.ts +0 -40
- package/callbacks/subscriptions/postTrinketBreak.ts +0 -38
- package/callbacks/subscriptions/preBerserkDeath.ts +0 -42
- package/callbacks/subscriptions/preCustomRevive.ts +0 -46
- package/callbacks/subscriptions/preItemPickup.ts +0 -64
- package/callbacks/subscriptions/preNewLevel.ts +0 -24
- package/classes/DefaultMap.ts +0 -174
- package/classes/ModUpgraded.ts +0 -84
- package/constants.ts +0 -162
- package/constantsFirstLast.ts +0 -217
- package/enums/AmbushType.ts +0 -4
- package/enums/HealthType.ts +0 -16
- package/enums/ModCallbackCustom.ts +0 -1278
- package/enums/PocketItemType.ts +0 -8
- package/enums/SerializationType.ts +0 -5
- package/enums/SlotDestructionType.ts +0 -4
- package/enums/private/CopyableIsaacAPIClassType.ts +0 -7
- package/enums/private/SaveDataKey.ts +0 -14
- package/enums/private/SerializationBrand.ts +0 -42
- package/features/characterHealthConversion.ts +0 -111
- package/features/characterStats.ts +0 -61
- package/features/debugDisplay/debugDisplay.ts +0 -221
- package/features/debugDisplay/exports.ts +0 -368
- package/features/debugDisplay/v.ts +0 -65
- package/features/deployJSONRoom.ts +0 -743
- package/features/disableInputs.ts +0 -193
- package/features/disableSound.ts +0 -77
- package/features/extraConsoleCommands/commandsDisplay.ts +0 -290
- package/features/extraConsoleCommands/commandsSubroutines.ts +0 -139
- package/features/extraConsoleCommands/init.ts +0 -334
- package/features/extraConsoleCommands/listCommands.ts +0 -1299
- package/features/extraConsoleCommands/v.ts +0 -14
- package/features/fadeInRemover.ts +0 -60
- package/features/fastReset.ts +0 -75
- package/features/forgottenSwitch.ts +0 -50
- package/features/getCollectibleItemPoolType.ts +0 -66
- package/features/persistentEntities.ts +0 -183
- package/features/playerInventory.ts +0 -135
- package/features/ponyDetection.ts +0 -74
- package/features/preventCollectibleRotation.ts +0 -115
- package/features/runInNFrames.ts +0 -148
- package/features/saveDataManager/constants.ts +0 -4
- package/features/saveDataManager/exports.ts +0 -229
- package/features/saveDataManager/load.ts +0 -99
- package/features/saveDataManager/main.ts +0 -195
- package/features/saveDataManager/maps.ts +0 -13
- package/features/saveDataManager/merge.ts +0 -194
- package/features/saveDataManager/save.ts +0 -74
- package/features/saveDataManager/serializationBrand.ts +0 -16
- package/features/sirenHelpers.ts +0 -129
- package/features/taintedLazarusPlayers.ts +0 -113
- package/featuresInitialized.ts +0 -20
- package/functions/ambush.ts +0 -47
- package/functions/array.ts +0 -410
- package/functions/benchmark.ts +0 -36
- package/functions/bitwise.ts +0 -24
- package/functions/bombs.ts +0 -12
- package/functions/boss.ts +0 -227
- package/functions/cacheFlag.ts +0 -12
- package/functions/cards.ts +0 -271
- package/functions/challenges.ts +0 -13
- package/functions/character.ts +0 -126
- package/functions/charge.ts +0 -237
- package/functions/chargeBar.ts +0 -67
- package/functions/collectibleCacheFlag.ts +0 -90
- package/functions/collectibleSet.ts +0 -56
- package/functions/collectibleTag.ts +0 -89
- package/functions/collectibles.ts +0 -659
- package/functions/color.ts +0 -128
- package/functions/debug.ts +0 -68
- package/functions/deepCopy.ts +0 -535
- package/functions/deepCopyTests.ts +0 -386
- package/functions/direction.ts +0 -49
- package/functions/doors.ts +0 -347
- package/functions/easing.ts +0 -182
- package/functions/eden.ts +0 -47
- package/functions/effects.ts +0 -20
- package/functions/entity.ts +0 -439
- package/functions/entitySpecific.ts +0 -889
- package/functions/entityTypes.ts +0 -6
- package/functions/enums.ts +0 -146
- package/functions/familiars.ts +0 -106
- package/functions/flag.ts +0 -165
- package/functions/flying.ts +0 -117
- package/functions/globals.ts +0 -242
- package/functions/gridEntity.ts +0 -511
- package/functions/gridEntitySpecific.ts +0 -112
- package/functions/input.ts +0 -139
- package/functions/isaacAPIClass.ts +0 -67
- package/functions/jsonHelpers.ts +0 -45
- package/functions/jsonRoom.ts +0 -100
- package/functions/kColor.ts +0 -129
- package/functions/language.ts +0 -13
- package/functions/level.ts +0 -31
- package/functions/log.ts +0 -720
- package/functions/map.ts +0 -56
- package/functions/math.ts +0 -149
- package/functions/mergeTests.ts +0 -288
- package/functions/npc.ts +0 -148
- package/functions/pickupVariants.ts +0 -60
- package/functions/pickups.ts +0 -499
- package/functions/pills.ts +0 -205
- package/functions/player.ts +0 -1056
- package/functions/playerDataStructures.ts +0 -150
- package/functions/playerHealth.ts +0 -382
- package/functions/playerIndex.ts +0 -195
- package/functions/pocketItems.ts +0 -149
- package/functions/positionVelocity.ts +0 -188
- package/functions/random.ts +0 -77
- package/functions/revive.ts +0 -201
- package/functions/rng.ts +0 -172
- package/functions/roomData.ts +0 -199
- package/functions/roomGrid.ts +0 -109
- package/functions/roomShape.ts +0 -80
- package/functions/rooms.ts +0 -648
- package/functions/run.ts +0 -36
- package/functions/saveFile.ts +0 -128
- package/functions/seeds.ts +0 -19
- package/functions/serialization.ts +0 -91
- package/functions/set.ts +0 -95
- package/functions/sound.ts +0 -9
- package/functions/spawnCollectible.ts +0 -104
- package/functions/sprite.ts +0 -107
- package/functions/stage.ts +0 -125
- package/functions/string.ts +0 -47
- package/functions/table.ts +0 -189
- package/functions/tears.ts +0 -32
- package/functions/transformations.ts +0 -131
- package/functions/trinketCacheFlag.ts +0 -60
- package/functions/trinketGive.ts +0 -157
- package/functions/trinkets.ts +0 -215
- package/functions/tstlClass.ts +0 -157
- package/functions/types.ts +0 -36
- package/functions/ui.ts +0 -138
- package/functions/utils.ts +0 -189
- package/functions/vector.ts +0 -126
- package/index.ts +0 -172
- package/initCustomCallbacks.ts +0 -132
- package/initFeatures.ts +0 -39
- package/interfaces/AddCallbackParameterCustom.ts +0 -188
- package/interfaces/ChargeBarSprites.ts +0 -12
- package/interfaces/JSONDoor.ts +0 -13
- package/interfaces/JSONEntity.ts +0 -16
- package/interfaces/JSONRoom.ts +0 -36
- package/interfaces/JSONRooms.ts +0 -12
- package/interfaces/JSONSpawn.ts +0 -14
- package/interfaces/PlayerHealth.ts +0 -16
- package/interfaces/PocketItemDescription.ts +0 -9
- package/interfaces/SaveData.ts +0 -29
- package/interfaces/TrinketSituation.ts +0 -9
- package/interfaces/private/TSTLClassMetatable.ts +0 -8
- package/maps/PHDPillConversions.ts +0 -21
- package/maps/cardMap.ts +0 -209
- package/maps/characterMap.ts +0 -87
- package/maps/collectibleDescriptionMap.ts +0 -732
- package/maps/collectibleNameMap.ts +0 -731
- package/maps/defaultPlayerStatMap.ts +0 -17
- package/maps/falsePHDPillConversions.ts +0 -35
- package/maps/gridEntityTypeToBrokenStateMap.ts +0 -50
- package/maps/gridEntityXMLMap.ts +0 -176
- package/maps/pillEffectMap.ts +0 -88
- package/maps/roomShapeToTopLeftWallGridIndexMap.ts +0 -18
- package/maps/roomTypeMap.ts +0 -40
- package/maps/trinketDescriptionMap.ts +0 -200
- package/maps/trinketNameMap.ts +0 -198
- package/objects/LRoomShapeToRectangles.ts +0 -44
- package/objects/callbackRegisterFunctions.ts +0 -187
- package/objects/cardDescriptions.ts +0 -105
- package/objects/cardNames.ts +0 -105
- package/objects/cardTypes.ts +0 -104
- package/objects/challengeNames.ts +0 -52
- package/objects/characterNames.ts +0 -48
- package/objects/coinSubTypeToValue.ts +0 -14
- package/objects/colors.ts +0 -16
- package/objects/directionNames.ts +0 -11
- package/objects/directionToDegrees.ts +0 -11
- package/objects/directionToVector.ts +0 -12
- package/objects/doorSlotFlagToDoorSlot.ts +0 -16
- package/objects/doorSlotToDirection.ts +0 -14
- package/objects/isaacAPIClassTypeToBrand.ts +0 -11
- package/objects/isaacAPIClassTypeToCopyFunction.ts +0 -18
- package/objects/languageNames.ts +0 -13
- package/objects/oppositeDoorSlots.ts +0 -15
- package/objects/pillEffectClasses.ts +0 -63
- package/objects/pillEffectNames.ts +0 -57
- package/objects/pillEffectTypes.ts +0 -62
- package/objects/roomShapeBounds.ts +0 -71
- package/objects/roomShapeLayoutSizes.ts +0 -45
- package/objects/roomShapeToBottomRightPosition.ts +0 -25
- package/objects/roomShapeToDoorSlots.ts +0 -83
- package/objects/roomShapeToDoorSlotsToGridIndexDelta.ts +0 -127
- package/objects/roomShapeToGridWidth.ts +0 -21
- package/objects/roomShapeToTopLeftPosition.ts +0 -26
- package/objects/roomShapeVolumes.ts +0 -38
- package/objects/roomTypeNames.ts +0 -36
- package/objects/serializedIsaacAPIClassTypeToIdentityFunction.ts +0 -14
- package/objects/stageTypeToLetter.ts +0 -15
- package/objects/transformationNames.ts +0 -18
- package/patchErrorFunctions.ts +0 -92
- package/sets/LRoomShapesSet.ts +0 -8
- package/sets/bossSets.ts +0 -470
- package/sets/charactersThatStartWithAnActiveItemSet.ts +0 -16
- package/sets/charactersWithBlackHeartFromEternalHeartSet.ts +0 -7
- package/sets/charactersWithFreeDevilDealsSet.ts +0 -4
- package/sets/charactersWithNoRedHeartsSet.ts +0 -17
- package/sets/charactersWithNoSoulHeartsSet.ts +0 -14
- package/sets/chestPickupVariantsSet.ts +0 -16
- package/sets/familiarsThatShootPlayerTearsSet.ts +0 -13
- package/sets/lostStyleCharactersSet.ts +0 -13
- package/sets/mineShaftRoomSubTypesSet.ts +0 -10
- package/sets/redHeartSubTypesSet.ts +0 -7
- package/sets/sinEntityTypesSet.ts +0 -11
- package/sets/singleUseActiveCollectibleTypesSet.ts +0 -13
- package/sets/storyBossesSet.ts +0 -17
- package/types/AnyEntity.ts +0 -12
- package/types/AwaitingTextInput.d.ts +0 -2
- package/types/CollectibleIndex.ts +0 -16
- package/types/PickingUpItem.ts +0 -89
- package/types/PlayerIndex.ts +0 -13
- package/types/private/IsaacAPIClass.ts +0 -3
- package/types/private/SerializedIsaacAPIClass.ts +0 -3
- package/types/private/TSTLClass.ts +0 -3
- package/upgradeMod.ts +0 -55
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { PostAmbushFinishedRegisterParameters } from "../callbacks/subscriptions/postAmbushFinished";
|
|
2
|
-
import { PostAmbushStartedRegisterParameters } from "../callbacks/subscriptions/postAmbushStarted";
|
|
3
|
-
import { PostBombInitRegisterParameters } from "../callbacks/subscriptions/postBombInitLate";
|
|
4
|
-
import { PostBombExplodedRegisterParameters } from "../callbacks/subscriptions/postBoneExploded";
|
|
5
|
-
import { PostBoneSwingRegisterParameters } from "../callbacks/subscriptions/postBoneSwing";
|
|
6
|
-
import { PostCollectibleInitFirstRegisterParameters } from "../callbacks/subscriptions/postCollectibleInitFirst";
|
|
7
|
-
import { PostCursedTeleportRegisterParameters } from "../callbacks/subscriptions/postCursedTeleport";
|
|
8
|
-
import { PostCustomDoorEnterRegisterParameters } from "../callbacks/subscriptions/postCustomDoorEnter";
|
|
9
|
-
import { PostCustomReviveRegisterParameters } from "../callbacks/subscriptions/postCustomRevive";
|
|
10
|
-
import { PostDiceRoomActivatedRegisterParameters } from "../callbacks/subscriptions/postDiceRoomActivated";
|
|
11
|
-
import { PostDoorRenderRegisterParameters } from "../callbacks/subscriptions/postDoorRender";
|
|
12
|
-
import { PostDoorUpdateRegisterParameters } from "../callbacks/subscriptions/postDoorUpdate";
|
|
13
|
-
import { PostEffectInitLateRegisterParameters } from "../callbacks/subscriptions/postEffectInitLate";
|
|
14
|
-
import { PostEffectStateChangedRegisterParameters } from "../callbacks/subscriptions/postEffectStateChanged";
|
|
15
|
-
import { PostEsauJrRegisterParameters } from "../callbacks/subscriptions/postEsauJr";
|
|
16
|
-
import { PostFamiliarInitLateRegisterParameters } from "../callbacks/subscriptions/postFamiliarInitLate";
|
|
17
|
-
import { PostFamiliarStateChangedRegisterParameters } from "../callbacks/subscriptions/postFamiliarStateChanged";
|
|
18
|
-
import { PostFirstEsauJrRegisterParameters } from "../callbacks/subscriptions/postFirstEsauJr";
|
|
19
|
-
import { PostFirstFlipRegisterParameters } from "../callbacks/subscriptions/postFirstFlip";
|
|
20
|
-
import { PostFlipRegisterParameters } from "../callbacks/subscriptions/postFlip";
|
|
21
|
-
import { PostGameStartedReorderedRegisterParameters } from "../callbacks/subscriptions/postGameStartedReordered";
|
|
22
|
-
import { PostGreedModeWaveRegisterParameters } from "../callbacks/subscriptions/postGreedModeWave";
|
|
23
|
-
import { PostGridEntityBrokenRegisterParameters } from "../callbacks/subscriptions/postGridEntityBroken";
|
|
24
|
-
import { PostGridEntityCollisionRegisterParameters } from "../callbacks/subscriptions/postGridEntityCollision";
|
|
25
|
-
import { PostGridEntityInitRegisterParameters } from "../callbacks/subscriptions/postGridEntityInit";
|
|
26
|
-
import { PostGridEntityRemoveRegisterParameters } from "../callbacks/subscriptions/postGridEntityRemove";
|
|
27
|
-
import { PostGridEntityRenderRegisterParameters } from "../callbacks/subscriptions/postGridEntityRender";
|
|
28
|
-
import { PostGridEntityStateChangedRegisterParameters } from "../callbacks/subscriptions/postGridEntityStateChanged";
|
|
29
|
-
import { PostGridEntityUpdateRegisterParameters } from "../callbacks/subscriptions/postGridEntityUpdate";
|
|
30
|
-
import { PostHolyMantleRemovedRegisterParameters } from "../callbacks/subscriptions/postHolyMantleRemoved";
|
|
31
|
-
import { PostItemDischargedRegisterParameters } from "../callbacks/subscriptions/postItemDischarged";
|
|
32
|
-
import { PostItemPickupRegisterParameters } from "../callbacks/subscriptions/postItemPickup";
|
|
33
|
-
import { PostKnifeInitLateRegisterParameters } from "../callbacks/subscriptions/postKnifeInitLate";
|
|
34
|
-
import { PostLaserInitLateRegisterParameters } from "../callbacks/subscriptions/postLaserInitLate";
|
|
35
|
-
import { PostNewLevelReorderedRegisterParameters } from "../callbacks/subscriptions/postNewLevelReordered";
|
|
36
|
-
import { PostNewRoomEarlyRegisterParameters } from "../callbacks/subscriptions/postNewRoomEarly";
|
|
37
|
-
import { PostNewRoomReorderedRegisterParameters } from "../callbacks/subscriptions/postNewRoomReordered";
|
|
38
|
-
import { PostNPCInitLateRegisterParameters } from "../callbacks/subscriptions/postNPCInitLate";
|
|
39
|
-
import { PostNPCStateChangedRegisterParameters } from "../callbacks/subscriptions/postNPCStateChanged";
|
|
40
|
-
import { PostPEffectUpdateReorderedRegisterParameters } from "../callbacks/subscriptions/postPEffectUpdateReordered";
|
|
41
|
-
import { PostPickupCollectRegisterParameters } from "../callbacks/subscriptions/postPickupCollect";
|
|
42
|
-
import { PostPickupInitFirstRegisterParameters } from "../callbacks/subscriptions/postPickupInitFirst";
|
|
43
|
-
import { PostPickupInitLateRegisterParameters } from "../callbacks/subscriptions/postPickupInitLate";
|
|
44
|
-
import { PostPickupStateChangedRegisterParameters } from "../callbacks/subscriptions/postPickupStateChanged";
|
|
45
|
-
import { PostPitRenderRegisterParameters } from "../callbacks/subscriptions/postPitRender";
|
|
46
|
-
import { PostPitUpdateRegisterParameters } from "../callbacks/subscriptions/postPitUpdate";
|
|
47
|
-
import { PostPlayerChangeHealthRegisterParameters } from "../callbacks/subscriptions/postPlayerChangeHealth";
|
|
48
|
-
import { PostPlayerChangeTypeRegisterParameters } from "../callbacks/subscriptions/postPlayerChangeType";
|
|
49
|
-
import { PostPlayerCollectibleAddedRegisterParameters } from "../callbacks/subscriptions/postPlayerCollectibleAdded";
|
|
50
|
-
import { PostPlayerCollectibleRemovedRegisterParameters } from "../callbacks/subscriptions/postPlayerCollectibleRemoved";
|
|
51
|
-
import { PostPlayerFatalDamageRegisterParameters } from "../callbacks/subscriptions/postPlayerFatalDamage";
|
|
52
|
-
import { PostPlayerInitLateRegisterParameters } from "../callbacks/subscriptions/postPlayerInitLate";
|
|
53
|
-
import { PostPlayerInitReorderedRegisterParameters } from "../callbacks/subscriptions/postPlayerInitReordered";
|
|
54
|
-
import { PostPlayerRenderReorderedRegisterParameters } from "../callbacks/subscriptions/postPlayerRenderReordered";
|
|
55
|
-
import { PostPlayerUpdateReorderedRegisterParameters } from "../callbacks/subscriptions/postPlayerUpdateReordered";
|
|
56
|
-
import { PostPoopRenderRegisterParameters } from "../callbacks/subscriptions/postPoopRender";
|
|
57
|
-
import { PostPoopUpdateRegisterParameters } from "../callbacks/subscriptions/postPoopUpdate";
|
|
58
|
-
import { PostPressurePlateRenderRegisterParameters } from "../callbacks/subscriptions/postPressurePlateRender";
|
|
59
|
-
import { PostPressurePlateUpdateRegisterParameters } from "../callbacks/subscriptions/postPressurePlateUpdate";
|
|
60
|
-
import { PostProjectileInitLateRegisterParameters } from "../callbacks/subscriptions/postProjectileInitLate";
|
|
61
|
-
import { PostPurchaseRegisterParameters } from "../callbacks/subscriptions/postPurchase";
|
|
62
|
-
import { PostRockRenderRegisterParameters } from "../callbacks/subscriptions/postRockRender";
|
|
63
|
-
import { PostRockUpdateRegisterParameters } from "../callbacks/subscriptions/postRockUpdate";
|
|
64
|
-
import { PostRoomClearChangedRegisterParameters } from "../callbacks/subscriptions/postRoomClearChanged";
|
|
65
|
-
import { PostSacrificeRegisterParameters } from "../callbacks/subscriptions/postSacrifice";
|
|
66
|
-
import { PostSlotAnimationChangedRegisterParameters } from "../callbacks/subscriptions/postSlotAnimationChanged";
|
|
67
|
-
import { PostSlotDestroyedRegisterParameters } from "../callbacks/subscriptions/postSlotDestroyed";
|
|
68
|
-
import { PostSlotInitRegisterParameters } from "../callbacks/subscriptions/postSlotInit";
|
|
69
|
-
import { PostSlotRenderRegisterParameters } from "../callbacks/subscriptions/postSlotRender";
|
|
70
|
-
import { PostSlotUpdateRegisterParameters } from "../callbacks/subscriptions/postSlotUpdate";
|
|
71
|
-
import { PostSpikesRenderRegisterParameters } from "../callbacks/subscriptions/postSpikesRender";
|
|
72
|
-
import { PostSpikesUpdateRegisterParameters } from "../callbacks/subscriptions/postSpikesUpdate";
|
|
73
|
-
import { PostTearInitLateRegisterParameters } from "../callbacks/subscriptions/postTearInitLate";
|
|
74
|
-
import { PostTearInitVeryLateRegisterParameters } from "../callbacks/subscriptions/postTearInitVeryLate";
|
|
75
|
-
import { PostTNTRenderRegisterParameters } from "../callbacks/subscriptions/postTNTRender";
|
|
76
|
-
import { PostTNTUpdateRegisterParameters } from "../callbacks/subscriptions/postTNTUpdate";
|
|
77
|
-
import { PostTransformationRegisterParameters } from "../callbacks/subscriptions/postTransformation";
|
|
78
|
-
import { PostTrinketBreakRegisterParameters } from "../callbacks/subscriptions/postTrinketBreak";
|
|
79
|
-
import { PreBerserkDeathRegisterParameters } from "../callbacks/subscriptions/preBerserkDeath";
|
|
80
|
-
import { PreCustomReviveRegisterParameters } from "../callbacks/subscriptions/preCustomRevive";
|
|
81
|
-
import { PreItemPickupRegisterParameters } from "../callbacks/subscriptions/preItemPickup";
|
|
82
|
-
import { PreNewLevelRegisterParameters } from "../callbacks/subscriptions/preNewLevel";
|
|
83
|
-
import { ModCallbackCustom } from "../enums/ModCallbackCustom";
|
|
84
|
-
|
|
85
|
-
export interface AddCallbackParameterCustom {
|
|
86
|
-
[ModCallbackCustom.POST_AMBUSH_FINISHED]: PostAmbushFinishedRegisterParameters;
|
|
87
|
-
[ModCallbackCustom.POST_AMBUSH_STARTED]: PostAmbushStartedRegisterParameters;
|
|
88
|
-
[ModCallbackCustom.POST_BOMB_EXPLODED]: PostBombExplodedRegisterParameters;
|
|
89
|
-
[ModCallbackCustom.POST_BOMB_INIT_LATE]: PostBombInitRegisterParameters;
|
|
90
|
-
[ModCallbackCustom.POST_BONE_SWING]: PostBoneSwingRegisterParameters;
|
|
91
|
-
[ModCallbackCustom.POST_COLLECTIBLE_INIT_FIRST]: PostCollectibleInitFirstRegisterParameters;
|
|
92
|
-
[ModCallbackCustom.POST_CURSED_TELEPORT]: PostCursedTeleportRegisterParameters;
|
|
93
|
-
[ModCallbackCustom.POST_CUSTOM_DOOR_ENTER]: PostCustomDoorEnterRegisterParameters;
|
|
94
|
-
[ModCallbackCustom.POST_CUSTOM_REVIVE]: PostCustomReviveRegisterParameters;
|
|
95
|
-
[ModCallbackCustom.POST_DICE_ROOM_ACTIVATED]: PostDiceRoomActivatedRegisterParameters;
|
|
96
|
-
[ModCallbackCustom.POST_DOOR_RENDER]: PostDoorRenderRegisterParameters;
|
|
97
|
-
[ModCallbackCustom.POST_DOOR_UPDATE]: PostDoorUpdateRegisterParameters;
|
|
98
|
-
[ModCallbackCustom.POST_EFFECT_INIT_LATE]: PostEffectInitLateRegisterParameters;
|
|
99
|
-
[ModCallbackCustom.POST_EFFECT_STATE_CHANGED]: PostEffectStateChangedRegisterParameters;
|
|
100
|
-
[ModCallbackCustom.POST_ESAU_JR]: PostEsauJrRegisterParameters;
|
|
101
|
-
[ModCallbackCustom.POST_FAMILIAR_INIT_LATE]: PostFamiliarInitLateRegisterParameters;
|
|
102
|
-
[ModCallbackCustom.POST_FAMILIAR_STATE_CHANGED]: PostFamiliarStateChangedRegisterParameters;
|
|
103
|
-
[ModCallbackCustom.POST_FIRST_ESAU_JR]: PostFirstEsauJrRegisterParameters;
|
|
104
|
-
[ModCallbackCustom.POST_FIRST_FLIP]: PostFirstFlipRegisterParameters;
|
|
105
|
-
[ModCallbackCustom.POST_FLIP]: PostFlipRegisterParameters;
|
|
106
|
-
[ModCallbackCustom.POST_GAME_STARTED_REORDERED]: PostGameStartedReorderedRegisterParameters;
|
|
107
|
-
[ModCallbackCustom.POST_GREED_MODE_WAVE]: PostGreedModeWaveRegisterParameters;
|
|
108
|
-
[ModCallbackCustom.POST_GRID_ENTITY_BROKEN]: PostGridEntityBrokenRegisterParameters;
|
|
109
|
-
[ModCallbackCustom.POST_GRID_ENTITY_COLLISION]: PostGridEntityCollisionRegisterParameters;
|
|
110
|
-
[ModCallbackCustom.POST_GRID_ENTITY_INIT]: PostGridEntityInitRegisterParameters;
|
|
111
|
-
[ModCallbackCustom.POST_GRID_ENTITY_REMOVE]: PostGridEntityRemoveRegisterParameters;
|
|
112
|
-
[ModCallbackCustom.POST_GRID_ENTITY_RENDER]: PostGridEntityRenderRegisterParameters;
|
|
113
|
-
[ModCallbackCustom.POST_GRID_ENTITY_STATE_CHANGED]: PostGridEntityStateChangedRegisterParameters;
|
|
114
|
-
[ModCallbackCustom.POST_GRID_ENTITY_UPDATE]: PostGridEntityUpdateRegisterParameters;
|
|
115
|
-
[ModCallbackCustom.POST_HOLY_MANTLE_REMOVED]: PostHolyMantleRemovedRegisterParameters;
|
|
116
|
-
[ModCallbackCustom.POST_ITEM_DISCHARGE]: PostItemDischargedRegisterParameters;
|
|
117
|
-
[ModCallbackCustom.POST_ITEM_PICKUP]: PostItemPickupRegisterParameters;
|
|
118
|
-
[ModCallbackCustom.POST_KNIFE_INIT_LATE]: PostKnifeInitLateRegisterParameters;
|
|
119
|
-
[ModCallbackCustom.POST_LASER_INIT_LATE]: PostLaserInitLateRegisterParameters;
|
|
120
|
-
[ModCallbackCustom.POST_NEW_LEVEL_REORDERED]: PostNewLevelReorderedRegisterParameters;
|
|
121
|
-
[ModCallbackCustom.POST_NEW_ROOM_EARLY]: PostNewRoomEarlyRegisterParameters;
|
|
122
|
-
[ModCallbackCustom.POST_NEW_ROOM_REORDERED]: PostNewRoomReorderedRegisterParameters;
|
|
123
|
-
[ModCallbackCustom.POST_NPC_INIT_LATE]: PostNPCInitLateRegisterParameters;
|
|
124
|
-
[ModCallbackCustom.POST_NPC_STATE_CHANGED]: PostNPCStateChangedRegisterParameters;
|
|
125
|
-
[ModCallbackCustom.POST_PEFFECT_UPDATE_REORDERED]: PostPEffectUpdateReorderedRegisterParameters;
|
|
126
|
-
[ModCallbackCustom.POST_PICKUP_COLLECT]: PostPickupCollectRegisterParameters;
|
|
127
|
-
[ModCallbackCustom.POST_PICKUP_INIT_FIRST]: PostPickupInitFirstRegisterParameters;
|
|
128
|
-
[ModCallbackCustom.POST_PICKUP_INIT_LATE]: PostPickupInitLateRegisterParameters;
|
|
129
|
-
[ModCallbackCustom.POST_PICKUP_STATE_CHANGED]: PostPickupStateChangedRegisterParameters;
|
|
130
|
-
[ModCallbackCustom.POST_PIT_RENDER]: PostPitRenderRegisterParameters;
|
|
131
|
-
[ModCallbackCustom.POST_PIT_UPDATE]: PostPitUpdateRegisterParameters;
|
|
132
|
-
[ModCallbackCustom.POST_PLAYER_CHANGE_HEALTH]: PostPlayerChangeHealthRegisterParameters;
|
|
133
|
-
[ModCallbackCustom.POST_PLAYER_CHANGE_TYPE]: PostPlayerChangeTypeRegisterParameters;
|
|
134
|
-
[ModCallbackCustom.POST_PLAYER_COLLECTIBLE_ADDED]: PostPlayerCollectibleAddedRegisterParameters;
|
|
135
|
-
[ModCallbackCustom.POST_PLAYER_COLLECTIBLE_REMOVED]: PostPlayerCollectibleRemovedRegisterParameters;
|
|
136
|
-
[ModCallbackCustom.POST_PLAYER_FATAL_DAMAGE]: PostPlayerFatalDamageRegisterParameters;
|
|
137
|
-
[ModCallbackCustom.POST_PLAYER_INIT_LATE]: PostPlayerInitLateRegisterParameters;
|
|
138
|
-
[ModCallbackCustom.POST_PLAYER_INIT_REORDERED]: PostPlayerInitReorderedRegisterParameters;
|
|
139
|
-
[ModCallbackCustom.POST_PLAYER_RENDER_REORDERED]: PostPlayerRenderReorderedRegisterParameters;
|
|
140
|
-
[ModCallbackCustom.POST_PLAYER_UPDATE_REORDERED]: PostPlayerUpdateReorderedRegisterParameters;
|
|
141
|
-
[ModCallbackCustom.POST_POOP_RENDER]: PostPoopRenderRegisterParameters;
|
|
142
|
-
[ModCallbackCustom.POST_POOP_UPDATE]: PostPoopUpdateRegisterParameters;
|
|
143
|
-
[ModCallbackCustom.POST_PRESSURE_PLATE_RENDER]: PostPressurePlateRenderRegisterParameters;
|
|
144
|
-
[ModCallbackCustom.POST_PRESSURE_PLATE_UPDATE]: PostPressurePlateUpdateRegisterParameters;
|
|
145
|
-
[ModCallbackCustom.POST_PROJECTILE_INIT_LATE]: PostProjectileInitLateRegisterParameters;
|
|
146
|
-
[ModCallbackCustom.POST_PURCHASE]: PostPurchaseRegisterParameters;
|
|
147
|
-
[ModCallbackCustom.POST_ROCK_RENDER]: PostRockRenderRegisterParameters;
|
|
148
|
-
[ModCallbackCustom.POST_ROCK_UPDATE]: PostRockUpdateRegisterParameters;
|
|
149
|
-
[ModCallbackCustom.POST_ROOM_CLEAR_CHANGED]: PostRoomClearChangedRegisterParameters;
|
|
150
|
-
[ModCallbackCustom.POST_SACRIFICE]: PostSacrificeRegisterParameters;
|
|
151
|
-
[ModCallbackCustom.POST_SLOT_ANIMATION_CHANGED]: PostSlotAnimationChangedRegisterParameters;
|
|
152
|
-
[ModCallbackCustom.POST_SLOT_DESTROYED]: PostSlotDestroyedRegisterParameters;
|
|
153
|
-
[ModCallbackCustom.POST_SLOT_INIT]: PostSlotInitRegisterParameters;
|
|
154
|
-
[ModCallbackCustom.POST_SLOT_RENDER]: PostSlotRenderRegisterParameters;
|
|
155
|
-
[ModCallbackCustom.POST_SLOT_UPDATE]: PostSlotUpdateRegisterParameters;
|
|
156
|
-
[ModCallbackCustom.POST_SPIKES_RENDER]: PostSpikesRenderRegisterParameters;
|
|
157
|
-
[ModCallbackCustom.POST_SPIKES_UPDATE]: PostSpikesUpdateRegisterParameters;
|
|
158
|
-
[ModCallbackCustom.POST_TEAR_INIT_LATE]: PostTearInitLateRegisterParameters;
|
|
159
|
-
[ModCallbackCustom.POST_TEAR_INIT_VERY_LATE]: PostTearInitVeryLateRegisterParameters;
|
|
160
|
-
[ModCallbackCustom.POST_TNT_RENDER]: PostTNTRenderRegisterParameters;
|
|
161
|
-
[ModCallbackCustom.POST_TNT_UPDATE]: PostTNTUpdateRegisterParameters;
|
|
162
|
-
[ModCallbackCustom.POST_TRANSFORMATION]: PostTransformationRegisterParameters;
|
|
163
|
-
[ModCallbackCustom.POST_TRINKET_BREAK]: PostTrinketBreakRegisterParameters;
|
|
164
|
-
[ModCallbackCustom.PRE_BERSERK_DEATH]: PreBerserkDeathRegisterParameters;
|
|
165
|
-
[ModCallbackCustom.PRE_CUSTOM_REVIVE]: PreCustomReviveRegisterParameters;
|
|
166
|
-
[ModCallbackCustom.PRE_ITEM_PICKUP]: PreItemPickupRegisterParameters;
|
|
167
|
-
[ModCallbackCustom.PRE_NEW_LEVEL]: PreNewLevelRegisterParameters;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
// Make copies of the objects we need to verify so that we can easily re-use the code block below.
|
|
171
|
-
type EnumToCheck = ModCallbackCustom;
|
|
172
|
-
type InterfaceToCheck = AddCallbackParameterCustom;
|
|
173
|
-
|
|
174
|
-
// Throw a compiler error if InterfaceToCheck does not match the values of EnumToCheck.
|
|
175
|
-
// From: https://stackoverflow.com/questions/51829842
|
|
176
|
-
type KeysMissing = Exclude<EnumToCheck, keyof InterfaceToCheck>;
|
|
177
|
-
type ExtraKeys = {
|
|
178
|
-
[K in keyof InterfaceToCheck]: Extract<EnumToCheck, K> extends never
|
|
179
|
-
? K
|
|
180
|
-
: never;
|
|
181
|
-
}[keyof InterfaceToCheck];
|
|
182
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
183
|
-
type Verify<
|
|
184
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
185
|
-
_Missing extends never = KeysMissing,
|
|
186
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
187
|
-
_Extra extends never = ExtraKeys,
|
|
188
|
-
> = 0;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A collection of the four sprites necessary in order to render a charge bar.
|
|
3
|
-
*
|
|
4
|
-
* Used in the `newChargeBarSprites` and related helper functions.
|
|
5
|
-
*/
|
|
6
|
-
export interface ChargeBarSprites {
|
|
7
|
-
back: Sprite;
|
|
8
|
-
meter: Sprite;
|
|
9
|
-
meterBattery: Sprite;
|
|
10
|
-
lines: Sprite;
|
|
11
|
-
maxCharges: int;
|
|
12
|
-
}
|
package/interfaces/JSONDoor.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** Part of `JSONRooms`. */
|
|
2
|
-
export interface JSONDoor {
|
|
3
|
-
$: {
|
|
4
|
-
/** Equal to "True" or "False". Needs to be converted to an `boolean`. */
|
|
5
|
-
exists: string;
|
|
6
|
-
|
|
7
|
-
/** Needs to be converted to an `int`. */
|
|
8
|
-
x: string;
|
|
9
|
-
|
|
10
|
-
/** Needs to be converted to an `int`. */
|
|
11
|
-
y: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
package/interfaces/JSONEntity.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** Part of `JSONRooms`. */
|
|
2
|
-
export interface JSONEntity {
|
|
3
|
-
$: {
|
|
4
|
-
/** Needs to be converted to an `int`. */
|
|
5
|
-
type: string;
|
|
6
|
-
|
|
7
|
-
/** Needs to be converted to an `int`. */
|
|
8
|
-
variant: string;
|
|
9
|
-
|
|
10
|
-
/** Needs to be converted to an `int`. */
|
|
11
|
-
subtype: string;
|
|
12
|
-
|
|
13
|
-
/** Needs to be converted to a `float`. */
|
|
14
|
-
weight: string;
|
|
15
|
-
};
|
|
16
|
-
}
|
package/interfaces/JSONRoom.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { JSONDoor } from "./JSONDoor";
|
|
2
|
-
import { JSONSpawn } from "./JSONSpawn";
|
|
3
|
-
|
|
4
|
-
/** Part of `JSONRooms`. */
|
|
5
|
-
export interface JSONRoom {
|
|
6
|
-
$: {
|
|
7
|
-
/** Needs to be converted to an `int`. */
|
|
8
|
-
difficulty: string;
|
|
9
|
-
|
|
10
|
-
/** Needs to be converted to an `int`. */
|
|
11
|
-
height: string;
|
|
12
|
-
|
|
13
|
-
name: string;
|
|
14
|
-
|
|
15
|
-
/** Needs to be converted to an `int`. */
|
|
16
|
-
shape: string;
|
|
17
|
-
|
|
18
|
-
/** Needs to be converted to an `int`. */
|
|
19
|
-
subtype: string;
|
|
20
|
-
|
|
21
|
-
/** Needs to be converted to an `int`. */
|
|
22
|
-
type: string;
|
|
23
|
-
|
|
24
|
-
/** Needs to be converted to an `int`. */
|
|
25
|
-
variant: string;
|
|
26
|
-
|
|
27
|
-
/** Needs to be converted to a `float`. */
|
|
28
|
-
weight: string;
|
|
29
|
-
|
|
30
|
-
/** Needs to be converted to an `int`. */
|
|
31
|
-
width: string;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
door: JSONDoor[];
|
|
35
|
-
spawn: JSONSpawn[];
|
|
36
|
-
}
|
package/interfaces/JSONRooms.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { JSONRoom } from "./JSONRoom";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Custom rooms are created with the Basement Renovator program, which outputs XML files and STB
|
|
5
|
-
* files. A `JSONRooms` object is simply an XML file converted to JSON. You can convert your XML
|
|
6
|
-
* files using the following command: `npx convert-xml-to-json foo.xml foo.json`
|
|
7
|
-
*/
|
|
8
|
-
export interface JSONRooms {
|
|
9
|
-
rooms: {
|
|
10
|
-
room: JSONRoom[];
|
|
11
|
-
};
|
|
12
|
-
}
|
package/interfaces/JSONSpawn.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { JSONEntity } from "./JSONEntity";
|
|
2
|
-
|
|
3
|
-
/** Part of `JSONRooms`. */
|
|
4
|
-
export interface JSONSpawn {
|
|
5
|
-
$: {
|
|
6
|
-
/** Needs to be converted to an `int`. */
|
|
7
|
-
x: string;
|
|
8
|
-
|
|
9
|
-
/** Needs to be converted to an `int`. */
|
|
10
|
-
y: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
entity: JSONEntity[];
|
|
14
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { HeartSubType } from "isaac-typescript-definitions";
|
|
2
|
-
|
|
3
|
-
/** Used by the `getPlayerHealth` and `setPlayerHealth` helper functions. */
|
|
4
|
-
export interface PlayerHealth {
|
|
5
|
-
maxHearts: int;
|
|
6
|
-
hearts: int;
|
|
7
|
-
eternalHearts: int;
|
|
8
|
-
soulHearts: int;
|
|
9
|
-
boneHearts: int;
|
|
10
|
-
goldenHearts: int;
|
|
11
|
-
rottenHearts: int;
|
|
12
|
-
brokenHearts: int;
|
|
13
|
-
soulCharges: int;
|
|
14
|
-
bloodCharges: int;
|
|
15
|
-
soulHeartTypes: HeartSubType[];
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PocketItemSlot } from "isaac-typescript-definitions";
|
|
2
|
-
import { PocketItemType } from "../enums/PocketItemType";
|
|
3
|
-
|
|
4
|
-
/** Used by the `getPocketItems` and related helper functions. */
|
|
5
|
-
export interface PocketItemDescription {
|
|
6
|
-
slot: PocketItemSlot;
|
|
7
|
-
type: PocketItemType;
|
|
8
|
-
subType: int;
|
|
9
|
-
}
|
package/interfaces/SaveData.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is the format of the object that you give to the save data manager. It will contains all of
|
|
3
|
-
* the variables for the particular mod feature.
|
|
4
|
-
*
|
|
5
|
-
* Depending on which object keys you use, the variables will be automatically reset at certain
|
|
6
|
-
* times and automatically saved to disk.
|
|
7
|
-
*
|
|
8
|
-
* Each sub-object of save data has a string as a key and arbitrary data as a value. However, the
|
|
9
|
-
* data has to be serializable. Specifically, this means that you can only use the following types:
|
|
10
|
-
*
|
|
11
|
-
* - `boolean`
|
|
12
|
-
* - `number`
|
|
13
|
-
* - `string`
|
|
14
|
-
* - `Map` / `DefaultMap`
|
|
15
|
-
* - `Set`
|
|
16
|
-
* - serializable Isaac API classes (such as `Color`)
|
|
17
|
-
* - TSTL classes (i.e. classes that you made yourself)
|
|
18
|
-
* - sub-objects or a `LuaTable` that contains the above values
|
|
19
|
-
*
|
|
20
|
-
* (Unfortunately, it is not possible to create a recursive type definition that matches these
|
|
21
|
-
* properties. This means that the TypeScript compiler will not be able to validate that you are
|
|
22
|
-
* passing in serializable data.)
|
|
23
|
-
*/
|
|
24
|
-
export interface SaveData {
|
|
25
|
-
persistent?: Record<string, unknown>;
|
|
26
|
-
run?: Record<string, unknown>;
|
|
27
|
-
level?: Record<string, unknown>;
|
|
28
|
-
room?: Record<string, unknown>;
|
|
29
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TrinketType } from "isaac-typescript-definitions";
|
|
2
|
-
|
|
3
|
-
/** Used by the `temporarilyRemoveTrinkets` and related helper functions. */
|
|
4
|
-
export interface TrinketSituation {
|
|
5
|
-
trinketTypeRemoved: TrinketType;
|
|
6
|
-
trinketType1: TrinketType;
|
|
7
|
-
trinketType2: TrinketType;
|
|
8
|
-
numSmeltedTrinkets: int;
|
|
9
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PillEffect } from "isaac-typescript-definitions";
|
|
2
|
-
|
|
3
|
-
export const PHD_PILL_CONVERSIONS: ReadonlyMap<PillEffect, PillEffect> =
|
|
4
|
-
new Map([
|
|
5
|
-
[PillEffect.BAD_TRIP, PillEffect.BALLS_OF_STEEL], // 1
|
|
6
|
-
[PillEffect.HEALTH_DOWN, PillEffect.HEALTH_UP], // 6
|
|
7
|
-
[PillEffect.RANGE_DOWN, PillEffect.RANGE_UP], // 11
|
|
8
|
-
[PillEffect.SPEED_DOWN, PillEffect.SPEED_UP], // 13
|
|
9
|
-
[PillEffect.TEARS_DOWN, PillEffect.TEARS_UP], // 15
|
|
10
|
-
[PillEffect.LUCK_DOWN, PillEffect.LUCK_UP], // 17
|
|
11
|
-
[PillEffect.PARALYSIS, PillEffect.PHEROMONES], // 22
|
|
12
|
-
[PillEffect.AMNESIA, PillEffect.I_CAN_SEE_FOREVER], // 25
|
|
13
|
-
[PillEffect.R_U_A_WIZARD, PillEffect.POWER], // 27
|
|
14
|
-
[PillEffect.ADDICTED, PillEffect.PERCS], // 29
|
|
15
|
-
[PillEffect.QUESTION_MARKS, PillEffect.TELEPILLS], // 31
|
|
16
|
-
[PillEffect.RETRO_VISION, PillEffect.I_CAN_SEE_FOREVER], // 37
|
|
17
|
-
[PillEffect.X_LAX, PillEffect.SOMETHINGS_WRONG], // 39
|
|
18
|
-
[PillEffect.IM_EXCITED, PillEffect.IM_DROWSY], // 42
|
|
19
|
-
[PillEffect.HORF, PillEffect.GULP], // 44
|
|
20
|
-
[PillEffect.SHOT_SPEED_DOWN, PillEffect.SHOT_SPEED_UP], // 47
|
|
21
|
-
]);
|
package/maps/cardMap.ts
DELETED
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import { Card } from "isaac-typescript-definitions";
|
|
2
|
-
|
|
3
|
-
// cspell:ignore hiero
|
|
4
|
-
|
|
5
|
-
/** Maps card names to card sub-types. */
|
|
6
|
-
export const CARD_MAP: ReadonlyMap<string, Card> = new Map([
|
|
7
|
-
["fool", Card.FOOL], // 1
|
|
8
|
-
["magician", Card.MAGICIAN], // 2
|
|
9
|
-
["mag", Card.MAGICIAN], // 2 - Needed since we have "mag?"
|
|
10
|
-
["highPriestess", Card.HIGH_PRIESTESS], // 3
|
|
11
|
-
["priestess", Card.HIGH_PRIESTESS], // 3
|
|
12
|
-
["priest", Card.HIGH_PRIESTESS], // 3 - Needed since we have "priest?"
|
|
13
|
-
["hp", Card.HIGH_PRIESTESS], // 3
|
|
14
|
-
["empress", Card.EMPRESS], // 4
|
|
15
|
-
["emperor", Card.EMPEROR], // 5
|
|
16
|
-
["emp", Card.EMPEROR], // 5 - Needed since we have "hemp?"
|
|
17
|
-
["hierophant", Card.HIEROPHANT], // 6
|
|
18
|
-
["hi", Card.HIEROPHANT], // 6 - Needed since we have "hiero?"
|
|
19
|
-
["lovers", Card.LOVERS], // 7
|
|
20
|
-
["chariot", Card.CHARIOT], // 8
|
|
21
|
-
["justice", Card.JUSTICE], // 9
|
|
22
|
-
["hermit", Card.HERMIT], // 10
|
|
23
|
-
["wheelOfFortune", Card.WHEEL_OF_FORTUNE], // 11
|
|
24
|
-
["wheel", Card.WHEEL_OF_FORTUNE], // 11 - Needed since we have "wheel?"
|
|
25
|
-
["fortune", Card.WHEEL_OF_FORTUNE], // 11
|
|
26
|
-
["strength", Card.STRENGTH], // 12
|
|
27
|
-
["str", Card.STRENGTH], // 12 - Needed since we have "str?"
|
|
28
|
-
["hangedMan", Card.HANGED_MAN], // 13
|
|
29
|
-
["hanged", Card.HANGED_MAN], // 13
|
|
30
|
-
["death", Card.DEATH], // 14
|
|
31
|
-
["temperance", Card.TEMPERANCE], // 15
|
|
32
|
-
["devil", Card.DEVIL], // 16
|
|
33
|
-
["tower", Card.TOWER], // 17
|
|
34
|
-
["stars", Card.STARS], // 18
|
|
35
|
-
["moon", Card.MOON], // 19
|
|
36
|
-
["sun", Card.SUN], // 20
|
|
37
|
-
["judgement", Card.JUDGEMENT], // 21
|
|
38
|
-
["judge", Card.JUDGEMENT], // 21 - Needed since we have "judge?"
|
|
39
|
-
["world", Card.WORLD], // 22
|
|
40
|
-
["2OfClubs", Card.CLUBS_2], // 23
|
|
41
|
-
["2Clubs", Card.CLUBS_2], // 23
|
|
42
|
-
["2OfDiamonds", Card.DIAMONDS_2], // 24
|
|
43
|
-
["2Diamonds", Card.DIAMONDS_2], // 24
|
|
44
|
-
["2OfSpades", Card.SPADES_2], // 25
|
|
45
|
-
["2Spades", Card.SPADES_2], // 25
|
|
46
|
-
["2OfHearts", Card.HEARTS_2], // 26
|
|
47
|
-
["2Hearts", Card.HEARTS_2], // 26
|
|
48
|
-
["aceOfClubs", Card.ACE_OF_CLUBS], // 27
|
|
49
|
-
["aceClubs", Card.ACE_OF_CLUBS], // 27
|
|
50
|
-
["aceOfDiamonds", Card.ACE_OF_DIAMONDS], // 28
|
|
51
|
-
["aceDiamonds", Card.ACE_OF_DIAMONDS], // 28
|
|
52
|
-
["aceOfSpades", Card.ACE_OF_SPADES], // 29
|
|
53
|
-
["aceSpades", Card.ACE_OF_SPADES], // 29
|
|
54
|
-
["aceOfHearts", Card.ACE_OF_HEARTS], // 30
|
|
55
|
-
["aceHearts", Card.ACE_OF_HEARTS], // 30
|
|
56
|
-
["joker", Card.JOKER], // 31
|
|
57
|
-
["hagalaz", Card.RUNE_HAGALAZ], // 32
|
|
58
|
-
["destruction", Card.RUNE_HAGALAZ], // 32
|
|
59
|
-
["jera", Card.RUNE_JERA], // 33
|
|
60
|
-
["abundance", Card.RUNE_JERA], // 33
|
|
61
|
-
["ehwaz", Card.RUNE_EHWAZ], // 34
|
|
62
|
-
["passage", Card.RUNE_EHWAZ], // 34
|
|
63
|
-
["dagaz", Card.RUNE_DAGAZ], // 35
|
|
64
|
-
["purity", Card.RUNE_DAGAZ], // 35
|
|
65
|
-
["ansuz", Card.RUNE_ANSUZ], // 36
|
|
66
|
-
["vision", Card.RUNE_ANSUZ], // 36
|
|
67
|
-
["perthro", Card.RUNE_PERTHRO], // 37
|
|
68
|
-
["change", Card.RUNE_PERTHRO], // 37
|
|
69
|
-
["berkano", Card.RUNE_BERKANO], // 38
|
|
70
|
-
["companionship", Card.RUNE_BERKANO], // 38
|
|
71
|
-
["algiz", Card.RUNE_ALGIZ], // 39
|
|
72
|
-
["resistance", Card.RUNE_ALGIZ], // 39
|
|
73
|
-
["shield", Card.RUNE_ALGIZ], // 39
|
|
74
|
-
["blank", Card.RUNE_BLANK], // 40
|
|
75
|
-
["black", Card.RUNE_BLACK], // 41
|
|
76
|
-
["chaos", Card.CHAOS], // 42
|
|
77
|
-
["credit", Card.CREDIT], // 43
|
|
78
|
-
["rules", Card.RULES], // 44
|
|
79
|
-
["againstHumanity", Card.AGAINST_HUMANITY], // 45
|
|
80
|
-
["humanity", Card.AGAINST_HUMANITY], // 45
|
|
81
|
-
["suicideKing", Card.SUICIDE_KING], // 46
|
|
82
|
-
["suicide", Card.SUICIDE_KING], // 46
|
|
83
|
-
["getOutOfJailFree", Card.GET_OUT_OF_JAIL_FREE], // 47
|
|
84
|
-
["jail", Card.GET_OUT_OF_JAIL_FREE], // 47
|
|
85
|
-
["?", Card.QUESTION_MARK], // 48
|
|
86
|
-
["diceShard", Card.DICE_SHARD], // 49
|
|
87
|
-
["shard", Card.DICE_SHARD], // 49
|
|
88
|
-
["emergencyContact", Card.EMERGENCY_CONTACT], // 50
|
|
89
|
-
["contact", Card.EMERGENCY_CONTACT], // 50
|
|
90
|
-
["holy", Card.HOLY], // 51
|
|
91
|
-
["hugeGrowth", Card.HUGE_GROWTH], // 52
|
|
92
|
-
["growth", Card.HUGE_GROWTH], // 52
|
|
93
|
-
["ancientRecall", Card.ANCIENT_RECALL], // 53
|
|
94
|
-
["recall", Card.ANCIENT_RECALL], // 53
|
|
95
|
-
["eraWalk", Card.ERA_WALK], // 54
|
|
96
|
-
["walk", Card.ERA_WALK], // 54
|
|
97
|
-
["runeShard", Card.RUNE_SHARD], // 55
|
|
98
|
-
["shard", Card.RUNE_SHARD], // 55
|
|
99
|
-
["fool?", Card.REVERSE_FOOL], // 56
|
|
100
|
-
["magician?", Card.REVERSE_MAGICIAN], // 57
|
|
101
|
-
["magi?", Card.REVERSE_MAGICIAN], // 57
|
|
102
|
-
["mag?", Card.REVERSE_MAGICIAN], // 57
|
|
103
|
-
["highPriestess?", Card.REVERSE_HIGH_PRIESTESS], // 58
|
|
104
|
-
["high?", Card.REVERSE_HIGH_PRIESTESS], // 58
|
|
105
|
-
["hi?", Card.REVERSE_HIGH_PRIESTESS], // 58
|
|
106
|
-
["priestess?", Card.REVERSE_HIGH_PRIESTESS], // 58
|
|
107
|
-
["priest?", Card.REVERSE_HIGH_PRIESTESS], // 58
|
|
108
|
-
["hp?", Card.REVERSE_HIGH_PRIESTESS], // 58
|
|
109
|
-
["empress?", Card.REVERSE_EMPRESS], // 59
|
|
110
|
-
["emperor?", Card.REVERSE_EMPEROR], // 60
|
|
111
|
-
["emp?", Card.REVERSE_EMPEROR], // 60
|
|
112
|
-
["hierophant?", Card.REVERSE_HIEROPHANT], // 61
|
|
113
|
-
["hiero?", Card.REVERSE_HIEROPHANT], // 61
|
|
114
|
-
["lovers?", Card.REVERSE_LOVERS], // 62
|
|
115
|
-
["chariot?", Card.REVERSE_CHARIOT], // 63
|
|
116
|
-
["justice?", Card.REVERSE_JUSTICE], // 64
|
|
117
|
-
["hermit?", Card.REVERSE_HERMIT], // 65
|
|
118
|
-
["wheelOfFortune?", Card.REVERSE_WHEEL_OF_FORTUNE], // 66
|
|
119
|
-
["wheel?", Card.REVERSE_WHEEL_OF_FORTUNE], // 66
|
|
120
|
-
["fortune?", Card.REVERSE_WHEEL_OF_FORTUNE], // 66
|
|
121
|
-
["strength?", Card.REVERSE_STRENGTH], // 67
|
|
122
|
-
["str?", Card.REVERSE_STRENGTH], // 67
|
|
123
|
-
["hangedMan?", Card.REVERSE_HANGED_MAN], // 68
|
|
124
|
-
["hanged?", Card.REVERSE_HANGED_MAN], // 68
|
|
125
|
-
["death?", Card.REVERSE_DEATH], // 6
|
|
126
|
-
["temperance?", Card.REVERSE_TEMPERANCE], // 70
|
|
127
|
-
["devil?", Card.REVERSE_DEVIL], // 71
|
|
128
|
-
["tower?", Card.REVERSE_TOWER], // 72
|
|
129
|
-
["stars?", Card.REVERSE_STARS], // 73
|
|
130
|
-
["moon?", Card.REVERSE_MOON], // 74
|
|
131
|
-
["sun?", Card.REVERSE_SUN], // 75
|
|
132
|
-
["judgement?", Card.REVERSE_JUDGEMENT], // 76
|
|
133
|
-
["judge?", Card.REVERSE_JUDGEMENT], // 76
|
|
134
|
-
["world?", Card.REVERSE_WORLD], // 77
|
|
135
|
-
["crackedKey", Card.CRACKED_KEY], // 78
|
|
136
|
-
["key", Card.CRACKED_KEY], // 78
|
|
137
|
-
["queenOfHearts", Card.QUEEN_OF_HEARTS], // 79
|
|
138
|
-
["queenHearts", Card.QUEEN_OF_HEARTS], // 79
|
|
139
|
-
["wildcard", Card.WILD], // 80
|
|
140
|
-
["soulOfIsaac", Card.SOUL_ISAAC], // 81
|
|
141
|
-
["soulIsaac", Card.SOUL_ISAAC], // 81
|
|
142
|
-
["isaac", Card.SOUL_ISAAC], // 81
|
|
143
|
-
["soulOfMagdalene", Card.SOUL_MAGDALENE], // 82
|
|
144
|
-
["soulMagdalene", Card.SOUL_MAGDALENE], // 82
|
|
145
|
-
["magdalene", Card.SOUL_MAGDALENE], // 82
|
|
146
|
-
["soulOfCain", Card.SOUL_CAIN], // 83
|
|
147
|
-
["soulCain", Card.SOUL_CAIN], // 83
|
|
148
|
-
["cain", Card.SOUL_CAIN], // 83
|
|
149
|
-
["soulOfJudas", Card.SOUL_JUDAS], // 84
|
|
150
|
-
["soulJudas", Card.SOUL_JUDAS], // 84
|
|
151
|
-
["judas", Card.SOUL_JUDAS], // 84
|
|
152
|
-
["soulOf???", Card.SOUL_BLUE_BABY], // 85
|
|
153
|
-
["soul???", Card.SOUL_BLUE_BABY], // 85
|
|
154
|
-
["???", Card.SOUL_BLUE_BABY], // 85
|
|
155
|
-
["soulOfBlueBaby", Card.SOUL_BLUE_BABY], // 85
|
|
156
|
-
["soulBlueBaby", Card.SOUL_BLUE_BABY], // 85
|
|
157
|
-
["blueBaby", Card.SOUL_BLUE_BABY], // 85
|
|
158
|
-
["soulOfEve", Card.SOUL_EVE], // 86
|
|
159
|
-
["soulEve", Card.SOUL_EVE], // 86
|
|
160
|
-
["eve", Card.SOUL_EVE], // 86
|
|
161
|
-
["soulOfSamson", Card.SOUL_SAMSON], // 87
|
|
162
|
-
["soulSamson", Card.SOUL_SAMSON], // 87
|
|
163
|
-
["samson", Card.SOUL_SAMSON], // 87
|
|
164
|
-
["soulOfAzazel", Card.SOUL_AZAZEL], // 88
|
|
165
|
-
["soulAzazel", Card.SOUL_AZAZEL], // 88
|
|
166
|
-
["azazel", Card.SOUL_AZAZEL], // 88
|
|
167
|
-
["soulOfLazarus", Card.SOUL_LAZARUS], // 89
|
|
168
|
-
["soulLazarus", Card.SOUL_LAZARUS], // 89
|
|
169
|
-
["lazarus", Card.SOUL_LAZARUS], // 89
|
|
170
|
-
["soulOfEden", Card.SOUL_EDEN], // 90
|
|
171
|
-
["soulEden", Card.SOUL_EDEN], // 90
|
|
172
|
-
["eden", Card.SOUL_EDEN], // 90
|
|
173
|
-
["soulOfTheLost", Card.SOUL_LOST], // 91
|
|
174
|
-
["soulTheLost", Card.SOUL_LOST], // 91
|
|
175
|
-
["theLost", Card.SOUL_LOST], // 91
|
|
176
|
-
["soulOfLost", Card.SOUL_LOST], // 91
|
|
177
|
-
["soulLost", Card.SOUL_LOST], // 91
|
|
178
|
-
["lost", Card.SOUL_LOST], // 91
|
|
179
|
-
["soulOfLilith", Card.SOUL_LILITH], // 92
|
|
180
|
-
["soulLilith", Card.SOUL_LILITH], // 92
|
|
181
|
-
["lilith", Card.SOUL_LILITH], // 92
|
|
182
|
-
["soulOfTheKeeper", Card.SOUL_KEEPER], // 93
|
|
183
|
-
["soulTheKeeper", Card.SOUL_KEEPER], // 93
|
|
184
|
-
["theKeeper", Card.SOUL_KEEPER], // 93
|
|
185
|
-
["soulOfKeeper", Card.SOUL_KEEPER], // 93
|
|
186
|
-
["soulKeeper", Card.SOUL_KEEPER], // 93
|
|
187
|
-
["keeper", Card.SOUL_KEEPER], // 93
|
|
188
|
-
["soulOfApollyon", Card.SOUL_APOLLYON], // 94
|
|
189
|
-
["soulApollyon", Card.SOUL_APOLLYON], // 94
|
|
190
|
-
["apollyon", Card.SOUL_APOLLYON], // 94
|
|
191
|
-
["soulOfTheForgotten", Card.SOUL_FORGOTTEN], // 95
|
|
192
|
-
["soulTheForgotten", Card.SOUL_FORGOTTEN], // 95
|
|
193
|
-
["theForgotten", Card.SOUL_FORGOTTEN], // 95
|
|
194
|
-
["soulOfForgotten", Card.SOUL_FORGOTTEN], // 95
|
|
195
|
-
["soulForgotten", Card.SOUL_FORGOTTEN], // 95
|
|
196
|
-
["forgotten", Card.SOUL_FORGOTTEN], // 95
|
|
197
|
-
["soulOfBethany", Card.SOUL_BETHANY], // 96
|
|
198
|
-
["soulBethany", Card.SOUL_BETHANY], // 96
|
|
199
|
-
["bethany", Card.SOUL_BETHANY], // 96
|
|
200
|
-
["soulOfJacobAndEsau", Card.SOUL_JACOB], // 97
|
|
201
|
-
["soulJacobAndEsau", Card.SOUL_JACOB], // 97
|
|
202
|
-
["jacobAndEsau", Card.SOUL_JACOB], // 97
|
|
203
|
-
["soulOfJacob&Esau", Card.SOUL_JACOB], // 97
|
|
204
|
-
["soulJacob&Esau", Card.SOUL_JACOB], // 97
|
|
205
|
-
["jacob&Esau", Card.SOUL_JACOB], // 97
|
|
206
|
-
["soulOfJacob", Card.SOUL_JACOB], // 97
|
|
207
|
-
["soulJacob", Card.SOUL_JACOB], // 97
|
|
208
|
-
["jacob", Card.SOUL_JACOB], // 97
|
|
209
|
-
]);
|