isaacscript-common 7.17.2 → 7.17.5

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.
Files changed (110) hide show
  1. package/dist/features/characterHealthConversion.d.ts +0 -1
  2. package/dist/features/characterHealthConversion.d.ts.map +1 -1
  3. package/dist/features/characterHealthConversion.lua +2 -0
  4. package/dist/features/characterStats.d.ts +0 -1
  5. package/dist/features/characterStats.d.ts.map +1 -1
  6. package/dist/features/characterStats.lua +2 -0
  7. package/dist/features/collectibleItemPoolType.d.ts +0 -1
  8. package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
  9. package/dist/features/collectibleItemPoolType.lua +2 -0
  10. package/dist/features/customGridEntity.d.ts +0 -2
  11. package/dist/features/customGridEntity.d.ts.map +1 -1
  12. package/dist/features/customGridEntity.lua +2 -0
  13. package/dist/features/customPickup.d.ts +0 -1
  14. package/dist/features/customPickup.d.ts.map +1 -1
  15. package/dist/features/customPickup.lua +2 -0
  16. package/dist/features/deployJSONRoom.d.ts +0 -2
  17. package/dist/features/deployJSONRoom.d.ts.map +1 -1
  18. package/dist/features/deployJSONRoom.lua +2 -0
  19. package/dist/features/disableAllSound.d.ts +0 -2
  20. package/dist/features/disableAllSound.d.ts.map +1 -1
  21. package/dist/features/disableAllSound.lua +2 -0
  22. package/dist/features/disableInputs.d.ts +0 -1
  23. package/dist/features/disableInputs.d.ts.map +1 -1
  24. package/dist/features/disableInputs.lua +2 -0
  25. package/dist/features/fadeInRemover.d.ts +0 -2
  26. package/dist/features/fadeInRemover.d.ts.map +1 -1
  27. package/dist/features/fadeInRemover.lua +2 -0
  28. package/dist/features/fastReset.d.ts +0 -2
  29. package/dist/features/fastReset.d.ts.map +1 -1
  30. package/dist/features/fastReset.lua +2 -0
  31. package/dist/features/forgottenSwitch.d.ts +0 -2
  32. package/dist/features/forgottenSwitch.d.ts.map +1 -1
  33. package/dist/features/forgottenSwitch.lua +2 -0
  34. package/dist/features/pause.d.ts +0 -2
  35. package/dist/features/pause.d.ts.map +1 -1
  36. package/dist/features/pause.lua +2 -0
  37. package/dist/features/persistentEntities.d.ts +0 -2
  38. package/dist/features/persistentEntities.d.ts.map +1 -1
  39. package/dist/features/persistentEntities.lua +2 -0
  40. package/dist/features/pickupIndex.d.ts +0 -2
  41. package/dist/features/pickupIndex.d.ts.map +1 -1
  42. package/dist/features/pickupIndex.lua +2 -0
  43. package/dist/features/playerInventory.d.ts +0 -2
  44. package/dist/features/playerInventory.d.ts.map +1 -1
  45. package/dist/features/playerInventory.lua +2 -0
  46. package/dist/features/ponyDetection.d.ts +0 -2
  47. package/dist/features/ponyDetection.d.ts.map +1 -1
  48. package/dist/features/ponyDetection.lua +2 -0
  49. package/dist/features/preventChildEntities.d.ts +0 -2
  50. package/dist/features/preventChildEntities.d.ts.map +1 -1
  51. package/dist/features/preventChildEntities.lua +2 -0
  52. package/dist/features/preventCollectibleRotation.d.ts +0 -1
  53. package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
  54. package/dist/features/preventCollectibleRotation.lua +2 -0
  55. package/dist/features/registerHotkey.d.ts +0 -1
  56. package/dist/features/registerHotkey.d.ts.map +1 -1
  57. package/dist/features/registerHotkey.lua +2 -0
  58. package/dist/features/roomClearFrame.d.ts +0 -2
  59. package/dist/features/roomClearFrame.d.ts.map +1 -1
  60. package/dist/features/roomClearFrame.lua +2 -0
  61. package/dist/features/roomHistory.d.ts +0 -2
  62. package/dist/features/roomHistory.d.ts.map +1 -1
  63. package/dist/features/roomHistory.lua +2 -0
  64. package/dist/features/runInNFrames.d.ts +0 -2
  65. package/dist/features/runInNFrames.d.ts.map +1 -1
  66. package/dist/features/runInNFrames.lua +2 -0
  67. package/dist/features/runNextRoom.d.ts +0 -2
  68. package/dist/features/runNextRoom.d.ts.map +1 -1
  69. package/dist/features/runNextRoom.lua +2 -0
  70. package/dist/features/sirenHelpers.d.ts +0 -1
  71. package/dist/features/sirenHelpers.d.ts.map +1 -1
  72. package/dist/features/sirenHelpers.lua +2 -0
  73. package/dist/features/stageHistory.d.ts +0 -2
  74. package/dist/features/stageHistory.d.ts.map +1 -1
  75. package/dist/features/stageHistory.lua +2 -0
  76. package/dist/features/taintedLazarusPlayers.d.ts +0 -2
  77. package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
  78. package/dist/features/taintedLazarusPlayers.lua +2 -0
  79. package/dist/index.d.ts +22 -4
  80. package/dist/index.d.ts.map +1 -1
  81. package/dist/index.lua +144 -122
  82. package/package.json +1 -1
  83. package/src/features/characterHealthConversion.ts +1 -0
  84. package/src/features/characterStats.ts +1 -0
  85. package/src/features/collectibleItemPoolType.ts +1 -0
  86. package/src/features/customGridEntity.ts +1 -0
  87. package/src/features/customPickup.ts +1 -0
  88. package/src/features/deployJSONRoom.ts +1 -0
  89. package/src/features/disableAllSound.ts +1 -0
  90. package/src/features/disableInputs.ts +1 -0
  91. package/src/features/fadeInRemover.ts +1 -0
  92. package/src/features/fastReset.ts +4 -0
  93. package/src/features/forgottenSwitch.ts +1 -0
  94. package/src/features/pause.ts +1 -0
  95. package/src/features/persistentEntities.ts +1 -0
  96. package/src/features/pickupIndex.ts +1 -0
  97. package/src/features/playerInventory.ts +1 -0
  98. package/src/features/ponyDetection.ts +1 -0
  99. package/src/features/preventChildEntities.ts +1 -0
  100. package/src/features/preventCollectibleRotation.ts +1 -0
  101. package/src/features/registerHotkey.ts +1 -0
  102. package/src/features/roomClearFrame.ts +1 -0
  103. package/src/features/roomHistory.ts +1 -0
  104. package/src/features/runInNFrames.ts +1 -0
  105. package/src/features/runNextRoom.ts +1 -0
  106. package/src/features/sirenHelpers.ts +1 -0
  107. package/src/features/stageHistory.ts +1 -0
  108. package/src/features/taintedLazarusPlayers.ts +1 -0
  109. package/src/index.ts +24 -61
  110. package/src/types/AwaitingTextInput.d.ts +0 -2
@@ -13,6 +13,7 @@ const v = {
13
13
  },
14
14
  };
15
15
 
16
+ /** @internal */
16
17
  export function roomClearFrameInit(mod: ModUpgraded): void {
17
18
  saveDataManager(FEATURE_NAME, v);
18
19
 
@@ -23,6 +23,7 @@ const v = {
23
23
  },
24
24
  };
25
25
 
26
+ /** @internal */
26
27
  export function roomHistoryInit(mod: ModUpgraded): void {
27
28
  saveDataManager(FEATURE_NAME, v);
28
29
 
@@ -30,6 +30,7 @@ const v = {
30
30
  },
31
31
  };
32
32
 
33
+ /** @internal */
33
34
  export function runInNFramesInit(mod: Mod): void {
34
35
  saveDataManager(FEATURE_NAME, v, false); // Functions are not serializable.
35
36
 
@@ -12,6 +12,7 @@ const v = {
12
12
  },
13
13
  };
14
14
 
15
+ /** @internal */
15
16
  export function runNextRoomInit(mod: ModUpgraded): void {
16
17
  saveDataManager(FEATURE_NAME, v, false); // Functions are not serializable.
17
18
 
@@ -17,6 +17,7 @@ const v = {
17
17
  },
18
18
  };
19
19
 
20
+ /** @internal */
20
21
  export function sirenHelpersInit(mod: Mod): void {
21
22
  saveDataManager(FEATURE_NAME, v);
22
23
 
@@ -13,6 +13,7 @@ const v = {
13
13
  },
14
14
  };
15
15
 
16
+ /** @internal */
16
17
  export function stageHistoryInit(mod: ModUpgraded): void {
17
18
  saveDataManager(FEATURE_NAME, v);
18
19
 
@@ -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
package/src/index.ts CHANGED
@@ -14,74 +14,37 @@ export * from "./enums/SaveDataKey";
14
14
  export * from "./enums/SerializationType";
15
15
  export * from "./enums/SlotDestructionType";
16
16
  export * from "./enums/StatType";
17
- export {
18
- ConversionHeartSubType,
19
- registerCharacterHealthConversion,
20
- } from "./features/characterHealthConversion";
21
- export { registerCharacterStats } from "./features/characterStats";
22
- export { getCollectibleItemPoolType } from "./features/collectibleItemPoolType";
23
- export { initCustomDoor, spawnCustomDoor } from "./features/customDoor";
24
- export {
25
- removeCustomGridEntity,
26
- spawnCustomGridEntity,
27
- } from "./features/customGridEntity";
28
- export { registerCustomPickup } from "./features/customPickup";
17
+ export * from "./features/characterHealthConversion";
18
+ export * from "./features/characterStats";
19
+ export * from "./features/collectibleItemPoolType";
20
+ export * from "./features/customDoor";
21
+ export * from "./features/customGridEntity";
22
+ export * from "./features/customPickup";
29
23
  export * from "./features/customStage/exports";
30
24
  export * from "./features/customTrapdoor/exports";
31
25
  export * from "./features/debugDisplay/exports";
32
- export {
33
- deployJSONRoom,
34
- deployRandomJSONRoom,
35
- emptyRoom,
36
- } from "./features/deployJSONRoom";
37
- export { disableAllSound, enableAllSound } from "./features/disableAllSound";
38
- export {
39
- disableAllInputs,
40
- disableAllInputsExceptFor,
41
- disableInputs,
42
- disableMovementInputs,
43
- disableShootingInputs,
44
- enableAllInputs,
45
- enableAllInputsExceptFor,
46
- } from "./features/disableInputs";
26
+ export * from "./features/deployJSONRoom";
27
+ export * from "./features/disableAllSound";
28
+ export * from "./features/disableInputs";
47
29
  export * from "./features/extraConsoleCommands/exports";
48
- export { removeFadeIn, restoreFadeIn } from "./features/fadeInRemover";
49
- export { disableFastReset, enableFastReset } from "./features/fastReset";
50
- export { forgottenSwitch } from "./features/forgottenSwitch";
51
- export { pause, unpause } from "./features/pause";
52
- export {
53
- removePersistentEntity,
54
- spawnPersistentEntity,
55
- } from "./features/persistentEntities";
30
+ export * from "./features/fadeInRemover";
31
+ export * from "./features/fastReset";
32
+ export * from "./features/forgottenSwitch";
33
+ export * from "./features/pause";
34
+ export * from "./features/persistentEntities";
56
35
  export * from "./features/pickupIndex";
57
- export { getPlayerInventory } from "./features/playerInventory";
58
- export {
59
- anyPlayerUsingPony,
60
- isPlayerUsingPony,
61
- } from "./features/ponyDetection";
62
- export { preventChildEntities } from "./features/preventChildEntities";
63
- export { preventCollectibleRotation } from "./features/preventCollectibleRotation";
64
- export { registerHotkey, unregisterHotkey } from "./features/registerHotkey";
65
- export {
66
- getRoomClearGameFrame,
67
- getRoomClearRoomFrame,
68
- } from "./features/roomClearFrame";
36
+ export * from "./features/playerInventory";
37
+ export * from "./features/ponyDetection";
38
+ export * from "./features/preventChildEntities";
39
+ export * from "./features/preventCollectibleRotation";
40
+ export * from "./features/registerHotkey";
41
+ export * from "./features/roomClearFrame";
69
42
  export * from "./features/roomHistory";
70
- export {
71
- runInNGameFrames,
72
- runInNRenderFrames,
73
- runNextGameFrame,
74
- runNextRenderFrame,
75
- setIntervalGameFrames,
76
- setIntervalRenderFrames,
77
- } from "./features/runInNFrames";
43
+ export * from "./features/runInNFrames";
78
44
  export * from "./features/saveDataManager/exports";
79
- export {
80
- hasSirenStolenFamiliar,
81
- setFamiliarNoSirenSteal,
82
- } from "./features/sirenHelpers";
83
- export { getStageHistory, hasVisitedStage } from "./features/stageHistory";
84
- export { getTaintedLazarusSubPlayer } from "./features/taintedLazarusPlayers";
45
+ export * from "./features/sirenHelpers";
46
+ export * from "./features/stageHistory";
47
+ export * from "./features/taintedLazarusPlayers";
85
48
  export * from "./functions/ambush";
86
49
  export * from "./functions/array";
87
50
  export * from "./functions/benchmark";
@@ -1,2 +0,0 @@
1
- /** A global variable set by custom consoles. */
2
- declare let AwaitingTextInput: boolean;