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
package/dist/index.rollup.d.ts
CHANGED
|
@@ -4597,7 +4597,7 @@ export declare function fillLevelWithRedRooms(): void;
|
|
|
4597
4597
|
export declare function filter<T>(array: readonly T[], func: (value: T, index: number, array: readonly T[]) => boolean): readonly T[];
|
|
4598
4598
|
|
|
4599
4599
|
/**
|
|
4600
|
-
* Helper function to perform a
|
|
4600
|
+
* Helper function to perform a filter and a map at the same time. Similar to `Array.map`, provide a
|
|
4601
4601
|
* function that transforms a value, but return `undefined` if the value should be skipped. (Thus,
|
|
4602
4602
|
* this function cannot be used in situations where `undefined` can be a valid array element.)
|
|
4603
4603
|
*
|
|
@@ -8568,13 +8568,13 @@ export declare function hasUnusedDoorSlot(): boolean;
|
|
|
8568
8568
|
* or max hearts.
|
|
8569
8569
|
*/
|
|
8570
8570
|
export declare enum HealthType {
|
|
8571
|
-
RED = 0
|
|
8572
|
-
SOUL = 1
|
|
8573
|
-
ETERNAL = 2
|
|
8574
|
-
BLACK = 3
|
|
8575
|
-
GOLDEN = 4
|
|
8576
|
-
BONE = 5
|
|
8577
|
-
ROTTEN = 6
|
|
8571
|
+
RED = 0,// 5.10.1
|
|
8572
|
+
SOUL = 1,// 5.10.3
|
|
8573
|
+
ETERNAL = 2,// 5.10.4
|
|
8574
|
+
BLACK = 3,// 5.10.6
|
|
8575
|
+
GOLDEN = 4,// 5.10.7
|
|
8576
|
+
BONE = 5,// 5.10.11
|
|
8577
|
+
ROTTEN = 6,// 5.10.12
|
|
8578
8578
|
BROKEN = 7,
|
|
8579
8579
|
MAX_HEARTS = 8
|
|
8580
8580
|
}
|
|
@@ -8870,6 +8870,35 @@ export declare function inSecretShop(): boolean;
|
|
|
8870
8870
|
*/
|
|
8871
8871
|
export declare function inStartingRoom(): boolean;
|
|
8872
8872
|
|
|
8873
|
+
/**
|
|
8874
|
+
* Helper function to validate that an interface contains all of the keys of an enum. You must
|
|
8875
|
+
* specify both generic parameters in order for this to work properly (i.e. the interface and then
|
|
8876
|
+
* the enum).
|
|
8877
|
+
*
|
|
8878
|
+
* For example:
|
|
8879
|
+
*
|
|
8880
|
+
* ```ts
|
|
8881
|
+
* enum MyEnum {
|
|
8882
|
+
* Value1,
|
|
8883
|
+
* Value2,
|
|
8884
|
+
* Value3,
|
|
8885
|
+
* }
|
|
8886
|
+
*
|
|
8887
|
+
* interface MyEnumToType {
|
|
8888
|
+
* [MyEnum.Value1]: boolean;
|
|
8889
|
+
* [MyEnum.Value2]: number;
|
|
8890
|
+
* [MyEnum.Value3]: string;
|
|
8891
|
+
* }
|
|
8892
|
+
*
|
|
8893
|
+
* interfaceSatisfiesEnum<MyEnumToType, MyEnum>();
|
|
8894
|
+
* ```
|
|
8895
|
+
*
|
|
8896
|
+
* This function is only meant to be used with interfaces (i.e. types that will not exist at
|
|
8897
|
+
* run-time). If you are generating an object that will contain all of the keys of an enum, use the
|
|
8898
|
+
* `satisfies` operator with the `Record` type instead.
|
|
8899
|
+
*/
|
|
8900
|
+
export declare function interfaceSatisfiesEnum<T extends Record<Enum, unknown>, Enum extends string | number>(): void;
|
|
8901
|
+
|
|
8873
8902
|
/**
|
|
8874
8903
|
* Helper type to get a range of integers. It is inclusive on both ends. (The "I" in the type name
|
|
8875
8904
|
* stands for inclusive.)
|
|
@@ -19226,35 +19255,6 @@ export declare function validateCustomEnum(transpiledEnumName: string, transpile
|
|
|
19226
19255
|
*/
|
|
19227
19256
|
export declare function validateEnumContiguous<T extends TranspiledEnum>(transpiledEnumName: string, transpiledEnum: T): void;
|
|
19228
19257
|
|
|
19229
|
-
/**
|
|
19230
|
-
* Helper function to validate that an interface contains all of the keys of an enum. You must
|
|
19231
|
-
* specify both generic parameters in order for this to work properly (i.e. the interface and then
|
|
19232
|
-
* the enum).
|
|
19233
|
-
*
|
|
19234
|
-
* For example:
|
|
19235
|
-
*
|
|
19236
|
-
* ```ts
|
|
19237
|
-
* enum MyEnum {
|
|
19238
|
-
* Value1,
|
|
19239
|
-
* Value2,
|
|
19240
|
-
* Value3,
|
|
19241
|
-
* }
|
|
19242
|
-
*
|
|
19243
|
-
* interface MyEnumToType {
|
|
19244
|
-
* [MyEnum.Value1]: boolean;
|
|
19245
|
-
* [MyEnum.Value2]: number;
|
|
19246
|
-
* [MyEnum.Value3]: string;
|
|
19247
|
-
* }
|
|
19248
|
-
*
|
|
19249
|
-
* validateInterfaceMatchesEnum<MyEnumToType, MyEnum>();
|
|
19250
|
-
* ```
|
|
19251
|
-
*
|
|
19252
|
-
* This function is only meant to be used with interfaces (i.e. types that will not exist at
|
|
19253
|
-
* run-time). If you are generating an object that will contain all of the keys of an enum, use the
|
|
19254
|
-
* `satisfies` operator with the `Record` type instead.
|
|
19255
|
-
*/
|
|
19256
|
-
export declare function validateInterfaceMatchesEnum<T extends Record<Enum, unknown>, Enum extends string | number>(): void;
|
|
19257
|
-
|
|
19258
19258
|
/**
|
|
19259
19259
|
* An array that represents the range from the first vanilla card type to the last vanilla card
|
|
19260
19260
|
* type.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
local ____exports = {}
|
|
2
2
|
local ____enums = require("functions.enums")
|
|
3
|
-
local
|
|
4
|
-
|
|
3
|
+
local interfaceSatisfiesEnum = ____enums.interfaceSatisfiesEnum
|
|
4
|
+
interfaceSatisfiesEnum(nil)
|
|
5
5
|
return ____exports
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
local ____exports = {}
|
|
2
2
|
local ____enums = require("functions.enums")
|
|
3
|
-
local
|
|
4
|
-
|
|
3
|
+
local interfaceSatisfiesEnum = ____enums.interfaceSatisfiesEnum
|
|
4
|
+
interfaceSatisfiesEnum(nil)
|
|
5
5
|
return ____exports
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 85.0
|
|
3
|
+
isaacscript-common 85.1.0
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -18770,7 +18770,7 @@ end
|
|
|
18770
18770
|
function ____exports.emptyArray(self, array)
|
|
18771
18771
|
__TS__ArraySplice(array, 0, #array)
|
|
18772
18772
|
end
|
|
18773
|
-
--- Helper function to perform a
|
|
18773
|
+
--- Helper function to perform a filter and a map at the same time. Similar to `Array.map`, provide a
|
|
18774
18774
|
-- function that transforms a value, but return `undefined` if the value should be skipped. (Thus,
|
|
18775
18775
|
-- this function cannot be used in situations where `undefined` can be a valid array element.)
|
|
18776
18776
|
--
|
|
@@ -19251,6 +19251,33 @@ function ____exports.getRandomEnumValue(self, transpiledEnum, seedOrRNG, excepti
|
|
|
19251
19251
|
local enumValues = ____exports.getEnumValues(nil, transpiledEnum)
|
|
19252
19252
|
return getRandomArrayElement(nil, enumValues, seedOrRNG, exceptions)
|
|
19253
19253
|
end
|
|
19254
|
+
--- Helper function to validate that an interface contains all of the keys of an enum. You must
|
|
19255
|
+
-- specify both generic parameters in order for this to work properly (i.e. the interface and then
|
|
19256
|
+
-- the enum).
|
|
19257
|
+
--
|
|
19258
|
+
-- For example:
|
|
19259
|
+
--
|
|
19260
|
+
-- ```ts
|
|
19261
|
+
-- enum MyEnum {
|
|
19262
|
+
-- Value1,
|
|
19263
|
+
-- Value2,
|
|
19264
|
+
-- Value3,
|
|
19265
|
+
-- }
|
|
19266
|
+
--
|
|
19267
|
+
-- interface MyEnumToType {
|
|
19268
|
+
-- [MyEnum.Value1]: boolean;
|
|
19269
|
+
-- [MyEnum.Value2]: number;
|
|
19270
|
+
-- [MyEnum.Value3]: string;
|
|
19271
|
+
-- }
|
|
19272
|
+
--
|
|
19273
|
+
-- interfaceSatisfiesEnum<MyEnumToType, MyEnum>();
|
|
19274
|
+
-- ```
|
|
19275
|
+
--
|
|
19276
|
+
-- This function is only meant to be used with interfaces (i.e. types that will not exist at
|
|
19277
|
+
-- run-time). If you are generating an object that will contain all of the keys of an enum, use the
|
|
19278
|
+
-- `satisfies` operator with the `Record` type instead.
|
|
19279
|
+
function ____exports.interfaceSatisfiesEnum(self)
|
|
19280
|
+
end
|
|
19254
19281
|
--- Helper function to validate that a particular value exists inside of an enum.
|
|
19255
19282
|
function ____exports.isEnumValue(self, value, transpiledEnum)
|
|
19256
19283
|
local enumValues = ____exports.getEnumValues(nil, transpiledEnum)
|
|
@@ -19295,33 +19322,6 @@ function ____exports.validateEnumContiguous(self, transpiledEnumName, transpiled
|
|
|
19295
19322
|
end
|
|
19296
19323
|
end
|
|
19297
19324
|
end
|
|
19298
|
-
--- Helper function to validate that an interface contains all of the keys of an enum. You must
|
|
19299
|
-
-- specify both generic parameters in order for this to work properly (i.e. the interface and then
|
|
19300
|
-
-- the enum).
|
|
19301
|
-
--
|
|
19302
|
-
-- For example:
|
|
19303
|
-
--
|
|
19304
|
-
-- ```ts
|
|
19305
|
-
-- enum MyEnum {
|
|
19306
|
-
-- Value1,
|
|
19307
|
-
-- Value2,
|
|
19308
|
-
-- Value3,
|
|
19309
|
-
-- }
|
|
19310
|
-
--
|
|
19311
|
-
-- interface MyEnumToType {
|
|
19312
|
-
-- [MyEnum.Value1]: boolean;
|
|
19313
|
-
-- [MyEnum.Value2]: number;
|
|
19314
|
-
-- [MyEnum.Value3]: string;
|
|
19315
|
-
-- }
|
|
19316
|
-
--
|
|
19317
|
-
-- validateInterfaceMatchesEnum<MyEnumToType, MyEnum>();
|
|
19318
|
-
-- ```
|
|
19319
|
-
--
|
|
19320
|
-
-- This function is only meant to be used with interfaces (i.e. types that will not exist at
|
|
19321
|
-
-- run-time). If you are generating an object that will contain all of the keys of an enum, use the
|
|
19322
|
-
-- `satisfies` operator with the `Record` type instead.
|
|
19323
|
-
function ____exports.validateInterfaceMatchesEnum(self)
|
|
19324
|
-
end
|
|
19325
19325
|
return ____exports
|
|
19326
19326
|
end,
|
|
19327
19327
|
["cachedEnumValues"] = function(...)
|
|
@@ -19596,15 +19596,15 @@ return ____exports
|
|
|
19596
19596
|
["interfaces.PlayerStats"] = function(...)
|
|
19597
19597
|
local ____exports = {}
|
|
19598
19598
|
local ____enums = require("functions.enums")
|
|
19599
|
-
local
|
|
19600
|
-
|
|
19599
|
+
local interfaceSatisfiesEnum = ____enums.interfaceSatisfiesEnum
|
|
19600
|
+
interfaceSatisfiesEnum(nil)
|
|
19601
19601
|
return ____exports
|
|
19602
19602
|
end,
|
|
19603
19603
|
["interfaces.private.AddCallbackParametersCustom"] = function(...)
|
|
19604
19604
|
local ____exports = {}
|
|
19605
19605
|
local ____enums = require("functions.enums")
|
|
19606
|
-
local
|
|
19607
|
-
|
|
19606
|
+
local interfaceSatisfiesEnum = ____enums.interfaceSatisfiesEnum
|
|
19607
|
+
interfaceSatisfiesEnum(nil)
|
|
19608
19608
|
return ____exports
|
|
19609
19609
|
end,
|
|
19610
19610
|
["types.AllButFirst"] = function(...)
|
|
@@ -61355,6 +61355,10 @@ function ____exports.maze(self)
|
|
|
61355
61355
|
v.persistent.maze = not v.persistent.maze
|
|
61356
61356
|
printEnabled(nil, v.persistent.maze, "permanent Curse of the Maze")
|
|
61357
61357
|
end
|
|
61358
|
+
--- Warps to the Mega Satan room on the floor. (Every floor has a Mega Satan room.)
|
|
61359
|
+
function ____exports.megaSatan(self)
|
|
61360
|
+
changeRoom(nil, GridRoom.MEGA_SATAN)
|
|
61361
|
+
end
|
|
61358
61362
|
--- Warps to the first Miniboss Room on the floor.
|
|
61359
61363
|
function ____exports.miniboss(self)
|
|
61360
61364
|
warpToRoomType(nil, RoomType.MINI_BOSS)
|
|
@@ -63612,8 +63616,8 @@ local ISCFeature = ____ISCFeature.ISCFeature
|
|
|
63612
63616
|
local ____ModCallbackCustom = require("enums.ModCallbackCustom")
|
|
63613
63617
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
63614
63618
|
local ____enums = require("functions.enums")
|
|
63615
|
-
local
|
|
63616
|
-
|
|
63619
|
+
local interfaceSatisfiesEnum = ____enums.interfaceSatisfiesEnum
|
|
63620
|
+
interfaceSatisfiesEnum(nil)
|
|
63617
63621
|
function ____exports.getFeatures(self, mod, callbacks)
|
|
63618
63622
|
local gameReorderedCallbacks = __TS__New(
|
|
63619
63623
|
GameReorderedCallbacks,
|
|
@@ -4,20 +4,20 @@ exports.PHD_PILL_CONVERSIONS_MAP = void 0;
|
|
|
4
4
|
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
|
|
5
5
|
const ReadonlyMap_1 = require("../types/ReadonlyMap");
|
|
6
6
|
exports.PHD_PILL_CONVERSIONS_MAP = new ReadonlyMap_1.ReadonlyMap([
|
|
7
|
-
[isaac_typescript_definitions_1.PillEffect.BAD_TRIP, isaac_typescript_definitions_1.PillEffect.BALLS_OF_STEEL],
|
|
8
|
-
[isaac_typescript_definitions_1.PillEffect.HEALTH_DOWN, isaac_typescript_definitions_1.PillEffect.HEALTH_UP],
|
|
9
|
-
[isaac_typescript_definitions_1.PillEffect.RANGE_DOWN, isaac_typescript_definitions_1.PillEffect.RANGE_UP],
|
|
10
|
-
[isaac_typescript_definitions_1.PillEffect.SPEED_DOWN, isaac_typescript_definitions_1.PillEffect.SPEED_UP],
|
|
11
|
-
[isaac_typescript_definitions_1.PillEffect.TEARS_DOWN, isaac_typescript_definitions_1.PillEffect.TEARS_UP],
|
|
12
|
-
[isaac_typescript_definitions_1.PillEffect.LUCK_DOWN, isaac_typescript_definitions_1.PillEffect.LUCK_UP],
|
|
13
|
-
[isaac_typescript_definitions_1.PillEffect.PARALYSIS, isaac_typescript_definitions_1.PillEffect.PHEROMONES],
|
|
14
|
-
[isaac_typescript_definitions_1.PillEffect.AMNESIA, isaac_typescript_definitions_1.PillEffect.I_CAN_SEE_FOREVER],
|
|
15
|
-
[isaac_typescript_definitions_1.PillEffect.R_U_A_WIZARD, isaac_typescript_definitions_1.PillEffect.POWER],
|
|
16
|
-
[isaac_typescript_definitions_1.PillEffect.ADDICTED, isaac_typescript_definitions_1.PillEffect.PERCS],
|
|
17
|
-
[isaac_typescript_definitions_1.PillEffect.QUESTION_MARKS, isaac_typescript_definitions_1.PillEffect.TELEPILLS],
|
|
18
|
-
[isaac_typescript_definitions_1.PillEffect.RETRO_VISION, isaac_typescript_definitions_1.PillEffect.I_CAN_SEE_FOREVER],
|
|
19
|
-
[isaac_typescript_definitions_1.PillEffect.X_LAX, isaac_typescript_definitions_1.PillEffect.SOMETHINGS_WRONG],
|
|
20
|
-
[isaac_typescript_definitions_1.PillEffect.IM_EXCITED, isaac_typescript_definitions_1.PillEffect.IM_DROWSY],
|
|
21
|
-
[isaac_typescript_definitions_1.PillEffect.HORF, isaac_typescript_definitions_1.PillEffect.GULP],
|
|
7
|
+
[isaac_typescript_definitions_1.PillEffect.BAD_TRIP, isaac_typescript_definitions_1.PillEffect.BALLS_OF_STEEL], // 1
|
|
8
|
+
[isaac_typescript_definitions_1.PillEffect.HEALTH_DOWN, isaac_typescript_definitions_1.PillEffect.HEALTH_UP], // 6
|
|
9
|
+
[isaac_typescript_definitions_1.PillEffect.RANGE_DOWN, isaac_typescript_definitions_1.PillEffect.RANGE_UP], // 11
|
|
10
|
+
[isaac_typescript_definitions_1.PillEffect.SPEED_DOWN, isaac_typescript_definitions_1.PillEffect.SPEED_UP], // 13
|
|
11
|
+
[isaac_typescript_definitions_1.PillEffect.TEARS_DOWN, isaac_typescript_definitions_1.PillEffect.TEARS_UP], // 15
|
|
12
|
+
[isaac_typescript_definitions_1.PillEffect.LUCK_DOWN, isaac_typescript_definitions_1.PillEffect.LUCK_UP], // 17
|
|
13
|
+
[isaac_typescript_definitions_1.PillEffect.PARALYSIS, isaac_typescript_definitions_1.PillEffect.PHEROMONES], // 22
|
|
14
|
+
[isaac_typescript_definitions_1.PillEffect.AMNESIA, isaac_typescript_definitions_1.PillEffect.I_CAN_SEE_FOREVER], // 25
|
|
15
|
+
[isaac_typescript_definitions_1.PillEffect.R_U_A_WIZARD, isaac_typescript_definitions_1.PillEffect.POWER], // 27
|
|
16
|
+
[isaac_typescript_definitions_1.PillEffect.ADDICTED, isaac_typescript_definitions_1.PillEffect.PERCS], // 29
|
|
17
|
+
[isaac_typescript_definitions_1.PillEffect.QUESTION_MARKS, isaac_typescript_definitions_1.PillEffect.TELEPILLS], // 31
|
|
18
|
+
[isaac_typescript_definitions_1.PillEffect.RETRO_VISION, isaac_typescript_definitions_1.PillEffect.I_CAN_SEE_FOREVER], // 37
|
|
19
|
+
[isaac_typescript_definitions_1.PillEffect.X_LAX, isaac_typescript_definitions_1.PillEffect.SOMETHINGS_WRONG], // 39
|
|
20
|
+
[isaac_typescript_definitions_1.PillEffect.IM_EXCITED, isaac_typescript_definitions_1.PillEffect.IM_DROWSY], // 42
|
|
21
|
+
[isaac_typescript_definitions_1.PillEffect.HORF, isaac_typescript_definitions_1.PillEffect.GULP], // 44
|
|
22
22
|
[isaac_typescript_definitions_1.PillEffect.SHOT_SPEED_DOWN, isaac_typescript_definitions_1.PillEffect.SHOT_SPEED_UP], // 47
|
|
23
23
|
]);
|