isaacscript-common 29.5.3 → 29.5.5
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.rollup.d.ts +6 -1
- package/dist/isaacscript-common.lua +22 -8
- package/dist/src/functions/entities.d.ts.map +1 -1
- package/dist/src/functions/entities.lua +0 -4
- package/dist/src/functions/rooms.d.ts +6 -1
- package/dist/src/functions/rooms.d.ts.map +1 -1
- package/dist/src/functions/rooms.lua +26 -3
- package/package.json +1 -1
- package/src/functions/entities.ts +0 -8
- package/src/functions/rooms.ts +27 -1
- package/dist/src/indexLua.d.ts +0 -185
- package/dist/src/indexLua.d.ts.map +0 -1
- package/dist/src/indexLua.lua +0 -1114
package/dist/index.rollup.d.ts
CHANGED
|
@@ -7541,8 +7541,13 @@ export declare function isAllPressurePlatesPushed(): boolean;
|
|
|
7541
7541
|
* @param onlyCheckRoomTypes Optional. A whitelist of room types. If specified, room types not in
|
|
7542
7542
|
* the array will be ignored. If not specified, then all rooms will be
|
|
7543
7543
|
* checked. Undefined by default.
|
|
7544
|
+
* @param includeSecretAndSuperSecretRoom Optional. Whether or not to include the Secret Room and
|
|
7545
|
+
* the Super Secret Room. Default is false.
|
|
7546
|
+
* @param includeUltraSecretRoom Optional. Whether or not to include the Ultra Secret Room. Default
|
|
7547
|
+
* is false.
|
|
7548
|
+
* @allowEmptyVariadic
|
|
7544
7549
|
*/
|
|
7545
|
-
export declare function isAllRoomsClear(onlyCheckRoomTypes?: RoomType[]): boolean;
|
|
7550
|
+
export declare function isAllRoomsClear(onlyCheckRoomTypes?: RoomType[], includeSecretAndSuperSecretRoom?: boolean, includeUltraSecretRoom?: boolean): boolean;
|
|
7546
7551
|
|
|
7547
7552
|
export declare function isAngelRoomDoor(door: GridEntityDoor): boolean;
|
|
7548
7553
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 29.5.
|
|
3
|
+
isaacscript-common 29.5.5
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -21060,10 +21060,6 @@ function ____exports.spawn(self, entityType, variant, subType, positionOrGridInd
|
|
|
21060
21060
|
local entityID = ____exports.getEntityIDFromConstituents(nil, entityType, variant, subType)
|
|
21061
21061
|
error(("Failed to spawn entity " .. entityID) .. " since an undefined position was passed to the \"spawn\" function.")
|
|
21062
21062
|
end
|
|
21063
|
-
if velocity == nil then
|
|
21064
|
-
local entityID = ____exports.getEntityIDFromConstituents(nil, entityType, variant, subType)
|
|
21065
|
-
error(("Failed to spawn entity " .. entityID) .. " since an undefined velocity was passed to the \"spawn\" function.")
|
|
21066
|
-
end
|
|
21067
21063
|
local position = isVector(nil, positionOrGridIndex) and positionOrGridIndex or room:GetGridPosition(positionOrGridIndex)
|
|
21068
21064
|
if seedOrRNG == nil then
|
|
21069
21065
|
return Isaac.Spawn(
|
|
@@ -27399,7 +27395,13 @@ function ____exports.inStartingRoom(self)
|
|
|
27399
27395
|
local roomGridIndex = getRoomGridIndex(nil)
|
|
27400
27396
|
return roomGridIndex == startingRoomGridIndex and inDimension(nil, Dimension.MAIN)
|
|
27401
27397
|
end
|
|
27402
|
-
function ____exports.isAllRoomsClear(self, onlyCheckRoomTypes)
|
|
27398
|
+
function ____exports.isAllRoomsClear(self, onlyCheckRoomTypes, includeSecretAndSuperSecretRoom, includeUltraSecretRoom)
|
|
27399
|
+
if includeSecretAndSuperSecretRoom == nil then
|
|
27400
|
+
includeSecretAndSuperSecretRoom = false
|
|
27401
|
+
end
|
|
27402
|
+
if includeUltraSecretRoom == nil then
|
|
27403
|
+
includeUltraSecretRoom = false
|
|
27404
|
+
end
|
|
27403
27405
|
local rooms = ____exports.getRoomsInsideGrid(nil)
|
|
27404
27406
|
local matchingRooms
|
|
27405
27407
|
if onlyCheckRoomTypes == nil then
|
|
@@ -27411,6 +27413,18 @@ function ____exports.isAllRoomsClear(self, onlyCheckRoomTypes)
|
|
|
27411
27413
|
function(____, roomDescriptor) return roomDescriptor.Data ~= nil and roomTypeWhitelist:has(roomDescriptor.Data.Type) end
|
|
27412
27414
|
)
|
|
27413
27415
|
end
|
|
27416
|
+
if not includeSecretAndSuperSecretRoom then
|
|
27417
|
+
matchingRooms = __TS__ArrayFilter(
|
|
27418
|
+
matchingRooms,
|
|
27419
|
+
function(____, roomDescriptor) return roomDescriptor.Data ~= nil and roomDescriptor.Data.Type ~= RoomType.SECRET and roomDescriptor.Data.Type ~= RoomType.SUPER_SECRET end
|
|
27420
|
+
)
|
|
27421
|
+
end
|
|
27422
|
+
if not includeUltraSecretRoom then
|
|
27423
|
+
matchingRooms = __TS__ArrayFilter(
|
|
27424
|
+
matchingRooms,
|
|
27425
|
+
function(____, roomDescriptor) return roomDescriptor.Data ~= nil and roomDescriptor.Data.Type ~= RoomType.ULTRA_SECRET end
|
|
27426
|
+
)
|
|
27427
|
+
end
|
|
27414
27428
|
return __TS__ArrayEvery(
|
|
27415
27429
|
matchingRooms,
|
|
27416
27430
|
function(____, roomDescriptor) return roomDescriptor.Clear end
|
|
@@ -27442,12 +27456,12 @@ function ____exports.setRoomCleared(self)
|
|
|
27442
27456
|
for ____, door in ipairs(getDoors(nil)) do
|
|
27443
27457
|
do
|
|
27444
27458
|
if isHiddenSecretRoomDoor(nil, door) then
|
|
27445
|
-
goto
|
|
27459
|
+
goto __continue60
|
|
27446
27460
|
end
|
|
27447
27461
|
openDoorFast(nil, door)
|
|
27448
27462
|
door.ExtraVisible = false
|
|
27449
27463
|
end
|
|
27450
|
-
::
|
|
27464
|
+
::__continue60::
|
|
27451
27465
|
end
|
|
27452
27466
|
sfxManager:Stop(SoundEffect.DOOR_HEAVY_OPEN)
|
|
27453
27467
|
game:ShakeScreen(0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/functions/entities.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,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AAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAGnE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CASzD;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CACnB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,GAAG,EACZ,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,EACvC,SAAS,GAAE,IAAI,GAAG,GAAG,GAAG,SAAqB,GAC5C,MAAM,CAoCR;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,QAAQ,EAClB,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,EACvC,SAAS,GAAE,IAAI,GAAG,GAAG,GAAG,SAAqB,GAC5C,MAAM,CAWR;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,GAAG,EACZ,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,SAAS,EAAE,IAAI,GAAG,GAAG,EACrB,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,GACtC,MAAM,CAUR"}
|
|
@@ -487,10 +487,6 @@ function ____exports.spawn(self, entityType, variant, subType, positionOrGridInd
|
|
|
487
487
|
local entityID = ____exports.getEntityIDFromConstituents(nil, entityType, variant, subType)
|
|
488
488
|
error(("Failed to spawn entity " .. entityID) .. " since an undefined position was passed to the \"spawn\" function.")
|
|
489
489
|
end
|
|
490
|
-
if velocity == nil then
|
|
491
|
-
local entityID = ____exports.getEntityIDFromConstituents(nil, entityType, variant, subType)
|
|
492
|
-
error(("Failed to spawn entity " .. entityID) .. " since an undefined velocity was passed to the \"spawn\" function.")
|
|
493
|
-
end
|
|
494
490
|
local position = isVector(nil, positionOrGridIndex) and positionOrGridIndex or room:GetGridPosition(positionOrGridIndex)
|
|
495
491
|
if seedOrRNG == nil then
|
|
496
492
|
return Isaac.Spawn(
|
|
@@ -195,8 +195,13 @@ export declare function inStartingRoom(): boolean;
|
|
|
195
195
|
* @param onlyCheckRoomTypes Optional. A whitelist of room types. If specified, room types not in
|
|
196
196
|
* the array will be ignored. If not specified, then all rooms will be
|
|
197
197
|
* checked. Undefined by default.
|
|
198
|
+
* @param includeSecretAndSuperSecretRoom Optional. Whether or not to include the Secret Room and
|
|
199
|
+
* the Super Secret Room. Default is false.
|
|
200
|
+
* @param includeUltraSecretRoom Optional. Whether or not to include the Ultra Secret Room. Default
|
|
201
|
+
* is false.
|
|
202
|
+
* @allowEmptyVariadic
|
|
198
203
|
*/
|
|
199
|
-
export declare function isAllRoomsClear(onlyCheckRoomTypes?: RoomType[]): boolean;
|
|
204
|
+
export declare function isAllRoomsClear(onlyCheckRoomTypes?: RoomType[], includeSecretAndSuperSecretRoom?: boolean, includeUltraSecretRoom?: boolean): boolean;
|
|
200
205
|
/**
|
|
201
206
|
* Helper function to detect if a room type is a Secret Room, a Super Secret Room, or an Ultra
|
|
202
207
|
* Secret Room.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooms.d.ts","sourceRoot":"","sources":["../../../src/functions/rooms.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EACZ,MAAM,EACN,SAAS,EAMT,YAAY,EAEZ,UAAU,EAGV,QAAQ,EAGT,MAAM,8BAA8B,CAAC;AAyCtC;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,aAAa,EAAE,GAAG,GAAG,IAAI,CAenD;AAED;;;GAGG;AACH,wBAAgB,WAAW,IAAI,GAAG,CAGjC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,IAAI,KAAK,CAAC,QAAQ,CAA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QAAQ,EAAE,GAAG,OAAO,CAI5D;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI,OAAO,CAItC;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,IAAI,OAAO,CAItC;AAED;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAMxC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAC7B,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAC/B,+BAA+B,UAAQ,EACvC,sBAAsB,UAAQ,GAC7B,OAAO,CAiCT;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAE5D;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,IAAI,IAAI,CAWrC;AAED,iFAAiF;AACjF,wBAAgB,WAAW,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI,CAG5D;AAED;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,IAAI,CA8BrC;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAKvC"}
|
|
@@ -404,7 +404,18 @@ end
|
|
|
404
404
|
-- @param onlyCheckRoomTypes Optional. A whitelist of room types. If specified, room types not in
|
|
405
405
|
-- the array will be ignored. If not specified, then all rooms will be
|
|
406
406
|
-- checked. Undefined by default.
|
|
407
|
-
|
|
407
|
+
-- @param includeSecretAndSuperSecretRoom Optional. Whether or not to include the Secret Room and
|
|
408
|
+
-- the Super Secret Room. Default is false.
|
|
409
|
+
-- @param includeUltraSecretRoom Optional. Whether or not to include the Ultra Secret Room. Default
|
|
410
|
+
-- is false.
|
|
411
|
+
-- @allowEmptyVariadic
|
|
412
|
+
function ____exports.isAllRoomsClear(self, onlyCheckRoomTypes, includeSecretAndSuperSecretRoom, includeUltraSecretRoom)
|
|
413
|
+
if includeSecretAndSuperSecretRoom == nil then
|
|
414
|
+
includeSecretAndSuperSecretRoom = false
|
|
415
|
+
end
|
|
416
|
+
if includeUltraSecretRoom == nil then
|
|
417
|
+
includeUltraSecretRoom = false
|
|
418
|
+
end
|
|
408
419
|
local rooms = ____exports.getRoomsInsideGrid(nil)
|
|
409
420
|
local matchingRooms
|
|
410
421
|
if onlyCheckRoomTypes == nil then
|
|
@@ -416,6 +427,18 @@ function ____exports.isAllRoomsClear(self, onlyCheckRoomTypes)
|
|
|
416
427
|
function(____, roomDescriptor) return roomDescriptor.Data ~= nil and roomTypeWhitelist:has(roomDescriptor.Data.Type) end
|
|
417
428
|
)
|
|
418
429
|
end
|
|
430
|
+
if not includeSecretAndSuperSecretRoom then
|
|
431
|
+
matchingRooms = __TS__ArrayFilter(
|
|
432
|
+
matchingRooms,
|
|
433
|
+
function(____, roomDescriptor) return roomDescriptor.Data ~= nil and roomDescriptor.Data.Type ~= RoomType.SECRET and roomDescriptor.Data.Type ~= RoomType.SUPER_SECRET end
|
|
434
|
+
)
|
|
435
|
+
end
|
|
436
|
+
if not includeUltraSecretRoom then
|
|
437
|
+
matchingRooms = __TS__ArrayFilter(
|
|
438
|
+
matchingRooms,
|
|
439
|
+
function(____, roomDescriptor) return roomDescriptor.Data ~= nil and roomDescriptor.Data.Type ~= RoomType.ULTRA_SECRET end
|
|
440
|
+
)
|
|
441
|
+
end
|
|
419
442
|
return __TS__ArrayEvery(
|
|
420
443
|
matchingRooms,
|
|
421
444
|
function(____, roomDescriptor) return roomDescriptor.Clear end
|
|
@@ -457,12 +480,12 @@ function ____exports.setRoomCleared(self)
|
|
|
457
480
|
for ____, door in ipairs(getDoors(nil)) do
|
|
458
481
|
do
|
|
459
482
|
if isHiddenSecretRoomDoor(nil, door) then
|
|
460
|
-
goto
|
|
483
|
+
goto __continue60
|
|
461
484
|
end
|
|
462
485
|
openDoorFast(nil, door)
|
|
463
486
|
door.ExtraVisible = false
|
|
464
487
|
end
|
|
465
|
-
::
|
|
488
|
+
::__continue60::
|
|
466
489
|
end
|
|
467
490
|
sfxManager:Stop(SoundEffect.DOOR_HEAVY_OPEN)
|
|
468
491
|
game:ShakeScreen(0)
|
package/package.json
CHANGED
|
@@ -563,14 +563,6 @@ export function spawn(
|
|
|
563
563
|
);
|
|
564
564
|
}
|
|
565
565
|
|
|
566
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
567
|
-
if (velocity === undefined) {
|
|
568
|
-
const entityID = getEntityIDFromConstituents(entityType, variant, subType);
|
|
569
|
-
error(
|
|
570
|
-
`Failed to spawn entity ${entityID} since an undefined velocity was passed to the "spawn" function.`,
|
|
571
|
-
);
|
|
572
|
-
}
|
|
573
|
-
|
|
574
566
|
const position = isVector(positionOrGridIndex)
|
|
575
567
|
? positionOrGridIndex
|
|
576
568
|
: room.GetGridPosition(positionOrGridIndex);
|
package/src/functions/rooms.ts
CHANGED
|
@@ -541,8 +541,17 @@ export function inStartingRoom(): boolean {
|
|
|
541
541
|
* @param onlyCheckRoomTypes Optional. A whitelist of room types. If specified, room types not in
|
|
542
542
|
* the array will be ignored. If not specified, then all rooms will be
|
|
543
543
|
* checked. Undefined by default.
|
|
544
|
+
* @param includeSecretAndSuperSecretRoom Optional. Whether or not to include the Secret Room and
|
|
545
|
+
* the Super Secret Room. Default is false.
|
|
546
|
+
* @param includeUltraSecretRoom Optional. Whether or not to include the Ultra Secret Room. Default
|
|
547
|
+
* is false.
|
|
548
|
+
* @allowEmptyVariadic
|
|
544
549
|
*/
|
|
545
|
-
export function isAllRoomsClear(
|
|
550
|
+
export function isAllRoomsClear(
|
|
551
|
+
onlyCheckRoomTypes?: RoomType[],
|
|
552
|
+
includeSecretAndSuperSecretRoom = false,
|
|
553
|
+
includeUltraSecretRoom = false,
|
|
554
|
+
): boolean {
|
|
546
555
|
const rooms = getRoomsInsideGrid();
|
|
547
556
|
|
|
548
557
|
let matchingRooms: RoomDescriptor[];
|
|
@@ -557,6 +566,23 @@ export function isAllRoomsClear(onlyCheckRoomTypes?: RoomType[]): boolean {
|
|
|
557
566
|
);
|
|
558
567
|
}
|
|
559
568
|
|
|
569
|
+
if (!includeSecretAndSuperSecretRoom) {
|
|
570
|
+
matchingRooms = matchingRooms.filter(
|
|
571
|
+
(roomDescriptor) =>
|
|
572
|
+
roomDescriptor.Data !== undefined &&
|
|
573
|
+
roomDescriptor.Data.Type !== RoomType.SECRET &&
|
|
574
|
+
roomDescriptor.Data.Type !== RoomType.SUPER_SECRET,
|
|
575
|
+
);
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
if (!includeUltraSecretRoom) {
|
|
579
|
+
matchingRooms = matchingRooms.filter(
|
|
580
|
+
(roomDescriptor) =>
|
|
581
|
+
roomDescriptor.Data !== undefined &&
|
|
582
|
+
roomDescriptor.Data.Type !== RoomType.ULTRA_SECRET,
|
|
583
|
+
);
|
|
584
|
+
}
|
|
585
|
+
|
|
560
586
|
return matchingRooms.every((roomDescriptor) => roomDescriptor.Clear);
|
|
561
587
|
}
|
|
562
588
|
|
package/dist/src/indexLua.d.ts
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
export * from "./classes/DefaultMap";
|
|
2
|
-
export * from "./classes/ModFeature";
|
|
3
|
-
export * from "./classes/ModUpgraded";
|
|
4
|
-
export * from "./core/cachedClasses";
|
|
5
|
-
export * from "./core/constants";
|
|
6
|
-
export * from "./core/constantsFirstLast";
|
|
7
|
-
export * from "./core/upgradeMod";
|
|
8
|
-
export * from "./enums/AmbushType";
|
|
9
|
-
export * from "./enums/CornerType";
|
|
10
|
-
export * from "./enums/HealthType";
|
|
11
|
-
export * from "./enums/ISCFeature";
|
|
12
|
-
export * from "./enums/LadderSubTypeCustom";
|
|
13
|
-
export * from "./enums/ModCallbackCustom";
|
|
14
|
-
export * from "./enums/MysteriousPaperEffect";
|
|
15
|
-
export * from "./enums/PocketItemType";
|
|
16
|
-
export * from "./enums/RockAltType";
|
|
17
|
-
export * from "./enums/SaveDataKey";
|
|
18
|
-
export * from "./enums/SerializationType";
|
|
19
|
-
export * from "./enums/SlotDestructionType";
|
|
20
|
-
export * from "./enums/StatType";
|
|
21
|
-
export * from "./functions/ambush";
|
|
22
|
-
export * from "./functions/array";
|
|
23
|
-
export * from "./functions/arrayLua";
|
|
24
|
-
export * from "./functions/benchmark";
|
|
25
|
-
export * from "./functions/bitSet128";
|
|
26
|
-
export * from "./functions/bitwise";
|
|
27
|
-
export * from "./functions/bombs";
|
|
28
|
-
export * from "./functions/bosses";
|
|
29
|
-
export * from "./functions/cards";
|
|
30
|
-
export * from "./functions/challenges";
|
|
31
|
-
export * from "./functions/characters";
|
|
32
|
-
export * from "./functions/charge";
|
|
33
|
-
export * from "./functions/chargeBar";
|
|
34
|
-
export * from "./functions/collectibles";
|
|
35
|
-
export * from "./functions/collectibleTag";
|
|
36
|
-
export * from "./functions/color";
|
|
37
|
-
export * from "./functions/console";
|
|
38
|
-
export * from "./functions/curses";
|
|
39
|
-
export * from "./functions/debugFunctions";
|
|
40
|
-
export * from "./functions/decorators";
|
|
41
|
-
export * from "./functions/deepCopy";
|
|
42
|
-
export * from "./functions/deepCopyTests";
|
|
43
|
-
export * from "./functions/dimensions";
|
|
44
|
-
export * from "./functions/direction";
|
|
45
|
-
export * from "./functions/doors";
|
|
46
|
-
export * from "./functions/easing";
|
|
47
|
-
export * from "./functions/effects";
|
|
48
|
-
export * from "./functions/emptyRoom";
|
|
49
|
-
export * from "./functions/entities";
|
|
50
|
-
export * from "./functions/entitiesSpecific";
|
|
51
|
-
export * from "./functions/entityTypes";
|
|
52
|
-
export * from "./functions/enums";
|
|
53
|
-
export * from "./functions/familiars";
|
|
54
|
-
export * from "./functions/flag";
|
|
55
|
-
export * from "./functions/globals";
|
|
56
|
-
export * from "./functions/gridEntities";
|
|
57
|
-
export * from "./functions/gridEntitiesSpecific";
|
|
58
|
-
export * from "./functions/gridIndex";
|
|
59
|
-
export * from "./functions/hex";
|
|
60
|
-
export * from "./functions/initArray";
|
|
61
|
-
export * from "./functions/input";
|
|
62
|
-
export * from "./functions/isaacAPIClass";
|
|
63
|
-
export * from "./functions/itemPool";
|
|
64
|
-
export * from "./functions/jsonHelpers";
|
|
65
|
-
export * from "./functions/jsonRoom";
|
|
66
|
-
export * from "./functions/kColor";
|
|
67
|
-
export * from "./functions/language";
|
|
68
|
-
export * from "./functions/level";
|
|
69
|
-
export * from "./functions/levelGrid";
|
|
70
|
-
export * from "./functions/log";
|
|
71
|
-
export * from "./functions/logEntities";
|
|
72
|
-
export * from "./functions/logMisc";
|
|
73
|
-
export * from "./functions/map";
|
|
74
|
-
export * from "./functions/math";
|
|
75
|
-
export * from "./functions/merge";
|
|
76
|
-
export * from "./functions/mergeTests";
|
|
77
|
-
export * from "./functions/minimap";
|
|
78
|
-
export * from "./functions/modFeatures";
|
|
79
|
-
export * from "./functions/nextStage";
|
|
80
|
-
export * from "./functions/npcs";
|
|
81
|
-
export * from "./functions/pickups";
|
|
82
|
-
export * from "./functions/pickupsSpecific";
|
|
83
|
-
export * from "./functions/pickupVariants";
|
|
84
|
-
export * from "./functions/pills";
|
|
85
|
-
export * from "./functions/playerCenter";
|
|
86
|
-
export * from "./functions/playerDataStructures";
|
|
87
|
-
export * from "./functions/playerHealth";
|
|
88
|
-
export * from "./functions/playerIndex";
|
|
89
|
-
export * from "./functions/players";
|
|
90
|
-
export * from "./functions/playerStats";
|
|
91
|
-
export * from "./functions/pocketItems";
|
|
92
|
-
export * from "./functions/positionVelocity";
|
|
93
|
-
export * from "./functions/pressurePlate";
|
|
94
|
-
export * from "./functions/projectiles";
|
|
95
|
-
export * from "./functions/random";
|
|
96
|
-
export * from "./functions/readOnly";
|
|
97
|
-
export * from "./functions/revive";
|
|
98
|
-
export * from "./functions/rng";
|
|
99
|
-
export * from "./functions/rockAlt";
|
|
100
|
-
export * from "./functions/roomData";
|
|
101
|
-
export * from "./functions/roomGrid";
|
|
102
|
-
export * from "./functions/rooms";
|
|
103
|
-
export * from "./functions/roomShape";
|
|
104
|
-
export * from "./functions/roomShapeWalls";
|
|
105
|
-
export * from "./functions/roomTransition";
|
|
106
|
-
export * from "./functions/run";
|
|
107
|
-
export * from "./functions/seeds";
|
|
108
|
-
export * from "./functions/serialization";
|
|
109
|
-
export * from "./functions/set";
|
|
110
|
-
export * from "./functions/slots";
|
|
111
|
-
export * from "./functions/sort";
|
|
112
|
-
export * from "./functions/sound";
|
|
113
|
-
export * from "./functions/spawnCollectible";
|
|
114
|
-
export * from "./functions/sprites";
|
|
115
|
-
export * from "./functions/stage";
|
|
116
|
-
export * from "./functions/stats";
|
|
117
|
-
export * from "./functions/string";
|
|
118
|
-
export * from "./functions/table";
|
|
119
|
-
export * from "./functions/tears";
|
|
120
|
-
export * from "./functions/transformations";
|
|
121
|
-
export * from "./functions/trinketGive";
|
|
122
|
-
export * from "./functions/trinkets";
|
|
123
|
-
export * from "./functions/tstlClass";
|
|
124
|
-
export * from "./functions/types";
|
|
125
|
-
export * from "./functions/ui";
|
|
126
|
-
export * from "./functions/utils";
|
|
127
|
-
export * from "./functions/vector";
|
|
128
|
-
export * from "./functions/weighted";
|
|
129
|
-
export * from "./interfaces/ChargeBarSprites";
|
|
130
|
-
export * from "./interfaces/Corner";
|
|
131
|
-
export * from "./interfaces/CustomStageTSConfig";
|
|
132
|
-
export * from "./interfaces/GridEntityCustomData";
|
|
133
|
-
export * from "./interfaces/JSONRoomsFile";
|
|
134
|
-
export * from "./interfaces/PlayerHealth";
|
|
135
|
-
export * from "./interfaces/PocketItemDescription";
|
|
136
|
-
export * from "./interfaces/RoomDescription";
|
|
137
|
-
export * from "./interfaces/SaveData";
|
|
138
|
-
export * from "./interfaces/StatTypeType";
|
|
139
|
-
export * from "./interfaces/TrinketSituation";
|
|
140
|
-
export * from "./interfaces/TSTLClassMetatable";
|
|
141
|
-
export * from "./maps/cardNameToTypeMap";
|
|
142
|
-
export * from "./maps/characterNameToTypeMap";
|
|
143
|
-
export * from "./maps/pillNameToEffectMap";
|
|
144
|
-
export * from "./maps/roomNameToTypeMap";
|
|
145
|
-
export * from "./maps/transformationNameToPlayerFormMap";
|
|
146
|
-
export * from "./objects/colors";
|
|
147
|
-
export * from "./objects/kColors";
|
|
148
|
-
export * from "./types/AllButFirst";
|
|
149
|
-
export * from "./types/AllButLast";
|
|
150
|
-
export * from "./types/AnyClass";
|
|
151
|
-
export * from "./types/AnyEntity";
|
|
152
|
-
export * from "./types/AnyFunction";
|
|
153
|
-
export * from "./types/AnyGridEntity";
|
|
154
|
-
export * from "./types/ConversionHeartSubType";
|
|
155
|
-
export * from "./types/Decrement";
|
|
156
|
-
export * from "./types/EntityID";
|
|
157
|
-
export * from "./types/FunctionTuple";
|
|
158
|
-
export * from "./types/GridEntityID";
|
|
159
|
-
export * from "./types/HasFunction";
|
|
160
|
-
export * from "./types/Immutable";
|
|
161
|
-
export * from "./types/Increment";
|
|
162
|
-
export * from "./types/LowercaseKeys";
|
|
163
|
-
export * from "./types/NaturalNumbersLessThan";
|
|
164
|
-
export * from "./types/NaturalNumbersLessThanOrEqualTo";
|
|
165
|
-
export * from "./types/PickingUpItem";
|
|
166
|
-
export * from "./types/PickupIndex";
|
|
167
|
-
export * from "./types/PlayerIndex";
|
|
168
|
-
export * from "./types/PossibleStatType";
|
|
169
|
-
export * from "./types/PublicInterface";
|
|
170
|
-
export * from "./types/Range";
|
|
171
|
-
export * from "./types/ReadonlyMap";
|
|
172
|
-
export * from "./types/ReadonlySet";
|
|
173
|
-
export * from "./types/StartsWithLowercase";
|
|
174
|
-
export * from "./types/StartsWithUppercase";
|
|
175
|
-
export * from "./types/TSTLClass";
|
|
176
|
-
export * from "./types/Tuple";
|
|
177
|
-
export * from "./types/TupleToIntersection";
|
|
178
|
-
export * from "./types/TupleToUnion";
|
|
179
|
-
export * from "./types/TupleWithMaxLength";
|
|
180
|
-
export * from "./types/UnionToIntersection";
|
|
181
|
-
export * from "./types/UppercaseKeys";
|
|
182
|
-
export * from "./types/WeightedArray";
|
|
183
|
-
export * from "./types/Writable";
|
|
184
|
-
export * from "isaac-typescript-definitions";
|
|
185
|
-
//# sourceMappingURL=indexLua.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"indexLua.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/indexLua.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,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,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wB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