isaacscript-common 7.17.2 → 7.17.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/features/characterHealthConversion.d.ts +0 -1
- package/dist/features/characterHealthConversion.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.lua +2 -0
- package/dist/features/characterStats.d.ts +0 -1
- package/dist/features/characterStats.d.ts.map +1 -1
- package/dist/features/characterStats.lua +2 -0
- package/dist/features/collectibleItemPoolType.d.ts +0 -1
- package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
- package/dist/features/collectibleItemPoolType.lua +2 -0
- package/dist/features/customGridEntity.d.ts +0 -2
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +2 -0
- package/dist/features/customPickup.d.ts +0 -1
- package/dist/features/customPickup.d.ts.map +1 -1
- package/dist/features/customPickup.lua +2 -0
- package/dist/features/deployJSONRoom.d.ts +0 -2
- package/dist/features/deployJSONRoom.d.ts.map +1 -1
- package/dist/features/deployJSONRoom.lua +2 -0
- package/dist/features/disableAllSound.d.ts +0 -2
- package/dist/features/disableAllSound.d.ts.map +1 -1
- package/dist/features/disableAllSound.lua +2 -0
- package/dist/features/disableInputs.d.ts +0 -1
- package/dist/features/disableInputs.d.ts.map +1 -1
- package/dist/features/disableInputs.lua +2 -0
- package/dist/features/fadeInRemover.d.ts +0 -2
- package/dist/features/fadeInRemover.d.ts.map +1 -1
- package/dist/features/fadeInRemover.lua +2 -0
- package/dist/features/fastReset.d.ts +0 -2
- package/dist/features/fastReset.d.ts.map +1 -1
- package/dist/features/fastReset.lua +2 -0
- package/dist/features/forgottenSwitch.d.ts +0 -2
- package/dist/features/forgottenSwitch.d.ts.map +1 -1
- package/dist/features/forgottenSwitch.lua +2 -0
- package/dist/features/pause.d.ts +0 -2
- package/dist/features/pause.d.ts.map +1 -1
- package/dist/features/pause.lua +2 -0
- package/dist/features/persistentEntities.d.ts +0 -2
- package/dist/features/persistentEntities.d.ts.map +1 -1
- package/dist/features/persistentEntities.lua +2 -0
- package/dist/features/pickupIndex.d.ts +0 -2
- package/dist/features/pickupIndex.d.ts.map +1 -1
- package/dist/features/pickupIndex.lua +2 -0
- package/dist/features/playerInventory.d.ts +0 -2
- package/dist/features/playerInventory.d.ts.map +1 -1
- package/dist/features/playerInventory.lua +2 -0
- package/dist/features/ponyDetection.d.ts +0 -2
- package/dist/features/ponyDetection.d.ts.map +1 -1
- package/dist/features/ponyDetection.lua +2 -0
- package/dist/features/preventChildEntities.d.ts +0 -2
- package/dist/features/preventChildEntities.d.ts.map +1 -1
- package/dist/features/preventChildEntities.lua +2 -0
- package/dist/features/preventCollectibleRotation.d.ts +0 -1
- package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
- package/dist/features/preventCollectibleRotation.lua +2 -0
- package/dist/features/registerHotkey.d.ts +0 -1
- package/dist/features/registerHotkey.d.ts.map +1 -1
- package/dist/features/registerHotkey.lua +2 -0
- package/dist/features/roomClearFrame.d.ts +0 -2
- package/dist/features/roomClearFrame.d.ts.map +1 -1
- package/dist/features/roomClearFrame.lua +2 -0
- package/dist/features/roomHistory.d.ts +0 -2
- package/dist/features/roomHistory.d.ts.map +1 -1
- package/dist/features/roomHistory.lua +2 -0
- package/dist/features/runInNFrames.d.ts +0 -2
- package/dist/features/runInNFrames.d.ts.map +1 -1
- package/dist/features/runInNFrames.lua +2 -0
- package/dist/features/runNextRoom.d.ts +0 -2
- package/dist/features/runNextRoom.d.ts.map +1 -1
- package/dist/features/runNextRoom.lua +2 -0
- package/dist/features/sirenHelpers.d.ts +0 -1
- package/dist/features/sirenHelpers.d.ts.map +1 -1
- package/dist/features/sirenHelpers.lua +2 -0
- package/dist/features/stageHistory.d.ts +0 -2
- package/dist/features/stageHistory.d.ts.map +1 -1
- package/dist/features/stageHistory.lua +2 -0
- package/dist/features/taintedLazarusPlayers.d.ts +0 -2
- package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
- package/dist/features/taintedLazarusPlayers.lua +2 -0
- package/dist/index.d.ts +175 -11417
- package/package.json +1 -1
- package/src/features/characterHealthConversion.ts +1 -0
- package/src/features/characterStats.ts +1 -0
- package/src/features/collectibleItemPoolType.ts +1 -0
- package/src/features/customGridEntity.ts +1 -0
- package/src/features/customPickup.ts +1 -0
- package/src/features/deployJSONRoom.ts +1 -0
- package/src/features/disableAllSound.ts +1 -0
- package/src/features/disableInputs.ts +1 -0
- package/src/features/fadeInRemover.ts +1 -0
- package/src/features/fastReset.ts +4 -0
- package/src/features/forgottenSwitch.ts +1 -0
- package/src/features/pause.ts +1 -0
- package/src/features/persistentEntities.ts +1 -0
- package/src/features/pickupIndex.ts +1 -0
- package/src/features/playerInventory.ts +1 -0
- package/src/features/ponyDetection.ts +1 -0
- package/src/features/preventChildEntities.ts +1 -0
- package/src/features/preventCollectibleRotation.ts +1 -0
- package/src/features/registerHotkey.ts +1 -0
- package/src/features/roomClearFrame.ts +1 -0
- package/src/features/roomHistory.ts +1 -0
- package/src/features/runInNFrames.ts +1 -0
- package/src/features/runNextRoom.ts +1 -0
- package/src/features/sirenHelpers.ts +1 -0
- package/src/features/stageHistory.ts +1 -0
- package/src/features/taintedLazarusPlayers.ts +1 -0
- package/src/types/AwaitingTextInput.d.ts +0 -2
package/package.json
CHANGED
|
@@ -23,6 +23,7 @@ const characterHealthReplacementMap = new Map<
|
|
|
23
23
|
ConversionHeartSubType
|
|
24
24
|
>();
|
|
25
25
|
|
|
26
|
+
/** @internal */
|
|
26
27
|
export function characterHealthConversionInit(mod: Mod): void {
|
|
27
28
|
mod.AddCallback(ModCallback.POST_PEFFECT_UPDATE, postPEffectUpdate); // 4
|
|
28
29
|
mod.AddCallback(
|
|
@@ -18,6 +18,7 @@ const FEATURE_NAME = "characterStats";
|
|
|
18
18
|
type StatMap = Map<CacheFlag, number> | ReadonlyMap<CacheFlag, number>;
|
|
19
19
|
const charactersStatMap = new Map<PlayerType, StatMap>();
|
|
20
20
|
|
|
21
|
+
/** @internal */
|
|
21
22
|
export function characterStatsInit(mod: Mod): void {
|
|
22
23
|
mod.AddCallback(ModCallback.EVALUATE_CACHE, evaluateCache); // 8
|
|
23
24
|
}
|
|
@@ -32,6 +32,7 @@ const PICKUP_EFFECT_SUB_TYPE = 103;
|
|
|
32
32
|
/** Indexed by entity ID. */
|
|
33
33
|
const customPickupFunctionsMap = new Map<string, CustomPickupFunctions>();
|
|
34
34
|
|
|
35
|
+
/** @internal */
|
|
35
36
|
export function customPickupInit(mod: Mod): void {
|
|
36
37
|
mod.AddCallback(ModCallback.PRE_PICKUP_COLLISION, prePickupCollision); // 38
|
|
37
38
|
mod.AddCallback(
|
|
@@ -9,8 +9,12 @@ import { restart } from "../functions/run";
|
|
|
9
9
|
|
|
10
10
|
const FEATURE_NAME = "fastReset";
|
|
11
11
|
|
|
12
|
+
/** A global variable set by custom consoles. */
|
|
13
|
+
declare let AwaitingTextInput: boolean;
|
|
14
|
+
|
|
12
15
|
let enabled = false;
|
|
13
16
|
|
|
17
|
+
/** @internal */
|
|
14
18
|
export function fastResetInit(mod: Mod): void {
|
|
15
19
|
mod.AddCallback(ModCallback.POST_RENDER, postRender); // 2
|
|
16
20
|
}
|
package/src/features/pause.ts
CHANGED
|
@@ -30,6 +30,7 @@ const v = {
|
|
|
30
30
|
},
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
+
/** @internal */
|
|
33
34
|
export function taintedLazarusPlayersInit(mod: ModUpgraded): void {
|
|
34
35
|
// `EntityPtr` is not serializable, so we cannot save the data. However, this is inconsequential,
|
|
35
36
|
// since the `POST_PLAYER_INIT` callback will fire when a run is continued, which will repopulate
|