isaacscript-common 17.4.3 → 17.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +35 -8
- package/dist/isaacscript-common.lua +39 -21
- package/dist/src/callbacks.d.ts +1 -1
- package/dist/src/classes/features/other/customStages/backdrop.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/shadows.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/streakText.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/versusScreen.d.ts.map +1 -1
- package/dist/src/classes/features/other/customStages/versusScreen.lua +6 -10
- package/dist/src/functions/input.d.ts +32 -7
- package/dist/src/functions/input.d.ts.map +1 -1
- package/dist/src/functions/input.lua +49 -8
- package/dist/src/functions/roomShape.lua +0 -2
- package/dist/src/objects/LRoomShapeToRectangles.d.ts +5 -5
- package/dist/src/objects/LRoomShapeToRectangles.d.ts.map +1 -1
- package/dist/src/objects/backdropTypeToRockAltType.d.ts +60 -2
- package/dist/src/objects/backdropTypeToRockAltType.d.ts.map +1 -1
- package/dist/src/objects/bossNamePNGFileNames.d.ts +101 -2
- package/dist/src/objects/bossNamePNGFileNames.d.ts.map +1 -1
- package/dist/src/objects/bossPortraitPNGFileNames.d.ts +101 -2
- package/dist/src/objects/bossPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/src/objects/cardDescriptions.d.ts +98 -2
- package/dist/src/objects/cardDescriptions.d.ts.map +1 -1
- package/dist/src/objects/cardNames.d.ts +98 -2
- package/dist/src/objects/cardNames.d.ts.map +1 -1
- package/dist/src/objects/challengeNames.d.ts +46 -2
- package/dist/src/objects/challengeNames.d.ts.map +1 -1
- package/dist/src/objects/characterDamageMultipliers.d.ts +42 -2
- package/dist/src/objects/characterDamageMultipliers.d.ts.map +1 -1
- package/dist/src/objects/characterNames.d.ts +42 -2
- package/dist/src/objects/characterNames.d.ts.map +1 -1
- package/dist/src/objects/coinSubTypeToValue.d.ts +8 -2
- package/dist/src/objects/coinSubTypeToValue.d.ts.map +1 -1
- package/dist/src/objects/directionNames.d.ts +5 -2
- package/dist/src/objects/directionNames.d.ts.map +1 -1
- package/dist/src/objects/directionToDegrees.d.ts +5 -2
- package/dist/src/objects/directionToDegrees.d.ts.map +1 -1
- package/dist/src/objects/directionToVector.d.ts +1 -1
- package/dist/src/objects/directionToVector.d.ts.map +1 -1
- package/dist/src/objects/doorSlotFlagToDoorSlot.d.ts +2 -2
- package/dist/src/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
- package/dist/src/objects/doorSlotToDirection.d.ts +10 -2
- package/dist/src/objects/doorSlotToDirection.d.ts.map +1 -1
- package/dist/src/objects/doorSlotToDoorSlotFlag.d.ts +45 -2
- package/dist/src/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
- package/dist/src/objects/isaacAPIClassTypeToBrand.d.ts +5 -2
- package/dist/src/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -1
- package/dist/src/objects/isaacAPIClassTypeToFunctions.d.ts +1 -1
- package/dist/src/objects/languageNames.d.ts +7 -2
- package/dist/src/objects/languageNames.d.ts.map +1 -1
- package/dist/src/objects/oppositeDoorSlots.d.ts +9 -1
- package/dist/src/objects/oppositeDoorSlots.d.ts.map +1 -1
- package/dist/src/objects/pillEffectClasses.d.ts +51 -2
- package/dist/src/objects/pillEffectClasses.d.ts.map +1 -1
- package/dist/src/objects/pillEffectNames.d.ts +50 -2
- package/dist/src/objects/pillEffectNames.d.ts.map +1 -1
- package/dist/src/objects/pillEffectTypes.d.ts +51 -2
- package/dist/src/objects/pillEffectTypes.d.ts.map +1 -1
- package/dist/src/objects/playerNamePNGFileNames.d.ts +42 -2
- package/dist/src/objects/playerNamePNGFileNames.d.ts.map +1 -1
- package/dist/src/objects/playerPortraitPNGFileNames.d.ts +42 -2
- package/dist/src/objects/playerPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/src/objects/roomShapeBounds.d.ts +1 -1
- package/dist/src/objects/roomShapeBounds.d.ts.map +1 -1
- package/dist/src/objects/roomShapeCorners.d.ts +1 -1
- package/dist/src/objects/roomShapeCorners.d.ts.map +1 -1
- package/dist/src/objects/roomShapeLayoutSizes.d.ts +1 -1
- package/dist/src/objects/roomShapeLayoutSizes.d.ts.map +1 -1
- package/dist/src/objects/roomShapeToBottomRightPosition.d.ts +1 -1
- package/dist/src/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
- package/dist/src/objects/roomShapeToDoorSlotCoordinates.d.ts +1 -1
- package/dist/src/objects/roomShapeToDoorSlotCoordinates.d.ts.map +1 -1
- package/dist/src/objects/roomShapeToDoorSlots.d.ts +1 -1
- package/dist/src/objects/roomShapeToDoorSlots.d.ts.map +1 -1
- package/dist/src/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +1 -1
- package/dist/src/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts.map +1 -1
- package/dist/src/objects/roomShapeToGridWidth.d.ts +12 -2
- package/dist/src/objects/roomShapeToGridWidth.d.ts.map +1 -1
- package/dist/src/objects/roomShapeToTopLeftPosition.d.ts +1 -1
- package/dist/src/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
- package/dist/src/objects/roomShapeVolumes.d.ts +12 -2
- package/dist/src/objects/roomShapeVolumes.d.ts.map +1 -1
- package/dist/src/objects/roomTypeGotoPrefixes.d.ts +29 -2
- package/dist/src/objects/roomTypeGotoPrefixes.d.ts.map +1 -1
- package/dist/src/objects/roomTypeNames.d.ts +29 -2
- package/dist/src/objects/roomTypeNames.d.ts.map +1 -1
- package/dist/src/objects/stageTypeSuffixes.d.ts +6 -2
- package/dist/src/objects/stageTypeSuffixes.d.ts.map +1 -1
- package/dist/src/objects/stageTypeToLetter.d.ts +6 -2
- package/dist/src/objects/stageTypeToLetter.d.ts.map +1 -1
- package/dist/src/objects/transformationNames.d.ts +14 -2
- package/dist/src/objects/transformationNames.d.ts.map +1 -1
- package/dist/src/objects/versusScreenBackgroundColors.d.ts +1 -1
- package/dist/src/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/src/objects/versusScreenDirtSpotColors.d.ts +1 -1
- package/dist/src/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/src/types/HasAllEnumKeys.d.ts +2 -2
- package/package.json +1 -1
- package/src/callbacks.ts +2 -2
- package/src/classes/features/other/customStages/backdrop.ts +4 -5
- package/src/classes/features/other/customStages/shadows.ts +3 -4
- package/src/classes/features/other/customStages/streakText.ts +3 -4
- package/src/classes/features/other/customStages/versusScreen.ts +4 -12
- package/src/functions/input.ts +51 -8
- package/src/objects/LRoomShapeToRectangles.ts +8 -6
- package/src/objects/backdropTypeToRockAltType.ts +3 -4
- package/src/objects/bossNamePNGFileNames.ts +3 -4
- package/src/objects/bossPortraitPNGFileNames.ts +3 -4
- package/src/objects/cardDescriptions.ts +3 -2
- package/src/objects/cardNames.ts +3 -2
- package/src/objects/challengeNames.ts +3 -2
- package/src/objects/characterDamageMultipliers.ts +3 -4
- package/src/objects/characterNames.ts +3 -2
- package/src/objects/coinSubTypeToValue.ts +3 -2
- package/src/objects/directionNames.ts +3 -4
- package/src/objects/directionToDegrees.ts +3 -4
- package/src/objects/directionToVector.ts +3 -1
- package/src/objects/doorSlotFlagToDoorSlot.ts +3 -4
- package/src/objects/doorSlotToDirection.ts +12 -12
- package/src/objects/doorSlotToDoorSlotFlag.ts +3 -4
- package/src/objects/isaacAPIClassTypeToBrand.ts +6 -4
- package/src/objects/isaacAPIClassTypeToFunctions.ts +3 -3
- package/src/objects/languageNames.ts +3 -4
- package/src/objects/oppositeDoorSlots.ts +3 -4
- package/src/objects/pillEffectClasses.ts +3 -4
- package/src/objects/pillEffectNames.ts +3 -2
- package/src/objects/pillEffectTypes.ts +3 -4
- package/src/objects/playerNamePNGFileNames.ts +3 -4
- package/src/objects/playerPortraitPNGFileNames.ts +3 -4
- package/src/objects/roomShapeBounds.ts +3 -1
- package/src/objects/roomShapeCorners.ts +3 -1
- package/src/objects/roomShapeLayoutSizes.ts +3 -1
- package/src/objects/roomShapeToBottomRightPosition.ts +8 -3
- package/src/objects/roomShapeToDoorSlotCoordinates.ts +3 -1
- package/src/objects/roomShapeToDoorSlots.ts +3 -1
- package/src/objects/roomShapeToDoorSlotsToGridIndexDelta.ts +3 -1
- package/src/objects/roomShapeToGridWidth.ts +3 -4
- package/src/objects/roomShapeToTopLeftPosition.ts +5 -3
- package/src/objects/roomShapeVolumes.ts +3 -4
- package/src/objects/roomTypeGotoPrefixes.ts +3 -4
- package/src/objects/roomTypeNames.ts +3 -2
- package/src/objects/stageTypeSuffixes.ts +3 -4
- package/src/objects/stageTypeToLetter.ts +3 -2
- package/src/objects/transformationNames.ts +3 -2
- package/src/objects/versusScreenBackgroundColors.ts +4 -2
- package/src/objects/versusScreenDirtSpotColors.ts +4 -2
- package/src/types/HasAllEnumKeys.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -6654,13 +6654,13 @@ export declare function gridPositionToWorldPosition(gridPosition: Vector): Vecto
|
|
|
6654
6654
|
* [MyEnum.Value1]: "foo",
|
|
6655
6655
|
* [MyEnum.Value2]: "bar",
|
|
6656
6656
|
* [MyEnum.Value3]: "baz",
|
|
6657
|
-
* } as const satisfies HasAllEnumKeys<MyEnum>;
|
|
6657
|
+
* } as const satisfies HasAllEnumKeys<MyEnum, string>;
|
|
6658
6658
|
*
|
|
6659
6659
|
* const value = MyEnumToString[MyEnum.Value2];
|
|
6660
6660
|
* ```
|
|
6661
6661
|
*/
|
|
6662
6662
|
export declare type HasAllEnumKeys<Enum extends string | number, T> = {
|
|
6663
|
-
readonly [
|
|
6663
|
+
readonly [Key in Enum]: T;
|
|
6664
6664
|
};
|
|
6665
6665
|
|
|
6666
6666
|
/**
|
|
@@ -6964,14 +6964,41 @@ declare interface IsaacAPIClassTypeToType {
|
|
|
6964
6964
|
[CopyableIsaacAPIClassType.VECTOR]: Vector;
|
|
6965
6965
|
}
|
|
6966
6966
|
|
|
6967
|
-
/**
|
|
6968
|
-
|
|
6967
|
+
/**
|
|
6968
|
+
* Helper function to check if a player is pressing a specific button (i.e. holding it down).
|
|
6969
|
+
*
|
|
6970
|
+
* This is a variadic version of `Input.IsActionPressed`, meaning that you can pass as many buttons
|
|
6971
|
+
* as you want to check for. This function will return true if any of the buttons are pressed.
|
|
6972
|
+
*/
|
|
6973
|
+
export declare function isActionPressed(controllerIndex: ControllerIndex, ...buttonActions: ButtonAction[]): boolean;
|
|
6974
|
+
|
|
6975
|
+
/**
|
|
6976
|
+
* Helper function to iterate over all inputs to determine if a specific button is pressed (i.e.
|
|
6977
|
+
* being held down).
|
|
6978
|
+
*
|
|
6979
|
+
* This function is variadic, meaning you can pass as many buttons as you want to check for. This
|
|
6980
|
+
* function will return true if any of the buttons are pressed.
|
|
6981
|
+
*/
|
|
6982
|
+
export declare function isActionPressedOnAnyInput(...buttonActions: ButtonAction[]): boolean;
|
|
6983
|
+
|
|
6984
|
+
/**
|
|
6985
|
+
* Helper function to check if a player is triggering a specific button (i.e. pressing and releasing
|
|
6986
|
+
* it).
|
|
6987
|
+
*
|
|
6988
|
+
* This is a variadic version of `Input.IsActionTriggered`, meaning that you can pass as many
|
|
6989
|
+
* buttons as you want to check for. This function will return true if any of the buttons are
|
|
6990
|
+
* triggered.
|
|
6991
|
+
*/
|
|
6992
|
+
export declare function isActionTriggered(controllerIndex: ControllerIndex, ...buttonActions: ButtonAction[]): boolean;
|
|
6969
6993
|
|
|
6970
6994
|
/**
|
|
6971
|
-
* Iterates over all inputs to determine if a
|
|
6972
|
-
*
|
|
6995
|
+
* Iterates over all inputs to determine if a specific button is triggered (i.e. held down and then
|
|
6996
|
+
* released).
|
|
6997
|
+
*
|
|
6998
|
+
* This function is variadic, meaning you can pass as many buttons as you want to check for. This
|
|
6999
|
+
* function will return true if any of the buttons are pressed.
|
|
6973
7000
|
*/
|
|
6974
|
-
export declare function isActionTriggeredOnAnyInput(
|
|
7001
|
+
export declare function isActionTriggeredOnAnyInput(...buttonActions: ButtonAction[]): boolean;
|
|
6975
7002
|
|
|
6976
7003
|
/** Returns true if the item type in the item config is equal to `ItemType.ITEM_ACTIVE`. */
|
|
6977
7004
|
export declare function isActiveCollectible(collectibleType: CollectibleType): boolean;
|
|
@@ -7499,7 +7526,7 @@ export declare function isKeeper(player: EntityPlayer): boolean;
|
|
|
7499
7526
|
export declare function isKey(pickup: EntityPickup): pickup is EntityPickupKey;
|
|
7500
7527
|
|
|
7501
7528
|
/**
|
|
7502
|
-
* Helper function to see if a
|
|
7529
|
+
* Helper function to see if a specific keyboard key is being held down by the player.
|
|
7503
7530
|
*
|
|
7504
7531
|
* This function is variadic, meaning you can pass as many keyboard values as you want to check for.
|
|
7505
7532
|
* This function will return true if any of the values are pressed.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 17.
|
|
3
|
+
isaacscript-common 17.6.0
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -16308,6 +16308,10 @@ function ____exports.serializeKColor(self, kColor)
|
|
|
16308
16308
|
kColorTable[SerializationBrand.K_COLOR] = ""
|
|
16309
16309
|
return kColorTable
|
|
16310
16310
|
end
|
|
16311
|
+
return ____exports
|
|
16312
|
+
end,
|
|
16313
|
+
["src.types.HasAllEnumKeys"] = function(...)
|
|
16314
|
+
local ____exports = {}
|
|
16311
16315
|
return ____exports
|
|
16312
16316
|
end,
|
|
16313
16317
|
["src.objects.directionNames"] = function(...)
|
|
@@ -24294,8 +24298,6 @@ ____exports.NARROW_ROOM_SHAPES_SET = __TS__New(Set, {RoomShape.IH, RoomShape.IV,
|
|
|
24294
24298
|
return ____exports
|
|
24295
24299
|
end,
|
|
24296
24300
|
["src.functions.roomShape"] = function(...)
|
|
24297
|
-
local ____lualib = require("lualib_bundle")
|
|
24298
|
-
local Map = ____lualib.Map
|
|
24299
24301
|
local ____exports = {}
|
|
24300
24302
|
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
24301
24303
|
local RoomShape = ____isaac_2Dtypescript_2Ddefinitions.RoomShape
|
|
@@ -34861,18 +34863,42 @@ end
|
|
|
34861
34863
|
function ____exports.getShootActions(self)
|
|
34862
34864
|
return ____exports.SHOOTING_ACTIONS_SET
|
|
34863
34865
|
end
|
|
34864
|
-
function ____exports.
|
|
34866
|
+
function ____exports.isActionPressed(self, controllerIndex, ...)
|
|
34867
|
+
local buttonActions = {...}
|
|
34868
|
+
return __TS__ArraySome(
|
|
34869
|
+
buttonActions,
|
|
34870
|
+
function(____, buttonAction) return Input.IsActionPressed(buttonAction, controllerIndex) end
|
|
34871
|
+
)
|
|
34872
|
+
end
|
|
34873
|
+
function ____exports.isActionPressedOnAnyInput(self, ...)
|
|
34874
|
+
local buttonActions = {...}
|
|
34865
34875
|
local controllerIndexes = getEnumValues(nil, ControllerIndex)
|
|
34866
34876
|
return __TS__ArraySome(
|
|
34867
34877
|
controllerIndexes,
|
|
34868
|
-
function(____, controllerIndex) return
|
|
34878
|
+
function(____, controllerIndex) return ____exports.isActionPressed(
|
|
34879
|
+
nil,
|
|
34880
|
+
controllerIndex,
|
|
34881
|
+
table.unpack(buttonActions)
|
|
34882
|
+
) end
|
|
34883
|
+
)
|
|
34884
|
+
end
|
|
34885
|
+
function ____exports.isActionTriggered(self, controllerIndex, ...)
|
|
34886
|
+
local buttonActions = {...}
|
|
34887
|
+
return __TS__ArraySome(
|
|
34888
|
+
buttonActions,
|
|
34889
|
+
function(____, buttonAction) return Input.IsActionTriggered(buttonAction, controllerIndex) end
|
|
34869
34890
|
)
|
|
34870
34891
|
end
|
|
34871
|
-
function ____exports.isActionTriggeredOnAnyInput(self,
|
|
34892
|
+
function ____exports.isActionTriggeredOnAnyInput(self, ...)
|
|
34893
|
+
local buttonActions = {...}
|
|
34872
34894
|
local controllerIndexes = getEnumValues(nil, ControllerIndex)
|
|
34873
34895
|
return __TS__ArraySome(
|
|
34874
34896
|
controllerIndexes,
|
|
34875
|
-
function(____, controllerIndex) return
|
|
34897
|
+
function(____, controllerIndex) return ____exports.isActionTriggered(
|
|
34898
|
+
nil,
|
|
34899
|
+
controllerIndex,
|
|
34900
|
+
table.unpack(buttonActions)
|
|
34901
|
+
) end
|
|
34876
34902
|
)
|
|
34877
34903
|
end
|
|
34878
34904
|
function ____exports.isKeyboardPressed(self, ...)
|
|
@@ -39244,7 +39270,7 @@ local ____lualib = require("lualib_bundle")
|
|
|
39244
39270
|
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
39245
39271
|
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
|
|
39246
39272
|
local ____exports = {}
|
|
39247
|
-
local willVanillaVersusScreenPlay, getPlayerPNGPaths, getBossPNGPaths, getBossPNGPathsCustom,
|
|
39273
|
+
local willVanillaVersusScreenPlay, getPlayerPNGPaths, getBossPNGPaths, getBossPNGPathsCustom, PNG_PATH_PREFIX, PLAYER_PORTRAIT_PNG_PATH_PREFIX
|
|
39248
39274
|
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
39249
39275
|
local BossID = ____isaac_2Dtypescript_2Ddefinitions.BossID
|
|
39250
39276
|
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
@@ -39293,16 +39319,13 @@ end
|
|
|
39293
39319
|
function getPlayerPNGPaths(self)
|
|
39294
39320
|
local player = Isaac.GetPlayer()
|
|
39295
39321
|
local character = player:GetPlayerType()
|
|
39296
|
-
|
|
39297
|
-
|
|
39298
|
-
namePNGFileName = PLAYER_NAME_PNG_FILE_NAMES[DEFAULT_CHARACTER]
|
|
39322
|
+
if character == PlayerType.POSSESSOR then
|
|
39323
|
+
error("Failed to get the player PNG paths since they are a possessor.")
|
|
39299
39324
|
end
|
|
39300
|
-
local
|
|
39325
|
+
local namePNGFileName = PLAYER_NAME_PNG_FILE_NAMES[character]
|
|
39326
|
+
local namePNGPath = (PNG_PATH_PREFIX .. "/") .. namePNGFileName
|
|
39301
39327
|
local portraitFileName = PLAYER_PORTRAIT_PNG_FILE_NAMES[character]
|
|
39302
|
-
|
|
39303
|
-
portraitFileName = PLAYER_PORTRAIT_PNG_FILE_NAMES[DEFAULT_CHARACTER]
|
|
39304
|
-
end
|
|
39305
|
-
local portraitPNGPath = (PLAYER_PORTRAIT_PNG_PATH_PREFIX .. "/") .. tostring(portraitFileName)
|
|
39328
|
+
local portraitPNGPath = (PLAYER_PORTRAIT_PNG_PATH_PREFIX .. "/") .. portraitFileName
|
|
39306
39329
|
return {namePNGPath = namePNGPath, portraitPNGPath = portraitPNGPath}
|
|
39307
39330
|
end
|
|
39308
39331
|
function getBossPNGPaths(self, customStage)
|
|
@@ -39339,7 +39362,6 @@ function getBossPNGPathsCustom(self, customStage)
|
|
|
39339
39362
|
end
|
|
39340
39363
|
return matchingBossEntry.versusScreen
|
|
39341
39364
|
end
|
|
39342
|
-
DEFAULT_CHARACTER = PlayerType.ISAAC
|
|
39343
39365
|
local DEFAULT_STAGE_ID = StageID.BASEMENT
|
|
39344
39366
|
local VERSUS_SCREEN_ANIMATION_NAME = "Scene"
|
|
39345
39367
|
local NUM_VERSUS_SCREEN_ANM2_LAYERS = 14
|
|
@@ -50557,10 +50579,6 @@ return ____exports
|
|
|
50557
50579
|
end,
|
|
50558
50580
|
["src.types.AllButLast"] = function(...)
|
|
50559
50581
|
local ____exports = {}
|
|
50560
|
-
return ____exports
|
|
50561
|
-
end,
|
|
50562
|
-
["src.types.HasAllEnumKeys"] = function(...)
|
|
50563
|
-
local ____exports = {}
|
|
50564
50582
|
return ____exports
|
|
50565
50583
|
end,
|
|
50566
50584
|
["src.types.HasFunction"] = function(...)
|
package/dist/src/callbacks.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ declare const MOD_CALLBACK_CUSTOM_TO_CLASS: {
|
|
|
102
102
|
readonly 99: typeof cc.PreNPCUpdateFilter;
|
|
103
103
|
};
|
|
104
104
|
export type ModCallbackCustomToClass = {
|
|
105
|
-
readonly [
|
|
105
|
+
readonly [Key in keyof typeof MOD_CALLBACK_CUSTOM_TO_CLASS]: InstanceType<typeof MOD_CALLBACK_CUSTOM_TO_CLASS[Key]>;
|
|
106
106
|
};
|
|
107
107
|
export declare function getCallbacks(): ModCallbackCustomToClass;
|
|
108
108
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/customStages/backdrop.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/customStages/backdrop.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AA0EzE,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAcrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/customStages/shadows.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/customStages/shadows.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAmCzE,wBAAgB,UAAU,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAqCzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streakText.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/customStages/streakText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAG7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAMhF,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"streakText.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/customStages/streakText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAG7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAMhF,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAyEzE,UAAU,cAAc;IACtB,GAAG,EAAE;QACH,iDAAiD;QACjD,UAAU,EAAE,OAAO,CAAC;QAEpB,oFAAoF;QACpF,oCAAoC,EAAE,GAAG,CAAC,eAAe,EAAE,GAAG,CAAC,CAAC;QAEhE,+BAA+B,EAAE,GAAG,GAAG,IAAI,CAAC;QAE5C,aAAa,EAAE;YACb,SAAS,EAAE,iBAAiB,CAAC;YAC7B,KAAK,EAAE,GAAG,CAAC;YACX,UAAU,EAAE,OAAO,CAAC;SACrB,CAAC;QAEF,gBAAgB,EAAE;YAChB,SAAS,EAAE,iBAAiB,CAAC;YAC7B,KAAK,EAAE,GAAG,CAAC;YACX,UAAU,EAAE,OAAO,CAAC;SACrB,CAAC;KACH,CAAC;CACH;AAGD,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,cAAc,GAAG,IAAI,CAS5D;AA0FD,wBAAgB,yBAAyB,CACvC,CAAC,EAAE,cAAc,EACjB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,MAAM,GACjB,IAAI,CAiBN;AA2ED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,cAAc,GAAG,IAAI,CAW1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versusScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/customStages/versusScreen.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAOzE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAU/C,UAAU,gBAAgB;IACxB,GAAG,EAAE;QACH,uBAAuB,EAAE,OAAO,CAAC;KAClC,CAAC;CACH;
|
|
1
|
+
{"version":3,"file":"versusScreen.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/customStages/versusScreen.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAOzE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAU/C,UAAU,gBAAgB;IACxB,GAAG,EAAE;QACH,uBAAuB,EAAE,OAAO,CAAC;KAClC,CAAC;CACH;AA8ED,wBAAgB,yBAAyB,CACvC,CAAC,EAAE,gBAAgB,EACnB,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,GACzB,IAAI,CA0GN;AAiGD,wBAAgB,sBAAsB,CACpC,CAAC,EAAE,gBAAgB,EACnB,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,eAAe,GAC/B,IAAI,CAwCN"}
|
|
@@ -2,7 +2,7 @@ local ____lualib = require("lualib_bundle")
|
|
|
2
2
|
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
3
3
|
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
|
|
4
4
|
local ____exports = {}
|
|
5
|
-
local willVanillaVersusScreenPlay, getPlayerPNGPaths, getBossPNGPaths, getBossPNGPathsCustom,
|
|
5
|
+
local willVanillaVersusScreenPlay, getPlayerPNGPaths, getBossPNGPaths, getBossPNGPathsCustom, PNG_PATH_PREFIX, PLAYER_PORTRAIT_PNG_PATH_PREFIX
|
|
6
6
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
7
7
|
local BossID = ____isaac_2Dtypescript_2Ddefinitions.BossID
|
|
8
8
|
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
@@ -51,16 +51,13 @@ end
|
|
|
51
51
|
function getPlayerPNGPaths(self)
|
|
52
52
|
local player = Isaac.GetPlayer()
|
|
53
53
|
local character = player:GetPlayerType()
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
namePNGFileName = PLAYER_NAME_PNG_FILE_NAMES[DEFAULT_CHARACTER]
|
|
54
|
+
if character == PlayerType.POSSESSOR then
|
|
55
|
+
error("Failed to get the player PNG paths since they are a possessor.")
|
|
57
56
|
end
|
|
58
|
-
local
|
|
57
|
+
local namePNGFileName = PLAYER_NAME_PNG_FILE_NAMES[character]
|
|
58
|
+
local namePNGPath = (PNG_PATH_PREFIX .. "/") .. namePNGFileName
|
|
59
59
|
local portraitFileName = PLAYER_PORTRAIT_PNG_FILE_NAMES[character]
|
|
60
|
-
|
|
61
|
-
portraitFileName = PLAYER_PORTRAIT_PNG_FILE_NAMES[DEFAULT_CHARACTER]
|
|
62
|
-
end
|
|
63
|
-
local portraitPNGPath = (PLAYER_PORTRAIT_PNG_PATH_PREFIX .. "/") .. tostring(portraitFileName)
|
|
60
|
+
local portraitPNGPath = (PLAYER_PORTRAIT_PNG_PATH_PREFIX .. "/") .. portraitFileName
|
|
64
61
|
return {namePNGPath = namePNGPath, portraitPNGPath = portraitPNGPath}
|
|
65
62
|
end
|
|
66
63
|
function getBossPNGPaths(self, customStage)
|
|
@@ -97,7 +94,6 @@ function getBossPNGPathsCustom(self, customStage)
|
|
|
97
94
|
end
|
|
98
95
|
return matchingBossEntry.versusScreen
|
|
99
96
|
end
|
|
100
|
-
DEFAULT_CHARACTER = PlayerType.ISAAC
|
|
101
97
|
local DEFAULT_STAGE_ID = StageID.BASEMENT
|
|
102
98
|
local VERSUS_SCREEN_ANIMATION_NAME = "Scene"
|
|
103
99
|
--- The layers range from 0 to 13.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonAction, Controller, Keyboard } from "isaac-typescript-definitions";
|
|
1
|
+
import { ButtonAction, Controller, ControllerIndex, Keyboard } from "isaac-typescript-definitions";
|
|
2
2
|
export declare const MOVEMENT_ACTIONS_SET: ReadonlySet<ButtonAction>;
|
|
3
3
|
export declare const SHOOTING_ACTIONS_SET: ReadonlySet<ButtonAction>;
|
|
4
4
|
/**
|
|
@@ -10,15 +10,40 @@ export declare const SHOOTING_ACTIONS_SET: ReadonlySet<ButtonAction>;
|
|
|
10
10
|
export declare function controllerToString(controller: Controller): string | undefined;
|
|
11
11
|
export declare function getMoveActions(): ReadonlySet<ButtonAction>;
|
|
12
12
|
export declare function getShootActions(): ReadonlySet<ButtonAction>;
|
|
13
|
-
/** Iterates over all inputs to determine if a particular button is pressed (i.e. held down). */
|
|
14
|
-
export declare function isActionPressedOnAnyInput(buttonAction: ButtonAction): boolean;
|
|
15
13
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
14
|
+
* Helper function to check if a player is pressing a specific button (i.e. holding it down).
|
|
15
|
+
*
|
|
16
|
+
* This is a variadic version of `Input.IsActionPressed`, meaning that you can pass as many buttons
|
|
17
|
+
* as you want to check for. This function will return true if any of the buttons are pressed.
|
|
18
|
+
*/
|
|
19
|
+
export declare function isActionPressed(controllerIndex: ControllerIndex, ...buttonActions: ButtonAction[]): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Helper function to iterate over all inputs to determine if a specific button is pressed (i.e.
|
|
22
|
+
* being held down).
|
|
23
|
+
*
|
|
24
|
+
* This function is variadic, meaning you can pass as many buttons as you want to check for. This
|
|
25
|
+
* function will return true if any of the buttons are pressed.
|
|
26
|
+
*/
|
|
27
|
+
export declare function isActionPressedOnAnyInput(...buttonActions: ButtonAction[]): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Helper function to check if a player is triggering a specific button (i.e. pressing and releasing
|
|
30
|
+
* it).
|
|
31
|
+
*
|
|
32
|
+
* This is a variadic version of `Input.IsActionTriggered`, meaning that you can pass as many
|
|
33
|
+
* buttons as you want to check for. This function will return true if any of the buttons are
|
|
34
|
+
* triggered.
|
|
35
|
+
*/
|
|
36
|
+
export declare function isActionTriggered(controllerIndex: ControllerIndex, ...buttonActions: ButtonAction[]): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Iterates over all inputs to determine if a specific button is triggered (i.e. held down and then
|
|
39
|
+
* released).
|
|
40
|
+
*
|
|
41
|
+
* This function is variadic, meaning you can pass as many buttons as you want to check for. This
|
|
42
|
+
* function will return true if any of the buttons are pressed.
|
|
18
43
|
*/
|
|
19
|
-
export declare function isActionTriggeredOnAnyInput(
|
|
44
|
+
export declare function isActionTriggeredOnAnyInput(...buttonActions: ButtonAction[]): boolean;
|
|
20
45
|
/**
|
|
21
|
-
* Helper function to see if a
|
|
46
|
+
* Helper function to see if a specific keyboard key is being held down by the player.
|
|
22
47
|
*
|
|
23
48
|
* This function is variadic, meaning you can pass as many keyboard values as you want to check for.
|
|
24
49
|
* This function will return true if any of the values are pressed.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/functions/input.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,UAAU,
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/functions/input.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,UAAU,EACV,eAAe,EACf,QAAQ,EACT,MAAM,8BAA8B,CAAC;AAuBtC,eAAO,MAAM,oBAAoB,EAAE,WAAW,CAAC,YAAY,CAE1D,CAAC;AASF,eAAO,MAAM,oBAAoB,EAAE,WAAW,CAAC,YAAY,CAE1D,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAQ7E;AAED,wBAAgB,cAAc,IAAI,WAAW,CAAC,YAAY,CAAC,CAE1D;AAED,wBAAgB,eAAe,IAAI,WAAW,CAAC,YAAY,CAAC,CAE3D;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,eAAe,EAAE,eAAe,EAChC,GAAG,aAAa,EAAE,YAAY,EAAE,GAC/B,OAAO,CAIT;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,aAAa,EAAE,YAAY,EAAE,GAC/B,OAAO,CAKT;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,eAAe,EAAE,eAAe,EAChC,GAAG,aAAa,EAAE,YAAY,EAAE,GAC/B,OAAO,CAIT;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CACzC,GAAG,aAAa,EAAE,YAAY,EAAE,GAC/B,OAAO,CAKT;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO,CAI9D;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAED,wBAAgB,YAAY,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAEhE;AAED,wBAAgB,6BAA6B,IAAI,OAAO,CAIvD;AAED,wBAAgB,+BAA+B,IAAI,OAAO,CAIzD;AAED,wBAAgB,aAAa,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAEjE;AAED,wBAAgB,8BAA8B,IAAI,OAAO,CAIxD;AAED,wBAAgB,gCAAgC,IAAI,OAAO,CAI1D;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,OAAO,GACjB,MAAM,GAAG,SAAS,CAQpB"}
|
|
@@ -45,24 +45,65 @@ end
|
|
|
45
45
|
function ____exports.getShootActions(self)
|
|
46
46
|
return ____exports.SHOOTING_ACTIONS_SET
|
|
47
47
|
end
|
|
48
|
-
---
|
|
49
|
-
|
|
48
|
+
--- Helper function to check if a player is pressing a specific button (i.e. holding it down).
|
|
49
|
+
--
|
|
50
|
+
-- This is a variadic version of `Input.IsActionPressed`, meaning that you can pass as many buttons
|
|
51
|
+
-- as you want to check for. This function will return true if any of the buttons are pressed.
|
|
52
|
+
function ____exports.isActionPressed(self, controllerIndex, ...)
|
|
53
|
+
local buttonActions = {...}
|
|
54
|
+
return __TS__ArraySome(
|
|
55
|
+
buttonActions,
|
|
56
|
+
function(____, buttonAction) return Input.IsActionPressed(buttonAction, controllerIndex) end
|
|
57
|
+
)
|
|
58
|
+
end
|
|
59
|
+
--- Helper function to iterate over all inputs to determine if a specific button is pressed (i.e.
|
|
60
|
+
-- being held down).
|
|
61
|
+
--
|
|
62
|
+
-- This function is variadic, meaning you can pass as many buttons as you want to check for. This
|
|
63
|
+
-- function will return true if any of the buttons are pressed.
|
|
64
|
+
function ____exports.isActionPressedOnAnyInput(self, ...)
|
|
65
|
+
local buttonActions = {...}
|
|
50
66
|
local controllerIndexes = getEnumValues(nil, ControllerIndex)
|
|
51
67
|
return __TS__ArraySome(
|
|
52
68
|
controllerIndexes,
|
|
53
|
-
function(____, controllerIndex) return
|
|
69
|
+
function(____, controllerIndex) return ____exports.isActionPressed(
|
|
70
|
+
nil,
|
|
71
|
+
controllerIndex,
|
|
72
|
+
table.unpack(buttonActions)
|
|
73
|
+
) end
|
|
54
74
|
)
|
|
55
75
|
end
|
|
56
|
-
---
|
|
57
|
-
--
|
|
58
|
-
|
|
76
|
+
--- Helper function to check if a player is triggering a specific button (i.e. pressing and releasing
|
|
77
|
+
-- it).
|
|
78
|
+
--
|
|
79
|
+
-- This is a variadic version of `Input.IsActionTriggered`, meaning that you can pass as many
|
|
80
|
+
-- buttons as you want to check for. This function will return true if any of the buttons are
|
|
81
|
+
-- triggered.
|
|
82
|
+
function ____exports.isActionTriggered(self, controllerIndex, ...)
|
|
83
|
+
local buttonActions = {...}
|
|
84
|
+
return __TS__ArraySome(
|
|
85
|
+
buttonActions,
|
|
86
|
+
function(____, buttonAction) return Input.IsActionTriggered(buttonAction, controllerIndex) end
|
|
87
|
+
)
|
|
88
|
+
end
|
|
89
|
+
--- Iterates over all inputs to determine if a specific button is triggered (i.e. held down and then
|
|
90
|
+
-- released).
|
|
91
|
+
--
|
|
92
|
+
-- This function is variadic, meaning you can pass as many buttons as you want to check for. This
|
|
93
|
+
-- function will return true if any of the buttons are pressed.
|
|
94
|
+
function ____exports.isActionTriggeredOnAnyInput(self, ...)
|
|
95
|
+
local buttonActions = {...}
|
|
59
96
|
local controllerIndexes = getEnumValues(nil, ControllerIndex)
|
|
60
97
|
return __TS__ArraySome(
|
|
61
98
|
controllerIndexes,
|
|
62
|
-
function(____, controllerIndex) return
|
|
99
|
+
function(____, controllerIndex) return ____exports.isActionTriggered(
|
|
100
|
+
nil,
|
|
101
|
+
controllerIndex,
|
|
102
|
+
table.unpack(buttonActions)
|
|
103
|
+
) end
|
|
63
104
|
)
|
|
64
105
|
end
|
|
65
|
-
--- Helper function to see if a
|
|
106
|
+
--- Helper function to see if a specific keyboard key is being held down by the player.
|
|
66
107
|
--
|
|
67
108
|
-- This function is variadic, meaning you can pass as many keyboard values as you want to check for.
|
|
68
109
|
-- This function will return true if any of the values are pressed.
|
|
@@ -4,11 +4,11 @@ import { RoomShape } from "isaac-typescript-definitions";
|
|
|
4
4
|
* wall would be at "Vector(-1, -1)".)
|
|
5
5
|
*/
|
|
6
6
|
export declare const L_ROOM_SHAPE_TO_RECTANGLES: {
|
|
7
|
-
readonly [
|
|
8
|
-
verticalTopLeft: Vector
|
|
9
|
-
verticalBottomRight: Vector
|
|
10
|
-
horizontalTopLeft: Vector
|
|
11
|
-
horizontalBottomRight: Vector
|
|
7
|
+
readonly [Key in RoomShape]?: readonly [
|
|
8
|
+
verticalTopLeft: Readonly<Vector>,
|
|
9
|
+
verticalBottomRight: Readonly<Vector>,
|
|
10
|
+
horizontalTopLeft: Readonly<Vector>,
|
|
11
|
+
horizontalBottomRight: Readonly<Vector>
|
|
12
12
|
];
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=LRoomShapeToRectangles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LRoomShapeToRectangles.d.ts","sourceRoot":"","sources":["../../../src/objects/LRoomShapeToRectangles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAKzD;;;GAGG;
|
|
1
|
+
{"version":3,"file":"LRoomShapeToRectangles.d.ts","sourceRoot":"","sources":["../../../src/objects/LRoomShapeToRectangles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAKzD;;;GAGG;AAGH,eAAO,MAAM,0BAA0B,EAAE;IACvC,QAAQ,EAAE,GAAG,IAAI,SAAS,CAAC,CAAC,EAAE,SAAS;QACrC,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC;QACjC,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC;QACrC,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC;QACnC,qBAAqB,EAAE,QAAQ,CAAC,MAAM,CAAC;KACxC;CA4BO,CAAC"}
|
|
@@ -1,7 +1,65 @@
|
|
|
1
|
-
import { BackdropType } from "isaac-typescript-definitions";
|
|
2
1
|
import { RockAltType } from "../enums/RockAltType";
|
|
3
2
|
/** Used by the `getRockAltType` function. */
|
|
4
3
|
export declare const BACKDROP_TYPE_TO_ROCK_ALT_TYPE: {
|
|
5
|
-
readonly
|
|
4
|
+
readonly 1: RockAltType.URN;
|
|
5
|
+
readonly 2: RockAltType.URN;
|
|
6
|
+
readonly 3: RockAltType.URN;
|
|
7
|
+
readonly 4: RockAltType.MUSHROOM;
|
|
8
|
+
readonly 5: RockAltType.MUSHROOM;
|
|
9
|
+
readonly 6: RockAltType.MUSHROOM;
|
|
10
|
+
readonly 7: RockAltType.SKULL;
|
|
11
|
+
readonly 8: RockAltType.SKULL;
|
|
12
|
+
readonly 9: RockAltType.SKULL;
|
|
13
|
+
readonly 10: RockAltType.POLYP;
|
|
14
|
+
readonly 11: RockAltType.POLYP;
|
|
15
|
+
readonly 12: RockAltType.POLYP;
|
|
16
|
+
readonly 13: RockAltType.POLYP;
|
|
17
|
+
readonly 14: RockAltType.SKULL;
|
|
18
|
+
readonly 15: RockAltType.URN;
|
|
19
|
+
readonly 16: RockAltType.SKULL;
|
|
20
|
+
readonly 17: RockAltType.URN;
|
|
21
|
+
readonly 18: RockAltType.URN;
|
|
22
|
+
readonly 19: RockAltType.URN;
|
|
23
|
+
readonly 20: RockAltType.URN;
|
|
24
|
+
readonly 21: RockAltType.URN;
|
|
25
|
+
readonly 22: RockAltType.URN;
|
|
26
|
+
readonly 23: RockAltType.MUSHROOM;
|
|
27
|
+
readonly 24: RockAltType.URN;
|
|
28
|
+
readonly 25: RockAltType.URN;
|
|
29
|
+
readonly 26: RockAltType.URN;
|
|
30
|
+
readonly 27: RockAltType.POLYP;
|
|
31
|
+
readonly 28: RockAltType.URN;
|
|
32
|
+
readonly 29: RockAltType.URN;
|
|
33
|
+
readonly 30: RockAltType.SKULL;
|
|
34
|
+
readonly 31: RockAltType.BUCKET_DOWNPOUR;
|
|
35
|
+
readonly 32: RockAltType.MUSHROOM;
|
|
36
|
+
readonly 33: RockAltType.SKULL;
|
|
37
|
+
readonly 34: RockAltType.POLYP;
|
|
38
|
+
readonly 35: RockAltType.URN;
|
|
39
|
+
readonly 36: RockAltType.BUCKET_DOWNPOUR;
|
|
40
|
+
readonly 37: RockAltType.MUSHROOM;
|
|
41
|
+
readonly 38: RockAltType.SKULL;
|
|
42
|
+
readonly 39: RockAltType.SKULL;
|
|
43
|
+
readonly 40: RockAltType.SKULL;
|
|
44
|
+
readonly 41: RockAltType.SKULL;
|
|
45
|
+
readonly 42: RockAltType.SKULL;
|
|
46
|
+
readonly 43: RockAltType.POLYP;
|
|
47
|
+
readonly 44: RockAltType.POLYP;
|
|
48
|
+
readonly 45: RockAltType.BUCKET_DROSS;
|
|
49
|
+
readonly 46: RockAltType.MUSHROOM;
|
|
50
|
+
readonly 47: RockAltType.SKULL;
|
|
51
|
+
readonly 48: RockAltType.POLYP;
|
|
52
|
+
readonly 49: RockAltType.URN;
|
|
53
|
+
readonly 50: RockAltType.URN;
|
|
54
|
+
readonly 51: RockAltType.URN;
|
|
55
|
+
readonly 52: RockAltType.URN;
|
|
56
|
+
readonly 53: RockAltType.URN;
|
|
57
|
+
readonly 54: RockAltType.URN;
|
|
58
|
+
readonly 55: RockAltType.URN;
|
|
59
|
+
readonly 56: RockAltType.URN;
|
|
60
|
+
readonly 57: RockAltType.URN;
|
|
61
|
+
readonly 58: RockAltType.MUSHROOM;
|
|
62
|
+
readonly 59: RockAltType.MUSHROOM;
|
|
63
|
+
readonly 60: RockAltType.SKULL;
|
|
6
64
|
};
|
|
7
65
|
//# sourceMappingURL=backdropTypeToRockAltType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backdropTypeToRockAltType.d.ts","sourceRoot":"","sources":["../../../src/objects/backdropTypeToRockAltType.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"backdropTypeToRockAltType.d.ts","sourceRoot":"","sources":["../../../src/objects/backdropTypeToRockAltType.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,6CAA6C;AAC7C,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DmB,CAAC"}
|
|
@@ -1,6 +1,105 @@
|
|
|
1
|
-
import { BossID } from "isaac-typescript-definitions";
|
|
2
1
|
/** Used when rendering the "versusscreen.anm2" sprite. */
|
|
3
2
|
export declare const BOSS_NAME_PNG_FILE_NAMES: {
|
|
4
|
-
readonly
|
|
3
|
+
readonly 1: "bossname_20.0_monstro.png";
|
|
4
|
+
readonly 2: "bossname_19.0_larryjr.png";
|
|
5
|
+
readonly 3: "bossname_28.0_chub.png";
|
|
6
|
+
readonly 4: "bossname_36.0_gurdy.png";
|
|
7
|
+
readonly 5: "bossname_43.0_monstro2.png";
|
|
8
|
+
readonly 6: "bossname_45.0_mom.png";
|
|
9
|
+
readonly 7: "bossname_62.1_scolex.png";
|
|
10
|
+
readonly 8: "bossname_78.0_momsheart.png";
|
|
11
|
+
readonly 9: "bossname_63.0_famine.png";
|
|
12
|
+
readonly 10: "bossname_64.0_pestilence.png";
|
|
13
|
+
readonly 11: "bossname_65.0_war.png";
|
|
14
|
+
readonly 12: "bossname_66.0_death.png";
|
|
15
|
+
readonly 13: "bossname_67.0_dukeofflies.png";
|
|
16
|
+
readonly 14: "bossname_68.0_peep.png";
|
|
17
|
+
readonly 15: "bossname_69.0_loki.png";
|
|
18
|
+
readonly 16: "bossname_74.0_blastocyst.png";
|
|
19
|
+
readonly 17: "bossname_79.0_gemini.png";
|
|
20
|
+
readonly 18: "bossname_71.0_fistula.png";
|
|
21
|
+
readonly 19: "bossname_43.1_gish.png";
|
|
22
|
+
readonly 20: "bossname_79.1_steven.png";
|
|
23
|
+
readonly 21: "bossname_28.1_chad.png";
|
|
24
|
+
readonly 22: "bossname_82.0_headlesshorseman.png";
|
|
25
|
+
readonly 23: "bossname_81.0_thefallen.png";
|
|
26
|
+
readonly 24: "bossname_84.0_satan.png";
|
|
27
|
+
readonly 25: "bossname_78.1_itlives.png";
|
|
28
|
+
readonly 26: "bossname_19.1_thehollow.png";
|
|
29
|
+
readonly 27: "bossname_28.2_carrionqueen.png";
|
|
30
|
+
readonly 28: "bossname_99.0_gurdyjr.png";
|
|
31
|
+
readonly 29: "bossname_67.1_thehusk.png";
|
|
32
|
+
readonly 30: "bossname_68.1_bloat.png";
|
|
33
|
+
readonly 31: "bossname_69.1_lokii.png";
|
|
34
|
+
readonly 32: "bossname_79.2_blightedovum.png";
|
|
35
|
+
readonly 33: "bossname_71.1_teratoma.png";
|
|
36
|
+
readonly 34: "bossname_100.0_widow.png";
|
|
37
|
+
readonly 35: "bossname_97.0_maskofinfamy.png";
|
|
38
|
+
readonly 36: "bossname_100.1_thewretched.png";
|
|
39
|
+
readonly 37: "bossname_62.0_pin.png";
|
|
40
|
+
readonly 38: "bossname_65.1_conquest.png";
|
|
41
|
+
readonly 39: "playername_01_isaac.png";
|
|
42
|
+
readonly 40: "bossname_102.1_bluebaby.png";
|
|
43
|
+
readonly 41: "bossname_101.0_daddylonglegs.png";
|
|
44
|
+
readonly 42: "bossname_101.1_triachnid.png";
|
|
45
|
+
readonly 43: "bossname_260.0_thehaunt.png";
|
|
46
|
+
readonly 44: "bossname_261.0_dingle.png";
|
|
47
|
+
readonly 45: "bossname_262.0_megamaw.png";
|
|
48
|
+
readonly 46: "bossname_263.0_megamaw2.png";
|
|
49
|
+
readonly 47: "bossname_264.0_megafatty.png";
|
|
50
|
+
readonly 48: "bossname_265.0_fatty2.png";
|
|
51
|
+
readonly 49: "bossname_266.0_mamagurdy.png";
|
|
52
|
+
readonly 50: "bossname_267.0_darkone.png";
|
|
53
|
+
readonly 51: "bossname_268.0_darkone2.png";
|
|
54
|
+
readonly 52: "bossname_269.0_polycephalus.png";
|
|
55
|
+
readonly 53: "bossname_270.0_megafred.png";
|
|
56
|
+
readonly 54: "bossname_273.0_thelamb.png";
|
|
57
|
+
readonly 55: "bossname_274.0_megasatan.png";
|
|
58
|
+
readonly 56: "bossname_276.0_gurglings.png";
|
|
59
|
+
readonly 57: "bossname_401.0_thestain.png";
|
|
60
|
+
readonly 58: "bossname_402.0_brownie.png";
|
|
61
|
+
readonly 59: "bossname_403.0_theforsaken.png";
|
|
62
|
+
readonly 60: "bossname_404.0_littlehorn.png";
|
|
63
|
+
readonly 61: "bossname_405.0_ragman.png";
|
|
64
|
+
readonly 62: "bossname_406.0_ultragreed.png";
|
|
65
|
+
readonly 63: "bossname_407.0_hush.png";
|
|
66
|
+
readonly 64: "bossname_dangle.png";
|
|
67
|
+
readonly 65: "bossname_turdlings.png";
|
|
68
|
+
readonly 66: "bossname_thefrail.png";
|
|
69
|
+
readonly 67: "bossname_ragmega.png";
|
|
70
|
+
readonly 68: "bossname_sisterssvis.png";
|
|
71
|
+
readonly 69: "bossname_bighorn.png";
|
|
72
|
+
readonly 70: "bossname_delirium.png";
|
|
73
|
+
readonly 72: "bossname_matriarch.png";
|
|
74
|
+
readonly 73: "bossname_polycephalus2.png";
|
|
75
|
+
readonly 74: "bossname_reapcreep.png";
|
|
76
|
+
readonly 75: "bossname_beelzeblub.png";
|
|
77
|
+
readonly 76: "bossname_wormwood.png";
|
|
78
|
+
readonly 77: "bossname_rainmaker.png";
|
|
79
|
+
readonly 78: "bossname_visage.png";
|
|
80
|
+
readonly 79: "bossname_siren.png";
|
|
81
|
+
readonly 80: "bossname_tufftwins.png";
|
|
82
|
+
readonly 81: "bossname_heretic.png";
|
|
83
|
+
readonly 82: "bossname_hornfel.png";
|
|
84
|
+
readonly 83: "bossname_gideon.png";
|
|
85
|
+
readonly 84: "bossname_babyplum.png";
|
|
86
|
+
readonly 85: "bossname_scourge.png";
|
|
87
|
+
readonly 86: "bossname_chimera.png";
|
|
88
|
+
readonly 87: "bossname_rotgut.png";
|
|
89
|
+
readonly 88: "bossname_mother.png";
|
|
90
|
+
readonly 89: "bossname_45.0_mom.png";
|
|
91
|
+
readonly 90: "bossname_78.0_momsheart.png";
|
|
92
|
+
readonly 91: "bossname_minmin.png";
|
|
93
|
+
readonly 92: "bossname_clog.png";
|
|
94
|
+
readonly 93: "bossname_singe.png";
|
|
95
|
+
readonly 94: "bossname_bumbino.png";
|
|
96
|
+
readonly 95: "bossname_colostomia.png";
|
|
97
|
+
readonly 96: "bossname_shell.png";
|
|
98
|
+
readonly 97: "bossname_turdlet.png";
|
|
99
|
+
readonly 98: "bossname_raglich.png";
|
|
100
|
+
readonly 99: "bossname_dogma.png";
|
|
101
|
+
readonly 100: "bossname_dogma.png";
|
|
102
|
+
readonly 101: "bossname_hornyboys.png";
|
|
103
|
+
readonly 102: "bossname_clutch.png";
|
|
5
104
|
};
|
|
6
105
|
//# sourceMappingURL=bossNamePNGFileNames.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bossNamePNGFileNames.d.ts","sourceRoot":"","sources":["../../../src/objects/bossNamePNGFileNames.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bossNamePNGFileNames.d.ts","sourceRoot":"","sources":["../../../src/objects/bossNamePNGFileNames.ts"],"names":[],"mappings":"AAKA,0DAA0D;AAC1D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2Gc,CAAC"}
|