isaacscript-common 17.2.1 → 17.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.
- package/dist/index.d.ts +67 -55
- package/dist/isaacscript-common.lua +124 -110
- package/dist/src/classes/features/other/CustomHotkeys.d.ts +4 -0
- package/dist/src/classes/features/other/CustomHotkeys.d.ts.map +1 -1
- package/dist/src/classes/features/other/SpawnCollectible.d.ts +4 -4
- package/dist/src/classes/features/other/SpawnCollectible.d.ts.map +1 -1
- package/dist/src/classes/features/other/SpawnCollectible.lua +4 -4
- package/dist/src/classes/features/other/SpawnRockAltRewards.d.ts +3 -2
- package/dist/src/classes/features/other/SpawnRockAltRewards.d.ts.map +1 -1
- package/dist/src/classes/features/other/SpawnRockAltRewards.lua +4 -1
- package/dist/src/functions/bosses.d.ts +2 -2
- package/dist/src/functions/bosses.d.ts.map +1 -1
- package/dist/src/functions/bosses.lua +5 -5
- package/dist/src/functions/entities.d.ts +5 -5
- package/dist/src/functions/entities.d.ts.map +1 -1
- package/dist/src/functions/entities.lua +10 -8
- package/dist/src/functions/entitiesSpecific.d.ts +20 -20
- package/dist/src/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/src/functions/entitiesSpecific.lua +40 -40
- package/dist/src/functions/pickupsSpecific.d.ts +18 -18
- package/dist/src/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/src/functions/pickupsSpecific.lua +36 -36
- package/dist/src/functions/players.d.ts +7 -0
- package/dist/src/functions/players.d.ts.map +1 -1
- package/dist/src/functions/players.lua +26 -13
- package/dist/src/functions/spawnCollectible.d.ts +4 -4
- package/dist/src/functions/spawnCollectible.d.ts.map +1 -1
- package/dist/src/functions/spawnCollectible.lua +6 -6
- package/package.json +2 -2
- package/src/classes/features/other/CustomHotkeys.ts +4 -0
- package/src/classes/features/other/SpawnCollectible.ts +6 -6
- package/src/classes/features/other/SpawnRockAltRewards.ts +7 -3
- package/src/functions/bosses.ts +13 -5
- package/src/functions/entities.ts +14 -8
- package/src/functions/entitiesSpecific.ts +40 -40
- package/src/functions/pickupsSpecific.ts +84 -36
- package/src/functions/players.ts +21 -0
- package/src/functions/spawnCollectible.ts +6 -6
|
@@ -20,6 +20,8 @@ export declare class CustomHotkeys extends Feature {
|
|
|
20
20
|
* This can be used to easily set up custom hotkeys to facilitate custom game features or to
|
|
21
21
|
* assist in debugging.
|
|
22
22
|
*
|
|
23
|
+
* Inputs are checked for in the `POST_RENDER` callback.
|
|
24
|
+
*
|
|
23
25
|
* This is different from the `setHotkey` function in that the keyboard activation key is not
|
|
24
26
|
* hardcoded and is instead the return value of a provided function. This is useful for situations
|
|
25
27
|
* where the key can change (like if end-users can specify a custom hotkey using Mod Config Menu).
|
|
@@ -37,6 +39,8 @@ export declare class CustomHotkeys extends Feature {
|
|
|
37
39
|
* This can be used to easily set up custom hotkeys to facilitate custom game features or to
|
|
38
40
|
* assist in debugging.
|
|
39
41
|
*
|
|
42
|
+
* Inputs are checked for in the `POST_RENDER` callback.
|
|
43
|
+
*
|
|
40
44
|
* In order to use this function, you must upgrade your mod with `ISCFeature.CUSTOM_HOTKEYS`.
|
|
41
45
|
*
|
|
42
46
|
* @param keyboard The key that you want to trigger the hotkey.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomHotkeys.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/CustomHotkeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAe,MAAM,8BAA8B,CAAC;AAIrE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,aAAc,SAAQ,OAAO;IACxC;;;OAGG;IACH,OAAO,CAAC,uBAAuB,CAAmC;IAElE;;;OAGG;IACH,OAAO,CAAC,wBAAwB,CAG5B;IAEJ,OAAO,CAAC,aAAa,CAA4C;IAYjE,OAAO,CAAC,UAAU,CAiBhB;IAEF,OAAO,CAAC,gBAAgB;IAUxB
|
|
1
|
+
{"version":3,"file":"CustomHotkeys.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/CustomHotkeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAe,MAAM,8BAA8B,CAAC;AAIrE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,aAAc,SAAQ,OAAO;IACxC;;;OAGG;IACH,OAAO,CAAC,uBAAuB,CAAmC;IAElE;;;OAGG;IACH,OAAO,CAAC,wBAAwB,CAG5B;IAEJ,OAAO,CAAC,aAAa,CAA4C;IAYjE,OAAO,CAAC,UAAU,CAiBhB;IAEF,OAAO,CAAC,gBAAgB;IAUxB;;;;;;;;;;;;;;;;;OAiBG;IAEI,oBAAoB,CACzB,UAAU,EAAE,MAAM,QAAQ,GAAG,SAAS,EACtC,WAAW,EAAE,MAAM,IAAI,GACtB,IAAI;IAUP;;;;;;;;;;;;;OAaG;IAEI,SAAS,CAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,IAAI,GAAG,IAAI;IAUnE;;;;;;;OAOG;IAEI,sBAAsB,CAAC,UAAU,EAAE,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI;IAU3E;;;;;;;OAOG;IAEI,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;CAS7C"}
|
|
@@ -16,7 +16,7 @@ export declare class SpawnCollectible extends Feature {
|
|
|
16
16
|
* In order to use this function, you must upgrade your mod with `ISCFeature.SPAWN_COLLECTIBLE`.
|
|
17
17
|
*
|
|
18
18
|
* @param collectibleType The collectible type to spawn.
|
|
19
|
-
* @param
|
|
19
|
+
* @param positionOrGridIndex The position or grid index to spawn the collectible at.
|
|
20
20
|
* @param seedOrRNG Optional. The `Seed` or `RNG` object to use. If an `RNG` object is provided,
|
|
21
21
|
* the `RNG.Next` method will be called. Default is `getRandomSeed()`.
|
|
22
22
|
* @param options Optional. Set to true to make the collectible a "There's Options" style
|
|
@@ -25,7 +25,7 @@ export declare class SpawnCollectible extends Feature {
|
|
|
25
25
|
* Tainted Keeper. Default is false.
|
|
26
26
|
* @param spawner Optional.
|
|
27
27
|
*/
|
|
28
|
-
spawnCollectible(collectibleType: CollectibleType,
|
|
28
|
+
spawnCollectible(collectibleType: CollectibleType, positionOrGridIndex: Vector | int, seedOrRNG?: Seed | RNG, options?: boolean, forceFreeItem?: boolean, spawner?: Entity): EntityPickupCollectible;
|
|
29
29
|
/**
|
|
30
30
|
* Helper function to spawn a collectible from a specific item pool.
|
|
31
31
|
*
|
|
@@ -36,7 +36,7 @@ export declare class SpawnCollectible extends Feature {
|
|
|
36
36
|
* In order to use this function, you must upgrade your mod with `ISCFeature.SPAWN_COLLECTIBLE`.
|
|
37
37
|
*
|
|
38
38
|
* @param itemPoolType The item pool to draw the collectible type from.
|
|
39
|
-
* @param
|
|
39
|
+
* @param positionOrGridIndex The position or grid index to spawn the collectible at.
|
|
40
40
|
* @param seedOrRNG Optional. The `Seed` or `RNG` object to use. If an `RNG` object is provided,
|
|
41
41
|
* the `RNG.Next` method will be called. Default is `getRandomSeed()`.
|
|
42
42
|
* @param options Optional. Set to true to make the collectible a "There's Options" style
|
|
@@ -45,6 +45,6 @@ export declare class SpawnCollectible extends Feature {
|
|
|
45
45
|
* Tainted Keeper. Default is false.
|
|
46
46
|
* @param spawner Optional.
|
|
47
47
|
*/
|
|
48
|
-
spawnCollectibleFromPool(itemPoolType: ItemPoolType,
|
|
48
|
+
spawnCollectibleFromPool(itemPoolType: ItemPoolType, positionOrGridIndex: Vector | int, seedOrRNG?: Seed | RNG, options?: boolean, forceFreeItem?: boolean, spawner?: Entity): EntityPickupCollectible;
|
|
49
49
|
}
|
|
50
50
|
//# sourceMappingURL=SpawnCollectible.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpawnCollectible.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/SpawnCollectible.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAO7E,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,qBAAa,gBAAiB,SAAQ,OAAO;IAC3C,OAAO,CAAC,0BAA0B,CAA6B;IAW/D;;;;;;;;;;;;;;;;;;;;;;OAsBG;IAEI,gBAAgB,CACrB,eAAe,EAAE,eAAe,EAChC,
|
|
1
|
+
{"version":3,"file":"SpawnCollectible.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/SpawnCollectible.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAO7E,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,qBAAa,gBAAiB,SAAQ,OAAO;IAC3C,OAAO,CAAC,0BAA0B,CAA6B;IAW/D;;;;;;;;;;;;;;;;;;;;;;OAsBG;IAEI,gBAAgB,CACrB,eAAe,EAAE,eAAe,EAChC,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,EACf,aAAa,UAAQ,EACrB,OAAO,CAAC,EAAE,MAAM,GACf,uBAAuB;IAoB1B;;;;;;;;;;;;;;;;;;OAkBG;IAEI,wBAAwB,CAC7B,YAAY,EAAE,YAAY,EAC1B,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,EACf,aAAa,UAAQ,EACrB,OAAO,CAAC,EAAE,MAAM,GACf,uBAAuB;CAa3B"}
|
|
@@ -26,7 +26,7 @@ function SpawnCollectible.prototype.____constructor(self, preventCollectibleRota
|
|
|
26
26
|
self.featuresUsed = {ISCFeature.PREVENT_COLLECTIBLE_ROTATION}
|
|
27
27
|
self.preventCollectibleRotation = preventCollectibleRotation
|
|
28
28
|
end
|
|
29
|
-
function SpawnCollectible.prototype.spawnCollectible(self, collectibleType,
|
|
29
|
+
function SpawnCollectible.prototype.spawnCollectible(self, collectibleType, positionOrGridIndex, seedOrRNG, options, forceFreeItem, spawner)
|
|
30
30
|
if seedOrRNG == nil then
|
|
31
31
|
seedOrRNG = getRandomSeed(nil)
|
|
32
32
|
end
|
|
@@ -39,7 +39,7 @@ function SpawnCollectible.prototype.spawnCollectible(self, collectibleType, posi
|
|
|
39
39
|
local collectible = spawnCollectibleUnsafe(
|
|
40
40
|
nil,
|
|
41
41
|
collectibleType,
|
|
42
|
-
|
|
42
|
+
positionOrGridIndex,
|
|
43
43
|
seedOrRNG,
|
|
44
44
|
options,
|
|
45
45
|
forceFreeItem,
|
|
@@ -50,7 +50,7 @@ function SpawnCollectible.prototype.spawnCollectible(self, collectibleType, posi
|
|
|
50
50
|
end
|
|
51
51
|
return collectible
|
|
52
52
|
end
|
|
53
|
-
function SpawnCollectible.prototype.spawnCollectibleFromPool(self, itemPoolType,
|
|
53
|
+
function SpawnCollectible.prototype.spawnCollectibleFromPool(self, itemPoolType, positionOrGridIndex, seedOrRNG, options, forceFreeItem, spawner)
|
|
54
54
|
if seedOrRNG == nil then
|
|
55
55
|
seedOrRNG = getRandomSeed(nil)
|
|
56
56
|
end
|
|
@@ -64,7 +64,7 @@ function SpawnCollectible.prototype.spawnCollectibleFromPool(self, itemPoolType,
|
|
|
64
64
|
local collectibleType = itemPool:GetCollectible(itemPoolType)
|
|
65
65
|
return self:spawnCollectible(
|
|
66
66
|
collectibleType,
|
|
67
|
-
|
|
67
|
+
positionOrGridIndex,
|
|
68
68
|
seedOrRNG,
|
|
69
69
|
options,
|
|
70
70
|
forceFreeItem,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
/// <reference types="isaac-typescript-definitions" />
|
|
3
3
|
/// <reference types="isaac-typescript-definitions" />
|
|
4
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
4
5
|
import { RockAltType } from "../../../enums/RockAltType";
|
|
5
6
|
import { Feature } from "../../private/Feature";
|
|
6
7
|
export declare class SpawnRockAltRewards extends Feature {
|
|
@@ -29,7 +30,7 @@ export declare class SpawnRockAltRewards extends Feature {
|
|
|
29
30
|
* In order to use this function, you must upgrade your mod with
|
|
30
31
|
* `ISCFeature.SPAWN_ALT_ROCK_REWARDS`.
|
|
31
32
|
*
|
|
32
|
-
* @param
|
|
33
|
+
* @param positionOrGridIndex The position or grid index to spawn the reward.
|
|
33
34
|
* @param rockAltType The type of reward to spawn. For example, `RockAltType.URN` will have a
|
|
34
35
|
* chance at spawning coins and spiders.
|
|
35
36
|
* @param seedOrRNG Optional. The `Seed` or `RNG` object to use. If an `RNG` object is provided,
|
|
@@ -37,7 +38,7 @@ export declare class SpawnRockAltRewards extends Feature {
|
|
|
37
38
|
* you should pass the `InitSeed` of the grid entity that was broken.
|
|
38
39
|
* @returns Whether or not this function spawned something.
|
|
39
40
|
*/
|
|
40
|
-
spawnRockAltReward(
|
|
41
|
+
spawnRockAltReward(positionOrGridIndex: Vector | int, rockAltType: RockAltType, seedOrRNG?: Seed | RNG): boolean;
|
|
41
42
|
/**
|
|
42
43
|
* Helper function for emulating what happens when a vanilla `GridEntityType.ROCK_ALT` grid entity
|
|
43
44
|
* breaks of `RockAltType.URN`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpawnRockAltRewards.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/SpawnRockAltRewards.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpawnRockAltRewards.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/SpawnRockAltRewards.ts"],"names":[],"mappings":";;;;AAgBA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAkBzD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAwBhD,qBAAa,mBAAoB,SAAQ,OAAO;IAC9C,OAAO,CAAC,iBAAiB,CAAoB;IAW7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IAEI,kBAAkB,CACvB,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,WAAW,EAAE,WAAW,EACxB,SAAS,GAAE,IAAI,GAAG,GAAqB,GACtC,OAAO;IAkCV;;;;;;;;OAQG;IAEI,qBAAqB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;IAwDjE;;;;;;;;OAQG;IAEI,0BAA0B,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;IA+EtE;;;;;;;;OAQG;IAEI,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;IA6DnE;;;;;;;;OAQG;IAEI,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;IAoEnE;;;;;;;;OAQG;IAEI,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;IA2E5E;;;;;;;;OAQG;IAEI,6BAA6B,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO;CAsE1E"}
|
|
@@ -47,6 +47,7 @@ local ____utils = require("src.functions.utils")
|
|
|
47
47
|
local ____repeat = ____utils["repeat"]
|
|
48
48
|
local ____vector = require("src.functions.vector")
|
|
49
49
|
local getRandomVector = ____vector.getRandomVector
|
|
50
|
+
local isVector = ____vector.isVector
|
|
50
51
|
local ____Feature = require("src.classes.private.Feature")
|
|
51
52
|
local Feature = ____Feature.Feature
|
|
52
53
|
local ROCK_ALT_CHANCES = {NOTHING = 0.68, BASIC_DROP = 0.0967, TRINKET = 0.025, COLLECTIBLE = 0.005}
|
|
@@ -66,10 +67,12 @@ function SpawnRockAltRewards.prototype.____constructor(self, itemPoolDetection)
|
|
|
66
67
|
self.featuresUsed = {ISCFeature.ITEM_POOL_DETECTION}
|
|
67
68
|
self.itemPoolDetection = itemPoolDetection
|
|
68
69
|
end
|
|
69
|
-
function SpawnRockAltRewards.prototype.spawnRockAltReward(self,
|
|
70
|
+
function SpawnRockAltRewards.prototype.spawnRockAltReward(self, positionOrGridIndex, rockAltType, seedOrRNG)
|
|
70
71
|
if seedOrRNG == nil then
|
|
71
72
|
seedOrRNG = getRandomSeed(nil)
|
|
72
73
|
end
|
|
74
|
+
local room = game:GetRoom()
|
|
75
|
+
local position = isVector(nil, positionOrGridIndex) and positionOrGridIndex or room:GetGridPosition(positionOrGridIndex)
|
|
73
76
|
local rng = isRNG(nil, seedOrRNG) and seedOrRNG or newRNG(nil, seedOrRNG)
|
|
74
77
|
repeat
|
|
75
78
|
local ____switch4 = rockAltType
|
|
@@ -71,11 +71,11 @@ export declare function isSin(npc: EntityNPC): boolean;
|
|
|
71
71
|
* Gurglings/Turdlings with 2 copies, and other multi-segment bosses with 4 segments. You can
|
|
72
72
|
* customize this via the "numSegments" argument.
|
|
73
73
|
*/
|
|
74
|
-
export declare function spawnBoss(entityType: EntityType, variant: int, subType: int,
|
|
74
|
+
export declare function spawnBoss(entityType: EntityType, variant: int, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined, numSegments?: int): EntityNPC;
|
|
75
75
|
/**
|
|
76
76
|
* Helper function to spawn a boss with a specific seed.
|
|
77
77
|
*
|
|
78
78
|
* For more information, see the documentation for the `spawnBoss` function.
|
|
79
79
|
*/
|
|
80
|
-
export declare function spawnBossWithSeed(entityType: EntityType, variant: int, subType: int,
|
|
80
|
+
export declare function spawnBossWithSeed(entityType: EntityType, variant: int, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined, numSegments?: int): EntityNPC;
|
|
81
81
|
//# sourceMappingURL=bosses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bosses.d.ts","sourceRoot":"","sources":["../../../src/functions/bosses.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAyBtC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAC5B,UAAU,GAAE,UAAe,EAC3B,OAAO,SAAK,EACZ,OAAO,SAAK,EACZ,cAAc,UAAQ,GACrB,SAAS,EAAE,CAGb;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAC7B,kBAAkB,UAAO,GACxB,WAAW,CAAC,MAAM,CAAC,CAIrB;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,GAAG,EACV,SAAS,EAAE,SAAS,GACnB,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAYjC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,SAAS,CACvB,UAAU,CAAC,EAAE,UAAU,EACvB,OAAO,CAAC,EAAE,GAAG,EACb,OAAO,CAAC,EAAE,GAAG,EACb,cAAc,UAAQ,GACrB,SAAS,EAAE,CAGb;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,GAAG,GACT,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAOjC;AAED,6FAA6F;AAC7F,wBAAgB,KAAK,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAE7C;AAED;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CACvB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,GAAG,EACZ,
|
|
1
|
+
{"version":3,"file":"bosses.d.ts","sourceRoot":"","sources":["../../../src/functions/bosses.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAyBtC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAC5B,UAAU,GAAE,UAAe,EAC3B,OAAO,SAAK,EACZ,OAAO,SAAK,EACZ,cAAc,UAAQ,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AYX"}
|
|
@@ -188,7 +188,7 @@ end
|
|
|
188
188
|
-- By default, this will spawn Chub (and his variants) with 3 segments, Lokii with 2 copies,
|
|
189
189
|
-- Gurglings/Turdlings with 2 copies, and other multi-segment bosses with 4 segments. You can
|
|
190
190
|
-- customize this via the "numSegments" argument.
|
|
191
|
-
function ____exports.spawnBoss(self, entityType, variant, subType,
|
|
191
|
+
function ____exports.spawnBoss(self, entityType, variant, subType, positionOrGridIndex, velocity, spawner, seedOrRNG, numSegments)
|
|
192
192
|
if velocity == nil then
|
|
193
193
|
velocity = VectorZero
|
|
194
194
|
end
|
|
@@ -204,7 +204,7 @@ function ____exports.spawnBoss(self, entityType, variant, subType, position, vel
|
|
|
204
204
|
entityType,
|
|
205
205
|
variant,
|
|
206
206
|
subType,
|
|
207
|
-
|
|
207
|
+
positionOrGridIndex,
|
|
208
208
|
velocity,
|
|
209
209
|
spawner,
|
|
210
210
|
seed
|
|
@@ -221,7 +221,7 @@ function ____exports.spawnBoss(self, entityType, variant, subType, position, vel
|
|
|
221
221
|
entityType,
|
|
222
222
|
variant,
|
|
223
223
|
subType,
|
|
224
|
-
|
|
224
|
+
positionOrGridIndex,
|
|
225
225
|
velocity,
|
|
226
226
|
spawner,
|
|
227
227
|
seed
|
|
@@ -234,7 +234,7 @@ end
|
|
|
234
234
|
--- Helper function to spawn a boss with a specific seed.
|
|
235
235
|
--
|
|
236
236
|
-- For more information, see the documentation for the `spawnBoss` function.
|
|
237
|
-
function ____exports.spawnBossWithSeed(self, entityType, variant, subType,
|
|
237
|
+
function ____exports.spawnBossWithSeed(self, entityType, variant, subType, positionOrGridIndex, seedOrRNG, velocity, spawner, numSegments)
|
|
238
238
|
if velocity == nil then
|
|
239
239
|
velocity = VectorZero
|
|
240
240
|
end
|
|
@@ -247,7 +247,7 @@ function ____exports.spawnBossWithSeed(self, entityType, variant, subType, posit
|
|
|
247
247
|
entityType,
|
|
248
248
|
variant,
|
|
249
249
|
subType,
|
|
250
|
-
|
|
250
|
+
positionOrGridIndex,
|
|
251
251
|
velocity,
|
|
252
252
|
spawner,
|
|
253
253
|
seed,
|
|
@@ -177,29 +177,29 @@ export declare function setEntityRandomColor(entity: Entity): void;
|
|
|
177
177
|
* @param entityType The `EntityType` of the entity to spawn.
|
|
178
178
|
* @param variant The variant of the entity to spawn.
|
|
179
179
|
* @param subType The sub-type of the entity to spawn.
|
|
180
|
-
* @param
|
|
180
|
+
* @param positionOrGridIndex The position or grid index of the entity to spawn.
|
|
181
181
|
* @param velocity Optional. The velocity of the entity to spawn. Default is `VectorZero`.
|
|
182
182
|
* @param spawner Optional. The entity that will be the `SpawnerEntity`. Default is undefined.
|
|
183
183
|
* @param seedOrRNG Optional. The seed or RNG object to use to generate the `InitSeed` of the
|
|
184
184
|
* entity. Default is undefined, which will make the entity spawn with a random
|
|
185
185
|
* seed using the `Isaac.Spawn` method.
|
|
186
186
|
*/
|
|
187
|
-
export declare function spawn(entityType: EntityType, variant: int, subType: int,
|
|
187
|
+
export declare function spawn(entityType: EntityType, variant: int, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): Entity;
|
|
188
188
|
/**
|
|
189
189
|
* Helper function to spawn the entity corresponding to an `EntityID`.
|
|
190
190
|
*
|
|
191
191
|
* @param entityID The `EntityID` of the entity to spawn.
|
|
192
|
-
* @param
|
|
192
|
+
* @param positionOrGridIndex The position or grid index of the entity to spawn.
|
|
193
193
|
* @param velocity Optional. The velocity of the entity to spawn. Default is `VectorZero`.
|
|
194
194
|
* @param spawner Optional. The entity that will be the `SpawnerEntity`. Default is undefined.
|
|
195
195
|
* @param seedOrRNG Optional. The seed or RNG object to use to generate the `InitSeed` of the
|
|
196
196
|
* entity. Default is undefined, which will make the entity spawn with a random
|
|
197
197
|
* seed using the `Isaac.Spawn` method.
|
|
198
198
|
*/
|
|
199
|
-
export declare function spawnEntityID(entityID: EntityID,
|
|
199
|
+
export declare function spawnEntityID(entityID: EntityID, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): Entity;
|
|
200
200
|
/**
|
|
201
201
|
* Helper function to spawn an entity. Use this instead of the `Game.Spawn` method if you do not
|
|
202
202
|
* need to specify the velocity or spawner.
|
|
203
203
|
*/
|
|
204
|
-
export declare function spawnWithSeed(entityType: EntityType, variant: int, subType: int,
|
|
204
|
+
export declare function spawnWithSeed(entityType: EntityType, variant: int, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): Entity;
|
|
205
205
|
//# sourceMappingURL=entities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/functions/entities.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAK1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAkB7C;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,UAAU,GAAE,UAAe,EAC3B,OAAO,SAAK,EACZ,OAAO,SAAK,EACZ,cAAc,UAAQ,GACrB,GAAG,CAcL;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,UAAU,GAAE,UAAe,EAC3B,OAAO,SAAK,EACZ,OAAO,SAAK,EACZ,cAAc,UAAQ,GACrB,OAAO,CAGT;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,SAAS,EACpD,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,CAAC,EAAE,GACZ,CAAC,GAAG,SAAS,CAaf;AAED,wFAAwF;AACxF,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,QAAQ,GACjB,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,G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I,GAAG,GAAG,GAAG,SAAqB,GAC5C,MAAM,CA4CR;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"}
|
|
@@ -420,13 +420,13 @@ end
|
|
|
420
420
|
-- @param entityType The `EntityType` of the entity to spawn.
|
|
421
421
|
-- @param variant The variant of the entity to spawn.
|
|
422
422
|
-- @param subType The sub-type of the entity to spawn.
|
|
423
|
-
-- @param
|
|
423
|
+
-- @param positionOrGridIndex The position or grid index of the entity to spawn.
|
|
424
424
|
-- @param velocity Optional. The velocity of the entity to spawn. Default is `VectorZero`.
|
|
425
425
|
-- @param spawner Optional. The entity that will be the `SpawnerEntity`. Default is undefined.
|
|
426
426
|
-- @param seedOrRNG Optional. The seed or RNG object to use to generate the `InitSeed` of the
|
|
427
427
|
-- entity. Default is undefined, which will make the entity spawn with a random
|
|
428
428
|
-- seed using the `Isaac.Spawn` method.
|
|
429
|
-
function ____exports.spawn(self, entityType, variant, subType,
|
|
429
|
+
function ____exports.spawn(self, entityType, variant, subType, positionOrGridIndex, velocity, spawner, seedOrRNG)
|
|
430
430
|
if velocity == nil then
|
|
431
431
|
velocity = VectorZero
|
|
432
432
|
end
|
|
@@ -436,7 +436,8 @@ function ____exports.spawn(self, entityType, variant, subType, position, velocit
|
|
|
436
436
|
if seedOrRNG == nil then
|
|
437
437
|
seedOrRNG = nil
|
|
438
438
|
end
|
|
439
|
-
|
|
439
|
+
local room = game:GetRoom()
|
|
440
|
+
if positionOrGridIndex == nil then
|
|
440
441
|
local entityID = ____exports.getEntityIDFromConstituents(nil, entityType, variant, subType)
|
|
441
442
|
error(("Failed to spawn entity " .. entityID) .. " since an undefined position was passed to the \"spawn\" function.")
|
|
442
443
|
end
|
|
@@ -444,6 +445,7 @@ function ____exports.spawn(self, entityType, variant, subType, position, velocit
|
|
|
444
445
|
local entityID = ____exports.getEntityIDFromConstituents(nil, entityType, variant, subType)
|
|
445
446
|
error(("Failed to spawn entity " .. entityID) .. " since an undefined velocity was passed to the \"spawn\" function.")
|
|
446
447
|
end
|
|
448
|
+
local position = isVector(nil, positionOrGridIndex) and positionOrGridIndex or room:GetGridPosition(positionOrGridIndex)
|
|
447
449
|
if seedOrRNG == nil then
|
|
448
450
|
return Isaac.Spawn(
|
|
449
451
|
entityType,
|
|
@@ -468,13 +470,13 @@ end
|
|
|
468
470
|
--- Helper function to spawn the entity corresponding to an `EntityID`.
|
|
469
471
|
--
|
|
470
472
|
-- @param entityID The `EntityID` of the entity to spawn.
|
|
471
|
-
-- @param
|
|
473
|
+
-- @param positionOrGridIndex The position or grid index of the entity to spawn.
|
|
472
474
|
-- @param velocity Optional. The velocity of the entity to spawn. Default is `VectorZero`.
|
|
473
475
|
-- @param spawner Optional. The entity that will be the `SpawnerEntity`. Default is undefined.
|
|
474
476
|
-- @param seedOrRNG Optional. The seed or RNG object to use to generate the `InitSeed` of the
|
|
475
477
|
-- entity. Default is undefined, which will make the entity spawn with a random
|
|
476
478
|
-- seed using the `Isaac.Spawn` method.
|
|
477
|
-
function ____exports.spawnEntityID(self, entityID,
|
|
479
|
+
function ____exports.spawnEntityID(self, entityID, positionOrGridIndex, velocity, spawner, seedOrRNG)
|
|
478
480
|
if velocity == nil then
|
|
479
481
|
velocity = VectorZero
|
|
480
482
|
end
|
|
@@ -490,7 +492,7 @@ function ____exports.spawnEntityID(self, entityID, position, velocity, spawner,
|
|
|
490
492
|
entityType,
|
|
491
493
|
variant,
|
|
492
494
|
subType,
|
|
493
|
-
|
|
495
|
+
positionOrGridIndex,
|
|
494
496
|
velocity,
|
|
495
497
|
spawner,
|
|
496
498
|
seedOrRNG
|
|
@@ -498,7 +500,7 @@ function ____exports.spawnEntityID(self, entityID, position, velocity, spawner,
|
|
|
498
500
|
end
|
|
499
501
|
--- Helper function to spawn an entity. Use this instead of the `Game.Spawn` method if you do not
|
|
500
502
|
-- need to specify the velocity or spawner.
|
|
501
|
-
function ____exports.spawnWithSeed(self, entityType, variant, subType,
|
|
503
|
+
function ____exports.spawnWithSeed(self, entityType, variant, subType, positionOrGridIndex, seedOrRNG, velocity, spawner)
|
|
502
504
|
if velocity == nil then
|
|
503
505
|
velocity = VectorZero
|
|
504
506
|
end
|
|
@@ -510,7 +512,7 @@ function ____exports.spawnWithSeed(self, entityType, variant, subType, position,
|
|
|
510
512
|
entityType,
|
|
511
513
|
variant,
|
|
512
514
|
subType,
|
|
513
|
-
|
|
515
|
+
positionOrGridIndex,
|
|
514
516
|
velocity,
|
|
515
517
|
spawner,
|
|
516
518
|
seedOrRNG
|
|
@@ -290,58 +290,58 @@ export declare function removeAllSlots(slotVariant?: SlotVariant, subType?: numb
|
|
|
290
290
|
*/
|
|
291
291
|
export declare function removeAllTears(tearVariant?: TearVariant, subType?: number, cap?: int): EntityTear[];
|
|
292
292
|
/** Helper function to spawn a `EntityType.BOMB` (4). */
|
|
293
|
-
export declare function spawnBomb(bombVariant: BombVariant, subType: int,
|
|
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. */
|
|
295
|
-
export declare function spawnBombWithSeed(bombVariant: BombVariant, subType: int,
|
|
295
|
+
export declare function spawnBombWithSeed(bombVariant: BombVariant, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityBomb;
|
|
296
296
|
/** Helper function to spawn a `EntityType.EFFECT` (1000). */
|
|
297
|
-
export declare function spawnEffect(effectVariant: EffectVariant, subType: int,
|
|
297
|
+
export declare function spawnEffect(effectVariant: EffectVariant, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityEffect;
|
|
298
298
|
/** Helper function to spawn a `EntityType.EFFECT` (1000) with a specific seed. */
|
|
299
|
-
export declare function spawnEffectWithSeed(effectVariant: EffectVariant, subType: int,
|
|
299
|
+
export declare function spawnEffectWithSeed(effectVariant: EffectVariant, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityEffect;
|
|
300
300
|
/**
|
|
301
301
|
* Helper function to spawn a `EntityType.FAMILIAR` (3).
|
|
302
302
|
*
|
|
303
303
|
* If you are trying to implement a custom familiar, you probably want to use the
|
|
304
304
|
* `checkFamiliarFromCollectibles` helper function instead.
|
|
305
305
|
*/
|
|
306
|
-
export declare function spawnFamiliar(familiarVariant: FamiliarVariant, subType: int,
|
|
306
|
+
export declare function spawnFamiliar(familiarVariant: FamiliarVariant, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityFamiliar;
|
|
307
307
|
/** Helper function to spawn a `EntityType.FAMILIAR` (3) with a specific seed. */
|
|
308
|
-
export declare function spawnFamiliarWithSeed(familiarVariant: FamiliarVariant, subType: int,
|
|
308
|
+
export declare function spawnFamiliarWithSeed(familiarVariant: FamiliarVariant, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityFamiliar;
|
|
309
309
|
/** Helper function to spawn a `EntityType.KNIFE` (8). */
|
|
310
|
-
export declare function spawnKnife(knifeVariant: KnifeVariant, subType: int,
|
|
310
|
+
export declare function spawnKnife(knifeVariant: KnifeVariant, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityKnife;
|
|
311
311
|
/** Helper function to spawn a `EntityType.KNIFE` (8) with a specific seed. */
|
|
312
|
-
export declare function spawnKnifeWithSeed(knifeVariant: KnifeVariant, subType: int,
|
|
312
|
+
export declare function spawnKnifeWithSeed(knifeVariant: KnifeVariant, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityKnife;
|
|
313
313
|
/** Helper function to spawn a `EntityType.LASER` (7). */
|
|
314
|
-
export declare function spawnLaser(laserVariant: LaserVariant, subType: int,
|
|
314
|
+
export declare function spawnLaser(laserVariant: LaserVariant, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityLaser;
|
|
315
315
|
/** Helper function to spawn a `EntityType.LASER` (7) with a specific seed. */
|
|
316
|
-
export declare function spawnLaserWithSeed(laserVariant: LaserVariant, subType: int,
|
|
316
|
+
export declare function spawnLaserWithSeed(laserVariant: LaserVariant, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityLaser;
|
|
317
317
|
/**
|
|
318
318
|
* Helper function to spawn an NPC.
|
|
319
319
|
*
|
|
320
320
|
* Note that if you pass a non-NPC `EntityType` to this function, it will cause a run-time error,
|
|
321
321
|
* since the `Entity.ToNPC` method will return undefined.
|
|
322
322
|
*/
|
|
323
|
-
export declare function spawnNPC(entityType: EntityType, variant: int, subType: int,
|
|
323
|
+
export declare function spawnNPC(entityType: EntityType, variant: int, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityNPC;
|
|
324
324
|
/**
|
|
325
325
|
* Helper function to spawn an NPC with a specific seed.
|
|
326
326
|
*
|
|
327
327
|
* Note that if you pass a non-NPC `EntityType` to this function, it will cause a run-time error,
|
|
328
328
|
* since the `Entity.ToNPC` method will return undefined.
|
|
329
329
|
*/
|
|
330
|
-
export declare function spawnNPCWithSeed(entityType: EntityType, variant: int, subType: int,
|
|
330
|
+
export declare function spawnNPCWithSeed(entityType: EntityType, variant: int, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityNPC;
|
|
331
331
|
/** Helper function to spawn a `EntityType.PICKUP` (5). */
|
|
332
|
-
export declare function spawnPickup(pickupVariant: PickupVariant, subType: int,
|
|
332
|
+
export declare function spawnPickup(pickupVariant: PickupVariant, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityPickup;
|
|
333
333
|
/** Helper function to spawn a `EntityType.PICKUP` (5) with a specific seed. */
|
|
334
|
-
export declare function spawnPickupWithSeed(pickupVariant: PickupVariant, subType: int,
|
|
334
|
+
export declare function spawnPickupWithSeed(pickupVariant: PickupVariant, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityPickup;
|
|
335
335
|
/** Helper function to spawn a `EntityType.PROJECTILE` (9). */
|
|
336
|
-
export declare function spawnProjectile(projectileVariant: ProjectileVariant, subType: int,
|
|
336
|
+
export declare function spawnProjectile(projectileVariant: ProjectileVariant, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityProjectile;
|
|
337
337
|
/** Helper function to spawn a `EntityType.PROJECTILE` (9) with a specific seed. */
|
|
338
|
-
export declare function spawnProjectileWithSeed(projectileVariant: ProjectileVariant, subType: int,
|
|
338
|
+
export declare function spawnProjectileWithSeed(projectileVariant: ProjectileVariant, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityProjectile;
|
|
339
339
|
/** Helper function to spawn a `EntityType.SLOT` (6). */
|
|
340
|
-
export declare function spawnSlot(slotVariant: SlotVariant, subType: int,
|
|
340
|
+
export declare function spawnSlot(slotVariant: SlotVariant, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntitySlot;
|
|
341
341
|
/** Helper function to spawn a `EntityType.SLOT` (6) with a specific seed. */
|
|
342
|
-
export declare function spawnSlotWithSeed(slotVariant: SlotVariant, subType: int,
|
|
342
|
+
export declare function spawnSlotWithSeed(slotVariant: SlotVariant, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntitySlot;
|
|
343
343
|
/** Helper function to spawn a `EntityType.TEAR` (2). */
|
|
344
|
-
export declare function spawnTear(tearVariant: TearVariant, subType: int,
|
|
344
|
+
export declare function spawnTear(tearVariant: TearVariant, subType: int, positionOrGridIndex: Vector | int, velocity?: Vector, spawner?: Entity | undefined, seedOrRNG?: Seed | RNG | undefined): EntityTear;
|
|
345
345
|
/** Helper function to spawn a `EntityType.EntityType` (2) with a specific seed. */
|
|
346
|
-
export declare function spawnTearWithSeed(tearVariant: TearVariant, subType: int,
|
|
346
|
+
export declare function spawnTearWithSeed(tearVariant: TearVariant, subType: int, positionOrGridIndex: Vector | int, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined): EntityTear;
|
|
347
347
|
//# sourceMappingURL=entitiesSpecific.d.ts.map
|
|
@@ -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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AW,GAAE,WAAgB,EAC7B,OAAO,SAAK,EACZ,GAAG,CAAC,EAAE,GAAG,GACR,MAAM,EAAE,CAGV;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,WAAW,GAAE,WAAgB,EAC7B,OAAO,SAAK,EACZ,GAAG,CAAC,EAAE,GAAG,GACR,UAAU,EAAE,CAGd;AAED,wDAAwD;AACxD,wBAAgB,SAAS,CACvB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,GAAG,EACZ,
|
|
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,WAAgB,EAC7B,OAAO,SAAK,GACX,UAAU,EAAE,CAYd;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CACxB,aAAa,GAAE,aAAkB,EACjC,OAAO,SAAK,GACX,YAAY,EAAE,CAYhB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,YAAY,CAC1B,eAAe,GAAE,eAAoB,EACrC,OAAO,SAAK,GACX,cAAc,EAAE,CAYlB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CACvB,YAAY,GAAE,YAAiB,EAC/B,OAAO,SAAK,GACX,WAAW,EAAE,CAYf;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CACvB,YAAY,GAAE,YAAiB,EAC/B,OAAO,SAAK,GACX,WAAW,EAAE,CAYf;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO,CACrB,UAAU,GAAE,UAAe,EAC3B,OAAO,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