isaacscript-common 29.2.0 → 29.4.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.
@@ -4669,11 +4669,13 @@ export declare function getCollectibleDevilHeartPrice(collectibleOrCollectibleTy
4669
4669
  * Helper function to get the path to a collectible PNG file. Returns the path to the question mark
4670
4670
  * sprite (i.e. from Curse of the Blind) if the provided collectible type was not valid.
4671
4671
  *
4672
+ * If you intentionally want the path to the question mark sprite, pass -1 as the collectible type.
4673
+ *
4672
4674
  * Note that this does not return the file name, but the full path to the collectible's PNG file.
4673
4675
  * The function is named "GfxFilename" to correspond to the associated `ItemConfigItem.GfxFileName`
4674
4676
  * field.
4675
4677
  */
4676
- export declare function getCollectibleGfxFilename(collectibleOrCollectibleType: EntityPickup | CollectibleType): string;
4678
+ export declare function getCollectibleGfxFilename(collectibleOrCollectibleType: EntityPickup | CollectibleType | -1): string;
4677
4679
 
4678
4680
  /**
4679
4681
  * Mods may have to keep track of data relating to a collectible. Finding an index for these kinds
@@ -7157,6 +7159,15 @@ export declare function hasCollectibleInActiveSlot(player: EntityPlayer, collect
7157
7159
 
7158
7160
  export declare function hasCurse(curse: LevelCurse): boolean;
7159
7161
 
7162
+ /**
7163
+ * Helper function to check if the current room has one or more doors that lead to the given room
7164
+ * type.
7165
+ *
7166
+ * This function is variadic, meaning that you can supply as many door types as you want to check
7167
+ * for. This function will return true if one or more room types match.
7168
+ */
7169
+ export declare function hasDoorType(...roomTypes: RoomType[]): boolean;
7170
+
7160
7171
  /**
7161
7172
  * Helper function to determine if a particular bit flag is set to true.
7162
7173
  *
@@ -12757,8 +12768,10 @@ export declare function newChargeBarSprites(maxCharges: int): ChargeBarSprites;
12757
12768
  /**
12758
12769
  * Helper function to generate a new sprite based on a collectible. If the provided collectible type
12759
12770
  * is invalid, a sprite with a Curse of the Blind question mark will be returned.
12771
+ *
12772
+ * If you intentionally want a question mark sprite, pass -1 as the collectible type.
12760
12773
  */
12761
- export declare function newCollectibleSprite(collectibleType: CollectibleType): Sprite;
12774
+ export declare function newCollectibleSprite(collectibleType: CollectibleType | -1): Sprite;
12762
12775
 
12763
12776
  export declare function newPickingUpItem(): PickingUpItem;
12764
12777
 
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 29.2.0
3
+ isaacscript-common 29.4.0
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -21049,6 +21049,7 @@ local __TS__New = ____lualib.__TS__New
21049
21049
  local __TS__Iterator = ____lualib.__TS__Iterator
21050
21050
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
21051
21051
  local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
21052
+ local __TS__ArraySome = ____lualib.__TS__ArraySome
21052
21053
  local ____exports = {}
21053
21054
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
21054
21055
  local DoorSlot = ____isaac_2Dtypescript_2Ddefinitions.DoorSlot
@@ -21272,6 +21273,18 @@ function ____exports.getUnusedDoorSlots(self)
21272
21273
  function(____, doorSlot) return doorSlot ~= DoorSlot.NO_DOOR_SLOT and room:IsDoorSlotAllowed(doorSlot) and room:GetDoor(doorSlot) == nil end
21273
21274
  )
21274
21275
  end
21276
+ function ____exports.hasDoorType(self, ...)
21277
+ local roomTypes = {...}
21278
+ local doors = ____exports.getDoors(nil)
21279
+ local doorsOfThisRoomType = __TS__ArrayFilter(
21280
+ doors,
21281
+ function(____, door) return __TS__ArraySome(
21282
+ roomTypes,
21283
+ function(____, roomType) return door:IsRoomType(roomType) end
21284
+ ) end
21285
+ )
21286
+ return #doorsOfThisRoomType > 0
21287
+ end
21275
21288
  function ____exports.hasUnusedDoorSlot(self)
21276
21289
  local unusedDoorSlots = ____exports.getUnusedDoorSlots(nil)
21277
21290
  return #unusedDoorSlots > 0
@@ -31,11 +31,13 @@ export declare function getCollectibleDevilHeartPrice(collectibleOrCollectibleTy
31
31
  * Helper function to get the path to a collectible PNG file. Returns the path to the question mark
32
32
  * sprite (i.e. from Curse of the Blind) if the provided collectible type was not valid.
33
33
  *
34
+ * If you intentionally want the path to the question mark sprite, pass -1 as the collectible type.
35
+ *
34
36
  * Note that this does not return the file name, but the full path to the collectible's PNG file.
35
37
  * The function is named "GfxFilename" to correspond to the associated `ItemConfigItem.GfxFileName`
36
38
  * field.
37
39
  */
38
- export declare function getCollectibleGfxFilename(collectibleOrCollectibleType: EntityPickup | CollectibleType): string;
40
+ export declare function getCollectibleGfxFilename(collectibleOrCollectibleType: EntityPickup | CollectibleType | -1): string;
39
41
  /**
40
42
  * Mods may have to keep track of data relating to a collectible. Finding an index for these kinds
41
43
  * of data structures is difficult, since collectibles are respawned every time a player re-enters a
@@ -183,8 +185,10 @@ export declare function isVanillaCollectibleType(collectibleType: CollectibleTyp
183
185
  /**
184
186
  * Helper function to generate a new sprite based on a collectible. If the provided collectible type
185
187
  * is invalid, a sprite with a Curse of the Blind question mark will be returned.
188
+ *
189
+ * If you intentionally want a question mark sprite, pass -1 as the collectible type.
186
190
  */
187
- export declare function newCollectibleSprite(collectibleType: CollectibleType): Sprite;
191
+ export declare function newCollectibleSprite(collectibleType: CollectibleType | -1): Sprite;
188
192
  /**
189
193
  * Helper function to put a message in the log.txt file to let the Rebirth Item Tracker know that it
190
194
  * should remove an item.
@@ -1 +1 @@
1
- {"version":3,"file":"collectibles.d.ts","sourceRoot":"","sources":["../../../src/functions/collectibles.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EAEvB,eAAe,EAEf,oBAAoB,EACpB,aAAa,EAEb,QAAQ,EACR,WAAW,EAIZ,MAAM,8BAA8B,CAAC;AAgBtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AA4B7D,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,YAAY,GAAG,IAAI,CAStE;AAED,iGAAiG;AACjG,wBAAgB,uBAAuB,CACrC,4BA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;;GAWG;AACH,wBAAgB,gCAAgC,CAC9C,eAAe,EAAE,eAAe,GAC/B,IAAI,CAQN;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,WAAW,EAAE,YAAY,GAAG,IAAI,CAS5E;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,YAAY,GAAG,IAAI,CASnE;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,YAAY,GAAG,IAAI,CAUnE;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,YAAY,GAAG,IAAI,CAuBtE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,YAAY,EACzB,uBAAuB,EAAE,uBAAuB,GAC/C,IAAI,CAWN;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,YAAY,EACzB,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,IAAI,CAqBN;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,YAAY,EACzB,kBAAkB,EAAE,eAAe,GAClC,IAAI,CA2BN;AAED;;;GAGG;AACH,wBAAgB,qCAAqC,IAAI,IAAI,CAK5D"}
1
+ {"version":3,"file":"collectibles.d.ts","sourceRoot":"","sources":["../../../src/functions/collectibles.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EAEvB,eAAe,EAEf,oBAAoB,EACpB,aAAa,EAEb,QAAQ,EACR,WAAW,EAIZ,MAAM,8BAA8B,CAAC;AAgBtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AA4B7D,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,YAAY,GAAG,IAAI,CAStE;AAED,iGAAiG;AACjG,wBAAgB,uBAAuB,CACrC,4BAA4B,EAAE,YAAY,GAAG,eAAe,EAC5D,SAAS,EAAE,SAAS,GACnB,OAAO,CAYT;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C,eAAe,EAAE,eAAe,GAC/B,IAAI,CAQN;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,WAAW,EAAE,YAAY,GAAG,IAAI,CAS5E;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,YAAY,GAAG,IAAI,CASnE;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,YAAY,GAAG,IAAI,CAUnE;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,YAAY,GAAG,IAAI,CAuBtE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,YAAY,EACzB,uBAAuB,EAAE,uBAAuB,GAC/C,IAAI,CAWN;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,YAAY,EACzB,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,IAAI,CAqBN;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,YAAY,EACzB,kBAAkB,EAAE,eAAe,GAClC,IAAI,CA2BN;AAED;;;GAGG;AACH,wBAAgB,qCAAqC,IAAI,IAAI,CAK5D"}
@@ -223,6 +223,8 @@ end
223
223
  --- Helper function to get the path to a collectible PNG file. Returns the path to the question mark
224
224
  -- sprite (i.e. from Curse of the Blind) if the provided collectible type was not valid.
225
225
  --
226
+ -- If you intentionally want the path to the question mark sprite, pass -1 as the collectible type.
227
+ --
226
228
  -- Note that this does not return the file name, but the full path to the collectible's PNG file.
227
229
  -- The function is named "GfxFilename" to correspond to the associated `ItemConfigItem.GfxFileName`
228
230
  -- field.
@@ -457,6 +459,8 @@ function ____exports.isValidCollectibleType(self, collectibleType)
457
459
  end
458
460
  --- Helper function to generate a new sprite based on a collectible. If the provided collectible type
459
461
  -- is invalid, a sprite with a Curse of the Blind question mark will be returned.
462
+ --
463
+ -- If you intentionally want a question mark sprite, pass -1 as the collectible type.
460
464
  function ____exports.newCollectibleSprite(self, collectibleType)
461
465
  local sprite = Sprite()
462
466
  sprite:Load(COLLECTIBLE_ANM2_PATH, false)
@@ -93,6 +93,14 @@ export declare function getRoomShapeDoorSlotCoordinates(roomShape: RoomShape, do
93
93
  * doors.
94
94
  */
95
95
  export declare function getUnusedDoorSlots(): DoorSlot[];
96
+ /**
97
+ * Helper function to check if the current room has one or more doors that lead to the given room
98
+ * type.
99
+ *
100
+ * This function is variadic, meaning that you can supply as many door types as you want to check
101
+ * for. This function will return true if one or more room types match.
102
+ */
103
+ export declare function hasDoorType(...roomTypes: RoomType[]): boolean;
96
104
  /**
97
105
  * Helper function to check if the current room has one or more open door slots that can be used to
98
106
  * make custom doors.
@@ -1 +1 @@
1
- {"version":3,"file":"doors.d.ts","sourceRoot":"","sources":["../../../src/functions/doors.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EACR,YAAY,EAKZ,SAAS,EACT,QAAQ,EACT,MAAM,8BAA8B,CAAC;AAuBtC,wBAAgB,aAAa,IAAI,IAAI,CAIpC;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,CAKxD;AAED,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,YAAY,GAAG,QAAQ,CAG3E;AAED,wBAAgB,wBAAwB,CACtC,aAAa,EAAE,QAAQ,CAAC,YAAY,CAAC,GACpC,QAAQ,EAAE,CAWZ;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAEjE;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,GAAG,YAAY,CAEvE;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EACL,QAAQ,EAAE,GACV,SAAS,QAAQ,EAAE,GACnB,GAAG,CAAC,QAAQ,CAAC,GACb,WAAW,CAAC,QAAQ,CAAC,GACxB,QAAQ,CAAC,YAAY,CAAC,CASxB;AAED,wBAAgB,gB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E,cAAc,GAAG,IAAI,CAKvD;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,GAAG,CAK5D;AAED,+CAA+C;AAC/C,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,CAGrD;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,KAAK,EAAE,cAAc,EAAE,GAAG,IAAI,CAI5D"}
@@ -7,6 +7,7 @@ local __TS__New = ____lualib.__TS__New
7
7
  local __TS__Iterator = ____lualib.__TS__Iterator
8
8
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
9
9
  local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
10
+ local __TS__ArraySome = ____lualib.__TS__ArraySome
10
11
  local ____exports = {}
11
12
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
12
13
  local DoorSlot = ____isaac_2Dtypescript_2Ddefinitions.DoorSlot
@@ -288,6 +289,23 @@ function ____exports.getUnusedDoorSlots(self)
288
289
  function(____, doorSlot) return doorSlot ~= DoorSlot.NO_DOOR_SLOT and room:IsDoorSlotAllowed(doorSlot) and room:GetDoor(doorSlot) == nil end
289
290
  )
290
291
  end
292
+ --- Helper function to check if the current room has one or more doors that lead to the given room
293
+ -- type.
294
+ --
295
+ -- This function is variadic, meaning that you can supply as many door types as you want to check
296
+ -- for. This function will return true if one or more room types match.
297
+ function ____exports.hasDoorType(self, ...)
298
+ local roomTypes = {...}
299
+ local doors = ____exports.getDoors(nil)
300
+ local doorsOfThisRoomType = __TS__ArrayFilter(
301
+ doors,
302
+ function(____, door) return __TS__ArraySome(
303
+ roomTypes,
304
+ function(____, roomType) return door:IsRoomType(roomType) end
305
+ ) end
306
+ )
307
+ return #doorsOfThisRoomType > 0
308
+ end
291
309
  --- Helper function to check if the current room has one or more open door slots that can be used to
292
310
  -- make custom doors.
293
311
  function ____exports.hasUnusedDoorSlot(self)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "29.2.0",
3
+ "version": "29.4.0",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -229,12 +229,14 @@ export function getCollectibleDevilHeartPrice(
229
229
  * Helper function to get the path to a collectible PNG file. Returns the path to the question mark
230
230
  * sprite (i.e. from Curse of the Blind) if the provided collectible type was not valid.
231
231
  *
232
+ * If you intentionally want the path to the question mark sprite, pass -1 as the collectible type.
233
+ *
232
234
  * Note that this does not return the file name, but the full path to the collectible's PNG file.
233
235
  * The function is named "GfxFilename" to correspond to the associated `ItemConfigItem.GfxFileName`
234
236
  * field.
235
237
  */
236
238
  export function getCollectibleGfxFilename(
237
- collectibleOrCollectibleType: EntityPickup | CollectibleType,
239
+ collectibleOrCollectibleType: EntityPickup | CollectibleType | -1,
238
240
  ): string {
239
241
  const collectibleType = getCollectibleTypeFromArg(
240
242
  collectibleOrCollectibleType,
@@ -613,8 +615,12 @@ export function isVanillaCollectibleType(
613
615
  /**
614
616
  * Helper function to generate a new sprite based on a collectible. If the provided collectible type
615
617
  * is invalid, a sprite with a Curse of the Blind question mark will be returned.
618
+ *
619
+ * If you intentionally want a question mark sprite, pass -1 as the collectible type.
616
620
  */
617
- export function newCollectibleSprite(collectibleType: CollectibleType): Sprite {
621
+ export function newCollectibleSprite(
622
+ collectibleType: CollectibleType | -1,
623
+ ): Sprite {
618
624
  const sprite = Sprite();
619
625
  sprite.Load(COLLECTIBLE_ANM2_PATH, false);
620
626
 
@@ -842,7 +848,7 @@ export function setCollectiblesRerolledForItemTracker(): void {
842
848
  }
843
849
 
844
850
  function getCollectibleTypeFromArg(
845
- collectibleOrCollectibleType: EntityPickup | CollectibleType,
851
+ collectibleOrCollectibleType: EntityPickup | CollectibleType | -1,
846
852
  functionName: string,
847
853
  ): CollectibleType {
848
854
  if (isNumber(collectibleOrCollectibleType)) {
@@ -304,6 +304,21 @@ export function getUnusedDoorSlots(): DoorSlot[] {
304
304
  );
305
305
  }
306
306
 
307
+ /**
308
+ * Helper function to check if the current room has one or more doors that lead to the given room
309
+ * type.
310
+ *
311
+ * This function is variadic, meaning that you can supply as many door types as you want to check
312
+ * for. This function will return true if one or more room types match.
313
+ */
314
+ export function hasDoorType(...roomTypes: RoomType[]): boolean {
315
+ const doors = getDoors();
316
+ const doorsOfThisRoomType = doors.filter((door) =>
317
+ roomTypes.some((roomType) => door.IsRoomType(roomType)),
318
+ );
319
+ return doorsOfThisRoomType.length > 0;
320
+ }
321
+
307
322
  /**
308
323
  * Helper function to check if the current room has one or more open door slots that can be used to
309
324
  * make custom doors.
@@ -1,186 +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/CollectibleIndex";
155
- export * from "./types/ConversionHeartSubType";
156
- export * from "./types/Decrement";
157
- export * from "./types/EntityID";
158
- export * from "./types/FunctionTuple";
159
- export * from "./types/GridEntityID";
160
- export * from "./types/HasFunction";
161
- export * from "./types/Immutable";
162
- export * from "./types/Increment";
163
- export * from "./types/LowercaseKeys";
164
- export * from "./types/NaturalNumbersLessThan";
165
- export * from "./types/NaturalNumbersLessThanOrEqualTo";
166
- export * from "./types/PickingUpItem";
167
- export * from "./types/PickupIndex";
168
- export * from "./types/PlayerIndex";
169
- export * from "./types/PossibleStatType";
170
- export * from "./types/PublicInterface";
171
- export * from "./types/Range";
172
- export * from "./types/ReadonlyMap";
173
- export * from "./types/ReadonlySet";
174
- export * from "./types/StartsWithLowercase";
175
- export * from "./types/StartsWithUppercase";
176
- export * from "./types/TSTLClass";
177
- export * from "./types/Tuple";
178
- export * from "./types/TupleToIntersection";
179
- export * from "./types/TupleToUnion";
180
- export * from "./types/TupleWithMaxLength";
181
- export * from "./types/UnionToIntersection";
182
- export * from "./types/UppercaseKeys";
183
- export * from "./types/WeightedArray";
184
- export * from "./types/Writable";
185
- export * from "isaac-typescript-definitions";
186
- //# 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,c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