isaacscript-common 85.0.2 → 86.0.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/dist/classes/callbacks/PostCustomRevive.d.ts +2 -0
- package/dist/classes/callbacks/PostCustomRevive.d.ts.map +1 -1
- package/dist/classes/features/other/FlyingDetection.js +2 -2
- package/dist/classes/features/other/ItemPoolDetection.js +2 -2
- package/dist/classes/features/other/ModdedElementSets.js +11 -11
- package/dist/classes/features/other/PonyDetection.js +2 -2
- package/dist/classes/features/other/customStages/backdrop.js +17 -17
- package/dist/classes/features/other/customStages/shadows.js +11 -11
- package/dist/classes/features/other/extraConsoleCommands/commands.d.ts +2 -0
- package/dist/classes/features/other/extraConsoleCommands/commands.d.ts.map +1 -1
- package/dist/classes/features/other/extraConsoleCommands/commands.js +7 -2
- package/dist/classes/features/other/extraConsoleCommands/commands.lua +4 -0
- package/dist/classes/features/other/extraConsoleCommands/v.js +9 -9
- package/dist/core/cachedClasses.d.ts +1 -0
- package/dist/core/cachedClasses.d.ts.map +1 -1
- package/dist/core/constants.js +58 -58
- package/dist/enums/HealthType.d.ts +7 -7
- package/dist/enums/HealthType.d.ts.map +1 -1
- package/dist/features.js +1 -1
- package/dist/features.lua +2 -2
- package/dist/functions/array.d.ts +1 -1
- package/dist/functions/array.js +1 -1
- package/dist/functions/array.lua +1 -1
- package/dist/functions/bosses.js +4 -4
- package/dist/functions/charge.js +1 -1
- package/dist/functions/emptyRoom.js +6 -6
- package/dist/functions/enums.d.ts +26 -26
- package/dist/functions/enums.d.ts.map +1 -1
- package/dist/functions/enums.js +30 -30
- package/dist/functions/enums.lua +27 -27
- package/dist/functions/gridEntities.js +19 -19
- package/dist/functions/input.js +13 -13
- package/dist/functions/itemPool.js +12 -12
- package/dist/functions/logEntities.js +11 -11
- package/dist/functions/npcs.js +11 -11
- package/dist/functions/playerIndex.js +1 -1
- package/dist/functions/slots.js +8 -8
- package/dist/functions/stats.js +17 -17
- package/dist/functions/storyBosses.js +28 -28
- package/dist/functions/transformations.js +14 -14
- package/dist/index.rollup.d.ts +37 -37
- package/dist/interfaces/PlayerStats.js +1 -1
- package/dist/interfaces/PlayerStats.lua +2 -2
- package/dist/interfaces/private/AddCallbackParametersCustom.js +1 -1
- package/dist/interfaces/private/AddCallbackParametersCustom.lua +2 -2
- package/dist/isaacscript-common.lua +39 -35
- package/dist/maps/PHDPillConversionsMap.js +15 -15
- package/dist/maps/cardNameToTypeMap.js +201 -201
- package/dist/maps/characterNameToTypeMap.js +81 -81
- package/dist/maps/defaultPlayerStatMap.js +5 -5
- package/dist/maps/falsePHDPillConversionsMap.js +29 -29
- package/dist/maps/itemPoolTypeToItemPoolName.js +30 -30
- package/dist/maps/keyboardToStringMap.js +62 -62
- package/dist/maps/pillNameToEffectMap.js +79 -79
- package/dist/maps/roomNameToTypeMap.js +34 -34
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.js +4 -4
- package/dist/maps/transformationNameToPlayerFormMap.js +26 -26
- package/dist/objects/backdropTypeToRockAltType.js +59 -59
- package/dist/objects/batteryNames.js +4 -4
- package/dist/objects/bombNames.js +7 -7
- package/dist/objects/bossNamePNGFileNames.js +101 -101
- package/dist/objects/bossNames.js +101 -101
- package/dist/objects/bossPortraitPNGFileNames.js +101 -101
- package/dist/objects/cardDescriptions.js +97 -97
- package/dist/objects/cardNames.js +97 -97
- package/dist/objects/challengeBosses.js +45 -45
- package/dist/objects/challengeCharacters.js +45 -45
- package/dist/objects/challengeCollectibleTypes.js +77 -77
- package/dist/objects/challengeNames.js +45 -45
- package/dist/objects/challengeTrinketType.js +45 -45
- package/dist/objects/characterDamageMultipliers.js +41 -41
- package/dist/objects/characterNames.js +41 -41
- package/dist/objects/characterSpritePNGFileNames.js +41 -41
- package/dist/objects/characterStartingCollectibleTypes.js +3 -3
- package/dist/objects/chestNames.js +11 -11
- package/dist/objects/coinNames.js +7 -7
- package/dist/objects/coinSubTypeToValue.js +7 -7
- package/dist/objects/collectibleDescriptions.js +721 -721
- package/dist/objects/collectibleNames.js +721 -721
- package/dist/objects/colors.d.ts +1 -0
- package/dist/objects/colors.d.ts.map +1 -1
- package/dist/objects/directionNames.js +4 -4
- package/dist/objects/directionToDegrees.js +4 -4
- package/dist/objects/directionToMoveAction.js +4 -4
- package/dist/objects/directionToShootAction.js +4 -4
- package/dist/objects/directionToVector.d.ts +1 -0
- package/dist/objects/directionToVector.d.ts.map +1 -1
- package/dist/objects/directionToVector.js +4 -4
- package/dist/objects/doorSlotFlagToDoorSlot.js +7 -7
- package/dist/objects/doorSlotToDirection.js +8 -8
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts +1 -0
- package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
- package/dist/objects/doorSlotToDoorSlotFlag.js +8 -8
- package/dist/objects/gridEntityTypeToANM2Name.js +27 -27
- package/dist/objects/heartNames.js +12 -12
- package/dist/objects/kColors.d.ts +1 -0
- package/dist/objects/kColors.d.ts.map +1 -1
- package/dist/objects/keyNames.js +4 -4
- package/dist/objects/languageNames.js +6 -6
- package/dist/objects/oppositeDoorSlots.js +8 -8
- package/dist/objects/pillEffectClasses.js +49 -49
- package/dist/objects/pillEffectNames.js +49 -49
- package/dist/objects/pillEffectTypes.js +49 -49
- package/dist/objects/playerNamePNGFileNames.js +41 -41
- package/dist/objects/playerPortraitPNGFileNames.js +41 -41
- package/dist/objects/roomShapeLayoutSizes.js +11 -11
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +1 -0
- package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeToBottomRightPosition.js +11 -11
- package/dist/objects/roomShapeToDoorSlotCoordinates.js +52 -52
- package/dist/objects/roomShapeToDoorSlots.js +24 -24
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.js +52 -52
- package/dist/objects/roomShapeToGridWidth.js +11 -11
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +1 -0
- package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
- package/dist/objects/roomShapeToTopLeftPosition.js +11 -11
- package/dist/objects/roomShapeVolumes.js +11 -11
- package/dist/objects/roomTypeNames.js +28 -28
- package/dist/objects/roomTypeSpecialGotoPrefixes.js +28 -28
- package/dist/objects/sackNames.js +2 -2
- package/dist/objects/slotNames.js +17 -17
- package/dist/objects/stageIDNames.js +30 -30
- package/dist/objects/stageToMusic.js +57 -57
- package/dist/objects/stageToStageID.js +73 -73
- package/dist/objects/stageTypeSuffixes.js +5 -5
- package/dist/objects/transformationNames.js +13 -13
- package/dist/objects/trinketDescriptions.js +188 -188
- package/dist/objects/trinketNames.js +188 -188
- package/dist/objects/versusScreenBackgroundColors.d.ts +1 -0
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/objects/versusScreenBackgroundColors.js +30 -30
- package/dist/objects/versusScreenDirtSpotColors.d.ts +1 -0
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/objects/versusScreenDirtSpotColors.js +30 -30
- package/dist/sets/LRoomShapesSet.js +3 -3
- package/dist/sets/bigRoomShapesSet.js +6 -6
- package/dist/sets/bossSets.js +208 -208
- package/dist/sets/charactersThatStartWithAnActiveItemSet.js +10 -10
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.js +1 -1
- package/dist/sets/charactersWithNoRedHeartsSet.js +7 -7
- package/dist/sets/charactersWithNoSoulHeartsSet.js +4 -4
- package/dist/sets/entitiesWithArmorSet.js +40 -40
- package/dist/sets/itemConfigCardTypesForCards.js +3 -3
- package/dist/sets/lostStyleCharactersSet.js +4 -4
- package/dist/sets/narrowRoomShapesSet.js +3 -3
- package/dist/sets/poopGridEntityXMLTypesSet.js +8 -8
- package/dist/sets/redHeartSubTypesSet.js +2 -2
- package/dist/sets/repentanceBossIDsSet.js +22 -22
- package/dist/sets/sinEntityTypesSet.js +6 -6
- package/dist/sets/singleUseActiveCollectibleTypesSet.js +7 -7
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/types/PickingUpItem.js +2 -2
- package/package.json +1 -1
- package/src/classes/features/other/extraConsoleCommands/commands.ts +6 -1
- package/src/features.ts +2 -2
- package/src/functions/array.ts +1 -1
- package/src/functions/enums.ts +33 -33
- package/src/interfaces/PlayerStats.ts +2 -2
- package/src/interfaces/private/AddCallbackParametersCustom.ts +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
1
3
|
import type { ModCallbackCustom } from "../../enums/ModCallbackCustom";
|
|
2
4
|
import type { OptionalArgs } from "../private/CustomCallback";
|
|
3
5
|
import { CustomCallback } from "../private/CustomCallback";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostCustomRevive.d.ts","sourceRoot":"","sources":["../../../src/classes/callbacks/PostCustomRevive.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAY,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,KAAK,CAAC,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;AAE9C,qBAAa,gBAAiB,SAAQ,cAAc,CAAC,iBAAiB,CAAC,kBAAkB,CAAC;;IAOxF,UAAmB,UAAU,qEAEb,aAAa,CAAC,CAAC,KAC5B,OAAO,CAOR;CACH"}
|
|
1
|
+
{"version":3,"file":"PostCustomRevive.d.ts","sourceRoot":"","sources":["../../../src/classes/callbacks/PostCustomRevive.ts"],"names":[],"mappings":";;AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAY,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,KAAK,CAAC,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;AAE9C,qBAAa,gBAAiB,SAAQ,cAAc,CAAC,iBAAiB,CAAC,kBAAkB,CAAC;;IAOxF,UAAmB,UAAU,qEAEb,aAAa,CAAC,CAAC,KAC5B,OAAO,CAOR;CACH"}
|
|
@@ -12,8 +12,8 @@ const decorators_1 = require("../../../decorators");
|
|
|
12
12
|
const ISCFeature_1 = require("../../../enums/ISCFeature");
|
|
13
13
|
const Feature_1 = require("../../private/Feature");
|
|
14
14
|
const FLYING_NULL_ITEMS = [
|
|
15
|
-
isaac_typescript_definitions_1.NullItemID.REVERSE_SUN,
|
|
16
|
-
isaac_typescript_definitions_1.NullItemID.SPIRIT_SHACKLES_SOUL,
|
|
15
|
+
isaac_typescript_definitions_1.NullItemID.REVERSE_SUN, // 66
|
|
16
|
+
isaac_typescript_definitions_1.NullItemID.SPIRIT_SHACKLES_SOUL, // 10
|
|
17
17
|
isaac_typescript_definitions_1.NullItemID.LOST_CURSE, // 112
|
|
18
18
|
];
|
|
19
19
|
class FlyingDetection extends Feature_1.Feature {
|
|
@@ -20,8 +20,8 @@ const utils_1 = require("../../../functions/utils");
|
|
|
20
20
|
const Feature_1 = require("../../private/Feature");
|
|
21
21
|
const COLLECTIBLE_TYPE_THAT_IS_NOT_IN_ANY_POOLS = isaac_typescript_definitions_1.CollectibleType.KEY_PIECE_1;
|
|
22
22
|
const COLLECTIBLES_THAT_AFFECT_ITEM_POOLS = [
|
|
23
|
-
isaac_typescript_definitions_1.CollectibleType.CHAOS,
|
|
24
|
-
isaac_typescript_definitions_1.CollectibleType.SACRED_ORB,
|
|
23
|
+
isaac_typescript_definitions_1.CollectibleType.CHAOS, // 402
|
|
24
|
+
isaac_typescript_definitions_1.CollectibleType.SACRED_ORB, // 691
|
|
25
25
|
isaac_typescript_definitions_1.CollectibleType.TMTRAINER, // 721
|
|
26
26
|
];
|
|
27
27
|
const TRINKETS_THAT_AFFECT_ITEM_POOLS = [isaac_typescript_definitions_1.TrinketType.NO];
|
|
@@ -33,17 +33,17 @@ const CONDITIONAL_FLYING_COLLECTIBLE_TYPES = [
|
|
|
33
33
|
isaac_typescript_definitions_1.CollectibleType.RECALL,
|
|
34
34
|
];
|
|
35
35
|
const TRANSFORMATION_TO_TAG_MAP = new ReadonlyMap_1.ReadonlyMap([
|
|
36
|
-
[isaac_typescript_definitions_1.PlayerForm.GUPPY, isaac_typescript_definitions_1.ItemConfigTag.GUPPY],
|
|
37
|
-
[isaac_typescript_definitions_1.PlayerForm.BEELZEBUB, isaac_typescript_definitions_1.ItemConfigTag.FLY],
|
|
38
|
-
[isaac_typescript_definitions_1.PlayerForm.FUN_GUY, isaac_typescript_definitions_1.ItemConfigTag.MUSHROOM],
|
|
39
|
-
[isaac_typescript_definitions_1.PlayerForm.SERAPHIM, isaac_typescript_definitions_1.ItemConfigTag.ANGEL],
|
|
40
|
-
[isaac_typescript_definitions_1.PlayerForm.BOB, isaac_typescript_definitions_1.ItemConfigTag.BOB],
|
|
41
|
-
[isaac_typescript_definitions_1.PlayerForm.SPUN, isaac_typescript_definitions_1.ItemConfigTag.SYRINGE],
|
|
42
|
-
[isaac_typescript_definitions_1.PlayerForm.YES_MOTHER, isaac_typescript_definitions_1.ItemConfigTag.MOM],
|
|
43
|
-
[isaac_typescript_definitions_1.PlayerForm.CONJOINED, isaac_typescript_definitions_1.ItemConfigTag.BABY],
|
|
44
|
-
[isaac_typescript_definitions_1.PlayerForm.LEVIATHAN, isaac_typescript_definitions_1.ItemConfigTag.DEVIL],
|
|
45
|
-
[isaac_typescript_definitions_1.PlayerForm.OH_CRAP, isaac_typescript_definitions_1.ItemConfigTag.POOP],
|
|
46
|
-
[isaac_typescript_definitions_1.PlayerForm.BOOKWORM, isaac_typescript_definitions_1.ItemConfigTag.BOOK],
|
|
36
|
+
[isaac_typescript_definitions_1.PlayerForm.GUPPY, isaac_typescript_definitions_1.ItemConfigTag.GUPPY], // 0
|
|
37
|
+
[isaac_typescript_definitions_1.PlayerForm.BEELZEBUB, isaac_typescript_definitions_1.ItemConfigTag.FLY], // 1
|
|
38
|
+
[isaac_typescript_definitions_1.PlayerForm.FUN_GUY, isaac_typescript_definitions_1.ItemConfigTag.MUSHROOM], // 2
|
|
39
|
+
[isaac_typescript_definitions_1.PlayerForm.SERAPHIM, isaac_typescript_definitions_1.ItemConfigTag.ANGEL], // 3
|
|
40
|
+
[isaac_typescript_definitions_1.PlayerForm.BOB, isaac_typescript_definitions_1.ItemConfigTag.BOB], // 4
|
|
41
|
+
[isaac_typescript_definitions_1.PlayerForm.SPUN, isaac_typescript_definitions_1.ItemConfigTag.SYRINGE], // 5
|
|
42
|
+
[isaac_typescript_definitions_1.PlayerForm.YES_MOTHER, isaac_typescript_definitions_1.ItemConfigTag.MOM], // 6
|
|
43
|
+
[isaac_typescript_definitions_1.PlayerForm.CONJOINED, isaac_typescript_definitions_1.ItemConfigTag.BABY], // 7
|
|
44
|
+
[isaac_typescript_definitions_1.PlayerForm.LEVIATHAN, isaac_typescript_definitions_1.ItemConfigTag.DEVIL], // 8
|
|
45
|
+
[isaac_typescript_definitions_1.PlayerForm.OH_CRAP, isaac_typescript_definitions_1.ItemConfigTag.POOP], // 9
|
|
46
|
+
[isaac_typescript_definitions_1.PlayerForm.BOOKWORM, isaac_typescript_definitions_1.ItemConfigTag.BOOK], // 10
|
|
47
47
|
// PlayerForm.ADULTHOOD (11) is based on pill usage.
|
|
48
48
|
[isaac_typescript_definitions_1.PlayerForm.SPIDER_BABY, isaac_typescript_definitions_1.ItemConfigTag.SPIDER], // 12
|
|
49
49
|
// PlayerForm.STOMPY (13) is based on size.
|
|
@@ -15,8 +15,8 @@ const playerDataStructures_1 = require("../../../functions/playerDataStructures"
|
|
|
15
15
|
const playerIndex_1 = require("../../../functions/playerIndex");
|
|
16
16
|
const Feature_1 = require("../../private/Feature");
|
|
17
17
|
const FLAGS_WHEN_PONY_IS_ACTIVE = [
|
|
18
|
-
isaac_typescript_definitions_1.EntityFlag.NO_KNOCKBACK,
|
|
19
|
-
isaac_typescript_definitions_1.EntityFlag.NO_PHYSICS_KNOCKBACK,
|
|
18
|
+
isaac_typescript_definitions_1.EntityFlag.NO_KNOCKBACK, // 1 << 26
|
|
19
|
+
isaac_typescript_definitions_1.EntityFlag.NO_PHYSICS_KNOCKBACK, // 1 << 30
|
|
20
20
|
isaac_typescript_definitions_1.EntityFlag.NO_DAMAGE_BLINK, // 1 << 36
|
|
21
21
|
];
|
|
22
22
|
const v = {
|
|
@@ -26,32 +26,32 @@ var BackdropKind;
|
|
|
26
26
|
/** This is created by the vanilla Basement files. */
|
|
27
27
|
const DEFAULT_BACKDROP = {
|
|
28
28
|
nFloors: [`${constants_2.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH}/backdrop/nfloor.png`],
|
|
29
|
-
lFloors: [`${constants_2.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH}/backdrop/lfloor.png`],
|
|
29
|
+
lFloors: [`${constants_2.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH}/backdrop/lfloor.png`], // cspell:ignore lfloor
|
|
30
30
|
walls: [`${constants_2.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH}/backdrop/wall.png`],
|
|
31
31
|
corners: [`${constants_2.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH}/backdrop/corner.png`],
|
|
32
32
|
};
|
|
33
33
|
const ROOM_SHAPE_WALL_ANM2_LAYERS = {
|
|
34
|
-
[isaac_typescript_definitions_1.RoomShape.SHAPE_1x1]: 44,
|
|
35
|
-
[isaac_typescript_definitions_1.RoomShape.IH]: 36,
|
|
36
|
-
[isaac_typescript_definitions_1.RoomShape.IV]: 28,
|
|
37
|
-
[isaac_typescript_definitions_1.RoomShape.SHAPE_1x2]: 58,
|
|
38
|
-
[isaac_typescript_definitions_1.RoomShape.IIV]: 42,
|
|
39
|
-
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x1]: 63,
|
|
40
|
-
[isaac_typescript_definitions_1.RoomShape.IIH]: 62,
|
|
41
|
-
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x2]: 63,
|
|
42
|
-
[isaac_typescript_definitions_1.RoomShape.LTL]: 63,
|
|
43
|
-
[isaac_typescript_definitions_1.RoomShape.LTR]: 63,
|
|
44
|
-
[isaac_typescript_definitions_1.RoomShape.LBL]: 63,
|
|
34
|
+
[isaac_typescript_definitions_1.RoomShape.SHAPE_1x1]: 44, // 1
|
|
35
|
+
[isaac_typescript_definitions_1.RoomShape.IH]: 36, // 2
|
|
36
|
+
[isaac_typescript_definitions_1.RoomShape.IV]: 28, // 3
|
|
37
|
+
[isaac_typescript_definitions_1.RoomShape.SHAPE_1x2]: 58, // 4
|
|
38
|
+
[isaac_typescript_definitions_1.RoomShape.IIV]: 42, // 5
|
|
39
|
+
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x1]: 63, // 6
|
|
40
|
+
[isaac_typescript_definitions_1.RoomShape.IIH]: 62, // 7
|
|
41
|
+
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x2]: 63, // 8
|
|
42
|
+
[isaac_typescript_definitions_1.RoomShape.LTL]: 63, // 9
|
|
43
|
+
[isaac_typescript_definitions_1.RoomShape.LTR]: 63, // 10
|
|
44
|
+
[isaac_typescript_definitions_1.RoomShape.LBL]: 63, // 11
|
|
45
45
|
[isaac_typescript_definitions_1.RoomShape.LBR]: 63, // 12
|
|
46
46
|
};
|
|
47
47
|
// We don't use `as const` since we need the object to be indexable by all `RoomShape`.
|
|
48
48
|
// eslint-disable-next-line isaacscript/require-capital-const-assertions
|
|
49
49
|
const ROOM_SHAPE_WALL_EXTRA_ANM2_LAYERS = {
|
|
50
|
-
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x1]: 7,
|
|
51
|
-
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x2]: 21,
|
|
52
|
-
[isaac_typescript_definitions_1.RoomShape.LTL]: 19,
|
|
53
|
-
[isaac_typescript_definitions_1.RoomShape.LTR]: 19,
|
|
54
|
-
[isaac_typescript_definitions_1.RoomShape.LBL]: 19,
|
|
50
|
+
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x1]: 7, // 6
|
|
51
|
+
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x2]: 21, // 8
|
|
52
|
+
[isaac_typescript_definitions_1.RoomShape.LTL]: 19, // 9
|
|
53
|
+
[isaac_typescript_definitions_1.RoomShape.LTR]: 19, // 10
|
|
54
|
+
[isaac_typescript_definitions_1.RoomShape.LBL]: 19, // 11
|
|
55
55
|
[isaac_typescript_definitions_1.RoomShape.LBR]: 19, // 12
|
|
56
56
|
};
|
|
57
57
|
const WALL_OFFSET = Vector(-80, -80);
|
|
@@ -20,17 +20,17 @@ const SHADOW_EFFECT_VARIANT = isaac_typescript_definitions_1.EffectVariant.LADDE
|
|
|
20
20
|
const SHADOW_EFFECT_SUB_TYPE = LadderSubTypeCustom_1.LadderSubTypeCustom.CUSTOM_SHADOW;
|
|
21
21
|
/** The animation comes from StageAPI. */
|
|
22
22
|
const ROOM_SHAPE_TO_SHADOW_ANIMATION = {
|
|
23
|
-
[isaac_typescript_definitions_1.RoomShape.SHAPE_1x1]: "1x1",
|
|
24
|
-
[isaac_typescript_definitions_1.RoomShape.IH]: "1x1",
|
|
25
|
-
[isaac_typescript_definitions_1.RoomShape.IV]: "1x1",
|
|
26
|
-
[isaac_typescript_definitions_1.RoomShape.SHAPE_1x2]: "1x2",
|
|
27
|
-
[isaac_typescript_definitions_1.RoomShape.IIV]: "1x2",
|
|
28
|
-
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x1]: "2x1",
|
|
29
|
-
[isaac_typescript_definitions_1.RoomShape.IIH]: "2x1",
|
|
30
|
-
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x2]: "2x2",
|
|
31
|
-
[isaac_typescript_definitions_1.RoomShape.LTL]: "2x2",
|
|
32
|
-
[isaac_typescript_definitions_1.RoomShape.LTR]: "2x2",
|
|
33
|
-
[isaac_typescript_definitions_1.RoomShape.LBL]: "2x2",
|
|
23
|
+
[isaac_typescript_definitions_1.RoomShape.SHAPE_1x1]: "1x1", // 1
|
|
24
|
+
[isaac_typescript_definitions_1.RoomShape.IH]: "1x1", // 2
|
|
25
|
+
[isaac_typescript_definitions_1.RoomShape.IV]: "1x1", // 3
|
|
26
|
+
[isaac_typescript_definitions_1.RoomShape.SHAPE_1x2]: "1x2", // 4
|
|
27
|
+
[isaac_typescript_definitions_1.RoomShape.IIV]: "1x2", // 5
|
|
28
|
+
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x1]: "2x1", // 6
|
|
29
|
+
[isaac_typescript_definitions_1.RoomShape.IIH]: "2x1", // 7
|
|
30
|
+
[isaac_typescript_definitions_1.RoomShape.SHAPE_2x2]: "2x2", // 8
|
|
31
|
+
[isaac_typescript_definitions_1.RoomShape.LTL]: "2x2", // 9
|
|
32
|
+
[isaac_typescript_definitions_1.RoomShape.LTR]: "2x2", // 10
|
|
33
|
+
[isaac_typescript_definitions_1.RoomShape.LBL]: "2x2", // 11
|
|
34
34
|
[isaac_typescript_definitions_1.RoomShape.LBR]: "2x2", // 12
|
|
35
35
|
};
|
|
36
36
|
const FADED_BLACK = Color(0, 0, 0, 0.25);
|
|
@@ -263,6 +263,8 @@ export declare function map(): void;
|
|
|
263
263
|
export declare function maxHearts(params: string): void;
|
|
264
264
|
/** Toggles permanent Curse of the Maze. */
|
|
265
265
|
export declare function maze(): void;
|
|
266
|
+
/** Warps to the Mega Satan room on the floor. (Every floor has a Mega Satan room.) */
|
|
267
|
+
export declare function megaSatan(): void;
|
|
266
268
|
/** Warps to the first Miniboss Room on the floor. */
|
|
267
269
|
export declare function miniboss(): void;
|
|
268
270
|
/** Logs the currently playing music track to the "log.txt" file. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/extraConsoleCommands/commands.ts"],"names":[],"mappings":"AAiJA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,M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,MAAM,GAAG,IAAI,CAE5C;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,8CAA8C;AAC9C,wBAAgB,OAAO,IAAI,IAAI,CAG9B;AAED,sFAAsF;AACtF,wBAAgB,MAAM,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC;AAED,yCAAyC;AACzC,wBAAgB,EAAE,IAAI,IAAI,CAEzB"}
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/extraConsoleCommands/commands.ts"],"names":[],"mappings":"AAiJA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAuC/C;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,gEAAgE;AAChE,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IAAI,IAAI,CAkB9B;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEhD;AAED,+CAA+C;AAC/C,wBAAgB,WAAW,IAAI,IAAI,CAElC;AAED,4CAA4C;AAC5C,wBAAgB,KAAK,IAAI,IAAI,CAG5B;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAcjD;AAED,2CAA2C;AAC3C,wBAAgB,EAAE,IAAI,IAAI,CAEzB;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAczC;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAc1C;AAED;;;GAGG;AACH,wBAAgB,U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,IAAI,CAqCnE;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAsB1C;AAED,uDAAuD;AACvD,wBAAgB,MAAM,IAAI,IAAI,CAM7B;AAED,4CAA4C;AAC5C,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,+CAA+C;AAC/C,wBAAgB,YAAY,IAAI,IAAI,CAInC;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAkB1C;AAED,wCAAwC;AACxC,wBAAgB,KAAK,IAAI,IAAI,CAE5B;AAED,6CAA6C;AAC7C,wBAAgB,QAAQ,IAAI,IAAI,CAE/B;AAED,qDAAqD;AACrD,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED,4CAA4C;AAC5C,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAE5C;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,8CAA8C;AAC9C,wBAAgB,OAAO,IAAI,IAAI,CAG9B;AAED,sFAAsF;AACtF,wBAAgB,MAAM,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC;AAED,yCAAyC;AACzC,wBAAgB,EAAE,IAAI,IAAI,CAEzB"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// cspell:ignore addcharges
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.getPosition = exports.getCharge = exports.getChallenge = exports.fool = exports.flight = exports.flies = exports.eternalHearts = exports.errorRoom = exports.effects = exports.dungeon = exports.down = exports.dogma = exports.disableCurses = exports.dirtyBedroom = exports.devilRoom = exports.dd = exports.darkness = exports.damage = exports.dadsNote = exports.d6 = exports.d20 = exports.cursed = exports.crawlSpace = exports.collectible = exports.coins = exports.coin = exports.cleanBedroom = exports.charge = exports.character = exports.chaosCardTears = exports.cc = exports.cards = exports.card = exports.brokenHearts = exports.bossRush = exports.bossRoom = exports.bossNextRoom = exports.boss = exports.boneHearts = exports.bombs = exports.bomb = exports.bm = exports.bloodCharges = exports.blind = exports.blackMarket = exports.blackHearts = exports.bedroom = exports.ascent = exports.angelRoom = exports.addCharges = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.xl = exports.warp = exports.up = exports.unseed = exports.unknown = exports.ultraSecretRoom = exports.trinket = exports.treasureRoom = exports.trapdoor = exports.tests = exports.tears = exports.superSecretRoom = exports.startingRoom = exports.startRoom = exports.spikes = exports.speed = exports.spawnTrinketAt = exports.spawnTrinket = exports.spawnGoldenTrinketAt = exports.spawnGoldenTrinket = exports.spawnGoldTrinket = exports.spawnCollectibleAt = exports.spawnCollectible = exports.spam = exports.sounds = exports.sound = exports.soulHearts = exports.soulCharges = exports.smelt = exports.shop = exports.setPosition = exports.setCharges = exports.seeds = exports.seedStick = exports.secretShop = exports.secretRoom = exports.sacrificeRoom = exports.s = exports.runTests = exports.rottenHearts = exports.room = void 0;
|
|
5
|
+
exports.reloadRoom = exports.redHearts = exports.position = exports.poopMana = exports.poop = exports.pocket = exports.playSound = exports.planetarium = exports.pills = exports.pill = exports.oneHP = exports.noCurses = exports.music = exports.miniboss = exports.megaSatan = exports.maze = exports.maxHearts = exports.map = exports.mana = exports.luck = exports.lowHP = exports.lost = exports.listGridAll = exports.listGrid = exports.listAll = exports.list = exports.library = exports.left = exports.labyrinth = exports.keys = exports.key = exports.iAmErrorRoom = exports.hush = exports.horse = exports.hitboxes = exports.hearts = exports.gridEntities = exports.gridCosts = exports.grid2 = exports.grid = exports.goldenTrinket = exports.goldenKey = exports.goldenHearts = exports.goldenBomb = exports.goldTrinket = exports.goldKey = exports.goldHearts = exports.goldBomb = exports.gigaBomb = exports.giant = void 0;
|
|
6
|
+
exports.xl = exports.warp = exports.up = exports.unseed = exports.unknown = exports.ultraSecretRoom = exports.trinket = exports.treasureRoom = exports.trapdoor = exports.tests = exports.tears = exports.superSecretRoom = exports.startingRoom = exports.startRoom = exports.spikes = exports.speed = exports.spawnTrinketAt = exports.spawnTrinket = exports.spawnGoldenTrinketAt = exports.spawnGoldenTrinket = exports.spawnGoldTrinket = exports.spawnCollectibleAt = exports.spawnCollectible = exports.spam = exports.sounds = exports.sound = exports.soulHearts = exports.soulCharges = exports.smelt = exports.shop = exports.setPosition = exports.setCharges = exports.seeds = exports.seedStick = exports.secretShop = exports.secretRoom = exports.sacrificeRoom = exports.s = exports.runTests = exports.rottenHearts = exports.room = exports.right = void 0;
|
|
7
7
|
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
|
|
8
8
|
const cachedEnumValues_1 = require("../../../../cachedEnumValues");
|
|
9
9
|
const cachedClasses_1 = require("../../../../core/cachedClasses");
|
|
@@ -849,6 +849,11 @@ function maze() {
|
|
|
849
849
|
(0, console_1.printEnabled)(v_1.v.persistent.maze, "permanent Curse of the Maze");
|
|
850
850
|
}
|
|
851
851
|
exports.maze = maze;
|
|
852
|
+
/** Warps to the Mega Satan room on the floor. (Every floor has a Mega Satan room.) */
|
|
853
|
+
function megaSatan() {
|
|
854
|
+
(0, rooms_1.changeRoom)(isaac_typescript_definitions_1.GridRoom.MEGA_SATAN);
|
|
855
|
+
}
|
|
856
|
+
exports.megaSatan = megaSatan;
|
|
852
857
|
/** Warps to the first Miniboss Room on the floor. */
|
|
853
858
|
function miniboss() {
|
|
854
859
|
(0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.MINI_BOSS);
|
|
@@ -1015,6 +1015,10 @@ function ____exports.maze(self)
|
|
|
1015
1015
|
v.persistent.maze = not v.persistent.maze
|
|
1016
1016
|
printEnabled(nil, v.persistent.maze, "permanent Curse of the Maze")
|
|
1017
1017
|
end
|
|
1018
|
+
--- Warps to the Mega Satan room on the floor. (Every floor has a Mega Satan room.)
|
|
1019
|
+
function ____exports.megaSatan(self)
|
|
1020
|
+
changeRoom(nil, GridRoom.MEGA_SATAN)
|
|
1021
|
+
end
|
|
1018
1022
|
--- Warps to the first Miniboss Room on the floor.
|
|
1019
1023
|
function ____exports.miniboss(self)
|
|
1020
1024
|
warpToRoomType(nil, RoomType.MINI_BOSS)
|
|
@@ -6,14 +6,14 @@ exports.v = void 0;
|
|
|
6
6
|
exports.v = {
|
|
7
7
|
persistent: {
|
|
8
8
|
// Curses
|
|
9
|
-
darkness: false,
|
|
10
|
-
labyrinth: false,
|
|
11
|
-
lost: false,
|
|
12
|
-
unknown: false,
|
|
13
|
-
cursed: false,
|
|
14
|
-
maze: false,
|
|
15
|
-
blind: false,
|
|
16
|
-
giant: false,
|
|
9
|
+
darkness: false, // 1
|
|
10
|
+
labyrinth: false, // 2
|
|
11
|
+
lost: false, // 3
|
|
12
|
+
unknown: false, // 4
|
|
13
|
+
cursed: false, // 5
|
|
14
|
+
maze: false, // 6
|
|
15
|
+
blind: false, // 7
|
|
16
|
+
giant: false, // 8
|
|
17
17
|
disableCurses: false,
|
|
18
18
|
// Stats
|
|
19
19
|
damage: false,
|
|
@@ -21,7 +21,7 @@ exports.v = {
|
|
|
21
21
|
speed: false,
|
|
22
22
|
speedAmount: 2,
|
|
23
23
|
tears: false,
|
|
24
|
-
tearsAmount: 1,
|
|
24
|
+
tearsAmount: 1, // In tear delay, not tears stat
|
|
25
25
|
flight: false,
|
|
26
26
|
// Other
|
|
27
27
|
chaosCardTears: false,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/// <reference types="isaac-typescript-definitions" />
|
|
3
3
|
/// <reference types="isaac-typescript-definitions" />
|
|
4
4
|
/// <reference types="isaac-typescript-definitions" />
|
|
5
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
5
6
|
/**
|
|
6
7
|
* A cached version of the class returned from the `Game()` constructor.
|
|
7
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cachedClasses.d.ts","sourceRoot":"","sources":["../../src/core/cachedClasses.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cachedClasses.d.ts","sourceRoot":"","sources":["../../src/core/cachedClasses.ts"],"names":[],"mappings":";;;;;AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,IAAI,MAAS,CAAC;AAE3B;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,YAAwB,CAAC;AAEhD;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,cAAiB,CAAC;AAE3C;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,YAAe,CAAC;AAEvC;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;;;;;;;CAQR,CAAC"}
|
package/dist/core/constants.js
CHANGED
|
@@ -30,17 +30,17 @@ exports.BLIND_ITEM_PNG_PATH = "gfx/items/collectibles/questionmark.png";
|
|
|
30
30
|
/** Bombs explode when their frame count is equal to this value. */
|
|
31
31
|
exports.BOMB_EXPLODE_FRAME = 45;
|
|
32
32
|
exports.CHEST_PICKUP_VARIANTS = [
|
|
33
|
-
isaac_typescript_definitions_1.PickupVariant.CHEST,
|
|
34
|
-
isaac_typescript_definitions_1.PickupVariant.BOMB_CHEST,
|
|
35
|
-
isaac_typescript_definitions_1.PickupVariant.SPIKED_CHEST,
|
|
36
|
-
isaac_typescript_definitions_1.PickupVariant.ETERNAL_CHEST,
|
|
37
|
-
isaac_typescript_definitions_1.PickupVariant.MIMIC_CHEST,
|
|
38
|
-
isaac_typescript_definitions_1.PickupVariant.OLD_CHEST,
|
|
39
|
-
isaac_typescript_definitions_1.PickupVariant.WOODEN_CHEST,
|
|
40
|
-
isaac_typescript_definitions_1.PickupVariant.MEGA_CHEST,
|
|
41
|
-
isaac_typescript_definitions_1.PickupVariant.HAUNTED_CHEST,
|
|
42
|
-
isaac_typescript_definitions_1.PickupVariant.LOCKED_CHEST,
|
|
43
|
-
isaac_typescript_definitions_1.PickupVariant.RED_CHEST,
|
|
33
|
+
isaac_typescript_definitions_1.PickupVariant.CHEST, // 50
|
|
34
|
+
isaac_typescript_definitions_1.PickupVariant.BOMB_CHEST, // 51
|
|
35
|
+
isaac_typescript_definitions_1.PickupVariant.SPIKED_CHEST, // 52
|
|
36
|
+
isaac_typescript_definitions_1.PickupVariant.ETERNAL_CHEST, // 53
|
|
37
|
+
isaac_typescript_definitions_1.PickupVariant.MIMIC_CHEST, // 54
|
|
38
|
+
isaac_typescript_definitions_1.PickupVariant.OLD_CHEST, // 55
|
|
39
|
+
isaac_typescript_definitions_1.PickupVariant.WOODEN_CHEST, // 56
|
|
40
|
+
isaac_typescript_definitions_1.PickupVariant.MEGA_CHEST, // 57
|
|
41
|
+
isaac_typescript_definitions_1.PickupVariant.HAUNTED_CHEST, // 58
|
|
42
|
+
isaac_typescript_definitions_1.PickupVariant.LOCKED_CHEST, // 60
|
|
43
|
+
isaac_typescript_definitions_1.PickupVariant.RED_CHEST, // 360
|
|
44
44
|
isaac_typescript_definitions_1.PickupVariant.MOMS_CHEST, // 390
|
|
45
45
|
];
|
|
46
46
|
exports.CHEST_PICKUP_VARIANTS_SET = new ReadonlySet_1.ReadonlySet(exports.CHEST_PICKUP_VARIANTS);
|
|
@@ -74,11 +74,11 @@ exports.FIRST_GLITCHED_COLLECTIBLE_TYPE = (0, types_1.asCollectibleType)((1 << 3
|
|
|
74
74
|
* An array containing every flying character. This includes non-main characters such as The Soul.
|
|
75
75
|
*/
|
|
76
76
|
exports.FLYING_CHARACTERS = [
|
|
77
|
-
isaac_typescript_definitions_1.PlayerType.AZAZEL,
|
|
78
|
-
isaac_typescript_definitions_1.PlayerType.LOST,
|
|
79
|
-
isaac_typescript_definitions_1.PlayerType.SOUL,
|
|
80
|
-
isaac_typescript_definitions_1.PlayerType.LOST_B,
|
|
81
|
-
isaac_typescript_definitions_1.PlayerType.JACOB_2_B,
|
|
77
|
+
isaac_typescript_definitions_1.PlayerType.AZAZEL, // 7
|
|
78
|
+
isaac_typescript_definitions_1.PlayerType.LOST, // 10
|
|
79
|
+
isaac_typescript_definitions_1.PlayerType.SOUL, // 17
|
|
80
|
+
isaac_typescript_definitions_1.PlayerType.LOST_B, // 31
|
|
81
|
+
isaac_typescript_definitions_1.PlayerType.JACOB_2_B, // 39
|
|
82
82
|
isaac_typescript_definitions_1.PlayerType.SOUL_B, // 40
|
|
83
83
|
];
|
|
84
84
|
/** Game frames are what is returned by the `Game.GetFrameCount` method. */
|
|
@@ -90,39 +90,39 @@ exports.GAME_FRAMES_PER_MINUTE = exports.GAME_FRAMES_PER_SECOND * 60;
|
|
|
90
90
|
* related to completing the various bosses and so on).
|
|
91
91
|
*/
|
|
92
92
|
exports.MAIN_CHARACTERS = [
|
|
93
|
-
isaac_typescript_definitions_1.PlayerType.ISAAC,
|
|
94
|
-
isaac_typescript_definitions_1.PlayerType.MAGDALENE,
|
|
95
|
-
isaac_typescript_definitions_1.PlayerType.CAIN,
|
|
96
|
-
isaac_typescript_definitions_1.PlayerType.JUDAS,
|
|
97
|
-
isaac_typescript_definitions_1.PlayerType.BLUE_BABY,
|
|
98
|
-
isaac_typescript_definitions_1.PlayerType.EVE,
|
|
99
|
-
isaac_typescript_definitions_1.PlayerType.SAMSON,
|
|
100
|
-
isaac_typescript_definitions_1.PlayerType.AZAZEL,
|
|
101
|
-
isaac_typescript_definitions_1.PlayerType.LAZARUS,
|
|
102
|
-
isaac_typescript_definitions_1.PlayerType.EDEN,
|
|
103
|
-
isaac_typescript_definitions_1.PlayerType.LOST,
|
|
104
|
-
isaac_typescript_definitions_1.PlayerType.LILITH,
|
|
105
|
-
isaac_typescript_definitions_1.PlayerType.KEEPER,
|
|
106
|
-
isaac_typescript_definitions_1.PlayerType.APOLLYON,
|
|
107
|
-
isaac_typescript_definitions_1.PlayerType.FORGOTTEN,
|
|
108
|
-
isaac_typescript_definitions_1.PlayerType.BETHANY,
|
|
109
|
-
isaac_typescript_definitions_1.PlayerType.JACOB,
|
|
110
|
-
isaac_typescript_definitions_1.PlayerType.ISAAC_B,
|
|
111
|
-
isaac_typescript_definitions_1.PlayerType.MAGDALENE_B,
|
|
112
|
-
isaac_typescript_definitions_1.PlayerType.CAIN_B,
|
|
113
|
-
isaac_typescript_definitions_1.PlayerType.JUDAS_B,
|
|
114
|
-
isaac_typescript_definitions_1.PlayerType.BLUE_BABY_B,
|
|
115
|
-
isaac_typescript_definitions_1.PlayerType.EVE_B,
|
|
116
|
-
isaac_typescript_definitions_1.PlayerType.SAMSON_B,
|
|
117
|
-
isaac_typescript_definitions_1.PlayerType.AZAZEL_B,
|
|
118
|
-
isaac_typescript_definitions_1.PlayerType.LAZARUS_B,
|
|
119
|
-
isaac_typescript_definitions_1.PlayerType.EDEN_B,
|
|
120
|
-
isaac_typescript_definitions_1.PlayerType.LOST_B,
|
|
121
|
-
isaac_typescript_definitions_1.PlayerType.LILITH_B,
|
|
122
|
-
isaac_typescript_definitions_1.PlayerType.KEEPER_B,
|
|
123
|
-
isaac_typescript_definitions_1.PlayerType.APOLLYON_B,
|
|
124
|
-
isaac_typescript_definitions_1.PlayerType.FORGOTTEN_B,
|
|
125
|
-
isaac_typescript_definitions_1.PlayerType.BETHANY_B,
|
|
93
|
+
isaac_typescript_definitions_1.PlayerType.ISAAC, // 0
|
|
94
|
+
isaac_typescript_definitions_1.PlayerType.MAGDALENE, // 1
|
|
95
|
+
isaac_typescript_definitions_1.PlayerType.CAIN, // 2
|
|
96
|
+
isaac_typescript_definitions_1.PlayerType.JUDAS, // 3
|
|
97
|
+
isaac_typescript_definitions_1.PlayerType.BLUE_BABY, // 4
|
|
98
|
+
isaac_typescript_definitions_1.PlayerType.EVE, // 5
|
|
99
|
+
isaac_typescript_definitions_1.PlayerType.SAMSON, // 6
|
|
100
|
+
isaac_typescript_definitions_1.PlayerType.AZAZEL, // 7
|
|
101
|
+
isaac_typescript_definitions_1.PlayerType.LAZARUS, // 8
|
|
102
|
+
isaac_typescript_definitions_1.PlayerType.EDEN, // 9
|
|
103
|
+
isaac_typescript_definitions_1.PlayerType.LOST, // 10
|
|
104
|
+
isaac_typescript_definitions_1.PlayerType.LILITH, // 13
|
|
105
|
+
isaac_typescript_definitions_1.PlayerType.KEEPER, // 14
|
|
106
|
+
isaac_typescript_definitions_1.PlayerType.APOLLYON, // 15
|
|
107
|
+
isaac_typescript_definitions_1.PlayerType.FORGOTTEN, // 16
|
|
108
|
+
isaac_typescript_definitions_1.PlayerType.BETHANY, // 18
|
|
109
|
+
isaac_typescript_definitions_1.PlayerType.JACOB, // 19
|
|
110
|
+
isaac_typescript_definitions_1.PlayerType.ISAAC_B, // 21
|
|
111
|
+
isaac_typescript_definitions_1.PlayerType.MAGDALENE_B, // 22
|
|
112
|
+
isaac_typescript_definitions_1.PlayerType.CAIN_B, // 23
|
|
113
|
+
isaac_typescript_definitions_1.PlayerType.JUDAS_B, // 24
|
|
114
|
+
isaac_typescript_definitions_1.PlayerType.BLUE_BABY_B, // 25
|
|
115
|
+
isaac_typescript_definitions_1.PlayerType.EVE_B, // 26
|
|
116
|
+
isaac_typescript_definitions_1.PlayerType.SAMSON_B, // 27
|
|
117
|
+
isaac_typescript_definitions_1.PlayerType.AZAZEL_B, // 28
|
|
118
|
+
isaac_typescript_definitions_1.PlayerType.LAZARUS_B, // 29
|
|
119
|
+
isaac_typescript_definitions_1.PlayerType.EDEN_B, // 30
|
|
120
|
+
isaac_typescript_definitions_1.PlayerType.LOST_B, // 31
|
|
121
|
+
isaac_typescript_definitions_1.PlayerType.LILITH_B, // 32
|
|
122
|
+
isaac_typescript_definitions_1.PlayerType.KEEPER_B, // 33
|
|
123
|
+
isaac_typescript_definitions_1.PlayerType.APOLLYON_B, // 34
|
|
124
|
+
isaac_typescript_definitions_1.PlayerType.FORGOTTEN_B, // 35
|
|
125
|
+
isaac_typescript_definitions_1.PlayerType.BETHANY_B, // 36
|
|
126
126
|
isaac_typescript_definitions_1.PlayerType.JACOB_B, // 37
|
|
127
127
|
];
|
|
128
128
|
/** Render frames are what is returned by the `Isaac.GetFrameCount` method. */
|
|
@@ -153,15 +153,15 @@ exports.LEVEL_GRID_ROW_WIDTH = 13;
|
|
|
153
153
|
* activated.
|
|
154
154
|
*/
|
|
155
155
|
exports.MAPPING_COLLECTIBLES = [
|
|
156
|
-
isaac_typescript_definitions_1.CollectibleType.COMPASS,
|
|
157
|
-
isaac_typescript_definitions_1.CollectibleType.TREASURE_MAP,
|
|
158
|
-
isaac_typescript_definitions_1.CollectibleType.SPELUNKER_HAT,
|
|
159
|
-
isaac_typescript_definitions_1.CollectibleType.CRYSTAL_BALL,
|
|
160
|
-
isaac_typescript_definitions_1.CollectibleType.BLUE_MAP,
|
|
161
|
-
isaac_typescript_definitions_1.CollectibleType.BOOK_OF_SECRETS,
|
|
162
|
-
isaac_typescript_definitions_1.CollectibleType.MIND,
|
|
163
|
-
isaac_typescript_definitions_1.CollectibleType.SOL,
|
|
164
|
-
isaac_typescript_definitions_1.CollectibleType.LUNA,
|
|
156
|
+
isaac_typescript_definitions_1.CollectibleType.COMPASS, // 21
|
|
157
|
+
isaac_typescript_definitions_1.CollectibleType.TREASURE_MAP, // 54
|
|
158
|
+
isaac_typescript_definitions_1.CollectibleType.SPELUNKER_HAT, // 91
|
|
159
|
+
isaac_typescript_definitions_1.CollectibleType.CRYSTAL_BALL, // 158
|
|
160
|
+
isaac_typescript_definitions_1.CollectibleType.BLUE_MAP, // 246
|
|
161
|
+
isaac_typescript_definitions_1.CollectibleType.BOOK_OF_SECRETS, // 287
|
|
162
|
+
isaac_typescript_definitions_1.CollectibleType.MIND, // 333
|
|
163
|
+
isaac_typescript_definitions_1.CollectibleType.SOL, // 588
|
|
164
|
+
isaac_typescript_definitions_1.CollectibleType.LUNA, // 589
|
|
165
165
|
isaac_typescript_definitions_1.CollectibleType.CRACKED_ORB, // 675
|
|
166
166
|
];
|
|
167
167
|
/**
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* or max hearts.
|
|
5
5
|
*/
|
|
6
6
|
export declare enum HealthType {
|
|
7
|
-
RED = 0
|
|
8
|
-
SOUL = 1
|
|
9
|
-
ETERNAL = 2
|
|
10
|
-
BLACK = 3
|
|
11
|
-
GOLDEN = 4
|
|
12
|
-
BONE = 5
|
|
13
|
-
ROTTEN = 6
|
|
7
|
+
RED = 0,// 5.10.1
|
|
8
|
+
SOUL = 1,// 5.10.3
|
|
9
|
+
ETERNAL = 2,// 5.10.4
|
|
10
|
+
BLACK = 3,// 5.10.6
|
|
11
|
+
GOLDEN = 4,// 5.10.7
|
|
12
|
+
BONE = 5,// 5.10.11
|
|
13
|
+
ROTTEN = 6,// 5.10.12
|
|
14
14
|
BROKEN = 7,
|
|
15
15
|
MAX_HEARTS = 8
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HealthType.d.ts","sourceRoot":"","sources":["../../src/enums/HealthType.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,UAAU;IACpB,GAAG,IAAA;
|
|
1
|
+
{"version":3,"file":"HealthType.d.ts","sourceRoot":"","sources":["../../src/enums/HealthType.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,UAAU;IACpB,GAAG,IAAA,CAAE,SAAS;IACd,IAAI,IAAA,CAAE,SAAS;IACf,OAAO,IAAA,CAAE,SAAS;IAClB,KAAK,IAAA,CAAE,SAAS;IAChB,MAAM,IAAA,CAAE,SAAS;IACjB,IAAI,IAAA,CAAE,UAAU;IAChB,MAAM,IAAA,CAAE,UAAU;IAClB,MAAM,IAAA;IACN,UAAU,IAAA;CACX"}
|
package/dist/features.js
CHANGED
|
@@ -61,7 +61,7 @@ const UnlockAchievementsDetection_1 = require("./classes/features/other/UnlockAc
|
|
|
61
61
|
const ISCFeature_1 = require("./enums/ISCFeature");
|
|
62
62
|
const ModCallbackCustom_1 = require("./enums/ModCallbackCustom");
|
|
63
63
|
const enums_1 = require("./functions/enums");
|
|
64
|
-
(0, enums_1.
|
|
64
|
+
(0, enums_1.interfaceSatisfiesEnum)();
|
|
65
65
|
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
66
66
|
function getFeatures(mod, callbacks) {
|
|
67
67
|
// Some features rely on other features; we must initialize those first.
|
package/dist/features.lua
CHANGED
|
@@ -120,8 +120,8 @@ local ISCFeature = ____ISCFeature.ISCFeature
|
|
|
120
120
|
local ____ModCallbackCustom = require("enums.ModCallbackCustom")
|
|
121
121
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
122
122
|
local ____enums = require("functions.enums")
|
|
123
|
-
local
|
|
124
|
-
|
|
123
|
+
local interfaceSatisfiesEnum = ____enums.interfaceSatisfiesEnum
|
|
124
|
+
interfaceSatisfiesEnum(nil)
|
|
125
125
|
function ____exports.getFeatures(self, mod, callbacks)
|
|
126
126
|
local gameReorderedCallbacks = __TS__New(
|
|
127
127
|
GameReorderedCallbacks,
|
|
@@ -94,7 +94,7 @@ export declare function copyArray<T>(oldArray: readonly T[], numElements?: int):
|
|
|
94
94
|
/** Helper function to remove all of the elements in an array in-place. */
|
|
95
95
|
export declare function emptyArray<T>(array: T[]): void;
|
|
96
96
|
/**
|
|
97
|
-
* Helper function to perform a
|
|
97
|
+
* Helper function to perform a filter and a map at the same time. Similar to `Array.map`, provide a
|
|
98
98
|
* function that transforms a value, but return `undefined` if the value should be skipped. (Thus,
|
|
99
99
|
* this function cannot be used in situations where `undefined` can be a valid array element.)
|
|
100
100
|
*
|
package/dist/functions/array.js
CHANGED
|
@@ -220,7 +220,7 @@ function emptyArray(array) {
|
|
|
220
220
|
}
|
|
221
221
|
exports.emptyArray = emptyArray;
|
|
222
222
|
/**
|
|
223
|
-
* Helper function to perform a
|
|
223
|
+
* Helper function to perform a filter and a map at the same time. Similar to `Array.map`, provide a
|
|
224
224
|
* function that transforms a value, but return `undefined` if the value should be skipped. (Thus,
|
|
225
225
|
* this function cannot be used in situations where `undefined` can be a valid array element.)
|
|
226
226
|
*
|
package/dist/functions/array.lua
CHANGED
|
@@ -307,7 +307,7 @@ end
|
|
|
307
307
|
function ____exports.emptyArray(self, array)
|
|
308
308
|
__TS__ArraySplice(array, 0, #array)
|
|
309
309
|
end
|
|
310
|
-
--- Helper function to perform a
|
|
310
|
+
--- Helper function to perform a filter and a map at the same time. Similar to `Array.map`, provide a
|
|
311
311
|
-- function that transforms a value, but return `undefined` if the value should be skipped. (Thus,
|
|
312
312
|
-- this function cannot be used in situations where `undefined` can be a valid array element.)
|
|
313
313
|
--
|
package/dist/functions/bosses.js
CHANGED
|
@@ -18,10 +18,10 @@ const rng_1 = require("./rng");
|
|
|
18
18
|
const rooms_1 = require("./rooms");
|
|
19
19
|
const utils_1 = require("./utils");
|
|
20
20
|
const BOSSES_THAT_REQUIRE_MULTIPLE_SPAWNS = new ReadonlySet_1.ReadonlySet([
|
|
21
|
-
isaac_typescript_definitions_1.EntityType.LARRY_JR,
|
|
22
|
-
isaac_typescript_definitions_1.EntityType.CHUB,
|
|
23
|
-
isaac_typescript_definitions_1.EntityType.LOKI,
|
|
24
|
-
isaac_typescript_definitions_1.EntityType.GURGLING,
|
|
21
|
+
isaac_typescript_definitions_1.EntityType.LARRY_JR, // 19 (and The Hollow / Tuff Twins / The Shell)
|
|
22
|
+
isaac_typescript_definitions_1.EntityType.CHUB, // 28 (and C.H.A.D. / The Carrion Queen)
|
|
23
|
+
isaac_typescript_definitions_1.EntityType.LOKI, // 69 (only for Lokii)
|
|
24
|
+
isaac_typescript_definitions_1.EntityType.GURGLING, // 237 (and Turdling)
|
|
25
25
|
isaac_typescript_definitions_1.EntityType.TURDLET, // 918
|
|
26
26
|
]);
|
|
27
27
|
const DEFAULT_BOSS_MULTI_SEGMENTS = 4;
|
package/dist/functions/charge.js
CHANGED
|
@@ -221,7 +221,7 @@ exports.isActiveSlotDoubleCharged = isActiveSlotDoubleCharged;
|
|
|
221
221
|
*/
|
|
222
222
|
function playChargeSoundEffect(player, activeSlot = isaac_typescript_definitions_1.ActiveSlot.PRIMARY) {
|
|
223
223
|
for (const soundEffect of [
|
|
224
|
-
isaac_typescript_definitions_1.SoundEffect.BATTERY_CHARGE,
|
|
224
|
+
isaac_typescript_definitions_1.SoundEffect.BATTERY_CHARGE, // 170
|
|
225
225
|
isaac_typescript_definitions_1.SoundEffect.BEEP, // 171
|
|
226
226
|
]) {
|
|
227
227
|
cachedClasses_1.sfxManager.Stop(soundEffect);
|
|
@@ -9,12 +9,12 @@ const gridEntities_1 = require("./gridEntities");
|
|
|
9
9
|
const roomShapeWalls_1 = require("./roomShapeWalls");
|
|
10
10
|
const rooms_1 = require("./rooms");
|
|
11
11
|
const EMPTY_ROOM_BLACKLIST_ENTITY_SET = new ReadonlySet_1.ReadonlySet([
|
|
12
|
-
isaac_typescript_definitions_1.EntityType.PLAYER,
|
|
13
|
-
isaac_typescript_definitions_1.EntityType.TEAR,
|
|
14
|
-
isaac_typescript_definitions_1.EntityType.FAMILIAR,
|
|
15
|
-
isaac_typescript_definitions_1.EntityType.LASER,
|
|
16
|
-
isaac_typescript_definitions_1.EntityType.KNIFE,
|
|
17
|
-
isaac_typescript_definitions_1.EntityType.PROJECTILE,
|
|
12
|
+
isaac_typescript_definitions_1.EntityType.PLAYER, // 1
|
|
13
|
+
isaac_typescript_definitions_1.EntityType.TEAR, // 2
|
|
14
|
+
isaac_typescript_definitions_1.EntityType.FAMILIAR, // 3
|
|
15
|
+
isaac_typescript_definitions_1.EntityType.LASER, // 7
|
|
16
|
+
isaac_typescript_definitions_1.EntityType.KNIFE, // 8
|
|
17
|
+
isaac_typescript_definitions_1.EntityType.PROJECTILE, // 9
|
|
18
18
|
isaac_typescript_definitions_1.EntityType.DARK_ESAU, // 866
|
|
19
19
|
]);
|
|
20
20
|
/**
|