isaacscript-common 30.5.2 → 30.5.3
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 +59 -58
- package/dist/isaacscript-common.lua +7280 -7265
- package/dist/src/arrays/cachedEnumValues.d.ts +1 -1
- package/dist/src/arrays/cachedEnumValues.d.ts.map +1 -1
- package/dist/src/arrays/cachedEnumValues.lua +2 -2
- package/dist/src/callbackClasses.d.ts +6 -6
- package/dist/src/callbackClasses.d.ts.map +1 -1
- package/dist/src/callbackClasses.lua +30 -30
- package/dist/src/classes/callbacks/PostGridEntityCollision.d.ts +2 -0
- package/dist/src/classes/callbacks/PostGridEntityCollision.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGridEntityCustomCollision.d.ts +2 -0
- package/dist/src/classes/callbacks/PostGridEntityCustomCollision.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPurchase.d.ts +2 -0
- package/dist/src/classes/callbacks/PostPurchase.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/GridEntityCollisionDetection.d.ts +1 -1
- package/dist/src/classes/features/callbackLogic/GridEntityCollisionDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/ItemPickupDetection.d.ts +1 -1
- package/dist/src/classes/features/callbackLogic/ItemPickupDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts +1 -1
- package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/SlotRenderDetection.d.ts +1 -1
- package/dist/src/classes/features/callbackLogic/SlotRenderDetection.d.ts.map +1 -1
- package/dist/src/classes/features/other/ModdedElementSets.lua +2 -2
- package/dist/src/classes/features/other/PreventCollectibleRotation.lua +2 -2
- package/dist/src/classes/features/other/extraConsoleCommands/commands.lua +2 -2
- package/dist/src/functions/array.d.ts.map +1 -1
- package/dist/src/functions/bosses.d.ts +1 -1
- package/dist/src/functions/bosses.d.ts.map +1 -1
- package/dist/src/functions/collectibles.d.ts.map +1 -1
- package/dist/src/functions/collectibles.lua +3 -0
- package/dist/src/functions/decorators.d.ts.map +1 -1
- package/dist/src/functions/emptyRoom.lua +2 -2
- package/dist/src/functions/entities.d.ts +5 -4
- package/dist/src/functions/entities.d.ts.map +1 -1
- package/dist/src/functions/entities.lua +17 -4
- package/dist/src/functions/entitiesSpecific.d.ts +20 -20
- package/dist/src/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/src/functions/gridEntitiesSpecific.d.ts +10 -10
- package/dist/src/functions/gridEntitiesSpecific.d.ts.map +1 -1
- package/dist/src/functions/levelGrid.lua +2 -2
- package/dist/src/functions/npcs.d.ts +1 -1
- package/dist/src/functions/npcs.d.ts.map +1 -1
- package/dist/src/functions/pickups.lua +2 -2
- package/dist/src/functions/pickupsSpecific.d.ts +13 -13
- package/dist/src/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/src/functions/pills.lua +2 -2
- package/dist/src/functions/roomData.d.ts +8 -8
- package/dist/src/functions/roomData.d.ts.map +1 -1
- package/dist/src/functions/roomData.lua +6 -6
- package/dist/src/functions/roomShapeWalls.lua +3 -3
- package/dist/src/functions/serialization.d.ts.map +1 -1
- package/dist/src/functions/spawnCollectible.lua +2 -2
- package/dist/src/functions/vector.lua +1 -1
- package/dist/src/index.d.ts +5 -5
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.lua +11 -11
- package/dist/src/interfaces/RoomDescription.d.ts +1 -1
- package/dist/src/interfaces/RoomDescription.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/arrays/cachedEnumValues.ts +1 -1
- package/src/callbackClasses.ts +6 -6
- package/src/classes/features/callbackLogic/GridEntityCollisionDetection.ts +1 -1
- package/src/classes/features/callbackLogic/ItemPickupDetection.ts +2 -2
- package/src/classes/features/callbackLogic/PlayerCollectibleDetection.ts +1 -1
- package/src/classes/features/callbackLogic/SlotRenderDetection.ts +1 -1
- package/src/classes/features/other/CustomStages.ts +4 -4
- package/src/classes/features/other/CustomTrapdoors.ts +1 -1
- package/src/classes/features/other/ModdedElementSets.ts +1 -1
- package/src/classes/features/other/PreventCollectibleRotation.ts +1 -1
- package/src/classes/features/other/extraConsoleCommands/commands.ts +1 -1
- package/src/functions/array.ts +2 -0
- package/src/functions/bosses.ts +1 -1
- package/src/functions/collectibles.ts +5 -1
- package/src/functions/decorators.ts +1 -1
- package/src/functions/emptyRoom.ts +1 -1
- package/src/functions/entities.ts +22 -7
- package/src/functions/entitiesSpecific.ts +20 -20
- package/src/functions/gridEntitiesSpecific.ts +10 -10
- package/src/functions/levelGrid.ts +1 -1
- package/src/functions/npcs.ts +1 -1
- package/src/functions/pickups.ts +1 -1
- package/src/functions/pickupsSpecific.ts +17 -13
- package/src/functions/pills.ts +1 -1
- package/src/functions/roomData.ts +8 -8
- package/src/functions/roomShapeWalls.ts +1 -1
- package/src/functions/serialization.ts +1 -1
- package/src/functions/spawnCollectible.ts +1 -1
- package/src/functions/vector.ts +1 -1
- package/src/index.ts +5 -5
- package/src/interfaces/RoomDescription.ts +1 -1
- package/dist/src/indexLua.d.ts +0 -186
- package/dist/src/indexLua.d.ts.map +0 -1
- package/dist/src/indexLua.lua +0 -1114
|
@@ -17,7 +17,7 @@ import { BombVariant, EffectVariant, EntityType, FamiliarVariant, KnifeVariant,
|
|
|
17
17
|
* @param subType Optional. If specified, will only get the bombs that match the sub-type. Default
|
|
18
18
|
* is -1, which matches every sub-type.
|
|
19
19
|
*/
|
|
20
|
-
export declare function getBombs(bombVariant?: BombVariant, subType?: number): EntityBomb[];
|
|
20
|
+
export declare function getBombs(bombVariant?: BombVariant | -1, subType?: number): EntityBomb[];
|
|
21
21
|
/**
|
|
22
22
|
* Helper function to get all of the effects in the room.
|
|
23
23
|
*
|
|
@@ -35,7 +35,7 @@ export declare function getBombs(bombVariant?: BombVariant, subType?: number): E
|
|
|
35
35
|
* @param subType Optional. If specified, will only get the effects that match the sub-type. Default
|
|
36
36
|
* is -1, which matches every sub-type.
|
|
37
37
|
*/
|
|
38
|
-
export declare function getEffects(effectVariant?: EffectVariant, subType?: number): EntityEffect[];
|
|
38
|
+
export declare function getEffects(effectVariant?: EffectVariant | -1, subType?: number): EntityEffect[];
|
|
39
39
|
/**
|
|
40
40
|
* Helper function to get all of the familiars in the room.
|
|
41
41
|
*
|
|
@@ -53,7 +53,7 @@ export declare function getEffects(effectVariant?: EffectVariant, subType?: numb
|
|
|
53
53
|
* @param subType Optional. If specified, will only get the familiars that match the sub-type.
|
|
54
54
|
* Default is -1, which matches every sub-type.
|
|
55
55
|
*/
|
|
56
|
-
export declare function getFamiliars(familiarVariant?: FamiliarVariant, subType?: number): EntityFamiliar[];
|
|
56
|
+
export declare function getFamiliars(familiarVariant?: FamiliarVariant | -1, subType?: number): EntityFamiliar[];
|
|
57
57
|
/**
|
|
58
58
|
* Helper function to get all of the knives in the room.
|
|
59
59
|
*
|
|
@@ -71,7 +71,7 @@ export declare function getFamiliars(familiarVariant?: FamiliarVariant, subType?
|
|
|
71
71
|
* @param subType Optional. If specified, will only get the knives that match the sub-type. Default
|
|
72
72
|
* is -1, which matches every sub-type.
|
|
73
73
|
*/
|
|
74
|
-
export declare function getKnives(knifeVariant?: KnifeVariant, subType?: number): EntityKnife[];
|
|
74
|
+
export declare function getKnives(knifeVariant?: KnifeVariant | -1, subType?: number): EntityKnife[];
|
|
75
75
|
/**
|
|
76
76
|
* Helper function to get all of the lasers in the room.
|
|
77
77
|
*
|
|
@@ -89,7 +89,7 @@ export declare function getKnives(knifeVariant?: KnifeVariant, subType?: number)
|
|
|
89
89
|
* @param subType Optional. If specified, will only get the lasers that match the sub-type. Default
|
|
90
90
|
* is -1, which matches every sub-type.
|
|
91
91
|
*/
|
|
92
|
-
export declare function getLasers(laserVariant?: LaserVariant, subType?: number): EntityLaser[];
|
|
92
|
+
export declare function getLasers(laserVariant?: LaserVariant | -1, subType?: number): EntityLaser[];
|
|
93
93
|
/**
|
|
94
94
|
* Helper function to get all of the NPCs in the room.
|
|
95
95
|
*
|
|
@@ -103,7 +103,7 @@ export declare function getLasers(laserVariant?: LaserVariant, subType?: number)
|
|
|
103
103
|
* returned. Default is false. Will only be taken into account if the
|
|
104
104
|
* `entityType` is specified.
|
|
105
105
|
*/
|
|
106
|
-
export declare function getNPCs(entityType?: EntityType, variant?: number, subType?: number, ignoreFriendly?: boolean): EntityNPC[];
|
|
106
|
+
export declare function getNPCs(entityType?: EntityType | -1, variant?: number, subType?: number, ignoreFriendly?: boolean): EntityNPC[];
|
|
107
107
|
/**
|
|
108
108
|
* Helper function to get all of the pickups in the room.
|
|
109
109
|
*
|
|
@@ -121,7 +121,7 @@ export declare function getNPCs(entityType?: EntityType, variant?: number, subTy
|
|
|
121
121
|
* @param subType Optional. If specified, will only get the pickups that match the sub-type. Default
|
|
122
122
|
* is -1, which matches every sub-type.
|
|
123
123
|
*/
|
|
124
|
-
export declare function getPickups(pickupVariant?: PickupVariant, subType?: number): EntityPickup[];
|
|
124
|
+
export declare function getPickups(pickupVariant?: PickupVariant | -1, subType?: number): EntityPickup[];
|
|
125
125
|
/**
|
|
126
126
|
* Helper function to get all of the projectiles in the room.
|
|
127
127
|
*
|
|
@@ -139,7 +139,7 @@ export declare function getPickups(pickupVariant?: PickupVariant, subType?: numb
|
|
|
139
139
|
* @param subType Optional. If specified, will only get the projectiles that match the sub-type.
|
|
140
140
|
* Default is -1, which matches every sub-type.
|
|
141
141
|
*/
|
|
142
|
-
export declare function getProjectiles(projectileVariant?: ProjectileVariant, subType?: number): EntityProjectile[];
|
|
142
|
+
export declare function getProjectiles(projectileVariant?: ProjectileVariant | -1, subType?: number): EntityProjectile[];
|
|
143
143
|
/**
|
|
144
144
|
* Helper function to get all of the slots in the room.
|
|
145
145
|
*
|
|
@@ -157,7 +157,7 @@ export declare function getProjectiles(projectileVariant?: ProjectileVariant, su
|
|
|
157
157
|
* @param subType Optional. If specified, will only get the slots that match the sub-type. Default
|
|
158
158
|
* is -1, which matches every sub-type.
|
|
159
159
|
*/
|
|
160
|
-
export declare function getSlots(slotVariant?: SlotVariant, subType?: number): EntitySlot[];
|
|
160
|
+
export declare function getSlots(slotVariant?: SlotVariant | -1, subType?: number): EntitySlot[];
|
|
161
161
|
/**
|
|
162
162
|
* Helper function to get all of the tears in the room.
|
|
163
163
|
*
|
|
@@ -175,7 +175,7 @@ export declare function getSlots(slotVariant?: SlotVariant, subType?: number): E
|
|
|
175
175
|
* @param subType Optional. If specified, will only get the tears that match the sub-type. Default
|
|
176
176
|
* is -1, which matches every sub-type.
|
|
177
177
|
*/
|
|
178
|
-
export declare function getTears(tearVariant?: TearVariant, subType?: number): EntityTear[];
|
|
178
|
+
export declare function getTears(tearVariant?: TearVariant | -1, subType?: number): EntityTear[];
|
|
179
179
|
/**
|
|
180
180
|
* Helper function to remove all of the bombs in the room. (Specifically, this refers to the
|
|
181
181
|
* `EntityBomb` class, not bomb pickups.)
|
|
@@ -187,7 +187,7 @@ export declare function getTears(tearVariant?: TearVariant, subType?: number): E
|
|
|
187
187
|
* @param cap Optional. If specified, will only remove the given amount of bombs.
|
|
188
188
|
* @returns An array of the bombs that were removed.
|
|
189
189
|
*/
|
|
190
|
-
export declare function removeAllBombs(bombVariant?: BombVariant, subType?: number, cap?: int): EntityBomb[];
|
|
190
|
+
export declare function removeAllBombs(bombVariant?: BombVariant | -1, subType?: number, cap?: int): EntityBomb[];
|
|
191
191
|
/**
|
|
192
192
|
* Helper function to remove all of the effects in the room.
|
|
193
193
|
*
|
|
@@ -198,7 +198,7 @@ export declare function removeAllBombs(bombVariant?: BombVariant, subType?: numb
|
|
|
198
198
|
* @param cap Optional. If specified, will only remove the given amount of effects.
|
|
199
199
|
* @returns An array of the effects that were removed.
|
|
200
200
|
*/
|
|
201
|
-
export declare function removeAllEffects(effectVariant?: EffectVariant, subType?: number, cap?: int): EntityEffect[];
|
|
201
|
+
export declare function removeAllEffects(effectVariant?: EffectVariant | -1, subType?: number, cap?: int): EntityEffect[];
|
|
202
202
|
/**
|
|
203
203
|
* Helper function to remove all of the familiars in the room.
|
|
204
204
|
*
|
|
@@ -209,7 +209,7 @@ export declare function removeAllEffects(effectVariant?: EffectVariant, subType?
|
|
|
209
209
|
* @param cap Optional. If specified, will only remove the given amount of familiars.
|
|
210
210
|
* @returns An array of the familiars that were removed.
|
|
211
211
|
*/
|
|
212
|
-
export declare function removeAllFamiliars(familiarVariant?: FamiliarVariant, subType?: number, cap?: int): EntityFamiliar[];
|
|
212
|
+
export declare function removeAllFamiliars(familiarVariant?: FamiliarVariant | -1, subType?: number, cap?: int): EntityFamiliar[];
|
|
213
213
|
/**
|
|
214
214
|
* Helper function to remove all of the knives in the room.
|
|
215
215
|
*
|
|
@@ -220,7 +220,7 @@ export declare function removeAllFamiliars(familiarVariant?: FamiliarVariant, su
|
|
|
220
220
|
* @param cap Optional. If specified, will only remove the given amount of knives.
|
|
221
221
|
* @returns An array of the knives that were removed.
|
|
222
222
|
*/
|
|
223
|
-
export declare function removeAllKnives(knifeVariant?: KnifeVariant, subType?: number, cap?: int): EntityKnife[];
|
|
223
|
+
export declare function removeAllKnives(knifeVariant?: KnifeVariant | -1, subType?: number, cap?: int): EntityKnife[];
|
|
224
224
|
/**
|
|
225
225
|
* Helper function to remove all of the lasers in the room.
|
|
226
226
|
*
|
|
@@ -231,7 +231,7 @@ export declare function removeAllKnives(knifeVariant?: KnifeVariant, subType?: n
|
|
|
231
231
|
* @param cap Optional. If specified, will only remove the given amount of lasers.
|
|
232
232
|
* @returns An array of the lasers that were removed.
|
|
233
233
|
*/
|
|
234
|
-
export declare function removeAllLasers(laserVariant?: LaserVariant, subType?: number, cap?: int): EntityLaser[];
|
|
234
|
+
export declare function removeAllLasers(laserVariant?: LaserVariant | -1, subType?: number, cap?: int): EntityLaser[];
|
|
235
235
|
/**
|
|
236
236
|
* Helper function to remove all of the NPCs in the room.
|
|
237
237
|
*
|
|
@@ -244,7 +244,7 @@ export declare function removeAllLasers(laserVariant?: LaserVariant, subType?: n
|
|
|
244
244
|
* @param cap Optional. If specified, will only remove the given amount of NPCs.
|
|
245
245
|
* @returns An array of the NPCs that were removed.
|
|
246
246
|
*/
|
|
247
|
-
export declare function removeAllNPCs(entityType?: EntityType, variant?: number, subType?: number, cap?: int): EntityNPC[];
|
|
247
|
+
export declare function removeAllNPCs(entityType?: EntityType | -1, variant?: number, subType?: number, cap?: int): EntityNPC[];
|
|
248
248
|
/**
|
|
249
249
|
* Helper function to remove all of the pickups in the room.
|
|
250
250
|
*
|
|
@@ -255,7 +255,7 @@ export declare function removeAllNPCs(entityType?: EntityType, variant?: number,
|
|
|
255
255
|
* @param cap Optional. If specified, will only remove the given amount of pickups.
|
|
256
256
|
* @returns An array of the pickups that were removed.
|
|
257
257
|
*/
|
|
258
|
-
export declare function removeAllPickups(pickupVariant?: PickupVariant, subType?: number, cap?: int): EntityPickup[];
|
|
258
|
+
export declare function removeAllPickups(pickupVariant?: PickupVariant | -1, subType?: number, cap?: int): EntityPickup[];
|
|
259
259
|
/**
|
|
260
260
|
* Helper function to remove all of the projectiles in the room.
|
|
261
261
|
*
|
|
@@ -266,7 +266,7 @@ export declare function removeAllPickups(pickupVariant?: PickupVariant, subType?
|
|
|
266
266
|
* @param cap Optional. If specified, will only remove the given amount of projectiles.
|
|
267
267
|
* @returns An array of the projectiles that were removed.
|
|
268
268
|
*/
|
|
269
|
-
export declare function removeAllProjectiles(projectileVariant?: ProjectileVariant, subType?: number, cap?: int): EntityProjectile[];
|
|
269
|
+
export declare function removeAllProjectiles(projectileVariant?: ProjectileVariant | -1, subType?: number, cap?: int): EntityProjectile[];
|
|
270
270
|
/**
|
|
271
271
|
* Helper function to remove all of the slots in the room.
|
|
272
272
|
*
|
|
@@ -277,7 +277,7 @@ export declare function removeAllProjectiles(projectileVariant?: ProjectileVaria
|
|
|
277
277
|
* @param cap Optional. If specified, will only remove the given amount of slots.
|
|
278
278
|
* @returns An array of the slots that were removed.
|
|
279
279
|
*/
|
|
280
|
-
export declare function removeAllSlots(slotVariant?: SlotVariant, subType?: number, cap?: int): Entity[];
|
|
280
|
+
export declare function removeAllSlots(slotVariant?: SlotVariant | -1, subType?: number, cap?: int): Entity[];
|
|
281
281
|
/**
|
|
282
282
|
* Helper function to remove all of the tears in the room.
|
|
283
283
|
*
|
|
@@ -288,7 +288,7 @@ export declare function removeAllSlots(slotVariant?: SlotVariant, subType?: numb
|
|
|
288
288
|
* @param cap Optional. If specified, will only remove the given amount of tears.
|
|
289
289
|
* @returns An array of the tears that were removed.
|
|
290
290
|
*/
|
|
291
|
-
export declare function removeAllTears(tearVariant?: TearVariant, subType?: number, cap?: int): EntityTear[];
|
|
291
|
+
export declare function removeAllTears(tearVariant?: TearVariant | -1, subType?: number, cap?: int): EntityTear[];
|
|
292
292
|
/** Helper function to spawn a `EntityType.BOMB` (4). */
|
|
293
293
|
export declare function spawnBomb(bombVariant: BombVariant, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityBomb;
|
|
294
294
|
/** Helper function to spawn a `EntityType.BOMB` (4) with a specific seed. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitiesSpecific.d.ts","sourceRoot":"","sources":["../../../src/functions/entitiesSpecific.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,aAAa,EACb,UAAU,EACV,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAItC;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,QAAQ,CACtB,WAAW,GAAE,
|
|
1
|
+
{"version":3,"file":"entitiesSpecific.d.ts","sourceRoot":"","sources":["../../../src/functions/entitiesSpecific.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,aAAa,EACb,UAAU,EACV,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,iBA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B,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,UAAU,CASZ;AAED,wDAAwD;AACxD,wBAAgB,SAAS,CACvB,WAAW,EAAE,WAAW,EACxB,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,UAAU,CAiBZ;AAED,mFAAmF;AACnF,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,WAAW,EACxB,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,UAAU,CASZ"}
|
|
@@ -6,28 +6,28 @@ import { CrawlSpaceVariant, DoorVariant, PitVariant, PoopGridEntityVariant, Pres
|
|
|
6
6
|
* @param crawlSpaceVariant Optional. If specified, will only get the crawl spaces that match the
|
|
7
7
|
* variant. Default is -1, which matches every variant.
|
|
8
8
|
*/
|
|
9
|
-
export declare function getCrawlSpaces(crawlSpaceVariant?: CrawlSpaceVariant): GridEntity[];
|
|
9
|
+
export declare function getCrawlSpaces(crawlSpaceVariant?: CrawlSpaceVariant | -1): GridEntity[];
|
|
10
10
|
/**
|
|
11
11
|
* Helper function to get all of the `GridEntityPit` in the room.
|
|
12
12
|
*
|
|
13
13
|
* @param pitVariant Optional. If specified, will only get the pits that match the variant. Default
|
|
14
14
|
* is -1, which matches every variant.
|
|
15
15
|
*/
|
|
16
|
-
export declare function getPits(pitVariant?: PitVariant): GridEntityPit[];
|
|
16
|
+
export declare function getPits(pitVariant?: PitVariant | -1): GridEntityPit[];
|
|
17
17
|
/**
|
|
18
18
|
* Helper function to get all of the `GridEntityPoop` in the room.
|
|
19
19
|
*
|
|
20
20
|
* @param poopVariant Optional. If specified, will only get the poops that match the variant.
|
|
21
21
|
* Default is -1, which matches every variant.
|
|
22
22
|
*/
|
|
23
|
-
export declare function getPoops(poopVariant?: PoopGridEntityVariant): GridEntityPoop[];
|
|
23
|
+
export declare function getPoops(poopVariant?: PoopGridEntityVariant | -1): GridEntityPoop[];
|
|
24
24
|
/**
|
|
25
25
|
* Helper function to get all of the `GridEntityPressurePlate` in the room.
|
|
26
26
|
*
|
|
27
27
|
* @param pressurePlateVariant Optional. If specified, will only get the pressure plates that match
|
|
28
28
|
* the variant. Default is -1, which matches every variant.
|
|
29
29
|
*/
|
|
30
|
-
export declare function getPressurePlates(pressurePlateVariant?: PressurePlateVariant): GridEntityPressurePlate[];
|
|
30
|
+
export declare function getPressurePlates(pressurePlateVariant?: PressurePlateVariant | -1): GridEntityPressurePlate[];
|
|
31
31
|
/**
|
|
32
32
|
* Helper function to get all of the `GridEntityRock` in the room.
|
|
33
33
|
*
|
|
@@ -56,7 +56,7 @@ export declare function getTeleporters(variant?: number): GridEntity[];
|
|
|
56
56
|
* @param trapdoorVariant Optional. If specified, will only get the trapdoors that match the
|
|
57
57
|
* variant. Default is -1, which matches every variant.
|
|
58
58
|
*/
|
|
59
|
-
export declare function getTrapdoors(trapdoorVariant?: TrapdoorVariant): GridEntity[];
|
|
59
|
+
export declare function getTrapdoors(trapdoorVariant?: TrapdoorVariant | -1): GridEntity[];
|
|
60
60
|
/**
|
|
61
61
|
* Helper function to remove all of the `GridEntityType.CRAWL_SPACE` (18) in the room.
|
|
62
62
|
*
|
|
@@ -68,7 +68,7 @@ export declare function getTrapdoors(trapdoorVariant?: TrapdoorVariant): GridEnt
|
|
|
68
68
|
* @param cap Optional. If specified, will only remove the given amount of crawl spaces.
|
|
69
69
|
* @returns The crawl spaces that were removed.
|
|
70
70
|
*/
|
|
71
|
-
export declare function removeAllCrawlSpaces(crawlSpaceVariant?: CrawlSpaceVariant, updateRoom?: boolean, cap?: int): GridEntity[];
|
|
71
|
+
export declare function removeAllCrawlSpaces(crawlSpaceVariant?: CrawlSpaceVariant | -1, updateRoom?: boolean, cap?: int): GridEntity[];
|
|
72
72
|
/**
|
|
73
73
|
* Helper function to remove all of the `GridEntityPit` in the room.
|
|
74
74
|
*
|
|
@@ -80,7 +80,7 @@ export declare function removeAllCrawlSpaces(crawlSpaceVariant?: CrawlSpaceVaria
|
|
|
80
80
|
* @param cap Optional. If specified, will only remove the given amount of pits.
|
|
81
81
|
* @returns The pits that were removed.
|
|
82
82
|
*/
|
|
83
|
-
export declare function removeAllPits(pitVariant?: PitVariant, updateRoom?: boolean, cap?: int): GridEntityPit[];
|
|
83
|
+
export declare function removeAllPits(pitVariant?: PitVariant | -1, updateRoom?: boolean, cap?: int): GridEntityPit[];
|
|
84
84
|
/**
|
|
85
85
|
* Helper function to remove all of the `GridEntityPoop` in the room.
|
|
86
86
|
*
|
|
@@ -95,7 +95,7 @@ export declare function removeAllPits(pitVariant?: PitVariant, updateRoom?: bool
|
|
|
95
95
|
* @param cap Optional. If specified, will only remove the given amount of poops.
|
|
96
96
|
* @returns The poops that were removed.
|
|
97
97
|
*/
|
|
98
|
-
export declare function removeAllPoops(poopVariant?: PoopGridEntityVariant, updateRoom?: boolean, cap?: int): GridEntityPoop[];
|
|
98
|
+
export declare function removeAllPoops(poopVariant?: PoopGridEntityVariant | -1, updateRoom?: boolean, cap?: int): GridEntityPoop[];
|
|
99
99
|
/**
|
|
100
100
|
* Helper function to remove all of the `GridEntityPressurePlate` in the room.
|
|
101
101
|
*
|
|
@@ -107,7 +107,7 @@ export declare function removeAllPoops(poopVariant?: PoopGridEntityVariant, upda
|
|
|
107
107
|
* @param cap Optional. If specified, will only remove the given amount of pressure plates.
|
|
108
108
|
* @returns The pressure plates that were removed.
|
|
109
109
|
*/
|
|
110
|
-
export declare function removeAllPressurePlates(pressurePlateVariant?: PressurePlateVariant, updateRoom?: boolean, cap?: int): GridEntityPressurePlate[];
|
|
110
|
+
export declare function removeAllPressurePlates(pressurePlateVariant?: PressurePlateVariant | -1, updateRoom?: boolean, cap?: int): GridEntityPressurePlate[];
|
|
111
111
|
/**
|
|
112
112
|
* Helper function to remove all of the `GridEntityRock` in the room.
|
|
113
113
|
*
|
|
@@ -169,7 +169,7 @@ export declare function removeAllTeleporters(variant?: number, updateRoom?: bool
|
|
|
169
169
|
* @param cap Optional. If specified, will only remove the given amount of trapdoors.
|
|
170
170
|
* @returns The trapdoors that were removed.
|
|
171
171
|
*/
|
|
172
|
-
export declare function removeAllTrapdoors(trapdoorVariant?: TrapdoorVariant, updateRoom?: boolean, cap?: int): GridEntity[];
|
|
172
|
+
export declare function removeAllTrapdoors(trapdoorVariant?: TrapdoorVariant | -1, updateRoom?: boolean, cap?: int): GridEntity[];
|
|
173
173
|
/** Helper function to spawn a `GridEntityType.CRAWL_SPACE` (18). */
|
|
174
174
|
export declare function spawnCrawlSpace(gridIndexOrPosition: int | Vector): GridEntity | undefined;
|
|
175
175
|
/** Helper function to spawn a `GridEntityType.CRAWL_SPACE` (18) with a specific variant. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gridEntitiesSpecific.d.ts","sourceRoot":"","sources":["../../../src/functions/gridEntitiesSpecific.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,WAAW,EAEX,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,WAAW,EACX,eAAe,EAChB,MAAM,8BAA8B,CAAC;AAStC;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,iBAAiB,GAAE,
|
|
1
|
+
{"version":3,"file":"gridEntitiesSpecific.d.ts","sourceRoot":"","sources":["../../../src/functions/gridEntitiesSpecific.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,WAAW,EAEX,UAAU,EACV,qBAAqB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CAgB5B;AAED,8DAA8D;AAC9D,wBAAgB,WAAW,CACzB,mBAAmB,EAAE,GAAG,GAAG,MAAM,GAChC,gBAAgB,GAAG,SAAS,CAE9B;AAED,sFAAsF;AACtF,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,GAAG,EACZ,mBAAmB,EAAE,GAAG,GAAG,MAAM,GAChC,gBAAgB,GAAG,SAAS,CAgB9B;AAED,4DAA4D;AAC5D,wBAAgB,QAAQ,CACtB,mBAAmB,EAAE,GAAG,GAAG,MAAM,GAChC,aAAa,GAAG,SAAS,CAE3B;AAED,oFAAoF;AACpF,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,GAAG,EACZ,mBAAmB,EAAE,GAAG,GAAG,MAAM,GAChC,aAAa,GAAG,SAAS,CAgB3B;AAED,mEAAmE;AACnE,wBAAgB,eAAe,CAC7B,mBAAmB,EAAE,GAAG,GAAG,MAAM,GAChC,UAAU,GAAG,SAAS,CAExB;AAED,2FAA2F;AAC3F,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,GAAG,EACZ,mBAAmB,EAAE,GAAG,GAAG,MAAM,GAChC,UAAU,GAAG,SAAS,CAMxB;AAED,iEAAiE;AACjE,wBAAgB,aAAa,CAC3B,mBAAmB,EAAE,GAAG,GAAG,MAAM,GAChC,UAAU,GAAG,SAAS,CAKxB;AAED,yFAAyF;AACzF,wBAAgB,wBAAwB,CACtC,eAAe,EAAE,eAAe,EAChC,mBAAmB,EAAE,GAAG,GAAG,MAAM,GAChC,UAAU,GAAG,SAAS,CAMxB"}
|
|
@@ -42,12 +42,12 @@ local getRoomData = ____roomData.getRoomData
|
|
|
42
42
|
local getRoomDescriptor = ____roomData.getRoomDescriptor
|
|
43
43
|
local getRoomGridIndex = ____roomData.getRoomGridIndex
|
|
44
44
|
local getRoomShape = ____roomData.getRoomShape
|
|
45
|
+
local ____roomShape = require("src.functions.roomShape")
|
|
46
|
+
local getGridIndexDelta = ____roomShape.getGridIndexDelta
|
|
45
47
|
local ____rooms = require("src.functions.rooms")
|
|
46
48
|
local getRooms = ____rooms.getRooms
|
|
47
49
|
local getRoomsInsideGrid = ____rooms.getRoomsInsideGrid
|
|
48
50
|
local isSecretRoomType = ____rooms.isSecretRoomType
|
|
49
|
-
local ____roomShape = require("src.functions.roomShape")
|
|
50
|
-
local getGridIndexDelta = ____roomShape.getGridIndexDelta
|
|
51
51
|
local ____types = require("src.functions.types")
|
|
52
52
|
local asNumber = ____types.asNumber
|
|
53
53
|
--- Helper function to get only the adjacent room grid indexes that exist (i.e. have room data).
|
|
@@ -13,7 +13,7 @@ import { EntityType } from "isaac-typescript-definitions";
|
|
|
13
13
|
* -1, which matches every sub-type.
|
|
14
14
|
* @param ignoreFriendly Optional. Default is false.
|
|
15
15
|
*/
|
|
16
|
-
export declare function getAliveNPCs(entityType?: EntityType, variant?: number, subType?: number, ignoreFriendly?: boolean): EntityNPC[];
|
|
16
|
+
export declare function getAliveNPCs(entityType?: EntityType | -1, variant?: number, subType?: number, ignoreFriendly?: boolean): EntityNPC[];
|
|
17
17
|
/**
|
|
18
18
|
* Checks for specific NPCs that have "CanShutDoors" set to true naturally by the game, but should
|
|
19
19
|
* not actually keep the doors closed (like Death's scythes).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npcs.d.ts","sourceRoot":"","sources":["../../../src/functions/npcs.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,UAAU,EASX,MAAM,8BAA8B,CAAC;AAiCtC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAC1B,UAAU,GAAE,
|
|
1
|
+
{"version":3,"file":"npcs.d.ts","sourceRoot":"","sources":["../../../src/functions/npcs.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,UAAU,EASX,MAAM,8BAA8B,CAAC;AAiCtC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAC1B,UAAU,GAAE,UAAU,GAAG,CAAC,CAAM,EAChC,OAAO,SAAK,EACZ,OAAO,SAAK,EACZ,cAAc,UAAQ,GACrB,SAAS,EAAE,CAGb;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAiC3D;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAIvE;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAMnD;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAOpE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAO3D"}
|
|
@@ -10,10 +10,10 @@ local ____redHeartSubTypesSet = require("src.sets.redHeartSubTypesSet")
|
|
|
10
10
|
local RED_HEART_SUB_TYPES_SET = ____redHeartSubTypesSet.RED_HEART_SUB_TYPES_SET
|
|
11
11
|
local ____entities = require("src.functions.entities")
|
|
12
12
|
local removeEntities = ____entities.removeEntities
|
|
13
|
-
local ____pickupsSpecific = require("src.functions.pickupsSpecific")
|
|
14
|
-
local getHearts = ____pickupsSpecific.getHearts
|
|
15
13
|
local ____pickupVariants = require("src.functions.pickupVariants")
|
|
16
14
|
local isHeart = ____pickupVariants.isHeart
|
|
15
|
+
local ____pickupsSpecific = require("src.functions.pickupsSpecific")
|
|
16
|
+
local getHearts = ____pickupsSpecific.getHearts
|
|
17
17
|
--- Helper function to get the corresponding coin amount from a `CoinSubType`. Returns 1 for modded
|
|
18
18
|
-- sub-types.
|
|
19
19
|
function ____exports.getCoinValue(self, coinSubType)
|
|
@@ -5,7 +5,7 @@ import { BatterySubType, BombSubType, CardType, CoinSubType, CollectibleType, He
|
|
|
5
5
|
* @param batterySubType Optional. If specified, will only get the batteries that match the
|
|
6
6
|
* sub-type. Default is -1, which matches every sub-type.
|
|
7
7
|
*/
|
|
8
|
-
export declare function getBatteries(batterySubType?: BatterySubType): EntityPickupBattery[];
|
|
8
|
+
export declare function getBatteries(batterySubType?: BatterySubType | -1): EntityPickupBattery[];
|
|
9
9
|
/**
|
|
10
10
|
* Helper function to get all of the bomb entities in the room. (Specifically, this refers to bomb
|
|
11
11
|
* pickups, not the `EntityBomb` class.)
|
|
@@ -13,63 +13,63 @@ export declare function getBatteries(batterySubType?: BatterySubType): EntityPic
|
|
|
13
13
|
* @param bombSubType Optional. If specified, will only get the bombs that match the sub-type.
|
|
14
14
|
* Default is -1, which matches every sub-type.
|
|
15
15
|
*/
|
|
16
|
-
export declare function getBombPickups(bombSubType?: BombSubType): EntityPickupBomb[];
|
|
16
|
+
export declare function getBombPickups(bombSubType?: BombSubType | -1): EntityPickupBomb[];
|
|
17
17
|
/**
|
|
18
18
|
* Helper function to get all of the card entities in the room.
|
|
19
19
|
*
|
|
20
20
|
* @param cardType Optional. If specified, will only get the cards that match the sub-type. Default
|
|
21
21
|
* is -1, which matches every sub-type.
|
|
22
22
|
*/
|
|
23
|
-
export declare function getCards(cardType?: CardType): EntityPickupCard[];
|
|
23
|
+
export declare function getCards(cardType?: CardType | -1): EntityPickupCard[];
|
|
24
24
|
/**
|
|
25
25
|
* Helper function to get all of the coin pickup entities in the room.
|
|
26
26
|
*
|
|
27
27
|
* @param coinSubType Optional. If specified, will only get the coins that match the sub-type.
|
|
28
28
|
* Default is -1, which matches every sub-type.
|
|
29
29
|
*/
|
|
30
|
-
export declare function getCoins(coinSubType?: CoinSubType): EntityPickupCoin[];
|
|
30
|
+
export declare function getCoins(coinSubType?: CoinSubType | -1): EntityPickupCoin[];
|
|
31
31
|
/**
|
|
32
32
|
* Helper function to get all of the collectible entities in the room.
|
|
33
33
|
*
|
|
34
34
|
* @param collectibleType Optional. If specified, will only get the collectibles that match the
|
|
35
35
|
* sub-type. Default is -1, which matches every sub-type.
|
|
36
36
|
*/
|
|
37
|
-
export declare function getCollectibles(collectibleType?: CollectibleType): EntityPickupCollectible[];
|
|
37
|
+
export declare function getCollectibles(collectibleType?: CollectibleType | -1): EntityPickupCollectible[];
|
|
38
38
|
/**
|
|
39
39
|
* Helper function to get all of the heart pickup entities in the room.
|
|
40
40
|
*
|
|
41
41
|
* @param heartSubType Optional. If specified, will only get the hearts that match the sub-type.
|
|
42
42
|
* Default is -1, which matches every sub-type.
|
|
43
43
|
*/
|
|
44
|
-
export declare function getHearts(heartSubType?: HeartSubType): EntityPickupHeart[];
|
|
44
|
+
export declare function getHearts(heartSubType?: HeartSubType | -1): EntityPickupHeart[];
|
|
45
45
|
/**
|
|
46
46
|
* Helper function to get all of the key pickup entities in the room.
|
|
47
47
|
*
|
|
48
48
|
* @param keySubType Optional. If specified, will only get the keys that match the sub-type. Default
|
|
49
49
|
* is -1, which matches every sub-type.
|
|
50
50
|
*/
|
|
51
|
-
export declare function getKeys(keySubType?: KeySubType): EntityPickupKey[];
|
|
51
|
+
export declare function getKeys(keySubType?: KeySubType | -1): EntityPickupKey[];
|
|
52
52
|
/**
|
|
53
53
|
* Helper function to get all of the pill entities in the room.
|
|
54
54
|
*
|
|
55
55
|
* @param pillColor Optional. If specified, will only get the pills that match the sub-type. Default
|
|
56
56
|
* is -1, which matches every sub-type.
|
|
57
57
|
*/
|
|
58
|
-
export declare function getPills(pillColor?: PillColor): EntityPickupPill[];
|
|
58
|
+
export declare function getPills(pillColor?: PillColor | -1): EntityPickupPill[];
|
|
59
59
|
/**
|
|
60
60
|
* Helper function to get all of the sack (i.e. grab bag) entities in the room.
|
|
61
61
|
*
|
|
62
62
|
* @param sackSubType Optional. If specified, will only get the sacks that match the sub-type.
|
|
63
63
|
* Default is -1, which matches every sub-type.
|
|
64
64
|
*/
|
|
65
|
-
export declare function getSacks(sackSubType?: SackSubType): EntityPickupSack[];
|
|
65
|
+
export declare function getSacks(sackSubType?: SackSubType | -1): EntityPickupSack[];
|
|
66
66
|
/**
|
|
67
67
|
* Helper function to get all of the trinket entities in the room.
|
|
68
68
|
*
|
|
69
69
|
* @param trinketType Optional. If specified, will only get the trinkets that match the sub-type.
|
|
70
70
|
* Default is -1, which matches every sub-type.
|
|
71
71
|
*/
|
|
72
|
-
export declare function getTrinkets(trinketType?: TrinketType): EntityPickupTrinket[];
|
|
72
|
+
export declare function getTrinkets(trinketType?: TrinketType | -1): EntityPickupTrinket[];
|
|
73
73
|
/**
|
|
74
74
|
* Helper function to remove all of the batteries in the room.
|
|
75
75
|
*
|
|
@@ -78,7 +78,7 @@ export declare function getTrinkets(trinketType?: TrinketType): EntityPickupTrin
|
|
|
78
78
|
* @param cap Optional. If specified, will only remove the given amount of cards.
|
|
79
79
|
* @returns The batteries that were removed.
|
|
80
80
|
*/
|
|
81
|
-
export declare function removeAllBatteries(batterySubType?: BatterySubType, cap?: int): EntityPickupBattery[];
|
|
81
|
+
export declare function removeAllBatteries(batterySubType?: BatterySubType | -1, cap?: int): EntityPickupBattery[];
|
|
82
82
|
/**
|
|
83
83
|
* Helper function to remove all of the bomb pickups in the room. (Specifically, this refers to bomb
|
|
84
84
|
* pickups, not the `EntityBomb` class.)
|
|
@@ -88,7 +88,7 @@ export declare function removeAllBatteries(batterySubType?: BatterySubType, cap?
|
|
|
88
88
|
* @param cap Optional. If specified, will only remove the given amount of bombs.
|
|
89
89
|
* @returns The bombs that were removed.
|
|
90
90
|
*/
|
|
91
|
-
export declare function removeAllBombPickups(bombSubType?: BombSubType, cap?: int): EntityPickupBomb[];
|
|
91
|
+
export declare function removeAllBombPickups(bombSubType?: BombSubType | -1, cap?: int): EntityPickupBomb[];
|
|
92
92
|
/**
|
|
93
93
|
* Helper function to remove all of the cards in the room.
|
|
94
94
|
*
|
|
@@ -97,7 +97,7 @@ export declare function removeAllBombPickups(bombSubType?: BombSubType, cap?: in
|
|
|
97
97
|
* @param cap Optional. If specified, will only remove the given amount of cards.
|
|
98
98
|
* @returns The cards that were removed.
|
|
99
99
|
*/
|
|
100
|
-
export declare function removeAllCards(cardType?: CardType, cap?: int): EntityPickupCard[];
|
|
100
|
+
export declare function removeAllCards(cardType?: CardType | -1, cap?: int): EntityPickupCard[];
|
|
101
101
|
/**
|
|
102
102
|
* Helper function to remove all of the coins in the room.
|
|
103
103
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pickupsSpecific.d.ts","sourceRoot":"","sources":["../../../src/functions/pickupsSpecific.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,QAAQ,EACR,WAAW,EACX,eAAe,EACf,YAAY,EACZ,UAAU,EAEV,SAAS,EACT,WAAW,EACX,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAItC;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,cAAc,GAAE,
|
|
1
|
+
{"version":3,"file":"pickupsSpecific.d.ts","sourceRoot":"","sources":["../../../src/functions/pickupsSpecific.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,WAAW,EACX,QAAQ,EACR,WAAW,EACX,eAAe,EACf,YAAY,EACZ,UAAU,EAEV,SAAS,EACT,WAAW,EACX,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAItC;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,cAAc,GAAE,cAAc,GAAG,CAAC,CAAM,GACvC,mBAAmB,EAAE,CAKvB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,WAAW,GAAE,WAAW,GAAG,CAAC,CAAM,GACjC,gBAAgB,EAAE,CAEpB;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,GAAE,QAAQ,GAAG,CAAC,CAAM,GAAG,gBAAgB,EAAE,CAEzE;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CACtB,WAAW,GAAE,WAAW,GAAG,CAAC,CAAM,GACjC,gBAAgB,EAAE,CAEpB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,eAAe,GAAE,eAAe,GAAG,CAAC,CAAM,GACzC,uBAAuB,EAAE,CAK3B;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,YAA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CAQlB;AAED,iGAAiG;AACjG,wBAAgB,SAAS,CACvB,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,EACvC,SAAS,GAAE,IAAI,GAAG,GAAG,GAAG,SAAqB,GAC5C,gBAAgB,CASlB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,SAAS,EAAE,IAAI,GAAG,GAAG,EACrB,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,GACtC,gBAAgB,CAQlB;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,EACvC,SAAS,GAAE,IAAI,GAAG,GAAG,GAAG,SAAqB,GAC5C,mBAAmB,CASrB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,SAAS,EAAE,IAAI,GAAG,GAAG,EACrB,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,GACtC,mBAAmB,CAQrB"}
|
|
@@ -14,10 +14,10 @@ local FIRST_PILL_EFFECT = ____constantsFirstLast.FIRST_PILL_EFFECT
|
|
|
14
14
|
local LAST_HORSE_PILL_COLOR = ____constantsFirstLast.LAST_HORSE_PILL_COLOR
|
|
15
15
|
local LAST_NORMAL_PILL_COLOR = ____constantsFirstLast.LAST_NORMAL_PILL_COLOR
|
|
16
16
|
local LAST_VANILLA_PILL_EFFECT = ____constantsFirstLast.LAST_VANILLA_PILL_EFFECT
|
|
17
|
-
local ____falsePHDPillConversions = require("src.maps.falsePHDPillConversions")
|
|
18
|
-
local FALSE_PHD_PILL_CONVERSIONS = ____falsePHDPillConversions.FALSE_PHD_PILL_CONVERSIONS
|
|
19
17
|
local ____PHDPillConversions = require("src.maps.PHDPillConversions")
|
|
20
18
|
local PHD_PILL_CONVERSIONS = ____PHDPillConversions.PHD_PILL_CONVERSIONS
|
|
19
|
+
local ____falsePHDPillConversions = require("src.maps.falsePHDPillConversions")
|
|
20
|
+
local FALSE_PHD_PILL_CONVERSIONS = ____falsePHDPillConversions.FALSE_PHD_PILL_CONVERSIONS
|
|
21
21
|
local ____pillEffectClasses = require("src.objects.pillEffectClasses")
|
|
22
22
|
local DEFAULT_PILL_EFFECT_CLASS = ____pillEffectClasses.DEFAULT_PILL_EFFECT_CLASS
|
|
23
23
|
local PILL_EFFECT_CLASSES = ____pillEffectClasses.PILL_EFFECT_CLASSES
|
|
@@ -53,14 +53,14 @@ export declare function getRoomListIndex(roomGridIndex?: int): int;
|
|
|
53
53
|
* Helper function to get the name of the room as it appears in the STB/XML data.
|
|
54
54
|
*
|
|
55
55
|
* @param roomGridIndex Optional. Default is the current room index.
|
|
56
|
-
* @returns The room name. Returns "Unknown" if the
|
|
56
|
+
* @returns The room name. Returns "Unknown" if the room data was not found.
|
|
57
57
|
*/
|
|
58
58
|
export declare function getRoomName(roomGridIndex?: int): string;
|
|
59
59
|
/**
|
|
60
60
|
* Helper function to get the name of the room as it appears in the STB/XML data.
|
|
61
61
|
*
|
|
62
62
|
* @param roomGridIndex Optional. Default is the current room index.
|
|
63
|
-
* @returns The room name. Returns "Unknown"
|
|
63
|
+
* @returns The room name. Returns "Unknown"if the room data was not found.
|
|
64
64
|
*/
|
|
65
65
|
export declare function getRoomShape(roomGridIndex?: int): RoomShape | undefined;
|
|
66
66
|
/**
|
|
@@ -69,9 +69,9 @@ export declare function getRoomShape(roomGridIndex?: int): RoomShape | undefined
|
|
|
69
69
|
* would have a stage ID of 7.
|
|
70
70
|
*
|
|
71
71
|
* @param roomGridIndex Optional. Default is the current room index.
|
|
72
|
-
* @returns The room stage ID. Returns -1 if the
|
|
72
|
+
* @returns The room stage ID. Returns -1 if the room data was not found.
|
|
73
73
|
*/
|
|
74
|
-
export declare function getRoomStageID(roomGridIndex?: int): StageID;
|
|
74
|
+
export declare function getRoomStageID(roomGridIndex?: int): StageID | -1;
|
|
75
75
|
/**
|
|
76
76
|
* Helper function to get the sub-type for a room from the XML/STB data. The room sub-type will
|
|
77
77
|
* correspond to different things depending on what XML/STB file it draws from. For example, in the
|
|
@@ -79,23 +79,23 @@ export declare function getRoomStageID(roomGridIndex?: int): StageID;
|
|
|
79
79
|
* Room and a sub-type of 1 will correspond to an Angel Room shop for The Stairway.
|
|
80
80
|
*
|
|
81
81
|
* @param roomGridIndex Optional. Default is the current room index.
|
|
82
|
-
* @returns The room sub-type. Returns -1 if the
|
|
82
|
+
* @returns The room sub-type. Returns -1 if the room data was not found.
|
|
83
83
|
*/
|
|
84
84
|
export declare function getRoomSubType(roomGridIndex?: int): int;
|
|
85
85
|
/**
|
|
86
86
|
* Helper function for getting the type of the room with the given grid index.
|
|
87
87
|
*
|
|
88
88
|
* @param roomGridIndex Optional. Default is the current room index.
|
|
89
|
-
* @returns The room data type. Returns -1 if the
|
|
89
|
+
* @returns The room data type. Returns -1 if the room data was not found.
|
|
90
90
|
*/
|
|
91
|
-
export declare function getRoomType(roomGridIndex?: int): RoomType;
|
|
91
|
+
export declare function getRoomType(roomGridIndex?: int): RoomType | -1;
|
|
92
92
|
/**
|
|
93
93
|
* Helper function to get the variant for a room from the XML/STB data. You can think of a room
|
|
94
94
|
* variant as its identifier. For example, to go to Basement room #123, you would use a console
|
|
95
95
|
* command of `goto d.123` while on the Basement.
|
|
96
96
|
*
|
|
97
97
|
* @param roomGridIndex Optional. Default is the current room index.
|
|
98
|
-
* @returns The room variant. Returns -1 if the
|
|
98
|
+
* @returns The room variant. Returns -1 if the room data was not found.
|
|
99
99
|
*/
|
|
100
100
|
export declare function getRoomVariant(roomGridIndex?: int): int;
|
|
101
101
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roomData.d.ts","sourceRoot":"","sources":["../../../src/functions/roomData.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,OAAO,EACR,MAAM,8BAA8B,CAAC;AAMtC;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,QAAQ,CAAC,CAgBtE;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,UAAU,GAAG,SAAS,CAGvE;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,cAAc,CAQrE;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,QAAQ,CAAC,cAAc,CAAC,CAGpE;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gBAAgB,IAAI,GAAG,CAatC;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,CAGzD;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,MAAM,CAGvD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,SAAS,GAAG,SAAS,CAGvE;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"roomData.d.ts","sourceRoot":"","sources":["../../../src/functions/roomData.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,OAAO,EACR,MAAM,8BAA8B,CAAC;AAMtC;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,CAAC,EAA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