isaacscript-common 87.4.0 → 87.5.1

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 (596) hide show
  1. package/README.md +1 -1
  2. package/dist/callbackClasses.d.ts +6 -6
  3. package/dist/callbackClasses.d.ts.map +1 -1
  4. package/dist/callbackClasses.js +14 -14
  5. package/dist/callbackClasses.lua +159 -300
  6. package/dist/callbacks.js +18 -9
  7. package/dist/classes/DefaultMap.d.ts +5 -1
  8. package/dist/classes/DefaultMap.d.ts.map +1 -1
  9. package/dist/classes/ModFeature.js +3 -3
  10. package/dist/classes/ModUpgraded.d.ts.map +1 -1
  11. package/dist/classes/ModUpgraded.js +2 -4
  12. package/dist/classes/callbacks/InputActionFilter.d.ts +2 -2
  13. package/dist/classes/callbacks/InputActionFilter.d.ts.map +1 -1
  14. package/dist/classes/callbacks/InputActionPlayer.d.ts +2 -2
  15. package/dist/classes/callbacks/InputActionPlayer.d.ts.map +1 -1
  16. package/dist/classes/callbacks/PostCollectibleEmpty.d.ts +2 -2
  17. package/dist/classes/callbacks/PostCollectibleEmpty.d.ts.map +1 -1
  18. package/dist/classes/callbacks/PostCollectibleEmpty.js +1 -3
  19. package/dist/classes/callbacks/PostCustomRevive.d.ts +2 -4
  20. package/dist/classes/callbacks/PostCustomRevive.d.ts.map +1 -1
  21. package/dist/classes/callbacks/PostDiceRoomActivated.d.ts +2 -3
  22. package/dist/classes/callbacks/PostDiceRoomActivated.d.ts.map +1 -1
  23. package/dist/classes/callbacks/PostGridEntityCollision.d.ts +2 -4
  24. package/dist/classes/callbacks/PostGridEntityCollision.d.ts.map +1 -1
  25. package/dist/classes/callbacks/PostGridEntityCustomCollision.d.ts +2 -4
  26. package/dist/classes/callbacks/PostGridEntityCustomCollision.d.ts.map +1 -1
  27. package/dist/classes/callbacks/PostGridEntityCustomRemove.d.ts +2 -3
  28. package/dist/classes/callbacks/PostGridEntityCustomRemove.d.ts.map +1 -1
  29. package/dist/classes/callbacks/PostGridEntityRemove.d.ts +2 -2
  30. package/dist/classes/callbacks/PostGridEntityRemove.d.ts.map +1 -1
  31. package/dist/classes/callbacks/PostItemDischarge.d.ts +2 -2
  32. package/dist/classes/callbacks/PostItemDischarge.d.ts.map +1 -1
  33. package/dist/classes/callbacks/PostItemDischarge.js +3 -6
  34. package/dist/classes/callbacks/PostKeyboardChanged.d.ts +2 -1
  35. package/dist/classes/callbacks/PostKeyboardChanged.d.ts.map +1 -1
  36. package/dist/classes/callbacks/PostNewRoomEarly.js +1 -1
  37. package/dist/classes/callbacks/PostPickupSelectionFilter.d.ts +2 -2
  38. package/dist/classes/callbacks/PostPickupSelectionFilter.d.ts.map +1 -1
  39. package/dist/classes/callbacks/PostPlayerChangeType.js +1 -1
  40. package/dist/classes/callbacks/PostPurchase.d.ts +2 -4
  41. package/dist/classes/callbacks/PostPurchase.d.ts.map +1 -1
  42. package/dist/classes/callbacks/PostRoomClearChanged.d.ts.map +1 -1
  43. package/dist/classes/callbacks/PostTransformation.d.ts +2 -2
  44. package/dist/classes/callbacks/PostTransformation.d.ts.map +1 -1
  45. package/dist/classes/callbacks/PostTransformation.js +1 -3
  46. package/dist/classes/callbacks/PostTrinketBreak.d.ts.map +1 -1
  47. package/dist/classes/callbacks/PostTrinketBreak.js +1 -3
  48. package/dist/classes/callbacks/PreEntitySpawnFilter.d.ts +2 -2
  49. package/dist/classes/callbacks/PreEntitySpawnFilter.d.ts.map +1 -1
  50. package/dist/classes/callbacks/PreNewLevel.d.ts.map +1 -1
  51. package/dist/classes/callbacks/PreRoomEntitySpawnFilter.d.ts +2 -2
  52. package/dist/classes/callbacks/PreRoomEntitySpawnFilter.d.ts.map +1 -1
  53. package/dist/classes/features/callbackLogic/CustomGridEntities.d.ts +1 -1
  54. package/dist/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
  55. package/dist/classes/features/callbackLogic/CustomRevive.d.ts.map +1 -1
  56. package/dist/classes/features/callbackLogic/EsauJrDetection.d.ts.map +1 -1
  57. package/dist/classes/features/callbackLogic/GameReorderedCallbacks.d.ts.map +1 -1
  58. package/dist/classes/features/callbackLogic/GameReorderedCallbacks.js +4 -6
  59. package/dist/classes/features/callbackLogic/ItemPickupDetection.d.ts.map +1 -1
  60. package/dist/classes/features/callbackLogic/ItemPickupDetection.js +6 -2
  61. package/dist/classes/features/callbackLogic/ItemPickupDetection.lua +6 -1
  62. package/dist/classes/features/callbackLogic/PlayerReorderedCallbacks.d.ts +0 -1
  63. package/dist/classes/features/callbackLogic/PlayerReorderedCallbacks.d.ts.map +1 -1
  64. package/dist/classes/features/callbackLogic/PlayerReorderedCallbacks.js +4 -4
  65. package/dist/classes/features/other/CustomPickups.d.ts.map +1 -1
  66. package/dist/classes/features/other/CustomPickups.js +1 -0
  67. package/dist/classes/features/other/CustomStages.js +19 -9
  68. package/dist/classes/features/other/CustomTrapdoors.d.ts.map +1 -1
  69. package/dist/classes/features/other/CustomTrapdoors.js +23 -17
  70. package/dist/classes/features/other/CustomTrapdoors.lua +14 -7
  71. package/dist/classes/features/other/DebugDisplay.d.ts +0 -18
  72. package/dist/classes/features/other/DebugDisplay.d.ts.map +1 -1
  73. package/dist/classes/features/other/DeployJSONRoom.d.ts +0 -2
  74. package/dist/classes/features/other/DeployJSONRoom.d.ts.map +1 -1
  75. package/dist/classes/features/other/DeployJSONRoom.js +2 -0
  76. package/dist/classes/features/other/EdenStartingStatsHealth.d.ts +1 -1
  77. package/dist/classes/features/other/EdenStartingStatsHealth.d.ts.map +1 -1
  78. package/dist/classes/features/other/ExtraConsoleCommands.d.ts +14 -10
  79. package/dist/classes/features/other/ExtraConsoleCommands.d.ts.map +1 -1
  80. package/dist/classes/features/other/ExtraConsoleCommands.js +31 -17
  81. package/dist/classes/features/other/ExtraConsoleCommands.lua +2 -1
  82. package/dist/classes/features/other/FlyingDetection.d.ts +0 -1
  83. package/dist/classes/features/other/FlyingDetection.d.ts.map +1 -1
  84. package/dist/classes/features/other/ForgottenSwitch.d.ts +0 -1
  85. package/dist/classes/features/other/ForgottenSwitch.d.ts.map +1 -1
  86. package/dist/classes/features/other/ModdedElementDetection.js +4 -4
  87. package/dist/classes/features/other/ModdedElementSets.d.ts +2 -2
  88. package/dist/classes/features/other/ModdedElementSets.d.ts.map +1 -1
  89. package/dist/classes/features/other/ModdedElementSets.js +1 -1
  90. package/dist/classes/features/other/PickupIndexCreation.d.ts +0 -1
  91. package/dist/classes/features/other/PickupIndexCreation.d.ts.map +1 -1
  92. package/dist/classes/features/other/PickupIndexCreation.js +2 -3
  93. package/dist/classes/features/other/PickupIndexCreation.lua +10 -10
  94. package/dist/classes/features/other/PonyDetection.d.ts +0 -1
  95. package/dist/classes/features/other/PonyDetection.d.ts.map +1 -1
  96. package/dist/classes/features/other/PreventChildEntities.d.ts +0 -1
  97. package/dist/classes/features/other/PreventChildEntities.d.ts.map +1 -1
  98. package/dist/classes/features/other/RoomClearFrame.d.ts +0 -1
  99. package/dist/classes/features/other/RoomClearFrame.d.ts.map +1 -1
  100. package/dist/classes/features/other/RoomHistory.d.ts +0 -1
  101. package/dist/classes/features/other/RoomHistory.d.ts.map +1 -1
  102. package/dist/classes/features/other/RunInNFrames.js +2 -2
  103. package/dist/classes/features/other/SaveDataManager.js +1 -1
  104. package/dist/classes/features/other/SpawnRockAltRewards.d.ts +0 -4
  105. package/dist/classes/features/other/SpawnRockAltRewards.d.ts.map +1 -1
  106. package/dist/classes/features/other/TaintedLazarusPlayers.d.ts +0 -1
  107. package/dist/classes/features/other/TaintedLazarusPlayers.d.ts.map +1 -1
  108. package/dist/classes/features/other/customStages/backdrop.js +2 -3
  109. package/dist/classes/features/other/customStages/constants.d.ts.map +1 -1
  110. package/dist/classes/features/other/customStages/gridEntities.d.ts +0 -1
  111. package/dist/classes/features/other/customStages/gridEntities.d.ts.map +1 -1
  112. package/dist/classes/features/other/customStages/gridEntities.js +5 -6
  113. package/dist/classes/features/other/customStages/shadows.js +1 -2
  114. package/dist/classes/features/other/customStages/streakText.js +3 -4
  115. package/dist/classes/features/other/customStages/utils.d.ts +0 -2
  116. package/dist/classes/features/other/customStages/utils.d.ts.map +1 -1
  117. package/dist/classes/features/other/customStages/utils.js +2 -3
  118. package/dist/classes/features/other/customStages/v.d.ts.map +1 -1
  119. package/dist/classes/features/other/customStages/versusScreen.js +2 -3
  120. package/dist/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts +0 -1
  121. package/dist/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts.map +1 -1
  122. package/dist/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts +0 -1
  123. package/dist/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts.map +1 -1
  124. package/dist/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts +0 -1
  125. package/dist/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts.map +1 -1
  126. package/dist/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts +0 -1
  127. package/dist/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts.map +1 -1
  128. package/dist/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts +0 -1
  129. package/dist/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts.map +1 -1
  130. package/dist/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts +0 -1
  131. package/dist/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts.map +1 -1
  132. package/dist/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts +0 -1
  133. package/dist/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts.map +1 -1
  134. package/dist/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts +0 -1
  135. package/dist/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts.map +1 -1
  136. package/dist/classes/features/other/debugDisplay/DebugDisplayPit.d.ts +0 -1
  137. package/dist/classes/features/other/debugDisplay/DebugDisplayPit.d.ts.map +1 -1
  138. package/dist/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts +0 -1
  139. package/dist/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts.map +1 -1
  140. package/dist/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts +0 -1
  141. package/dist/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts.map +1 -1
  142. package/dist/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts +0 -1
  143. package/dist/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts.map +1 -1
  144. package/dist/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts +0 -1
  145. package/dist/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts.map +1 -1
  146. package/dist/classes/features/other/debugDisplay/DebugDisplayRock.d.ts +0 -1
  147. package/dist/classes/features/other/debugDisplay/DebugDisplayRock.d.ts.map +1 -1
  148. package/dist/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts +0 -1
  149. package/dist/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts.map +1 -1
  150. package/dist/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts +0 -1
  151. package/dist/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts.map +1 -1
  152. package/dist/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts +0 -1
  153. package/dist/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts.map +1 -1
  154. package/dist/classes/features/other/debugDisplay/DebugDisplayTear.d.ts +0 -1
  155. package/dist/classes/features/other/debugDisplay/DebugDisplayTear.d.ts.map +1 -1
  156. package/dist/classes/features/other/debugDisplay/utils.d.ts +0 -2
  157. package/dist/classes/features/other/debugDisplay/utils.d.ts.map +1 -1
  158. package/dist/classes/features/other/debugDisplay/utils.js +2 -3
  159. package/dist/classes/features/other/extraConsoleCommands/commands.js +147 -150
  160. package/dist/classes/features/other/extraConsoleCommands/subroutines.js +8 -9
  161. package/dist/classes/features/other/saveDataManager/constants.d.ts.map +1 -1
  162. package/dist/classes/features/other/saveDataManager/glowingHourGlass.d.ts +0 -1
  163. package/dist/classes/features/other/saveDataManager/glowingHourGlass.d.ts.map +1 -1
  164. package/dist/classes/features/other/saveDataManager/glowingHourGlass.js +2 -3
  165. package/dist/classes/features/other/saveDataManager/loadFromDisk.d.ts +0 -2
  166. package/dist/classes/features/other/saveDataManager/loadFromDisk.d.ts.map +1 -1
  167. package/dist/classes/features/other/saveDataManager/loadFromDisk.js +5 -2
  168. package/dist/classes/features/other/saveDataManager/loadFromDisk.lua +3 -0
  169. package/dist/classes/features/other/saveDataManager/restoreDefaults.d.ts +0 -1
  170. package/dist/classes/features/other/saveDataManager/restoreDefaults.d.ts.map +1 -1
  171. package/dist/classes/features/other/saveDataManager/restoreDefaults.js +3 -4
  172. package/dist/classes/features/other/saveDataManager/saveToDisk.d.ts +0 -2
  173. package/dist/classes/features/other/saveDataManager/saveToDisk.d.ts.map +1 -1
  174. package/dist/classes/features/other/saveDataManager/saveToDisk.js +1 -2
  175. package/dist/classes/private/CustomCallback.d.ts.map +1 -1
  176. package/dist/core/cachedClasses.d.ts +0 -5
  177. package/dist/core/cachedClasses.d.ts.map +1 -1
  178. package/dist/core/constants.js +1 -1
  179. package/dist/core/constantsVanilla.js +4 -4
  180. package/dist/core/upgradeMod.d.ts +0 -2
  181. package/dist/core/upgradeMod.d.ts.map +1 -1
  182. package/dist/core/upgradeMod.js +1 -2
  183. package/dist/decorators.js +2 -2
  184. package/dist/enums/ModCallbackCustom.d.ts +5 -4
  185. package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
  186. package/dist/enums/ModCallbackCustom.js +5 -4
  187. package/dist/enums/private/GridEntityTypeCustom.d.ts.map +1 -1
  188. package/dist/features.js +1 -2
  189. package/dist/functions/ambush.js +1 -2
  190. package/dist/functions/array.d.ts +5 -8
  191. package/dist/functions/array.d.ts.map +1 -1
  192. package/dist/functions/array.js +55 -55
  193. package/dist/functions/array.lua +2 -2
  194. package/dist/functions/arrayLua.d.ts +1 -1
  195. package/dist/functions/arrayLua.d.ts.map +1 -1
  196. package/dist/functions/arrayLua.js +7 -8
  197. package/dist/functions/benchmark.d.ts +0 -1
  198. package/dist/functions/benchmark.d.ts.map +1 -1
  199. package/dist/functions/benchmark.js +1 -2
  200. package/dist/functions/bitSet128.d.ts +0 -1
  201. package/dist/functions/bitSet128.d.ts.map +1 -1
  202. package/dist/functions/bitSet128.js +5 -6
  203. package/dist/functions/bitwise.d.ts +0 -4
  204. package/dist/functions/bitwise.d.ts.map +1 -1
  205. package/dist/functions/bitwise.js +7 -8
  206. package/dist/functions/bitwise.lua +3 -3
  207. package/dist/functions/bombs.d.ts +0 -1
  208. package/dist/functions/bombs.d.ts.map +1 -1
  209. package/dist/functions/bombs.js +1 -2
  210. package/dist/functions/bosses.d.ts.map +1 -1
  211. package/dist/functions/bosses.js +17 -17
  212. package/dist/functions/cards.js +16 -17
  213. package/dist/functions/challenges.js +9 -10
  214. package/dist/functions/characters.js +17 -18
  215. package/dist/functions/charge.d.ts.map +1 -1
  216. package/dist/functions/charge.js +10 -11
  217. package/dist/functions/charge.lua +1 -1
  218. package/dist/functions/chargeBar.d.ts +0 -2
  219. package/dist/functions/chargeBar.d.ts.map +1 -1
  220. package/dist/functions/chargeBar.js +2 -3
  221. package/dist/functions/collectibleTag.js +2 -3
  222. package/dist/functions/collectibles.js +37 -38
  223. package/dist/functions/color.d.ts +0 -1
  224. package/dist/functions/color.d.ts.map +1 -1
  225. package/dist/functions/color.js +7 -8
  226. package/dist/functions/console.js +2 -3
  227. package/dist/functions/curses.js +2 -3
  228. package/dist/functions/debugFunctions.d.ts +0 -1
  229. package/dist/functions/debugFunctions.d.ts.map +1 -1
  230. package/dist/functions/debugFunctions.js +5 -6
  231. package/dist/functions/decorators.d.ts +4 -4
  232. package/dist/functions/decorators.d.ts.map +1 -1
  233. package/dist/functions/decorators.js +4 -5
  234. package/dist/functions/deepCopy.d.ts +0 -1
  235. package/dist/functions/deepCopy.d.ts.map +1 -1
  236. package/dist/functions/deepCopy.js +1 -4
  237. package/dist/functions/deepCopy.lua +0 -2
  238. package/dist/functions/deepCopyTests.js +5 -6
  239. package/dist/functions/dimensions.js +2 -3
  240. package/dist/functions/direction.js +6 -7
  241. package/dist/functions/doors.d.ts.map +1 -1
  242. package/dist/functions/doors.js +53 -49
  243. package/dist/functions/easing.js +30 -31
  244. package/dist/functions/effects.d.ts +0 -2
  245. package/dist/functions/effects.d.ts.map +1 -1
  246. package/dist/functions/effects.js +2 -2
  247. package/dist/functions/emptyRoom.js +2 -3
  248. package/dist/functions/entities.d.ts +3 -4
  249. package/dist/functions/entities.d.ts.map +1 -1
  250. package/dist/functions/entities.js +32 -33
  251. package/dist/functions/entities.lua +4 -11
  252. package/dist/functions/entitiesSpecific.js +40 -41
  253. package/dist/functions/entityTypes.d.ts +0 -1
  254. package/dist/functions/entityTypes.d.ts.map +1 -1
  255. package/dist/functions/entityTypes.js +1 -2
  256. package/dist/functions/enums.d.ts +1 -6
  257. package/dist/functions/enums.d.ts.map +1 -1
  258. package/dist/functions/enums.js +12 -13
  259. package/dist/functions/external.js +2 -3
  260. package/dist/functions/familiars.js +6 -7
  261. package/dist/functions/flag.d.ts +1 -1
  262. package/dist/functions/flag.d.ts.map +1 -1
  263. package/dist/functions/flag.js +7 -8
  264. package/dist/functions/frames.d.ts +0 -1
  265. package/dist/functions/frames.d.ts.map +1 -1
  266. package/dist/functions/frames.js +18 -19
  267. package/dist/functions/globals.d.ts +0 -1
  268. package/dist/functions/globals.d.ts.map +1 -1
  269. package/dist/functions/globals.js +23 -15
  270. package/dist/functions/gridEntities.d.ts.map +1 -1
  271. package/dist/functions/gridEntities.js +51 -39
  272. package/dist/functions/gridEntities.lua +9 -5
  273. package/dist/functions/gridEntitiesSpecific.js +38 -39
  274. package/dist/functions/gridIndex.js +1 -2
  275. package/dist/functions/hash.js +1 -2
  276. package/dist/functions/hex.d.ts +0 -2
  277. package/dist/functions/hex.d.ts.map +1 -1
  278. package/dist/functions/hex.js +2 -3
  279. package/dist/functions/input.js +21 -21
  280. package/dist/functions/isaacAPIClass.d.ts +0 -20
  281. package/dist/functions/isaacAPIClass.d.ts.map +1 -1
  282. package/dist/functions/isaacAPIClass.js +23 -24
  283. package/dist/functions/itemPool.js +7 -8
  284. package/dist/functions/jsonHelpers.d.ts +4 -5
  285. package/dist/functions/jsonHelpers.d.ts.map +1 -1
  286. package/dist/functions/jsonHelpers.js +23 -14
  287. package/dist/functions/jsonHelpers.lua +4 -4
  288. package/dist/functions/jsonRoom.js +5 -6
  289. package/dist/functions/kColor.d.ts +0 -1
  290. package/dist/functions/kColor.d.ts.map +1 -1
  291. package/dist/functions/kColor.js +7 -8
  292. package/dist/functions/language.js +1 -2
  293. package/dist/functions/level.js +4 -5
  294. package/dist/functions/levelGrid.d.ts.map +1 -1
  295. package/dist/functions/levelGrid.js +27 -32
  296. package/dist/functions/log.js +4 -5
  297. package/dist/functions/logEntities.d.ts.map +1 -1
  298. package/dist/functions/logEntities.js +11 -9
  299. package/dist/functions/logMisc.d.ts +1 -2
  300. package/dist/functions/logMisc.d.ts.map +1 -1
  301. package/dist/functions/logMisc.js +35 -48
  302. package/dist/functions/logMisc.lua +3 -3
  303. package/dist/functions/map.d.ts +0 -2
  304. package/dist/functions/map.d.ts.map +1 -1
  305. package/dist/functions/map.js +12 -13
  306. package/dist/functions/math.js +13 -14
  307. package/dist/functions/merge.d.ts +0 -1
  308. package/dist/functions/merge.d.ts.map +1 -1
  309. package/dist/functions/merge.js +2 -3
  310. package/dist/functions/mergeTests.js +1 -2
  311. package/dist/functions/minimap.d.ts.map +1 -1
  312. package/dist/functions/minimap.js +12 -17
  313. package/dist/functions/modFeatures.js +1 -2
  314. package/dist/functions/newArray.d.ts +0 -1
  315. package/dist/functions/newArray.d.ts.map +1 -1
  316. package/dist/functions/newArray.js +2 -3
  317. package/dist/functions/nextStage.d.ts.map +1 -1
  318. package/dist/functions/nextStage.js +6 -3
  319. package/dist/functions/npcDataStructures.d.ts +0 -2
  320. package/dist/functions/npcDataStructures.d.ts.map +1 -1
  321. package/dist/functions/npcDataStructures.js +14 -15
  322. package/dist/functions/npcs.d.ts.map +1 -1
  323. package/dist/functions/npcs.js +9 -7
  324. package/dist/functions/pickupVariants.d.ts +0 -1
  325. package/dist/functions/pickupVariants.d.ts.map +1 -1
  326. package/dist/functions/pickupVariants.js +11 -12
  327. package/dist/functions/pickups.js +14 -15
  328. package/dist/functions/pickupsSpecific.js +40 -41
  329. package/dist/functions/pills.js +18 -19
  330. package/dist/functions/playerCenter.d.ts +0 -1
  331. package/dist/functions/playerCenter.d.ts.map +1 -1
  332. package/dist/functions/playerCenter.js +1 -2
  333. package/dist/functions/playerCollectibles.d.ts.map +1 -1
  334. package/dist/functions/playerCollectibles.js +19 -22
  335. package/dist/functions/playerCollectibles.lua +9 -9
  336. package/dist/functions/playerDataStructures.d.ts +0 -1
  337. package/dist/functions/playerDataStructures.d.ts.map +1 -1
  338. package/dist/functions/playerDataStructures.js +14 -15
  339. package/dist/functions/playerEffects.js +5 -6
  340. package/dist/functions/playerHealth.d.ts +0 -2
  341. package/dist/functions/playerHealth.d.ts.map +1 -1
  342. package/dist/functions/playerHealth.js +20 -21
  343. package/dist/functions/playerHealth.lua +26 -26
  344. package/dist/functions/playerIndex.d.ts +0 -3
  345. package/dist/functions/playerIndex.d.ts.map +1 -1
  346. package/dist/functions/playerIndex.js +9 -10
  347. package/dist/functions/playerTrinkets.js +10 -11
  348. package/dist/functions/players.d.ts +2 -0
  349. package/dist/functions/players.d.ts.map +1 -1
  350. package/dist/functions/players.js +39 -38
  351. package/dist/functions/players.lua +2 -0
  352. package/dist/functions/pocketItems.js +8 -9
  353. package/dist/functions/positionVelocity.d.ts +0 -4
  354. package/dist/functions/positionVelocity.d.ts.map +1 -1
  355. package/dist/functions/positionVelocity.js +11 -20
  356. package/dist/functions/positionVelocity.lua +4 -4
  357. package/dist/functions/pressurePlate.js +1 -2
  358. package/dist/functions/projectiles.js +2 -3
  359. package/dist/functions/random.d.ts +0 -3
  360. package/dist/functions/random.d.ts.map +1 -1
  361. package/dist/functions/random.js +3 -4
  362. package/dist/functions/readOnly.d.ts +0 -4
  363. package/dist/functions/readOnly.d.ts.map +1 -1
  364. package/dist/functions/readOnly.js +3 -4
  365. package/dist/functions/render.d.ts +0 -3
  366. package/dist/functions/render.d.ts.map +1 -1
  367. package/dist/functions/render.js +3 -4
  368. package/dist/functions/revive.d.ts +0 -3
  369. package/dist/functions/revive.d.ts.map +1 -1
  370. package/dist/functions/revive.js +5 -6
  371. package/dist/functions/rng.d.ts +0 -1
  372. package/dist/functions/rng.d.ts.map +1 -1
  373. package/dist/functions/rng.js +15 -15
  374. package/dist/functions/rockAlt.d.ts +0 -1
  375. package/dist/functions/rockAlt.d.ts.map +1 -1
  376. package/dist/functions/rockAlt.js +2 -3
  377. package/dist/functions/roomData.d.ts.map +1 -1
  378. package/dist/functions/roomData.js +15 -18
  379. package/dist/functions/roomGrid.js +6 -7
  380. package/dist/functions/roomShape.js +14 -15
  381. package/dist/functions/roomShapeWalls.js +2 -3
  382. package/dist/functions/roomTransition.js +2 -3
  383. package/dist/functions/rooms.d.ts.map +1 -1
  384. package/dist/functions/rooms.js +77 -64
  385. package/dist/functions/rooms.lua +2 -2
  386. package/dist/functions/run.js +8 -9
  387. package/dist/functions/seeds.d.ts +0 -1
  388. package/dist/functions/seeds.d.ts.map +1 -1
  389. package/dist/functions/seeds.js +2 -3
  390. package/dist/functions/serialization.js +5 -6
  391. package/dist/functions/set.d.ts +0 -2
  392. package/dist/functions/set.d.ts.map +1 -1
  393. package/dist/functions/set.js +22 -23
  394. package/dist/functions/slots.js +2 -3
  395. package/dist/functions/sort.d.ts.map +1 -1
  396. package/dist/functions/sort.js +6 -7
  397. package/dist/functions/sound.d.ts.map +1 -1
  398. package/dist/functions/sound.js +4 -9
  399. package/dist/functions/spawnCollectible.d.ts.map +1 -1
  400. package/dist/functions/spawnCollectible.js +4 -7
  401. package/dist/functions/sprites.d.ts +0 -3
  402. package/dist/functions/sprites.d.ts.map +1 -1
  403. package/dist/functions/sprites.js +6 -7
  404. package/dist/functions/stage.d.ts.map +1 -1
  405. package/dist/functions/stage.js +44 -53
  406. package/dist/functions/stage.lua +5 -5
  407. package/dist/functions/stats.js +4 -5
  408. package/dist/functions/storyBosses.js +2 -3
  409. package/dist/functions/string.d.ts +0 -1
  410. package/dist/functions/string.d.ts.map +1 -1
  411. package/dist/functions/string.js +12 -13
  412. package/dist/functions/table.d.ts +0 -1
  413. package/dist/functions/table.d.ts.map +1 -1
  414. package/dist/functions/table.js +8 -9
  415. package/dist/functions/tears.js +6 -7
  416. package/dist/functions/transformations.js +5 -6
  417. package/dist/functions/trinketGive.js +5 -6
  418. package/dist/functions/trinkets.d.ts.map +1 -1
  419. package/dist/functions/trinkets.js +14 -17
  420. package/dist/functions/tstlClass.d.ts +2 -3
  421. package/dist/functions/tstlClass.d.ts.map +1 -1
  422. package/dist/functions/tstlClass.js +9 -10
  423. package/dist/functions/tstlClass.lua +2 -2
  424. package/dist/functions/types.d.ts +15 -17
  425. package/dist/functions/types.d.ts.map +1 -1
  426. package/dist/functions/types.js +38 -39
  427. package/dist/functions/types.lua +14 -14
  428. package/dist/functions/ui.d.ts +0 -3
  429. package/dist/functions/ui.d.ts.map +1 -1
  430. package/dist/functions/ui.js +13 -14
  431. package/dist/functions/utils.d.ts +0 -1
  432. package/dist/functions/utils.d.ts.map +1 -1
  433. package/dist/functions/utils.js +11 -12
  434. package/dist/functions/vector.d.ts +0 -1
  435. package/dist/functions/vector.d.ts.map +1 -1
  436. package/dist/functions/vector.js +11 -12
  437. package/dist/functions/versusScreen.js +4 -5
  438. package/dist/functions/weighted.d.ts +0 -3
  439. package/dist/functions/weighted.d.ts.map +1 -1
  440. package/dist/functions/weighted.js +2 -3
  441. package/dist/index.d.ts +58 -58
  442. package/dist/index.d.ts.map +1 -1
  443. package/dist/index.js +4 -58
  444. package/dist/index.lua +443 -11
  445. package/dist/index.rollup.d.ts +86 -69
  446. package/dist/indexLua.d.ts +58 -58
  447. package/dist/indexLua.d.ts.map +1 -1
  448. package/dist/indexLua.js +4 -58
  449. package/dist/indexLua.lua +443 -11
  450. package/dist/interfaces/ChargeBarSprites.d.ts +0 -2
  451. package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -1
  452. package/dist/interfaces/Corner.d.ts +0 -2
  453. package/dist/interfaces/Corner.d.ts.map +1 -1
  454. package/dist/interfaces/SaveData.d.ts +0 -1
  455. package/dist/interfaces/SaveData.d.ts.map +1 -1
  456. package/dist/interfaces/TSTLClassMetatable.d.ts +0 -4
  457. package/dist/interfaces/TSTLClassMetatable.d.ts.map +1 -1
  458. package/dist/interfaces/private/AddCallbackParametersCustom.d.ts +5 -3
  459. package/dist/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
  460. package/dist/interfaces/private/ModUpgradedInterface.d.ts +0 -1
  461. package/dist/interfaces/private/ModUpgradedInterface.d.ts.map +1 -1
  462. package/dist/isaacscript-common.lua +1561 -1186
  463. package/dist/lib/jsonLua.js +2 -2
  464. package/dist/lualib_bundle.lua +107 -38
  465. package/dist/objects/LRoomShapeToRectangles.js +1 -1
  466. package/dist/objects/colors.d.ts +0 -1
  467. package/dist/objects/colors.d.ts.map +1 -1
  468. package/dist/objects/directionToVector.d.ts +0 -1
  469. package/dist/objects/directionToVector.d.ts.map +1 -1
  470. package/dist/objects/doorSlotFlagToDoorSlot.d.ts +9 -2
  471. package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
  472. package/dist/objects/doorSlotToDoorSlotFlag.d.ts +0 -1
  473. package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
  474. package/dist/objects/itemPoolTypeToCollectibleTypesSet.js +17 -7
  475. package/dist/objects/kColors.d.ts +0 -1
  476. package/dist/objects/kColors.d.ts.map +1 -1
  477. package/dist/objects/roomShapeToBottomRightPosition.d.ts +0 -1
  478. package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
  479. package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.js +1 -1
  480. package/dist/objects/roomShapeToTopLeftPosition.d.ts +0 -1
  481. package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
  482. package/dist/objects/versusScreenBackgroundColors.d.ts +0 -1
  483. package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
  484. package/dist/objects/versusScreenDirtSpotColors.d.ts +0 -1
  485. package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
  486. package/dist/patchErrorFunctions.js +1 -2
  487. package/dist/serialization.js +1 -2
  488. package/dist/shaderCrashFix.d.ts +0 -1
  489. package/dist/shaderCrashFix.d.ts.map +1 -1
  490. package/dist/shaderCrashFix.js +1 -2
  491. package/dist/shouldFire.d.ts.map +1 -1
  492. package/dist/shouldFire.js +30 -30
  493. package/dist/tsdoc-metadata.json +1 -1
  494. package/dist/types/AddSubtract.d.ts +10 -2
  495. package/dist/types/AddSubtract.d.ts.map +1 -1
  496. package/dist/types/AnyEntity.d.ts +0 -11
  497. package/dist/types/AnyEntity.d.ts.map +1 -1
  498. package/dist/types/AnyGridEntity.d.ts +0 -8
  499. package/dist/types/AnyGridEntity.d.ts.map +1 -1
  500. package/dist/types/PickingUpItem.js +5 -6
  501. package/dist/types/PickupIndex.d.ts +0 -1
  502. package/dist/types/PickupIndex.d.ts.map +1 -1
  503. package/dist/types/PlayerIndex.d.ts +0 -1
  504. package/dist/types/PlayerIndex.d.ts.map +1 -1
  505. package/dist/types/ReadonlyMap.d.ts.map +1 -1
  506. package/dist/types/ReadonlySet.d.ts.map +1 -1
  507. package/dist/types/TSTLClass.d.ts +0 -1
  508. package/dist/types/TSTLClass.d.ts.map +1 -1
  509. package/dist/types/TupleWithLengthBetween.js +2 -2
  510. package/dist/types/TupleWithMaxLength.js +2 -2
  511. package/dist/types/WeightedArray.d.ts +0 -1
  512. package/dist/types/WeightedArray.d.ts.map +1 -1
  513. package/package.json +9 -2
  514. package/src/callbackClasses.ts +6 -6
  515. package/src/classes/DefaultMap.ts +5 -2
  516. package/src/classes/ModFeature.ts +3 -3
  517. package/src/classes/ModUpgraded.ts +2 -4
  518. package/src/classes/callbacks/PostCollectibleEmpty.ts +1 -3
  519. package/src/classes/callbacks/PostItemDischarge.ts +3 -6
  520. package/src/classes/callbacks/PostNPCStateChanged.ts +1 -1
  521. package/src/classes/callbacks/PostNewRoomEarly.ts +1 -1
  522. package/src/classes/callbacks/PostPlayerChangeType.ts +1 -1
  523. package/src/classes/callbacks/PostTransformation.ts +1 -3
  524. package/src/classes/callbacks/PostTrinketBreak.ts +1 -3
  525. package/src/classes/features/callbackLogic/CustomGridEntities.ts +1 -1
  526. package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +4 -6
  527. package/src/classes/features/callbackLogic/ItemPickupDetection.ts +6 -2
  528. package/src/classes/features/callbackLogic/PlayerReorderedCallbacks.ts +4 -4
  529. package/src/classes/features/other/CustomPickups.ts +1 -0
  530. package/src/classes/features/other/CustomStages.ts +2 -2
  531. package/src/classes/features/other/CustomTrapdoors.ts +23 -18
  532. package/src/classes/features/other/DeployJSONRoom.ts +2 -0
  533. package/src/classes/features/other/EdenStartingStatsHealth.ts +3 -1
  534. package/src/classes/features/other/ExtraConsoleCommands.ts +14 -10
  535. package/src/classes/features/other/ModdedElementDetection.ts +4 -4
  536. package/src/classes/features/other/ModdedElementSets.ts +3 -3
  537. package/src/classes/features/other/PickupIndexCreation.ts +2 -3
  538. package/src/classes/features/other/RunInNFrames.ts +2 -2
  539. package/src/classes/features/other/SaveDataManager.ts +1 -1
  540. package/src/classes/features/other/customStages/backdrop.ts +1 -1
  541. package/src/classes/features/other/extraConsoleCommands/commands.ts +7 -7
  542. package/src/classes/features/other/saveDataManager/loadFromDisk.ts +5 -0
  543. package/src/core/constants.ts +1 -1
  544. package/src/core/constantsVanilla.ts +4 -4
  545. package/src/enums/ModCallbackCustom.ts +5 -4
  546. package/src/functions/array.ts +33 -29
  547. package/src/functions/arrayLua.ts +1 -1
  548. package/src/functions/bosses.ts +2 -1
  549. package/src/functions/charge.ts +1 -2
  550. package/src/functions/decorators.ts +6 -9
  551. package/src/functions/deepCopy.ts +0 -4
  552. package/src/functions/deepCopyTests.ts +4 -4
  553. package/src/functions/doors.ts +5 -0
  554. package/src/functions/entities.ts +7 -14
  555. package/src/functions/enums.ts +4 -4
  556. package/src/functions/flag.ts +1 -1
  557. package/src/functions/globals.ts +2 -3
  558. package/src/functions/gridEntities.ts +19 -1
  559. package/src/functions/jsonHelpers.ts +7 -5
  560. package/src/functions/levelGrid.ts +3 -6
  561. package/src/functions/logEntities.ts +3 -0
  562. package/src/functions/logMisc.ts +9 -20
  563. package/src/functions/map.ts +4 -4
  564. package/src/functions/merge.ts +1 -1
  565. package/src/functions/minimap.ts +2 -6
  566. package/src/functions/newArray.ts +1 -1
  567. package/src/functions/nextStage.ts +4 -0
  568. package/src/functions/npcDataStructures.ts +5 -5
  569. package/src/functions/npcs.ts +3 -0
  570. package/src/functions/playerCollectibles.ts +1 -3
  571. package/src/functions/playerDataStructures.ts +5 -5
  572. package/src/functions/players.ts +2 -0
  573. package/src/functions/positionVelocity.ts +4 -12
  574. package/src/functions/rng.ts +4 -3
  575. package/src/functions/roomData.ts +1 -3
  576. package/src/functions/rooms.ts +16 -1
  577. package/src/functions/set.ts +8 -8
  578. package/src/functions/sort.ts +2 -2
  579. package/src/functions/sound.ts +2 -7
  580. package/src/functions/spawnCollectible.ts +1 -3
  581. package/src/functions/stage.ts +4 -14
  582. package/src/functions/trinkets.ts +1 -3
  583. package/src/functions/tstlClass.ts +2 -2
  584. package/src/functions/types.ts +16 -16
  585. package/src/index.ts +58 -58
  586. package/src/interfaces/SaveData.ts +2 -1
  587. package/src/interfaces/private/AddCallbackParametersCustom.ts +8 -3
  588. package/src/lib/jsonLua.js +2 -2
  589. package/src/objects/LRoomShapeToRectangles.ts +1 -1
  590. package/src/objects/roomShapeToDoorSlotsToGridIndexDelta.ts +1 -1
  591. package/src/shouldFire.ts +2 -1
  592. package/src/types/AddSubtract.ts +10 -2
  593. package/src/types/HasFunction.ts +1 -1
  594. package/src/types/Immutable.ts +1 -1
  595. package/src/types/TupleWithLengthBetween.ts +2 -2
  596. package/src/types/TupleWithMaxLength.ts +2 -2
@@ -1,9 +1,150 @@
1
1
  "use strict";
2
2
  // cspell:ignore addcharges
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.getPosition = exports.getCharge = exports.getChallenge = exports.fool = exports.flight = exports.flies = exports.eternalHearts = exports.errorRoom = exports.effects = exports.dungeon = exports.down = exports.dogma = exports.disableCurses = exports.dirtyBedroom = exports.devilRoom = exports.dd = exports.darkness = exports.damage = exports.dadsNote = exports.d6 = exports.d20 = exports.cursed = exports.crawlSpace = exports.collectible = exports.coins = exports.coin = exports.cleanBedroom = exports.charge = exports.character = exports.chaosCardTears = exports.cc = exports.cards = exports.card = exports.brokenHearts = exports.bossRush = exports.bossRoom = exports.bossNextRoom = exports.boss = exports.boneHearts = exports.bombs = exports.bomb = exports.bm = exports.bloodCharges = exports.blind = exports.blackMarket = exports.blackHearts = exports.bedroom = exports.ascent = exports.angelRoom = exports.addCharges = void 0;
5
- exports.position = exports.poopMana = exports.poop = exports.pocket = exports.playSound = exports.planetarium = exports.pills = exports.pill = exports.oneHP = exports.noCurses = exports.music = exports.miniboss = exports.megaSatan = exports.maze = exports.maxHearts = exports.map = exports.mana = exports.luck = exports.lowHP = exports.lost = exports.listGridAll = exports.listGrid = exports.listAll = exports.list = exports.library = exports.left = exports.labyrinth = exports.keys = exports.key = exports.iAmErrorRoom = exports.hush = exports.horse = exports.hitboxes = exports.hearts = exports.gridEntities = exports.gridCosts = exports.grid2 = exports.grid = exports.goldenTrinket = exports.goldenPill = exports.goldenKey = exports.goldenHearts = exports.goldenBomb = exports.goldTrinket = exports.goldPill = exports.goldKey = exports.goldHearts = exports.goldBomb = exports.gigaBomb = exports.giant = void 0;
6
- exports.xl = exports.warp = exports.up = exports.unseed = exports.unknown = exports.ultraSecretRoom = exports.trinket = exports.treasureRoom = exports.trapdoor = exports.tests = exports.tears = exports.superSecretRoom = exports.startingRoom = exports.startRoom = exports.spikes = exports.speed = exports.spawnTrinketAt = exports.spawnTrinket = exports.spawnGoldenTrinketAt = exports.spawnGoldenTrinket = exports.spawnGoldTrinket = exports.spawnCollectibleAt = exports.spawnCollectible = exports.spam = exports.sounds = exports.sound = exports.soulHearts = exports.soulCharges = exports.smelt = exports.shop = exports.setPosition = exports.setCharges = exports.seeds = exports.seedStick = exports.secretShop = exports.secretRoom = exports.sacrificeRoom = exports.s = exports.runTests = exports.rottenHearts = exports.room = exports.right = exports.reloadRoom = exports.redHearts = void 0;
4
+ exports.addCharges = addCharges;
5
+ exports.angelRoom = angelRoom;
6
+ exports.ascent = ascent;
7
+ exports.bedroom = bedroom;
8
+ exports.blackHearts = blackHearts;
9
+ exports.blackMarket = blackMarket;
10
+ exports.blind = blind;
11
+ exports.bloodCharges = bloodCharges;
12
+ exports.bm = bm;
13
+ exports.bomb = bomb;
14
+ exports.bombs = bombs;
15
+ exports.boneHearts = boneHearts;
16
+ exports.boss = boss;
17
+ exports.bossNextRoom = bossNextRoom;
18
+ exports.bossRoom = bossRoom;
19
+ exports.bossRush = bossRush;
20
+ exports.brokenHearts = brokenHearts;
21
+ exports.card = card;
22
+ exports.cards = cards;
23
+ exports.cc = cc;
24
+ exports.chaosCardTears = chaosCardTears;
25
+ exports.character = character;
26
+ exports.charge = charge;
27
+ exports.cleanBedroom = cleanBedroom;
28
+ exports.coin = coin;
29
+ exports.coins = coins;
30
+ exports.collectible = collectible;
31
+ exports.crawlSpace = crawlSpace;
32
+ exports.cursed = cursed;
33
+ exports.d20 = d20;
34
+ exports.d6 = d6;
35
+ exports.dadsNote = dadsNote;
36
+ exports.damage = damage;
37
+ exports.darkness = darkness;
38
+ exports.dd = dd;
39
+ exports.devilRoom = devilRoom;
40
+ exports.dirtyBedroom = dirtyBedroom;
41
+ exports.disableCurses = disableCurses;
42
+ exports.dogma = dogma;
43
+ exports.down = down;
44
+ exports.dungeon = dungeon;
45
+ exports.effects = effects;
46
+ exports.errorRoom = errorRoom;
47
+ exports.eternalHearts = eternalHearts;
48
+ exports.flies = flies;
49
+ exports.flight = flight;
50
+ exports.fool = fool;
51
+ exports.getChallenge = getChallenge;
52
+ exports.getCharge = getCharge;
53
+ exports.getPosition = getPosition;
54
+ exports.giant = giant;
55
+ exports.gigaBomb = gigaBomb;
56
+ exports.goldBomb = goldBomb;
57
+ exports.goldHearts = goldHearts;
58
+ exports.goldKey = goldKey;
59
+ exports.goldPill = goldPill;
60
+ exports.goldTrinket = goldTrinket;
61
+ exports.goldenBomb = goldenBomb;
62
+ exports.goldenHearts = goldenHearts;
63
+ exports.goldenKey = goldenKey;
64
+ exports.goldenPill = goldenPill;
65
+ exports.goldenTrinket = goldenTrinket;
66
+ exports.grid = grid;
67
+ exports.grid2 = grid2;
68
+ exports.gridCosts = gridCosts;
69
+ exports.gridEntities = gridEntities;
70
+ exports.hearts = hearts;
71
+ exports.hitboxes = hitboxes;
72
+ exports.horse = horse;
73
+ exports.hush = hush;
74
+ exports.iAmErrorRoom = iAmErrorRoom;
75
+ exports.key = key;
76
+ exports.keys = keys;
77
+ exports.labyrinth = labyrinth;
78
+ exports.left = left;
79
+ exports.library = library;
80
+ exports.list = list;
81
+ exports.listAll = listAll;
82
+ exports.listGrid = listGrid;
83
+ exports.listGridAll = listGridAll;
84
+ exports.lost = lost;
85
+ exports.lowHP = lowHP;
86
+ exports.luck = luck;
87
+ exports.mana = mana;
88
+ exports.map = map;
89
+ exports.maxHearts = maxHearts;
90
+ exports.maze = maze;
91
+ exports.megaSatan = megaSatan;
92
+ exports.miniboss = miniboss;
93
+ exports.music = music;
94
+ exports.noCurses = noCurses;
95
+ exports.oneHP = oneHP;
96
+ exports.pill = pill;
97
+ exports.pills = pills;
98
+ exports.planetarium = planetarium;
99
+ exports.playSound = playSound;
100
+ exports.pocket = pocket;
101
+ exports.poop = poop;
102
+ exports.poopMana = poopMana;
103
+ exports.position = position;
104
+ exports.redHearts = redHearts;
105
+ exports.reloadRoom = reloadRoom;
106
+ exports.right = right;
107
+ exports.room = room;
108
+ exports.rottenHearts = rottenHearts;
109
+ exports.runTests = runTests;
110
+ exports.s = s;
111
+ exports.sacrificeRoom = sacrificeRoom;
112
+ exports.secretRoom = secretRoom;
113
+ exports.secretShop = secretShop;
114
+ exports.seedStick = seedStick;
115
+ exports.seeds = seeds;
116
+ exports.setCharges = setCharges;
117
+ exports.setPosition = setPosition;
118
+ exports.shop = shop;
119
+ exports.smelt = smelt;
120
+ exports.soulCharges = soulCharges;
121
+ exports.soulHearts = soulHearts;
122
+ exports.sound = sound;
123
+ exports.sounds = sounds;
124
+ exports.spam = spam;
125
+ exports.spawnCollectible = spawnCollectible;
126
+ exports.spawnCollectibleAt = spawnCollectibleAt;
127
+ exports.spawnGoldTrinket = spawnGoldTrinket;
128
+ exports.spawnGoldenTrinket = spawnGoldenTrinket;
129
+ exports.spawnGoldenTrinketAt = spawnGoldenTrinketAt;
130
+ exports.spawnTrinket = spawnTrinket;
131
+ exports.spawnTrinketAt = spawnTrinketAt;
132
+ exports.speed = speed;
133
+ exports.spikes = spikes;
134
+ exports.startRoom = startRoom;
135
+ exports.startingRoom = startingRoom;
136
+ exports.superSecretRoom = superSecretRoom;
137
+ exports.tears = tears;
138
+ exports.tests = tests;
139
+ exports.trapdoor = trapdoor;
140
+ exports.treasureRoom = treasureRoom;
141
+ exports.trinket = trinket;
142
+ exports.ultraSecretRoom = ultraSecretRoom;
143
+ exports.unknown = unknown;
144
+ exports.unseed = unseed;
145
+ exports.up = up;
146
+ exports.warp = warp;
147
+ exports.xl = xl;
7
148
  const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
8
149
  const cachedEnumValues_1 = require("../../../../cachedEnumValues");
9
150
  const cachedClasses_1 = require("../../../../core/cachedClasses");
@@ -84,7 +225,6 @@ function addCharges(params) {
84
225
  const player = Isaac.GetPlayer();
85
226
  (0, charge_1.addCharge)(player, activeSlot, numCharges);
86
227
  }
87
- exports.addCharges = addCharges;
88
228
  /**
89
229
  * Warps to the Angel Room for the floor. If the Devil Room has already been visited or initialized,
90
230
  * this will uninitialize it and make an Angel Room instead.
@@ -92,14 +232,12 @@ exports.addCharges = addCharges;
92
232
  function angelRoom() {
93
233
  (0, subroutines_1.devilAngel)(false);
94
234
  }
95
- exports.angelRoom = angelRoom;
96
235
  /** Activates the flags for the Ascent (i.e. Backwards Path). */
97
236
  function ascent() {
98
237
  cachedClasses_1.game.SetStateFlag(isaac_typescript_definitions_1.GameStateFlag.BACKWARDS_PATH_INIT, true);
99
238
  cachedClasses_1.game.SetStateFlag(isaac_typescript_definitions_1.GameStateFlag.BACKWARDS_PATH, true);
100
239
  print("Set Ascent flags.");
101
240
  }
102
- exports.ascent = ascent;
103
241
  /** Warps to the first Clean Bedroom or Dirty Bedroom on the floor. */
104
242
  function bedroom() {
105
243
  const cleanBedroomGridIndexes = (0, levelGrid_1.getRoomGridIndexesForType)(isaac_typescript_definitions_1.RoomType.CLEAN_BEDROOM);
@@ -114,7 +252,6 @@ function bedroom() {
114
252
  }
115
253
  print("There are no Clean Bedrooms or Dirty Bedrooms on this floor.");
116
254
  }
117
- exports.bedroom = bedroom;
118
255
  /**
119
256
  * Gives a half black heart. Provide a number to give a custom amount of hearts. (You can use
120
257
  * negative numbers to remove hearts.)
@@ -122,18 +259,15 @@ exports.bedroom = bedroom;
122
259
  function blackHearts(params) {
123
260
  (0, subroutines_1.addHeart)(params, HealthType_1.HealthType.BLACK);
124
261
  }
125
- exports.blackHearts = blackHearts;
126
262
  /** Warps to the Black Market for the floor. */
127
263
  function blackMarket() {
128
264
  (0, rooms_1.changeRoom)(isaac_typescript_definitions_1.GridRoom.BLACK_MARKET);
129
265
  }
130
- exports.blackMarket = blackMarket;
131
266
  /** Toggles permanent Curse of the Blind. */
132
267
  function blind() {
133
268
  v_1.v.persistent.blind = !v_1.v.persistent.blind;
134
269
  (0, console_1.printEnabled)(v_1.v.persistent.blind, "permanent Curse of the Blind");
135
270
  }
136
- exports.blind = blind;
137
271
  /**
138
272
  * Gives a blood charge. This only affects Bethany. Provide a number to give a custom amount of
139
273
  * charges. (You can use negative numbers to remove charges.)
@@ -151,12 +285,10 @@ function bloodCharges(params) {
151
285
  const player = Isaac.GetPlayer();
152
286
  player.AddBloodCharge(charges);
153
287
  }
154
- exports.bloodCharges = bloodCharges;
155
288
  /** Alias for the "blackMarket" command. */
156
289
  function bm() {
157
290
  blackMarket();
158
291
  }
159
- exports.bm = bm;
160
292
  /**
161
293
  * Gives a bomb. Provide a number to give a custom amount of bombs. (You can use negative numbers to
162
294
  * remove bombs.)
@@ -174,7 +306,6 @@ function bomb(params) {
174
306
  const player = Isaac.GetPlayer();
175
307
  player.AddBombs(numBombs);
176
308
  }
177
- exports.bomb = bomb;
178
309
  /**
179
310
  * Gives 99 bombs. Provide a number to give a custom amount of bombs. (You can use negative numbers
180
311
  * to remove bombs.)
@@ -192,7 +323,6 @@ function bombs(params) {
192
323
  const player = Isaac.GetPlayer();
193
324
  player.AddBombs(numBombs);
194
325
  }
195
- exports.bombs = bombs;
196
326
  /**
197
327
  * Gives a bone heart. Provide a number to give a custom amount of hearts. (You can use negative
198
328
  * numbers to remove hearts.)
@@ -200,17 +330,14 @@ exports.bombs = bombs;
200
330
  function boneHearts(params) {
201
331
  (0, subroutines_1.addHeart)(params, HealthType_1.HealthType.BONE);
202
332
  }
203
- exports.boneHearts = boneHearts;
204
333
  /** Alias for the "bossRoom" command. */
205
334
  function boss() {
206
335
  bossRoom();
207
336
  }
208
- exports.boss = boss;
209
337
  /** Warps to the room next to the first Boss Room on the floor. */
210
338
  function bossNextRoom() {
211
339
  (0, subroutines_1.warpNextToRoomType)(isaac_typescript_definitions_1.RoomType.BOSS);
212
340
  }
213
- exports.bossNextRoom = bossNextRoom;
214
341
  /** Warps to the first Boss Room on the floor (or the Delirium Boss Room if on The Void). */
215
342
  function bossRoom() {
216
343
  // Most of the logic here is copied from the "warpToRoomType" function.
@@ -228,12 +355,10 @@ function bossRoom() {
228
355
  (0, rooms_1.changeRoom)(roomGridIndex);
229
356
  print(`Warped to room type: ${roomTypeName} (${roomType})`);
230
357
  }
231
- exports.bossRoom = bossRoom;
232
358
  /** Warps to the Boss Rush for the floor. */
233
359
  function bossRush() {
234
360
  (0, rooms_1.changeRoom)(isaac_typescript_definitions_1.GridRoom.BOSS_RUSH);
235
361
  }
236
- exports.bossRush = bossRush;
237
362
  /**
238
363
  * Gives a broken heart. Provide a number to give a custom amount of hearts. (You can use negative
239
364
  * numbers to remove hearts.)
@@ -241,7 +366,6 @@ exports.bossRush = bossRush;
241
366
  function brokenHearts(params) {
242
367
  (0, subroutines_1.addHeart)(params, HealthType_1.HealthType.BROKEN);
243
368
  }
244
- exports.brokenHearts = brokenHearts;
245
369
  /**
246
370
  * Gives the specified card. Accepts either the card type or the partial name of the card.
247
371
  *
@@ -275,7 +399,6 @@ function card(params) {
275
399
  Isaac.ExecuteCommand(`g k${cardType}`);
276
400
  print(`Gave card: ${cardName} (${cardType})`);
277
401
  }
278
- exports.card = card;
279
402
  /** Spawns every card on the ground, starting at the top-left-most tile. */
280
403
  function cards() {
281
404
  let cardType = constantsFirstLast_1.FIRST_CARD_TYPE;
@@ -286,16 +409,14 @@ function cards() {
286
409
  }
287
410
  const worldPosition = (0, roomGrid_1.gridCoordinatesToWorldPosition)(x, y);
288
411
  (0, pickupsSpecific_1.spawnCard)(cardType, worldPosition);
289
- cardType++; // eslint-disable-line isaacscript/strict-enums
412
+ cardType++; // eslint-disable-line complete/strict-enums
290
413
  }
291
414
  }
292
415
  }
293
- exports.cards = cards;
294
416
  /** Alias for the "chaosCardTears" command. */
295
417
  function cc() {
296
418
  chaosCardTears();
297
419
  }
298
- exports.cc = cc;
299
420
  /**
300
421
  * Toggles Chaos Card tears for the player. Useful for killing enemies very fast without using
301
422
  * "debug 10".
@@ -304,7 +425,6 @@ function chaosCardTears() {
304
425
  v_1.v.persistent.chaosCardTears = !v_1.v.persistent.chaosCardTears;
305
426
  (0, console_1.printEnabled)(v_1.v.persistent.chaosCardTears, "Chaos Card tears");
306
427
  }
307
- exports.chaosCardTears = chaosCardTears;
308
428
  /**
309
429
  * Restart as the specified character. Accepts either the character sub-type or the partial name of
310
430
  * the character.
@@ -339,17 +459,14 @@ function character(params) {
339
459
  (0, run_1.restart)(playerType);
340
460
  print(`Restarting as character: ${characterName} (${playerType})`);
341
461
  }
342
- exports.character = character;
343
462
  /** Alias for the "addCharges" command. */
344
463
  function charge(params) {
345
464
  addCharges(params);
346
465
  }
347
- exports.charge = charge;
348
466
  /** Warps to the first Clean Bedroom on the floor. */
349
467
  function cleanBedroom() {
350
468
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.CLEAN_BEDROOM);
351
469
  }
352
- exports.cleanBedroom = cleanBedroom;
353
470
  /**
354
471
  * Gives a coin. Provide a number to give a custom amount of coins. (You can use negative numbers to
355
472
  * remove coins.)
@@ -367,7 +484,6 @@ function coin(params) {
367
484
  const player = Isaac.GetPlayer();
368
485
  player.AddCoins(numCoins);
369
486
  }
370
- exports.coin = coin;
371
487
  /**
372
488
  * Gives 999 coins. Provide a number to give a custom amount of coins. (You can use negative numbers
373
489
  * to remove coins.)
@@ -385,42 +501,35 @@ function coins(params) {
385
501
  const player = Isaac.GetPlayer();
386
502
  player.AddCoins(numCoins);
387
503
  }
388
- exports.coins = coins;
389
504
  /** Alias for the "spawnCollectible" command. */
390
505
  function collectible(params) {
391
506
  spawnCollectible(params);
392
507
  }
393
- exports.collectible = collectible;
394
508
  /** Creates a crawl space next to the player. */
395
509
  function crawlSpace() {
396
510
  (0, subroutines_1.spawnTrapdoorOrCrawlSpace)(false);
397
511
  }
398
- exports.crawlSpace = crawlSpace;
399
512
  /** Toggles permanent Curse of the Cursed. */
400
513
  function cursed() {
401
514
  v_1.v.persistent.cursed = !v_1.v.persistent.cursed;
402
515
  (0, console_1.printEnabled)(v_1.v.persistent.cursed, "permanent Curse of the Cursed");
403
516
  }
404
- exports.cursed = cursed;
405
517
  /** Uses the D20. */
406
518
  function d20() {
407
519
  const player = Isaac.GetPlayer();
408
520
  (0, playerCollectibles_1.useActiveItemTemp)(player, isaac_typescript_definitions_1.CollectibleType.D20);
409
521
  }
410
- exports.d20 = d20;
411
522
  /** Uses the D6. */
412
523
  function d6() {
413
524
  const player = Isaac.GetPlayer();
414
525
  (0, playerCollectibles_1.useActiveItemTemp)(player, isaac_typescript_definitions_1.CollectibleType.D6);
415
526
  }
416
- exports.d6 = d6;
417
527
  /** Warps to the Mausoleum 2 Boss Room that has Dad's Note in it. */
418
528
  function dadsNote() {
419
529
  cachedClasses_1.game.SetStateFlag(isaac_typescript_definitions_1.GameStateFlag.BACKWARDS_PATH_INIT, true);
420
530
  (0, stage_1.setStage)(isaac_typescript_definitions_1.LevelStage.DEPTHS_2, isaac_typescript_definitions_1.StageType.REPENTANCE);
421
531
  bossRoom();
422
532
  }
423
- exports.dadsNote = dadsNote;
424
533
  /**
425
534
  * Toggles a set damage stat for the player. You can provide an optional argument to this command in
426
535
  * order to set the damage to a specific amount. Default is 500.
@@ -440,18 +549,15 @@ function damage(params) {
440
549
  player.EvaluateItems();
441
550
  (0, console_1.printEnabled)(v_1.v.persistent.damage, "set damage");
442
551
  }
443
- exports.damage = damage;
444
552
  /** Toggles permanent Curse of Darkness. */
445
553
  function darkness() {
446
554
  v_1.v.persistent.darkness = !v_1.v.persistent.darkness;
447
555
  (0, console_1.printEnabled)(v_1.v.persistent.darkness, "permanent Curse of Darkness");
448
556
  }
449
- exports.darkness = darkness;
450
557
  /** Alias for the "devil" command. */
451
558
  function dd() {
452
559
  devilRoom();
453
560
  }
454
- exports.dd = dd;
455
561
  /**
456
562
  * Warps to the Devil Room for the floor. If the Angel Room has already been visited or initialized,
457
563
  * this will uninitialize it and make an Devil Room instead.
@@ -459,46 +565,38 @@ exports.dd = dd;
459
565
  function devilRoom() {
460
566
  (0, subroutines_1.devilAngel)(true);
461
567
  }
462
- exports.devilRoom = devilRoom;
463
568
  /** Warps to the first Dirty Bedroom on the floor. */
464
569
  function dirtyBedroom() {
465
570
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.DIRTY_BEDROOM);
466
571
  }
467
- exports.dirtyBedroom = dirtyBedroom;
468
572
  /** Toggles whether curses can appear. */
469
573
  function disableCurses() {
470
574
  v_1.v.persistent.disableCurses = !v_1.v.persistent.disableCurses;
471
575
  (0, console_1.printEnabled)(!v_1.v.persistent.disableCurses, "curses");
472
576
  }
473
- exports.disableCurses = disableCurses;
474
577
  /** Warps to the Dogma Boss Room. */
475
578
  function dogma() {
476
579
  (0, stage_1.setStage)(isaac_typescript_definitions_1.LevelStage.HOME, isaac_typescript_definitions_1.StageType.WRATH_OF_THE_LAMB);
477
580
  (0, rooms_1.changeRoom)(constants_1.DOGMA_ROOM_GRID_INDEX);
478
581
  }
479
- exports.dogma = dogma;
480
582
  /** Moves the player 0.5 units down. Provide a number to move a custom amount of units. */
481
583
  function down(params) {
482
584
  (0, subroutines_1.movePlayer)(params, isaac_typescript_definitions_1.Direction.DOWN);
483
585
  }
484
- exports.down = down;
485
586
  /** Warps to the Dungeon (i.e. the crawl space room) for the floor. */
486
587
  function dungeon() {
487
588
  (0, rooms_1.changeRoom)(isaac_typescript_definitions_1.GridRoom.DUNGEON);
488
589
  }
489
- exports.dungeon = dungeon;
490
590
  /** Logs the player's current temporary effects to the "log.txt" file. */
491
591
  function effects() {
492
592
  const player = Isaac.GetPlayer();
493
593
  (0, logMisc_1.logPlayerEffects)(player);
494
594
  print('Logged the player\'s effects to the "log.txt" file.');
495
595
  }
496
- exports.effects = effects;
497
596
  /** Alias for the "iAmError" command. */
498
597
  function errorRoom() {
499
598
  iAmErrorRoom();
500
599
  }
501
- exports.errorRoom = errorRoom;
502
600
  /**
503
601
  * Gives an eternal heart. Provide a number to give a custom amount of hearts. (You can use negative
504
602
  * numbers to remove hearts.)
@@ -506,13 +604,11 @@ exports.errorRoom = errorRoom;
506
604
  function eternalHearts(params) {
507
605
  (0, subroutines_1.addHeart)(params, HealthType_1.HealthType.ETERNAL);
508
606
  }
509
- exports.eternalHearts = eternalHearts;
510
607
  /** Grants the maximum amount of blue flies to the player. */
511
608
  function flies() {
512
609
  const player = Isaac.GetPlayer();
513
610
  player.AddBlueFlies(constants_1.MAX_NUM_FAMILIARS, player.Position, undefined);
514
611
  }
515
- exports.flies = flies;
516
612
  /** Toggles flight for the player. */
517
613
  function flight(params) {
518
614
  const player = Isaac.GetPlayer();
@@ -535,12 +631,10 @@ function flight(params) {
535
631
  }
536
632
  (0, console_1.printEnabled)(v_1.v.persistent.flight, "flight");
537
633
  }
538
- exports.flight = flight;
539
634
  /** Alias for the "startingRoom" command. */
540
635
  function fool() {
541
636
  startingRoom();
542
637
  }
543
- exports.fool = fool;
544
638
  /** Displays the current challenge, if any. */
545
639
  function getChallenge() {
546
640
  const challenge = Isaac.GetChallenge();
@@ -553,7 +647,6 @@ function getChallenge() {
553
647
  : `Challenge.${challengeName} (${challenge})`;
554
648
  print(`The current challenge is: ${challengeDescription}`);
555
649
  }
556
- exports.getChallenge = getChallenge;
557
650
  /** Prints the charge for the specified slot. By default, will use `ActiveSlot.PRIMARY`. */
558
651
  function getCharge(params) {
559
652
  let activeSlot = isaac_typescript_definitions_1.ActiveSlot.PRIMARY;
@@ -569,7 +662,6 @@ function getCharge(params) {
569
662
  const totalCharge = (0, charge_1.getTotalCharge)(player, activeSlot);
570
663
  print(`Total charge for ActiveSlot.${isaac_typescript_definitions_1.ActiveSlot[activeSlot]} (${activeSlot}) is: ${totalCharge}`);
571
664
  }
572
- exports.getCharge = getCharge;
573
665
  /** Prints the current position of all players. */
574
666
  function getPosition() {
575
667
  for (const player of (0, playerIndex_1.getPlayers)()) {
@@ -577,13 +669,11 @@ function getPosition() {
577
669
  print(`Player position for ${playerName}: (${player.Position.X}, ${player.Position.Y})`);
578
670
  }
579
671
  }
580
- exports.getPosition = getPosition;
581
672
  /** Toggles permanent Curse of the Giant. */
582
673
  function giant() {
583
674
  v_1.v.persistent.giant = !v_1.v.persistent.giant;
584
675
  (0, console_1.printEnabled)(v_1.v.persistent.giant, "permanent Curse of the Giant");
585
676
  }
586
- exports.giant = giant;
587
677
  /**
588
678
  * Gives a Giga Bomb. Provide a number to give a custom amount of Giga Bombs. (You can use negative
589
679
  * numbers to remove bombs.)
@@ -601,38 +691,31 @@ function gigaBomb(params) {
601
691
  const player = Isaac.GetPlayer();
602
692
  player.AddGigaBombs(numBombs);
603
693
  }
604
- exports.gigaBomb = gigaBomb;
605
694
  /** Alias for the "goldenBomb" command. */
606
695
  function goldBomb() {
607
696
  goldenBomb();
608
697
  }
609
- exports.goldBomb = goldBomb;
610
698
  /** Alias for the "goldenHearts" command. */
611
699
  function goldHearts(params) {
612
700
  goldenHearts(params);
613
701
  }
614
- exports.goldHearts = goldHearts;
615
702
  /** Alias for the "goldenKey" command. */
616
703
  function goldKey() {
617
704
  goldenKey();
618
705
  }
619
- exports.goldKey = goldKey;
620
706
  /** Alias for the "goldenPill" command. */
621
707
  function goldPill() {
622
708
  goldenPill();
623
709
  }
624
- exports.goldPill = goldPill;
625
710
  /** Alias for the "spawnGoldenTrinket" command. */
626
711
  function goldTrinket(params) {
627
712
  spawnGoldenTrinket(params);
628
713
  }
629
- exports.goldTrinket = goldTrinket;
630
714
  /** Gives the player a golden bomb. */
631
715
  function goldenBomb() {
632
716
  const player = Isaac.GetPlayer();
633
717
  player.AddGoldenBomb();
634
718
  }
635
- exports.goldenBomb = goldenBomb;
636
719
  /**
637
720
  * Gives a golden heart. Provide a number to give a custom amount of hearts. (You can use negative
638
721
  * numbers to remove hearts.)
@@ -640,24 +723,20 @@ exports.goldenBomb = goldenBomb;
640
723
  function goldenHearts(params) {
641
724
  (0, subroutines_1.addHeart)(params, HealthType_1.HealthType.GOLDEN);
642
725
  }
643
- exports.goldenHearts = goldenHearts;
644
726
  /** Gives the player a golden key. */
645
727
  function goldenKey() {
646
728
  const player = Isaac.GetPlayer();
647
729
  player.AddGoldenKey();
648
730
  }
649
- exports.goldenKey = goldenKey;
650
731
  /** Gives the player a golden pill. */
651
732
  function goldenPill() {
652
733
  const player = Isaac.GetPlayer();
653
734
  player.AddPill(isaac_typescript_definitions_1.PillColor.GOLD);
654
735
  }
655
- exports.goldenPill = goldenPill;
656
736
  /** Alias for the "spawnGoldenTrinket" command. */
657
737
  function goldenTrinket(params) {
658
738
  spawnGoldenTrinket(params);
659
739
  }
660
- exports.goldenTrinket = goldenTrinket;
661
740
  /**
662
741
  * Alias for the "debug 11" command. Useful for seeing the coordinates and grid index of each tile
663
742
  * in the room.
@@ -665,17 +744,14 @@ exports.goldenTrinket = goldenTrinket;
665
744
  function grid() {
666
745
  Isaac.ExecuteCommand("debug 11");
667
746
  }
668
- exports.grid = grid;
669
747
  /** Alias for the "gridCosts" command. */
670
748
  function grid2() {
671
749
  gridCosts();
672
750
  }
673
- exports.grid2 = grid2;
674
751
  /** Alias for the "debug 2" command. Useful for seeing the grid costs of each tile in the room. */
675
752
  function gridCosts() {
676
753
  Isaac.ExecuteCommand("debug 2");
677
754
  }
678
- exports.gridCosts = gridCosts;
679
755
  /** Spawns every grid entity, starting at the top-left-most tile. */
680
756
  function gridEntities() {
681
757
  let gridEntityTypeIndex = -1;
@@ -691,7 +767,6 @@ function gridEntities() {
691
767
  }
692
768
  }
693
769
  }
694
- exports.gridEntities = gridEntities;
695
770
  /**
696
771
  * Gives a half red heart. Provide a number to give a custom amount of hearts. (You can use negative
697
772
  * numbers to remove hearts.)
@@ -699,28 +774,23 @@ exports.gridEntities = gridEntities;
699
774
  function hearts(params) {
700
775
  (0, subroutines_1.addHeart)(params, HealthType_1.HealthType.RED);
701
776
  }
702
- exports.hearts = hearts;
703
777
  /** Alias for the "debug 6" command. */
704
778
  function hitboxes() {
705
779
  Isaac.ExecuteCommand("debug 6");
706
780
  }
707
- exports.hitboxes = hitboxes;
708
781
  /** The same thing as the `pill` command, but gives a horse pill instead of a normal pill. */
709
782
  function horse(params) {
710
783
  pill(params, true);
711
784
  }
712
- exports.horse = horse;
713
785
  /** Warps to the Blue Womb Boss Room. */
714
786
  function hush() {
715
787
  (0, stage_1.setStage)(isaac_typescript_definitions_1.LevelStage.BLUE_WOMB, isaac_typescript_definitions_1.StageType.ORIGINAL);
716
788
  bossRoom();
717
789
  }
718
- exports.hush = hush;
719
790
  /** Warps to the I AM ERROR room for the floor. */
720
791
  function iAmErrorRoom() {
721
792
  (0, rooms_1.changeRoom)(isaac_typescript_definitions_1.GridRoom.ERROR);
722
793
  }
723
- exports.iAmErrorRoom = iAmErrorRoom;
724
794
  /**
725
795
  * Gives a key. Provide a number to give a custom amount of key. (You can use negative numbers to
726
796
  * remove keys.)
@@ -738,7 +808,6 @@ function key(params) {
738
808
  const player = Isaac.GetPlayer();
739
809
  player.AddKeys(numKeys);
740
810
  }
741
- exports.key = key;
742
811
  /**
743
812
  * Gives 99 keys. Provide a number to give a custom amount of coins. (You can use negative numbers
744
813
  * to remove keys.)
@@ -756,23 +825,19 @@ function keys(params) {
756
825
  const player = Isaac.GetPlayer();
757
826
  player.AddKeys(numKeys);
758
827
  }
759
- exports.keys = keys;
760
828
  /** Toggles permanent Curse of the Labyrinth. */
761
829
  function labyrinth() {
762
830
  v_1.v.persistent.labyrinth = !v_1.v.persistent.labyrinth;
763
831
  (0, console_1.printEnabled)(v_1.v.persistent.labyrinth, "permanent Curse of the Labyrinth");
764
832
  }
765
- exports.labyrinth = labyrinth;
766
833
  /** Moves the player 0.5 units left. Provide a number to move a custom amount of units. */
767
834
  function left(params) {
768
835
  (0, subroutines_1.movePlayer)(params, isaac_typescript_definitions_1.Direction.LEFT);
769
836
  }
770
- exports.left = left;
771
837
  /** Warps to the first Library on the floor. */
772
838
  function library() {
773
839
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.LIBRARY);
774
840
  }
775
- exports.library = library;
776
841
  /**
777
842
  * Logs the entities in the room to the "log.txt" file. Provide a number to only log that specific
778
843
  * `EntityType`.
@@ -783,7 +848,6 @@ exports.library = library;
783
848
  function list(params) {
784
849
  (0, subroutines_1.listEntities)(params, false);
785
850
  }
786
- exports.list = list;
787
851
  /**
788
852
  * Logs the entities in the room to the "log.txt" file. Provide a number to only log that specific
789
853
  * `EntityType`.
@@ -791,7 +855,6 @@ exports.list = list;
791
855
  function listAll(params) {
792
856
  (0, subroutines_1.listEntities)(params, true);
793
857
  }
794
- exports.listAll = listAll;
795
858
  /**
796
859
  * Logs the grid entities in the room to the "log.txt" file. Provide a number to only log that
797
860
  * specific `GridEntityType`.
@@ -802,7 +865,6 @@ exports.listAll = listAll;
802
865
  function listGrid(params) {
803
866
  (0, subroutines_1.listGridEntities)(params, false);
804
867
  }
805
- exports.listGrid = listGrid;
806
868
  /**
807
869
  * Logs the grid entities in the room to the "log.txt" file. Provide a number to only log that
808
870
  * specific `GridEntityType`.
@@ -810,28 +872,23 @@ exports.listGrid = listGrid;
810
872
  function listGridAll(params) {
811
873
  (0, subroutines_1.listGridEntities)(params, true);
812
874
  }
813
- exports.listGridAll = listGridAll;
814
875
  /** Toggles permanent Curse of the Lost. */
815
876
  function lost() {
816
877
  v_1.v.persistent.lost = !v_1.v.persistent.lost;
817
878
  (0, console_1.printEnabled)(v_1.v.persistent.lost, "permanent Curse of the Lost");
818
879
  }
819
- exports.lost = lost;
820
880
  /** Alias for the "1hp" command. */
821
881
  function lowHP() {
822
882
  oneHP();
823
883
  }
824
- exports.lowHP = lowHP;
825
884
  /** Alias for "debug 9". */
826
885
  function luck() {
827
886
  Isaac.ExecuteCommand("debug 9");
828
887
  }
829
- exports.luck = luck;
830
888
  /** Alias for the "poopMana" command. */
831
889
  function mana(params) {
832
890
  poopMana(params);
833
891
  }
834
- exports.mana = mana;
835
892
  /** Completely reveals the entire map, including the Ultra Secret Room. */
836
893
  function map() {
837
894
  const level = cachedClasses_1.game.GetLevel();
@@ -845,7 +902,6 @@ function map() {
845
902
  // We must call the "Level.UpdateVisibility" method for the changes to be visible.
846
903
  level.UpdateVisibility();
847
904
  }
848
- exports.map = map;
849
905
  /**
850
906
  * Gives a heart container. Provide a number to give a custom amount of heart containers. (You can
851
907
  * use negative numbers to remove heart containers.)
@@ -853,34 +909,28 @@ exports.map = map;
853
909
  function maxHearts(params) {
854
910
  (0, subroutines_1.addHeart)(params, HealthType_1.HealthType.MAX_HEARTS);
855
911
  }
856
- exports.maxHearts = maxHearts;
857
912
  /** Toggles permanent Curse of the Maze. */
858
913
  function maze() {
859
914
  v_1.v.persistent.maze = !v_1.v.persistent.maze;
860
915
  (0, console_1.printEnabled)(v_1.v.persistent.maze, "permanent Curse of the Maze");
861
916
  }
862
- exports.maze = maze;
863
917
  /** Warps to the Mega Satan room on the floor. (Every floor has a Mega Satan room.) */
864
918
  function megaSatan() {
865
919
  (0, rooms_1.changeRoom)(isaac_typescript_definitions_1.GridRoom.MEGA_SATAN);
866
920
  }
867
- exports.megaSatan = megaSatan;
868
921
  /** Warps to the first Miniboss Room on the floor. */
869
922
  function miniboss() {
870
923
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.MINI_BOSS);
871
924
  }
872
- exports.miniboss = miniboss;
873
925
  /** Logs the currently playing music track to the "log.txt" file. */
874
926
  function music() {
875
927
  (0, logMisc_1.logMusic)();
876
928
  print('Logged the currently playing music track to the "log.txt" file.');
877
929
  }
878
- exports.music = music;
879
930
  /** Alias for the "disableCurses" command. */
880
931
  function noCurses() {
881
932
  disableCurses();
882
933
  }
883
- exports.noCurses = noCurses;
884
934
  /** Sets every NPC in the room to 1 HP. */
885
935
  function oneHP() {
886
936
  for (const npc of (0, entitiesSpecific_1.getNPCs)()) {
@@ -888,7 +938,6 @@ function oneHP() {
888
938
  }
889
939
  print("Set every NPC to 1 HP.");
890
940
  }
891
- exports.oneHP = oneHP;
892
941
  /**
893
942
  * Gives a pill with the specified pill effect. Accepts either the effect ID or the partial name of
894
943
  * the effect.
@@ -935,7 +984,6 @@ function pill(params, isHorse = false) {
935
984
  print(`Gave pill: ${pillEffectName} (${pillEffect})`);
936
985
  }
937
986
  }
938
- exports.pill = pill;
939
987
  /** Spawns every pill on the ground, starting at the top-left-most tile. */
940
988
  function pills() {
941
989
  let y;
@@ -948,7 +996,7 @@ function pills() {
948
996
  }
949
997
  const worldPosition = (0, roomGrid_1.gridCoordinatesToWorldPosition)(x, y);
950
998
  (0, pickupsSpecific_1.spawnPill)(pillColor, worldPosition);
951
- pillColor++; // eslint-disable-line isaacscript/strict-enums
999
+ pillColor++; // eslint-disable-line complete/strict-enums
952
1000
  }
953
1001
  y = 2;
954
1002
  pillColor = constantsFirstLast_1.FIRST_HORSE_PILL_COLOR;
@@ -958,7 +1006,7 @@ function pills() {
958
1006
  }
959
1007
  const worldPosition = (0, roomGrid_1.gridCoordinatesToWorldPosition)(x, y);
960
1008
  (0, pickupsSpecific_1.spawnPill)(pillColor, worldPosition);
961
- pillColor++; // eslint-disable-line isaacscript/strict-enums
1009
+ pillColor++; // eslint-disable-line complete/strict-enums
962
1010
  }
963
1011
  y = 3;
964
1012
  const worldPosition1 = (0, roomGrid_1.gridCoordinatesToWorldPosition)(0, y);
@@ -966,17 +1014,14 @@ function pills() {
966
1014
  const worldPosition2 = (0, roomGrid_1.gridCoordinatesToWorldPosition)(1, y);
967
1015
  (0, pickupsSpecific_1.spawnPill)(isaac_typescript_definitions_1.PillColor.HORSE_GOLD, worldPosition2);
968
1016
  }
969
- exports.pills = pills;
970
1017
  /** Warps to the first Planetarium on the floor. */
971
1018
  function planetarium() {
972
1019
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.PLANETARIUM);
973
1020
  }
974
- exports.planetarium = planetarium;
975
1021
  /** Alias for the "sound" command. */
976
1022
  function playSound(params) {
977
1023
  sound(params);
978
1024
  }
979
- exports.playSound = playSound;
980
1025
  /** Sets the player's pocket item to the specified collectible type. */
981
1026
  function pocket(params) {
982
1027
  if (params === "") {
@@ -992,7 +1037,6 @@ function pocket(params) {
992
1037
  const player = Isaac.GetPlayer();
993
1038
  player.SetPocketActiveItem(collectibleType, isaac_typescript_definitions_1.ActiveSlot.POCKET);
994
1039
  }
995
- exports.pocket = pocket;
996
1040
  /** Creates a poop grid entity next to the player. */
997
1041
  function poop() {
998
1042
  const roomClass = cachedClasses_1.game.GetRoom();
@@ -1000,7 +1044,6 @@ function poop() {
1000
1044
  const tilePosition = roomClass.FindFreeTilePosition(player.Position, 0);
1001
1045
  (0, gridEntities_1.spawnGridEntity)(isaac_typescript_definitions_1.GridEntityType.POOP, tilePosition);
1002
1046
  }
1003
- exports.poop = poop;
1004
1047
  /**
1005
1048
  * Gives a poop mana charge. This only affects Tainted Blue Baby. Provide a number to give a custom
1006
1049
  * amount of charges. (You can use negative numbers to remove charges.)
@@ -1018,33 +1061,27 @@ function poopMana(params) {
1018
1061
  const player = Isaac.GetPlayer();
1019
1062
  player.AddPoopMana(charges);
1020
1063
  }
1021
- exports.poopMana = poopMana;
1022
1064
  /** Alias for the "getPosition" command. */
1023
1065
  function position() {
1024
1066
  getPosition();
1025
1067
  }
1026
- exports.position = position;
1027
1068
  /** Alias for the "hearts" command. */
1028
1069
  function redHearts(params) {
1029
1070
  hearts(params);
1030
1071
  }
1031
- exports.redHearts = redHearts;
1032
1072
  /** Starts a room transition to the same room that you are already in. */
1033
1073
  function reloadRoom() {
1034
1074
  (0, roomTransition_1.reloadRoom)();
1035
1075
  }
1036
- exports.reloadRoom = reloadRoom;
1037
1076
  /** Moves the player 0.5 units right. Provide a number to move a custom amount of units. */
1038
1077
  function right(params) {
1039
1078
  (0, subroutines_1.movePlayer)(params, isaac_typescript_definitions_1.Direction.RIGHT);
1040
1079
  }
1041
- exports.right = right;
1042
1080
  /** Logs information about the room to the "log.txt" file. */
1043
1081
  function room() {
1044
1082
  (0, logMisc_1.logRoom)();
1045
1083
  print('Logged room information to the "log.txt" file.');
1046
1084
  }
1047
- exports.room = room;
1048
1085
  /**
1049
1086
  * Gives a rotten heart. Provide a number to give a custom amount of hearts. (You can use negative
1050
1087
  * numbers to remove hearts.)
@@ -1052,7 +1089,6 @@ exports.room = room;
1052
1089
  function rottenHearts(params) {
1053
1090
  (0, subroutines_1.addHeart)(params, HealthType_1.HealthType.ROTTEN);
1054
1091
  }
1055
- exports.rottenHearts = rottenHearts;
1056
1092
  /**
1057
1093
  * Run the suite of tests that prove that the "deepCopy" helper function and the "merge" function
1058
1094
  * work properly. For more information, see the `runDeepCopyTests` and the `runMergeTests`
@@ -1064,7 +1100,6 @@ function runTests() {
1064
1100
  (0, deepCopyTests_1.runDeepCopyTests)();
1065
1101
  (0, mergeTests_1.runMergeTests)();
1066
1102
  }
1067
- exports.runTests = runTests;
1068
1103
  /**
1069
1104
  * Alias for the "stage" command.
1070
1105
  *
@@ -1100,22 +1135,18 @@ function s(params) {
1100
1135
  }
1101
1136
  Isaac.ExecuteCommand(`stage ${stage}${stageTypeLetter}`);
1102
1137
  }
1103
- exports.s = s;
1104
1138
  /** Warps to the first Sacrifice Room on the floor. */
1105
1139
  function sacrificeRoom() {
1106
1140
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.SACRIFICE);
1107
1141
  }
1108
- exports.sacrificeRoom = sacrificeRoom;
1109
1142
  /** Warps to the first Secret Room on the floor. */
1110
1143
  function secretRoom() {
1111
1144
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.SECRET);
1112
1145
  }
1113
- exports.secretRoom = secretRoom;
1114
1146
  /** Warps to the Secret Shop that you would normally get to with a Member Card. */
1115
1147
  function secretShop() {
1116
1148
  (0, rooms_1.changeRoom)(isaac_typescript_definitions_1.GridRoom.SECRET_SHOP);
1117
1149
  }
1118
- exports.secretShop = secretShop;
1119
1150
  /** Changes to a seeded run, using the seed of the current run. */
1120
1151
  function seedStick() {
1121
1152
  const seedsClass = cachedClasses_1.game.GetSeeds();
@@ -1123,13 +1154,11 @@ function seedStick() {
1123
1154
  Isaac.ExecuteCommand(`seed ${startSeedString}`);
1124
1155
  print(`Sticking to seed: ${startSeedString}`);
1125
1156
  }
1126
- exports.seedStick = seedStick;
1127
1157
  /** Logs all of the current run's seed effects to the "log.txt" file. */
1128
1158
  function seeds() {
1129
1159
  (0, logMisc_1.logSeedEffects)();
1130
1160
  print('Logged the seed effects to the "log.txt" file.');
1131
1161
  }
1132
- exports.seeds = seeds;
1133
1162
  /**
1134
1163
  * Sets a charge to the player's specified active item. You must provide the active slot number and
1135
1164
  * the number of charges to set.
@@ -1169,7 +1198,6 @@ function setCharges(params) {
1169
1198
  const player = Isaac.GetPlayer();
1170
1199
  player.SetActiveCharge(chargeNum, activeSlot);
1171
1200
  }
1172
- exports.setCharges = setCharges;
1173
1201
  /**
1174
1202
  * Moves the first player to the specified position.
1175
1203
  *
@@ -1204,18 +1232,15 @@ function setPosition(params) {
1204
1232
  const newPosition = Vector(x, y);
1205
1233
  player.Position = newPosition;
1206
1234
  }
1207
- exports.setPosition = setPosition;
1208
1235
  /** Warps to the first shop on the floor. */
1209
1236
  function shop() {
1210
1237
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.SHOP);
1211
1238
  }
1212
- exports.shop = shop;
1213
1239
  /** Uses the Smelter to smelt the current player's trinket. */
1214
1240
  function smelt() {
1215
1241
  const player = Isaac.GetPlayer();
1216
1242
  (0, playerCollectibles_1.useActiveItemTemp)(player, isaac_typescript_definitions_1.CollectibleType.SMELTER);
1217
1243
  }
1218
- exports.smelt = smelt;
1219
1244
  /**
1220
1245
  * Gives a soul charge. This only affects Tainted Bethany. Provide a number to give a custom amount
1221
1246
  * of charges. (You can use negative numbers to remove charges.)
@@ -1233,7 +1258,6 @@ function soulCharges(params) {
1233
1258
  const player = Isaac.GetPlayer();
1234
1259
  player.AddSoulCharge(charges);
1235
1260
  }
1236
- exports.soulCharges = soulCharges;
1237
1261
  /**
1238
1262
  * Gives a half soul heart. Provide a number to give a custom amount of hearts. (You can use
1239
1263
  * negative numbers to remove hearts.)
@@ -1241,7 +1265,6 @@ exports.soulCharges = soulCharges;
1241
1265
  function soulHearts(params) {
1242
1266
  (0, subroutines_1.addHeart)(params, HealthType_1.HealthType.SOUL);
1243
1267
  }
1244
- exports.soulHearts = soulHearts;
1245
1268
  /**
1246
1269
  * Play the supplied sound effect.
1247
1270
  *
@@ -1256,13 +1279,11 @@ function sound(params) {
1256
1279
  }
1257
1280
  cachedClasses_1.sfxManager.Play(soundEffect);
1258
1281
  }
1259
- exports.sound = sound;
1260
1282
  /** Logs all of the currently playing sound effects to the "log.txt" file. */
1261
1283
  function sounds() {
1262
1284
  (0, logMisc_1.logSounds)();
1263
1285
  print('Logged the currently playing sound effects to the "log.txt" file.');
1264
1286
  }
1265
- exports.sounds = sounds;
1266
1287
  /**
1267
1288
  * Toggles spamming Blood Rights on every frame. Useful for killing enemies very fast without using
1268
1289
  * "debug 10".
@@ -1271,7 +1292,6 @@ function spam() {
1271
1292
  v_1.v.persistent.spamBloodRights = !v_1.v.persistent.spamBloodRights;
1272
1293
  (0, console_1.printEnabled)(v_1.v.persistent.spamBloodRights, "spamming Blood Rights");
1273
1294
  }
1274
- exports.spam = spam;
1275
1295
  /**
1276
1296
  * Spawns a collectible in the center of the room. You must specify the collectible name or the
1277
1297
  * number corresponding to the collectible type.
@@ -1310,7 +1330,6 @@ function spawnCollectible(params) {
1310
1330
  const centerPos = roomClass.GetCenterPos();
1311
1331
  (0, spawnCollectible_1.spawnCollectible)(collectibleType, centerPos, undefined);
1312
1332
  }
1313
- exports.spawnCollectible = spawnCollectible;
1314
1333
  /**
1315
1334
  * Spawns a collectible at a specific grid tile location. You must specify the number corresponding
1316
1335
  * to the collectible type and the number corresponding to the grid tile location.
@@ -1351,12 +1370,10 @@ function spawnCollectibleAt(params) {
1351
1370
  }
1352
1371
  (0, spawnCollectible_1.spawnCollectible)(collectibleType, gridIndex, undefined);
1353
1372
  }
1354
- exports.spawnCollectibleAt = spawnCollectibleAt;
1355
1373
  /** Alias for the `spawnGoldenTrinket` command. */
1356
1374
  function spawnGoldTrinket(params) {
1357
1375
  spawnGoldenTrinket(params);
1358
1376
  }
1359
- exports.spawnGoldTrinket = spawnGoldTrinket;
1360
1377
  /**
1361
1378
  * The same thing as the `spawnTrinket` command but spawns a golden version of the specified
1362
1379
  * trinket.
@@ -1364,7 +1381,6 @@ exports.spawnGoldTrinket = spawnGoldTrinket;
1364
1381
  function spawnGoldenTrinket(params) {
1365
1382
  spawnTrinket(params, true);
1366
1383
  }
1367
- exports.spawnGoldenTrinket = spawnGoldenTrinket;
1368
1384
  /**
1369
1385
  * The same thing as the `spawnTrinketAt` command but spawns a golden version of the specified
1370
1386
  * trinket.
@@ -1372,7 +1388,6 @@ exports.spawnGoldenTrinket = spawnGoldenTrinket;
1372
1388
  function spawnGoldenTrinketAt(params) {
1373
1389
  spawnTrinketAt(params, true);
1374
1390
  }
1375
- exports.spawnGoldenTrinketAt = spawnGoldenTrinketAt;
1376
1391
  /**
1377
1392
  * Spawns a trinket in the center of the room. You must specify the trinket name or the number
1378
1393
  * corresponding to the trinket type.
@@ -1416,7 +1431,6 @@ function spawnTrinket(params, golden = false) {
1416
1431
  const trinketTypeToSpawn = golden ? goldenTrinketType : trinketType;
1417
1432
  (0, pickupsSpecific_1.spawnTrinket)(trinketTypeToSpawn, centerPos);
1418
1433
  }
1419
- exports.spawnTrinket = spawnTrinket;
1420
1434
  /**
1421
1435
  * Spawns a trinket at a specific grid tile location. You must specify the number corresponding to
1422
1436
  * the trinket type and the number corresponding to the grid tile location.
@@ -1458,7 +1472,6 @@ function spawnTrinketAt(params, golden = false) {
1458
1472
  const trinketTypeToSpawn = golden ? goldenTrinketType : trinketType;
1459
1473
  (0, pickupsSpecific_1.spawnTrinket)(trinketTypeToSpawn, gridIndex);
1460
1474
  }
1461
- exports.spawnTrinketAt = spawnTrinketAt;
1462
1475
  /**
1463
1476
  * Toggles a set movement speed and flight for the player. You can provide an optional argument to
1464
1477
  * this command in order to set the speed to a specific amount. Default is 2.0 (which is the maximum
@@ -1481,7 +1494,6 @@ function speed(params) {
1481
1494
  flight(value);
1482
1495
  (0, console_1.printEnabled)(v_1.v.persistent.speed, "set speed");
1483
1496
  }
1484
- exports.speed = speed;
1485
1497
  /** Creates a spikes grid entity next to the player. */
1486
1498
  function spikes() {
1487
1499
  const roomClass = cachedClasses_1.game.GetRoom();
@@ -1489,24 +1501,20 @@ function spikes() {
1489
1501
  const tilePosition = roomClass.FindFreeTilePosition(player.Position, 0);
1490
1502
  (0, gridEntities_1.spawnGridEntity)(isaac_typescript_definitions_1.GridEntityType.SPIKES, tilePosition);
1491
1503
  }
1492
- exports.spikes = spikes;
1493
1504
  /** Alias for the "startingRoom" command. */
1494
1505
  function startRoom() {
1495
1506
  startingRoom();
1496
1507
  }
1497
- exports.startRoom = startRoom;
1498
1508
  /** Warps to the starting room of the floor. */
1499
1509
  function startingRoom() {
1500
1510
  const level = cachedClasses_1.game.GetLevel();
1501
1511
  const startingRoomIndex = level.GetStartingRoomIndex();
1502
1512
  (0, rooms_1.changeRoom)(startingRoomIndex);
1503
1513
  }
1504
- exports.startingRoom = startingRoom;
1505
1514
  /** Warps to the first Super Secret Room on the floor. */
1506
1515
  function superSecretRoom() {
1507
1516
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.SUPER_SECRET);
1508
1517
  }
1509
- exports.superSecretRoom = superSecretRoom;
1510
1518
  /**
1511
1519
  * Toggles a set tear delay (e.g. fire rate) for the player. You can provide an optional argument to
1512
1520
  * this command in order to set the tear delay to a specific amount. Default is 1 (which is
@@ -1527,38 +1535,31 @@ function tears(params) {
1527
1535
  player.EvaluateItems();
1528
1536
  (0, console_1.printEnabled)(v_1.v.persistent.damage, "set tear delay");
1529
1537
  }
1530
- exports.tears = tears;
1531
1538
  /** Alias for the "runTests" command. */
1532
1539
  function tests() {
1533
1540
  runTests();
1534
1541
  }
1535
- exports.tests = tests;
1536
1542
  /** Creates a trapdoor next to the player. */
1537
1543
  function trapdoor() {
1538
1544
  (0, subroutines_1.spawnTrapdoorOrCrawlSpace)(true);
1539
1545
  }
1540
- exports.trapdoor = trapdoor;
1541
1546
  /** Warps to the first Treasure Room on the floor. */
1542
1547
  function treasureRoom() {
1543
1548
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.TREASURE);
1544
1549
  }
1545
- exports.treasureRoom = treasureRoom;
1546
1550
  /** Alias for the "spawnTrinket" command. */
1547
1551
  function trinket(params) {
1548
1552
  spawnTrinket(params);
1549
1553
  }
1550
- exports.trinket = trinket;
1551
1554
  /** Warps to the first Ultra Secret Room on the floor. */
1552
1555
  function ultraSecretRoom() {
1553
1556
  (0, subroutines_1.warpToRoomType)(isaac_typescript_definitions_1.RoomType.ULTRA_SECRET);
1554
1557
  }
1555
- exports.ultraSecretRoom = ultraSecretRoom;
1556
1558
  /** Toggles permanent Curse of the Unknown. */
1557
1559
  function unknown() {
1558
1560
  v_1.v.persistent.unknown = !v_1.v.persistent.unknown;
1559
1561
  (0, console_1.printEnabled)(v_1.v.persistent.unknown, "permanent Curse of the Unknown");
1560
1562
  }
1561
- exports.unknown = unknown;
1562
1563
  /** If currently on a set seed, changes to an unseeded state and restarts the game. */
1563
1564
  function unseed() {
1564
1565
  if (!(0, run_1.onSetSeed)()) {
@@ -1568,12 +1569,10 @@ function unseed() {
1568
1569
  (0, run_1.setUnseeded)();
1569
1570
  (0, run_1.restart)();
1570
1571
  }
1571
- exports.unseed = unseed;
1572
1572
  /** Moves the player 0.5 units up. Provide a number to move a custom amount of units. */
1573
1573
  function up(params) {
1574
1574
  (0, subroutines_1.movePlayer)(params, isaac_typescript_definitions_1.Direction.UP);
1575
1575
  }
1576
- exports.up = up;
1577
1576
  /**
1578
1577
  * Warps to the specified room type. Accepts either the room type number or the partial name of the
1579
1578
  * room type.
@@ -1606,9 +1605,7 @@ function warp(params) {
1606
1605
  }
1607
1606
  (0, subroutines_1.warpToRoomType)(roomType);
1608
1607
  }
1609
- exports.warp = warp;
1610
1608
  /** Alias for the "labyrinth" command. */
1611
1609
  function xl() {
1612
1610
  labyrinth();
1613
1611
  }
1614
- exports.xl = xl;