isaacscript-common 7.5.0 → 7.5.1
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/DefaultMap.d.ts +3 -2
- package/dist/classes/DefaultMap.d.ts.map +1 -1
- package/dist/classes/DefaultMap.lua +2 -1
- package/dist/features/customStage/customStageUtils.d.ts +2 -1
- package/dist/features/customStage/customStageUtils.d.ts.map +1 -1
- package/dist/features/customStage/customStageUtils.lua +40 -1
- package/dist/features/customStage/exports.d.ts +1 -25
- package/dist/features/customStage/exports.d.ts.map +1 -1
- package/dist/features/customStage/exports.lua +28 -29
- package/dist/features/customStage/v.d.ts +0 -2
- package/dist/features/customStage/v.d.ts.map +1 -1
- package/dist/features/customStage/v.lua +0 -2
- package/dist/features/customStage/versusScreen.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.lua +74 -60
- package/dist/functions/doors.d.ts +6 -5
- package/dist/functions/doors.d.ts.map +1 -1
- package/dist/functions/doors.lua +25 -12
- package/dist/functions/enums.d.ts +3 -3
- package/dist/functions/enums.lua +3 -3
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +3 -2
- package/dist/index.d.ts +105 -102
- package/dist/index.d.ts.map +1 -1
- package/dist/interfaces/{CustomStageLua.d.ts → CustomStageTSConfig.d.ts} +86 -60
- package/dist/interfaces/CustomStageTSConfig.d.ts.map +1 -0
- package/dist/interfaces/{CustomStageLua.lua → CustomStageTSConfig.lua} +0 -0
- package/dist/interfaces/JSONRoomsFile.d.ts +6 -5
- package/dist/interfaces/JSONRoomsFile.d.ts.map +1 -1
- package/dist/interfaces/private/CustomStage.d.ts +1 -1
- package/dist/interfaces/private/CustomStage.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/classes/DefaultMap.ts +3 -2
- package/src/features/customStage/customStageUtils.ts +52 -1
- package/src/features/customStage/exports.ts +33 -45
- package/src/features/customStage/init.ts +1 -1
- package/src/features/customStage/v.ts +0 -6
- package/src/features/customStage/versusScreen.ts +70 -55
- package/src/functions/doors.ts +37 -21
- package/src/functions/enums.ts +3 -3
- package/src/functions/players.ts +7 -3
- package/src/index.ts +1 -1
- package/src/interfaces/{CustomStageLua.ts → CustomStageTSConfig.ts} +107 -41
- package/src/interfaces/JSONRoomsFile.ts +6 -5
- package/src/interfaces/private/CustomStage.ts +4 -1
- package/dist/interfaces/CustomStageLua.d.ts.map +0 -1
package/dist/functions/enums.lua
CHANGED
|
@@ -26,7 +26,7 @@ local irange = ____utils.irange
|
|
|
26
26
|
-- Also see the `getEnumKeys` and `getEnumValues` helper functions.
|
|
27
27
|
--
|
|
28
28
|
-- For a more in depth explanation, see:
|
|
29
|
-
-- https://isaacscript.github.io/gotchas#iterating-over-enums
|
|
29
|
+
-- https://isaacscript.github.io/main/gotchas#iterating-over-enums
|
|
30
30
|
function ____exports.getEnumEntries(self, transpiledEnum)
|
|
31
31
|
local enumEntries = {}
|
|
32
32
|
for key, value in pairs(transpiledEnum) do
|
|
@@ -61,7 +61,7 @@ end
|
|
|
61
61
|
-- Also see the `getEnumEntries` and `getEnumValues` helper functions.
|
|
62
62
|
--
|
|
63
63
|
-- For a more in depth explanation, see:
|
|
64
|
-
-- https://isaacscript.github.io/gotchas#iterating-over-enums
|
|
64
|
+
-- https://isaacscript.github.io/main/gotchas#iterating-over-enums
|
|
65
65
|
function ____exports.getEnumKeys(self, transpiledEnum)
|
|
66
66
|
local enumEntries = ____exports.getEnumEntries(nil, transpiledEnum)
|
|
67
67
|
return __TS__ArrayMap(
|
|
@@ -92,7 +92,7 @@ end
|
|
|
92
92
|
-- Also see the `getEnumEntries` and `getEnumKeys` helper functions.
|
|
93
93
|
--
|
|
94
94
|
-- For a more in depth explanation, see:
|
|
95
|
-
-- https://isaacscript.github.io/gotchas#iterating-over-enums
|
|
95
|
+
-- https://isaacscript.github.io/main/gotchas#iterating-over-enums
|
|
96
96
|
function ____exports.getEnumValues(self, transpiledEnum)
|
|
97
97
|
local enumEntries = ____exports.getEnumEntries(nil, transpiledEnum)
|
|
98
98
|
return __TS__ArrayMap(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"players.d.ts","sourceRoot":"","sources":["../../src/functions/players.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EAET,eAAe,EAIf,UAAU,EACV,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"players.d.ts","sourceRoot":"","sources":["../../src/functions/players.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EAET,eAAe,EAIf,UAAU,EACV,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AA6BjD,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,GAC/B,IAAI,CAON;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CACrB,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,GACb,IAAI,CA4CN;AAED,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,GACvB,IAAI,CAON;AAED,wBAAgB,uBAAuB,CACrC,eAAe,EAAE,eAAe,GAC/B,OAAO,CAGT;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAGrE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,GAAG,kBAAkB,EAAE,UAAU,EAAE,GAAG,OAAO,CAIxE;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CASjE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAK1E;A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,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAIlE;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,GACvB,IAAI,CAON;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,EAChC,UAAU,EAAE,UAAU,EACtB,MAAM,CAAC,EAAE,GAAG,EACZ,WAAW,UAAQ,GAClB,IAAI,CA6DN;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,OAAO,EAChB,aAAa,UAAO,GACnB,IAAI,CAsBN;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,GAC/B,IAAI,CAEN"}
|
|
@@ -42,6 +42,7 @@ local getCollectibleArray = ____collectibleSet.getCollectibleArray
|
|
|
42
42
|
local ____enums = require("functions.enums")
|
|
43
43
|
local getEnumValues = ____enums.getEnumValues
|
|
44
44
|
local ____playerIndex = require("functions.playerIndex")
|
|
45
|
+
local getAllPlayers = ____playerIndex.getAllPlayers
|
|
45
46
|
local getPlayerIndexVanilla = ____playerIndex.getPlayerIndexVanilla
|
|
46
47
|
local getPlayers = ____playerIndex.getPlayers
|
|
47
48
|
local ____tears = require("functions.tears")
|
|
@@ -214,14 +215,14 @@ function ____exports.addTrinketCostume(self, player, trinketType)
|
|
|
214
215
|
player:AddCostume(itemConfigTrinket, false)
|
|
215
216
|
end
|
|
216
217
|
function ____exports.anyPlayerHasCollectible(self, collectibleType)
|
|
217
|
-
local players =
|
|
218
|
+
local players = getAllPlayers(nil)
|
|
218
219
|
return __TS__ArraySome(
|
|
219
220
|
players,
|
|
220
221
|
function(____, player) return player:HasCollectible(collectibleType) end
|
|
221
222
|
)
|
|
222
223
|
end
|
|
223
224
|
function ____exports.anyPlayerHasTrinket(self, trinketType)
|
|
224
|
-
local players =
|
|
225
|
+
local players = getAllPlayers(nil)
|
|
225
226
|
return __TS__ArraySome(
|
|
226
227
|
players,
|
|
227
228
|
function(____, player) return player:HasTrinket(trinketType) end
|
package/dist/index.d.ts
CHANGED
|
@@ -962,53 +962,63 @@ export declare function countEntities(entityType?: EntityType, variant?: number,
|
|
|
962
962
|
*/
|
|
963
963
|
export declare function countSetBits(n: int): int;
|
|
964
964
|
|
|
965
|
-
/**
|
|
965
|
+
/**
|
|
966
|
+
* An object that represents a possible boss for a custom stage. This can be for a vanilla boss or a
|
|
967
|
+
* custom boss.
|
|
968
|
+
*/
|
|
966
969
|
export declare interface CustomStageBossPoolEntry {
|
|
967
970
|
/**
|
|
968
|
-
* The name of the boss. This
|
|
969
|
-
*
|
|
970
|
-
* Note that since there is no way to determine the corresponding `EntityType` of the boss during
|
|
971
|
-
* compile-time, you must specify the `EntityType` at run-time when your mod first loads using the
|
|
972
|
-
* `registerCustomBoss` helper function.
|
|
971
|
+
* The name of the boss. This should correspond to the entry for the boss in the "entities2.xml"
|
|
972
|
+
* file.
|
|
973
973
|
*/
|
|
974
974
|
name: string;
|
|
975
|
+
/**
|
|
976
|
+
* The arbitrary sub-type chosen for this boss, ranging between 1 and 999. You must set the boss
|
|
977
|
+
* rooms for this boss to this sub-type in Basement Renovator by right-clicking on the room on the
|
|
978
|
+
* right-hand-side.
|
|
979
|
+
*
|
|
980
|
+
* It does not matter if the arbitrary sub-type overlaps with any of the vanilla `BossID` values
|
|
981
|
+
* (e.g. vanilla Boss Room sub-types in "00.special_rooms.stb"). It also does not matter if this
|
|
982
|
+
* value overlaps with the values from other mods.
|
|
983
|
+
*
|
|
984
|
+
* If you are creating an entry for a vanilla boss, it is recommended that you match the sub-type
|
|
985
|
+
* with the corresponding vanilla `BossID` value. This will make things a bit easier to understand
|
|
986
|
+
* for people working on your mod, but is not a hard requirement.
|
|
987
|
+
*
|
|
988
|
+
* @minimum 1
|
|
989
|
+
* @maximum 999
|
|
990
|
+
*/
|
|
991
|
+
subType: number;
|
|
975
992
|
/**
|
|
976
993
|
* The weight of the boss. This is used when randomly selecting which boss to use for the floor.
|
|
977
994
|
* For example, use a value of 1 if you want this boss to be equally likely as any other boss, 0.5
|
|
978
995
|
* if you want it to be half as likely, 2 if you want it to be twice as likely, and so on.
|
|
979
996
|
*/
|
|
980
997
|
weight: number;
|
|
998
|
+
/** Optional. A collection of sprites used for the boss on the "versus" screen. */
|
|
999
|
+
versusScreen?: {
|
|
1000
|
+
/**
|
|
1001
|
+
* Mandatory. The full path to the spritesheet that contains the graphics of the name of the
|
|
1002
|
+
* boss that will be displayed on the top of the boss "versus" screen.
|
|
1003
|
+
*
|
|
1004
|
+
* If not specified, a sprite showing "???" will be used.
|
|
1005
|
+
*/
|
|
1006
|
+
namePNGPath: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Mandatory. The full path to the spritesheet that contains the portrait of the boss that will
|
|
1009
|
+
* be displayed on the right side of the boss "versus" screen.
|
|
1010
|
+
*
|
|
1011
|
+
* If not specified, a sprite showing "???" will be used.
|
|
1012
|
+
*/
|
|
1013
|
+
portraitPNGPath: string;
|
|
1014
|
+
};
|
|
981
1015
|
}
|
|
982
1016
|
|
|
983
|
-
/**
|
|
984
|
-
* An object that represents a custom stage. The "metadata.lua" file contains an array of these
|
|
985
|
-
* objects. Besides the room metadata, the data is the same as what is specified inside the
|
|
986
|
-
* "tsconfig.json" file.
|
|
987
|
-
*
|
|
988
|
-
* The `CustomStage` interface extends this, adding more data.
|
|
989
|
-
*/
|
|
990
|
-
export declare interface CustomStageLua extends CustomStageTSConfig {
|
|
991
|
-
readonly roomsMetadata: readonly CustomStageRoomMetadata[];
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* Metadata about a custom stage room. Each custom stage object contains an array with metadata for
|
|
996
|
-
* each room.
|
|
997
|
-
*/
|
|
998
|
-
export declare type CustomStageRoomMetadata = Readonly<{
|
|
999
|
-
type: number;
|
|
1000
|
-
variant: number;
|
|
1001
|
-
subType: number;
|
|
1002
|
-
shape: number;
|
|
1003
|
-
doorSlotFlags: number;
|
|
1004
|
-
weight: number;
|
|
1005
|
-
}>;
|
|
1006
|
-
|
|
1007
1017
|
/**
|
|
1008
1018
|
* A description of a custom stage shadow. (In this context, "shadows" are the outlines from things
|
|
1009
1019
|
* on the roof. For example, in Basement, a shadow of a sideways V is used, among others.)
|
|
1010
1020
|
*/
|
|
1011
|
-
export declare
|
|
1021
|
+
export declare interface CustomStageShadow {
|
|
1012
1022
|
/**
|
|
1013
1023
|
* The full path to the shadow overlay PNG file.
|
|
1014
1024
|
*
|
|
@@ -1022,7 +1032,7 @@ export declare type CustomStageShadow = Readonly<{
|
|
|
1022
1032
|
* If not specified, an object of `{ r: 0, g: 0, b: 0, a: 0.25 }` will be used (which corresponds
|
|
1023
1033
|
* to 75% faded black).
|
|
1024
1034
|
*/
|
|
1025
|
-
color?:
|
|
1035
|
+
color?: {
|
|
1026
1036
|
/**
|
|
1027
1037
|
* @minimum 0
|
|
1028
1038
|
* @maximum 1
|
|
@@ -1043,8 +1053,8 @@ export declare type CustomStageShadow = Readonly<{
|
|
|
1043
1053
|
* @maximum 1
|
|
1044
1054
|
*/
|
|
1045
1055
|
a: number;
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
1048
1058
|
|
|
1049
1059
|
/**
|
|
1050
1060
|
* This is the format of a custom stage in the "isaacscript" section of the "tsconfig.json" file.
|
|
@@ -1057,7 +1067,7 @@ export declare type CustomStageShadow = Readonly<{
|
|
|
1057
1067
|
*
|
|
1058
1068
|
* The `CustomStageLua` interface extends this, adding room metadata.
|
|
1059
1069
|
*/
|
|
1060
|
-
export declare
|
|
1070
|
+
export declare interface CustomStageTSConfig {
|
|
1061
1071
|
/** Mandatory. The name of the custom stage. */
|
|
1062
1072
|
name: string;
|
|
1063
1073
|
/**
|
|
@@ -1082,8 +1092,14 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1082
1092
|
* number of the stage that will be warped to and used as a basis for the stage by the level
|
|
1083
1093
|
* generation algorithm.
|
|
1084
1094
|
*
|
|
1085
|
-
*
|
|
1086
|
-
*
|
|
1095
|
+
* For example, if you wanted to have a custom stage with a small amount of rooms per floor, then
|
|
1096
|
+
* you should choose 2 as a base. (This would copy the number of rooms that would appear in
|
|
1097
|
+
* Basement 2.) And if you wanted to have a custom stage with the maximum amount of rooms, then
|
|
1098
|
+
* you should choose 13 as a base. (This would copy the number of rooms that would appear on The
|
|
1099
|
+
* Void.)
|
|
1100
|
+
*
|
|
1101
|
+
* It is not possible to use Basement 1 as a base stage due to conflicts with the `Game.SetStage`
|
|
1102
|
+
* method.
|
|
1087
1103
|
*
|
|
1088
1104
|
* If not specified, `LevelStage.BASEMENT_2` (2) will be used.
|
|
1089
1105
|
*
|
|
@@ -1107,7 +1123,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1107
1123
|
* the graphics for the walls and floor.) If not specified, the graphics for Basement will be
|
|
1108
1124
|
* used.
|
|
1109
1125
|
*/
|
|
1110
|
-
backdropPNGPaths?:
|
|
1126
|
+
backdropPNGPaths?: {
|
|
1111
1127
|
/**
|
|
1112
1128
|
* An array that contains the full paths to the graphic files that are used for the floor in
|
|
1113
1129
|
* narrow rooms. (The "n" stands for "narrow").
|
|
@@ -1117,7 +1133,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1117
1133
|
*
|
|
1118
1134
|
* For an example of this, see the vanilla file "resources/gfx/backdrop/01_basement_nfloor.png".
|
|
1119
1135
|
*/
|
|
1120
|
-
nFloors:
|
|
1136
|
+
nFloors: string[];
|
|
1121
1137
|
/**
|
|
1122
1138
|
* An array that contains the full paths to the graphic files that are used for the floor in L
|
|
1123
1139
|
* rooms.
|
|
@@ -1127,7 +1143,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1127
1143
|
*
|
|
1128
1144
|
* For an example of this, see the vanilla file "resources/gfx/backdrop/01_lbasementfloor.png".
|
|
1129
1145
|
*/
|
|
1130
|
-
lFloors:
|
|
1146
|
+
lFloors: string[];
|
|
1131
1147
|
/**
|
|
1132
1148
|
* An array that contains the full paths to the graphic files that are used for the walls of the
|
|
1133
1149
|
* floor.
|
|
@@ -1139,7 +1155,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1139
1155
|
* the vanilla file, they concatenate all four variations together into one PNG file. However,
|
|
1140
1156
|
* for the custom stages feature, you must separate each wall variation into a separate file.)
|
|
1141
1157
|
*/
|
|
1142
|
-
walls:
|
|
1158
|
+
walls: string[];
|
|
1143
1159
|
/**
|
|
1144
1160
|
* An array that contains the full paths to the graphic files for the stage's corners.
|
|
1145
1161
|
*
|
|
@@ -1153,8 +1169,8 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1153
1169
|
* you must separate each corner variation into a separate file (and put it in a different file
|
|
1154
1170
|
* from the walls).
|
|
1155
1171
|
*/
|
|
1156
|
-
corners:
|
|
1157
|
-
}
|
|
1172
|
+
corners: string[];
|
|
1173
|
+
};
|
|
1158
1174
|
/**
|
|
1159
1175
|
* Optional. The full path to the spritesheet that contains the graphics of the decorations for
|
|
1160
1176
|
* the floor.
|
|
@@ -1188,7 +1204,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1188
1204
|
* Optional. A collection of paths that contain graphics for the doors of the floor. If not
|
|
1189
1205
|
* specified, the doors for Basement will be used.
|
|
1190
1206
|
*/
|
|
1191
|
-
doorPNGPaths?:
|
|
1207
|
+
doorPNGPaths?: {
|
|
1192
1208
|
/**
|
|
1193
1209
|
* Optional. The full path to the spritesheet that contains the graphics of the normal doors for
|
|
1194
1210
|
* the floor.
|
|
@@ -1285,14 +1301,14 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1285
1301
|
* located at: `resources/gfx/grid/door_02b_chestroomdoor.png`
|
|
1286
1302
|
*/
|
|
1287
1303
|
chestRoom?: string;
|
|
1288
|
-
}
|
|
1304
|
+
};
|
|
1289
1305
|
/**
|
|
1290
1306
|
* Optional. An array of shadow objects that describe the graphics for the custom shadows of the
|
|
1291
1307
|
* floor. (In this context, "shadows" are the outlines from things on the roof. For example, in
|
|
1292
1308
|
* Basement, a shadow of a sideways V is used, among others.) If not specified, no extra shadows
|
|
1293
1309
|
* will be drawn.
|
|
1294
1310
|
*/
|
|
1295
|
-
shadows?:
|
|
1311
|
+
shadows?: {
|
|
1296
1312
|
/**
|
|
1297
1313
|
* Optional. An array containing the shadows that will be used in rooms of shape
|
|
1298
1314
|
* `RoomShape.SHAPE_1x1` (1), `RoomShape.IH` (2), and `RoomShape.IV` (3).
|
|
@@ -1301,7 +1317,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1301
1317
|
*
|
|
1302
1318
|
* If not specified, no extra shadows will be drawn in these room shapes.
|
|
1303
1319
|
*/
|
|
1304
|
-
"1x1"?:
|
|
1320
|
+
"1x1"?: CustomStageShadow[];
|
|
1305
1321
|
/**
|
|
1306
1322
|
* Optional. An array containing the shadows that will be used in rooms of shape
|
|
1307
1323
|
* `RoomShape.SHAPE_1x2` (4) and `RoomShape.IIV` (5).
|
|
@@ -1310,7 +1326,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1310
1326
|
*
|
|
1311
1327
|
* If not specified, no extra shadows will be drawn in these room shapes.
|
|
1312
1328
|
*/
|
|
1313
|
-
"1x2"?:
|
|
1329
|
+
"1x2"?: CustomStageShadow[];
|
|
1314
1330
|
/**
|
|
1315
1331
|
* Optional. An array containing the shadows that will be used in rooms of shape
|
|
1316
1332
|
* `RoomShape.SHAPE_2x1` (6) and `RoomShape.IIH` (7).
|
|
@@ -1319,7 +1335,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1319
1335
|
*
|
|
1320
1336
|
* If not specified, no extra shadows will be drawn in these room shapes.
|
|
1321
1337
|
*/
|
|
1322
|
-
"2x1"?:
|
|
1338
|
+
"2x1"?: CustomStageShadow[];
|
|
1323
1339
|
/**
|
|
1324
1340
|
* Optional. An array containing the shadows that will be used in rooms of shape
|
|
1325
1341
|
* `RoomShape.SHAPE_2x2` (8), `RoomShape.LTL` (9), `RoomShape.LTR` (10), `RoomShape.LBL` (11),
|
|
@@ -1329,12 +1345,20 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1329
1345
|
*
|
|
1330
1346
|
* If not specified, no extra shadows will be drawn in these room shapes.
|
|
1331
1347
|
*/
|
|
1332
|
-
"2x2"?:
|
|
1333
|
-
}
|
|
1334
|
-
/**
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1348
|
+
"2x2"?: CustomStageShadow[];
|
|
1349
|
+
};
|
|
1350
|
+
/**
|
|
1351
|
+
* Optional. An array containing the bosses that should be used for the stage. This can include
|
|
1352
|
+
* both vanilla bosses and modded bosses.
|
|
1353
|
+
*/
|
|
1354
|
+
bossPool?: CustomStageBossPoolEntry[];
|
|
1355
|
+
/**
|
|
1356
|
+
* Optional. A collection of colors used for in the boss "versus" screen for all of the bosses.
|
|
1357
|
+
*
|
|
1358
|
+
* Note that these graphics will only be applied if one or more bosses are specified in the
|
|
1359
|
+
* `bossPool` field.
|
|
1360
|
+
*/
|
|
1361
|
+
versusScreen?: {
|
|
1338
1362
|
/**
|
|
1339
1363
|
* Optional. An object representing the color to use for the background of the boss "versus"
|
|
1340
1364
|
* screen. If not specified, the color for Basement 1 will be used.
|
|
@@ -1342,7 +1366,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1342
1366
|
* For a list of the colors that correspond to the vanilla stages, see
|
|
1343
1367
|
* `versusScreenBackgroundColors.ts`.
|
|
1344
1368
|
*/
|
|
1345
|
-
backgroundColor?:
|
|
1369
|
+
backgroundColor?: {
|
|
1346
1370
|
/**
|
|
1347
1371
|
* @minimum 0
|
|
1348
1372
|
* @maximum 1
|
|
@@ -1363,7 +1387,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1363
1387
|
* @maximum 1
|
|
1364
1388
|
*/
|
|
1365
1389
|
a: number;
|
|
1366
|
-
}
|
|
1390
|
+
};
|
|
1367
1391
|
/**
|
|
1368
1392
|
* Optional. An object representing the color to use for the dirt spots in the boss "versus"
|
|
1369
1393
|
* screen. (There are two dirt spots; one for the player and one for the boss.) If not
|
|
@@ -1372,7 +1396,7 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1372
1396
|
* For a list of the colors that correspond to the vanilla stages, see
|
|
1373
1397
|
* `versusScreenDirtSpotColors.ts`.
|
|
1374
1398
|
*/
|
|
1375
|
-
dirtSpotColor?:
|
|
1399
|
+
dirtSpotColor?: {
|
|
1376
1400
|
/**
|
|
1377
1401
|
* @minimum 0
|
|
1378
1402
|
* @maximum 1
|
|
@@ -1393,9 +1417,9 @@ export declare type CustomStageTSConfig = Readonly<{
|
|
|
1393
1417
|
* @maximum 1
|
|
1394
1418
|
*/
|
|
1395
1419
|
a: number;
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1420
|
+
};
|
|
1421
|
+
};
|
|
1422
|
+
}
|
|
1399
1423
|
|
|
1400
1424
|
/**
|
|
1401
1425
|
* `deepCopy` is a semi-generic deep cloner. It will recursively copy all of the values so that none
|
|
@@ -1437,7 +1461,8 @@ export declare const DEFAULT_BASE_STAGE_TYPE = StageType.ORIGINAL;
|
|
|
1437
1461
|
export declare const DEFAULT_ITEM_POOL_TYPE = ItemPoolType.TREASURE;
|
|
1438
1462
|
|
|
1439
1463
|
/**
|
|
1440
|
-
* `DefaultMap` is a data structure that makes working with default values easier.
|
|
1464
|
+
* `DefaultMap` is a data structure that makes working with default values easier. It extends a
|
|
1465
|
+
* `Map` and adds additional methods.
|
|
1441
1466
|
*
|
|
1442
1467
|
* It is a common pattern to look up a value in a `Map`, and then, if the value does not exist, set
|
|
1443
1468
|
* a default value for the key, and then return the default value. `DefaultMap` abstracts this
|
|
@@ -1521,7 +1546,7 @@ export declare class DefaultMap<Key, Value, Args extends unknown[] = []> extends
|
|
|
1521
1546
|
private defaultValueFactory;
|
|
1522
1547
|
/**
|
|
1523
1548
|
* See the main `DefaultMap` documentation:
|
|
1524
|
-
* https://isaacscript.github.io/isaacscript-common/classes/
|
|
1549
|
+
* https://isaacscript.github.io/isaacscript-common/other/classes/DefaultMap
|
|
1525
1550
|
*/
|
|
1526
1551
|
constructor(defaultValueOrFactoryFunction: Value | FactoryFunction<Value, Args>, initializerArray?: Iterable<[Key, Value]>);
|
|
1527
1552
|
/**
|
|
@@ -1791,8 +1816,16 @@ export declare function doesPlayerHaveAllSoulHearts(player: EntityPlayer): boole
|
|
|
1791
1816
|
|
|
1792
1817
|
export declare const DOOR_HITBOX_RADIUS = 11;
|
|
1793
1818
|
|
|
1819
|
+
export declare function doorSlotFlagsToDoorSlots(doorSlotFlags: BitFlags<DoorSlotFlag>): DoorSlot[];
|
|
1820
|
+
|
|
1794
1821
|
export declare function doorSlotFlagToDoorSlot(doorSlotFlag: DoorSlotFlag): DoorSlot;
|
|
1795
1822
|
|
|
1823
|
+
/**
|
|
1824
|
+
* Helper function to convert an array of door slots or a set of door slots to the resulting bit
|
|
1825
|
+
* flag number.
|
|
1826
|
+
*/
|
|
1827
|
+
export declare function doorSlotsToDoorSlotFlags(doorSlots: DoorSlot[] | readonly DoorSlot[] | Set<DoorSlot> | ReadonlySet<DoorSlot>): BitFlags<DoorSlotFlag>;
|
|
1828
|
+
|
|
1796
1829
|
export declare function doorSlotToDirection(doorSlot: DoorSlot): Direction;
|
|
1797
1830
|
|
|
1798
1831
|
export declare function doorSlotToDoorSlotFlag(doorSlot: DoorSlot): DoorSlotFlag;
|
|
@@ -2763,12 +2796,6 @@ export declare function getDoors(...roomTypes: RoomType[]): GridEntityDoor[];
|
|
|
2763
2796
|
*/
|
|
2764
2797
|
export declare function getDoorSlotEnterPositionOffset(doorSlot: DoorSlot): Readonly<Vector>;
|
|
2765
2798
|
|
|
2766
|
-
/**
|
|
2767
|
-
* Helper function to convert an array of door slots or a set of door slots to the resulting bit
|
|
2768
|
-
* flag number.
|
|
2769
|
-
*/
|
|
2770
|
-
export declare function getDoorSlotFlags(doorSlots: DoorSlot[] | readonly DoorSlot[] | Set<DoorSlot> | ReadonlySet<DoorSlot>): BitFlags<DoorSlotFlag>;
|
|
2771
|
-
|
|
2772
2799
|
/** Helper function to get the possible door slots that can exist for a given room shape. */
|
|
2773
2800
|
export declare function getDoorSlotsForRoomShape(roomShape: RoomShape): ReadonlySet<DoorSlot>;
|
|
2774
2801
|
|
|
@@ -2898,7 +2925,7 @@ export declare function getEntityVelocities(entities?: Entity[]): Map<PtrHash, V
|
|
|
2898
2925
|
* Also see the `getEnumKeys` and `getEnumValues` helper functions.
|
|
2899
2926
|
*
|
|
2900
2927
|
* For a more in depth explanation, see:
|
|
2901
|
-
* https://isaacscript.github.io/gotchas#iterating-over-enums
|
|
2928
|
+
* https://isaacscript.github.io/main/gotchas#iterating-over-enums
|
|
2902
2929
|
*/
|
|
2903
2930
|
export declare function getEnumEntries<T>(transpiledEnum: T): Array<[key: string, value: T[keyof T]]>;
|
|
2904
2931
|
|
|
@@ -2916,7 +2943,7 @@ export declare function getEnumEntries<T>(transpiledEnum: T): Array<[key: string
|
|
|
2916
2943
|
* Also see the `getEnumEntries` and `getEnumValues` helper functions.
|
|
2917
2944
|
*
|
|
2918
2945
|
* For a more in depth explanation, see:
|
|
2919
|
-
* https://isaacscript.github.io/gotchas#iterating-over-enums
|
|
2946
|
+
* https://isaacscript.github.io/main/gotchas#iterating-over-enums
|
|
2920
2947
|
*/
|
|
2921
2948
|
export declare function getEnumKeys<T>(transpiledEnum: T): string[];
|
|
2922
2949
|
|
|
@@ -2937,7 +2964,7 @@ export declare function getEnumLength<T>(transpiledEnum: T): int;
|
|
|
2937
2964
|
* Also see the `getEnumEntries` and `getEnumKeys` helper functions.
|
|
2938
2965
|
*
|
|
2939
2966
|
* For a more in depth explanation, see:
|
|
2940
|
-
* https://isaacscript.github.io/gotchas#iterating-over-enums
|
|
2967
|
+
* https://isaacscript.github.io/main/gotchas#iterating-over-enums
|
|
2941
2968
|
*/
|
|
2942
2969
|
export declare function getEnumValues<T>(transpiledEnum: T): Array<T[keyof T]>;
|
|
2943
2970
|
|
|
@@ -5865,7 +5892,7 @@ export declare function iterateTableInOrder<K, V>(luaMap: LuaMap<K, V>, func: (k
|
|
|
5865
5892
|
*/
|
|
5866
5893
|
export declare function jsonDecode(jsonString: string): LuaMap<AnyNotNil, unknown>;
|
|
5867
5894
|
|
|
5868
|
-
/** Part of `
|
|
5895
|
+
/** Part of `JSONRoomsFile`. */
|
|
5869
5896
|
export declare interface JSONDoor {
|
|
5870
5897
|
$: {
|
|
5871
5898
|
/** Equal to "True" or "False". Needs to be converted to an `boolean`. */
|
|
@@ -5889,7 +5916,7 @@ export declare interface JSONDoor {
|
|
|
5889
5916
|
*/
|
|
5890
5917
|
export declare function jsonEncode(luaTable: unknown): string;
|
|
5891
5918
|
|
|
5892
|
-
/** Part of `
|
|
5919
|
+
/** Part of `JSONRoomsFile`. */
|
|
5893
5920
|
export declare interface JSONEntity {
|
|
5894
5921
|
$: {
|
|
5895
5922
|
/** Needs to be converted to an `int`. */
|
|
@@ -5903,7 +5930,7 @@ export declare interface JSONEntity {
|
|
|
5903
5930
|
};
|
|
5904
5931
|
}
|
|
5905
5932
|
|
|
5906
|
-
/** Part of `
|
|
5933
|
+
/** Part of `JSONRoomsFile`. */
|
|
5907
5934
|
export declare interface JSONRoom {
|
|
5908
5935
|
$: {
|
|
5909
5936
|
/** Needs to be converted to an `int`. */
|
|
@@ -5928,6 +5955,7 @@ export declare interface JSONRoom {
|
|
|
5928
5955
|
spawn: JSONSpawn[];
|
|
5929
5956
|
}
|
|
5930
5957
|
|
|
5958
|
+
/** Part of `JSONRoomsFile`. */
|
|
5931
5959
|
export declare interface JSONRooms {
|
|
5932
5960
|
room: JSONRoom[];
|
|
5933
5961
|
}
|
|
@@ -5935,7 +5963,7 @@ export declare interface JSONRooms {
|
|
|
5935
5963
|
/**
|
|
5936
5964
|
* The standard library has the feature to deploy a new room on-the-fly with the `deployJSONRoom`
|
|
5937
5965
|
* helper function. It requires a `JSONRoomsFile` as an argument, which is simply an XML file
|
|
5938
|
-
* converted to JSON. (You create XML room files using the Basement Renovator program.)
|
|
5966
|
+
* converted to JSON. (You can create XML room files using the Basement Renovator program.)
|
|
5939
5967
|
*
|
|
5940
5968
|
* You can convert your XML files using the following command:
|
|
5941
5969
|
*
|
|
@@ -5951,7 +5979,7 @@ export declare interface JSONRoomsFile {
|
|
|
5951
5979
|
rooms: JSONRooms;
|
|
5952
5980
|
}
|
|
5953
5981
|
|
|
5954
|
-
/** Part of `
|
|
5982
|
+
/** Part of `JSONRoomsFile`. */
|
|
5955
5983
|
export declare interface JSONSpawn {
|
|
5956
5984
|
$: {
|
|
5957
5985
|
/** Needs to be converted to an `int`. */
|
|
@@ -8526,31 +8554,6 @@ export declare function registerCharacterHealthConversion(playerType: PlayerType
|
|
|
8526
8554
|
*/
|
|
8527
8555
|
export declare function registerCharacterStats(playerType: PlayerType, statMap: Map<CacheFlag, number> | ReadonlyMap<CacheFlag, number>): void;
|
|
8528
8556
|
|
|
8529
|
-
/**
|
|
8530
|
-
* By default, unknown bosses will be drawn on the boss "versus" screen as "???". If your custom
|
|
8531
|
-
* stage has custom bosses, you can use this function to register the corresponding graphic file
|
|
8532
|
-
* files for them.
|
|
8533
|
-
*
|
|
8534
|
-
* For reference:
|
|
8535
|
-
* - The vanilla name sprite for Monstro is located at:
|
|
8536
|
-
* `resources/gfx/ui/boss/bossname_20.0_monstro.png`
|
|
8537
|
-
* - The vanilla portrait sprite for Monstro is located at:
|
|
8538
|
-
* `resources/gfx/ui/boss/portrait_20.0_monstro.png`
|
|
8539
|
-
*
|
|
8540
|
-
* (Note that boss metadata like this cannot be specified with the rest of the custom stage metadata
|
|
8541
|
-
* in the "tsconfig.json" file because there is not a way to retrieve the name of an entity at
|
|
8542
|
-
* run-time.)
|
|
8543
|
-
*
|
|
8544
|
-
* @param entityType The entity type of the custom boss.
|
|
8545
|
-
* @param variant The variant of the custom boss.
|
|
8546
|
-
* @param subType The sub-type of the custom boss.
|
|
8547
|
-
* @param namePNGPath The full path to the PNG file that contains the name of the boss that will be
|
|
8548
|
-
* displayed on the top of the boss "versus" screen.
|
|
8549
|
-
* @param portraitPNGPath The full path to the PNG file that contains the portrait of the boss that
|
|
8550
|
-
* will be displayed on the right side of the boss "versus" screen.
|
|
8551
|
-
*/
|
|
8552
|
-
export declare function registerCustomBoss(entityType: EntityType, variant: int, subType: int, namePNGPath: string, portraitPNGPath: string): void;
|
|
8553
|
-
|
|
8554
8557
|
/**
|
|
8555
8558
|
* Helper function to run arbitrary code when you press and release a specific keyboard key.
|
|
8556
8559
|
*
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACL,sBAAsB,EACtB,iCAAiC,GAClC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE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