isaacscript-common 30.12.2 → 30.12.4

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 (1039) hide show
  1. package/dist/index.rollup.d.ts +289 -283
  2. package/dist/isaacscript-common.lua +201 -217
  3. package/dist/src/classes/DefaultMap.d.ts +2 -2
  4. package/dist/src/classes/DefaultMap.d.ts.map +1 -1
  5. package/dist/src/classes/ModFeature.d.ts +4 -4
  6. package/dist/src/classes/ModFeature.d.ts.map +1 -1
  7. package/dist/src/classes/ModUpgraded.d.ts +6 -6
  8. package/dist/src/classes/ModUpgraded.d.ts.map +1 -1
  9. package/dist/src/classes/callbacks/EntityTakeDmgFilter.d.ts +2 -2
  10. package/dist/src/classes/callbacks/EntityTakeDmgFilter.d.ts.map +1 -1
  11. package/dist/src/classes/callbacks/EntityTakeDmgPlayer.d.ts +2 -2
  12. package/dist/src/classes/callbacks/EntityTakeDmgPlayer.d.ts.map +1 -1
  13. package/dist/src/classes/callbacks/InputActionFilter.d.ts +3 -3
  14. package/dist/src/classes/callbacks/InputActionFilter.d.ts.map +1 -1
  15. package/dist/src/classes/callbacks/InputActionPlayer.d.ts +3 -3
  16. package/dist/src/classes/callbacks/InputActionPlayer.d.ts.map +1 -1
  17. package/dist/src/classes/callbacks/PostAmbushFinished.d.ts +2 -2
  18. package/dist/src/classes/callbacks/PostAmbushFinished.d.ts.map +1 -1
  19. package/dist/src/classes/callbacks/PostAmbushStarted.d.ts +2 -2
  20. package/dist/src/classes/callbacks/PostAmbushStarted.d.ts.map +1 -1
  21. package/dist/src/classes/callbacks/PostBombExploded.d.ts +2 -2
  22. package/dist/src/classes/callbacks/PostBombExploded.d.ts.map +1 -1
  23. package/dist/src/classes/callbacks/PostBombInitFilter.d.ts +2 -2
  24. package/dist/src/classes/callbacks/PostBombInitFilter.d.ts.map +1 -1
  25. package/dist/src/classes/callbacks/PostBombInitLate.d.ts +2 -2
  26. package/dist/src/classes/callbacks/PostBombInitLate.d.ts.map +1 -1
  27. package/dist/src/classes/callbacks/PostBombRenderFilter.d.ts +2 -2
  28. package/dist/src/classes/callbacks/PostBombRenderFilter.d.ts.map +1 -1
  29. package/dist/src/classes/callbacks/PostBombUpdateFilter.d.ts +2 -2
  30. package/dist/src/classes/callbacks/PostBombUpdateFilter.d.ts.map +1 -1
  31. package/dist/src/classes/callbacks/PostBoneSwing.d.ts +2 -2
  32. package/dist/src/classes/callbacks/PostBoneSwing.d.ts.map +1 -1
  33. package/dist/src/classes/callbacks/PostCollectibleEmpty.d.ts +4 -3
  34. package/dist/src/classes/callbacks/PostCollectibleEmpty.d.ts.map +1 -1
  35. package/dist/src/classes/callbacks/PostCursedTeleport.d.ts +3 -3
  36. package/dist/src/classes/callbacks/PostCursedTeleport.d.ts.map +1 -1
  37. package/dist/src/classes/callbacks/PostCustomRevive.d.ts +3 -2
  38. package/dist/src/classes/callbacks/PostCustomRevive.d.ts.map +1 -1
  39. package/dist/src/classes/callbacks/PostDiceRoomActivated.d.ts +5 -4
  40. package/dist/src/classes/callbacks/PostDiceRoomActivated.d.ts.map +1 -1
  41. package/dist/src/classes/callbacks/PostDoorRender.d.ts +2 -2
  42. package/dist/src/classes/callbacks/PostDoorRender.d.ts.map +1 -1
  43. package/dist/src/classes/callbacks/PostDoorUpdate.d.ts +2 -2
  44. package/dist/src/classes/callbacks/PostDoorUpdate.d.ts.map +1 -1
  45. package/dist/src/classes/callbacks/PostEffectInitFilter.d.ts +2 -2
  46. package/dist/src/classes/callbacks/PostEffectInitFilter.d.ts.map +1 -1
  47. package/dist/src/classes/callbacks/PostEffectInitLate.d.ts +2 -2
  48. package/dist/src/classes/callbacks/PostEffectInitLate.d.ts.map +1 -1
  49. package/dist/src/classes/callbacks/PostEffectRenderFilter.d.ts +2 -2
  50. package/dist/src/classes/callbacks/PostEffectRenderFilter.d.ts.map +1 -1
  51. package/dist/src/classes/callbacks/PostEffectStateChanged.d.ts +2 -2
  52. package/dist/src/classes/callbacks/PostEffectStateChanged.d.ts.map +1 -1
  53. package/dist/src/classes/callbacks/PostEffectUpdateFilter.d.ts +2 -2
  54. package/dist/src/classes/callbacks/PostEffectUpdateFilter.d.ts.map +1 -1
  55. package/dist/src/classes/callbacks/PostEntityKillFilter.d.ts +2 -2
  56. package/dist/src/classes/callbacks/PostEntityKillFilter.d.ts.map +1 -1
  57. package/dist/src/classes/callbacks/PostEsauJr.d.ts +1 -1
  58. package/dist/src/classes/callbacks/PostEsauJr.d.ts.map +1 -1
  59. package/dist/src/classes/callbacks/PostFamiliarInitFilter.d.ts +2 -2
  60. package/dist/src/classes/callbacks/PostFamiliarInitFilter.d.ts.map +1 -1
  61. package/dist/src/classes/callbacks/PostFamiliarInitLate.d.ts +2 -2
  62. package/dist/src/classes/callbacks/PostFamiliarInitLate.d.ts.map +1 -1
  63. package/dist/src/classes/callbacks/PostFamiliarRenderFilter.d.ts +2 -2
  64. package/dist/src/classes/callbacks/PostFamiliarRenderFilter.d.ts.map +1 -1
  65. package/dist/src/classes/callbacks/PostFamiliarStateChanged.d.ts +2 -2
  66. package/dist/src/classes/callbacks/PostFamiliarStateChanged.d.ts.map +1 -1
  67. package/dist/src/classes/callbacks/PostFamiliarUpdateFilter.d.ts +2 -2
  68. package/dist/src/classes/callbacks/PostFamiliarUpdateFilter.d.ts.map +1 -1
  69. package/dist/src/classes/callbacks/PostFirstEsauJr.d.ts +1 -1
  70. package/dist/src/classes/callbacks/PostFirstEsauJr.d.ts.map +1 -1
  71. package/dist/src/classes/callbacks/PostFirstFlip.d.ts +1 -1
  72. package/dist/src/classes/callbacks/PostFirstFlip.d.ts.map +1 -1
  73. package/dist/src/classes/callbacks/PostFlip.d.ts +1 -1
  74. package/dist/src/classes/callbacks/PostFlip.d.ts.map +1 -1
  75. package/dist/src/classes/callbacks/PostGameEndFilter.d.ts +2 -2
  76. package/dist/src/classes/callbacks/PostGameEndFilter.d.ts.map +1 -1
  77. package/dist/src/classes/callbacks/PostGameStartedReordered.d.ts +1 -1
  78. package/dist/src/classes/callbacks/PostGameStartedReordered.d.ts.map +1 -1
  79. package/dist/src/classes/callbacks/PostGameStartedReorderedLast.d.ts +1 -1
  80. package/dist/src/classes/callbacks/PostGameStartedReorderedLast.d.ts.map +1 -1
  81. package/dist/src/classes/callbacks/PostGreedModeWave.d.ts +2 -2
  82. package/dist/src/classes/callbacks/PostGreedModeWave.d.ts.map +1 -1
  83. package/dist/src/classes/callbacks/PostGridEntityBroken.d.ts +1 -1
  84. package/dist/src/classes/callbacks/PostGridEntityBroken.d.ts.map +1 -1
  85. package/dist/src/classes/callbacks/PostGridEntityCollision.d.ts +1 -1
  86. package/dist/src/classes/callbacks/PostGridEntityCollision.d.ts.map +1 -1
  87. package/dist/src/classes/callbacks/PostGridEntityCustomBroken.d.ts +1 -1
  88. package/dist/src/classes/callbacks/PostGridEntityCustomBroken.d.ts.map +1 -1
  89. package/dist/src/classes/callbacks/PostGridEntityCustomCollision.d.ts +1 -1
  90. package/dist/src/classes/callbacks/PostGridEntityCustomCollision.d.ts.map +1 -1
  91. package/dist/src/classes/callbacks/PostGridEntityCustomInit.d.ts +1 -1
  92. package/dist/src/classes/callbacks/PostGridEntityCustomInit.d.ts.map +1 -1
  93. package/dist/src/classes/callbacks/PostGridEntityCustomRemove.d.ts +3 -2
  94. package/dist/src/classes/callbacks/PostGridEntityCustomRemove.d.ts.map +1 -1
  95. package/dist/src/classes/callbacks/PostGridEntityCustomRender.d.ts +1 -1
  96. package/dist/src/classes/callbacks/PostGridEntityCustomRender.d.ts.map +1 -1
  97. package/dist/src/classes/callbacks/PostGridEntityCustomStateChanged.d.ts +1 -1
  98. package/dist/src/classes/callbacks/PostGridEntityCustomStateChanged.d.ts.map +1 -1
  99. package/dist/src/classes/callbacks/PostGridEntityCustomUpdate.d.ts +1 -1
  100. package/dist/src/classes/callbacks/PostGridEntityCustomUpdate.d.ts.map +1 -1
  101. package/dist/src/classes/callbacks/PostGridEntityInit.d.ts +1 -1
  102. package/dist/src/classes/callbacks/PostGridEntityInit.d.ts.map +1 -1
  103. package/dist/src/classes/callbacks/PostGridEntityRemove.d.ts +1 -1
  104. package/dist/src/classes/callbacks/PostGridEntityRemove.d.ts.map +1 -1
  105. package/dist/src/classes/callbacks/PostGridEntityRender.d.ts +1 -1
  106. package/dist/src/classes/callbacks/PostGridEntityRender.d.ts.map +1 -1
  107. package/dist/src/classes/callbacks/PostGridEntityStateChanged.d.ts +1 -1
  108. package/dist/src/classes/callbacks/PostGridEntityStateChanged.d.ts.map +1 -1
  109. package/dist/src/classes/callbacks/PostGridEntityUpdate.d.ts +1 -1
  110. package/dist/src/classes/callbacks/PostGridEntityUpdate.d.ts.map +1 -1
  111. package/dist/src/classes/callbacks/PostHolyMantleRemoved.d.ts +2 -2
  112. package/dist/src/classes/callbacks/PostHolyMantleRemoved.d.ts.map +1 -1
  113. package/dist/src/classes/callbacks/PostItemDischarge.d.ts +6 -5
  114. package/dist/src/classes/callbacks/PostItemDischarge.d.ts.map +1 -1
  115. package/dist/src/classes/callbacks/PostItemPickup.d.ts +1 -1
  116. package/dist/src/classes/callbacks/PostItemPickup.d.ts.map +1 -1
  117. package/dist/src/classes/callbacks/PostKeyboardChanged.d.ts +3 -3
  118. package/dist/src/classes/callbacks/PostKeyboardChanged.d.ts.map +1 -1
  119. package/dist/src/classes/callbacks/PostKnifeInitFilter.d.ts +2 -2
  120. package/dist/src/classes/callbacks/PostKnifeInitFilter.d.ts.map +1 -1
  121. package/dist/src/classes/callbacks/PostKnifeInitLate.d.ts +2 -2
  122. package/dist/src/classes/callbacks/PostKnifeInitLate.d.ts.map +1 -1
  123. package/dist/src/classes/callbacks/PostKnifeRenderFilter.d.ts +2 -2
  124. package/dist/src/classes/callbacks/PostKnifeRenderFilter.d.ts.map +1 -1
  125. package/dist/src/classes/callbacks/PostKnifeUpdateFilter.d.ts +2 -2
  126. package/dist/src/classes/callbacks/PostKnifeUpdateFilter.d.ts.map +1 -1
  127. package/dist/src/classes/callbacks/PostLaserInitFilter.d.ts +2 -2
  128. package/dist/src/classes/callbacks/PostLaserInitFilter.d.ts.map +1 -1
  129. package/dist/src/classes/callbacks/PostLaserInitLate.d.ts +2 -2
  130. package/dist/src/classes/callbacks/PostLaserInitLate.d.ts.map +1 -1
  131. package/dist/src/classes/callbacks/PostLaserRenderFilter.d.ts +2 -2
  132. package/dist/src/classes/callbacks/PostLaserRenderFilter.d.ts.map +1 -1
  133. package/dist/src/classes/callbacks/PostLaserUpdateFilter.d.ts +2 -2
  134. package/dist/src/classes/callbacks/PostLaserUpdateFilter.d.ts.map +1 -1
  135. package/dist/src/classes/callbacks/PostNPCDeathFilter.d.ts +2 -2
  136. package/dist/src/classes/callbacks/PostNPCDeathFilter.d.ts.map +1 -1
  137. package/dist/src/classes/callbacks/PostNPCInitFilter.d.ts +2 -2
  138. package/dist/src/classes/callbacks/PostNPCInitFilter.d.ts.map +1 -1
  139. package/dist/src/classes/callbacks/PostNPCInitLate.d.ts +2 -2
  140. package/dist/src/classes/callbacks/PostNPCInitLate.d.ts.map +1 -1
  141. package/dist/src/classes/callbacks/PostNPCRenderFilter.d.ts +2 -2
  142. package/dist/src/classes/callbacks/PostNPCRenderFilter.d.ts.map +1 -1
  143. package/dist/src/classes/callbacks/PostNPCStateChanged.d.ts +3 -3
  144. package/dist/src/classes/callbacks/PostNPCStateChanged.d.ts.map +1 -1
  145. package/dist/src/classes/callbacks/PostNPCUpdateFilter.d.ts +2 -2
  146. package/dist/src/classes/callbacks/PostNPCUpdateFilter.d.ts.map +1 -1
  147. package/dist/src/classes/callbacks/PostNewLevelReordered.d.ts +1 -1
  148. package/dist/src/classes/callbacks/PostNewLevelReordered.d.ts.map +1 -1
  149. package/dist/src/classes/callbacks/PostNewRoomEarly.d.ts +3 -3
  150. package/dist/src/classes/callbacks/PostNewRoomEarly.d.ts.map +1 -1
  151. package/dist/src/classes/callbacks/PostNewRoomReordered.d.ts +1 -1
  152. package/dist/src/classes/callbacks/PostNewRoomReordered.d.ts.map +1 -1
  153. package/dist/src/classes/callbacks/PostPEffectUpdateReordered.d.ts +1 -1
  154. package/dist/src/classes/callbacks/PostPEffectUpdateReordered.d.ts.map +1 -1
  155. package/dist/src/classes/callbacks/PostPickupChanged.d.ts +1 -1
  156. package/dist/src/classes/callbacks/PostPickupChanged.d.ts.map +1 -1
  157. package/dist/src/classes/callbacks/PostPickupCollect.d.ts +2 -2
  158. package/dist/src/classes/callbacks/PostPickupCollect.d.ts.map +1 -1
  159. package/dist/src/classes/callbacks/PostPickupInitFilter.d.ts +2 -2
  160. package/dist/src/classes/callbacks/PostPickupInitFilter.d.ts.map +1 -1
  161. package/dist/src/classes/callbacks/PostPickupInitFirst.d.ts +2 -2
  162. package/dist/src/classes/callbacks/PostPickupInitFirst.d.ts.map +1 -1
  163. package/dist/src/classes/callbacks/PostPickupInitLate.d.ts +2 -2
  164. package/dist/src/classes/callbacks/PostPickupInitLate.d.ts.map +1 -1
  165. package/dist/src/classes/callbacks/PostPickupRenderFilter.d.ts +2 -2
  166. package/dist/src/classes/callbacks/PostPickupRenderFilter.d.ts.map +1 -1
  167. package/dist/src/classes/callbacks/PostPickupSelectionFilter.d.ts +2 -2
  168. package/dist/src/classes/callbacks/PostPickupSelectionFilter.d.ts.map +1 -1
  169. package/dist/src/classes/callbacks/PostPickupStateChanged.d.ts +2 -2
  170. package/dist/src/classes/callbacks/PostPickupStateChanged.d.ts.map +1 -1
  171. package/dist/src/classes/callbacks/PostPickupUpdateFilter.d.ts +2 -2
  172. package/dist/src/classes/callbacks/PostPickupUpdateFilter.d.ts.map +1 -1
  173. package/dist/src/classes/callbacks/PostPitRender.d.ts +2 -2
  174. package/dist/src/classes/callbacks/PostPitRender.d.ts.map +1 -1
  175. package/dist/src/classes/callbacks/PostPitUpdate.d.ts +2 -2
  176. package/dist/src/classes/callbacks/PostPitUpdate.d.ts.map +1 -1
  177. package/dist/src/classes/callbacks/PostPlayerChangeHealth.d.ts +3 -3
  178. package/dist/src/classes/callbacks/PostPlayerChangeHealth.d.ts.map +1 -1
  179. package/dist/src/classes/callbacks/PostPlayerChangeStat.d.ts +4 -4
  180. package/dist/src/classes/callbacks/PostPlayerChangeStat.d.ts.map +1 -1
  181. package/dist/src/classes/callbacks/PostPlayerChangeType.d.ts +3 -3
  182. package/dist/src/classes/callbacks/PostPlayerChangeType.d.ts.map +1 -1
  183. package/dist/src/classes/callbacks/PostPlayerCollectibleAdded.d.ts +1 -1
  184. package/dist/src/classes/callbacks/PostPlayerCollectibleAdded.d.ts.map +1 -1
  185. package/dist/src/classes/callbacks/PostPlayerCollectibleRemoved.d.ts +1 -1
  186. package/dist/src/classes/callbacks/PostPlayerCollectibleRemoved.d.ts.map +1 -1
  187. package/dist/src/classes/callbacks/PostPlayerFatalDamage.d.ts +3 -3
  188. package/dist/src/classes/callbacks/PostPlayerFatalDamage.d.ts.map +1 -1
  189. package/dist/src/classes/callbacks/PostPlayerInitFirst.d.ts +2 -2
  190. package/dist/src/classes/callbacks/PostPlayerInitFirst.d.ts.map +1 -1
  191. package/dist/src/classes/callbacks/PostPlayerInitLate.d.ts +2 -2
  192. package/dist/src/classes/callbacks/PostPlayerInitLate.d.ts.map +1 -1
  193. package/dist/src/classes/callbacks/PostPlayerRenderReordered.d.ts +1 -1
  194. package/dist/src/classes/callbacks/PostPlayerRenderReordered.d.ts.map +1 -1
  195. package/dist/src/classes/callbacks/PostPlayerUpdateReordered.d.ts +1 -1
  196. package/dist/src/classes/callbacks/PostPlayerUpdateReordered.d.ts.map +1 -1
  197. package/dist/src/classes/callbacks/PostPoopRender.d.ts +2 -2
  198. package/dist/src/classes/callbacks/PostPoopRender.d.ts.map +1 -1
  199. package/dist/src/classes/callbacks/PostPoopUpdate.d.ts +2 -2
  200. package/dist/src/classes/callbacks/PostPoopUpdate.d.ts.map +1 -1
  201. package/dist/src/classes/callbacks/PostPressurePlateRender.d.ts +2 -2
  202. package/dist/src/classes/callbacks/PostPressurePlateRender.d.ts.map +1 -1
  203. package/dist/src/classes/callbacks/PostPressurePlateUpdate.d.ts +2 -2
  204. package/dist/src/classes/callbacks/PostPressurePlateUpdate.d.ts.map +1 -1
  205. package/dist/src/classes/callbacks/PostProjectileInitFilter.d.ts +2 -2
  206. package/dist/src/classes/callbacks/PostProjectileInitFilter.d.ts.map +1 -1
  207. package/dist/src/classes/callbacks/PostProjectileInitLate.d.ts +2 -2
  208. package/dist/src/classes/callbacks/PostProjectileInitLate.d.ts.map +1 -1
  209. package/dist/src/classes/callbacks/PostProjectileKill.d.ts +4 -4
  210. package/dist/src/classes/callbacks/PostProjectileKill.d.ts.map +1 -1
  211. package/dist/src/classes/callbacks/PostProjectileRenderFilter.d.ts +2 -2
  212. package/dist/src/classes/callbacks/PostProjectileRenderFilter.d.ts.map +1 -1
  213. package/dist/src/classes/callbacks/PostProjectileUpdateFilter.d.ts +2 -2
  214. package/dist/src/classes/callbacks/PostProjectileUpdateFilter.d.ts.map +1 -1
  215. package/dist/src/classes/callbacks/PostPurchase.d.ts +5 -5
  216. package/dist/src/classes/callbacks/PostPurchase.d.ts.map +1 -1
  217. package/dist/src/classes/callbacks/PostRockRender.d.ts +2 -2
  218. package/dist/src/classes/callbacks/PostRockRender.d.ts.map +1 -1
  219. package/dist/src/classes/callbacks/PostRockUpdate.d.ts +2 -2
  220. package/dist/src/classes/callbacks/PostRockUpdate.d.ts.map +1 -1
  221. package/dist/src/classes/callbacks/PostRoomClearChanged.d.ts +4 -3
  222. package/dist/src/classes/callbacks/PostRoomClearChanged.d.ts.map +1 -1
  223. package/dist/src/classes/callbacks/PostSacrifice.d.ts +1 -1
  224. package/dist/src/classes/callbacks/PostSacrifice.d.ts.map +1 -1
  225. package/dist/src/classes/callbacks/PostSlotAnimationChanged.d.ts +1 -1
  226. package/dist/src/classes/callbacks/PostSlotAnimationChanged.d.ts.map +1 -1
  227. package/dist/src/classes/callbacks/PostSlotCollision.d.ts +2 -2
  228. package/dist/src/classes/callbacks/PostSlotCollision.d.ts.map +1 -1
  229. package/dist/src/classes/callbacks/PostSlotDestroyed.d.ts +1 -1
  230. package/dist/src/classes/callbacks/PostSlotDestroyed.d.ts.map +1 -1
  231. package/dist/src/classes/callbacks/PostSlotInit.d.ts +1 -1
  232. package/dist/src/classes/callbacks/PostSlotInit.d.ts.map +1 -1
  233. package/dist/src/classes/callbacks/PostSlotRender.d.ts +1 -1
  234. package/dist/src/classes/callbacks/PostSlotRender.d.ts.map +1 -1
  235. package/dist/src/classes/callbacks/PostSlotUpdate.d.ts +1 -1
  236. package/dist/src/classes/callbacks/PostSlotUpdate.d.ts.map +1 -1
  237. package/dist/src/classes/callbacks/PostSpikesRender.d.ts +2 -2
  238. package/dist/src/classes/callbacks/PostSpikesRender.d.ts.map +1 -1
  239. package/dist/src/classes/callbacks/PostSpikesUpdate.d.ts +2 -2
  240. package/dist/src/classes/callbacks/PostSpikesUpdate.d.ts.map +1 -1
  241. package/dist/src/classes/callbacks/PostTNTRender.d.ts +2 -2
  242. package/dist/src/classes/callbacks/PostTNTRender.d.ts.map +1 -1
  243. package/dist/src/classes/callbacks/PostTNTUpdate.d.ts +2 -2
  244. package/dist/src/classes/callbacks/PostTNTUpdate.d.ts.map +1 -1
  245. package/dist/src/classes/callbacks/PostTearInitFilter.d.ts +2 -2
  246. package/dist/src/classes/callbacks/PostTearInitFilter.d.ts.map +1 -1
  247. package/dist/src/classes/callbacks/PostTearInitLate.d.ts +2 -2
  248. package/dist/src/classes/callbacks/PostTearInitLate.d.ts.map +1 -1
  249. package/dist/src/classes/callbacks/PostTearInitVeryLate.d.ts +2 -2
  250. package/dist/src/classes/callbacks/PostTearInitVeryLate.d.ts.map +1 -1
  251. package/dist/src/classes/callbacks/PostTearKill.d.ts +4 -4
  252. package/dist/src/classes/callbacks/PostTearKill.d.ts.map +1 -1
  253. package/dist/src/classes/callbacks/PostTearRenderFilter.d.ts +2 -2
  254. package/dist/src/classes/callbacks/PostTearRenderFilter.d.ts.map +1 -1
  255. package/dist/src/classes/callbacks/PostTearUpdateFilter.d.ts +2 -2
  256. package/dist/src/classes/callbacks/PostTearUpdateFilter.d.ts.map +1 -1
  257. package/dist/src/classes/callbacks/PostTransformation.d.ts +5 -4
  258. package/dist/src/classes/callbacks/PostTransformation.d.ts.map +1 -1
  259. package/dist/src/classes/callbacks/PostTrinketBreak.d.ts +3 -3
  260. package/dist/src/classes/callbacks/PostTrinketBreak.d.ts.map +1 -1
  261. package/dist/src/classes/callbacks/PostUsePillFilter.d.ts +5 -5
  262. package/dist/src/classes/callbacks/PostUsePillFilter.d.ts.map +1 -1
  263. package/dist/src/classes/callbacks/PreBerserkDeath.d.ts +1 -1
  264. package/dist/src/classes/callbacks/PreBerserkDeath.d.ts.map +1 -1
  265. package/dist/src/classes/callbacks/PreBombCollisionFilter.d.ts +2 -2
  266. package/dist/src/classes/callbacks/PreBombCollisionFilter.d.ts.map +1 -1
  267. package/dist/src/classes/callbacks/PreCustomRevive.d.ts +1 -1
  268. package/dist/src/classes/callbacks/PreCustomRevive.d.ts.map +1 -1
  269. package/dist/src/classes/callbacks/PreEntitySpawnFilter.d.ts +3 -3
  270. package/dist/src/classes/callbacks/PreEntitySpawnFilter.d.ts.map +1 -1
  271. package/dist/src/classes/callbacks/PreFamiliarCollisionFilter.d.ts +2 -2
  272. package/dist/src/classes/callbacks/PreFamiliarCollisionFilter.d.ts.map +1 -1
  273. package/dist/src/classes/callbacks/PreGetPedestal.d.ts +2 -2
  274. package/dist/src/classes/callbacks/PreGetPedestal.d.ts.map +1 -1
  275. package/dist/src/classes/callbacks/PreItemPickup.d.ts +1 -1
  276. package/dist/src/classes/callbacks/PreItemPickup.d.ts.map +1 -1
  277. package/dist/src/classes/callbacks/PreKnifeCollisionFilter.d.ts +2 -2
  278. package/dist/src/classes/callbacks/PreKnifeCollisionFilter.d.ts.map +1 -1
  279. package/dist/src/classes/callbacks/PreNPCCollisionFilter.d.ts +2 -2
  280. package/dist/src/classes/callbacks/PreNPCCollisionFilter.d.ts.map +1 -1
  281. package/dist/src/classes/callbacks/PreNPCUpdateFilter.d.ts +2 -2
  282. package/dist/src/classes/callbacks/PreNPCUpdateFilter.d.ts.map +1 -1
  283. package/dist/src/classes/callbacks/PreNewLevel.d.ts +1 -1
  284. package/dist/src/classes/callbacks/PreNewLevel.d.ts.map +1 -1
  285. package/dist/src/classes/callbacks/PreProjectileCollisionFilter.d.ts +2 -2
  286. package/dist/src/classes/callbacks/PreProjectileCollisionFilter.d.ts.map +1 -1
  287. package/dist/src/classes/callbacks/PreRoomEntitySpawnFilter.d.ts +3 -3
  288. package/dist/src/classes/callbacks/PreRoomEntitySpawnFilter.d.ts.map +1 -1
  289. package/dist/src/classes/callbacks/PreTearCollisionFilter.d.ts +2 -2
  290. package/dist/src/classes/callbacks/PreTearCollisionFilter.d.ts.map +1 -1
  291. package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts +4 -4
  292. package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
  293. package/dist/src/classes/features/callbackLogic/CustomGridEntities.lua +2 -2
  294. package/dist/src/classes/features/callbackLogic/CustomRevive.d.ts +13 -13
  295. package/dist/src/classes/features/callbackLogic/CustomRevive.d.ts.map +1 -1
  296. package/dist/src/classes/features/callbackLogic/EsauJrDetection.d.ts +7 -7
  297. package/dist/src/classes/features/callbackLogic/EsauJrDetection.d.ts.map +1 -1
  298. package/dist/src/classes/features/callbackLogic/FlipDetection.d.ts +5 -5
  299. package/dist/src/classes/features/callbackLogic/FlipDetection.d.ts.map +1 -1
  300. package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.d.ts +11 -11
  301. package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.d.ts.map +1 -1
  302. package/dist/src/classes/features/callbackLogic/GridEntityCollisionDetection.d.ts +7 -7
  303. package/dist/src/classes/features/callbackLogic/GridEntityCollisionDetection.d.ts.map +1 -1
  304. package/dist/src/classes/features/callbackLogic/GridEntityRenderDetection.d.ts +7 -7
  305. package/dist/src/classes/features/callbackLogic/GridEntityRenderDetection.d.ts.map +1 -1
  306. package/dist/src/classes/features/callbackLogic/GridEntityUpdateDetection.d.ts +25 -25
  307. package/dist/src/classes/features/callbackLogic/GridEntityUpdateDetection.d.ts.map +1 -1
  308. package/dist/src/classes/features/callbackLogic/ItemPickupDetection.d.ts +7 -7
  309. package/dist/src/classes/features/callbackLogic/ItemPickupDetection.d.ts.map +1 -1
  310. package/dist/src/classes/features/callbackLogic/PickupChangeDetection.d.ts +7 -7
  311. package/dist/src/classes/features/callbackLogic/PickupChangeDetection.d.ts.map +1 -1
  312. package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts +15 -14
  313. package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts.map +1 -1
  314. package/dist/src/classes/features/callbackLogic/PlayerReorderedCallbacks.d.ts +11 -11
  315. package/dist/src/classes/features/callbackLogic/PlayerReorderedCallbacks.d.ts.map +1 -1
  316. package/dist/src/classes/features/callbackLogic/SlotDestroyedDetection.d.ts +6 -6
  317. package/dist/src/classes/features/callbackLogic/SlotDestroyedDetection.d.ts.map +1 -1
  318. package/dist/src/classes/features/callbackLogic/SlotRenderDetection.d.ts +5 -5
  319. package/dist/src/classes/features/callbackLogic/SlotRenderDetection.d.ts.map +1 -1
  320. package/dist/src/classes/features/callbackLogic/SlotUpdateDetection.d.ts +6 -6
  321. package/dist/src/classes/features/callbackLogic/SlotUpdateDetection.d.ts.map +1 -1
  322. package/dist/src/classes/features/other/CharacterHealthConversion.d.ts +5 -5
  323. package/dist/src/classes/features/other/CharacterHealthConversion.d.ts.map +1 -1
  324. package/dist/src/classes/features/other/CharacterStats.d.ts +3 -3
  325. package/dist/src/classes/features/other/CharacterStats.d.ts.map +1 -1
  326. package/dist/src/classes/features/other/CollectibleItemPoolType.d.ts +3 -3
  327. package/dist/src/classes/features/other/CollectibleItemPoolType.d.ts.map +1 -1
  328. package/dist/src/classes/features/other/CollectibleItemPoolType.lua +6 -4
  329. package/dist/src/classes/features/other/CustomHotkeys.d.ts +4 -4
  330. package/dist/src/classes/features/other/CustomHotkeys.d.ts.map +1 -1
  331. package/dist/src/classes/features/other/CustomItemPools.d.ts +4 -3
  332. package/dist/src/classes/features/other/CustomItemPools.d.ts.map +1 -1
  333. package/dist/src/classes/features/other/CustomPickups.d.ts +4 -4
  334. package/dist/src/classes/features/other/CustomPickups.d.ts.map +1 -1
  335. package/dist/src/classes/features/other/CustomStages.d.ts +15 -15
  336. package/dist/src/classes/features/other/CustomStages.d.ts.map +1 -1
  337. package/dist/src/classes/features/other/CustomTrapdoors.d.ts +12 -12
  338. package/dist/src/classes/features/other/CustomTrapdoors.d.ts.map +1 -1
  339. package/dist/src/classes/features/other/CustomTrapdoors.lua +18 -20
  340. package/dist/src/classes/features/other/DebugDisplay.d.ts +19 -19
  341. package/dist/src/classes/features/other/DebugDisplay.d.ts.map +1 -1
  342. package/dist/src/classes/features/other/DeployJSONRoom.d.ts +3 -3
  343. package/dist/src/classes/features/other/DeployJSONRoom.d.ts.map +1 -1
  344. package/dist/src/classes/features/other/DisableAllSound.d.ts +1 -1
  345. package/dist/src/classes/features/other/DisableAllSound.d.ts.map +1 -1
  346. package/dist/src/classes/features/other/DisableInputs.d.ts +4 -4
  347. package/dist/src/classes/features/other/DisableInputs.d.ts.map +1 -1
  348. package/dist/src/classes/features/other/EdenStartingStats.d.ts +3 -3
  349. package/dist/src/classes/features/other/EdenStartingStats.d.ts.map +1 -1
  350. package/dist/src/classes/features/other/ExtraConsoleCommands.d.ts +10 -10
  351. package/dist/src/classes/features/other/ExtraConsoleCommands.d.ts.map +1 -1
  352. package/dist/src/classes/features/other/FadeInRemover.d.ts +1 -1
  353. package/dist/src/classes/features/other/FadeInRemover.d.ts.map +1 -1
  354. package/dist/src/classes/features/other/FastReset.d.ts +1 -1
  355. package/dist/src/classes/features/other/FastReset.d.ts.map +1 -1
  356. package/dist/src/classes/features/other/FlyingDetection.d.ts +1 -1
  357. package/dist/src/classes/features/other/FlyingDetection.d.ts.map +1 -1
  358. package/dist/src/classes/features/other/ForgottenSwitch.d.ts +1 -1
  359. package/dist/src/classes/features/other/ForgottenSwitch.d.ts.map +1 -1
  360. package/dist/src/classes/features/other/ItemPoolDetection.d.ts +3 -2
  361. package/dist/src/classes/features/other/ItemPoolDetection.d.ts.map +1 -1
  362. package/dist/src/classes/features/other/ModdedElementDetection.d.ts +2 -2
  363. package/dist/src/classes/features/other/ModdedElementDetection.d.ts.map +1 -1
  364. package/dist/src/classes/features/other/ModdedElementSets.d.ts +27 -27
  365. package/dist/src/classes/features/other/ModdedElementSets.d.ts.map +1 -1
  366. package/dist/src/classes/features/other/NoSirenSteal.d.ts +2 -2
  367. package/dist/src/classes/features/other/NoSirenSteal.d.ts.map +1 -1
  368. package/dist/src/classes/features/other/Pause.d.ts +3 -3
  369. package/dist/src/classes/features/other/Pause.d.ts.map +1 -1
  370. package/dist/src/classes/features/other/PersistentEntities.d.ts +4 -4
  371. package/dist/src/classes/features/other/PersistentEntities.d.ts.map +1 -1
  372. package/dist/src/classes/features/other/PickupIndexCreation.d.ts +5 -5
  373. package/dist/src/classes/features/other/PickupIndexCreation.d.ts.map +1 -1
  374. package/dist/src/classes/features/other/PlayerInventory.d.ts +3 -3
  375. package/dist/src/classes/features/other/PlayerInventory.d.ts.map +1 -1
  376. package/dist/src/classes/features/other/PonyDetection.d.ts +1 -1
  377. package/dist/src/classes/features/other/PonyDetection.d.ts.map +1 -1
  378. package/dist/src/classes/features/other/PressInput.d.ts +2 -2
  379. package/dist/src/classes/features/other/PressInput.d.ts.map +1 -1
  380. package/dist/src/classes/features/other/PreventChildEntities.d.ts +1 -1
  381. package/dist/src/classes/features/other/PreventChildEntities.d.ts.map +1 -1
  382. package/dist/src/classes/features/other/PreventCollectibleRotation.d.ts +6 -6
  383. package/dist/src/classes/features/other/PreventCollectibleRotation.d.ts.map +1 -1
  384. package/dist/src/classes/features/other/PreventGridEntityRespawn.d.ts +3 -3
  385. package/dist/src/classes/features/other/PreventGridEntityRespawn.d.ts.map +1 -1
  386. package/dist/src/classes/features/other/RoomClearFrame.d.ts +1 -1
  387. package/dist/src/classes/features/other/RoomClearFrame.d.ts.map +1 -1
  388. package/dist/src/classes/features/other/RoomHistory.d.ts +2 -2
  389. package/dist/src/classes/features/other/RoomHistory.d.ts.map +1 -1
  390. package/dist/src/classes/features/other/RunInNFrames.d.ts +4 -4
  391. package/dist/src/classes/features/other/RunInNFrames.d.ts.map +1 -1
  392. package/dist/src/classes/features/other/RunNextRoom.d.ts +1 -1
  393. package/dist/src/classes/features/other/RunNextRoom.d.ts.map +1 -1
  394. package/dist/src/classes/features/other/SaveDataManager.d.ts +13 -13
  395. package/dist/src/classes/features/other/SaveDataManager.d.ts.map +1 -1
  396. package/dist/src/classes/features/other/SpawnCollectible.d.ts +2 -2
  397. package/dist/src/classes/features/other/SpawnCollectible.d.ts.map +1 -1
  398. package/dist/src/classes/features/other/SpawnRockAltRewards.d.ts +1 -1
  399. package/dist/src/classes/features/other/SpawnRockAltRewards.d.ts.map +1 -1
  400. package/dist/src/classes/features/other/StageHistory.d.ts +2 -2
  401. package/dist/src/classes/features/other/StageHistory.d.ts.map +1 -1
  402. package/dist/src/classes/features/other/StartAmbush.d.ts +1 -1
  403. package/dist/src/classes/features/other/StartAmbush.d.ts.map +1 -1
  404. package/dist/src/classes/features/other/TaintedLazarusPlayers.d.ts +1 -1
  405. package/dist/src/classes/features/other/TaintedLazarusPlayers.d.ts.map +1 -1
  406. package/dist/src/classes/features/other/customStages/backdrop.d.ts +1 -1
  407. package/dist/src/classes/features/other/customStages/backdrop.d.ts.map +1 -1
  408. package/dist/src/classes/features/other/customStages/backdrop.lua +1 -1
  409. package/dist/src/classes/features/other/customStages/gridEntities.d.ts +2 -2
  410. package/dist/src/classes/features/other/customStages/gridEntities.d.ts.map +1 -1
  411. package/dist/src/classes/features/other/customStages/gridEntities.lua +1 -1
  412. package/dist/src/classes/features/other/customStages/shadows.d.ts +1 -1
  413. package/dist/src/classes/features/other/customStages/shadows.d.ts.map +1 -1
  414. package/dist/src/classes/features/other/customStages/streakText.d.ts +1 -1
  415. package/dist/src/classes/features/other/customStages/streakText.d.ts.map +1 -1
  416. package/dist/src/classes/features/other/customStages/utils.d.ts +1 -1
  417. package/dist/src/classes/features/other/customStages/utils.d.ts.map +1 -1
  418. package/dist/src/classes/features/other/customStages/v.d.ts +2 -2
  419. package/dist/src/classes/features/other/customStages/v.d.ts.map +1 -1
  420. package/dist/src/classes/features/other/customStages/versusScreen.d.ts +4 -4
  421. package/dist/src/classes/features/other/customStages/versusScreen.d.ts.map +1 -1
  422. package/dist/src/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts +1 -1
  423. package/dist/src/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts.map +1 -1
  424. package/dist/src/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts +1 -1
  425. package/dist/src/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts.map +1 -1
  426. package/dist/src/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts +1 -1
  427. package/dist/src/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts.map +1 -1
  428. package/dist/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts +1 -1
  429. package/dist/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts.map +1 -1
  430. package/dist/src/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts +1 -1
  431. package/dist/src/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts.map +1 -1
  432. package/dist/src/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts +1 -1
  433. package/dist/src/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts.map +1 -1
  434. package/dist/src/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts +1 -1
  435. package/dist/src/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts.map +1 -1
  436. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts +1 -1
  437. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts.map +1 -1
  438. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPit.d.ts +1 -1
  439. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPit.d.ts.map +1 -1
  440. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts +1 -1
  441. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts.map +1 -1
  442. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts +1 -1
  443. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts.map +1 -1
  444. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts +1 -1
  445. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts.map +1 -1
  446. package/dist/src/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts +1 -1
  447. package/dist/src/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts.map +1 -1
  448. package/dist/src/classes/features/other/debugDisplay/DebugDisplayRock.d.ts +1 -1
  449. package/dist/src/classes/features/other/debugDisplay/DebugDisplayRock.d.ts.map +1 -1
  450. package/dist/src/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts +1 -1
  451. package/dist/src/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts.map +1 -1
  452. package/dist/src/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts +1 -1
  453. package/dist/src/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts.map +1 -1
  454. package/dist/src/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts +1 -1
  455. package/dist/src/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts.map +1 -1
  456. package/dist/src/classes/features/other/debugDisplay/DebugDisplayTear.d.ts +1 -1
  457. package/dist/src/classes/features/other/debugDisplay/DebugDisplayTear.d.ts.map +1 -1
  458. package/dist/src/classes/features/other/extraConsoleCommands/commands.d.ts.map +1 -1
  459. package/dist/src/classes/features/other/extraConsoleCommands/commands.lua +1 -2
  460. package/dist/src/classes/features/other/extraConsoleCommands/subroutines.d.ts +2 -1
  461. package/dist/src/classes/features/other/extraConsoleCommands/subroutines.d.ts.map +1 -1
  462. package/dist/src/classes/features/other/saveDataManager/glowingHourGlass.d.ts +2 -2
  463. package/dist/src/classes/features/other/saveDataManager/glowingHourGlass.d.ts.map +1 -1
  464. package/dist/src/classes/features/other/saveDataManager/loadFromDisk.d.ts +2 -2
  465. package/dist/src/classes/features/other/saveDataManager/loadFromDisk.d.ts.map +1 -1
  466. package/dist/src/classes/features/other/saveDataManager/restoreDefaults.d.ts +1 -1
  467. package/dist/src/classes/features/other/saveDataManager/restoreDefaults.d.ts.map +1 -1
  468. package/dist/src/classes/features/other/saveDataManager/saveToDisk.d.ts +1 -1
  469. package/dist/src/classes/features/other/saveDataManager/saveToDisk.d.ts.map +1 -1
  470. package/dist/src/classes/private/CustomCallback.d.ts +4 -4
  471. package/dist/src/classes/private/CustomCallback.d.ts.map +1 -1
  472. package/dist/src/classes/private/CustomCallback.lua +7 -7
  473. package/dist/src/classes/private/Feature.d.ts +1 -1
  474. package/dist/src/classes/private/Feature.d.ts.map +1 -1
  475. package/dist/src/core/constants.d.ts.map +1 -1
  476. package/dist/src/core/upgradeMod.d.ts +2 -2
  477. package/dist/src/core/upgradeMod.d.ts.map +1 -1
  478. package/dist/src/decorators.d.ts +1 -1
  479. package/dist/src/decorators.d.ts.map +1 -1
  480. package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
  481. package/dist/src/enums/private/GridEntityTypeCustom.d.ts +1 -1
  482. package/dist/src/enums/private/GridEntityTypeCustom.d.ts.map +1 -1
  483. package/dist/src/features.d.ts +2 -2
  484. package/dist/src/features.d.ts.map +1 -1
  485. package/dist/src/functions/array.lua +18 -12
  486. package/dist/src/functions/arrayLua.d.ts.map +1 -1
  487. package/dist/src/functions/benchmark.lua +19 -19
  488. package/dist/src/functions/bitSet128.d.ts +1 -1
  489. package/dist/src/functions/bitSet128.d.ts.map +1 -1
  490. package/dist/src/functions/bosses.d.ts +2 -1
  491. package/dist/src/functions/bosses.d.ts.map +1 -1
  492. package/dist/src/functions/cards.d.ts +2 -1
  493. package/dist/src/functions/cards.d.ts.map +1 -1
  494. package/dist/src/functions/challenges.d.ts +1 -1
  495. package/dist/src/functions/challenges.d.ts.map +1 -1
  496. package/dist/src/functions/challenges.lua +1 -1
  497. package/dist/src/functions/characters.d.ts +2 -1
  498. package/dist/src/functions/characters.d.ts.map +1 -1
  499. package/dist/src/functions/chargeBar.d.ts +1 -1
  500. package/dist/src/functions/chargeBar.d.ts.map +1 -1
  501. package/dist/src/functions/collectibleTag.d.ts +2 -1
  502. package/dist/src/functions/collectibleTag.d.ts.map +1 -1
  503. package/dist/src/functions/collectibles.d.ts +2 -1
  504. package/dist/src/functions/collectibles.d.ts.map +1 -1
  505. package/dist/src/functions/color.d.ts +1 -1
  506. package/dist/src/functions/color.d.ts.map +1 -1
  507. package/dist/src/functions/curses.d.ts +1 -1
  508. package/dist/src/functions/curses.d.ts.map +1 -1
  509. package/dist/src/functions/debugFunctions.d.ts.map +1 -1
  510. package/dist/src/functions/decorators.d.ts +5 -5
  511. package/dist/src/functions/decorators.d.ts.map +1 -1
  512. package/dist/src/functions/deepCopy.d.ts +1 -1
  513. package/dist/src/functions/deepCopy.d.ts.map +1 -1
  514. package/dist/src/functions/direction.d.ts +2 -1
  515. package/dist/src/functions/direction.d.ts.map +1 -1
  516. package/dist/src/functions/doors.d.ts +2 -1
  517. package/dist/src/functions/doors.d.ts.map +1 -1
  518. package/dist/src/functions/doors.lua +1 -1
  519. package/dist/src/functions/entities.d.ts +3 -3
  520. package/dist/src/functions/entities.d.ts.map +1 -1
  521. package/dist/src/functions/entitiesSpecific.d.ts +2 -1
  522. package/dist/src/functions/entitiesSpecific.d.ts.map +1 -1
  523. package/dist/src/functions/familiars.d.ts +1 -1
  524. package/dist/src/functions/familiars.d.ts.map +1 -1
  525. package/dist/src/functions/globals.d.ts.map +1 -1
  526. package/dist/src/functions/globals.lua +8 -10
  527. package/dist/src/functions/gridEntities.d.ts +4 -3
  528. package/dist/src/functions/gridEntities.d.ts.map +1 -1
  529. package/dist/src/functions/gridEntities.lua +1 -1
  530. package/dist/src/functions/gridEntitiesSpecific.d.ts +2 -1
  531. package/dist/src/functions/gridEntitiesSpecific.d.ts.map +1 -1
  532. package/dist/src/functions/hex.d.ts.map +1 -1
  533. package/dist/src/functions/hex.lua +3 -4
  534. package/dist/src/functions/itemPool.d.ts +2 -1
  535. package/dist/src/functions/itemPool.d.ts.map +1 -1
  536. package/dist/src/functions/jsonRoom.d.ts +2 -2
  537. package/dist/src/functions/jsonRoom.d.ts.map +1 -1
  538. package/dist/src/functions/kColor.d.ts +1 -1
  539. package/dist/src/functions/kColor.d.ts.map +1 -1
  540. package/dist/src/functions/level.d.ts +1 -1
  541. package/dist/src/functions/level.d.ts.map +1 -1
  542. package/dist/src/functions/levelGrid.d.ts +6 -2
  543. package/dist/src/functions/levelGrid.d.ts.map +1 -1
  544. package/dist/src/functions/levelGrid.lua +7 -3
  545. package/dist/src/functions/logEntities.d.ts +2 -1
  546. package/dist/src/functions/logEntities.d.ts.map +1 -1
  547. package/dist/src/functions/logEntities.lua +17 -19
  548. package/dist/src/functions/logMisc.d.ts +2 -1
  549. package/dist/src/functions/logMisc.d.ts.map +1 -1
  550. package/dist/src/functions/logMisc.lua +26 -26
  551. package/dist/src/functions/map.d.ts +1 -1
  552. package/dist/src/functions/map.d.ts.map +1 -1
  553. package/dist/src/functions/math.lua +1 -1
  554. package/dist/src/functions/merge.d.ts +1 -1
  555. package/dist/src/functions/merge.d.ts.map +1 -1
  556. package/dist/src/functions/minimap.d.ts +1 -1
  557. package/dist/src/functions/minimap.d.ts.map +1 -1
  558. package/dist/src/functions/modFeatures.d.ts +2 -2
  559. package/dist/src/functions/modFeatures.d.ts.map +1 -1
  560. package/dist/src/functions/npcDataStructures.d.ts +1 -1
  561. package/dist/src/functions/npcDataStructures.d.ts.map +1 -1
  562. package/dist/src/functions/pickups.d.ts +1 -1
  563. package/dist/src/functions/pickups.d.ts.map +1 -1
  564. package/dist/src/functions/pickups.lua +1 -1
  565. package/dist/src/functions/pickupsSpecific.d.ts +1 -1
  566. package/dist/src/functions/pickupsSpecific.d.ts.map +1 -1
  567. package/dist/src/functions/pills.d.ts +2 -1
  568. package/dist/src/functions/pills.d.ts.map +1 -1
  569. package/dist/src/functions/pills.lua +4 -4
  570. package/dist/src/functions/playerCenter.d.ts.map +1 -1
  571. package/dist/src/functions/playerCenter.lua +9 -9
  572. package/dist/src/functions/playerDataStructures.d.ts +2 -2
  573. package/dist/src/functions/playerDataStructures.d.ts.map +1 -1
  574. package/dist/src/functions/playerHealth.d.ts +1 -1
  575. package/dist/src/functions/playerHealth.d.ts.map +1 -1
  576. package/dist/src/functions/playerHealth.lua +34 -34
  577. package/dist/src/functions/playerIndex.d.ts +1 -1
  578. package/dist/src/functions/playerIndex.d.ts.map +1 -1
  579. package/dist/src/functions/playerStats.d.ts +1 -1
  580. package/dist/src/functions/playerStats.d.ts.map +1 -1
  581. package/dist/src/functions/players.d.ts.map +1 -1
  582. package/dist/src/functions/players.lua +1 -1
  583. package/dist/src/functions/pocketItems.d.ts +2 -2
  584. package/dist/src/functions/pocketItems.d.ts.map +1 -1
  585. package/dist/src/functions/rng.d.ts +1 -1
  586. package/dist/src/functions/rng.d.ts.map +1 -1
  587. package/dist/src/functions/rockAlt.d.ts +1 -1
  588. package/dist/src/functions/rockAlt.d.ts.map +1 -1
  589. package/dist/src/functions/roomData.d.ts +1 -1
  590. package/dist/src/functions/roomData.d.ts.map +1 -1
  591. package/dist/src/functions/roomGrid.d.ts +1 -1
  592. package/dist/src/functions/roomGrid.d.ts.map +1 -1
  593. package/dist/src/functions/roomShape.d.ts +3 -2
  594. package/dist/src/functions/roomShape.d.ts.map +1 -1
  595. package/dist/src/functions/rooms.d.ts +2 -1
  596. package/dist/src/functions/rooms.d.ts.map +1 -1
  597. package/dist/src/functions/rooms.lua +4 -7
  598. package/dist/src/functions/serialization.d.ts +1 -1
  599. package/dist/src/functions/serialization.d.ts.map +1 -1
  600. package/dist/src/functions/sound.d.ts +1 -1
  601. package/dist/src/functions/sound.d.ts.map +1 -1
  602. package/dist/src/functions/stage.d.ts +5 -1
  603. package/dist/src/functions/stage.d.ts.map +1 -1
  604. package/dist/src/functions/stage.lua +7 -13
  605. package/dist/src/functions/tears.d.ts +1 -1
  606. package/dist/src/functions/tears.d.ts.map +1 -1
  607. package/dist/src/functions/transformations.d.ts +2 -1
  608. package/dist/src/functions/transformations.d.ts.map +1 -1
  609. package/dist/src/functions/trinketGive.d.ts +1 -1
  610. package/dist/src/functions/trinketGive.d.ts.map +1 -1
  611. package/dist/src/functions/trinkets.d.ts +2 -1
  612. package/dist/src/functions/trinkets.d.ts.map +1 -1
  613. package/dist/src/functions/tstlClass.d.ts +3 -3
  614. package/dist/src/functions/tstlClass.d.ts.map +1 -1
  615. package/dist/src/functions/types.d.ts +1 -1
  616. package/dist/src/functions/types.d.ts.map +1 -1
  617. package/dist/src/functions/vector.d.ts +1 -1
  618. package/dist/src/functions/vector.d.ts.map +1 -1
  619. package/dist/src/functions/weighted.d.ts +1 -1
  620. package/dist/src/functions/weighted.d.ts.map +1 -1
  621. package/dist/src/functions/weighted.lua +9 -10
  622. package/dist/src/interfaces/Corner.d.ts +1 -1
  623. package/dist/src/interfaces/Corner.d.ts.map +1 -1
  624. package/dist/src/interfaces/CustomStageTSConfig.d.ts +1 -1
  625. package/dist/src/interfaces/CustomStageTSConfig.d.ts.map +1 -1
  626. package/dist/src/interfaces/GridEntityCustomData.d.ts +1 -1
  627. package/dist/src/interfaces/GridEntityCustomData.d.ts.map +1 -1
  628. package/dist/src/interfaces/PlayerHealth.d.ts +1 -1
  629. package/dist/src/interfaces/PlayerHealth.d.ts.map +1 -1
  630. package/dist/src/interfaces/PlayerStats.d.ts +2 -2
  631. package/dist/src/interfaces/PlayerStats.d.ts.map +1 -1
  632. package/dist/src/interfaces/PlayerStats.lua +0 -2
  633. package/dist/src/interfaces/PocketItemDescription.d.ts +2 -2
  634. package/dist/src/interfaces/PocketItemDescription.d.ts.map +1 -1
  635. package/dist/src/interfaces/RoomDescription.d.ts +1 -1
  636. package/dist/src/interfaces/RoomDescription.d.ts.map +1 -1
  637. package/dist/src/interfaces/SaveData.d.ts +1 -1
  638. package/dist/src/interfaces/SaveData.d.ts.map +1 -1
  639. package/dist/src/interfaces/StageHistoryEntry.d.ts +1 -1
  640. package/dist/src/interfaces/StageHistoryEntry.d.ts.map +1 -1
  641. package/dist/src/interfaces/TrinketSituation.d.ts +1 -1
  642. package/dist/src/interfaces/TrinketSituation.d.ts.map +1 -1
  643. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +8 -8
  644. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
  645. package/dist/src/interfaces/private/AddCallbackParametersCustom.lua +0 -2
  646. package/dist/src/interfaces/private/CustomStage.d.ts +2 -2
  647. package/dist/src/interfaces/private/CustomStage.d.ts.map +1 -1
  648. package/dist/src/interfaces/private/CustomTrapdoorDescription.d.ts +1 -1
  649. package/dist/src/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
  650. package/dist/src/interfaces/private/ModUpgradedInterface.d.ts +3 -3
  651. package/dist/src/interfaces/private/ModUpgradedInterface.d.ts.map +1 -1
  652. package/dist/src/maps/collectibleDescriptionMap.d.ts +1 -1
  653. package/dist/src/maps/collectibleDescriptionMap.d.ts.map +1 -1
  654. package/dist/src/maps/collectibleNameToTypeMap.d.ts +1 -1
  655. package/dist/src/maps/collectibleNameToTypeMap.d.ts.map +1 -1
  656. package/dist/src/maps/collectibleTypeToNameMap.d.ts +1 -1
  657. package/dist/src/maps/collectibleTypeToNameMap.d.ts.map +1 -1
  658. package/dist/src/maps/trinketDescriptionMap.d.ts +1 -1
  659. package/dist/src/maps/trinketDescriptionMap.d.ts.map +1 -1
  660. package/dist/src/maps/trinketNameToTypeMap.d.ts +1 -1
  661. package/dist/src/maps/trinketNameToTypeMap.d.ts.map +1 -1
  662. package/dist/src/maps/trinketTypeToNameMap.d.ts +1 -1
  663. package/dist/src/maps/trinketTypeToNameMap.d.ts.map +1 -1
  664. package/dist/src/objects/isaacAPIClassTypeToFunctions.d.ts +10 -5
  665. package/dist/src/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
  666. package/dist/src/shouldFire.d.ts +7 -7
  667. package/dist/src/shouldFire.d.ts.map +1 -1
  668. package/dist/src/types/ConversionHeartSubType.d.ts +1 -1
  669. package/dist/src/types/ConversionHeartSubType.d.ts.map +1 -1
  670. package/dist/src/types/Decrement.d.ts +1 -1
  671. package/dist/src/types/Decrement.d.ts.map +1 -1
  672. package/dist/src/types/FunctionTuple.d.ts +1 -1
  673. package/dist/src/types/FunctionTuple.d.ts.map +1 -1
  674. package/dist/src/types/Increment.d.ts +1 -1
  675. package/dist/src/types/Increment.d.ts.map +1 -1
  676. package/dist/src/types/LowercaseKeys.d.ts +1 -1
  677. package/dist/src/types/LowercaseKeys.d.ts.map +1 -1
  678. package/dist/src/types/PickingUpItem.d.ts +2 -1
  679. package/dist/src/types/PickingUpItem.d.ts.map +1 -1
  680. package/dist/src/types/PossibleStatType.d.ts +1 -1
  681. package/dist/src/types/PossibleStatType.d.ts.map +1 -1
  682. package/dist/src/types/Range.d.ts +2 -2
  683. package/dist/src/types/Range.d.ts.map +1 -1
  684. package/dist/src/types/TupleWithMaxLength.d.ts +1 -1
  685. package/dist/src/types/TupleWithMaxLength.d.ts.map +1 -1
  686. package/dist/src/types/UppercaseKeys.d.ts +1 -1
  687. package/dist/src/types/UppercaseKeys.d.ts.map +1 -1
  688. package/dist/src/types/private/CallbackTuple.d.ts +4 -4
  689. package/dist/src/types/private/CallbackTuple.d.ts.map +1 -1
  690. package/dist/src/types/private/ModUpgradedWithFeatures.d.ts +7 -7
  691. package/dist/src/types/private/ModUpgradedWithFeatures.d.ts.map +1 -1
  692. package/package.json +2 -2
  693. package/src/callbacks.ts +1 -1
  694. package/src/classes/DefaultMap.ts +4 -2
  695. package/src/classes/ModFeature.ts +7 -7
  696. package/src/classes/ModUpgraded.ts +11 -13
  697. package/src/classes/callbacks/EntityTakeDmgFilter.ts +4 -3
  698. package/src/classes/callbacks/EntityTakeDmgPlayer.ts +4 -7
  699. package/src/classes/callbacks/InputActionFilter.ts +6 -12
  700. package/src/classes/callbacks/InputActionPlayer.ts +6 -12
  701. package/src/classes/callbacks/PostAmbushFinished.ts +2 -2
  702. package/src/classes/callbacks/PostAmbushStarted.ts +2 -2
  703. package/src/classes/callbacks/PostBombExploded.ts +2 -2
  704. package/src/classes/callbacks/PostBombInitFilter.ts +2 -2
  705. package/src/classes/callbacks/PostBombInitLate.ts +2 -2
  706. package/src/classes/callbacks/PostBombRenderFilter.ts +5 -2
  707. package/src/classes/callbacks/PostBombUpdateFilter.ts +2 -2
  708. package/src/classes/callbacks/PostBoneSwing.ts +2 -2
  709. package/src/classes/callbacks/PostCollectibleEmpty.ts +6 -7
  710. package/src/classes/callbacks/PostCursedTeleport.ts +3 -3
  711. package/src/classes/callbacks/PostCustomRevive.ts +3 -6
  712. package/src/classes/callbacks/PostDiceRoomActivated.ts +6 -12
  713. package/src/classes/callbacks/PostDoorRender.ts +2 -2
  714. package/src/classes/callbacks/PostDoorUpdate.ts +2 -2
  715. package/src/classes/callbacks/PostEffectInitFilter.ts +2 -2
  716. package/src/classes/callbacks/PostEffectInitLate.ts +2 -2
  717. package/src/classes/callbacks/PostEffectRenderFilter.ts +5 -2
  718. package/src/classes/callbacks/PostEffectStateChanged.ts +2 -2
  719. package/src/classes/callbacks/PostEffectUpdateFilter.ts +2 -2
  720. package/src/classes/callbacks/PostEntityKillFilter.ts +2 -2
  721. package/src/classes/callbacks/PostEsauJr.ts +1 -1
  722. package/src/classes/callbacks/PostFamiliarInitFilter.ts +2 -2
  723. package/src/classes/callbacks/PostFamiliarInitLate.ts +2 -2
  724. package/src/classes/callbacks/PostFamiliarRenderFilter.ts +2 -2
  725. package/src/classes/callbacks/PostFamiliarStateChanged.ts +2 -2
  726. package/src/classes/callbacks/PostFamiliarUpdateFilter.ts +2 -2
  727. package/src/classes/callbacks/PostFirstEsauJr.ts +1 -1
  728. package/src/classes/callbacks/PostFirstFlip.ts +1 -1
  729. package/src/classes/callbacks/PostFlip.ts +1 -1
  730. package/src/classes/callbacks/PostGameEndFilter.ts +2 -2
  731. package/src/classes/callbacks/PostGameStartedReordered.ts +1 -1
  732. package/src/classes/callbacks/PostGameStartedReorderedLast.ts +1 -1
  733. package/src/classes/callbacks/PostGreedModeWave.ts +2 -2
  734. package/src/classes/callbacks/PostGridEntityBroken.ts +1 -1
  735. package/src/classes/callbacks/PostGridEntityCollision.ts +3 -6
  736. package/src/classes/callbacks/PostGridEntityCustomBroken.ts +1 -1
  737. package/src/classes/callbacks/PostGridEntityCustomCollision.ts +3 -6
  738. package/src/classes/callbacks/PostGridEntityCustomInit.ts +1 -1
  739. package/src/classes/callbacks/PostGridEntityCustomRemove.ts +3 -6
  740. package/src/classes/callbacks/PostGridEntityCustomRender.ts +1 -1
  741. package/src/classes/callbacks/PostGridEntityCustomStateChanged.ts +1 -1
  742. package/src/classes/callbacks/PostGridEntityCustomUpdate.ts +1 -1
  743. package/src/classes/callbacks/PostGridEntityInit.ts +1 -1
  744. package/src/classes/callbacks/PostGridEntityRemove.ts +3 -6
  745. package/src/classes/callbacks/PostGridEntityRender.ts +1 -1
  746. package/src/classes/callbacks/PostGridEntityStateChanged.ts +1 -1
  747. package/src/classes/callbacks/PostGridEntityUpdate.ts +1 -1
  748. package/src/classes/callbacks/PostHolyMantleRemoved.ts +4 -2
  749. package/src/classes/callbacks/PostItemDischarge.ts +6 -10
  750. package/src/classes/callbacks/PostItemPickup.ts +1 -1
  751. package/src/classes/callbacks/PostKeyboardChanged.ts +6 -8
  752. package/src/classes/callbacks/PostKnifeInitFilter.ts +2 -2
  753. package/src/classes/callbacks/PostKnifeInitLate.ts +2 -2
  754. package/src/classes/callbacks/PostKnifeRenderFilter.ts +5 -2
  755. package/src/classes/callbacks/PostKnifeUpdateFilter.ts +2 -2
  756. package/src/classes/callbacks/PostLaserInitFilter.ts +2 -2
  757. package/src/classes/callbacks/PostLaserInitLate.ts +2 -2
  758. package/src/classes/callbacks/PostLaserRenderFilter.ts +5 -2
  759. package/src/classes/callbacks/PostLaserUpdateFilter.ts +2 -2
  760. package/src/classes/callbacks/PostNPCDeathFilter.ts +2 -2
  761. package/src/classes/callbacks/PostNPCInitFilter.ts +2 -2
  762. package/src/classes/callbacks/PostNPCInitLate.ts +2 -2
  763. package/src/classes/callbacks/PostNPCRenderFilter.ts +2 -2
  764. package/src/classes/callbacks/PostNPCStateChanged.ts +4 -3
  765. package/src/classes/callbacks/PostNPCUpdateFilter.ts +2 -2
  766. package/src/classes/callbacks/PostNewLevelReordered.ts +1 -1
  767. package/src/classes/callbacks/PostNewRoomEarly.ts +7 -8
  768. package/src/classes/callbacks/PostNewRoomReordered.ts +1 -1
  769. package/src/classes/callbacks/PostPEffectUpdateReordered.ts +1 -1
  770. package/src/classes/callbacks/PostPickupChanged.ts +1 -1
  771. package/src/classes/callbacks/PostPickupCollect.ts +2 -2
  772. package/src/classes/callbacks/PostPickupInitFilter.ts +2 -2
  773. package/src/classes/callbacks/PostPickupInitFirst.ts +2 -2
  774. package/src/classes/callbacks/PostPickupInitLate.ts +2 -2
  775. package/src/classes/callbacks/PostPickupRenderFilter.ts +5 -2
  776. package/src/classes/callbacks/PostPickupSelectionFilter.ts +4 -3
  777. package/src/classes/callbacks/PostPickupStateChanged.ts +2 -2
  778. package/src/classes/callbacks/PostPickupUpdateFilter.ts +2 -2
  779. package/src/classes/callbacks/PostPitRender.ts +2 -2
  780. package/src/classes/callbacks/PostPitUpdate.ts +2 -2
  781. package/src/classes/callbacks/PostPlayerChangeHealth.ts +3 -3
  782. package/src/classes/callbacks/PostPlayerChangeStat.ts +4 -4
  783. package/src/classes/callbacks/PostPlayerChangeType.ts +3 -3
  784. package/src/classes/callbacks/PostPlayerCollectibleAdded.ts +1 -1
  785. package/src/classes/callbacks/PostPlayerCollectibleRemoved.ts +1 -1
  786. package/src/classes/callbacks/PostPlayerFatalDamage.ts +8 -6
  787. package/src/classes/callbacks/PostPlayerInitFirst.ts +2 -2
  788. package/src/classes/callbacks/PostPlayerInitLate.ts +2 -2
  789. package/src/classes/callbacks/PostPlayerRenderReordered.ts +1 -1
  790. package/src/classes/callbacks/PostPlayerUpdateReordered.ts +1 -1
  791. package/src/classes/callbacks/PostPoopRender.ts +2 -2
  792. package/src/classes/callbacks/PostPoopUpdate.ts +2 -2
  793. package/src/classes/callbacks/PostPressurePlateRender.ts +2 -2
  794. package/src/classes/callbacks/PostPressurePlateUpdate.ts +2 -2
  795. package/src/classes/callbacks/PostProjectileInitFilter.ts +2 -2
  796. package/src/classes/callbacks/PostProjectileInitLate.ts +4 -2
  797. package/src/classes/callbacks/PostProjectileKill.ts +4 -4
  798. package/src/classes/callbacks/PostProjectileRenderFilter.ts +2 -2
  799. package/src/classes/callbacks/PostProjectileUpdateFilter.ts +2 -2
  800. package/src/classes/callbacks/PostPurchase.ts +15 -12
  801. package/src/classes/callbacks/PostRockRender.ts +2 -2
  802. package/src/classes/callbacks/PostRockUpdate.ts +2 -2
  803. package/src/classes/callbacks/PostRoomClearChanged.ts +4 -7
  804. package/src/classes/callbacks/PostSacrifice.ts +1 -1
  805. package/src/classes/callbacks/PostSlotAnimationChanged.ts +1 -1
  806. package/src/classes/callbacks/PostSlotCollision.ts +2 -2
  807. package/src/classes/callbacks/PostSlotDestroyed.ts +1 -1
  808. package/src/classes/callbacks/PostSlotInit.ts +1 -1
  809. package/src/classes/callbacks/PostSlotRender.ts +1 -1
  810. package/src/classes/callbacks/PostSlotUpdate.ts +1 -1
  811. package/src/classes/callbacks/PostSpikesRender.ts +2 -2
  812. package/src/classes/callbacks/PostSpikesUpdate.ts +2 -2
  813. package/src/classes/callbacks/PostTNTRender.ts +2 -2
  814. package/src/classes/callbacks/PostTNTUpdate.ts +2 -2
  815. package/src/classes/callbacks/PostTearInitFilter.ts +2 -2
  816. package/src/classes/callbacks/PostTearInitLate.ts +2 -2
  817. package/src/classes/callbacks/PostTearInitVeryLate.ts +2 -2
  818. package/src/classes/callbacks/PostTearKill.ts +6 -4
  819. package/src/classes/callbacks/PostTearRenderFilter.ts +5 -2
  820. package/src/classes/callbacks/PostTearUpdateFilter.ts +2 -2
  821. package/src/classes/callbacks/PostTransformation.ts +5 -8
  822. package/src/classes/callbacks/PostTrinketBreak.ts +4 -4
  823. package/src/classes/callbacks/PostUsePillFilter.ts +6 -7
  824. package/src/classes/callbacks/PreBerserkDeath.ts +3 -1
  825. package/src/classes/callbacks/PreBombCollisionFilter.ts +2 -2
  826. package/src/classes/callbacks/PreCustomRevive.ts +1 -1
  827. package/src/classes/callbacks/PreEntitySpawnFilter.ts +6 -8
  828. package/src/classes/callbacks/PreFamiliarCollisionFilter.ts +2 -2
  829. package/src/classes/callbacks/PreGetPedestal.ts +2 -2
  830. package/src/classes/callbacks/PreItemPickup.ts +1 -1
  831. package/src/classes/callbacks/PreKnifeCollisionFilter.ts +2 -2
  832. package/src/classes/callbacks/PreNPCCollisionFilter.ts +6 -3
  833. package/src/classes/callbacks/PreNPCUpdateFilter.ts +2 -2
  834. package/src/classes/callbacks/PreNewLevel.ts +1 -1
  835. package/src/classes/callbacks/PreProjectileCollisionFilter.ts +2 -2
  836. package/src/classes/callbacks/PreRoomEntitySpawnFilter.ts +6 -9
  837. package/src/classes/callbacks/PreTearCollisionFilter.ts +2 -2
  838. package/src/classes/features/callbackLogic/CustomGridEntities.ts +8 -14
  839. package/src/classes/features/callbackLogic/CustomRevive.ts +15 -13
  840. package/src/classes/features/callbackLogic/EsauJrDetection.ts +8 -12
  841. package/src/classes/features/callbackLogic/FlipDetection.ts +6 -6
  842. package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +16 -20
  843. package/src/classes/features/callbackLogic/GridEntityCollisionDetection.ts +7 -7
  844. package/src/classes/features/callbackLogic/GridEntityRenderDetection.ts +7 -7
  845. package/src/classes/features/callbackLogic/GridEntityUpdateDetection.ts +26 -25
  846. package/src/classes/features/callbackLogic/ItemPickupDetection.ts +9 -9
  847. package/src/classes/features/callbackLogic/PickupChangeDetection.ts +8 -7
  848. package/src/classes/features/callbackLogic/PlayerCollectibleDetection.ts +15 -15
  849. package/src/classes/features/callbackLogic/PlayerReorderedCallbacks.ts +11 -11
  850. package/src/classes/features/callbackLogic/SlotDestroyedDetection.ts +6 -6
  851. package/src/classes/features/callbackLogic/SlotRenderDetection.ts +5 -5
  852. package/src/classes/features/callbackLogic/SlotUpdateDetection.ts +6 -6
  853. package/src/classes/features/other/CharacterHealthConversion.ts +5 -5
  854. package/src/classes/features/other/CharacterStats.ts +7 -7
  855. package/src/classes/features/other/CollectibleItemPoolType.ts +13 -13
  856. package/src/classes/features/other/CustomHotkeys.ts +4 -4
  857. package/src/classes/features/other/CustomItemPools.ts +4 -3
  858. package/src/classes/features/other/CustomPickups.ts +7 -4
  859. package/src/classes/features/other/CustomStages.ts +25 -26
  860. package/src/classes/features/other/CustomTrapdoors.ts +25 -25
  861. package/src/classes/features/other/DebugDisplay.ts +22 -22
  862. package/src/classes/features/other/DeployJSONRoom.ts +6 -6
  863. package/src/classes/features/other/DisableAllSound.ts +1 -1
  864. package/src/classes/features/other/DisableInputs.ts +5 -8
  865. package/src/classes/features/other/EdenStartingStats.ts +4 -4
  866. package/src/classes/features/other/ExtraConsoleCommands.ts +14 -11
  867. package/src/classes/features/other/FadeInRemover.ts +1 -1
  868. package/src/classes/features/other/FastReset.ts +1 -1
  869. package/src/classes/features/other/FlyingDetection.ts +2 -2
  870. package/src/classes/features/other/ForgottenSwitch.ts +2 -2
  871. package/src/classes/features/other/ItemPoolDetection.ts +4 -4
  872. package/src/classes/features/other/ModdedElementDetection.ts +3 -3
  873. package/src/classes/features/other/ModdedElementSets.ts +33 -29
  874. package/src/classes/features/other/NoSirenSteal.ts +3 -6
  875. package/src/classes/features/other/Pause.ts +4 -4
  876. package/src/classes/features/other/PersistentEntities.ts +6 -10
  877. package/src/classes/features/other/PickupIndexCreation.ts +7 -7
  878. package/src/classes/features/other/PlayerInventory.ts +4 -4
  879. package/src/classes/features/other/PonyDetection.ts +2 -2
  880. package/src/classes/features/other/PressInput.ts +4 -7
  881. package/src/classes/features/other/PreventChildEntities.ts +1 -1
  882. package/src/classes/features/other/PreventCollectibleRotation.ts +9 -9
  883. package/src/classes/features/other/PreventGridEntityRespawn.ts +5 -6
  884. package/src/classes/features/other/RoomClearFrame.ts +1 -1
  885. package/src/classes/features/other/RoomHistory.ts +2 -2
  886. package/src/classes/features/other/RunInNFrames.ts +6 -5
  887. package/src/classes/features/other/RunNextRoom.ts +1 -1
  888. package/src/classes/features/other/SaveDataManager.ts +18 -19
  889. package/src/classes/features/other/SpawnCollectible.ts +6 -3
  890. package/src/classes/features/other/SpawnRockAltRewards.ts +2 -2
  891. package/src/classes/features/other/StageHistory.ts +2 -2
  892. package/src/classes/features/other/StartAmbush.ts +2 -2
  893. package/src/classes/features/other/TaintedLazarusPlayers.ts +1 -1
  894. package/src/classes/features/other/customStages/backdrop.ts +2 -6
  895. package/src/classes/features/other/customStages/gridEntities.ts +3 -6
  896. package/src/classes/features/other/customStages/shadows.ts +1 -1
  897. package/src/classes/features/other/customStages/streakText.ts +1 -1
  898. package/src/classes/features/other/customStages/utils.ts +1 -1
  899. package/src/classes/features/other/customStages/v.ts +2 -2
  900. package/src/classes/features/other/customStages/versusScreen.ts +4 -4
  901. package/src/classes/features/other/debugDisplay/DebugDisplayBomb.ts +1 -1
  902. package/src/classes/features/other/debugDisplay/DebugDisplayDoor.ts +1 -1
  903. package/src/classes/features/other/debugDisplay/DebugDisplayEffect.ts +1 -1
  904. package/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.ts +1 -1
  905. package/src/classes/features/other/debugDisplay/DebugDisplayKnife.ts +1 -1
  906. package/src/classes/features/other/debugDisplay/DebugDisplayLaser.ts +1 -1
  907. package/src/classes/features/other/debugDisplay/DebugDisplayNPC.ts +1 -1
  908. package/src/classes/features/other/debugDisplay/DebugDisplayPickup.ts +1 -1
  909. package/src/classes/features/other/debugDisplay/DebugDisplayPit.ts +1 -1
  910. package/src/classes/features/other/debugDisplay/DebugDisplayPlayer.ts +1 -1
  911. package/src/classes/features/other/debugDisplay/DebugDisplayPoop.ts +1 -1
  912. package/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.ts +1 -1
  913. package/src/classes/features/other/debugDisplay/DebugDisplayProjectile.ts +1 -1
  914. package/src/classes/features/other/debugDisplay/DebugDisplayRock.ts +1 -1
  915. package/src/classes/features/other/debugDisplay/DebugDisplaySlot.ts +1 -1
  916. package/src/classes/features/other/debugDisplay/DebugDisplaySpikes.ts +1 -1
  917. package/src/classes/features/other/debugDisplay/DebugDisplayTNT.ts +1 -1
  918. package/src/classes/features/other/debugDisplay/DebugDisplayTear.ts +1 -1
  919. package/src/classes/features/other/extraConsoleCommands/commands.ts +9 -7
  920. package/src/classes/features/other/extraConsoleCommands/subroutines.ts +1 -2
  921. package/src/classes/features/other/extraConsoleCommands/v.ts +1 -1
  922. package/src/classes/features/other/saveDataManager/glowingHourGlass.ts +2 -2
  923. package/src/classes/features/other/saveDataManager/loadFromDisk.ts +2 -2
  924. package/src/classes/features/other/saveDataManager/restoreDefaults.ts +1 -1
  925. package/src/classes/features/other/saveDataManager/saveToDisk.ts +1 -1
  926. package/src/classes/private/CustomCallback.ts +7 -7
  927. package/src/classes/private/Feature.ts +4 -4
  928. package/src/core/constants.ts +5 -3
  929. package/src/core/upgradeMod.ts +3 -3
  930. package/src/decorators.ts +1 -1
  931. package/src/enums/ModCallbackCustom.ts +0 -12
  932. package/src/enums/private/GridEntityTypeCustom.ts +1 -1
  933. package/src/features.ts +3 -3
  934. package/src/functions/array.ts +3 -3
  935. package/src/functions/arrayLua.ts +3 -1
  936. package/src/functions/benchmark.ts +2 -2
  937. package/src/functions/bitSet128.ts +1 -1
  938. package/src/functions/bosses.ts +2 -5
  939. package/src/functions/cards.ts +2 -1
  940. package/src/functions/challenges.ts +2 -2
  941. package/src/functions/characters.ts +3 -2
  942. package/src/functions/chargeBar.ts +1 -1
  943. package/src/functions/collectibleTag.ts +2 -1
  944. package/src/functions/collectibles.ts +5 -3
  945. package/src/functions/color.ts +1 -1
  946. package/src/functions/curses.ts +1 -1
  947. package/src/functions/debugFunctions.ts +1 -0
  948. package/src/functions/decorators.ts +5 -5
  949. package/src/functions/deepCopy.ts +2 -2
  950. package/src/functions/direction.ts +2 -1
  951. package/src/functions/doors.ts +6 -4
  952. package/src/functions/easing.ts +4 -4
  953. package/src/functions/entities.ts +6 -5
  954. package/src/functions/entitiesSpecific.ts +2 -2
  955. package/src/functions/enums.ts +1 -1
  956. package/src/functions/familiars.ts +2 -2
  957. package/src/functions/globals.ts +6 -4
  958. package/src/functions/gridEntities.ts +4 -6
  959. package/src/functions/gridEntitiesSpecific.ts +1 -1
  960. package/src/functions/hex.ts +5 -5
  961. package/src/functions/itemPool.ts +2 -2
  962. package/src/functions/jsonRoom.ts +3 -6
  963. package/src/functions/kColor.ts +1 -1
  964. package/src/functions/level.ts +1 -1
  965. package/src/functions/levelGrid.ts +7 -6
  966. package/src/functions/logEntities.ts +19 -19
  967. package/src/functions/logMisc.ts +14 -12
  968. package/src/functions/map.ts +1 -1
  969. package/src/functions/math.ts +1 -1
  970. package/src/functions/merge.ts +1 -1
  971. package/src/functions/minimap.ts +2 -1
  972. package/src/functions/modFeatures.ts +2 -2
  973. package/src/functions/npcDataStructures.ts +1 -1
  974. package/src/functions/pickups.ts +2 -2
  975. package/src/functions/pickupsSpecific.ts +2 -2
  976. package/src/functions/pills.ts +8 -10
  977. package/src/functions/playerCenter.ts +2 -4
  978. package/src/functions/playerDataStructures.ts +2 -2
  979. package/src/functions/playerHealth.ts +4 -4
  980. package/src/functions/playerIndex.ts +1 -1
  981. package/src/functions/playerStats.ts +1 -1
  982. package/src/functions/players.ts +12 -7
  983. package/src/functions/pocketItems.ts +3 -2
  984. package/src/functions/rng.ts +1 -1
  985. package/src/functions/rockAlt.ts +1 -1
  986. package/src/functions/roomData.ts +1 -1
  987. package/src/functions/roomGrid.ts +1 -1
  988. package/src/functions/roomShape.ts +3 -2
  989. package/src/functions/roomShapeWalls.ts +1 -1
  990. package/src/functions/rooms.ts +7 -5
  991. package/src/functions/serialization.ts +3 -3
  992. package/src/functions/sound.ts +1 -1
  993. package/src/functions/stage.ts +7 -6
  994. package/src/functions/tears.ts +1 -1
  995. package/src/functions/transformations.ts +2 -5
  996. package/src/functions/trinketGive.ts +1 -1
  997. package/src/functions/trinkets.ts +2 -2
  998. package/src/functions/tstlClass.ts +4 -4
  999. package/src/functions/types.ts +1 -1
  1000. package/src/functions/utils.ts +1 -1
  1001. package/src/functions/vector.ts +1 -1
  1002. package/src/functions/weighted.ts +2 -4
  1003. package/src/interfaces/Corner.ts +1 -1
  1004. package/src/interfaces/CustomStageTSConfig.ts +1 -4
  1005. package/src/interfaces/GridEntityCustomData.ts +1 -1
  1006. package/src/interfaces/PlayerHealth.ts +1 -1
  1007. package/src/interfaces/PlayerStats.ts +2 -2
  1008. package/src/interfaces/PocketItemDescription.ts +2 -2
  1009. package/src/interfaces/RoomDescription.ts +1 -1
  1010. package/src/interfaces/SaveData.ts +2 -1
  1011. package/src/interfaces/StageHistoryEntry.ts +1 -1
  1012. package/src/interfaces/TrinketSituation.ts +1 -1
  1013. package/src/interfaces/private/AddCallbackParametersCustom.ts +8 -8
  1014. package/src/interfaces/private/CustomStage.ts +2 -2
  1015. package/src/interfaces/private/CustomTrapdoorDescription.ts +1 -1
  1016. package/src/interfaces/private/ModUpgradedInterface.ts +3 -3
  1017. package/src/maps/collectibleDescriptionMap.ts +1 -1
  1018. package/src/maps/collectibleNameToTypeMap.ts +1 -1
  1019. package/src/maps/collectibleTypeToNameMap.ts +1 -1
  1020. package/src/maps/defaultPlayerStatMap.ts +1 -1
  1021. package/src/maps/trinketDescriptionMap.ts +1 -1
  1022. package/src/maps/trinketNameToTypeMap.ts +1 -1
  1023. package/src/maps/trinketTypeToNameMap.ts +1 -1
  1024. package/src/objects/characterDamageMultipliers.ts +28 -28
  1025. package/src/objects/isaacAPIClassTypeToFunctions.ts +5 -5
  1026. package/src/objects/roomShapeCorners.ts +1 -1
  1027. package/src/shouldFire.ts +9 -9
  1028. package/src/types/ConversionHeartSubType.ts +1 -1
  1029. package/src/types/Decrement.ts +1 -1
  1030. package/src/types/FunctionTuple.ts +1 -1
  1031. package/src/types/Increment.ts +1 -1
  1032. package/src/types/LowercaseKeys.ts +1 -1
  1033. package/src/types/PickingUpItem.ts +2 -5
  1034. package/src/types/PossibleStatType.ts +1 -1
  1035. package/src/types/Range.ts +2 -2
  1036. package/src/types/TupleWithMaxLength.ts +1 -1
  1037. package/src/types/UppercaseKeys.ts +1 -1
  1038. package/src/types/private/CallbackTuple.ts +4 -4
  1039. package/src/types/private/ModUpgradedWithFeatures.ts +7 -7
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 30.12.2
3
+ isaacscript-common 30.12.4
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -16645,12 +16645,15 @@ local __TS__ArrayEvery = ____lualib.__TS__ArrayEvery
16645
16645
  local __TS__ArrayIndexOf = ____lualib.__TS__ArrayIndexOf
16646
16646
  local __TS__ArraySplice = ____lualib.__TS__ArraySplice
16647
16647
  local __TS__New = ____lualib.__TS__New
16648
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
16648
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
16649
+ local __TS__Iterator = ____lualib.__TS__Iterator
16649
16650
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
16650
16651
  local __TS__ArraySort = ____lualib.__TS__ArraySort
16651
16652
  local __TS__ArrayMap = ____lualib.__TS__ArrayMap
16652
16653
  local __TS__ArraySlice = ____lualib.__TS__ArraySlice
16653
- local __TS__ArrayConcat = ____lualib.__TS__ArrayConcat
16654
+ local __TS__SparseArrayNew = ____lualib.__TS__SparseArrayNew
16655
+ local __TS__SparseArrayPush = ____lualib.__TS__SparseArrayPush
16656
+ local __TS__SparseArraySpread = ____lualib.__TS__SparseArraySpread
16654
16657
  local __TS__ArrayUnshift = ____lualib.__TS__ArrayUnshift
16655
16658
  local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
16656
16659
  local __TS__ArraySome = ____lualib.__TS__ArraySome
@@ -16774,14 +16777,13 @@ function ____exports.arrayRemoveIndex(self, originalArray, ...)
16774
16777
  local indexesToRemove = {...}
16775
16778
  local indexesToRemoveSet = __TS__New(ReadonlySet, indexesToRemove)
16776
16779
  local array = {}
16777
- __TS__ArrayForEach(
16778
- originalArray,
16779
- function(____, element, i)
16780
- if not indexesToRemoveSet:has(i) then
16781
- array[#array + 1] = element
16782
- end
16780
+ for ____, ____value in __TS__Iterator(__TS__ArrayEntries(originalArray)) do
16781
+ local i = ____value[1]
16782
+ local element = ____value[2]
16783
+ if not indexesToRemoveSet:has(i) then
16784
+ array[#array + 1] = element
16783
16785
  end
16784
- )
16786
+ end
16785
16787
  return array
16786
16788
  end
16787
16789
  function ____exports.arrayRemoveIndexInPlace(self, array, ...)
@@ -16846,11 +16848,15 @@ function ____exports.getArrayCombinations(self, array, includeEmptyArray, min, m
16846
16848
  local j = 0
16847
16849
  while j < #src do
16848
16850
  local value = src[j + 1]
16851
+ local ____temp_1 = n - 1
16852
+ local ____TS__ArraySlice_result_2 = __TS__ArraySlice(src, j + 1)
16853
+ local ____array_0 = __TS__SparseArrayNew(table.unpack(got))
16854
+ __TS__SparseArrayPush(____array_0, value)
16849
16855
  addCombinations(
16850
16856
  nil,
16851
- n - 1,
16852
- __TS__ArraySlice(src, j + 1),
16853
- __TS__ArrayConcat(got, {value}),
16857
+ ____temp_1,
16858
+ ____TS__ArraySlice_result_2,
16859
+ {__TS__SparseArraySpread(____array_0)},
16854
16860
  all
16855
16861
  )
16856
16862
  j = j + 1
@@ -17104,14 +17110,10 @@ return ____exports
17104
17110
  end,
17105
17111
  ["src.interfaces.PlayerStats"] = function(...)
17106
17112
  local ____exports = {}
17107
- local ____PlayerStat = require("src.enums.PlayerStat")
17108
- local PlayerStat = ____PlayerStat.PlayerStat
17109
17113
  return ____exports
17110
17114
  end,
17111
17115
  ["src.interfaces.private.AddCallbackParametersCustom"] = function(...)
17112
17116
  local ____exports = {}
17113
- local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
17114
- local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
17115
17117
  local ____enums = require("src.functions.enums")
17116
17118
  local validateInterfaceMatchesEnum = ____enums.validateInterfaceMatchesEnum
17117
17119
  validateInterfaceMatchesEnum(nil)
@@ -18114,7 +18116,8 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
18114
18116
  local __TS__Spread = ____lualib.__TS__Spread
18115
18117
  local __TS__ArrayFindIndex = ____lualib.__TS__ArrayFindIndex
18116
18118
  local __TS__ArraySplice = ____lualib.__TS__ArraySplice
18117
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
18119
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
18120
+ local __TS__Iterator = ____lualib.__TS__Iterator
18118
18121
  local ____exports = {}
18119
18122
  local ____log = require("src.functions.log")
18120
18123
  local log = ____log.log
@@ -18180,12 +18183,11 @@ function CustomCallback.prototype.logSubscriptions(self)
18180
18183
  if #self.subscriptions == 0 then
18181
18184
  log("- n/a (no subscriptions)")
18182
18185
  else
18183
- __TS__ArrayForEach(
18184
- self.subscriptions,
18185
- function(____, subscription, i)
18186
- log((("- " .. tostring(i + 1)) .. " - priority: ") .. tostring(subscription.priority))
18187
- end
18188
- )
18186
+ for ____, ____value in __TS__Iterator(__TS__ArrayEntries(self.subscriptions)) do
18187
+ local i = ____value[1]
18188
+ local subscription = ____value[2]
18189
+ log((("- " .. tostring(i + 1)) .. " - priority: ") .. tostring(subscription.priority))
18190
+ end
18189
18191
  end
18190
18192
  end
18191
18193
  return ____exports
@@ -21791,7 +21793,7 @@ function ____exports.getFinalPlayer(self)
21791
21793
  return lastPlayer
21792
21794
  end
21793
21795
  function ____exports.getNewestPlayer(self)
21794
- local newestPlayer = nil
21796
+ local newestPlayer
21795
21797
  local lowestFrame = math.huge
21796
21798
  for ____, player in ipairs(getPlayers(nil)) do
21797
21799
  if player.FrameCount < lowestFrame then
@@ -22404,7 +22406,7 @@ function ____exports.round(self, num, numDecimalPlaces)
22404
22406
  ("%." .. tostring(numDecimalPlaces)) .. "f",
22405
22407
  num
22406
22408
  ))
22407
- return roundedNum == nil and 0 or roundedNum
22409
+ return roundedNum or 0
22408
22410
  end
22409
22411
  function ____exports.sign(self, n)
22410
22412
  if n > 0 then
@@ -22863,7 +22865,7 @@ function ____exports.closeDoorFast(self, door)
22863
22865
  end
22864
22866
  function ____exports.doorSlotFlagToDoorSlot(self, doorSlotFlag)
22865
22867
  local doorSlot = DOOR_SLOT_FLAG_TO_DOOR_SLOT[doorSlotFlag]
22866
- return doorSlot == nil and DEFAULT_DOOR_SLOT or doorSlot
22868
+ return doorSlot or DEFAULT_DOOR_SLOT
22867
22869
  end
22868
22870
  function ____exports.doorSlotFlagsToDoorSlots(self, doorSlotFlags)
22869
22871
  local doorSlots = {}
@@ -27064,7 +27066,7 @@ return ____exports
27064
27066
  end,
27065
27067
  ["src.functions.stage"] = function(...)
27066
27068
  local ____lualib = require("lualib_bundle")
27067
- local __TS__ArraySome = ____lualib.__TS__ArraySome
27069
+ local __TS__ArrayIncludes = ____lualib.__TS__ArrayIncludes
27068
27070
  local ____exports = {}
27069
27071
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
27070
27072
  local GameStateFlag = ____isaac_2Dtypescript_2Ddefinitions.GameStateFlag
@@ -27202,10 +27204,7 @@ end
27202
27204
  function ____exports.onEffectiveStage(self, ...)
27203
27205
  local effectiveStages = {...}
27204
27206
  local thisEffectiveStage = ____exports.getEffectiveStage(nil)
27205
- return __TS__ArraySome(
27206
- effectiveStages,
27207
- function(____, effectiveStage) return effectiveStage == thisEffectiveStage end
27208
- )
27207
+ return __TS__ArrayIncludes(effectiveStages, thisEffectiveStage)
27209
27208
  end
27210
27209
  function ____exports.onFinalFloor(self)
27211
27210
  local level = game:GetLevel()
@@ -27227,10 +27226,7 @@ function ____exports.onStage(self, ...)
27227
27226
  local stages = {...}
27228
27227
  local level = game:GetLevel()
27229
27228
  local thisStage = level:GetStage()
27230
- return __TS__ArraySome(
27231
- stages,
27232
- function(____, stage) return stage == thisStage end
27233
- )
27229
+ return __TS__ArrayIncludes(stages, thisStage)
27234
27230
  end
27235
27231
  function ____exports.onStageOrHigher(self, stage)
27236
27232
  local level = game:GetLevel()
@@ -27246,10 +27242,7 @@ function ____exports.onStageType(self, ...)
27246
27242
  local stageTypes = {...}
27247
27243
  local level = game:GetLevel()
27248
27244
  local thisStageType = level:GetStageType()
27249
- return __TS__ArraySome(
27250
- stageTypes,
27251
- function(____, stageType) return stageType == thisStageType end
27252
- )
27245
+ return __TS__ArrayIncludes(stageTypes, thisStageType)
27253
27246
  end
27254
27247
  function ____exports.onStageWithNaturalDevilRoom(self)
27255
27248
  local effectiveStage = ____exports.getEffectiveStage(nil)
@@ -27306,7 +27299,7 @@ local __TS__Spread = ____lualib.__TS__Spread
27306
27299
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
27307
27300
  local __TS__ArrayMap = ____lualib.__TS__ArrayMap
27308
27301
  local __TS__StringIncludes = ____lualib.__TS__StringIncludes
27309
- local __TS__ArraySome = ____lualib.__TS__ArraySome
27302
+ local __TS__ArrayIncludes = ____lualib.__TS__ArrayIncludes
27310
27303
  local __TS__ArrayEvery = ____lualib.__TS__ArrayEvery
27311
27304
  local ____exports = {}
27312
27305
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -27563,10 +27556,7 @@ function ____exports.inRoomType(self, ...)
27563
27556
  local roomTypes = {...}
27564
27557
  local room = game:GetRoom()
27565
27558
  local thisRoomType = room:GetType()
27566
- return __TS__ArraySome(
27567
- roomTypes,
27568
- function(____, roomType) return roomType == thisRoomType end
27569
- )
27559
+ return __TS__ArrayIncludes(roomTypes, thisRoomType)
27570
27560
  end
27571
27561
  function ____exports.inSecretExit(self)
27572
27562
  local roomGridIndex = getRoomGridIndex(nil)
@@ -27643,12 +27633,12 @@ function ____exports.setRoomCleared(self)
27643
27633
  for ____, door in ipairs(getDoors(nil)) do
27644
27634
  do
27645
27635
  if isHiddenSecretRoomDoor(nil, door) then
27646
- goto __continue60
27636
+ goto __continue59
27647
27637
  end
27648
27638
  openDoorFast(nil, door)
27649
27639
  door.ExtraVisible = false
27650
27640
  end
27651
- ::__continue60::
27641
+ ::__continue59::
27652
27642
  end
27653
27643
  sfxManager:Stop(SoundEffect.DOOR_HEAVY_OPEN)
27654
27644
  game:ShakeScreen(0)
@@ -27733,7 +27723,7 @@ function ____exports.getTopLeftWallGridIndex(self)
27733
27723
  local room = game:GetRoom()
27734
27724
  local roomShape = room:GetRoomShape()
27735
27725
  local topLeftWallGridIndex = ROOM_SHAPE_TO_TOP_LEFT_WALL_GRID_INDEX_MAP:get(roomShape)
27736
- return topLeftWallGridIndex == nil and DEFAULT_TOP_LEFT_WALL_GRID_INDEX or topLeftWallGridIndex
27726
+ return topLeftWallGridIndex or DEFAULT_TOP_LEFT_WALL_GRID_INDEX
27737
27727
  end
27738
27728
  function ____exports.removeGridEntity(self, gridEntityOrGridIndex, updateRoom)
27739
27729
  local room = game:GetRoom()
@@ -28092,7 +28082,8 @@ return ____exports
28092
28082
  ["src.functions.playerHealth"] = function(...)
28093
28083
  local ____lualib = require("lualib_bundle")
28094
28084
  local __TS__ArrayMap = ____lualib.__TS__ArrayMap
28095
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
28085
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
28086
+ local __TS__Iterator = ____lualib.__TS__Iterator
28096
28087
  local ____exports = {}
28097
28088
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
28098
28089
  local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
@@ -28186,42 +28177,41 @@ function ____exports.setPlayerHealth(self, player, playerHealth)
28186
28177
  end
28187
28178
  player:AddEternalHearts(playerHealth.eternalHearts)
28188
28179
  local soulHeartsRemaining = playerHealth.soulHearts
28189
- __TS__ArrayForEach(
28190
- playerHealth.soulHeartTypes,
28191
- function(____, soulHeartType, i)
28192
- local isHalf = playerHealth.soulHearts + playerHealth.boneHearts * 2 < (i + 1) * 2
28193
- local addAmount = 2
28194
- if isHalf or soulHeartType == HeartSubType.BONE or soulHeartsRemaining < 2 then
28195
- addAmount = 1
28196
- end
28197
- repeat
28198
- local ____switch70 = soulHeartType
28199
- local ____cond70 = ____switch70 == HeartSubType.SOUL
28200
- if ____cond70 then
28201
- do
28202
- player:AddSoulHearts(addAmount)
28203
- soulHeartsRemaining = soulHeartsRemaining - addAmount
28204
- break
28205
- end
28180
+ for ____, ____value in __TS__Iterator(__TS__ArrayEntries(playerHealth.soulHeartTypes)) do
28181
+ local i = ____value[1]
28182
+ local soulHeartType = ____value[2]
28183
+ local isHalf = playerHealth.soulHearts + playerHealth.boneHearts * 2 < (i + 1) * 2
28184
+ local addAmount = 2
28185
+ if isHalf or soulHeartType == HeartSubType.BONE or soulHeartsRemaining < 2 then
28186
+ addAmount = 1
28187
+ end
28188
+ repeat
28189
+ local ____switch70 = soulHeartType
28190
+ local ____cond70 = ____switch70 == HeartSubType.SOUL
28191
+ if ____cond70 then
28192
+ do
28193
+ player:AddSoulHearts(addAmount)
28194
+ soulHeartsRemaining = soulHeartsRemaining - addAmount
28195
+ break
28206
28196
  end
28207
- ____cond70 = ____cond70 or ____switch70 == HeartSubType.BLACK
28208
- if ____cond70 then
28209
- do
28210
- player:AddBlackHearts(addAmount)
28211
- soulHeartsRemaining = soulHeartsRemaining - addAmount
28212
- break
28213
- end
28197
+ end
28198
+ ____cond70 = ____cond70 or ____switch70 == HeartSubType.BLACK
28199
+ if ____cond70 then
28200
+ do
28201
+ player:AddBlackHearts(addAmount)
28202
+ soulHeartsRemaining = soulHeartsRemaining - addAmount
28203
+ break
28214
28204
  end
28215
- ____cond70 = ____cond70 or ____switch70 == HeartSubType.BONE
28216
- if ____cond70 then
28217
- do
28218
- player:AddBoneHearts(addAmount)
28219
- break
28220
- end
28205
+ end
28206
+ ____cond70 = ____cond70 or ____switch70 == HeartSubType.BONE
28207
+ if ____cond70 then
28208
+ do
28209
+ player:AddBoneHearts(addAmount)
28210
+ break
28221
28211
  end
28222
- until true
28223
- end
28224
- )
28212
+ end
28213
+ until true
28214
+ end
28225
28215
  player:AddRottenHearts(playerHealth.rottenHearts * 2)
28226
28216
  if character == PlayerType.MAGDALENE_B then
28227
28217
  ____repeat(
@@ -29250,7 +29240,8 @@ local ____lualib = require("lualib_bundle")
29250
29240
  local Map = ____lualib.Map
29251
29241
  local __TS__Spread = ____lualib.__TS__Spread
29252
29242
  local __TS__ArraySort = ____lualib.__TS__ArraySort
29253
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
29243
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
29244
+ local __TS__Iterator = ____lualib.__TS__Iterator
29254
29245
  local Set = ____lualib.Set
29255
29246
  local __TS__TypeOf = ____lualib.__TS__TypeOf
29256
29247
  local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
@@ -29451,24 +29442,23 @@ function ____exports.logPlayerEffects(player)
29451
29442
  log(" n/a (no effects)")
29452
29443
  return
29453
29444
  end
29454
- __TS__ArrayForEach(
29455
- effects,
29456
- function(____, effect, i)
29457
- local effectDescription
29458
- if effect.Item:IsCollectible() then
29459
- local collectibleName = getCollectibleName(nil, effect.Item.ID)
29460
- effectDescription = "Collectible: " .. collectibleName
29461
- elseif effect.Item:IsTrinket() then
29462
- local trinketName = getTrinketName(nil, effect.Item.ID)
29463
- effectDescription = "Trinket: " .. trinketName
29464
- elseif effect.Item:IsNull() then
29465
- effectDescription = "Null item: " .. tostring(effect.Item.ID)
29466
- else
29467
- effectDescription = "Unknown type of effect: " .. tostring(effect.Item.ID)
29468
- end
29469
- log((((((" " .. tostring(i + 1)) .. ") ") .. effectDescription) .. " (x") .. tostring(effect.Count)) .. ")")
29445
+ for ____, ____value in __TS__Iterator(__TS__ArrayEntries(effects)) do
29446
+ local i = ____value[1]
29447
+ local effect = ____value[2]
29448
+ local effectDescription
29449
+ if effect.Item:IsCollectible() then
29450
+ local collectibleName = getCollectibleName(nil, effect.Item.ID)
29451
+ effectDescription = "Collectible: " .. collectibleName
29452
+ elseif effect.Item:IsTrinket() then
29453
+ local trinketName = getTrinketName(nil, effect.Item.ID)
29454
+ effectDescription = "Trinket: " .. trinketName
29455
+ elseif effect.Item:IsNull() then
29456
+ effectDescription = "Null item: " .. tostring(effect.Item.ID)
29457
+ else
29458
+ effectDescription = "Unknown type of effect: " .. tostring(effect.Item.ID)
29470
29459
  end
29471
- )
29460
+ log((((((" " .. tostring(i + 1)) .. ") ") .. effectDescription) .. " (x") .. tostring(effect.Count)) .. ")")
29461
+ end
29472
29462
  end
29473
29463
  function ____exports.logPlayerHealth(player)
29474
29464
  local playerName = getPlayerName(nil, player)
@@ -29611,16 +29601,16 @@ function ____exports.logTableDifferences(table1, table2)
29611
29601
  local keys = {__TS__Spread(keysSet:values())}
29612
29602
  __TS__ArraySort(keys)
29613
29603
  for ____, key in ipairs(keys) do
29614
- if not table1KeysSet:has(key) then
29604
+ local value1 = table1[key]
29605
+ local value2 = table2[key]
29606
+ if value1 == nil then
29615
29607
  log(" Table 1 is missing key: " .. tostring(key))
29616
- elseif not table2KeysSet:has(key) then
29608
+ end
29609
+ if value2 == nil then
29617
29610
  log(" Table 2 is missing key: " .. tostring(key))
29618
- else
29619
- local value1 = table1[key]
29620
- local value2 = table2[key]
29621
- if value1 ~= value2 then
29622
- log((((((" " .. tostring(key)) .. " --> \"") .. tostring(value1)) .. "\" versus \"") .. tostring(value2)) .. "\"")
29623
- end
29611
+ end
29612
+ if value1 ~= value2 then
29613
+ log((((((" " .. tostring(key)) .. " --> \"") .. tostring(value1)) .. "\" versus \"") .. tostring(value2)) .. "\"")
29624
29614
  end
29625
29615
  end
29626
29616
  end
@@ -32580,7 +32570,7 @@ function ____exports.getAllPillColors(self)
32580
32570
  end
32581
32571
  function ____exports.getFalsePHDPillEffect(self, pillEffect)
32582
32572
  local convertedPillEffect = FALSE_PHD_PILL_CONVERSIONS:get(pillEffect)
32583
- return convertedPillEffect == nil and pillEffect or convertedPillEffect
32573
+ return convertedPillEffect or pillEffect
32584
32574
  end
32585
32575
  function ____exports.getHorsePillColor(self, pillColor)
32586
32576
  return asNumber(nil, pillColor) + HORSE_PILL_ADJUSTMENT
@@ -32600,7 +32590,7 @@ function ____exports.getNormalPillColors(self)
32600
32590
  end
32601
32591
  function ____exports.getPHDPillEffect(self, pillEffect)
32602
32592
  local convertedPillEffect = PHD_PILL_CONVERSIONS:get(pillEffect)
32603
- return convertedPillEffect == nil and pillEffect or convertedPillEffect
32593
+ return convertedPillEffect or pillEffect
32604
32594
  end
32605
32595
  function ____exports.getPillColorFromEffect(self, pillEffect)
32606
32596
  local itemPool = game:GetItemPool()
@@ -32615,7 +32605,7 @@ function ____exports.getPillColorFromEffect(self, pillEffect)
32615
32605
  end
32616
32606
  function ____exports.getPillEffectClass(self, pillEffect)
32617
32607
  local pillEffectClass = PILL_EFFECT_CLASSES[pillEffect]
32618
- return pillEffectClass == nil and DEFAULT_PILL_EFFECT_CLASS or pillEffectClass
32608
+ return pillEffectClass or DEFAULT_PILL_EFFECT_CLASS
32619
32609
  end
32620
32610
  function ____exports.getPillEffectName(self, pillEffect)
32621
32611
  local pillEffectName = PILL_EFFECT_NAMES[pillEffect]
@@ -32630,7 +32620,7 @@ function ____exports.getPillEffectName(self, pillEffect)
32630
32620
  end
32631
32621
  function ____exports.getPillEffectType(self, pillEffect)
32632
32622
  local pillEffectClass = PILL_EFFECT_TYPES[pillEffect]
32633
- return pillEffectClass == nil and DEFAULT_PILL_EFFECT_TYPE or pillEffectClass
32623
+ return pillEffectClass or DEFAULT_PILL_EFFECT_TYPE
32634
32624
  end
32635
32625
  function ____exports.getVanillaPillEffects(self)
32636
32626
  return iRange(nil, FIRST_PILL_EFFECT, LAST_VANILLA_PILL_EFFECT)
@@ -34544,7 +34534,7 @@ function CustomGridEntities.prototype.____constructor(self, runInNFrames)
34544
34534
  if data.anm2Path ~= nil then
34545
34535
  local sprite = decoration:GetSprite()
34546
34536
  sprite:Load(data.anm2Path, true)
34547
- local animationToPlay = data.defaultAnimation == nil and sprite:GetDefaultAnimation() or data.defaultAnimation
34537
+ local animationToPlay = data.defaultAnimation or sprite:GetDefaultAnimation()
34548
34538
  sprite:Play(animationToPlay, true)
34549
34539
  end
34550
34540
  end
@@ -34576,7 +34566,7 @@ function CustomGridEntities.prototype.spawnCustomGridEntity(self, gridEntityType
34576
34566
  if anm2Path ~= nil then
34577
34567
  local sprite = customGridEntity:GetSprite()
34578
34568
  sprite:Load(anm2Path, true)
34579
- local animationToPlay = defaultAnimation == nil and sprite:GetDefaultAnimation() or defaultAnimation
34569
+ local animationToPlay = defaultAnimation or sprite:GetDefaultAnimation()
34580
34570
  sprite:Play(animationToPlay, true)
34581
34571
  end
34582
34572
  local customGridEntityData = {
@@ -39567,7 +39557,7 @@ local ____pickupsSpecific = require("src.functions.pickupsSpecific")
39567
39557
  local getHearts = ____pickupsSpecific.getHearts
39568
39558
  function ____exports.getCoinValue(self, coinSubType)
39569
39559
  local value = COIN_SUB_TYPE_TO_VALUE[coinSubType]
39570
- return value == nil and DEFAULT_COIN_VALUE or value
39560
+ return value or DEFAULT_COIN_VALUE
39571
39561
  end
39572
39562
  function ____exports.getRedHearts(self)
39573
39563
  local hearts = getHearts(nil)
@@ -39907,10 +39897,12 @@ function CollectibleItemPoolType.prototype.____constructor(self, pickupIndexCrea
39907
39897
  Feature.prototype.____constructor(self)
39908
39898
  self.v = v
39909
39899
  self.postPickupInitCollectible = function(____, collectible)
39910
- local itemPool = game:GetItemPool()
39911
39900
  local pickupIndex = self.pickupIndexCreation:getPickupIndex(collectible)
39912
- local lastItemPoolType = itemPool:GetLastPool()
39913
- v.run.collectibleItemPoolTypeMap:set(pickupIndex, lastItemPoolType)
39901
+ if not v.run.collectibleItemPoolTypeMap:has(pickupIndex) then
39902
+ local itemPool = game:GetItemPool()
39903
+ local lastItemPoolType = itemPool:GetLastPool()
39904
+ v.run.collectibleItemPoolTypeMap:set(pickupIndex, lastItemPoolType)
39905
+ end
39914
39906
  end
39915
39907
  self.featuresUsed = {ISCFeature.PICKUP_INDEX_CREATION}
39916
39908
  self.callbacksUsed = {{ModCallback.POST_PICKUP_INIT, self.postPickupInitCollectible, {PickupVariant.COLLECTIBLE}}}
@@ -39923,7 +39915,7 @@ function CollectibleItemPoolType.prototype.getCollectibleItemPoolType(self, coll
39923
39915
  end
39924
39916
  local pickupIndex = self.pickupIndexCreation:getPickupIndex(collectible)
39925
39917
  local itemPoolType = v.run.collectibleItemPoolTypeMap:get(pickupIndex)
39926
- return itemPoolType == nil and getRoomItemPoolType(nil) or itemPoolType
39918
+ return itemPoolType or getRoomItemPoolType(nil)
39927
39919
  end
39928
39920
  __TS__DecorateLegacy({Exported}, CollectibleItemPoolType.prototype, "getCollectibleItemPoolType", true)
39929
39921
  return ____exports
@@ -40077,6 +40069,8 @@ return ____exports
40077
40069
  ["src.functions.weighted"] = function(...)
40078
40070
  local ____lualib = require("lualib_bundle")
40079
40071
  local __TS__ArrayMap = ____lualib.__TS__ArrayMap
40072
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
40073
+ local __TS__Iterator = ____lualib.__TS__Iterator
40080
40074
  local ____exports = {}
40081
40075
  local ____array = require("src.functions.array")
40082
40076
  local sumArray = ____array.sumArray
@@ -40098,16 +40092,13 @@ function ____exports.getRandomIndexFromWeightedArray(self, weightedArray, seedOr
40098
40092
  local totalWeight = sumArray(nil, weights)
40099
40093
  local randomWeight = getRandomFloat(nil, 0, totalWeight, seedOrRNG)
40100
40094
  local weightAccumulator = 0
40101
- do
40102
- local i = 0
40103
- while i < #weightedArray do
40104
- local tuple = weightedArray[i + 1]
40105
- local _element, weight = table.unpack(tuple)
40106
- weightAccumulator = weightAccumulator + weight
40107
- if weightAccumulator >= randomWeight then
40108
- return i
40109
- end
40110
- i = i + 1
40095
+ for ____, ____value in __TS__Iterator(__TS__ArrayEntries(weightedArray)) do
40096
+ local i = ____value[1]
40097
+ local tuple = ____value[2]
40098
+ local _element, weight = table.unpack(tuple)
40099
+ weightAccumulator = weightAccumulator + weight
40100
+ if weightAccumulator >= randomWeight then
40101
+ return i
40111
40102
  end
40112
40103
  end
40113
40104
  error("Failed to get a random index from a weighted array.")
@@ -40800,6 +40791,9 @@ end
40800
40791
  return ____exports
40801
40792
  end,
40802
40793
  ["src.functions.playerCenter"] = function(...)
40794
+ local ____lualib = require("lualib_bundle")
40795
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
40796
+ local __TS__Iterator = ____lualib.__TS__Iterator
40803
40797
  local ____exports = {}
40804
40798
  local movePlayerAndTheirFamiliars
40805
40799
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -40846,15 +40840,12 @@ function ____exports.movePlayersToCenter(self, radius)
40846
40840
  1,
40847
40841
  Direction.LEFT
40848
40842
  )
40849
- do
40850
- local i = 0
40851
- while i < #players do
40852
- local player = players[i + 1]
40853
- local circlePosition = circlePoints[i + 1]
40854
- if player ~= nil and circlePosition ~= nil then
40855
- player.Position = circlePosition
40856
- end
40857
- i = i + 1
40843
+ for ____, ____value in __TS__Iterator(__TS__ArrayEntries(players)) do
40844
+ local i = ____value[1]
40845
+ local player = ____value[2]
40846
+ local circlePosition = circlePoints[i + 1]
40847
+ if circlePosition ~= nil then
40848
+ player.Position = circlePosition
40858
40849
  end
40859
40850
  end
40860
40851
  end
@@ -41463,7 +41454,8 @@ local __TS__New = ____lualib.__TS__New
41463
41454
  local Map = ____lualib.Map
41464
41455
  local __TS__Class = ____lualib.__TS__Class
41465
41456
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
41466
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
41457
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
41458
+ local __TS__Iterator = ____lualib.__TS__Iterator
41467
41459
  local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
41468
41460
  local __TS__ArraySome = ____lualib.__TS__ArraySome
41469
41461
  local ____exports = {}
@@ -41810,19 +41802,18 @@ function CustomTrapdoors.prototype.playerTouchedCustomTrapdoor(self, gridEntity,
41810
41802
  dropTaintedForgotten(nil, player)
41811
41803
  player:PlayExtraAnimation("Trapdoor")
41812
41804
  local otherPlayers = getOtherPlayers(nil, player)
41813
- __TS__ArrayForEach(
41814
- otherPlayers,
41815
- function(____, otherPlayer, i)
41816
- local gameFramesToWaitBeforeJumping = OTHER_PLAYER_TRAPDOOR_JUMP_DELAY_GAME_FRAMES * (i + 1)
41817
- local otherPlayerPtr = EntityPtr(otherPlayer)
41818
- self.runInNFrames:runInNGameFrames(
41819
- function()
41820
- self:startDelayedJump(otherPlayerPtr, gridEntity.Position)
41821
- end,
41822
- gameFramesToWaitBeforeJumping
41823
- )
41824
- end
41825
- )
41805
+ for ____, ____value in __TS__Iterator(__TS__ArrayEntries(otherPlayers)) do
41806
+ local i = ____value[1]
41807
+ local otherPlayer = ____value[2]
41808
+ local gameFramesToWaitBeforeJumping = OTHER_PLAYER_TRAPDOOR_JUMP_DELAY_GAME_FRAMES * (i + 1)
41809
+ local otherPlayerPtr = EntityPtr(otherPlayer)
41810
+ self.runInNFrames:runInNGameFrames(
41811
+ function()
41812
+ self:startDelayedJump(otherPlayerPtr, gridEntity.Position)
41813
+ end,
41814
+ gameFramesToWaitBeforeJumping
41815
+ )
41816
+ end
41826
41817
  end
41827
41818
  function CustomTrapdoors.prototype.startDelayedJump(self, entityPtr, trapdoorPosition)
41828
41819
  local entity = entityPtr.Ref
@@ -41929,13 +41920,11 @@ function CustomTrapdoors.prototype.spawnCustomTrapdoor(self, gridIndexOrPosition
41929
41920
  TrapdoorAnimation.OPENED
41930
41921
  )
41931
41922
  local firstSpawn = roomFrameCount ~= 0
41932
- local ____temp_0
41933
- if spawnOpen == nil then
41934
- ____temp_0 = self:shouldTrapdoorSpawnOpen(gridEntity, firstSpawn)
41935
- else
41936
- ____temp_0 = spawnOpen
41923
+ local ____spawnOpen_0 = spawnOpen
41924
+ if ____spawnOpen_0 == nil then
41925
+ ____spawnOpen_0 = self:shouldTrapdoorSpawnOpen(gridEntity, firstSpawn)
41937
41926
  end
41938
- local open = ____temp_0
41927
+ local open = ____spawnOpen_0
41939
41928
  local roomTrapdoorMap = v.level.trapdoors:getAndSetDefault(roomListIndex)
41940
41929
  local customTrapdoorDescription = {
41941
41930
  destinationName = destinationName,
@@ -42210,7 +42199,7 @@ local ReadonlySet = ____ReadonlySet.ReadonlySet
42210
42199
  local ____constants = require("src.classes.features.other.customStages.constants")
42211
42200
  local ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH = ____constants.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH
42212
42201
  function getBackdropPNGPath(self, customStage, backdropKind, rng)
42213
- local backdrop = customStage.backdropPNGPaths == nil and DEFAULT_BACKDROP or customStage.backdropPNGPaths
42202
+ local backdrop = customStage.backdropPNGPaths or DEFAULT_BACKDROP
42214
42203
  local pathArray = backdrop[backdropKind]
42215
42204
  local randomPath = getRandomArrayElement(nil, pathArray, rng)
42216
42205
  return removeCharactersBefore(nil, randomPath, "gfx/")
@@ -42577,7 +42566,7 @@ function ____exports.convertVanillaTrapdoors(self, customStage, gridEntity, isFi
42577
42566
  if isFirstFloor then
42578
42567
  customTrapdoors:spawnCustomTrapdoor(gridEntity.Position, customStage.name, LevelStage.BASEMENT_2)
42579
42568
  else
42580
- local baseStage = customStage.baseStage == nil and DEFAULT_BASE_STAGE or customStage.baseStage
42569
+ local baseStage = customStage.baseStage or DEFAULT_BASE_STAGE
42581
42570
  local destinationStage = baseStage + 2
42582
42571
  local destinationStageType = calculateStageType(nil, destinationStage)
42583
42572
  customTrapdoors:spawnCustomTrapdoor(gridEntity.Position, nil, destinationStage, destinationStageType)
@@ -47671,7 +47660,7 @@ function ____exports.getAdjacentExistingRoomGridIndexes(self, roomGridIndex)
47671
47660
  )
47672
47661
  end
47673
47662
  function ____exports.getAdjacentRoomGridIndexes(self, roomGridIndex)
47674
- local roomGridIndexToUse = roomGridIndex == nil and getRoomGridIndex(nil) or roomGridIndex
47663
+ local roomGridIndexToUse = roomGridIndex or getRoomGridIndex(nil)
47675
47664
  if not ____exports.isRoomInsideGrid(nil, roomGridIndexToUse) then
47676
47665
  return {}
47677
47666
  end
@@ -47830,7 +47819,8 @@ function ____exports.getRoomAdjacentGridIndexes(self, roomGridIndex)
47830
47819
  return ____exports.getRoomShapeAdjacentExistingGridIndexes(nil, roomDescriptor.SafeGridIndex, roomData.Shape)
47831
47820
  end
47832
47821
  function ____exports.getRoomDescriptorsForType(self, ...)
47833
- local roomTypesSet = __TS__New(Set, {...})
47822
+ local roomTypes = {...}
47823
+ local roomTypesSet = __TS__New(Set, roomTypes)
47834
47824
  local rooms = getRoomsInsideGrid(nil)
47835
47825
  return __TS__ArrayFilter(
47836
47826
  rooms,
@@ -48660,7 +48650,8 @@ return ____exports
48660
48650
  ["src.functions.logEntities"] = function(...)
48661
48651
  local ____lualib = require("lualib_bundle")
48662
48652
  local __TS__New = ____lualib.__TS__New
48663
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
48653
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
48654
+ local __TS__Iterator = ____lualib.__TS__Iterator
48664
48655
  local __TS__StringTrim = ____lualib.__TS__StringTrim
48665
48656
  local __TS__StringSplit = ____lualib.__TS__StringSplit
48666
48657
  local ____exports = {}
@@ -48820,25 +48811,26 @@ function ____exports.logAllEntities(includeBackgroundEffects, entityTypeFilter)
48820
48811
  msg = msg .. ":\n"
48821
48812
  local entities = getEntities(nil)
48822
48813
  local numMatchedEntities = 0
48823
- __TS__ArrayForEach(
48824
- entities,
48825
- function(____, entity, i)
48814
+ for ____, ____value in __TS__Iterator(__TS__ArrayEntries(entities)) do
48815
+ local i = ____value[1]
48816
+ local entity = ____value[2]
48817
+ do
48826
48818
  if entityTypeFilter ~= nil and entity.Type ~= entityTypeFilter then
48827
- return
48819
+ goto __continue5
48828
48820
  end
48829
48821
  local effect = entity:ToEffect()
48830
48822
  if not includeBackgroundEffects and effect ~= nil and IGNORE_EFFECT_VARIANTS:has(effect.Variant) then
48831
- return
48823
+ goto __continue5
48832
48824
  end
48833
48825
  msg = msg .. getEntityLogLine(entity, i + 1)
48834
48826
  numMatchedEntities = numMatchedEntities + 1
48835
48827
  end
48836
- )
48837
- if numMatchedEntities == 0 then
48838
- msg = msg .. "(no entities matched)\n"
48839
- else
48840
- msg = msg .. ((("(" .. tostring(numMatchedEntities)) .. " total ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n"
48828
+ ::__continue5::
48841
48829
  end
48830
+ local zeroText = "(no entities matched)"
48831
+ local oneOrMoreText = ((("(" .. tostring(numMatchedEntities)) .. " total ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")"
48832
+ local text = numMatchedEntities == 0 and zeroText or oneOrMoreText
48833
+ msg = msg .. text .. "\n"
48842
48834
  for ____, line in ipairs(__TS__StringSplit(
48843
48835
  __TS__StringTrim(msg),
48844
48836
  "\n"
@@ -48864,21 +48856,17 @@ function ____exports.logAllGridEntities(includeWalls, gridEntityTypeFilter)
48864
48856
  local gridEntityIndex = gridEntity:GetGridIndex()
48865
48857
  local gridEntityType = gridEntity:GetType()
48866
48858
  if gridEntityTypeFilter ~= nil and gridEntityType ~= gridEntityTypeFilter then
48867
- goto __continue15
48859
+ goto __continue14
48868
48860
  end
48869
48861
  if not includeWalls and gridEntityType == GridEntityType.WALL and gridEntityTypeFilter ~= GridEntityType.WALL then
48870
- goto __continue15
48862
+ goto __continue14
48871
48863
  end
48872
48864
  msg = msg .. getGridEntityLogLine(gridEntity, gridEntityIndex)
48873
48865
  numMatchedEntities = numMatchedEntities + 1
48874
48866
  end
48875
- ::__continue15::
48876
- end
48877
- if numMatchedEntities == 0 then
48878
- msg = msg .. "(no grid entities matched)\n"
48879
- else
48880
- msg = msg .. ((("(" .. tostring(numMatchedEntities)) .. " total grid ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n"
48867
+ ::__continue14::
48881
48868
  end
48869
+ msg = msg .. (numMatchedEntities == 0 and "(no grid entities matched)\n" or ((("(" .. tostring(numMatchedEntities)) .. " total grid ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n")
48882
48870
  for ____, line in ipairs(__TS__StringSplit(
48883
48871
  __TS__StringTrim(msg),
48884
48872
  "\n"
@@ -49082,7 +49070,6 @@ return ____exports
49082
49070
  ["src.classes.features.other.extraConsoleCommands.commands"] = function(...)
49083
49071
  local ____lualib = require("lualib_bundle")
49084
49072
  local __TS__StringSplit = ____lualib.__TS__StringSplit
49085
- local __TS__StringSlice = ____lualib.__TS__StringSlice
49086
49073
  local __TS__ArrayIncludes = ____lualib.__TS__ArrayIncludes
49087
49074
  local ____exports = {}
49088
49075
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -49897,7 +49884,7 @@ function ____exports.s(self, params)
49897
49884
  local stageString
49898
49885
  local stageTypeLetter
49899
49886
  if finalCharacter == "a" or finalCharacter == "b" or finalCharacter == "c" or finalCharacter == "d" then
49900
- stageString = __TS__StringSlice(params, 0, #params - 1)
49887
+ stageString = string.sub(params, 1, -2)
49901
49888
  stageTypeLetter = finalCharacter
49902
49889
  else
49903
49890
  stageString = params
@@ -52627,7 +52614,8 @@ return ____exports
52627
52614
  end,
52628
52615
  ["src.functions.benchmark"] = function(...)
52629
52616
  local ____lualib = require("lualib_bundle")
52630
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
52617
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
52618
+ local __TS__Iterator = ____lualib.__TS__Iterator
52631
52619
  local ____exports = {}
52632
52620
  local ____log = require("src.functions.log")
52633
52621
  local log = ____log.log
@@ -52635,26 +52623,25 @@ function ____exports.benchmark(self, numTrials, ...)
52635
52623
  local functions = {...}
52636
52624
  log(((("Benchmarking " .. tostring(#functions)) .. " function(s) with ") .. tostring(numTrials)) .. " trials.")
52637
52625
  local averages = {}
52638
- __TS__ArrayForEach(
52639
- functions,
52640
- function(____, func, i)
52641
- local totalTimeMilliseconds = 0
52642
- do
52643
- local j = 0
52644
- while j < numTrials do
52645
- local startTimeMilliseconds = Isaac.GetTime()
52646
- func(nil)
52647
- local endTimeMilliseconds = Isaac.GetTime()
52648
- local elapsedTimeMilliseconds = endTimeMilliseconds - startTimeMilliseconds
52649
- totalTimeMilliseconds = totalTimeMilliseconds + elapsedTimeMilliseconds
52650
- j = j + 1
52651
- end
52626
+ for ____, ____value in __TS__Iterator(__TS__ArrayEntries(functions)) do
52627
+ local i = ____value[1]
52628
+ local func = ____value[2]
52629
+ local totalTimeMilliseconds = 0
52630
+ do
52631
+ local j = 0
52632
+ while j < numTrials do
52633
+ local startTimeMilliseconds = Isaac.GetTime()
52634
+ func(nil)
52635
+ local endTimeMilliseconds = Isaac.GetTime()
52636
+ local elapsedTimeMilliseconds = endTimeMilliseconds - startTimeMilliseconds
52637
+ totalTimeMilliseconds = totalTimeMilliseconds + elapsedTimeMilliseconds
52638
+ j = j + 1
52652
52639
  end
52653
- local averageTimeMilliseconds = totalTimeMilliseconds / numTrials
52654
- log(((("The average time of the function at index " .. tostring(i)) .. " is: ") .. tostring(averageTimeMilliseconds)) .. " milliseconds")
52655
- averages[#averages + 1] = averageTimeMilliseconds
52656
52640
  end
52657
- )
52641
+ local averageTimeMilliseconds = totalTimeMilliseconds / numTrials
52642
+ log(((("The average time of the function at index " .. tostring(i)) .. " is: ") .. tostring(averageTimeMilliseconds)) .. " milliseconds")
52643
+ averages[#averages + 1] = averageTimeMilliseconds
52644
+ end
52658
52645
  return averages
52659
52646
  end
52660
52647
  return ____exports
@@ -52734,7 +52721,7 @@ local CHALLENGE_NAMES = ____challengeNames.CHALLENGE_NAMES
52734
52721
  local DEFAULT_CHALLENGE_NAME = ____challengeNames.DEFAULT_CHALLENGE_NAME
52735
52722
  function ____exports.getChallengeName(self, challenge)
52736
52723
  local challengeName = CHALLENGE_NAMES[challenge]
52737
- return challengeName == nil and DEFAULT_CHALLENGE_NAME or challengeName
52724
+ return challengeName or DEFAULT_CHALLENGE_NAME
52738
52725
  end
52739
52726
  return ____exports
52740
52727
  end,
@@ -52863,7 +52850,8 @@ local ____lualib = require("lualib_bundle")
52863
52850
  local __TS__New = ____lualib.__TS__New
52864
52851
  local Set = ____lualib.Set
52865
52852
  local __TS__ArraySort = ____lualib.__TS__ArraySort
52866
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
52853
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
52854
+ local __TS__Iterator = ____lualib.__TS__Iterator
52867
52855
  local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
52868
52856
  local ____exports = {}
52869
52857
  local isRacingPlusSandboxEnabled
@@ -53086,17 +53074,14 @@ function ____exports.logNewGlobals(self)
53086
53074
  log("List of added global variables in the Isaac environment:")
53087
53075
  if #newGlobals == 0 then
53088
53076
  log("- n/a (no extra global variables found)")
53089
- end
53090
- __TS__ArrayForEach(
53091
- newGlobals,
53092
- function(____, ____bindingPattern0, i)
53093
- local value
53094
- local key
53095
- key = ____bindingPattern0[1]
53096
- value = ____bindingPattern0[2]
53077
+ else
53078
+ for ____, ____value in __TS__Iterator(__TS__ArrayEntries(newGlobals)) do
53079
+ local i = ____value[1]
53080
+ local tuple = ____value[2]
53081
+ local key, value = table.unpack(tuple)
53097
53082
  log((((tostring(i + 1) .. ") ") .. tostring(key)) .. " - ") .. tostring(value))
53098
53083
  end
53099
- )
53084
+ end
53100
53085
  end
53101
53086
  function ____exports.setLogFunctionsGlobal(self)
53102
53087
  local globals = _G
@@ -53118,7 +53103,6 @@ return ____exports
53118
53103
  ["src.functions.hex"] = function(...)
53119
53104
  local ____lualib = require("lualib_bundle")
53120
53105
  local __TS__StringReplace = ____lualib.__TS__StringReplace
53121
- local __TS__StringSubstring = ____lualib.__TS__StringSubstring
53122
53106
  local ____exports = {}
53123
53107
  local hexToRGB, HEX_STRING_LENGTH
53124
53108
  local ____logMisc = require("src.functions.logMisc")
@@ -53129,19 +53113,19 @@ function hexToRGB(self, hexString)
53129
53113
  logError("Hex strings must be of length: " .. tostring(HEX_STRING_LENGTH))
53130
53114
  return {0, 0, 0}
53131
53115
  end
53132
- local rString = __TS__StringSubstring(hexString, 0, 2)
53116
+ local rString = string.sub(hexString, 1, 2)
53133
53117
  local r = tonumber("0x" .. rString)
53134
53118
  if r == nil then
53135
53119
  logError(("Failed to convert `0x" .. rString) .. "` to a number.")
53136
53120
  return {0, 0, 0}
53137
53121
  end
53138
- local gString = __TS__StringSubstring(hexString, 2, 4)
53122
+ local gString = string.sub(hexString, 3, 4)
53139
53123
  local g = tonumber("0x" .. gString)
53140
53124
  if g == nil then
53141
53125
  logError(("Failed to convert `0x" .. gString) .. "` to a number.")
53142
53126
  return {0, 0, 0}
53143
53127
  end
53144
- local bString = __TS__StringSubstring(hexString, 4, 6)
53128
+ local bString = string.sub(hexString, 5, 6)
53145
53129
  local b = tonumber("0x" .. bString)
53146
53130
  if b == nil then
53147
53131
  logError(("Failed to convert `0x" .. bString) .. "` to a number.")