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
@@ -19,6 +19,8 @@ function postNewLevelReordered(self)
19
19
  end
20
20
  local FEATURE_NAME = "stageHistory"
21
21
  v = {run = {stageHistory = {}}}
22
+ ---
23
+ -- @internal
22
24
  function ____exports.stageHistoryInit(self, mod)
23
25
  saveDataManager(nil, FEATURE_NAME, v)
24
26
  mod:AddCallbackCustom(ModCallbackCustom.POST_NEW_LEVEL_REORDERED, postNewLevelReordered)
@@ -1,6 +1,4 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
- import { ModUpgraded } from "../classes/ModUpgraded";
3
- export declare function taintedLazarusPlayersInit(mod: ModUpgraded): void;
4
2
  /**
5
3
  * Helper function to get the other version of Tainted Lazarus.
6
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"taintedLazarusPlayers.d.ts","sourceRoot":"","sources":["../../src/features/taintedLazarusPlayers.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AA4BrD,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAOhE;AAuDD;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,YAAY,GACnB,YAAY,GAAG,SAAS,CAK1B"}
1
+ {"version":3,"file":"taintedLazarusPlayers.d.ts","sourceRoot":"","sources":["../../src/features/taintedLazarusPlayers.ts"],"names":[],"mappings":";AA+FA;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,YAAY,GACnB,YAAY,GAAG,SAAS,CAK1B"}
@@ -49,6 +49,8 @@ v = {run = {
49
49
  queuedDeadTaintedLazarus = {},
50
50
  subPlayerMap = __TS__New(Map)
51
51
  }}
52
+ ---
53
+ -- @internal
52
54
  function ____exports.taintedLazarusPlayersInit(self, mod)
53
55
  saveDataManager(nil, FEATURE_NAME, v, false)
54
56
  mod:AddCallback(ModCallback.POST_PLAYER_INIT, postPlayerInit)
package/dist/index.d.ts CHANGED
@@ -2815,6 +2815,22 @@ export declare function getCombinedBossSet(stage: int): Set<string> | undefined;
2815
2815
  */
2816
2816
  export declare function getCrawlSpaces(crawlSpaceVariant?: CrawlSpaceVariant): GridEntity[];
2817
2817
 
2818
+ /**
2819
+ * Helper function to get the custom grid entities in the current room. Returns an array of tuples
2820
+ * containing the raw decoration grid entity and the associated entity data.
2821
+ */
2822
+ export declare function getCustomGridEntities(): Array<[
2823
+ gridEntity: GridEntity,
2824
+ data: GridEntityCustomData
2825
+ ]>;
2826
+
2827
+ /**
2828
+ * Helper function to get the custom `GridEntityType` from a `GridEntity` or grid index. Returns
2829
+ * undefined if the provided `GridEntity` is not a custom grid entity, or if there was not a grid
2830
+ * entity on the provided grid index.
2831
+ */
2832
+ export declare function getCustomGridEntityType(gridEntityOrGridIndex: GridEntity | int): GridEntityType | undefined;
2833
+
2818
2834
  /**
2819
2835
  * Helper function to prefix the name of the function and the line number before a debug message.
2820
2836
  */
@@ -5436,6 +5452,12 @@ export declare function isCollectibleUnlocked(collectibleType: CollectibleType,
5436
5452
  /** Helper function to check if something is an instantiated `Color` object. */
5437
5453
  export declare function isColor(object: unknown): object is Color;
5438
5454
 
5455
+ /**
5456
+ * Helper function to check if a `GridEntity` is a custom grid entity or if a grid index has a
5457
+ * custom grid entity.
5458
+ */
5459
+ export declare function isCustomGridEntity(gridEntityOrGridIndex: GridEntity | int): boolean;
5460
+
5439
5461
  /**
5440
5462
  * Helper function to distinguish between a normal Daddy Long Legs / Triachnid and the child entity
5441
5463
  * that is spawned when the boss does the multi-stomp attack.
@@ -8137,8 +8159,6 @@ export declare type PickupIndex = int & {
8137
8159
  readonly __pickupIndexBrand: symbol;
8138
8160
  };
8139
8161
 
8140
- export declare function pickupIndexInit(mod: ModUpgraded): void;
8141
-
8142
8162
  /** Maps pill effect names to the values of the `PillEffect` enum. */
8143
8163
  export declare const PILL_EFFECT_MAP: ReadonlyMap<string, PillEffect>;
8144
8164
 
@@ -9495,8 +9515,6 @@ export declare function roomExists(roomGridIndex: int): boolean;
9495
9515
  */
9496
9516
  export declare function roomGridIndexToXY(roomGridIndex: int): [x: int, y: int];
9497
9517
 
9498
- export declare function roomHistoryInit(mod: ModUpgraded): void;
9499
-
9500
9518
  /**
9501
9519
  * If the `Room.Update` method is called in a `POST_NEW_ROOM` callback, then some entities will
9502
9520
  * slide around (such as the player). Since those entity velocities are already at zero, setting
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,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,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACL,sBAAsB,EACtB,iCAAiC,GAClC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EACL,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,SAAS,GACV,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EACL,gBAAgB,EACh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,cAAc,qBAAqB,CAAC;AACpC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC"}
package/dist/index.lua CHANGED
@@ -128,38 +128,52 @@ do
128
128
  end
129
129
  end
130
130
  do
131
- local ____characterHealthConversion = require("features.characterHealthConversion")
132
- local registerCharacterHealthConversion = ____characterHealthConversion.registerCharacterHealthConversion
133
- ____exports.registerCharacterHealthConversion = registerCharacterHealthConversion
131
+ local ____export = require("features.characterHealthConversion")
132
+ for ____exportKey, ____exportValue in pairs(____export) do
133
+ if ____exportKey ~= "default" then
134
+ ____exports[____exportKey] = ____exportValue
135
+ end
136
+ end
134
137
  end
135
138
  do
136
- local ____characterStats = require("features.characterStats")
137
- local registerCharacterStats = ____characterStats.registerCharacterStats
138
- ____exports.registerCharacterStats = registerCharacterStats
139
+ local ____export = require("features.characterStats")
140
+ for ____exportKey, ____exportValue in pairs(____export) do
141
+ if ____exportKey ~= "default" then
142
+ ____exports[____exportKey] = ____exportValue
143
+ end
144
+ end
139
145
  end
140
146
  do
141
- local ____collectibleItemPoolType = require("features.collectibleItemPoolType")
142
- local getCollectibleItemPoolType = ____collectibleItemPoolType.getCollectibleItemPoolType
143
- ____exports.getCollectibleItemPoolType = getCollectibleItemPoolType
147
+ local ____export = require("features.collectibleItemPoolType")
148
+ for ____exportKey, ____exportValue in pairs(____export) do
149
+ if ____exportKey ~= "default" then
150
+ ____exports[____exportKey] = ____exportValue
151
+ end
152
+ end
144
153
  end
145
154
  do
146
- local ____customDoor = require("features.customDoor")
147
- local initCustomDoor = ____customDoor.initCustomDoor
148
- local spawnCustomDoor = ____customDoor.spawnCustomDoor
149
- ____exports.initCustomDoor = initCustomDoor
150
- ____exports.spawnCustomDoor = spawnCustomDoor
155
+ local ____export = require("features.customDoor")
156
+ for ____exportKey, ____exportValue in pairs(____export) do
157
+ if ____exportKey ~= "default" then
158
+ ____exports[____exportKey] = ____exportValue
159
+ end
160
+ end
151
161
  end
152
162
  do
153
- local ____customGridEntity = require("features.customGridEntity")
154
- local removeCustomGridEntity = ____customGridEntity.removeCustomGridEntity
155
- local spawnCustomGridEntity = ____customGridEntity.spawnCustomGridEntity
156
- ____exports.removeCustomGridEntity = removeCustomGridEntity
157
- ____exports.spawnCustomGridEntity = spawnCustomGridEntity
163
+ local ____export = require("features.customGridEntity")
164
+ for ____exportKey, ____exportValue in pairs(____export) do
165
+ if ____exportKey ~= "default" then
166
+ ____exports[____exportKey] = ____exportValue
167
+ end
168
+ end
158
169
  end
159
170
  do
160
- local ____customPickup = require("features.customPickup")
161
- local registerCustomPickup = ____customPickup.registerCustomPickup
162
- ____exports.registerCustomPickup = registerCustomPickup
171
+ local ____export = require("features.customPickup")
172
+ for ____exportKey, ____exportValue in pairs(____export) do
173
+ if ____exportKey ~= "default" then
174
+ ____exports[____exportKey] = ____exportValue
175
+ end
176
+ end
163
177
  end
164
178
  do
165
179
  local ____export = require("features.customStage.exports")
@@ -186,37 +200,28 @@ do
186
200
  end
187
201
  end
188
202
  do
189
- local ____deployJSONRoom = require("features.deployJSONRoom")
190
- local deployJSONRoom = ____deployJSONRoom.deployJSONRoom
191
- local deployRandomJSONRoom = ____deployJSONRoom.deployRandomJSONRoom
192
- local emptyRoom = ____deployJSONRoom.emptyRoom
193
- ____exports.deployJSONRoom = deployJSONRoom
194
- ____exports.deployRandomJSONRoom = deployRandomJSONRoom
195
- ____exports.emptyRoom = emptyRoom
203
+ local ____export = require("features.deployJSONRoom")
204
+ for ____exportKey, ____exportValue in pairs(____export) do
205
+ if ____exportKey ~= "default" then
206
+ ____exports[____exportKey] = ____exportValue
207
+ end
208
+ end
196
209
  end
197
210
  do
198
- local ____disableAllSound = require("features.disableAllSound")
199
- local disableAllSound = ____disableAllSound.disableAllSound
200
- local enableAllSound = ____disableAllSound.enableAllSound
201
- ____exports.disableAllSound = disableAllSound
202
- ____exports.enableAllSound = enableAllSound
211
+ local ____export = require("features.disableAllSound")
212
+ for ____exportKey, ____exportValue in pairs(____export) do
213
+ if ____exportKey ~= "default" then
214
+ ____exports[____exportKey] = ____exportValue
215
+ end
216
+ end
203
217
  end
204
218
  do
205
- local ____disableInputs = require("features.disableInputs")
206
- local disableAllInputs = ____disableInputs.disableAllInputs
207
- local disableAllInputsExceptFor = ____disableInputs.disableAllInputsExceptFor
208
- local disableInputs = ____disableInputs.disableInputs
209
- local disableMovementInputs = ____disableInputs.disableMovementInputs
210
- local disableShootingInputs = ____disableInputs.disableShootingInputs
211
- local enableAllInputs = ____disableInputs.enableAllInputs
212
- local enableAllInputsExceptFor = ____disableInputs.enableAllInputsExceptFor
213
- ____exports.disableAllInputs = disableAllInputs
214
- ____exports.disableAllInputsExceptFor = disableAllInputsExceptFor
215
- ____exports.disableInputs = disableInputs
216
- ____exports.disableMovementInputs = disableMovementInputs
217
- ____exports.disableShootingInputs = disableShootingInputs
218
- ____exports.enableAllInputs = enableAllInputs
219
- ____exports.enableAllInputsExceptFor = enableAllInputsExceptFor
219
+ local ____export = require("features.disableInputs")
220
+ for ____exportKey, ____exportValue in pairs(____export) do
221
+ if ____exportKey ~= "default" then
222
+ ____exports[____exportKey] = ____exportValue
223
+ end
224
+ end
220
225
  end
221
226
  do
222
227
  local ____export = require("features.extraConsoleCommands.exports")
@@ -227,37 +232,44 @@ do
227
232
  end
228
233
  end
229
234
  do
230
- local ____fadeInRemover = require("features.fadeInRemover")
231
- local removeFadeIn = ____fadeInRemover.removeFadeIn
232
- local restoreFadeIn = ____fadeInRemover.restoreFadeIn
233
- ____exports.removeFadeIn = removeFadeIn
234
- ____exports.restoreFadeIn = restoreFadeIn
235
+ local ____export = require("features.fadeInRemover")
236
+ for ____exportKey, ____exportValue in pairs(____export) do
237
+ if ____exportKey ~= "default" then
238
+ ____exports[____exportKey] = ____exportValue
239
+ end
240
+ end
235
241
  end
236
242
  do
237
- local ____fastReset = require("features.fastReset")
238
- local disableFastReset = ____fastReset.disableFastReset
239
- local enableFastReset = ____fastReset.enableFastReset
240
- ____exports.disableFastReset = disableFastReset
241
- ____exports.enableFastReset = enableFastReset
243
+ local ____export = require("features.fastReset")
244
+ for ____exportKey, ____exportValue in pairs(____export) do
245
+ if ____exportKey ~= "default" then
246
+ ____exports[____exportKey] = ____exportValue
247
+ end
248
+ end
242
249
  end
243
250
  do
244
- local ____forgottenSwitch = require("features.forgottenSwitch")
245
- local forgottenSwitch = ____forgottenSwitch.forgottenSwitch
246
- ____exports.forgottenSwitch = forgottenSwitch
251
+ local ____export = require("features.forgottenSwitch")
252
+ for ____exportKey, ____exportValue in pairs(____export) do
253
+ if ____exportKey ~= "default" then
254
+ ____exports[____exportKey] = ____exportValue
255
+ end
256
+ end
247
257
  end
248
258
  do
249
- local ____pause = require("features.pause")
250
- local pause = ____pause.pause
251
- local unpause = ____pause.unpause
252
- ____exports.pause = pause
253
- ____exports.unpause = unpause
259
+ local ____export = require("features.pause")
260
+ for ____exportKey, ____exportValue in pairs(____export) do
261
+ if ____exportKey ~= "default" then
262
+ ____exports[____exportKey] = ____exportValue
263
+ end
264
+ end
254
265
  end
255
266
  do
256
- local ____persistentEntities = require("features.persistentEntities")
257
- local removePersistentEntity = ____persistentEntities.removePersistentEntity
258
- local spawnPersistentEntity = ____persistentEntities.spawnPersistentEntity
259
- ____exports.removePersistentEntity = removePersistentEntity
260
- ____exports.spawnPersistentEntity = spawnPersistentEntity
267
+ local ____export = require("features.persistentEntities")
268
+ for ____exportKey, ____exportValue in pairs(____export) do
269
+ if ____exportKey ~= "default" then
270
+ ____exports[____exportKey] = ____exportValue
271
+ end
272
+ end
261
273
  end
262
274
  do
263
275
  local ____export = require("features.pickupIndex")
@@ -268,40 +280,52 @@ do
268
280
  end
269
281
  end
270
282
  do
271
- local ____playerInventory = require("features.playerInventory")
272
- local getPlayerInventory = ____playerInventory.getPlayerInventory
273
- ____exports.getPlayerInventory = getPlayerInventory
283
+ local ____export = require("features.playerInventory")
284
+ for ____exportKey, ____exportValue in pairs(____export) do
285
+ if ____exportKey ~= "default" then
286
+ ____exports[____exportKey] = ____exportValue
287
+ end
288
+ end
274
289
  end
275
290
  do
276
- local ____ponyDetection = require("features.ponyDetection")
277
- local anyPlayerUsingPony = ____ponyDetection.anyPlayerUsingPony
278
- local isPlayerUsingPony = ____ponyDetection.isPlayerUsingPony
279
- ____exports.anyPlayerUsingPony = anyPlayerUsingPony
280
- ____exports.isPlayerUsingPony = isPlayerUsingPony
291
+ local ____export = require("features.ponyDetection")
292
+ for ____exportKey, ____exportValue in pairs(____export) do
293
+ if ____exportKey ~= "default" then
294
+ ____exports[____exportKey] = ____exportValue
295
+ end
296
+ end
281
297
  end
282
298
  do
283
- local ____preventChildEntities = require("features.preventChildEntities")
284
- local preventChildEntities = ____preventChildEntities.preventChildEntities
285
- ____exports.preventChildEntities = preventChildEntities
299
+ local ____export = require("features.preventChildEntities")
300
+ for ____exportKey, ____exportValue in pairs(____export) do
301
+ if ____exportKey ~= "default" then
302
+ ____exports[____exportKey] = ____exportValue
303
+ end
304
+ end
286
305
  end
287
306
  do
288
- local ____preventCollectibleRotation = require("features.preventCollectibleRotation")
289
- local preventCollectibleRotation = ____preventCollectibleRotation.preventCollectibleRotation
290
- ____exports.preventCollectibleRotation = preventCollectibleRotation
307
+ local ____export = require("features.preventCollectibleRotation")
308
+ for ____exportKey, ____exportValue in pairs(____export) do
309
+ if ____exportKey ~= "default" then
310
+ ____exports[____exportKey] = ____exportValue
311
+ end
312
+ end
291
313
  end
292
314
  do
293
- local ____registerHotkey = require("features.registerHotkey")
294
- local registerHotkey = ____registerHotkey.registerHotkey
295
- local unregisterHotkey = ____registerHotkey.unregisterHotkey
296
- ____exports.registerHotkey = registerHotkey
297
- ____exports.unregisterHotkey = unregisterHotkey
315
+ local ____export = require("features.registerHotkey")
316
+ for ____exportKey, ____exportValue in pairs(____export) do
317
+ if ____exportKey ~= "default" then
318
+ ____exports[____exportKey] = ____exportValue
319
+ end
320
+ end
298
321
  end
299
322
  do
300
- local ____roomClearFrame = require("features.roomClearFrame")
301
- local getRoomClearGameFrame = ____roomClearFrame.getRoomClearGameFrame
302
- local getRoomClearRoomFrame = ____roomClearFrame.getRoomClearRoomFrame
303
- ____exports.getRoomClearGameFrame = getRoomClearGameFrame
304
- ____exports.getRoomClearRoomFrame = getRoomClearRoomFrame
323
+ local ____export = require("features.roomClearFrame")
324
+ for ____exportKey, ____exportValue in pairs(____export) do
325
+ if ____exportKey ~= "default" then
326
+ ____exports[____exportKey] = ____exportValue
327
+ end
328
+ end
305
329
  end
306
330
  do
307
331
  local ____export = require("features.roomHistory")
@@ -312,19 +336,12 @@ do
312
336
  end
313
337
  end
314
338
  do
315
- local ____runInNFrames = require("features.runInNFrames")
316
- local runInNGameFrames = ____runInNFrames.runInNGameFrames
317
- local runInNRenderFrames = ____runInNFrames.runInNRenderFrames
318
- local runNextGameFrame = ____runInNFrames.runNextGameFrame
319
- local runNextRenderFrame = ____runInNFrames.runNextRenderFrame
320
- local setIntervalGameFrames = ____runInNFrames.setIntervalGameFrames
321
- local setIntervalRenderFrames = ____runInNFrames.setIntervalRenderFrames
322
- ____exports.runInNGameFrames = runInNGameFrames
323
- ____exports.runInNRenderFrames = runInNRenderFrames
324
- ____exports.runNextGameFrame = runNextGameFrame
325
- ____exports.runNextRenderFrame = runNextRenderFrame
326
- ____exports.setIntervalGameFrames = setIntervalGameFrames
327
- ____exports.setIntervalRenderFrames = setIntervalRenderFrames
339
+ local ____export = require("features.runInNFrames")
340
+ for ____exportKey, ____exportValue in pairs(____export) do
341
+ if ____exportKey ~= "default" then
342
+ ____exports[____exportKey] = ____exportValue
343
+ end
344
+ end
328
345
  end
329
346
  do
330
347
  local ____export = require("features.saveDataManager.exports")
@@ -335,23 +352,28 @@ do
335
352
  end
336
353
  end
337
354
  do
338
- local ____sirenHelpers = require("features.sirenHelpers")
339
- local hasSirenStolenFamiliar = ____sirenHelpers.hasSirenStolenFamiliar
340
- local setFamiliarNoSirenSteal = ____sirenHelpers.setFamiliarNoSirenSteal
341
- ____exports.hasSirenStolenFamiliar = hasSirenStolenFamiliar
342
- ____exports.setFamiliarNoSirenSteal = setFamiliarNoSirenSteal
355
+ local ____export = require("features.sirenHelpers")
356
+ for ____exportKey, ____exportValue in pairs(____export) do
357
+ if ____exportKey ~= "default" then
358
+ ____exports[____exportKey] = ____exportValue
359
+ end
360
+ end
343
361
  end
344
362
  do
345
- local ____stageHistory = require("features.stageHistory")
346
- local getStageHistory = ____stageHistory.getStageHistory
347
- local hasVisitedStage = ____stageHistory.hasVisitedStage
348
- ____exports.getStageHistory = getStageHistory
349
- ____exports.hasVisitedStage = hasVisitedStage
363
+ local ____export = require("features.stageHistory")
364
+ for ____exportKey, ____exportValue in pairs(____export) do
365
+ if ____exportKey ~= "default" then
366
+ ____exports[____exportKey] = ____exportValue
367
+ end
368
+ end
350
369
  end
351
370
  do
352
- local ____taintedLazarusPlayers = require("features.taintedLazarusPlayers")
353
- local getTaintedLazarusSubPlayer = ____taintedLazarusPlayers.getTaintedLazarusSubPlayer
354
- ____exports.getTaintedLazarusSubPlayer = getTaintedLazarusSubPlayer
371
+ local ____export = require("features.taintedLazarusPlayers")
372
+ for ____exportKey, ____exportValue in pairs(____export) do
373
+ if ____exportKey ~= "default" then
374
+ ____exports[____exportKey] = ____exportValue
375
+ end
376
+ end
355
377
  end
356
378
  do
357
379
  local ____export = require("functions.ambush")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "7.17.2",
3
+ "version": "7.17.5",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -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
  }
@@ -22,6 +22,7 @@ const v = {
22
22
  },
23
23
  };
24
24
 
25
+ /** @internal */
25
26
  export function collectibleItemPoolTypeInit(mod: Mod): void {
26
27
  saveDataManager(FEATURE_NAME, v);
27
28
 
@@ -45,6 +45,7 @@ const v = {
45
45
  },
46
46
  };
47
47
 
48
+ /** @internal */
48
49
  export function customGridEntityInit(mod: ModUpgraded): void {
49
50
  saveDataManager(FEATURE_NAME, v);
50
51
 
@@ -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(
@@ -93,6 +93,7 @@ const v = {
93
93
  },
94
94
  };
95
95
 
96
+ /** @internal */
96
97
  export function deployJSONRoomInit(mod: ModUpgraded): void {
97
98
  saveDataManager(FEATURE_NAME, v);
98
99
 
@@ -14,6 +14,7 @@ const v = {
14
14
  },
15
15
  };
16
16
 
17
+ /** @internal */
17
18
  export function disableAllSoundInit(mod: Mod): void {
18
19
  saveDataManager(FEATURE_NAME, v);
19
20
 
@@ -28,6 +28,7 @@ const v = {
28
28
  },
29
29
  };
30
30
 
31
+ /** @internal */
31
32
  export function disableInputsInit(mod: Mod): void {
32
33
  saveDataManager(FEATURE_NAME, v);
33
34
 
@@ -14,6 +14,7 @@ const v = {
14
14
  },
15
15
  };
16
16
 
17
+ /** @internal */
17
18
  export function fadeInRemoverInit(mod: Mod): void {
18
19
  saveDataManager(FEATURE_NAME, v, () => false);
19
20
 
@@ -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
  }
@@ -14,6 +14,7 @@ const v = {
14
14
  },
15
15
  };
16
16
 
17
+ /** @internal */
17
18
  export function forgottenSwitchInit(mod: Mod): void {
18
19
  saveDataManager(FEATURE_NAME, v);
19
20
 
@@ -37,6 +37,7 @@ const v = {
37
37
  },
38
38
  };
39
39
 
40
+ /** @internal */
40
41
  export function pauseInit(mod: Mod): void {
41
42
  saveDataManager(FEATURE_NAME, v);
42
43
 
@@ -43,6 +43,7 @@ const v = {
43
43
  },
44
44
  };
45
45
 
46
+ /** @internal */
46
47
  export function persistentEntitiesInit(mod: ModUpgraded): void {
47
48
  saveDataManager(FEATURE_NAME, v);
48
49
 
@@ -44,6 +44,7 @@ const v = {
44
44
  },
45
45
  };
46
46
 
47
+ /** @internal */
47
48
  export function pickupIndexInit(mod: ModUpgraded): void {
48
49
  saveDataManager(FEATURE_NAME, v);
49
50
 
@@ -45,6 +45,7 @@ function resetInventory(player: EntityPlayer) {
45
45
  mapSetPlayer(v.run.playersInventory, player, inventory);
46
46
  }
47
47
 
48
+ /** @internal */
48
49
  export function playerInventoryInit(mod: ModUpgraded): void {
49
50
  saveDataManager(FEATURE_NAME, v);
50
51
 
@@ -33,6 +33,7 @@ const v = {
33
33
  },
34
34
  };
35
35
 
36
+ /** @internal */
36
37
  export function ponyDetectionInit(mod: ModUpgraded): void {
37
38
  saveDataManager(FEATURE_NAME, v);
38
39
 
@@ -9,6 +9,7 @@ const v = {
9
9
  },
10
10
  };
11
11
 
12
+ /** @internal */
12
13
  export function preventChildEntitiesInit(mod: Mod): void {
13
14
  saveDataManager(FEATURE_NAME, v);
14
15
 
@@ -32,6 +32,7 @@ const v = {
32
32
  },
33
33
  };
34
34
 
35
+ /** @internal */
35
36
  export function preventCollectibleRotationInit(mod: Mod): void {
36
37
  saveDataManager(FEATURE_NAME, v);
37
38
 
@@ -23,6 +23,7 @@ const dynamicHotkeyFunctionMap = new Map<
23
23
 
24
24
  const keyPressedMap = new DefaultMap<Keyboard, boolean>(false);
25
25
 
26
+ /** @internal */
26
27
  export function registerHotkeyInit(mod: Mod): void {
27
28
  mod.AddCallback(ModCallback.POST_RENDER, postRender); // 2
28
29
  }