isaacscript-common 76.2.0 → 77.0.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/classes/features/callbackLogic/CustomGridEntities.d.ts +8 -0
- package/dist/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
- package/dist/classes/features/callbackLogic/GameReorderedCallbacks.d.ts +6 -0
- package/dist/classes/features/callbackLogic/GameReorderedCallbacks.d.ts.map +1 -1
- package/dist/classes/features/other/CharacterHealthConversion.d.ts +2 -0
- package/dist/classes/features/other/CharacterHealthConversion.d.ts.map +1 -1
- package/dist/classes/features/other/CharacterStats.d.ts +2 -0
- package/dist/classes/features/other/CharacterStats.d.ts.map +1 -1
- package/dist/classes/features/other/CollectibleItemPoolType.d.ts +2 -0
- package/dist/classes/features/other/CollectibleItemPoolType.d.ts.map +1 -1
- package/dist/classes/features/other/CustomHotkeys.d.ts +4 -0
- package/dist/classes/features/other/CustomHotkeys.d.ts.map +1 -1
- package/dist/classes/features/other/CustomItemPools.d.ts +2 -0
- package/dist/classes/features/other/CustomItemPools.d.ts.map +1 -1
- package/dist/classes/features/other/CustomPickups.d.ts +1 -0
- package/dist/classes/features/other/CustomPickups.d.ts.map +1 -1
- package/dist/classes/features/other/CustomStages.d.ts +3 -0
- package/dist/classes/features/other/CustomStages.d.ts.map +1 -1
- package/dist/classes/features/other/DebugDisplay.d.ts +54 -0
- package/dist/classes/features/other/DebugDisplay.d.ts.map +1 -1
- package/dist/classes/features/other/DeployJSONRoom.d.ts +1 -0
- package/dist/classes/features/other/DeployJSONRoom.d.ts.map +1 -1
- package/dist/classes/features/other/DisableInputs.d.ts +9 -0
- package/dist/classes/features/other/DisableInputs.d.ts.map +1 -1
- package/dist/classes/features/other/EdenStartingStatsHealth.d.ts +6 -0
- package/dist/classes/features/other/EdenStartingStatsHealth.d.ts.map +1 -1
- package/dist/classes/features/other/ExtraConsoleCommands.d.ts +6 -0
- package/dist/classes/features/other/ExtraConsoleCommands.d.ts.map +1 -1
- package/dist/classes/features/other/FadeInRemover.d.ts +4 -0
- package/dist/classes/features/other/FadeInRemover.d.ts.map +1 -1
- package/dist/classes/features/other/FastReset.d.ts +4 -0
- package/dist/classes/features/other/FastReset.d.ts.map +1 -1
- package/dist/classes/features/other/FlyingDetection.d.ts +2 -0
- package/dist/classes/features/other/FlyingDetection.d.ts.map +1 -1
- package/dist/classes/features/other/FlyingDetection.lua +2 -3
- package/dist/classes/features/other/ForgottenSwitch.d.ts +2 -0
- package/dist/classes/features/other/ForgottenSwitch.d.ts.map +1 -1
- package/dist/classes/features/other/ItemPoolDetection.d.ts +7 -1
- package/dist/classes/features/other/ItemPoolDetection.d.ts.map +1 -1
- package/dist/classes/features/other/ModdedElementDetection.d.ts +32 -0
- package/dist/classes/features/other/ModdedElementDetection.d.ts.map +1 -1
- package/dist/classes/features/other/ModdedElementSets.d.ts +88 -20
- package/dist/classes/features/other/ModdedElementSets.d.ts.map +1 -1
- package/dist/classes/features/other/ModdedElementSets.lua +75 -86
- package/dist/classes/features/other/NoSirenSteal.d.ts +1 -0
- package/dist/classes/features/other/NoSirenSteal.d.ts.map +1 -1
- package/dist/classes/features/other/Pause.d.ts +10 -0
- package/dist/classes/features/other/Pause.d.ts.map +1 -1
- package/dist/classes/features/other/PersistentEntities.d.ts +2 -0
- package/dist/classes/features/other/PersistentEntities.d.ts.map +1 -1
- package/dist/classes/features/other/PlayerCollectibleTracking.d.ts +3 -0
- package/dist/classes/features/other/PlayerCollectibleTracking.d.ts.map +1 -1
- package/dist/classes/features/other/PonyDetection.d.ts +4 -0
- package/dist/classes/features/other/PonyDetection.d.ts.map +1 -1
- package/dist/classes/features/other/PreventChildEntities.d.ts +2 -0
- package/dist/classes/features/other/PreventChildEntities.d.ts.map +1 -1
- package/dist/classes/features/other/RoomClearFrame.d.ts +19 -0
- package/dist/classes/features/other/RoomClearFrame.d.ts.map +1 -1
- package/dist/classes/features/other/RoomClearFrame.lua +8 -2
- package/dist/classes/features/other/RoomHistory.d.ts +17 -1
- package/dist/classes/features/other/RoomHistory.d.ts.map +1 -1
- package/dist/classes/features/other/RunInNFrames.d.ts +9 -2
- package/dist/classes/features/other/RunInNFrames.d.ts.map +1 -1
- package/dist/classes/features/other/RunNextRun.d.ts +2 -0
- package/dist/classes/features/other/RunNextRun.d.ts.map +1 -1
- package/dist/classes/features/other/SaveDataManager.d.ts +21 -0
- package/dist/classes/features/other/SaveDataManager.d.ts.map +1 -1
- package/dist/classes/features/other/SpawnRockAltRewards.d.ts +1 -0
- package/dist/classes/features/other/SpawnRockAltRewards.d.ts.map +1 -1
- package/dist/classes/features/other/StageHistory.d.ts +3 -0
- package/dist/classes/features/other/StageHistory.d.ts.map +1 -1
- package/dist/classes/features/other/StartAmbush.d.ts +2 -0
- package/dist/classes/features/other/StartAmbush.d.ts.map +1 -1
- package/dist/classes/features/other/TaintedLazarusPlayers.d.ts +2 -0
- package/dist/classes/features/other/TaintedLazarusPlayers.d.ts.map +1 -1
- package/dist/classes/features/other/UnlockAchievementsDetection.d.ts +2 -0
- package/dist/classes/features/other/UnlockAchievementsDetection.d.ts.map +1 -1
- package/dist/classes/private/CustomCallback.d.ts +0 -1
- package/dist/classes/private/CustomCallback.d.ts.map +1 -1
- package/dist/classes/private/CustomCallback.lua +0 -19
- package/dist/functions/array.d.ts +3 -3
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.lua +34 -28
- package/dist/functions/cards.lua +3 -3
- package/dist/functions/collectibles.d.ts +2 -2
- package/dist/functions/collectibles.d.ts.map +1 -1
- package/dist/functions/collectibles.lua +4 -5
- package/dist/functions/pills.d.ts +3 -3
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/playerTrinkets.d.ts +1 -1
- package/dist/functions/playerTrinkets.d.ts.map +1 -1
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +7 -7
- package/dist/index.rollup.d.ts +354 -34
- package/dist/isaacscript-common.lua +490 -510
- package/dist/sets/{itemConfigCardTypesForCardsSet.d.ts → itemConfigCardTypesForCards.d.ts} +2 -2
- package/dist/sets/itemConfigCardTypesForCards.d.ts.map +1 -0
- package/dist/sets/{itemConfigCardTypesForCardsSet.lua → itemConfigCardTypesForCards.lua} +1 -1
- package/package.json +1 -1
- package/src/classes/features/callbackLogic/CustomGridEntities.ts +8 -0
- package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +6 -0
- package/src/classes/features/other/CharacterHealthConversion.ts +2 -0
- package/src/classes/features/other/CharacterStats.ts +2 -0
- package/src/classes/features/other/CollectibleItemPoolType.ts +2 -0
- package/src/classes/features/other/CustomHotkeys.ts +4 -0
- package/src/classes/features/other/CustomItemPools.ts +2 -0
- package/src/classes/features/other/CustomPickups.ts +1 -0
- package/src/classes/features/other/CustomStages.ts +3 -0
- package/src/classes/features/other/DebugDisplay.ts +54 -0
- package/src/classes/features/other/DeployJSONRoom.ts +1 -0
- package/src/classes/features/other/DisableInputs.ts +9 -0
- package/src/classes/features/other/EdenStartingStatsHealth.ts +6 -0
- package/src/classes/features/other/ExtraConsoleCommands.ts +6 -0
- package/src/classes/features/other/FadeInRemover.ts +4 -0
- package/src/classes/features/other/FastReset.ts +4 -0
- package/src/classes/features/other/FlyingDetection.ts +2 -0
- package/src/classes/features/other/ForgottenSwitch.ts +2 -0
- package/src/classes/features/other/ItemPoolDetection.ts +7 -1
- package/src/classes/features/other/ModdedElementDetection.ts +32 -0
- package/src/classes/features/other/ModdedElementSets.ts +174 -121
- package/src/classes/features/other/NoSirenSteal.ts +1 -0
- package/src/classes/features/other/Pause.ts +10 -0
- package/src/classes/features/other/PersistentEntities.ts +2 -0
- package/src/classes/features/other/PlayerCollectibleTracking.ts +3 -0
- package/src/classes/features/other/PonyDetection.ts +4 -0
- package/src/classes/features/other/PreventChildEntities.ts +2 -0
- package/src/classes/features/other/RoomClearFrame.ts +27 -1
- package/src/classes/features/other/RoomHistory.ts +17 -1
- package/src/classes/features/other/RunInNFrames.ts +9 -2
- package/src/classes/features/other/RunNextRun.ts +2 -0
- package/src/classes/features/other/SaveDataManager.ts +21 -0
- package/src/classes/features/other/SpawnRockAltRewards.ts +1 -0
- package/src/classes/features/other/StageHistory.ts +3 -0
- package/src/classes/features/other/StartAmbush.ts +2 -0
- package/src/classes/features/other/TaintedLazarusPlayers.ts +2 -0
- package/src/classes/features/other/UnlockAchievementsDetection.ts +2 -0
- package/src/classes/private/CustomCallback.ts +0 -15
- package/src/functions/array.ts +12 -5
- package/src/functions/cards.ts +2 -2
- package/src/functions/collectibles.ts +7 -7
- package/src/functions/pills.ts +3 -3
- package/src/functions/playerTrinkets.ts +3 -1
- package/src/sets/{itemConfigCardTypesForCardsSet.ts → itemConfigCardTypesForCards.ts} +3 -1
- package/dist/sets/itemConfigCardTypesForCardsSet.d.ts.map +0 -1
|
@@ -18,6 +18,8 @@ export declare class EdenStartingStatsHealth extends Feature {
|
|
|
18
18
|
* Returns undefined if passed a player that is not Eden.
|
|
19
19
|
*
|
|
20
20
|
* In order to use this function, you must upgrade your mod with `ISCFeature.EDEN_STARTING_STATS`.
|
|
21
|
+
*
|
|
22
|
+
* @public
|
|
21
23
|
*/
|
|
22
24
|
getEdenStartingHealth(player: EntityPlayer): Readonly<PlayerHealth> | undefined;
|
|
23
25
|
/**
|
|
@@ -27,6 +29,8 @@ export declare class EdenStartingStatsHealth extends Feature {
|
|
|
27
29
|
* Returns undefined if passed a player that is not Eden.
|
|
28
30
|
*
|
|
29
31
|
* In order to use this function, you must upgrade your mod with `ISCFeature.EDEN_STARTING_STATS`.
|
|
32
|
+
*
|
|
33
|
+
* @public
|
|
30
34
|
*/
|
|
31
35
|
getEdenStartingStat<T extends PlayerStat>(player: EntityPlayer, playerStat: T): PlayerStats[T] | undefined;
|
|
32
36
|
/**
|
|
@@ -36,6 +40,8 @@ export declare class EdenStartingStatsHealth extends Feature {
|
|
|
36
40
|
* Returns undefined if passed a player that is not Eden.
|
|
37
41
|
*
|
|
38
42
|
* In order to use this function, you must upgrade your mod with `ISCFeature.EDEN_STARTING_STATS`.
|
|
43
|
+
*
|
|
44
|
+
* @public
|
|
39
45
|
*/
|
|
40
46
|
getEdenStartingStats(player: EntityPlayer): Readonly<PlayerStats> | undefined;
|
|
41
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EdenStartingStatsHealth.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/EdenStartingStatsHealth.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAQ5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD,qBAAa,uBAAwB,SAAQ,OAAO;IAclD;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,cAAc,CAO7B;IAEF,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,aAAa;IAUrB
|
|
1
|
+
{"version":3,"file":"EdenStartingStatsHealth.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/EdenStartingStatsHealth.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAQ5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD,qBAAa,uBAAwB,SAAQ,OAAO;IAclD;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,cAAc,CAO7B;IAEF,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,aAAa;IAUrB;;;;;;;;;OASG;IAEI,qBAAqB,CAC1B,MAAM,EAAE,YAAY,GACnB,QAAQ,CAAC,YAAY,CAAC,GAAG,SAAS;IAIrC;;;;;;;;;OASG;IAEI,mBAAmB,CAAC,CAAC,SAAS,UAAU,EAC7C,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,CAAC,GACZ,WAAW,CAAC,CAAC,CAAC,GAAG,SAAS;IAS7B;;;;;;;;;OASG;IAEI,oBAAoB,CACzB,MAAM,EAAE,YAAY,GACnB,QAAQ,CAAC,WAAW,CAAC,GAAG,SAAS;CAGrC"}
|
|
@@ -34,6 +34,8 @@ export declare class ExtraConsoleCommands extends Feature {
|
|
|
34
34
|
*
|
|
35
35
|
* In order to use this function, you must upgrade your mod with
|
|
36
36
|
* `ISCFeature.EXTRA_CONSOLE_COMMANDS`.
|
|
37
|
+
*
|
|
38
|
+
* @public
|
|
37
39
|
*/
|
|
38
40
|
addConsoleCommand(commandName: string, commandFunction: (params: string) => void): void;
|
|
39
41
|
/**
|
|
@@ -46,6 +48,8 @@ export declare class ExtraConsoleCommands extends Feature {
|
|
|
46
48
|
*
|
|
47
49
|
* In order to use this function, you must upgrade your mod with
|
|
48
50
|
* `ISCFeature.EXTRA_CONSOLE_COMMANDS`.
|
|
51
|
+
*
|
|
52
|
+
* @public
|
|
49
53
|
*/
|
|
50
54
|
removeConsoleCommand(commandName: string): void;
|
|
51
55
|
/**
|
|
@@ -57,6 +61,8 @@ export declare class ExtraConsoleCommands extends Feature {
|
|
|
57
61
|
*
|
|
58
62
|
* In order to use this function, you must upgrade your mod with
|
|
59
63
|
* `ISCFeature.EXTRA_CONSOLE_COMMANDS`.
|
|
64
|
+
*
|
|
65
|
+
* @public
|
|
60
66
|
*/
|
|
61
67
|
removeAllConsoleCommands(): void;
|
|
62
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtraConsoleCommands.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ExtraConsoleCommands.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD;;;;;;;;;;G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F,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAYlC;IAEF;;;;;;;;;;;;;;OAcG;IAEI,iBAAiB,CACtB,WAAW,EAAE,MAAM,EACnB,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GACxC,IAAI;IA8BP;;;;;;;;;;;;OAYG;IAEI,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAqBtD;;;;;;;;;;;OAWG;IAEI,wBAAwB,IAAI,IAAI;CAGxC"}
|
|
@@ -11,6 +11,8 @@ export declare class FadeInRemover extends Feature {
|
|
|
11
11
|
* You can restore the vanilla behavior with the `restoreFadeIn` function.
|
|
12
12
|
*
|
|
13
13
|
* In order to use this function, you must upgrade your mod with `ISCFeature.FADE_IN_REMOVER`.
|
|
14
|
+
*
|
|
15
|
+
* @public
|
|
14
16
|
*/
|
|
15
17
|
removeFadeIn(): void;
|
|
16
18
|
/**
|
|
@@ -18,6 +20,8 @@ export declare class FadeInRemover extends Feature {
|
|
|
18
20
|
* function.
|
|
19
21
|
*
|
|
20
22
|
* In order to use this function, you must upgrade your mod with `ISCFeature.FADE_IN_REMOVER`.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
21
25
|
*/
|
|
22
26
|
restoreFadeIn(): void;
|
|
23
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FadeInRemover.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/FadeInRemover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAIhD,qBAAa,aAAc,SAAQ,OAAO;IACxC,OAAO,CAAC,OAAO,CAAS;IAgBxB,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAIvC;IAEF
|
|
1
|
+
{"version":3,"file":"FadeInRemover.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/FadeInRemover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAIhD,qBAAa,aAAc,SAAQ,OAAO;IACxC,OAAO,CAAC,OAAO,CAAS;IAgBxB,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAIvC;IAEF;;;;;;;;;;;OAWG;IAEI,YAAY,IAAI,IAAI;IAI3B;;;;;;;OAOG;IAEI,aAAa,IAAI,IAAI;CAG7B"}
|
|
@@ -11,6 +11,8 @@ export declare class FastReset extends Feature {
|
|
|
11
11
|
* You can disable the fast-reset feature with the `disableFastReset` function.
|
|
12
12
|
*
|
|
13
13
|
* In order to use this function, you must upgrade your mod with `ISCFeature.FAST_RESET`.
|
|
14
|
+
*
|
|
15
|
+
* @public
|
|
14
16
|
*/
|
|
15
17
|
enableFastReset(): void;
|
|
16
18
|
/**
|
|
@@ -18,6 +20,8 @@ export declare class FastReset extends Feature {
|
|
|
18
20
|
* `enableFastReset` function.
|
|
19
21
|
*
|
|
20
22
|
* In order to use this function, you must upgrade your mod with `ISCFeature.FAST_RESET`.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
21
25
|
*/
|
|
22
26
|
disableFastReset(): void;
|
|
23
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FastReset.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/FastReset.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAKhD,qBAAa,SAAU,SAAQ,OAAO;IACpC,OAAO,CAAC,OAAO,CAAS;IAaxB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAMzB;IAEF
|
|
1
|
+
{"version":3,"file":"FastReset.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/FastReset.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAKhD,qBAAa,SAAU,SAAQ,OAAO;IACpC,OAAO,CAAC,OAAO,CAAS;IAaxB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAMzB;IAEF;;;;;;;;;;;OAWG;IAEI,eAAe,IAAI,IAAI;IAI9B;;;;;;;OAOG;IAEI,gBAAgB,IAAI,IAAI;CAGhC"}
|
|
@@ -7,6 +7,8 @@ export declare class FlyingDetection extends Feature {
|
|
|
7
7
|
* Hanged Man, Bat Wing, and so on.
|
|
8
8
|
*
|
|
9
9
|
* In order to use this function, you must upgrade your mod with `ISCFeature.FLYING_DETECTION`.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
10
12
|
*/
|
|
11
13
|
hasFlyingTemporaryEffect(player: EntityPlayer): boolean;
|
|
12
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlyingDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/FlyingDetection.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD,qBAAa,eAAgB,SAAQ,OAAO;IAC1C,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAoB;IAWtD
|
|
1
|
+
{"version":3,"file":"FlyingDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/FlyingDetection.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD,qBAAa,eAAgB,SAAQ,OAAO;IAC1C,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAoB;IAWtD;;;;;;;OAOG;IAEI,wBAAwB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO;CA8B/D"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local __TS__Class = ____lualib.__TS__Class
|
|
3
3
|
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
-
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
5
4
|
local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
|
|
6
5
|
local ____exports = {}
|
|
7
6
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
@@ -25,13 +24,13 @@ end
|
|
|
25
24
|
function FlyingDetection.prototype.hasFlyingTemporaryEffect(self, player)
|
|
26
25
|
local effects = player:GetEffects()
|
|
27
26
|
local flyingCollectibles = self.moddedElementSets:getFlyingCollectibleTypes(true)
|
|
28
|
-
for ____, collectibleType in
|
|
27
|
+
for ____, collectibleType in ipairs(flyingCollectibles) do
|
|
29
28
|
if effects:HasCollectibleEffect(collectibleType) then
|
|
30
29
|
return true
|
|
31
30
|
end
|
|
32
31
|
end
|
|
33
32
|
local flyingTrinkets = self.moddedElementSets:getFlyingTrinketTypes()
|
|
34
|
-
for ____, trinketType in
|
|
33
|
+
for ____, trinketType in ipairs(flyingTrinkets) do
|
|
35
34
|
if effects:HasTrinketEffect(trinketType) then
|
|
36
35
|
return true
|
|
37
36
|
end
|
|
@@ -7,6 +7,8 @@ export declare class ForgottenSwitch extends Feature {
|
|
|
7
7
|
* Forgotten. This takes 1 game frame to take effect.
|
|
8
8
|
*
|
|
9
9
|
* In order to use this function, you must upgrade your mod with `ISCFeature.FORGOTTEN_SWITCH`.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
10
12
|
*/
|
|
11
13
|
forgottenSwitch(player: EntityPlayer): void;
|
|
12
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ForgottenSwitch.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ForgottenSwitch.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,qBAAa,eAAgB,SAAQ,OAAO;IAQ1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IAWxC
|
|
1
|
+
{"version":3,"file":"ForgottenSwitch.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ForgottenSwitch.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,qBAAa,eAAgB,SAAQ,OAAO;IAQ1C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IAWxC;;;;;;;OAOG;IAEI,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI;CAGnD"}
|
|
@@ -8,8 +8,10 @@ export declare class ItemPoolDetection extends Feature {
|
|
|
8
8
|
* expensive, so only use it in situations where the lag is acceptable.
|
|
9
9
|
*
|
|
10
10
|
* In order to use this function, you must upgrade your mod with `ISCFeature.ITEM_POOL_DETECTION`.
|
|
11
|
+
*
|
|
12
|
+
* @public
|
|
11
13
|
*/
|
|
12
|
-
getCollectiblesInItemPool(itemPoolType: ItemPoolType): CollectibleType[];
|
|
14
|
+
getCollectiblesInItemPool(itemPoolType: ItemPoolType): readonly CollectibleType[];
|
|
13
15
|
/**
|
|
14
16
|
* Helper function to see if the given collectible is still present in the given item pool.
|
|
15
17
|
*
|
|
@@ -21,6 +23,8 @@ export declare class ItemPoolDetection extends Feature {
|
|
|
21
23
|
* blacklist every collectible except for the one provided.
|
|
22
24
|
*
|
|
23
25
|
* In order to use this function, you must upgrade your mod with `ISCFeature.ITEM_POOL_DETECTION`.
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
24
28
|
*/
|
|
25
29
|
isCollectibleInItemPool(collectibleType: CollectibleType, itemPoolType: ItemPoolType): boolean;
|
|
26
30
|
/**
|
|
@@ -38,6 +42,8 @@ export declare class ItemPoolDetection extends Feature {
|
|
|
38
42
|
* collectibles from item pools).
|
|
39
43
|
*
|
|
40
44
|
* In order to use this function, you must upgrade your mod with `ISCFeature.ITEM_POOL_DETECTION`.
|
|
45
|
+
*
|
|
46
|
+
* @public
|
|
41
47
|
*/
|
|
42
48
|
isCollectibleUnlocked(collectibleType: CollectibleType, itemPoolType: ItemPoolType): boolean;
|
|
43
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemPoolDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ItemPoolDetection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EACL,eAAe,EAIhB,MAAM,8BAA8B,CAAC;AActC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAahD,qBAAa,iBAAkB,SAAQ,OAAO;IAC5C,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAoB;IAWtD
|
|
1
|
+
{"version":3,"file":"ItemPoolDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ItemPoolDetection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EACL,eAAe,EAIhB,MAAM,8BAA8B,CAAC;AActC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAahD,qBAAa,iBAAkB,SAAQ,OAAO;IAC5C,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAoB;IAWtD;;;;;;;OAOG;IAEI,yBAAyB,CAC9B,YAAY,EAAE,YAAY,GACzB,SAAS,eAAe,EAAE;IAO7B;;;;;;;;;;;;;OAaG;IAEI,uBAAuB,CAC5B,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,GACzB,OAAO;IA+DV;;;;;;;;;;;;;;;;;OAiBG;IAEI,qBAAqB,CAC1B,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,GACzB,OAAO;CAOX"}
|
|
@@ -23,6 +23,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
23
23
|
*
|
|
24
24
|
* In order to use this function, you must upgrade your mod with
|
|
25
25
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
26
28
|
*/
|
|
27
29
|
getFirstModdedCollectibleType(): CollectibleType | undefined;
|
|
28
30
|
/**
|
|
@@ -40,6 +42,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
40
42
|
*
|
|
41
43
|
* In order to use this function, you must upgrade your mod with
|
|
42
44
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
45
|
+
*
|
|
46
|
+
* @public
|
|
43
47
|
*/
|
|
44
48
|
getLastCollectibleType(): CollectibleType;
|
|
45
49
|
/**
|
|
@@ -53,6 +57,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
53
57
|
*
|
|
54
58
|
* In order to use this function, you must upgrade your mod with
|
|
55
59
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
60
|
+
*
|
|
61
|
+
* @public
|
|
56
62
|
*/
|
|
57
63
|
getNumCollectibleTypes(): int;
|
|
58
64
|
/**
|
|
@@ -64,6 +70,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
64
70
|
*
|
|
65
71
|
* In order to use this function, you must upgrade your mod with
|
|
66
72
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
67
75
|
*/
|
|
68
76
|
getNumModdedCollectibleTypes(): int;
|
|
69
77
|
/**
|
|
@@ -74,6 +82,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
74
82
|
*
|
|
75
83
|
* In order to use this function, you must upgrade your mod with
|
|
76
84
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
77
87
|
*/
|
|
78
88
|
getFirstModdedTrinketType(): TrinketType | undefined;
|
|
79
89
|
/**
|
|
@@ -90,6 +100,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
90
100
|
*
|
|
91
101
|
* In order to use this function, you must upgrade your mod with
|
|
92
102
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
103
|
+
*
|
|
104
|
+
* @public
|
|
93
105
|
*/
|
|
94
106
|
getLastTrinketType(): TrinketType;
|
|
95
107
|
/**
|
|
@@ -102,6 +114,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
102
114
|
*
|
|
103
115
|
* In order to use this function, you must upgrade your mod with
|
|
104
116
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
117
|
+
*
|
|
118
|
+
* @public
|
|
105
119
|
*/
|
|
106
120
|
getNumTrinketTypes(): int;
|
|
107
121
|
/**
|
|
@@ -112,6 +126,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
112
126
|
*
|
|
113
127
|
* In order to use this function, you must upgrade your mod with
|
|
114
128
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
129
|
+
*
|
|
130
|
+
* @public
|
|
115
131
|
*/
|
|
116
132
|
getNumModdedTrinketTypes(): int;
|
|
117
133
|
/**
|
|
@@ -122,6 +138,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
122
138
|
*
|
|
123
139
|
* In order to use this function, you must upgrade your mod with
|
|
124
140
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
141
|
+
*
|
|
142
|
+
* @public
|
|
125
143
|
*/
|
|
126
144
|
getFirstModdedCardType(): CardType | undefined;
|
|
127
145
|
/**
|
|
@@ -135,6 +153,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
135
153
|
*
|
|
136
154
|
* In order to use this function, you must upgrade your mod with
|
|
137
155
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
156
|
+
*
|
|
157
|
+
* @public
|
|
138
158
|
*/
|
|
139
159
|
getLastCardType(): CardType;
|
|
140
160
|
/**
|
|
@@ -147,6 +167,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
147
167
|
*
|
|
148
168
|
* In order to use this function, you must upgrade your mod with
|
|
149
169
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
170
|
+
*
|
|
171
|
+
* @public
|
|
150
172
|
*/
|
|
151
173
|
getNumCardTypes(): int;
|
|
152
174
|
/**
|
|
@@ -155,6 +177,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
155
177
|
*
|
|
156
178
|
* In order to use this function, you must upgrade your mod with
|
|
157
179
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
180
|
+
*
|
|
181
|
+
* @public
|
|
158
182
|
*/
|
|
159
183
|
getNumModdedCardTypes(): int;
|
|
160
184
|
/**
|
|
@@ -166,6 +190,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
166
190
|
*
|
|
167
191
|
* In order to use this function, you must upgrade your mod with
|
|
168
192
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
193
|
+
*
|
|
194
|
+
* @public
|
|
169
195
|
*/
|
|
170
196
|
getFirstModdedPillEffect(): PillEffect | undefined;
|
|
171
197
|
/**
|
|
@@ -180,6 +206,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
180
206
|
*
|
|
181
207
|
* In order to use this function, you must upgrade your mod with
|
|
182
208
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
209
|
+
*
|
|
210
|
+
* @public
|
|
183
211
|
*/
|
|
184
212
|
getLastPillEffect(): PillEffect;
|
|
185
213
|
/**
|
|
@@ -194,6 +222,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
194
222
|
*
|
|
195
223
|
* In order to use this function, you must upgrade your mod with
|
|
196
224
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
225
|
+
*
|
|
226
|
+
* @public
|
|
197
227
|
*/
|
|
198
228
|
getNumPillEffects(): int;
|
|
199
229
|
/**
|
|
@@ -203,6 +233,8 @@ export declare class ModdedElementDetection extends Feature {
|
|
|
203
233
|
*
|
|
204
234
|
* In order to use this function, you must upgrade your mod with
|
|
205
235
|
* `ISCFeature.MODDED_ELEMENT_DETECTION`.
|
|
236
|
+
*
|
|
237
|
+
* @public
|
|
206
238
|
*/
|
|
207
239
|
getNumModdedPillEffects(): int;
|
|
208
240
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModdedElementDetection.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ModdedElementDetection.ts"],"names":[],"mappings":"AAAA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