isaacscript-common 30.12.3 → 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 (1037) hide show
  1. package/dist/index.rollup.d.ts +283 -283
  2. package/dist/isaacscript-common.lua +196 -214
  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 +1 -1
  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/private/GridEntityTypeCustom.d.ts +1 -1
  481. package/dist/src/enums/private/GridEntityTypeCustom.d.ts.map +1 -1
  482. package/dist/src/features.d.ts +2 -2
  483. package/dist/src/features.d.ts.map +1 -1
  484. package/dist/src/functions/array.lua +18 -12
  485. package/dist/src/functions/arrayLua.d.ts.map +1 -1
  486. package/dist/src/functions/benchmark.lua +19 -19
  487. package/dist/src/functions/bitSet128.d.ts +1 -1
  488. package/dist/src/functions/bitSet128.d.ts.map +1 -1
  489. package/dist/src/functions/bosses.d.ts +2 -1
  490. package/dist/src/functions/bosses.d.ts.map +1 -1
  491. package/dist/src/functions/cards.d.ts +2 -1
  492. package/dist/src/functions/cards.d.ts.map +1 -1
  493. package/dist/src/functions/challenges.d.ts +1 -1
  494. package/dist/src/functions/challenges.d.ts.map +1 -1
  495. package/dist/src/functions/challenges.lua +1 -1
  496. package/dist/src/functions/characters.d.ts +2 -1
  497. package/dist/src/functions/characters.d.ts.map +1 -1
  498. package/dist/src/functions/chargeBar.d.ts +1 -1
  499. package/dist/src/functions/chargeBar.d.ts.map +1 -1
  500. package/dist/src/functions/collectibleTag.d.ts +2 -1
  501. package/dist/src/functions/collectibleTag.d.ts.map +1 -1
  502. package/dist/src/functions/collectibles.d.ts +2 -1
  503. package/dist/src/functions/collectibles.d.ts.map +1 -1
  504. package/dist/src/functions/color.d.ts +1 -1
  505. package/dist/src/functions/color.d.ts.map +1 -1
  506. package/dist/src/functions/curses.d.ts +1 -1
  507. package/dist/src/functions/curses.d.ts.map +1 -1
  508. package/dist/src/functions/debugFunctions.d.ts.map +1 -1
  509. package/dist/src/functions/decorators.d.ts +5 -5
  510. package/dist/src/functions/decorators.d.ts.map +1 -1
  511. package/dist/src/functions/deepCopy.d.ts +1 -1
  512. package/dist/src/functions/deepCopy.d.ts.map +1 -1
  513. package/dist/src/functions/direction.d.ts +2 -1
  514. package/dist/src/functions/direction.d.ts.map +1 -1
  515. package/dist/src/functions/doors.d.ts +2 -1
  516. package/dist/src/functions/doors.d.ts.map +1 -1
  517. package/dist/src/functions/doors.lua +1 -1
  518. package/dist/src/functions/entities.d.ts +3 -3
  519. package/dist/src/functions/entities.d.ts.map +1 -1
  520. package/dist/src/functions/entitiesSpecific.d.ts +2 -1
  521. package/dist/src/functions/entitiesSpecific.d.ts.map +1 -1
  522. package/dist/src/functions/familiars.d.ts +1 -1
  523. package/dist/src/functions/familiars.d.ts.map +1 -1
  524. package/dist/src/functions/globals.d.ts.map +1 -1
  525. package/dist/src/functions/globals.lua +8 -10
  526. package/dist/src/functions/gridEntities.d.ts +4 -3
  527. package/dist/src/functions/gridEntities.d.ts.map +1 -1
  528. package/dist/src/functions/gridEntities.lua +1 -1
  529. package/dist/src/functions/gridEntitiesSpecific.d.ts +2 -1
  530. package/dist/src/functions/gridEntitiesSpecific.d.ts.map +1 -1
  531. package/dist/src/functions/hex.d.ts.map +1 -1
  532. package/dist/src/functions/hex.lua +3 -4
  533. package/dist/src/functions/itemPool.d.ts +2 -1
  534. package/dist/src/functions/itemPool.d.ts.map +1 -1
  535. package/dist/src/functions/jsonRoom.d.ts +2 -2
  536. package/dist/src/functions/jsonRoom.d.ts.map +1 -1
  537. package/dist/src/functions/kColor.d.ts +1 -1
  538. package/dist/src/functions/kColor.d.ts.map +1 -1
  539. package/dist/src/functions/level.d.ts +1 -1
  540. package/dist/src/functions/level.d.ts.map +1 -1
  541. package/dist/src/functions/levelGrid.d.ts +3 -2
  542. package/dist/src/functions/levelGrid.d.ts.map +1 -1
  543. package/dist/src/functions/levelGrid.lua +4 -3
  544. package/dist/src/functions/logEntities.d.ts +2 -1
  545. package/dist/src/functions/logEntities.d.ts.map +1 -1
  546. package/dist/src/functions/logEntities.lua +17 -19
  547. package/dist/src/functions/logMisc.d.ts +2 -1
  548. package/dist/src/functions/logMisc.d.ts.map +1 -1
  549. package/dist/src/functions/logMisc.lua +26 -26
  550. package/dist/src/functions/map.d.ts +1 -1
  551. package/dist/src/functions/map.d.ts.map +1 -1
  552. package/dist/src/functions/math.lua +1 -1
  553. package/dist/src/functions/merge.d.ts +1 -1
  554. package/dist/src/functions/merge.d.ts.map +1 -1
  555. package/dist/src/functions/minimap.d.ts +1 -1
  556. package/dist/src/functions/minimap.d.ts.map +1 -1
  557. package/dist/src/functions/modFeatures.d.ts +2 -2
  558. package/dist/src/functions/modFeatures.d.ts.map +1 -1
  559. package/dist/src/functions/npcDataStructures.d.ts +1 -1
  560. package/dist/src/functions/npcDataStructures.d.ts.map +1 -1
  561. package/dist/src/functions/pickups.d.ts +1 -1
  562. package/dist/src/functions/pickups.d.ts.map +1 -1
  563. package/dist/src/functions/pickups.lua +1 -1
  564. package/dist/src/functions/pickupsSpecific.d.ts +1 -1
  565. package/dist/src/functions/pickupsSpecific.d.ts.map +1 -1
  566. package/dist/src/functions/pills.d.ts +2 -1
  567. package/dist/src/functions/pills.d.ts.map +1 -1
  568. package/dist/src/functions/pills.lua +4 -4
  569. package/dist/src/functions/playerCenter.d.ts.map +1 -1
  570. package/dist/src/functions/playerCenter.lua +9 -9
  571. package/dist/src/functions/playerDataStructures.d.ts +2 -2
  572. package/dist/src/functions/playerDataStructures.d.ts.map +1 -1
  573. package/dist/src/functions/playerHealth.d.ts +1 -1
  574. package/dist/src/functions/playerHealth.d.ts.map +1 -1
  575. package/dist/src/functions/playerHealth.lua +34 -34
  576. package/dist/src/functions/playerIndex.d.ts +1 -1
  577. package/dist/src/functions/playerIndex.d.ts.map +1 -1
  578. package/dist/src/functions/playerStats.d.ts +1 -1
  579. package/dist/src/functions/playerStats.d.ts.map +1 -1
  580. package/dist/src/functions/players.d.ts.map +1 -1
  581. package/dist/src/functions/players.lua +1 -1
  582. package/dist/src/functions/pocketItems.d.ts +2 -2
  583. package/dist/src/functions/pocketItems.d.ts.map +1 -1
  584. package/dist/src/functions/rng.d.ts +1 -1
  585. package/dist/src/functions/rng.d.ts.map +1 -1
  586. package/dist/src/functions/rockAlt.d.ts +1 -1
  587. package/dist/src/functions/rockAlt.d.ts.map +1 -1
  588. package/dist/src/functions/roomData.d.ts +1 -1
  589. package/dist/src/functions/roomData.d.ts.map +1 -1
  590. package/dist/src/functions/roomGrid.d.ts +1 -1
  591. package/dist/src/functions/roomGrid.d.ts.map +1 -1
  592. package/dist/src/functions/roomShape.d.ts +3 -2
  593. package/dist/src/functions/roomShape.d.ts.map +1 -1
  594. package/dist/src/functions/rooms.d.ts +2 -1
  595. package/dist/src/functions/rooms.d.ts.map +1 -1
  596. package/dist/src/functions/rooms.lua +4 -7
  597. package/dist/src/functions/serialization.d.ts +1 -1
  598. package/dist/src/functions/serialization.d.ts.map +1 -1
  599. package/dist/src/functions/sound.d.ts +1 -1
  600. package/dist/src/functions/sound.d.ts.map +1 -1
  601. package/dist/src/functions/stage.d.ts +2 -1
  602. package/dist/src/functions/stage.d.ts.map +1 -1
  603. package/dist/src/functions/stage.lua +4 -13
  604. package/dist/src/functions/tears.d.ts +1 -1
  605. package/dist/src/functions/tears.d.ts.map +1 -1
  606. package/dist/src/functions/transformations.d.ts +2 -1
  607. package/dist/src/functions/transformations.d.ts.map +1 -1
  608. package/dist/src/functions/trinketGive.d.ts +1 -1
  609. package/dist/src/functions/trinketGive.d.ts.map +1 -1
  610. package/dist/src/functions/trinkets.d.ts +2 -1
  611. package/dist/src/functions/trinkets.d.ts.map +1 -1
  612. package/dist/src/functions/tstlClass.d.ts +3 -3
  613. package/dist/src/functions/tstlClass.d.ts.map +1 -1
  614. package/dist/src/functions/types.d.ts +1 -1
  615. package/dist/src/functions/types.d.ts.map +1 -1
  616. package/dist/src/functions/vector.d.ts +1 -1
  617. package/dist/src/functions/vector.d.ts.map +1 -1
  618. package/dist/src/functions/weighted.d.ts +1 -1
  619. package/dist/src/functions/weighted.d.ts.map +1 -1
  620. package/dist/src/functions/weighted.lua +9 -10
  621. package/dist/src/interfaces/Corner.d.ts +1 -1
  622. package/dist/src/interfaces/Corner.d.ts.map +1 -1
  623. package/dist/src/interfaces/CustomStageTSConfig.d.ts +1 -1
  624. package/dist/src/interfaces/CustomStageTSConfig.d.ts.map +1 -1
  625. package/dist/src/interfaces/GridEntityCustomData.d.ts +1 -1
  626. package/dist/src/interfaces/GridEntityCustomData.d.ts.map +1 -1
  627. package/dist/src/interfaces/PlayerHealth.d.ts +1 -1
  628. package/dist/src/interfaces/PlayerHealth.d.ts.map +1 -1
  629. package/dist/src/interfaces/PlayerStats.d.ts +2 -2
  630. package/dist/src/interfaces/PlayerStats.d.ts.map +1 -1
  631. package/dist/src/interfaces/PlayerStats.lua +0 -2
  632. package/dist/src/interfaces/PocketItemDescription.d.ts +2 -2
  633. package/dist/src/interfaces/PocketItemDescription.d.ts.map +1 -1
  634. package/dist/src/interfaces/RoomDescription.d.ts +1 -1
  635. package/dist/src/interfaces/RoomDescription.d.ts.map +1 -1
  636. package/dist/src/interfaces/SaveData.d.ts +1 -1
  637. package/dist/src/interfaces/SaveData.d.ts.map +1 -1
  638. package/dist/src/interfaces/StageHistoryEntry.d.ts +1 -1
  639. package/dist/src/interfaces/StageHistoryEntry.d.ts.map +1 -1
  640. package/dist/src/interfaces/TrinketSituation.d.ts +1 -1
  641. package/dist/src/interfaces/TrinketSituation.d.ts.map +1 -1
  642. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +8 -8
  643. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
  644. package/dist/src/interfaces/private/AddCallbackParametersCustom.lua +0 -2
  645. package/dist/src/interfaces/private/CustomStage.d.ts +2 -2
  646. package/dist/src/interfaces/private/CustomStage.d.ts.map +1 -1
  647. package/dist/src/interfaces/private/CustomTrapdoorDescription.d.ts +1 -1
  648. package/dist/src/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
  649. package/dist/src/interfaces/private/ModUpgradedInterface.d.ts +3 -3
  650. package/dist/src/interfaces/private/ModUpgradedInterface.d.ts.map +1 -1
  651. package/dist/src/maps/collectibleDescriptionMap.d.ts +1 -1
  652. package/dist/src/maps/collectibleDescriptionMap.d.ts.map +1 -1
  653. package/dist/src/maps/collectibleNameToTypeMap.d.ts +1 -1
  654. package/dist/src/maps/collectibleNameToTypeMap.d.ts.map +1 -1
  655. package/dist/src/maps/collectibleTypeToNameMap.d.ts +1 -1
  656. package/dist/src/maps/collectibleTypeToNameMap.d.ts.map +1 -1
  657. package/dist/src/maps/trinketDescriptionMap.d.ts +1 -1
  658. package/dist/src/maps/trinketDescriptionMap.d.ts.map +1 -1
  659. package/dist/src/maps/trinketNameToTypeMap.d.ts +1 -1
  660. package/dist/src/maps/trinketNameToTypeMap.d.ts.map +1 -1
  661. package/dist/src/maps/trinketTypeToNameMap.d.ts +1 -1
  662. package/dist/src/maps/trinketTypeToNameMap.d.ts.map +1 -1
  663. package/dist/src/objects/isaacAPIClassTypeToFunctions.d.ts +10 -5
  664. package/dist/src/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
  665. package/dist/src/shouldFire.d.ts +7 -7
  666. package/dist/src/shouldFire.d.ts.map +1 -1
  667. package/dist/src/types/ConversionHeartSubType.d.ts +1 -1
  668. package/dist/src/types/ConversionHeartSubType.d.ts.map +1 -1
  669. package/dist/src/types/Decrement.d.ts +1 -1
  670. package/dist/src/types/Decrement.d.ts.map +1 -1
  671. package/dist/src/types/FunctionTuple.d.ts +1 -1
  672. package/dist/src/types/FunctionTuple.d.ts.map +1 -1
  673. package/dist/src/types/Increment.d.ts +1 -1
  674. package/dist/src/types/Increment.d.ts.map +1 -1
  675. package/dist/src/types/LowercaseKeys.d.ts +1 -1
  676. package/dist/src/types/LowercaseKeys.d.ts.map +1 -1
  677. package/dist/src/types/PickingUpItem.d.ts +2 -1
  678. package/dist/src/types/PickingUpItem.d.ts.map +1 -1
  679. package/dist/src/types/PossibleStatType.d.ts +1 -1
  680. package/dist/src/types/PossibleStatType.d.ts.map +1 -1
  681. package/dist/src/types/Range.d.ts +2 -2
  682. package/dist/src/types/Range.d.ts.map +1 -1
  683. package/dist/src/types/TupleWithMaxLength.d.ts +1 -1
  684. package/dist/src/types/TupleWithMaxLength.d.ts.map +1 -1
  685. package/dist/src/types/UppercaseKeys.d.ts +1 -1
  686. package/dist/src/types/UppercaseKeys.d.ts.map +1 -1
  687. package/dist/src/types/private/CallbackTuple.d.ts +4 -4
  688. package/dist/src/types/private/CallbackTuple.d.ts.map +1 -1
  689. package/dist/src/types/private/ModUpgradedWithFeatures.d.ts +7 -7
  690. package/dist/src/types/private/ModUpgradedWithFeatures.d.ts.map +1 -1
  691. package/package.json +2 -2
  692. package/src/callbacks.ts +1 -1
  693. package/src/classes/DefaultMap.ts +4 -2
  694. package/src/classes/ModFeature.ts +7 -7
  695. package/src/classes/ModUpgraded.ts +11 -13
  696. package/src/classes/callbacks/EntityTakeDmgFilter.ts +4 -3
  697. package/src/classes/callbacks/EntityTakeDmgPlayer.ts +4 -7
  698. package/src/classes/callbacks/InputActionFilter.ts +6 -12
  699. package/src/classes/callbacks/InputActionPlayer.ts +6 -12
  700. package/src/classes/callbacks/PostAmbushFinished.ts +2 -2
  701. package/src/classes/callbacks/PostAmbushStarted.ts +2 -2
  702. package/src/classes/callbacks/PostBombExploded.ts +2 -2
  703. package/src/classes/callbacks/PostBombInitFilter.ts +2 -2
  704. package/src/classes/callbacks/PostBombInitLate.ts +2 -2
  705. package/src/classes/callbacks/PostBombRenderFilter.ts +5 -2
  706. package/src/classes/callbacks/PostBombUpdateFilter.ts +2 -2
  707. package/src/classes/callbacks/PostBoneSwing.ts +2 -2
  708. package/src/classes/callbacks/PostCollectibleEmpty.ts +6 -7
  709. package/src/classes/callbacks/PostCursedTeleport.ts +3 -3
  710. package/src/classes/callbacks/PostCustomRevive.ts +3 -6
  711. package/src/classes/callbacks/PostDiceRoomActivated.ts +6 -12
  712. package/src/classes/callbacks/PostDoorRender.ts +2 -2
  713. package/src/classes/callbacks/PostDoorUpdate.ts +2 -2
  714. package/src/classes/callbacks/PostEffectInitFilter.ts +2 -2
  715. package/src/classes/callbacks/PostEffectInitLate.ts +2 -2
  716. package/src/classes/callbacks/PostEffectRenderFilter.ts +5 -2
  717. package/src/classes/callbacks/PostEffectStateChanged.ts +2 -2
  718. package/src/classes/callbacks/PostEffectUpdateFilter.ts +2 -2
  719. package/src/classes/callbacks/PostEntityKillFilter.ts +2 -2
  720. package/src/classes/callbacks/PostEsauJr.ts +1 -1
  721. package/src/classes/callbacks/PostFamiliarInitFilter.ts +2 -2
  722. package/src/classes/callbacks/PostFamiliarInitLate.ts +2 -2
  723. package/src/classes/callbacks/PostFamiliarRenderFilter.ts +2 -2
  724. package/src/classes/callbacks/PostFamiliarStateChanged.ts +2 -2
  725. package/src/classes/callbacks/PostFamiliarUpdateFilter.ts +2 -2
  726. package/src/classes/callbacks/PostFirstEsauJr.ts +1 -1
  727. package/src/classes/callbacks/PostFirstFlip.ts +1 -1
  728. package/src/classes/callbacks/PostFlip.ts +1 -1
  729. package/src/classes/callbacks/PostGameEndFilter.ts +2 -2
  730. package/src/classes/callbacks/PostGameStartedReordered.ts +1 -1
  731. package/src/classes/callbacks/PostGameStartedReorderedLast.ts +1 -1
  732. package/src/classes/callbacks/PostGreedModeWave.ts +2 -2
  733. package/src/classes/callbacks/PostGridEntityBroken.ts +1 -1
  734. package/src/classes/callbacks/PostGridEntityCollision.ts +3 -6
  735. package/src/classes/callbacks/PostGridEntityCustomBroken.ts +1 -1
  736. package/src/classes/callbacks/PostGridEntityCustomCollision.ts +3 -6
  737. package/src/classes/callbacks/PostGridEntityCustomInit.ts +1 -1
  738. package/src/classes/callbacks/PostGridEntityCustomRemove.ts +3 -6
  739. package/src/classes/callbacks/PostGridEntityCustomRender.ts +1 -1
  740. package/src/classes/callbacks/PostGridEntityCustomStateChanged.ts +1 -1
  741. package/src/classes/callbacks/PostGridEntityCustomUpdate.ts +1 -1
  742. package/src/classes/callbacks/PostGridEntityInit.ts +1 -1
  743. package/src/classes/callbacks/PostGridEntityRemove.ts +3 -6
  744. package/src/classes/callbacks/PostGridEntityRender.ts +1 -1
  745. package/src/classes/callbacks/PostGridEntityStateChanged.ts +1 -1
  746. package/src/classes/callbacks/PostGridEntityUpdate.ts +1 -1
  747. package/src/classes/callbacks/PostHolyMantleRemoved.ts +4 -2
  748. package/src/classes/callbacks/PostItemDischarge.ts +6 -10
  749. package/src/classes/callbacks/PostItemPickup.ts +1 -1
  750. package/src/classes/callbacks/PostKeyboardChanged.ts +6 -8
  751. package/src/classes/callbacks/PostKnifeInitFilter.ts +2 -2
  752. package/src/classes/callbacks/PostKnifeInitLate.ts +2 -2
  753. package/src/classes/callbacks/PostKnifeRenderFilter.ts +5 -2
  754. package/src/classes/callbacks/PostKnifeUpdateFilter.ts +2 -2
  755. package/src/classes/callbacks/PostLaserInitFilter.ts +2 -2
  756. package/src/classes/callbacks/PostLaserInitLate.ts +2 -2
  757. package/src/classes/callbacks/PostLaserRenderFilter.ts +5 -2
  758. package/src/classes/callbacks/PostLaserUpdateFilter.ts +2 -2
  759. package/src/classes/callbacks/PostNPCDeathFilter.ts +2 -2
  760. package/src/classes/callbacks/PostNPCInitFilter.ts +2 -2
  761. package/src/classes/callbacks/PostNPCInitLate.ts +2 -2
  762. package/src/classes/callbacks/PostNPCRenderFilter.ts +2 -2
  763. package/src/classes/callbacks/PostNPCStateChanged.ts +4 -3
  764. package/src/classes/callbacks/PostNPCUpdateFilter.ts +2 -2
  765. package/src/classes/callbacks/PostNewLevelReordered.ts +1 -1
  766. package/src/classes/callbacks/PostNewRoomEarly.ts +7 -8
  767. package/src/classes/callbacks/PostNewRoomReordered.ts +1 -1
  768. package/src/classes/callbacks/PostPEffectUpdateReordered.ts +1 -1
  769. package/src/classes/callbacks/PostPickupChanged.ts +1 -1
  770. package/src/classes/callbacks/PostPickupCollect.ts +2 -2
  771. package/src/classes/callbacks/PostPickupInitFilter.ts +2 -2
  772. package/src/classes/callbacks/PostPickupInitFirst.ts +2 -2
  773. package/src/classes/callbacks/PostPickupInitLate.ts +2 -2
  774. package/src/classes/callbacks/PostPickupRenderFilter.ts +5 -2
  775. package/src/classes/callbacks/PostPickupSelectionFilter.ts +4 -3
  776. package/src/classes/callbacks/PostPickupStateChanged.ts +2 -2
  777. package/src/classes/callbacks/PostPickupUpdateFilter.ts +2 -2
  778. package/src/classes/callbacks/PostPitRender.ts +2 -2
  779. package/src/classes/callbacks/PostPitUpdate.ts +2 -2
  780. package/src/classes/callbacks/PostPlayerChangeHealth.ts +3 -3
  781. package/src/classes/callbacks/PostPlayerChangeStat.ts +4 -4
  782. package/src/classes/callbacks/PostPlayerChangeType.ts +3 -3
  783. package/src/classes/callbacks/PostPlayerCollectibleAdded.ts +1 -1
  784. package/src/classes/callbacks/PostPlayerCollectibleRemoved.ts +1 -1
  785. package/src/classes/callbacks/PostPlayerFatalDamage.ts +8 -6
  786. package/src/classes/callbacks/PostPlayerInitFirst.ts +2 -2
  787. package/src/classes/callbacks/PostPlayerInitLate.ts +2 -2
  788. package/src/classes/callbacks/PostPlayerRenderReordered.ts +1 -1
  789. package/src/classes/callbacks/PostPlayerUpdateReordered.ts +1 -1
  790. package/src/classes/callbacks/PostPoopRender.ts +2 -2
  791. package/src/classes/callbacks/PostPoopUpdate.ts +2 -2
  792. package/src/classes/callbacks/PostPressurePlateRender.ts +2 -2
  793. package/src/classes/callbacks/PostPressurePlateUpdate.ts +2 -2
  794. package/src/classes/callbacks/PostProjectileInitFilter.ts +2 -2
  795. package/src/classes/callbacks/PostProjectileInitLate.ts +4 -2
  796. package/src/classes/callbacks/PostProjectileKill.ts +4 -4
  797. package/src/classes/callbacks/PostProjectileRenderFilter.ts +2 -2
  798. package/src/classes/callbacks/PostProjectileUpdateFilter.ts +2 -2
  799. package/src/classes/callbacks/PostPurchase.ts +15 -12
  800. package/src/classes/callbacks/PostRockRender.ts +2 -2
  801. package/src/classes/callbacks/PostRockUpdate.ts +2 -2
  802. package/src/classes/callbacks/PostRoomClearChanged.ts +4 -7
  803. package/src/classes/callbacks/PostSacrifice.ts +1 -1
  804. package/src/classes/callbacks/PostSlotAnimationChanged.ts +1 -1
  805. package/src/classes/callbacks/PostSlotCollision.ts +2 -2
  806. package/src/classes/callbacks/PostSlotDestroyed.ts +1 -1
  807. package/src/classes/callbacks/PostSlotInit.ts +1 -1
  808. package/src/classes/callbacks/PostSlotRender.ts +1 -1
  809. package/src/classes/callbacks/PostSlotUpdate.ts +1 -1
  810. package/src/classes/callbacks/PostSpikesRender.ts +2 -2
  811. package/src/classes/callbacks/PostSpikesUpdate.ts +2 -2
  812. package/src/classes/callbacks/PostTNTRender.ts +2 -2
  813. package/src/classes/callbacks/PostTNTUpdate.ts +2 -2
  814. package/src/classes/callbacks/PostTearInitFilter.ts +2 -2
  815. package/src/classes/callbacks/PostTearInitLate.ts +2 -2
  816. package/src/classes/callbacks/PostTearInitVeryLate.ts +2 -2
  817. package/src/classes/callbacks/PostTearKill.ts +6 -4
  818. package/src/classes/callbacks/PostTearRenderFilter.ts +5 -2
  819. package/src/classes/callbacks/PostTearUpdateFilter.ts +2 -2
  820. package/src/classes/callbacks/PostTransformation.ts +5 -8
  821. package/src/classes/callbacks/PostTrinketBreak.ts +4 -4
  822. package/src/classes/callbacks/PostUsePillFilter.ts +6 -7
  823. package/src/classes/callbacks/PreBerserkDeath.ts +3 -1
  824. package/src/classes/callbacks/PreBombCollisionFilter.ts +2 -2
  825. package/src/classes/callbacks/PreCustomRevive.ts +1 -1
  826. package/src/classes/callbacks/PreEntitySpawnFilter.ts +6 -8
  827. package/src/classes/callbacks/PreFamiliarCollisionFilter.ts +2 -2
  828. package/src/classes/callbacks/PreGetPedestal.ts +2 -2
  829. package/src/classes/callbacks/PreItemPickup.ts +1 -1
  830. package/src/classes/callbacks/PreKnifeCollisionFilter.ts +2 -2
  831. package/src/classes/callbacks/PreNPCCollisionFilter.ts +6 -3
  832. package/src/classes/callbacks/PreNPCUpdateFilter.ts +2 -2
  833. package/src/classes/callbacks/PreNewLevel.ts +1 -1
  834. package/src/classes/callbacks/PreProjectileCollisionFilter.ts +2 -2
  835. package/src/classes/callbacks/PreRoomEntitySpawnFilter.ts +6 -9
  836. package/src/classes/callbacks/PreTearCollisionFilter.ts +2 -2
  837. package/src/classes/features/callbackLogic/CustomGridEntities.ts +8 -14
  838. package/src/classes/features/callbackLogic/CustomRevive.ts +15 -13
  839. package/src/classes/features/callbackLogic/EsauJrDetection.ts +8 -12
  840. package/src/classes/features/callbackLogic/FlipDetection.ts +6 -6
  841. package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +16 -20
  842. package/src/classes/features/callbackLogic/GridEntityCollisionDetection.ts +7 -7
  843. package/src/classes/features/callbackLogic/GridEntityRenderDetection.ts +7 -7
  844. package/src/classes/features/callbackLogic/GridEntityUpdateDetection.ts +26 -25
  845. package/src/classes/features/callbackLogic/ItemPickupDetection.ts +9 -9
  846. package/src/classes/features/callbackLogic/PickupChangeDetection.ts +8 -7
  847. package/src/classes/features/callbackLogic/PlayerCollectibleDetection.ts +15 -15
  848. package/src/classes/features/callbackLogic/PlayerReorderedCallbacks.ts +11 -11
  849. package/src/classes/features/callbackLogic/SlotDestroyedDetection.ts +6 -6
  850. package/src/classes/features/callbackLogic/SlotRenderDetection.ts +5 -5
  851. package/src/classes/features/callbackLogic/SlotUpdateDetection.ts +6 -6
  852. package/src/classes/features/other/CharacterHealthConversion.ts +5 -5
  853. package/src/classes/features/other/CharacterStats.ts +7 -7
  854. package/src/classes/features/other/CollectibleItemPoolType.ts +7 -10
  855. package/src/classes/features/other/CustomHotkeys.ts +4 -4
  856. package/src/classes/features/other/CustomItemPools.ts +4 -3
  857. package/src/classes/features/other/CustomPickups.ts +7 -4
  858. package/src/classes/features/other/CustomStages.ts +25 -26
  859. package/src/classes/features/other/CustomTrapdoors.ts +25 -25
  860. package/src/classes/features/other/DebugDisplay.ts +22 -22
  861. package/src/classes/features/other/DeployJSONRoom.ts +6 -6
  862. package/src/classes/features/other/DisableAllSound.ts +1 -1
  863. package/src/classes/features/other/DisableInputs.ts +5 -8
  864. package/src/classes/features/other/EdenStartingStats.ts +4 -4
  865. package/src/classes/features/other/ExtraConsoleCommands.ts +14 -11
  866. package/src/classes/features/other/FadeInRemover.ts +1 -1
  867. package/src/classes/features/other/FastReset.ts +1 -1
  868. package/src/classes/features/other/FlyingDetection.ts +2 -2
  869. package/src/classes/features/other/ForgottenSwitch.ts +2 -2
  870. package/src/classes/features/other/ItemPoolDetection.ts +4 -4
  871. package/src/classes/features/other/ModdedElementDetection.ts +3 -3
  872. package/src/classes/features/other/ModdedElementSets.ts +33 -29
  873. package/src/classes/features/other/NoSirenSteal.ts +3 -6
  874. package/src/classes/features/other/Pause.ts +4 -4
  875. package/src/classes/features/other/PersistentEntities.ts +6 -10
  876. package/src/classes/features/other/PickupIndexCreation.ts +7 -7
  877. package/src/classes/features/other/PlayerInventory.ts +4 -4
  878. package/src/classes/features/other/PonyDetection.ts +2 -2
  879. package/src/classes/features/other/PressInput.ts +4 -7
  880. package/src/classes/features/other/PreventChildEntities.ts +1 -1
  881. package/src/classes/features/other/PreventCollectibleRotation.ts +9 -9
  882. package/src/classes/features/other/PreventGridEntityRespawn.ts +5 -6
  883. package/src/classes/features/other/RoomClearFrame.ts +1 -1
  884. package/src/classes/features/other/RoomHistory.ts +2 -2
  885. package/src/classes/features/other/RunInNFrames.ts +6 -5
  886. package/src/classes/features/other/RunNextRoom.ts +1 -1
  887. package/src/classes/features/other/SaveDataManager.ts +18 -19
  888. package/src/classes/features/other/SpawnCollectible.ts +6 -3
  889. package/src/classes/features/other/SpawnRockAltRewards.ts +2 -2
  890. package/src/classes/features/other/StageHistory.ts +2 -2
  891. package/src/classes/features/other/StartAmbush.ts +2 -2
  892. package/src/classes/features/other/TaintedLazarusPlayers.ts +1 -1
  893. package/src/classes/features/other/customStages/backdrop.ts +2 -6
  894. package/src/classes/features/other/customStages/gridEntities.ts +3 -6
  895. package/src/classes/features/other/customStages/shadows.ts +1 -1
  896. package/src/classes/features/other/customStages/streakText.ts +1 -1
  897. package/src/classes/features/other/customStages/utils.ts +1 -1
  898. package/src/classes/features/other/customStages/v.ts +2 -2
  899. package/src/classes/features/other/customStages/versusScreen.ts +4 -4
  900. package/src/classes/features/other/debugDisplay/DebugDisplayBomb.ts +1 -1
  901. package/src/classes/features/other/debugDisplay/DebugDisplayDoor.ts +1 -1
  902. package/src/classes/features/other/debugDisplay/DebugDisplayEffect.ts +1 -1
  903. package/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.ts +1 -1
  904. package/src/classes/features/other/debugDisplay/DebugDisplayKnife.ts +1 -1
  905. package/src/classes/features/other/debugDisplay/DebugDisplayLaser.ts +1 -1
  906. package/src/classes/features/other/debugDisplay/DebugDisplayNPC.ts +1 -1
  907. package/src/classes/features/other/debugDisplay/DebugDisplayPickup.ts +1 -1
  908. package/src/classes/features/other/debugDisplay/DebugDisplayPit.ts +1 -1
  909. package/src/classes/features/other/debugDisplay/DebugDisplayPlayer.ts +1 -1
  910. package/src/classes/features/other/debugDisplay/DebugDisplayPoop.ts +1 -1
  911. package/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.ts +1 -1
  912. package/src/classes/features/other/debugDisplay/DebugDisplayProjectile.ts +1 -1
  913. package/src/classes/features/other/debugDisplay/DebugDisplayRock.ts +1 -1
  914. package/src/classes/features/other/debugDisplay/DebugDisplaySlot.ts +1 -1
  915. package/src/classes/features/other/debugDisplay/DebugDisplaySpikes.ts +1 -1
  916. package/src/classes/features/other/debugDisplay/DebugDisplayTNT.ts +1 -1
  917. package/src/classes/features/other/debugDisplay/DebugDisplayTear.ts +1 -1
  918. package/src/classes/features/other/extraConsoleCommands/commands.ts +9 -7
  919. package/src/classes/features/other/extraConsoleCommands/subroutines.ts +1 -2
  920. package/src/classes/features/other/extraConsoleCommands/v.ts +1 -1
  921. package/src/classes/features/other/saveDataManager/glowingHourGlass.ts +2 -2
  922. package/src/classes/features/other/saveDataManager/loadFromDisk.ts +2 -2
  923. package/src/classes/features/other/saveDataManager/restoreDefaults.ts +1 -1
  924. package/src/classes/features/other/saveDataManager/saveToDisk.ts +1 -1
  925. package/src/classes/private/CustomCallback.ts +7 -7
  926. package/src/classes/private/Feature.ts +4 -4
  927. package/src/core/constants.ts +5 -3
  928. package/src/core/upgradeMod.ts +3 -3
  929. package/src/decorators.ts +1 -1
  930. package/src/enums/private/GridEntityTypeCustom.ts +1 -1
  931. package/src/features.ts +3 -3
  932. package/src/functions/array.ts +3 -3
  933. package/src/functions/arrayLua.ts +3 -1
  934. package/src/functions/benchmark.ts +2 -2
  935. package/src/functions/bitSet128.ts +1 -1
  936. package/src/functions/bosses.ts +2 -5
  937. package/src/functions/cards.ts +2 -1
  938. package/src/functions/challenges.ts +2 -2
  939. package/src/functions/characters.ts +3 -2
  940. package/src/functions/chargeBar.ts +1 -1
  941. package/src/functions/collectibleTag.ts +2 -1
  942. package/src/functions/collectibles.ts +5 -3
  943. package/src/functions/color.ts +1 -1
  944. package/src/functions/curses.ts +1 -1
  945. package/src/functions/debugFunctions.ts +1 -0
  946. package/src/functions/decorators.ts +5 -5
  947. package/src/functions/deepCopy.ts +2 -2
  948. package/src/functions/direction.ts +2 -1
  949. package/src/functions/doors.ts +6 -4
  950. package/src/functions/easing.ts +4 -4
  951. package/src/functions/entities.ts +6 -5
  952. package/src/functions/entitiesSpecific.ts +2 -2
  953. package/src/functions/enums.ts +1 -1
  954. package/src/functions/familiars.ts +2 -2
  955. package/src/functions/globals.ts +6 -4
  956. package/src/functions/gridEntities.ts +4 -6
  957. package/src/functions/gridEntitiesSpecific.ts +1 -1
  958. package/src/functions/hex.ts +5 -5
  959. package/src/functions/itemPool.ts +2 -2
  960. package/src/functions/jsonRoom.ts +3 -6
  961. package/src/functions/kColor.ts +1 -1
  962. package/src/functions/level.ts +1 -1
  963. package/src/functions/levelGrid.ts +4 -6
  964. package/src/functions/logEntities.ts +19 -19
  965. package/src/functions/logMisc.ts +14 -12
  966. package/src/functions/map.ts +1 -1
  967. package/src/functions/math.ts +1 -1
  968. package/src/functions/merge.ts +1 -1
  969. package/src/functions/minimap.ts +2 -1
  970. package/src/functions/modFeatures.ts +2 -2
  971. package/src/functions/npcDataStructures.ts +1 -1
  972. package/src/functions/pickups.ts +2 -2
  973. package/src/functions/pickupsSpecific.ts +2 -2
  974. package/src/functions/pills.ts +8 -10
  975. package/src/functions/playerCenter.ts +2 -4
  976. package/src/functions/playerDataStructures.ts +2 -2
  977. package/src/functions/playerHealth.ts +4 -4
  978. package/src/functions/playerIndex.ts +1 -1
  979. package/src/functions/playerStats.ts +1 -1
  980. package/src/functions/players.ts +12 -7
  981. package/src/functions/pocketItems.ts +3 -2
  982. package/src/functions/rng.ts +1 -1
  983. package/src/functions/rockAlt.ts +1 -1
  984. package/src/functions/roomData.ts +1 -1
  985. package/src/functions/roomGrid.ts +1 -1
  986. package/src/functions/roomShape.ts +3 -2
  987. package/src/functions/roomShapeWalls.ts +1 -1
  988. package/src/functions/rooms.ts +7 -5
  989. package/src/functions/serialization.ts +3 -3
  990. package/src/functions/sound.ts +1 -1
  991. package/src/functions/stage.ts +4 -6
  992. package/src/functions/tears.ts +1 -1
  993. package/src/functions/transformations.ts +2 -5
  994. package/src/functions/trinketGive.ts +1 -1
  995. package/src/functions/trinkets.ts +2 -2
  996. package/src/functions/tstlClass.ts +4 -4
  997. package/src/functions/types.ts +1 -1
  998. package/src/functions/utils.ts +1 -1
  999. package/src/functions/vector.ts +1 -1
  1000. package/src/functions/weighted.ts +2 -4
  1001. package/src/interfaces/Corner.ts +1 -1
  1002. package/src/interfaces/CustomStageTSConfig.ts +1 -4
  1003. package/src/interfaces/GridEntityCustomData.ts +1 -1
  1004. package/src/interfaces/PlayerHealth.ts +1 -1
  1005. package/src/interfaces/PlayerStats.ts +2 -2
  1006. package/src/interfaces/PocketItemDescription.ts +2 -2
  1007. package/src/interfaces/RoomDescription.ts +1 -1
  1008. package/src/interfaces/SaveData.ts +2 -1
  1009. package/src/interfaces/StageHistoryEntry.ts +1 -1
  1010. package/src/interfaces/TrinketSituation.ts +1 -1
  1011. package/src/interfaces/private/AddCallbackParametersCustom.ts +8 -8
  1012. package/src/interfaces/private/CustomStage.ts +2 -2
  1013. package/src/interfaces/private/CustomTrapdoorDescription.ts +1 -1
  1014. package/src/interfaces/private/ModUpgradedInterface.ts +3 -3
  1015. package/src/maps/collectibleDescriptionMap.ts +1 -1
  1016. package/src/maps/collectibleNameToTypeMap.ts +1 -1
  1017. package/src/maps/collectibleTypeToNameMap.ts +1 -1
  1018. package/src/maps/defaultPlayerStatMap.ts +1 -1
  1019. package/src/maps/trinketDescriptionMap.ts +1 -1
  1020. package/src/maps/trinketNameToTypeMap.ts +1 -1
  1021. package/src/maps/trinketTypeToNameMap.ts +1 -1
  1022. package/src/objects/characterDamageMultipliers.ts +28 -28
  1023. package/src/objects/isaacAPIClassTypeToFunctions.ts +5 -5
  1024. package/src/objects/roomShapeCorners.ts +1 -1
  1025. package/src/shouldFire.ts +9 -9
  1026. package/src/types/ConversionHeartSubType.ts +1 -1
  1027. package/src/types/Decrement.ts +1 -1
  1028. package/src/types/FunctionTuple.ts +1 -1
  1029. package/src/types/Increment.ts +1 -1
  1030. package/src/types/LowercaseKeys.ts +1 -1
  1031. package/src/types/PickingUpItem.ts +2 -5
  1032. package/src/types/PossibleStatType.ts +1 -1
  1033. package/src/types/Range.ts +2 -2
  1034. package/src/types/TupleWithMaxLength.ts +1 -1
  1035. package/src/types/UppercaseKeys.ts +1 -1
  1036. package/src/types/private/CallbackTuple.ts +4 -4
  1037. package/src/types/private/ModUpgradedWithFeatures.ts +7 -7
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 30.12.3
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)
@@ -39925,7 +39915,7 @@ function CollectibleItemPoolType.prototype.getCollectibleItemPoolType(self, coll
39925
39915
  end
39926
39916
  local pickupIndex = self.pickupIndexCreation:getPickupIndex(collectible)
39927
39917
  local itemPoolType = v.run.collectibleItemPoolTypeMap:get(pickupIndex)
39928
- return itemPoolType == nil and getRoomItemPoolType(nil) or itemPoolType
39918
+ return itemPoolType or getRoomItemPoolType(nil)
39929
39919
  end
39930
39920
  __TS__DecorateLegacy({Exported}, CollectibleItemPoolType.prototype, "getCollectibleItemPoolType", true)
39931
39921
  return ____exports
@@ -40079,6 +40069,8 @@ return ____exports
40079
40069
  ["src.functions.weighted"] = function(...)
40080
40070
  local ____lualib = require("lualib_bundle")
40081
40071
  local __TS__ArrayMap = ____lualib.__TS__ArrayMap
40072
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
40073
+ local __TS__Iterator = ____lualib.__TS__Iterator
40082
40074
  local ____exports = {}
40083
40075
  local ____array = require("src.functions.array")
40084
40076
  local sumArray = ____array.sumArray
@@ -40100,16 +40092,13 @@ function ____exports.getRandomIndexFromWeightedArray(self, weightedArray, seedOr
40100
40092
  local totalWeight = sumArray(nil, weights)
40101
40093
  local randomWeight = getRandomFloat(nil, 0, totalWeight, seedOrRNG)
40102
40094
  local weightAccumulator = 0
40103
- do
40104
- local i = 0
40105
- while i < #weightedArray do
40106
- local tuple = weightedArray[i + 1]
40107
- local _element, weight = table.unpack(tuple)
40108
- weightAccumulator = weightAccumulator + weight
40109
- if weightAccumulator >= randomWeight then
40110
- return i
40111
- end
40112
- 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
40113
40102
  end
40114
40103
  end
40115
40104
  error("Failed to get a random index from a weighted array.")
@@ -40802,6 +40791,9 @@ end
40802
40791
  return ____exports
40803
40792
  end,
40804
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
40805
40797
  local ____exports = {}
40806
40798
  local movePlayerAndTheirFamiliars
40807
40799
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -40848,15 +40840,12 @@ function ____exports.movePlayersToCenter(self, radius)
40848
40840
  1,
40849
40841
  Direction.LEFT
40850
40842
  )
40851
- do
40852
- local i = 0
40853
- while i < #players do
40854
- local player = players[i + 1]
40855
- local circlePosition = circlePoints[i + 1]
40856
- if player ~= nil and circlePosition ~= nil then
40857
- player.Position = circlePosition
40858
- end
40859
- 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
40860
40849
  end
40861
40850
  end
40862
40851
  end
@@ -41465,7 +41454,8 @@ local __TS__New = ____lualib.__TS__New
41465
41454
  local Map = ____lualib.Map
41466
41455
  local __TS__Class = ____lualib.__TS__Class
41467
41456
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
41468
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
41457
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
41458
+ local __TS__Iterator = ____lualib.__TS__Iterator
41469
41459
  local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
41470
41460
  local __TS__ArraySome = ____lualib.__TS__ArraySome
41471
41461
  local ____exports = {}
@@ -41812,19 +41802,18 @@ function CustomTrapdoors.prototype.playerTouchedCustomTrapdoor(self, gridEntity,
41812
41802
  dropTaintedForgotten(nil, player)
41813
41803
  player:PlayExtraAnimation("Trapdoor")
41814
41804
  local otherPlayers = getOtherPlayers(nil, player)
41815
- __TS__ArrayForEach(
41816
- otherPlayers,
41817
- function(____, otherPlayer, i)
41818
- local gameFramesToWaitBeforeJumping = OTHER_PLAYER_TRAPDOOR_JUMP_DELAY_GAME_FRAMES * (i + 1)
41819
- local otherPlayerPtr = EntityPtr(otherPlayer)
41820
- self.runInNFrames:runInNGameFrames(
41821
- function()
41822
- self:startDelayedJump(otherPlayerPtr, gridEntity.Position)
41823
- end,
41824
- gameFramesToWaitBeforeJumping
41825
- )
41826
- end
41827
- )
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
41828
41817
  end
41829
41818
  function CustomTrapdoors.prototype.startDelayedJump(self, entityPtr, trapdoorPosition)
41830
41819
  local entity = entityPtr.Ref
@@ -41931,13 +41920,11 @@ function CustomTrapdoors.prototype.spawnCustomTrapdoor(self, gridIndexOrPosition
41931
41920
  TrapdoorAnimation.OPENED
41932
41921
  )
41933
41922
  local firstSpawn = roomFrameCount ~= 0
41934
- local ____temp_0
41935
- if spawnOpen == nil then
41936
- ____temp_0 = self:shouldTrapdoorSpawnOpen(gridEntity, firstSpawn)
41937
- else
41938
- ____temp_0 = spawnOpen
41923
+ local ____spawnOpen_0 = spawnOpen
41924
+ if ____spawnOpen_0 == nil then
41925
+ ____spawnOpen_0 = self:shouldTrapdoorSpawnOpen(gridEntity, firstSpawn)
41939
41926
  end
41940
- local open = ____temp_0
41927
+ local open = ____spawnOpen_0
41941
41928
  local roomTrapdoorMap = v.level.trapdoors:getAndSetDefault(roomListIndex)
41942
41929
  local customTrapdoorDescription = {
41943
41930
  destinationName = destinationName,
@@ -42212,7 +42199,7 @@ local ReadonlySet = ____ReadonlySet.ReadonlySet
42212
42199
  local ____constants = require("src.classes.features.other.customStages.constants")
42213
42200
  local ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH = ____constants.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH
42214
42201
  function getBackdropPNGPath(self, customStage, backdropKind, rng)
42215
- local backdrop = customStage.backdropPNGPaths == nil and DEFAULT_BACKDROP or customStage.backdropPNGPaths
42202
+ local backdrop = customStage.backdropPNGPaths or DEFAULT_BACKDROP
42216
42203
  local pathArray = backdrop[backdropKind]
42217
42204
  local randomPath = getRandomArrayElement(nil, pathArray, rng)
42218
42205
  return removeCharactersBefore(nil, randomPath, "gfx/")
@@ -42579,7 +42566,7 @@ function ____exports.convertVanillaTrapdoors(self, customStage, gridEntity, isFi
42579
42566
  if isFirstFloor then
42580
42567
  customTrapdoors:spawnCustomTrapdoor(gridEntity.Position, customStage.name, LevelStage.BASEMENT_2)
42581
42568
  else
42582
- local baseStage = customStage.baseStage == nil and DEFAULT_BASE_STAGE or customStage.baseStage
42569
+ local baseStage = customStage.baseStage or DEFAULT_BASE_STAGE
42583
42570
  local destinationStage = baseStage + 2
42584
42571
  local destinationStageType = calculateStageType(nil, destinationStage)
42585
42572
  customTrapdoors:spawnCustomTrapdoor(gridEntity.Position, nil, destinationStage, destinationStageType)
@@ -47673,7 +47660,7 @@ function ____exports.getAdjacentExistingRoomGridIndexes(self, roomGridIndex)
47673
47660
  )
47674
47661
  end
47675
47662
  function ____exports.getAdjacentRoomGridIndexes(self, roomGridIndex)
47676
- local roomGridIndexToUse = roomGridIndex == nil and getRoomGridIndex(nil) or roomGridIndex
47663
+ local roomGridIndexToUse = roomGridIndex or getRoomGridIndex(nil)
47677
47664
  if not ____exports.isRoomInsideGrid(nil, roomGridIndexToUse) then
47678
47665
  return {}
47679
47666
  end
@@ -47832,7 +47819,8 @@ function ____exports.getRoomAdjacentGridIndexes(self, roomGridIndex)
47832
47819
  return ____exports.getRoomShapeAdjacentExistingGridIndexes(nil, roomDescriptor.SafeGridIndex, roomData.Shape)
47833
47820
  end
47834
47821
  function ____exports.getRoomDescriptorsForType(self, ...)
47835
- local roomTypesSet = __TS__New(Set, {...})
47822
+ local roomTypes = {...}
47823
+ local roomTypesSet = __TS__New(Set, roomTypes)
47836
47824
  local rooms = getRoomsInsideGrid(nil)
47837
47825
  return __TS__ArrayFilter(
47838
47826
  rooms,
@@ -48662,7 +48650,8 @@ return ____exports
48662
48650
  ["src.functions.logEntities"] = function(...)
48663
48651
  local ____lualib = require("lualib_bundle")
48664
48652
  local __TS__New = ____lualib.__TS__New
48665
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
48653
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
48654
+ local __TS__Iterator = ____lualib.__TS__Iterator
48666
48655
  local __TS__StringTrim = ____lualib.__TS__StringTrim
48667
48656
  local __TS__StringSplit = ____lualib.__TS__StringSplit
48668
48657
  local ____exports = {}
@@ -48822,25 +48811,26 @@ function ____exports.logAllEntities(includeBackgroundEffects, entityTypeFilter)
48822
48811
  msg = msg .. ":\n"
48823
48812
  local entities = getEntities(nil)
48824
48813
  local numMatchedEntities = 0
48825
- __TS__ArrayForEach(
48826
- entities,
48827
- 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
48828
48818
  if entityTypeFilter ~= nil and entity.Type ~= entityTypeFilter then
48829
- return
48819
+ goto __continue5
48830
48820
  end
48831
48821
  local effect = entity:ToEffect()
48832
48822
  if not includeBackgroundEffects and effect ~= nil and IGNORE_EFFECT_VARIANTS:has(effect.Variant) then
48833
- return
48823
+ goto __continue5
48834
48824
  end
48835
48825
  msg = msg .. getEntityLogLine(entity, i + 1)
48836
48826
  numMatchedEntities = numMatchedEntities + 1
48837
48827
  end
48838
- )
48839
- if numMatchedEntities == 0 then
48840
- msg = msg .. "(no entities matched)\n"
48841
- else
48842
- msg = msg .. ((("(" .. tostring(numMatchedEntities)) .. " total ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n"
48828
+ ::__continue5::
48843
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"
48844
48834
  for ____, line in ipairs(__TS__StringSplit(
48845
48835
  __TS__StringTrim(msg),
48846
48836
  "\n"
@@ -48866,21 +48856,17 @@ function ____exports.logAllGridEntities(includeWalls, gridEntityTypeFilter)
48866
48856
  local gridEntityIndex = gridEntity:GetGridIndex()
48867
48857
  local gridEntityType = gridEntity:GetType()
48868
48858
  if gridEntityTypeFilter ~= nil and gridEntityType ~= gridEntityTypeFilter then
48869
- goto __continue15
48859
+ goto __continue14
48870
48860
  end
48871
48861
  if not includeWalls and gridEntityType == GridEntityType.WALL and gridEntityTypeFilter ~= GridEntityType.WALL then
48872
- goto __continue15
48862
+ goto __continue14
48873
48863
  end
48874
48864
  msg = msg .. getGridEntityLogLine(gridEntity, gridEntityIndex)
48875
48865
  numMatchedEntities = numMatchedEntities + 1
48876
48866
  end
48877
- ::__continue15::
48878
- end
48879
- if numMatchedEntities == 0 then
48880
- msg = msg .. "(no grid entities matched)\n"
48881
- else
48882
- msg = msg .. ((("(" .. tostring(numMatchedEntities)) .. " total grid ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n"
48867
+ ::__continue14::
48883
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")
48884
48870
  for ____, line in ipairs(__TS__StringSplit(
48885
48871
  __TS__StringTrim(msg),
48886
48872
  "\n"
@@ -49084,7 +49070,6 @@ return ____exports
49084
49070
  ["src.classes.features.other.extraConsoleCommands.commands"] = function(...)
49085
49071
  local ____lualib = require("lualib_bundle")
49086
49072
  local __TS__StringSplit = ____lualib.__TS__StringSplit
49087
- local __TS__StringSlice = ____lualib.__TS__StringSlice
49088
49073
  local __TS__ArrayIncludes = ____lualib.__TS__ArrayIncludes
49089
49074
  local ____exports = {}
49090
49075
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -49899,7 +49884,7 @@ function ____exports.s(self, params)
49899
49884
  local stageString
49900
49885
  local stageTypeLetter
49901
49886
  if finalCharacter == "a" or finalCharacter == "b" or finalCharacter == "c" or finalCharacter == "d" then
49902
- stageString = __TS__StringSlice(params, 0, #params - 1)
49887
+ stageString = string.sub(params, 1, -2)
49903
49888
  stageTypeLetter = finalCharacter
49904
49889
  else
49905
49890
  stageString = params
@@ -52629,7 +52614,8 @@ return ____exports
52629
52614
  end,
52630
52615
  ["src.functions.benchmark"] = function(...)
52631
52616
  local ____lualib = require("lualib_bundle")
52632
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
52617
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
52618
+ local __TS__Iterator = ____lualib.__TS__Iterator
52633
52619
  local ____exports = {}
52634
52620
  local ____log = require("src.functions.log")
52635
52621
  local log = ____log.log
@@ -52637,26 +52623,25 @@ function ____exports.benchmark(self, numTrials, ...)
52637
52623
  local functions = {...}
52638
52624
  log(((("Benchmarking " .. tostring(#functions)) .. " function(s) with ") .. tostring(numTrials)) .. " trials.")
52639
52625
  local averages = {}
52640
- __TS__ArrayForEach(
52641
- functions,
52642
- function(____, func, i)
52643
- local totalTimeMilliseconds = 0
52644
- do
52645
- local j = 0
52646
- while j < numTrials do
52647
- local startTimeMilliseconds = Isaac.GetTime()
52648
- func(nil)
52649
- local endTimeMilliseconds = Isaac.GetTime()
52650
- local elapsedTimeMilliseconds = endTimeMilliseconds - startTimeMilliseconds
52651
- totalTimeMilliseconds = totalTimeMilliseconds + elapsedTimeMilliseconds
52652
- j = j + 1
52653
- 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
52654
52639
  end
52655
- local averageTimeMilliseconds = totalTimeMilliseconds / numTrials
52656
- log(((("The average time of the function at index " .. tostring(i)) .. " is: ") .. tostring(averageTimeMilliseconds)) .. " milliseconds")
52657
- averages[#averages + 1] = averageTimeMilliseconds
52658
52640
  end
52659
- )
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
52660
52645
  return averages
52661
52646
  end
52662
52647
  return ____exports
@@ -52736,7 +52721,7 @@ local CHALLENGE_NAMES = ____challengeNames.CHALLENGE_NAMES
52736
52721
  local DEFAULT_CHALLENGE_NAME = ____challengeNames.DEFAULT_CHALLENGE_NAME
52737
52722
  function ____exports.getChallengeName(self, challenge)
52738
52723
  local challengeName = CHALLENGE_NAMES[challenge]
52739
- return challengeName == nil and DEFAULT_CHALLENGE_NAME or challengeName
52724
+ return challengeName or DEFAULT_CHALLENGE_NAME
52740
52725
  end
52741
52726
  return ____exports
52742
52727
  end,
@@ -52865,7 +52850,8 @@ local ____lualib = require("lualib_bundle")
52865
52850
  local __TS__New = ____lualib.__TS__New
52866
52851
  local Set = ____lualib.Set
52867
52852
  local __TS__ArraySort = ____lualib.__TS__ArraySort
52868
- local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
52853
+ local __TS__ArrayEntries = ____lualib.__TS__ArrayEntries
52854
+ local __TS__Iterator = ____lualib.__TS__Iterator
52869
52855
  local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
52870
52856
  local ____exports = {}
52871
52857
  local isRacingPlusSandboxEnabled
@@ -53088,17 +53074,14 @@ function ____exports.logNewGlobals(self)
53088
53074
  log("List of added global variables in the Isaac environment:")
53089
53075
  if #newGlobals == 0 then
53090
53076
  log("- n/a (no extra global variables found)")
53091
- end
53092
- __TS__ArrayForEach(
53093
- newGlobals,
53094
- function(____, ____bindingPattern0, i)
53095
- local value
53096
- local key
53097
- key = ____bindingPattern0[1]
53098
- 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)
53099
53082
  log((((tostring(i + 1) .. ") ") .. tostring(key)) .. " - ") .. tostring(value))
53100
53083
  end
53101
- )
53084
+ end
53102
53085
  end
53103
53086
  function ____exports.setLogFunctionsGlobal(self)
53104
53087
  local globals = _G
@@ -53120,7 +53103,6 @@ return ____exports
53120
53103
  ["src.functions.hex"] = function(...)
53121
53104
  local ____lualib = require("lualib_bundle")
53122
53105
  local __TS__StringReplace = ____lualib.__TS__StringReplace
53123
- local __TS__StringSubstring = ____lualib.__TS__StringSubstring
53124
53106
  local ____exports = {}
53125
53107
  local hexToRGB, HEX_STRING_LENGTH
53126
53108
  local ____logMisc = require("src.functions.logMisc")
@@ -53131,19 +53113,19 @@ function hexToRGB(self, hexString)
53131
53113
  logError("Hex strings must be of length: " .. tostring(HEX_STRING_LENGTH))
53132
53114
  return {0, 0, 0}
53133
53115
  end
53134
- local rString = __TS__StringSubstring(hexString, 0, 2)
53116
+ local rString = string.sub(hexString, 1, 2)
53135
53117
  local r = tonumber("0x" .. rString)
53136
53118
  if r == nil then
53137
53119
  logError(("Failed to convert `0x" .. rString) .. "` to a number.")
53138
53120
  return {0, 0, 0}
53139
53121
  end
53140
- local gString = __TS__StringSubstring(hexString, 2, 4)
53122
+ local gString = string.sub(hexString, 3, 4)
53141
53123
  local g = tonumber("0x" .. gString)
53142
53124
  if g == nil then
53143
53125
  logError(("Failed to convert `0x" .. gString) .. "` to a number.")
53144
53126
  return {0, 0, 0}
53145
53127
  end
53146
- local bString = __TS__StringSubstring(hexString, 4, 6)
53128
+ local bString = string.sub(hexString, 5, 6)
53147
53129
  local b = tonumber("0x" .. bString)
53148
53130
  if b == nil then
53149
53131
  logError(("Failed to convert `0x" .. bString) .. "` to a number.")