isaacscript-common 27.6.0 → 27.6.2
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 +4 -2
- package/dist/isaacscript-common.lua +3 -6
- package/dist/src/functions/minimap.d.ts.map +1 -1
- package/dist/src/functions/minimap.lua +2 -5
- package/dist/src/functions/sort.d.ts +2 -0
- package/dist/src/functions/sort.d.ts.map +1 -1
- package/dist/src/functions/sort.lua +2 -0
- package/dist/src/types/Increment.d.ts +1 -1
- package/dist/src/types/Increment.d.ts.map +1 -1
- package/dist/src/types/NaturalNumbersLessThanOrEqualTo.d.ts +1 -3
- package/dist/src/types/NaturalNumbersLessThanOrEqualTo.d.ts.map +1 -1
- package/package.json +5 -2
- package/src/functions/minimap.ts +2 -8
- package/src/functions/sort.ts +2 -0
- package/src/types/Increment.ts +2 -1
- package/src/types/NaturalNumbersLessThanOrEqualTo.ts +8 -6
- package/dist/src/indexLua.d.ts +0 -186
- package/dist/src/indexLua.d.ts.map +0 -1
- package/dist/src/indexLua.lua +0 -1114
package/dist/index.rollup.d.ts
CHANGED
|
@@ -7156,7 +7156,7 @@ export declare function inCrawlSpace(): boolean;
|
|
|
7156
7156
|
*
|
|
7157
7157
|
* From: https://stackoverflow.com/questions/54243431/typescript-increment-number-type
|
|
7158
7158
|
*/
|
|
7159
|
-
export declare type Increment<N extends number> = [...Tuple<N>, unknown]["length"];
|
|
7159
|
+
export declare type Increment<N extends number> = [...Tuple<N>, unknown]["length"] & number;
|
|
7160
7160
|
|
|
7161
7161
|
/**
|
|
7162
7162
|
* Helper function to detect if the current room is one of the rooms in the Death Certificate area.
|
|
@@ -12073,7 +12073,7 @@ export declare type NaturalNumbersLessThan<N extends number, Acc extends number[
|
|
|
12073
12073
|
* From:
|
|
12074
12074
|
* https://stackoverflow.com/questions/39494689/is-it-possible-to-restrict-number-to-a-certain-range
|
|
12075
12075
|
*/
|
|
12076
|
-
export declare type NaturalNumbersLessThanOrEqualTo<N extends number> =
|
|
12076
|
+
export declare type NaturalNumbersLessThanOrEqualTo<N extends number, T extends number[] = []> = T extends [unknown, ...infer Tail] ? Tail["length"] extends N ? T[number] : NaturalNumbersLessThanOrEqualTo<N, [...T, T["length"]]> : NaturalNumbersLessThanOrEqualTo<N, [...T, T["length"]]>;
|
|
12077
12077
|
|
|
12078
12078
|
/** This is near the top door. */
|
|
12079
12079
|
export declare const NEW_FLOOR_STARTING_POSITION_GREED_MODE: Readonly<Vector>;
|
|
@@ -15398,6 +15398,8 @@ export declare function spriteEquals(sprite1: Sprite, sprite2: Sprite, layerID:
|
|
|
15398
15398
|
* Helper function to sort an array in a stable way.
|
|
15399
15399
|
*
|
|
15400
15400
|
* This is useful because by default, the transpiled `Array.sort` method from TSTL is not stable.
|
|
15401
|
+
*
|
|
15402
|
+
* Under the hood, this uses the merge sort algorithm.
|
|
15401
15403
|
*/
|
|
15402
15404
|
export declare function stableSort<T>(array: T[], sortFunc?: (a: T, b: T) => -1 | 0 | 1): T[];
|
|
15403
15405
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 27.6.
|
|
3
|
+
isaacscript-common 27.6.2
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -51891,7 +51891,7 @@ function ____exports.getRoomDisplayFlags(self, roomGridIndex)
|
|
|
51891
51891
|
end
|
|
51892
51892
|
local minimapAPIRoomDescriptor = MinimapAPI:GetRoomByIdx(roomGridIndex)
|
|
51893
51893
|
if minimapAPIRoomDescriptor == nil then
|
|
51894
|
-
error("Failed to get the MinimapAPI room descriptor for the room at index: " .. tostring(roomGridIndex))
|
|
51894
|
+
error("Failed to get the MinimapAPI room descriptor for the room at grid index: " .. tostring(roomGridIndex))
|
|
51895
51895
|
end
|
|
51896
51896
|
return minimapAPIRoomDescriptor:GetDisplayFlags()
|
|
51897
51897
|
end
|
|
@@ -51924,12 +51924,9 @@ function ____exports.setRoomDisplayFlags(self, roomGridIndex, displayFlags, upda
|
|
|
51924
51924
|
if displayFlags == DisplayFlagZero then
|
|
51925
51925
|
return
|
|
51926
51926
|
end
|
|
51927
|
-
error("Failed to get the MinimapAPI room descriptor for the room at index: " .. tostring(roomGridIndex))
|
|
51927
|
+
error("Failed to get the MinimapAPI room descriptor for the room at grid index: " .. tostring(roomGridIndex))
|
|
51928
51928
|
end
|
|
51929
51929
|
minimapAPIRoomDescriptor:SetDisplayFlags(displayFlags)
|
|
51930
|
-
if displayFlags == DisplayFlagZero then
|
|
51931
|
-
minimapAPIRoomDescriptor:Remove()
|
|
51932
|
-
end
|
|
51933
51930
|
end
|
|
51934
51931
|
end
|
|
51935
51932
|
function ____exports.addRoomDisplayFlag(self, roomGridIndex, displayFlag, updateVisibility)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minimap.d.ts","sourceRoot":"","sources":["../../../src/functions/minimap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,8BAA8B,CAAC;AAM5E;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,GAAG,GAAG,SAAS,EAC9B,WAAW,EAAE,WAAW,EACxB,gBAAgB,UAAO,GACtB,IAAI,CAIN;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAE7C;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,aAAa,EAAE,GAAG,GAAG,IAAI,CAE9D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAUtE;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,CAAC,EAAE,GAAG,GAClB,QAAQ,CAAC,WAAW,CAAC,CAiBvB;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAA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;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,GAAG,GAAG,SAAS,EAC9B,YAAY,EAAE,QAAQ,CAAC,WAAW,CAAC,EACnC,gBAAgB,UAAO,GACtB,IAAI,CA2BN"}
|
|
@@ -30,7 +30,7 @@ function ____exports.getRoomDisplayFlags(self, roomGridIndex)
|
|
|
30
30
|
end
|
|
31
31
|
local minimapAPIRoomDescriptor = MinimapAPI:GetRoomByIdx(roomGridIndex)
|
|
32
32
|
if minimapAPIRoomDescriptor == nil then
|
|
33
|
-
error("Failed to get the MinimapAPI room descriptor for the room at index: " .. tostring(roomGridIndex))
|
|
33
|
+
error("Failed to get the MinimapAPI room descriptor for the room at grid index: " .. tostring(roomGridIndex))
|
|
34
34
|
end
|
|
35
35
|
return minimapAPIRoomDescriptor:GetDisplayFlags()
|
|
36
36
|
end
|
|
@@ -80,12 +80,9 @@ function ____exports.setRoomDisplayFlags(self, roomGridIndex, displayFlags, upda
|
|
|
80
80
|
if displayFlags == DisplayFlagZero then
|
|
81
81
|
return
|
|
82
82
|
end
|
|
83
|
-
error("Failed to get the MinimapAPI room descriptor for the room at index: " .. tostring(roomGridIndex))
|
|
83
|
+
error("Failed to get the MinimapAPI room descriptor for the room at grid index: " .. tostring(roomGridIndex))
|
|
84
84
|
end
|
|
85
85
|
minimapAPIRoomDescriptor:SetDisplayFlags(displayFlags)
|
|
86
|
-
if displayFlags == DisplayFlagZero then
|
|
87
|
-
minimapAPIRoomDescriptor:Remove()
|
|
88
|
-
end
|
|
89
86
|
end
|
|
90
87
|
end
|
|
91
88
|
--- Helper function to add a `DisplayFlag` to a particular room's minimap display flags (e.g. whether
|
|
@@ -39,6 +39,8 @@ export declare function sortTwoDimensionalArray<T>(a: T[], b: T[]): -1 | 0 | 1;
|
|
|
39
39
|
* Helper function to sort an array in a stable way.
|
|
40
40
|
*
|
|
41
41
|
* This is useful because by default, the transpiled `Array.sort` method from TSTL is not stable.
|
|
42
|
+
*
|
|
43
|
+
* Under the hood, this uses the merge sort algorithm.
|
|
42
44
|
*/
|
|
43
45
|
export declare function stableSort<T>(array: T[], sortFunc?: (a: T, b: T) => -1 | 0 | 1): T[];
|
|
44
46
|
//# sourceMappingURL=sort.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../../src/functions/sort.ts"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,OACnC,OAAO,KAAK,OAAO,KAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAsB5C;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAiDrE;AAED
|
|
1
|
+
{"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../../src/functions/sort.ts"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,OACnC,OAAO,KAAK,OAAO,KAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAsB5C;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAiDrE;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAC1B,KAAK,EAAE,CAAC,EAAE,EACV,QAAQ,GAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,GAAG,CAAc,GAChD,CAAC,EAAE,CAuDL"}
|
|
@@ -97,6 +97,8 @@ end
|
|
|
97
97
|
--- Helper function to sort an array in a stable way.
|
|
98
98
|
--
|
|
99
99
|
-- This is useful because by default, the transpiled `Array.sort` method from TSTL is not stable.
|
|
100
|
+
--
|
|
101
|
+
-- Under the hood, this uses the merge sort algorithm.
|
|
100
102
|
function ____exports.stableSort(self, array, sortFunc)
|
|
101
103
|
if sortFunc == nil then
|
|
102
104
|
sortFunc = sortNormal
|
|
@@ -4,5 +4,5 @@ import { Tuple } from "./Tuple";
|
|
|
4
4
|
*
|
|
5
5
|
* From: https://stackoverflow.com/questions/54243431/typescript-increment-number-type
|
|
6
6
|
*/
|
|
7
|
-
export type Increment<N extends number> = [...Tuple<N>, unknown]["length"];
|
|
7
|
+
export type Increment<N extends number> = [...Tuple<N>, unknown]["length"] & number;
|
|
8
8
|
//# sourceMappingURL=Increment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Increment.d.ts","sourceRoot":"","sources":["../../../src/types/Increment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;GAIG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"Increment.d.ts","sourceRoot":"","sources":["../../../src/types/Increment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;GAIG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,GACxE,MAAM,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { Increment } from "./Increment";
|
|
2
|
-
import { NaturalNumbersLessThan } from "./NaturalNumbersLessThan";
|
|
3
1
|
/**
|
|
4
2
|
* Helper type to get a range of integers between 0 and N.
|
|
5
3
|
*
|
|
6
4
|
* From:
|
|
7
5
|
* https://stackoverflow.com/questions/39494689/is-it-possible-to-restrict-number-to-a-certain-range
|
|
8
6
|
*/
|
|
9
|
-
export type NaturalNumbersLessThanOrEqualTo<N extends number> =
|
|
7
|
+
export type NaturalNumbersLessThanOrEqualTo<N extends number, T extends number[] = []> = T extends [unknown, ...infer Tail] ? Tail["length"] extends N ? T[number] : NaturalNumbersLessThanOrEqualTo<N, [...T, T["length"]]> : NaturalNumbersLessThanOrEqualTo<N, [...T, T["length"]]>;
|
|
10
8
|
//# sourceMappingURL=NaturalNumbersLessThanOrEqualTo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NaturalNumbersLessThanOrEqualTo.d.ts","sourceRoot":"","sources":["../../../src/types/NaturalNumbersLessThanOrEqualTo.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"NaturalNumbersLessThanOrEqualTo.d.ts","sourceRoot":"","sources":["../../../src/types/NaturalNumbersLessThanOrEqualTo.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,+BAA+B,CACzC,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,IACrB,CAAC,SAAS,CAAC,OAAO,EAAE,GAAG,MAAM,IAAI,CAAC,GAClC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GACtB,CAAC,CAAC,MAAM,CAAC,GACT,+BAA+B,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GACzD,+BAA+B,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "27.6.
|
|
3
|
+
"version": "27.6.2",
|
|
4
4
|
"description": "Helper functions and features for IsaacScript mods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
7
7
|
"rebirth",
|
|
8
8
|
"afterbirth",
|
|
9
|
-
"repentance"
|
|
9
|
+
"repentance",
|
|
10
|
+
"typescript-to-lua",
|
|
11
|
+
"lua",
|
|
12
|
+
"tstl"
|
|
10
13
|
],
|
|
11
14
|
"homepage": "https://isaacscript.github.io/",
|
|
12
15
|
"bugs": {
|
package/src/functions/minimap.ts
CHANGED
|
@@ -90,7 +90,7 @@ export function getRoomDisplayFlags(
|
|
|
90
90
|
const minimapAPIRoomDescriptor = MinimapAPI.GetRoomByIdx(roomGridIndex);
|
|
91
91
|
if (minimapAPIRoomDescriptor === undefined) {
|
|
92
92
|
error(
|
|
93
|
-
`Failed to get the MinimapAPI room descriptor for the room at index: ${roomGridIndex}`,
|
|
93
|
+
`Failed to get the MinimapAPI room descriptor for the room at grid index: ${roomGridIndex}`,
|
|
94
94
|
);
|
|
95
95
|
}
|
|
96
96
|
return minimapAPIRoomDescriptor.GetDisplayFlags();
|
|
@@ -181,15 +181,9 @@ export function setRoomDisplayFlags(
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
error(
|
|
184
|
-
`Failed to get the MinimapAPI room descriptor for the room at index: ${roomGridIndex}`,
|
|
184
|
+
`Failed to get the MinimapAPI room descriptor for the room at grid index: ${roomGridIndex}`,
|
|
185
185
|
);
|
|
186
186
|
}
|
|
187
187
|
minimapAPIRoomDescriptor.SetDisplayFlags(displayFlags);
|
|
188
|
-
|
|
189
|
-
// MinimapAPI is bugged such that setting the display flags to 0 does not make the room
|
|
190
|
-
// invisible. We delete the room to work around this.
|
|
191
|
-
if (displayFlags === DisplayFlagZero) {
|
|
192
|
-
minimapAPIRoomDescriptor.Remove();
|
|
193
|
-
}
|
|
194
188
|
}
|
|
195
189
|
}
|
package/src/functions/sort.ts
CHANGED
|
@@ -143,6 +143,8 @@ export function sortTwoDimensionalArray<T>(a: T[], b: T[]): -1 | 0 | 1 {
|
|
|
143
143
|
* Helper function to sort an array in a stable way.
|
|
144
144
|
*
|
|
145
145
|
* This is useful because by default, the transpiled `Array.sort` method from TSTL is not stable.
|
|
146
|
+
*
|
|
147
|
+
* Under the hood, this uses the merge sort algorithm.
|
|
146
148
|
*/
|
|
147
149
|
export function stableSort<T>(
|
|
148
150
|
array: T[],
|
package/src/types/Increment.ts
CHANGED
|
@@ -5,4 +5,5 @@ import { Tuple } from "./Tuple";
|
|
|
5
5
|
*
|
|
6
6
|
* From: https://stackoverflow.com/questions/54243431/typescript-increment-number-type
|
|
7
7
|
*/
|
|
8
|
-
export type Increment<N extends number> = [...Tuple<N>, unknown]["length"]
|
|
8
|
+
export type Increment<N extends number> = [...Tuple<N>, unknown]["length"] &
|
|
9
|
+
number;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { Increment } from "./Increment";
|
|
2
|
-
import { NaturalNumbersLessThan } from "./NaturalNumbersLessThan";
|
|
3
|
-
|
|
4
1
|
/**
|
|
5
2
|
* Helper type to get a range of integers between 0 and N.
|
|
6
3
|
*
|
|
7
4
|
* From:
|
|
8
5
|
* https://stackoverflow.com/questions/39494689/is-it-possible-to-restrict-number-to-a-certain-range
|
|
9
6
|
*/
|
|
10
|
-
export type NaturalNumbersLessThanOrEqualTo<
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
export type NaturalNumbersLessThanOrEqualTo<
|
|
8
|
+
N extends number,
|
|
9
|
+
T extends number[] = [],
|
|
10
|
+
> = T extends [unknown, ...infer Tail]
|
|
11
|
+
? Tail["length"] extends N
|
|
12
|
+
? T[number]
|
|
13
|
+
: NaturalNumbersLessThanOrEqualTo<N, [...T, T["length"]]>
|
|
14
|
+
: NaturalNumbersLessThanOrEqualTo<N, [...T, T["length"]]>;
|
package/dist/src/indexLua.d.ts
DELETED
|
@@ -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,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,C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