isaacscript-common 9.13.4 → 9.13.5-dev.0

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 (1261) hide show
  1. package/dist/callbacks/customRevive.d.ts +1 -0
  2. package/dist/callbacks/customRevive.d.ts.map +1 -1
  3. package/dist/callbacks/customRevive.lua +39 -45
  4. package/dist/callbacks/itemPickup.d.ts +1 -0
  5. package/dist/callbacks/itemPickup.d.ts.map +1 -1
  6. package/dist/callbacks/itemPickup.lua +16 -16
  7. package/dist/callbacks/postAmbush.d.ts +1 -0
  8. package/dist/callbacks/postAmbush.d.ts.map +1 -1
  9. package/dist/callbacks/postAmbush.lua +12 -12
  10. package/dist/callbacks/postBombExploded.d.ts +1 -0
  11. package/dist/callbacks/postBombExploded.d.ts.map +1 -1
  12. package/dist/callbacks/postBombExploded.lua +6 -6
  13. package/dist/callbacks/postBombInitLate.d.ts +1 -0
  14. package/dist/callbacks/postBombInitLate.d.ts.map +1 -1
  15. package/dist/callbacks/postBombInitLate.lua +7 -7
  16. package/dist/callbacks/postBoneSwing.d.ts +1 -0
  17. package/dist/callbacks/postBoneSwing.d.ts.map +1 -1
  18. package/dist/callbacks/postBoneSwing.lua +11 -11
  19. package/dist/callbacks/postCollectibleEmpty.d.ts +1 -0
  20. package/dist/callbacks/postCollectibleEmpty.d.ts.map +1 -1
  21. package/dist/callbacks/postCollectibleEmpty.lua +6 -6
  22. package/dist/callbacks/postCollectibleInitFirst.d.ts +1 -0
  23. package/dist/callbacks/postCollectibleInitFirst.d.ts.map +1 -1
  24. package/dist/callbacks/postCollectibleInitFirst.lua +7 -7
  25. package/dist/callbacks/postCursedTeleport.d.ts +1 -0
  26. package/dist/callbacks/postCursedTeleport.d.ts.map +1 -1
  27. package/dist/callbacks/postCursedTeleport.lua +24 -24
  28. package/dist/callbacks/postCustomDoorEnter.d.ts +1 -0
  29. package/dist/callbacks/postCustomDoorEnter.d.ts.map +1 -1
  30. package/dist/callbacks/postCustomDoorEnter.lua +28 -34
  31. package/dist/callbacks/postDiceRoomActivated.d.ts +1 -0
  32. package/dist/callbacks/postDiceRoomActivated.d.ts.map +1 -1
  33. package/dist/callbacks/postDiceRoomActivated.lua +9 -9
  34. package/dist/callbacks/postDoorRender.d.ts +1 -0
  35. package/dist/callbacks/postDoorRender.d.ts.map +1 -1
  36. package/dist/callbacks/postDoorRender.lua +7 -7
  37. package/dist/callbacks/postDoorUpdate.d.ts +1 -0
  38. package/dist/callbacks/postDoorUpdate.d.ts.map +1 -1
  39. package/dist/callbacks/postDoorUpdate.lua +7 -7
  40. package/dist/callbacks/postEffectInitLate.d.ts +1 -0
  41. package/dist/callbacks/postEffectInitLate.d.ts.map +1 -1
  42. package/dist/callbacks/postEffectInitLate.lua +7 -7
  43. package/dist/callbacks/postEffectStateChanged.d.ts +1 -0
  44. package/dist/callbacks/postEffectStateChanged.d.ts.map +1 -1
  45. package/dist/callbacks/postEffectStateChanged.lua +8 -8
  46. package/dist/callbacks/postEsauJr.d.ts +1 -0
  47. package/dist/callbacks/postEsauJr.d.ts.map +1 -1
  48. package/dist/callbacks/postEsauJr.lua +11 -11
  49. package/dist/callbacks/postFamiliarInitLate.d.ts +1 -0
  50. package/dist/callbacks/postFamiliarInitLate.d.ts.map +1 -1
  51. package/dist/callbacks/postFamiliarInitLate.lua +7 -7
  52. package/dist/callbacks/postFamiliarStateChanged.d.ts +1 -0
  53. package/dist/callbacks/postFamiliarStateChanged.d.ts.map +1 -1
  54. package/dist/callbacks/postFamiliarStateChanged.lua +8 -8
  55. package/dist/callbacks/postFlip.d.ts +1 -0
  56. package/dist/callbacks/postFlip.d.ts.map +1 -1
  57. package/dist/callbacks/postFlip.lua +12 -12
  58. package/dist/callbacks/postGreedModeWave.d.ts +1 -0
  59. package/dist/callbacks/postGreedModeWave.d.ts.map +1 -1
  60. package/dist/callbacks/postGreedModeWave.lua +7 -7
  61. package/dist/callbacks/postGridEntity.d.ts +1 -0
  62. package/dist/callbacks/postGridEntity.d.ts.map +1 -1
  63. package/dist/callbacks/postGridEntity.lua +35 -41
  64. package/dist/callbacks/postGridEntityCollision.d.ts +1 -0
  65. package/dist/callbacks/postGridEntityCollision.d.ts.map +1 -1
  66. package/dist/callbacks/postGridEntityCollision.lua +9 -9
  67. package/dist/callbacks/postGridEntityCustomCollision.d.ts +1 -0
  68. package/dist/callbacks/postGridEntityCustomCollision.d.ts.map +1 -1
  69. package/dist/callbacks/postGridEntityCustomCollision.lua +9 -9
  70. package/dist/callbacks/postGridEntityCustomRender.d.ts +1 -0
  71. package/dist/callbacks/postGridEntityCustomRender.d.ts.map +1 -1
  72. package/dist/callbacks/postGridEntityCustomRender.lua +7 -7
  73. package/dist/callbacks/postGridEntityCustomUpdate.d.ts +1 -0
  74. package/dist/callbacks/postGridEntityCustomUpdate.d.ts.map +1 -1
  75. package/dist/callbacks/postGridEntityCustomUpdate.lua +7 -7
  76. package/dist/callbacks/postGridEntityRender.d.ts +1 -0
  77. package/dist/callbacks/postGridEntityRender.d.ts.map +1 -1
  78. package/dist/callbacks/postGridEntityRender.lua +7 -7
  79. package/dist/callbacks/postHolyMantleRemoved.d.ts +1 -0
  80. package/dist/callbacks/postHolyMantleRemoved.d.ts.map +1 -1
  81. package/dist/callbacks/postHolyMantleRemoved.lua +9 -9
  82. package/dist/callbacks/postItemDischarged.d.ts +1 -0
  83. package/dist/callbacks/postItemDischarged.d.ts.map +1 -1
  84. package/dist/callbacks/postItemDischarged.lua +18 -18
  85. package/dist/callbacks/postKnifeInitLate.d.ts +1 -0
  86. package/dist/callbacks/postKnifeInitLate.d.ts.map +1 -1
  87. package/dist/callbacks/postKnifeInitLate.lua +7 -7
  88. package/dist/callbacks/postLaserInitLate.d.ts +1 -0
  89. package/dist/callbacks/postLaserInitLate.d.ts.map +1 -1
  90. package/dist/callbacks/postLaserInitLate.lua +7 -7
  91. package/dist/callbacks/postNPCInitLate.d.ts +1 -0
  92. package/dist/callbacks/postNPCInitLate.d.ts.map +1 -1
  93. package/dist/callbacks/postNPCInitLate.lua +7 -7
  94. package/dist/callbacks/postNPCStateChanged.d.ts +1 -0
  95. package/dist/callbacks/postNPCStateChanged.d.ts.map +1 -1
  96. package/dist/callbacks/postNPCStateChanged.lua +8 -8
  97. package/dist/callbacks/postNewRoomEarly.d.ts +1 -0
  98. package/dist/callbacks/postNewRoomEarly.d.ts.map +1 -1
  99. package/dist/callbacks/postNewRoomEarly.lua +16 -16
  100. package/dist/callbacks/postPickupCollect.d.ts +1 -0
  101. package/dist/callbacks/postPickupCollect.d.ts.map +1 -1
  102. package/dist/callbacks/postPickupCollect.lua +8 -8
  103. package/dist/callbacks/postPickupInitFirst.d.ts +1 -0
  104. package/dist/callbacks/postPickupInitFirst.d.ts.map +1 -1
  105. package/dist/callbacks/postPickupInitFirst.lua +8 -8
  106. package/dist/callbacks/postPickupInitLate.d.ts +1 -0
  107. package/dist/callbacks/postPickupInitLate.d.ts.map +1 -1
  108. package/dist/callbacks/postPickupInitLate.lua +7 -7
  109. package/dist/callbacks/postPickupStateChanged.d.ts +1 -0
  110. package/dist/callbacks/postPickupStateChanged.d.ts.map +1 -1
  111. package/dist/callbacks/postPickupStateChanged.lua +8 -8
  112. package/dist/callbacks/postPitRender.d.ts +1 -0
  113. package/dist/callbacks/postPitRender.d.ts.map +1 -1
  114. package/dist/callbacks/postPitRender.lua +7 -7
  115. package/dist/callbacks/postPitUpdate.d.ts +1 -0
  116. package/dist/callbacks/postPitUpdate.d.ts.map +1 -1
  117. package/dist/callbacks/postPitUpdate.lua +7 -7
  118. package/dist/callbacks/postPlayerChangeHealth.d.ts +1 -0
  119. package/dist/callbacks/postPlayerChangeHealth.d.ts.map +1 -1
  120. package/dist/callbacks/postPlayerChangeHealth.lua +9 -10
  121. package/dist/callbacks/postPlayerChangeStat.d.ts +1 -0
  122. package/dist/callbacks/postPlayerChangeStat.d.ts.map +1 -1
  123. package/dist/callbacks/postPlayerChangeStat.lua +19 -20
  124. package/dist/callbacks/postPlayerChangeType.d.ts +1 -0
  125. package/dist/callbacks/postPlayerChangeType.d.ts.map +1 -1
  126. package/dist/callbacks/postPlayerChangeType.lua +10 -10
  127. package/dist/callbacks/postPlayerCollectible.d.ts +1 -0
  128. package/dist/callbacks/postPlayerCollectible.d.ts.map +1 -1
  129. package/dist/callbacks/postPlayerCollectible.lua +36 -40
  130. package/dist/callbacks/postPlayerFatalDamage.d.ts +1 -0
  131. package/dist/callbacks/postPlayerFatalDamage.d.ts.map +1 -1
  132. package/dist/callbacks/postPlayerFatalDamage.lua +14 -22
  133. package/dist/callbacks/postPlayerInitFirst.d.ts +1 -0
  134. package/dist/callbacks/postPlayerInitFirst.d.ts.map +1 -1
  135. package/dist/callbacks/postPlayerInitFirst.lua +12 -12
  136. package/dist/callbacks/postPlayerInitLate.d.ts +1 -0
  137. package/dist/callbacks/postPlayerInitLate.d.ts.map +1 -1
  138. package/dist/callbacks/postPlayerInitLate.lua +9 -9
  139. package/dist/callbacks/postPlayerReorderedCallbacks.d.ts +1 -0
  140. package/dist/callbacks/postPlayerReorderedCallbacks.d.ts.map +1 -1
  141. package/dist/callbacks/postPlayerReorderedCallbacks.lua +25 -25
  142. package/dist/callbacks/postPoopRender.d.ts +1 -0
  143. package/dist/callbacks/postPoopRender.d.ts.map +1 -1
  144. package/dist/callbacks/postPoopRender.lua +7 -7
  145. package/dist/callbacks/postPoopUpdate.d.ts +1 -0
  146. package/dist/callbacks/postPoopUpdate.d.ts.map +1 -1
  147. package/dist/callbacks/postPoopUpdate.lua +7 -7
  148. package/dist/callbacks/postPressurePlateRender.d.ts +1 -0
  149. package/dist/callbacks/postPressurePlateRender.d.ts.map +1 -1
  150. package/dist/callbacks/postPressurePlateRender.lua +7 -7
  151. package/dist/callbacks/postPressurePlateUpdate.d.ts +1 -0
  152. package/dist/callbacks/postPressurePlateUpdate.d.ts.map +1 -1
  153. package/dist/callbacks/postPressurePlateUpdate.lua +7 -7
  154. package/dist/callbacks/postProjectileInitLate.d.ts +1 -0
  155. package/dist/callbacks/postProjectileInitLate.d.ts.map +1 -1
  156. package/dist/callbacks/postProjectileInitLate.lua +7 -7
  157. package/dist/callbacks/postPurchase.d.ts +1 -0
  158. package/dist/callbacks/postPurchase.d.ts.map +1 -1
  159. package/dist/callbacks/postPurchase.lua +12 -12
  160. package/dist/callbacks/postRockRender.d.ts +1 -0
  161. package/dist/callbacks/postRockRender.d.ts.map +1 -1
  162. package/dist/callbacks/postRockRender.lua +7 -7
  163. package/dist/callbacks/postRockUpdate.d.ts +1 -0
  164. package/dist/callbacks/postRockUpdate.d.ts.map +1 -1
  165. package/dist/callbacks/postRockUpdate.lua +7 -7
  166. package/dist/callbacks/postRoomClearChanged.d.ts +1 -0
  167. package/dist/callbacks/postRoomClearChanged.d.ts.map +1 -1
  168. package/dist/callbacks/postRoomClearChanged.lua +9 -9
  169. package/dist/callbacks/postSacrifice.d.ts +1 -0
  170. package/dist/callbacks/postSacrifice.d.ts.map +1 -1
  171. package/dist/callbacks/postSacrifice.lua +8 -8
  172. package/dist/callbacks/postSlotCollision.d.ts +1 -0
  173. package/dist/callbacks/postSlotCollision.d.ts.map +1 -1
  174. package/dist/callbacks/postSlotCollision.lua +7 -7
  175. package/dist/callbacks/postSlotDestroyed.d.ts +1 -0
  176. package/dist/callbacks/postSlotDestroyed.d.ts.map +1 -1
  177. package/dist/callbacks/postSlotDestroyed.lua +8 -8
  178. package/dist/callbacks/postSlotInitUpdate.d.ts +1 -0
  179. package/dist/callbacks/postSlotInitUpdate.d.ts.map +1 -1
  180. package/dist/callbacks/postSlotInitUpdate.lua +15 -15
  181. package/dist/callbacks/postSlotRender.d.ts +1 -0
  182. package/dist/callbacks/postSlotRender.d.ts.map +1 -1
  183. package/dist/callbacks/postSlotRender.lua +12 -12
  184. package/dist/callbacks/postSpikesRender.d.ts +1 -0
  185. package/dist/callbacks/postSpikesRender.d.ts.map +1 -1
  186. package/dist/callbacks/postSpikesRender.lua +7 -7
  187. package/dist/callbacks/postSpikesUpdate.d.ts +1 -0
  188. package/dist/callbacks/postSpikesUpdate.d.ts.map +1 -1
  189. package/dist/callbacks/postSpikesUpdate.lua +7 -7
  190. package/dist/callbacks/postTNTRender.d.ts +1 -0
  191. package/dist/callbacks/postTNTRender.d.ts.map +1 -1
  192. package/dist/callbacks/postTNTRender.lua +7 -7
  193. package/dist/callbacks/postTNTUpdate.d.ts +1 -0
  194. package/dist/callbacks/postTNTUpdate.d.ts.map +1 -1
  195. package/dist/callbacks/postTNTUpdate.lua +7 -7
  196. package/dist/callbacks/postTearInitLate.d.ts +1 -0
  197. package/dist/callbacks/postTearInitLate.d.ts.map +1 -1
  198. package/dist/callbacks/postTearInitLate.lua +7 -7
  199. package/dist/callbacks/postTearInitVeryLate.d.ts +1 -0
  200. package/dist/callbacks/postTearInitVeryLate.d.ts.map +1 -1
  201. package/dist/callbacks/postTearInitVeryLate.lua +7 -7
  202. package/dist/callbacks/postTransformation.d.ts +1 -0
  203. package/dist/callbacks/postTransformation.d.ts.map +1 -1
  204. package/dist/callbacks/postTransformation.lua +9 -9
  205. package/dist/callbacks/postTrinketBreak.d.ts +1 -0
  206. package/dist/callbacks/postTrinketBreak.d.ts.map +1 -1
  207. package/dist/callbacks/postTrinketBreak.lua +11 -11
  208. package/dist/callbacks/preBerserkDeath.d.ts +1 -0
  209. package/dist/callbacks/preBerserkDeath.d.ts.map +1 -1
  210. package/dist/callbacks/preBerserkDeath.lua +9 -9
  211. package/dist/callbacks/preNewLevel.d.ts +1 -0
  212. package/dist/callbacks/preNewLevel.d.ts.map +1 -1
  213. package/dist/callbacks/preNewLevel.lua +8 -8
  214. package/dist/callbacks/reorderedCallbacks.d.ts +1 -0
  215. package/dist/callbacks/reorderedCallbacks.d.ts.map +1 -1
  216. package/dist/callbacks/reorderedCallbacks.lua +26 -26
  217. package/dist/callbacks/subscriptions/postAmbushFinished.d.ts +1 -0
  218. package/dist/callbacks/subscriptions/postAmbushFinished.d.ts.map +1 -1
  219. package/dist/callbacks/subscriptions/postAmbushFinished.lua +4 -4
  220. package/dist/callbacks/subscriptions/postAmbushStarted.d.ts +1 -0
  221. package/dist/callbacks/subscriptions/postAmbushStarted.d.ts.map +1 -1
  222. package/dist/callbacks/subscriptions/postAmbushStarted.lua +4 -4
  223. package/dist/callbacks/subscriptions/postBombInitLate.d.ts +1 -0
  224. package/dist/callbacks/subscriptions/postBombInitLate.d.ts.map +1 -1
  225. package/dist/callbacks/subscriptions/postBombInitLate.lua +4 -4
  226. package/dist/callbacks/subscriptions/postBoneExploded.d.ts +1 -0
  227. package/dist/callbacks/subscriptions/postBoneExploded.d.ts.map +1 -1
  228. package/dist/callbacks/subscriptions/postBoneExploded.lua +4 -4
  229. package/dist/callbacks/subscriptions/postBoneSwing.d.ts +1 -0
  230. package/dist/callbacks/subscriptions/postBoneSwing.d.ts.map +1 -1
  231. package/dist/callbacks/subscriptions/postBoneSwing.lua +4 -4
  232. package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts +1 -0
  233. package/dist/callbacks/subscriptions/postCollectibleEmpty.d.ts.map +1 -1
  234. package/dist/callbacks/subscriptions/postCollectibleEmpty.lua +4 -4
  235. package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +1 -0
  236. package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts.map +1 -1
  237. package/dist/callbacks/subscriptions/postCollectibleInitFirst.lua +4 -4
  238. package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +1 -0
  239. package/dist/callbacks/subscriptions/postCursedTeleport.d.ts.map +1 -1
  240. package/dist/callbacks/subscriptions/postCursedTeleport.lua +4 -4
  241. package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +1 -0
  242. package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts.map +1 -1
  243. package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +4 -10
  244. package/dist/callbacks/subscriptions/postCustomRevive.d.ts +1 -0
  245. package/dist/callbacks/subscriptions/postCustomRevive.d.ts.map +1 -1
  246. package/dist/callbacks/subscriptions/postCustomRevive.lua +4 -4
  247. package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts +1 -0
  248. package/dist/callbacks/subscriptions/postDiceRoomActivated.d.ts.map +1 -1
  249. package/dist/callbacks/subscriptions/postDiceRoomActivated.lua +4 -4
  250. package/dist/callbacks/subscriptions/postDoorRender.d.ts +1 -0
  251. package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -1
  252. package/dist/callbacks/subscriptions/postDoorRender.lua +4 -4
  253. package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +1 -0
  254. package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -1
  255. package/dist/callbacks/subscriptions/postDoorUpdate.lua +4 -4
  256. package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +1 -0
  257. package/dist/callbacks/subscriptions/postEffectInitLate.d.ts.map +1 -1
  258. package/dist/callbacks/subscriptions/postEffectInitLate.lua +4 -4
  259. package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts +1 -0
  260. package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts.map +1 -1
  261. package/dist/callbacks/subscriptions/postEffectStateChanged.lua +4 -4
  262. package/dist/callbacks/subscriptions/postEsauJr.d.ts +1 -0
  263. package/dist/callbacks/subscriptions/postEsauJr.d.ts.map +1 -1
  264. package/dist/callbacks/subscriptions/postEsauJr.lua +4 -4
  265. package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +1 -0
  266. package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts.map +1 -1
  267. package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +4 -4
  268. package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts +1 -0
  269. package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts.map +1 -1
  270. package/dist/callbacks/subscriptions/postFamiliarStateChanged.lua +4 -4
  271. package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +1 -0
  272. package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts.map +1 -1
  273. package/dist/callbacks/subscriptions/postFirstEsauJr.lua +4 -4
  274. package/dist/callbacks/subscriptions/postFirstFlip.d.ts +1 -0
  275. package/dist/callbacks/subscriptions/postFirstFlip.d.ts.map +1 -1
  276. package/dist/callbacks/subscriptions/postFirstFlip.lua +4 -4
  277. package/dist/callbacks/subscriptions/postFlip.d.ts +1 -0
  278. package/dist/callbacks/subscriptions/postFlip.d.ts.map +1 -1
  279. package/dist/callbacks/subscriptions/postFlip.lua +4 -4
  280. package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +1 -0
  281. package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts.map +1 -1
  282. package/dist/callbacks/subscriptions/postGameStartedReordered.lua +4 -4
  283. package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts +1 -0
  284. package/dist/callbacks/subscriptions/postGameStartedReorderedLast.d.ts.map +1 -1
  285. package/dist/callbacks/subscriptions/postGameStartedReorderedLast.lua +4 -4
  286. package/dist/callbacks/subscriptions/postGreedModeWave.d.ts +1 -0
  287. package/dist/callbacks/subscriptions/postGreedModeWave.d.ts.map +1 -1
  288. package/dist/callbacks/subscriptions/postGreedModeWave.lua +4 -4
  289. package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts +1 -0
  290. package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts.map +1 -1
  291. package/dist/callbacks/subscriptions/postGridEntityBroken.lua +4 -4
  292. package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts +1 -0
  293. package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts.map +1 -1
  294. package/dist/callbacks/subscriptions/postGridEntityCollision.lua +4 -4
  295. package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts +1 -0
  296. package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts.map +1 -1
  297. package/dist/callbacks/subscriptions/postGridEntityCustomBroken.lua +4 -4
  298. package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts +1 -0
  299. package/dist/callbacks/subscriptions/postGridEntityCustomCollision.d.ts.map +1 -1
  300. package/dist/callbacks/subscriptions/postGridEntityCustomCollision.lua +4 -4
  301. package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts +1 -0
  302. package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts.map +1 -1
  303. package/dist/callbacks/subscriptions/postGridEntityCustomInit.lua +4 -4
  304. package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts +1 -0
  305. package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts.map +1 -1
  306. package/dist/callbacks/subscriptions/postGridEntityCustomRemove.lua +4 -4
  307. package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts +1 -0
  308. package/dist/callbacks/subscriptions/postGridEntityCustomRender.d.ts.map +1 -1
  309. package/dist/callbacks/subscriptions/postGridEntityCustomRender.lua +4 -4
  310. package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts +1 -0
  311. package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts.map +1 -1
  312. package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.lua +4 -10
  313. package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts +1 -0
  314. package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts.map +1 -1
  315. package/dist/callbacks/subscriptions/postGridEntityCustomUpdate.lua +4 -4
  316. package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +1 -0
  317. package/dist/callbacks/subscriptions/postGridEntityInit.d.ts.map +1 -1
  318. package/dist/callbacks/subscriptions/postGridEntityInit.lua +4 -4
  319. package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +1 -0
  320. package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts.map +1 -1
  321. package/dist/callbacks/subscriptions/postGridEntityRemove.lua +4 -4
  322. package/dist/callbacks/subscriptions/postGridEntityRender.d.ts +1 -0
  323. package/dist/callbacks/subscriptions/postGridEntityRender.d.ts.map +1 -1
  324. package/dist/callbacks/subscriptions/postGridEntityRender.lua +4 -4
  325. package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts +1 -0
  326. package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts.map +1 -1
  327. package/dist/callbacks/subscriptions/postGridEntityStateChanged.lua +4 -4
  328. package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +1 -0
  329. package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts.map +1 -1
  330. package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +4 -4
  331. package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts +1 -0
  332. package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts.map +1 -1
  333. package/dist/callbacks/subscriptions/postHolyMantleRemoved.lua +4 -4
  334. package/dist/callbacks/subscriptions/postItemDischarged.d.ts +1 -0
  335. package/dist/callbacks/subscriptions/postItemDischarged.d.ts.map +1 -1
  336. package/dist/callbacks/subscriptions/postItemDischarged.lua +4 -4
  337. package/dist/callbacks/subscriptions/postItemPickup.d.ts +1 -0
  338. package/dist/callbacks/subscriptions/postItemPickup.d.ts.map +1 -1
  339. package/dist/callbacks/subscriptions/postItemPickup.lua +4 -4
  340. package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +1 -0
  341. package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts.map +1 -1
  342. package/dist/callbacks/subscriptions/postKnifeInitLate.lua +4 -4
  343. package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +1 -0
  344. package/dist/callbacks/subscriptions/postLaserInitLate.d.ts.map +1 -1
  345. package/dist/callbacks/subscriptions/postLaserInitLate.lua +4 -4
  346. package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +1 -0
  347. package/dist/callbacks/subscriptions/postNPCInitLate.d.ts.map +1 -1
  348. package/dist/callbacks/subscriptions/postNPCInitLate.lua +4 -4
  349. package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts +1 -0
  350. package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts.map +1 -1
  351. package/dist/callbacks/subscriptions/postNPCStateChanged.lua +4 -4
  352. package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +1 -0
  353. package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts.map +1 -1
  354. package/dist/callbacks/subscriptions/postNewLevelReordered.lua +4 -4
  355. package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +1 -0
  356. package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts.map +1 -1
  357. package/dist/callbacks/subscriptions/postNewRoomEarly.lua +4 -4
  358. package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +1 -0
  359. package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts.map +1 -1
  360. package/dist/callbacks/subscriptions/postNewRoomReordered.lua +4 -4
  361. package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +1 -0
  362. package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts.map +1 -1
  363. package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +4 -4
  364. package/dist/callbacks/subscriptions/postPickupCollect.d.ts +1 -0
  365. package/dist/callbacks/subscriptions/postPickupCollect.d.ts.map +1 -1
  366. package/dist/callbacks/subscriptions/postPickupCollect.lua +4 -4
  367. package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts +1 -0
  368. package/dist/callbacks/subscriptions/postPickupInitFirst.d.ts.map +1 -1
  369. package/dist/callbacks/subscriptions/postPickupInitFirst.lua +4 -4
  370. package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +1 -0
  371. package/dist/callbacks/subscriptions/postPickupInitLate.d.ts.map +1 -1
  372. package/dist/callbacks/subscriptions/postPickupInitLate.lua +4 -4
  373. package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts +1 -0
  374. package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts.map +1 -1
  375. package/dist/callbacks/subscriptions/postPickupStateChanged.lua +4 -4
  376. package/dist/callbacks/subscriptions/postPitRender.d.ts +1 -0
  377. package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -1
  378. package/dist/callbacks/subscriptions/postPitRender.lua +4 -4
  379. package/dist/callbacks/subscriptions/postPitUpdate.d.ts +1 -0
  380. package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -1
  381. package/dist/callbacks/subscriptions/postPitUpdate.lua +4 -4
  382. package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +1 -0
  383. package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts.map +1 -1
  384. package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +3 -4
  385. package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts +1 -0
  386. package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts.map +1 -1
  387. package/dist/callbacks/subscriptions/postPlayerChangeStat.lua +3 -4
  388. package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +1 -0
  389. package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts.map +1 -1
  390. package/dist/callbacks/subscriptions/postPlayerChangeType.lua +4 -4
  391. package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +1 -0
  392. package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts.map +1 -1
  393. package/dist/callbacks/subscriptions/postPlayerCollectibleAdded.lua +4 -4
  394. package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +1 -0
  395. package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts.map +1 -1
  396. package/dist/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +4 -4
  397. package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +1 -0
  398. package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts.map +1 -1
  399. package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +3 -4
  400. package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts +1 -0
  401. package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts.map +1 -1
  402. package/dist/callbacks/subscriptions/postPlayerInitFirst.lua +4 -4
  403. package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +1 -0
  404. package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts.map +1 -1
  405. package/dist/callbacks/subscriptions/postPlayerInitLate.lua +4 -4
  406. package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +1 -0
  407. package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts.map +1 -1
  408. package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +4 -4
  409. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +1 -0
  410. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts.map +1 -1
  411. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +4 -4
  412. package/dist/callbacks/subscriptions/postPoopRender.d.ts +1 -0
  413. package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -1
  414. package/dist/callbacks/subscriptions/postPoopRender.lua +4 -4
  415. package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +1 -0
  416. package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -1
  417. package/dist/callbacks/subscriptions/postPoopUpdate.lua +4 -4
  418. package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +1 -0
  419. package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -1
  420. package/dist/callbacks/subscriptions/postPressurePlateRender.lua +4 -4
  421. package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +1 -0
  422. package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -1
  423. package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +4 -4
  424. package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +1 -0
  425. package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts.map +1 -1
  426. package/dist/callbacks/subscriptions/postProjectileInitLate.lua +4 -4
  427. package/dist/callbacks/subscriptions/postPurchase.d.ts +1 -0
  428. package/dist/callbacks/subscriptions/postPurchase.d.ts.map +1 -1
  429. package/dist/callbacks/subscriptions/postPurchase.lua +4 -4
  430. package/dist/callbacks/subscriptions/postRockRender.d.ts +1 -0
  431. package/dist/callbacks/subscriptions/postRockRender.d.ts.map +1 -1
  432. package/dist/callbacks/subscriptions/postRockRender.lua +4 -4
  433. package/dist/callbacks/subscriptions/postRockUpdate.d.ts +1 -0
  434. package/dist/callbacks/subscriptions/postRockUpdate.d.ts.map +1 -1
  435. package/dist/callbacks/subscriptions/postRockUpdate.lua +4 -4
  436. package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts +1 -0
  437. package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts.map +1 -1
  438. package/dist/callbacks/subscriptions/postRoomClearChanged.lua +4 -4
  439. package/dist/callbacks/subscriptions/postSacrifice.d.ts +1 -0
  440. package/dist/callbacks/subscriptions/postSacrifice.d.ts.map +1 -1
  441. package/dist/callbacks/subscriptions/postSacrifice.lua +4 -4
  442. package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts +1 -0
  443. package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts.map +1 -1
  444. package/dist/callbacks/subscriptions/postSlotAnimationChanged.lua +4 -4
  445. package/dist/callbacks/subscriptions/postSlotCollision.d.ts +1 -0
  446. package/dist/callbacks/subscriptions/postSlotCollision.d.ts.map +1 -1
  447. package/dist/callbacks/subscriptions/postSlotCollision.lua +4 -4
  448. package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +1 -0
  449. package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts.map +1 -1
  450. package/dist/callbacks/subscriptions/postSlotDestroyed.lua +4 -4
  451. package/dist/callbacks/subscriptions/postSlotInit.d.ts +1 -0
  452. package/dist/callbacks/subscriptions/postSlotInit.d.ts.map +1 -1
  453. package/dist/callbacks/subscriptions/postSlotInit.lua +4 -4
  454. package/dist/callbacks/subscriptions/postSlotRender.d.ts +1 -0
  455. package/dist/callbacks/subscriptions/postSlotRender.d.ts.map +1 -1
  456. package/dist/callbacks/subscriptions/postSlotRender.lua +4 -4
  457. package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +1 -0
  458. package/dist/callbacks/subscriptions/postSlotUpdate.d.ts.map +1 -1
  459. package/dist/callbacks/subscriptions/postSlotUpdate.lua +4 -4
  460. package/dist/callbacks/subscriptions/postSpikesRender.d.ts +1 -0
  461. package/dist/callbacks/subscriptions/postSpikesRender.d.ts.map +1 -1
  462. package/dist/callbacks/subscriptions/postSpikesRender.lua +4 -4
  463. package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts +1 -0
  464. package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts.map +1 -1
  465. package/dist/callbacks/subscriptions/postSpikesUpdate.lua +4 -4
  466. package/dist/callbacks/subscriptions/postTNTRender.d.ts +1 -0
  467. package/dist/callbacks/subscriptions/postTNTRender.d.ts.map +1 -1
  468. package/dist/callbacks/subscriptions/postTNTRender.lua +4 -4
  469. package/dist/callbacks/subscriptions/postTNTUpdate.d.ts +1 -0
  470. package/dist/callbacks/subscriptions/postTNTUpdate.d.ts.map +1 -1
  471. package/dist/callbacks/subscriptions/postTNTUpdate.lua +4 -4
  472. package/dist/callbacks/subscriptions/postTearInitLate.d.ts +1 -0
  473. package/dist/callbacks/subscriptions/postTearInitLate.d.ts.map +1 -1
  474. package/dist/callbacks/subscriptions/postTearInitLate.lua +4 -4
  475. package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts +1 -0
  476. package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts.map +1 -1
  477. package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +4 -4
  478. package/dist/callbacks/subscriptions/postTransformation.d.ts +1 -0
  479. package/dist/callbacks/subscriptions/postTransformation.d.ts.map +1 -1
  480. package/dist/callbacks/subscriptions/postTransformation.lua +4 -4
  481. package/dist/callbacks/subscriptions/postTrinketBreak.d.ts +1 -0
  482. package/dist/callbacks/subscriptions/postTrinketBreak.d.ts.map +1 -1
  483. package/dist/callbacks/subscriptions/postTrinketBreak.lua +4 -4
  484. package/dist/callbacks/subscriptions/preBerserkDeath.d.ts +1 -0
  485. package/dist/callbacks/subscriptions/preBerserkDeath.d.ts.map +1 -1
  486. package/dist/callbacks/subscriptions/preBerserkDeath.lua +4 -4
  487. package/dist/callbacks/subscriptions/preCustomRevive.d.ts +1 -0
  488. package/dist/callbacks/subscriptions/preCustomRevive.d.ts.map +1 -1
  489. package/dist/callbacks/subscriptions/preCustomRevive.lua +4 -4
  490. package/dist/callbacks/subscriptions/preItemPickup.d.ts +1 -0
  491. package/dist/callbacks/subscriptions/preItemPickup.d.ts.map +1 -1
  492. package/dist/callbacks/subscriptions/preItemPickup.lua +4 -4
  493. package/dist/callbacks/subscriptions/preNewLevel.d.ts +1 -0
  494. package/dist/callbacks/subscriptions/preNewLevel.d.ts.map +1 -1
  495. package/dist/callbacks/subscriptions/preNewLevel.lua +4 -4
  496. package/dist/classes/DefaultMap.d.ts +1 -0
  497. package/dist/classes/DefaultMap.d.ts.map +1 -1
  498. package/dist/classes/DefaultMap.lua +4 -4
  499. package/dist/classes/ModUpgraded.d.ts +1 -0
  500. package/dist/classes/ModUpgraded.d.ts.map +1 -1
  501. package/dist/classes/ModUpgraded.lua +1 -1
  502. package/dist/core/cachedClasses.d.ts +1 -0
  503. package/dist/core/cachedClasses.d.ts.map +1 -1
  504. package/dist/core/constants.d.ts +1 -0
  505. package/dist/core/constants.d.ts.map +1 -1
  506. package/dist/core/constants.lua +4 -4
  507. package/dist/core/constantsFirstLast.d.ts +1 -0
  508. package/dist/core/constantsFirstLast.d.ts.map +1 -1
  509. package/dist/core/constantsFirstLast.lua +11 -11
  510. package/dist/core/upgradeMod.d.ts +1 -0
  511. package/dist/core/upgradeMod.d.ts.map +1 -1
  512. package/dist/core/upgradeMod.lua +9 -9
  513. package/dist/enums/AmbushType.d.ts +1 -0
  514. package/dist/enums/AmbushType.d.ts.map +1 -1
  515. package/dist/enums/CornerType.d.ts +1 -0
  516. package/dist/enums/CornerType.d.ts.map +1 -1
  517. package/dist/enums/HealthType.d.ts +1 -0
  518. package/dist/enums/HealthType.d.ts.map +1 -1
  519. package/dist/enums/ModCallbackCustom.d.ts +1 -0
  520. package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
  521. package/dist/enums/PocketItemType.d.ts +1 -0
  522. package/dist/enums/PocketItemType.d.ts.map +1 -1
  523. package/dist/enums/RockAltType.d.ts +1 -0
  524. package/dist/enums/RockAltType.d.ts.map +1 -1
  525. package/dist/enums/SaveDataKey.d.ts +1 -0
  526. package/dist/enums/SaveDataKey.d.ts.map +1 -1
  527. package/dist/enums/SerializationType.d.ts +1 -0
  528. package/dist/enums/SerializationType.d.ts.map +1 -1
  529. package/dist/enums/SlotDestructionType.d.ts +1 -0
  530. package/dist/enums/SlotDestructionType.d.ts.map +1 -1
  531. package/dist/enums/StatType.d.ts +1 -0
  532. package/dist/enums/StatType.d.ts.map +1 -1
  533. package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +1 -0
  534. package/dist/enums/private/CopyableIsaacAPIClassType.d.ts.map +1 -1
  535. package/dist/enums/private/SerializationBrand.d.ts +1 -0
  536. package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
  537. package/dist/enums/private/StageTravelState.d.ts +1 -0
  538. package/dist/enums/private/StageTravelState.d.ts.map +1 -1
  539. package/dist/enums/private/TrapdoorAnimation.d.ts +1 -0
  540. package/dist/enums/private/TrapdoorAnimation.d.ts.map +1 -1
  541. package/dist/features/characterHealthConversion.d.ts +1 -0
  542. package/dist/features/characterHealthConversion.d.ts.map +1 -1
  543. package/dist/features/characterHealthConversion.lua +10 -10
  544. package/dist/features/characterStats.d.ts +1 -0
  545. package/dist/features/characterStats.d.ts.map +1 -1
  546. package/dist/features/characterStats.lua +6 -6
  547. package/dist/features/collectibleItemPoolType.d.ts +1 -0
  548. package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
  549. package/dist/features/collectibleItemPoolType.lua +8 -8
  550. package/dist/features/customDoor.d.ts +1 -0
  551. package/dist/features/customDoor.d.ts.map +1 -1
  552. package/dist/features/customDoor.lua +4 -4
  553. package/dist/features/customGridEntity.d.ts +1 -0
  554. package/dist/features/customGridEntity.d.ts.map +1 -1
  555. package/dist/features/customGridEntity.lua +39 -42
  556. package/dist/features/customPickup.d.ts +1 -0
  557. package/dist/features/customPickup.d.ts.map +1 -1
  558. package/dist/features/customPickup.lua +8 -8
  559. package/dist/features/customStage/backdrop.d.ts +1 -0
  560. package/dist/features/customStage/backdrop.d.ts.map +1 -1
  561. package/dist/features/customStage/backdrop.lua +28 -40
  562. package/dist/features/customStage/customStageConstants.d.ts +1 -0
  563. package/dist/features/customStage/customStageConstants.d.ts.map +1 -1
  564. package/dist/features/customStage/customStageGridEntities.d.ts +1 -0
  565. package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -1
  566. package/dist/features/customStage/customStageGridEntities.lua +34 -34
  567. package/dist/features/customStage/customStageUtils.d.ts +1 -0
  568. package/dist/features/customStage/customStageUtils.d.ts.map +1 -1
  569. package/dist/features/customStage/customStageUtils.lua +21 -33
  570. package/dist/features/customStage/exports.d.ts +1 -0
  571. package/dist/features/customStage/exports.d.ts.map +1 -1
  572. package/dist/features/customStage/exports.lua +18 -36
  573. package/dist/features/customStage/init.d.ts +1 -0
  574. package/dist/features/customStage/init.d.ts.map +1 -1
  575. package/dist/features/customStage/init.lua +28 -28
  576. package/dist/features/customStage/shadows.d.ts +1 -0
  577. package/dist/features/customStage/shadows.d.ts.map +1 -1
  578. package/dist/features/customStage/shadows.lua +4 -10
  579. package/dist/features/customStage/streakText.d.ts +1 -0
  580. package/dist/features/customStage/streakText.d.ts.map +1 -1
  581. package/dist/features/customStage/streakText.lua +17 -17
  582. package/dist/features/customStage/v.d.ts +1 -0
  583. package/dist/features/customStage/v.d.ts.map +1 -1
  584. package/dist/features/customStage/versusScreen.d.ts +1 -0
  585. package/dist/features/customStage/versusScreen.d.ts.map +1 -1
  586. package/dist/features/customStage/versusScreen.lua +27 -31
  587. package/dist/features/customTrapdoor/blackSprite.d.ts +1 -0
  588. package/dist/features/customTrapdoor/blackSprite.d.ts.map +1 -1
  589. package/dist/features/customTrapdoor/blackSprite.lua +1 -1
  590. package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts +1 -0
  591. package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts.map +1 -1
  592. package/dist/features/customTrapdoor/exports.d.ts +1 -0
  593. package/dist/features/customTrapdoor/exports.d.ts.map +1 -1
  594. package/dist/features/customTrapdoor/exports.lua +8 -20
  595. package/dist/features/customTrapdoor/init.d.ts +1 -0
  596. package/dist/features/customTrapdoor/init.d.ts.map +1 -1
  597. package/dist/features/customTrapdoor/init.lua +50 -65
  598. package/dist/features/customTrapdoor/openClose.d.ts +1 -0
  599. package/dist/features/customTrapdoor/openClose.d.ts.map +1 -1
  600. package/dist/features/customTrapdoor/openClose.lua +12 -12
  601. package/dist/features/customTrapdoor/spawn.d.ts +1 -0
  602. package/dist/features/customTrapdoor/spawn.d.ts.map +1 -1
  603. package/dist/features/customTrapdoor/spawn.lua +4 -5
  604. package/dist/features/customTrapdoor/touched.d.ts +1 -0
  605. package/dist/features/customTrapdoor/touched.d.ts.map +1 -1
  606. package/dist/features/customTrapdoor/touched.lua +21 -25
  607. package/dist/features/customTrapdoor/v.d.ts +1 -0
  608. package/dist/features/customTrapdoor/v.d.ts.map +1 -1
  609. package/dist/features/debugDisplay/debugDisplay.d.ts +1 -0
  610. package/dist/features/debugDisplay/debugDisplay.d.ts.map +1 -1
  611. package/dist/features/debugDisplay/debugDisplay.lua +59 -59
  612. package/dist/features/debugDisplay/exports.d.ts +1 -0
  613. package/dist/features/debugDisplay/exports.d.ts.map +1 -1
  614. package/dist/features/debugDisplay/exports.lua +90 -90
  615. package/dist/features/debugDisplay/v.d.ts +1 -0
  616. package/dist/features/debugDisplay/v.d.ts.map +1 -1
  617. package/dist/features/debugDisplay/v.lua +6 -6
  618. package/dist/features/deployJSONRoom.d.ts +1 -0
  619. package/dist/features/deployJSONRoom.d.ts.map +1 -1
  620. package/dist/features/deployJSONRoom.lua +93 -118
  621. package/dist/features/disableAllSound.d.ts +1 -0
  622. package/dist/features/disableAllSound.d.ts.map +1 -1
  623. package/dist/features/disableAllSound.lua +10 -10
  624. package/dist/features/disableInputs.d.ts +1 -0
  625. package/dist/features/disableInputs.d.ts.map +1 -1
  626. package/dist/features/disableInputs.lua +25 -25
  627. package/dist/features/extraConsoleCommands/commandsDisplay.d.ts +1 -0
  628. package/dist/features/extraConsoleCommands/commandsDisplay.d.ts.map +1 -1
  629. package/dist/features/extraConsoleCommands/commandsDisplay.lua +72 -72
  630. package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts +1 -0
  631. package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts.map +1 -1
  632. package/dist/features/extraConsoleCommands/commandsSubroutines.lua +33 -42
  633. package/dist/features/extraConsoleCommands/exports.d.ts +1 -0
  634. package/dist/features/extraConsoleCommands/exports.d.ts.map +1 -1
  635. package/dist/features/extraConsoleCommands/exports.lua +8 -8
  636. package/dist/features/extraConsoleCommands/init.d.ts +1 -0
  637. package/dist/features/extraConsoleCommands/init.d.ts.map +1 -1
  638. package/dist/features/extraConsoleCommands/init.lua +28 -28
  639. package/dist/features/extraConsoleCommands/listCommands.d.ts +1 -0
  640. package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
  641. package/dist/features/extraConsoleCommands/listCommands.lua +307 -362
  642. package/dist/features/extraConsoleCommands/v.d.ts +1 -0
  643. package/dist/features/extraConsoleCommands/v.d.ts.map +1 -1
  644. package/dist/features/extraConsoleCommands/v.lua +1 -1
  645. package/dist/features/fadeInRemover.d.ts +1 -0
  646. package/dist/features/fadeInRemover.d.ts.map +1 -1
  647. package/dist/features/fadeInRemover.lua +8 -9
  648. package/dist/features/fastReset.d.ts +1 -0
  649. package/dist/features/fastReset.d.ts.map +1 -1
  650. package/dist/features/fastReset.lua +11 -11
  651. package/dist/features/firstLast.d.ts +1 -0
  652. package/dist/features/firstLast.d.ts.map +1 -1
  653. package/dist/features/firstLast.lua +93 -105
  654. package/dist/features/forgottenSwitch.d.ts +1 -0
  655. package/dist/features/forgottenSwitch.d.ts.map +1 -1
  656. package/dist/features/forgottenSwitch.lua +5 -5
  657. package/dist/features/pause.d.ts +1 -0
  658. package/dist/features/pause.d.ts.map +1 -1
  659. package/dist/features/pause.lua +25 -25
  660. package/dist/features/persistentEntities.d.ts +1 -0
  661. package/dist/features/persistentEntities.d.ts.map +1 -1
  662. package/dist/features/persistentEntities.lua +17 -25
  663. package/dist/features/pickupIndex.d.ts +1 -0
  664. package/dist/features/pickupIndex.d.ts.map +1 -1
  665. package/dist/features/pickupIndex.lua +25 -25
  666. package/dist/features/playerInventory.d.ts +1 -0
  667. package/dist/features/playerInventory.d.ts.map +1 -1
  668. package/dist/features/playerInventory.lua +16 -16
  669. package/dist/features/ponyDetection.d.ts +1 -0
  670. package/dist/features/ponyDetection.d.ts.map +1 -1
  671. package/dist/features/ponyDetection.lua +13 -14
  672. package/dist/features/preventChildEntities.d.ts +1 -0
  673. package/dist/features/preventChildEntities.d.ts.map +1 -1
  674. package/dist/features/preventChildEntities.lua +4 -4
  675. package/dist/features/preventCollectibleRotation.d.ts +1 -0
  676. package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
  677. package/dist/features/preventCollectibleRotation.lua +13 -13
  678. package/dist/features/registerHotkey.d.ts +1 -0
  679. package/dist/features/registerHotkey.d.ts.map +1 -1
  680. package/dist/features/registerHotkey.lua +14 -14
  681. package/dist/features/roomClearFrame.d.ts +1 -0
  682. package/dist/features/roomClearFrame.d.ts.map +1 -1
  683. package/dist/features/roomClearFrame.lua +7 -7
  684. package/dist/features/roomHistory.d.ts +1 -0
  685. package/dist/features/roomHistory.d.ts.map +1 -1
  686. package/dist/features/roomHistory.lua +19 -19
  687. package/dist/features/runInNFrames.d.ts +1 -0
  688. package/dist/features/runInNFrames.d.ts.map +1 -1
  689. package/dist/features/runInNFrames.lua +30 -30
  690. package/dist/features/runNextRoom.d.ts +1 -0
  691. package/dist/features/runNextRoom.d.ts.map +1 -1
  692. package/dist/features/runNextRoom.lua +7 -7
  693. package/dist/features/saveDataManager/exports.d.ts +1 -0
  694. package/dist/features/saveDataManager/exports.d.ts.map +1 -1
  695. package/dist/features/saveDataManager/exports.lua +16 -16
  696. package/dist/features/saveDataManager/load.d.ts +1 -0
  697. package/dist/features/saveDataManager/load.d.ts.map +1 -1
  698. package/dist/features/saveDataManager/load.lua +12 -16
  699. package/dist/features/saveDataManager/main.d.ts +1 -0
  700. package/dist/features/saveDataManager/main.d.ts.map +1 -1
  701. package/dist/features/saveDataManager/main.lua +31 -32
  702. package/dist/features/saveDataManager/maps.d.ts +1 -0
  703. package/dist/features/saveDataManager/maps.d.ts.map +1 -1
  704. package/dist/features/saveDataManager/merge.d.ts +1 -0
  705. package/dist/features/saveDataManager/merge.d.ts.map +1 -1
  706. package/dist/features/saveDataManager/merge.lua +30 -33
  707. package/dist/features/saveDataManager/save.d.ts +1 -0
  708. package/dist/features/saveDataManager/save.d.ts.map +1 -1
  709. package/dist/features/saveDataManager/save.lua +8 -9
  710. package/dist/features/saveDataManager/saveDataManagerConstants.d.ts +1 -0
  711. package/dist/features/saveDataManager/saveDataManagerConstants.d.ts.map +1 -1
  712. package/dist/features/saveDataManager/serializationBrands.d.ts +1 -0
  713. package/dist/features/saveDataManager/serializationBrands.d.ts.map +1 -1
  714. package/dist/features/saveDataManager/serializationBrands.lua +3 -3
  715. package/dist/features/sirenHelpers.d.ts +1 -0
  716. package/dist/features/sirenHelpers.d.ts.map +1 -1
  717. package/dist/features/sirenHelpers.lua +15 -15
  718. package/dist/features/stageHistory.d.ts +1 -0
  719. package/dist/features/stageHistory.d.ts.map +1 -1
  720. package/dist/features/stageHistory.lua +7 -7
  721. package/dist/features/taintedLazarusPlayers.d.ts +1 -0
  722. package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
  723. package/dist/features/taintedLazarusPlayers.lua +8 -8
  724. package/dist/featuresInitialized.d.ts +1 -0
  725. package/dist/featuresInitialized.d.ts.map +1 -1
  726. package/dist/featuresInitialized.lua +4 -4
  727. package/dist/functions/ambush.d.ts +1 -0
  728. package/dist/functions/ambush.d.ts.map +1 -1
  729. package/dist/functions/ambush.lua +15 -18
  730. package/dist/functions/array.d.ts +1 -0
  731. package/dist/functions/array.d.ts.map +1 -1
  732. package/dist/functions/array.lua +48 -62
  733. package/dist/functions/benchmark.d.ts +1 -0
  734. package/dist/functions/benchmark.d.ts.map +1 -1
  735. package/dist/functions/benchmark.lua +4 -10
  736. package/dist/functions/bitSet128.d.ts +1 -0
  737. package/dist/functions/bitSet128.d.ts.map +1 -1
  738. package/dist/functions/bitSet128.lua +11 -13
  739. package/dist/functions/bitwise.d.ts +1 -0
  740. package/dist/functions/bitwise.d.ts.map +1 -1
  741. package/dist/functions/bitwise.lua +9 -9
  742. package/dist/functions/bombs.d.ts +1 -0
  743. package/dist/functions/bombs.d.ts.map +1 -1
  744. package/dist/functions/bombs.lua +1 -1
  745. package/dist/functions/bosses.d.ts +1 -0
  746. package/dist/functions/bosses.d.ts.map +1 -1
  747. package/dist/functions/bosses.lua +15 -31
  748. package/dist/functions/cards.d.ts +1 -0
  749. package/dist/functions/cards.d.ts.map +1 -1
  750. package/dist/functions/cards.lua +42 -48
  751. package/dist/functions/challenges.d.ts +1 -0
  752. package/dist/functions/challenges.d.ts.map +1 -1
  753. package/dist/functions/challenges.lua +1 -1
  754. package/dist/functions/characters.d.ts +1 -0
  755. package/dist/functions/characters.d.ts.map +1 -1
  756. package/dist/functions/characters.lua +13 -13
  757. package/dist/functions/charge.d.ts +1 -0
  758. package/dist/functions/charge.d.ts.map +1 -1
  759. package/dist/functions/charge.lua +24 -36
  760. package/dist/functions/chargeBar.d.ts +1 -0
  761. package/dist/functions/chargeBar.d.ts.map +1 -1
  762. package/dist/functions/chargeBar.lua +5 -5
  763. package/dist/functions/collectibleCacheFlag.d.ts +1 -0
  764. package/dist/functions/collectibleCacheFlag.d.ts.map +1 -1
  765. package/dist/functions/collectibleCacheFlag.lua +11 -12
  766. package/dist/functions/collectibleSet.d.ts +1 -0
  767. package/dist/functions/collectibleSet.d.ts.map +1 -1
  768. package/dist/functions/collectibleSet.lua +17 -17
  769. package/dist/functions/collectibleTag.d.ts +1 -0
  770. package/dist/functions/collectibleTag.d.ts.map +1 -1
  771. package/dist/functions/collectibleTag.lua +13 -14
  772. package/dist/functions/collectibles.d.ts +1 -0
  773. package/dist/functions/collectibles.d.ts.map +1 -1
  774. package/dist/functions/collectibles.lua +68 -69
  775. package/dist/functions/color.d.ts +1 -0
  776. package/dist/functions/color.d.ts.map +1 -1
  777. package/dist/functions/color.lua +19 -21
  778. package/dist/functions/curses.d.ts +1 -0
  779. package/dist/functions/curses.d.ts.map +1 -1
  780. package/dist/functions/curses.lua +3 -3
  781. package/dist/functions/debug.d.ts +1 -0
  782. package/dist/functions/debug.d.ts.map +1 -1
  783. package/dist/functions/debug.lua +15 -15
  784. package/dist/functions/deepCopy.d.ts +1 -0
  785. package/dist/functions/deepCopy.d.ts.map +1 -1
  786. package/dist/functions/deepCopy.lua +73 -169
  787. package/dist/functions/deepCopyTests.d.ts +1 -0
  788. package/dist/functions/deepCopyTests.d.ts.map +1 -1
  789. package/dist/functions/deepCopyTests.lua +81 -81
  790. package/dist/functions/dimensions.d.ts +1 -0
  791. package/dist/functions/dimensions.d.ts.map +1 -1
  792. package/dist/functions/dimensions.lua +7 -7
  793. package/dist/functions/direction.d.ts +1 -0
  794. package/dist/functions/direction.d.ts.map +1 -1
  795. package/dist/functions/direction.lua +4 -4
  796. package/dist/functions/doors.d.ts +1 -0
  797. package/dist/functions/doors.d.ts.map +1 -1
  798. package/dist/functions/doors.lua +74 -77
  799. package/dist/functions/easing.d.ts +1 -0
  800. package/dist/functions/easing.d.ts.map +1 -1
  801. package/dist/functions/easing.lua +32 -32
  802. package/dist/functions/eden.d.ts +1 -0
  803. package/dist/functions/eden.d.ts.map +1 -1
  804. package/dist/functions/eden.lua +9 -9
  805. package/dist/functions/effects.d.ts +1 -0
  806. package/dist/functions/effects.d.ts.map +1 -1
  807. package/dist/functions/effects.lua +2 -2
  808. package/dist/functions/entities.d.ts +1 -0
  809. package/dist/functions/entities.d.ts.map +1 -1
  810. package/dist/functions/entities.lua +41 -48
  811. package/dist/functions/entitiesSpecific.d.ts +1 -0
  812. package/dist/functions/entitiesSpecific.d.ts.map +1 -1
  813. package/dist/functions/entitiesSpecific.lua +70 -96
  814. package/dist/functions/entityTypes.d.ts +1 -0
  815. package/dist/functions/entityTypes.d.ts.map +1 -1
  816. package/dist/functions/entityTypes.lua +1 -1
  817. package/dist/functions/enums.d.ts +1 -0
  818. package/dist/functions/enums.d.ts.map +1 -1
  819. package/dist/functions/enums.lua +19 -19
  820. package/dist/functions/familiars.d.ts +1 -0
  821. package/dist/functions/familiars.d.ts.map +1 -1
  822. package/dist/functions/familiars.lua +5 -6
  823. package/dist/functions/flag.d.ts +1 -0
  824. package/dist/functions/flag.d.ts.map +1 -1
  825. package/dist/functions/flag.lua +8 -8
  826. package/dist/functions/flying.d.ts +1 -0
  827. package/dist/functions/flying.d.ts.map +1 -1
  828. package/dist/functions/flying.lua +9 -12
  829. package/dist/functions/globals.d.ts +1 -0
  830. package/dist/functions/globals.d.ts.map +1 -1
  831. package/dist/functions/globals.lua +14 -17
  832. package/dist/functions/gridEntities.d.ts +1 -0
  833. package/dist/functions/gridEntities.d.ts.map +1 -1
  834. package/dist/functions/gridEntities.lua +58 -64
  835. package/dist/functions/gridEntitiesSpecific.d.ts +1 -0
  836. package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -1
  837. package/dist/functions/gridEntitiesSpecific.lua +92 -92
  838. package/dist/functions/hex.d.ts +1 -0
  839. package/dist/functions/hex.d.ts.map +1 -1
  840. package/dist/functions/hex.lua +9 -12
  841. package/dist/functions/initArray.d.ts +1 -0
  842. package/dist/functions/initArray.d.ts.map +1 -1
  843. package/dist/functions/initArray.lua +3 -4
  844. package/dist/functions/input.d.ts +1 -0
  845. package/dist/functions/input.d.ts.map +1 -1
  846. package/dist/functions/input.lua +22 -25
  847. package/dist/functions/isaacAPIClass.d.ts +1 -0
  848. package/dist/functions/isaacAPIClass.d.ts.map +1 -1
  849. package/dist/functions/isaacAPIClass.lua +47 -47
  850. package/dist/functions/itemPool.d.ts +1 -0
  851. package/dist/functions/itemPool.d.ts.map +1 -1
  852. package/dist/functions/itemPool.lua +17 -19
  853. package/dist/functions/jsonHelpers.d.ts +1 -0
  854. package/dist/functions/jsonHelpers.d.ts.map +1 -1
  855. package/dist/functions/jsonHelpers.lua +3 -3
  856. package/dist/functions/jsonRoom.d.ts +1 -0
  857. package/dist/functions/jsonRoom.d.ts.map +1 -1
  858. package/dist/functions/jsonRoom.lua +16 -22
  859. package/dist/functions/kColor.d.ts +1 -0
  860. package/dist/functions/kColor.d.ts.map +1 -1
  861. package/dist/functions/kColor.lua +19 -21
  862. package/dist/functions/language.d.ts +1 -0
  863. package/dist/functions/language.d.ts.map +1 -1
  864. package/dist/functions/language.lua +1 -1
  865. package/dist/functions/level.d.ts +1 -0
  866. package/dist/functions/level.d.ts.map +1 -1
  867. package/dist/functions/level.lua +5 -5
  868. package/dist/functions/levelGrid.d.ts +1 -0
  869. package/dist/functions/levelGrid.d.ts.map +1 -1
  870. package/dist/functions/levelGrid.lua +67 -67
  871. package/dist/functions/log.d.ts +1 -0
  872. package/dist/functions/log.d.ts.map +1 -1
  873. package/dist/functions/log.lua +128 -240
  874. package/dist/functions/logEntities.d.ts +1 -0
  875. package/dist/functions/logEntities.d.ts.map +1 -1
  876. package/dist/functions/logEntities.lua +29 -32
  877. package/dist/functions/map.d.ts +1 -0
  878. package/dist/functions/map.d.ts.map +1 -1
  879. package/dist/functions/map.lua +5 -5
  880. package/dist/functions/math.d.ts +1 -0
  881. package/dist/functions/math.d.ts.map +1 -1
  882. package/dist/functions/math.lua +14 -14
  883. package/dist/functions/mergeTests.d.ts +1 -0
  884. package/dist/functions/mergeTests.d.ts.map +1 -1
  885. package/dist/functions/mergeTests.lua +47 -47
  886. package/dist/functions/minimap.d.ts +1 -0
  887. package/dist/functions/minimap.d.ts.map +1 -1
  888. package/dist/functions/minimap.lua +12 -12
  889. package/dist/functions/nextStage.d.ts +1 -0
  890. package/dist/functions/nextStage.d.ts.map +1 -1
  891. package/dist/functions/nextStage.lua +39 -39
  892. package/dist/functions/npcs.d.ts +1 -0
  893. package/dist/functions/npcs.d.ts.map +1 -1
  894. package/dist/functions/npcs.lua +15 -21
  895. package/dist/functions/pickupVariants.d.ts +1 -0
  896. package/dist/functions/pickupVariants.d.ts.map +1 -1
  897. package/dist/functions/pickupVariants.lua +11 -11
  898. package/dist/functions/pickups.d.ts +1 -0
  899. package/dist/functions/pickups.d.ts.map +1 -1
  900. package/dist/functions/pickups.lua +9 -9
  901. package/dist/functions/pickupsSpecific.d.ts +1 -0
  902. package/dist/functions/pickupsSpecific.d.ts.map +1 -1
  903. package/dist/functions/pickupsSpecific.lua +58 -76
  904. package/dist/functions/pills.d.ts +1 -0
  905. package/dist/functions/pills.d.ts.map +1 -1
  906. package/dist/functions/pills.lua +22 -25
  907. package/dist/functions/playerCenter.d.ts +1 -0
  908. package/dist/functions/playerCenter.d.ts.map +1 -1
  909. package/dist/functions/playerCenter.lua +5 -6
  910. package/dist/functions/playerDataStructures.d.ts +1 -0
  911. package/dist/functions/playerDataStructures.d.ts.map +1 -1
  912. package/dist/functions/playerDataStructures.lua +16 -16
  913. package/dist/functions/playerHealth.d.ts +1 -0
  914. package/dist/functions/playerHealth.d.ts.map +1 -1
  915. package/dist/functions/playerHealth.lua +47 -54
  916. package/dist/functions/playerIndex.d.ts +1 -0
  917. package/dist/functions/playerIndex.d.ts.map +1 -1
  918. package/dist/functions/playerIndex.lua +17 -17
  919. package/dist/functions/playerStats.d.ts +1 -0
  920. package/dist/functions/playerStats.d.ts.map +1 -1
  921. package/dist/functions/playerStats.lua +1 -1
  922. package/dist/functions/players.d.ts +1 -0
  923. package/dist/functions/players.d.ts.map +1 -1
  924. package/dist/functions/players.lua +81 -82
  925. package/dist/functions/pocketItems.d.ts +1 -0
  926. package/dist/functions/pocketItems.d.ts.map +1 -1
  927. package/dist/functions/pocketItems.lua +12 -12
  928. package/dist/functions/positionVelocity.d.ts +1 -0
  929. package/dist/functions/positionVelocity.d.ts.map +1 -1
  930. package/dist/functions/positionVelocity.lua +15 -15
  931. package/dist/functions/pressurePlate.d.ts +1 -0
  932. package/dist/functions/pressurePlate.d.ts.map +1 -1
  933. package/dist/functions/pressurePlate.lua +2 -2
  934. package/dist/functions/projectiles.d.ts +1 -0
  935. package/dist/functions/projectiles.d.ts.map +1 -1
  936. package/dist/functions/projectiles.lua +7 -19
  937. package/dist/functions/random.d.ts +1 -0
  938. package/dist/functions/random.d.ts.map +1 -1
  939. package/dist/functions/random.lua +9 -9
  940. package/dist/functions/reorderedCallbacks.d.ts +1 -0
  941. package/dist/functions/reorderedCallbacks.d.ts.map +1 -1
  942. package/dist/functions/reorderedCallbacks.lua +6 -6
  943. package/dist/functions/revive.d.ts +1 -0
  944. package/dist/functions/revive.d.ts.map +1 -1
  945. package/dist/functions/revive.lua +16 -16
  946. package/dist/functions/rng.d.ts +1 -0
  947. package/dist/functions/rng.d.ts.map +1 -1
  948. package/dist/functions/rng.lua +25 -27
  949. package/dist/functions/rockAlt.d.ts +1 -0
  950. package/dist/functions/rockAlt.d.ts.map +1 -1
  951. package/dist/functions/rockAlt.lua +74 -111
  952. package/dist/functions/roomData.d.ts +1 -0
  953. package/dist/functions/roomData.d.ts.map +1 -1
  954. package/dist/functions/roomData.lua +30 -30
  955. package/dist/functions/roomGrid.d.ts +1 -0
  956. package/dist/functions/roomGrid.d.ts.map +1 -1
  957. package/dist/functions/roomGrid.lua +17 -17
  958. package/dist/functions/roomShape.d.ts +1 -0
  959. package/dist/functions/roomShape.d.ts.map +1 -1
  960. package/dist/functions/roomShape.lua +13 -13
  961. package/dist/functions/roomTransition.d.ts +1 -0
  962. package/dist/functions/roomTransition.d.ts.map +1 -1
  963. package/dist/functions/roomTransition.lua +10 -19
  964. package/dist/functions/rooms.d.ts +1 -0
  965. package/dist/functions/rooms.d.ts.map +1 -1
  966. package/dist/functions/rooms.lua +87 -87
  967. package/dist/functions/run.d.ts +1 -0
  968. package/dist/functions/run.d.ts.map +1 -1
  969. package/dist/functions/run.lua +11 -17
  970. package/dist/functions/saveFile.d.ts +1 -0
  971. package/dist/functions/saveFile.d.ts.map +1 -1
  972. package/dist/functions/saveFile.lua +3 -3
  973. package/dist/functions/seeds.d.ts +1 -0
  974. package/dist/functions/seeds.d.ts.map +1 -1
  975. package/dist/functions/seeds.lua +3 -3
  976. package/dist/functions/serialization.d.ts +1 -0
  977. package/dist/functions/serialization.d.ts.map +1 -1
  978. package/dist/functions/serialization.lua +11 -11
  979. package/dist/functions/set.d.ts +1 -0
  980. package/dist/functions/set.d.ts.map +1 -1
  981. package/dist/functions/set.lua +15 -15
  982. package/dist/functions/sound.d.ts +1 -0
  983. package/dist/functions/sound.d.ts.map +1 -1
  984. package/dist/functions/sound.lua +2 -2
  985. package/dist/functions/spawnCollectible.d.ts +1 -0
  986. package/dist/functions/spawnCollectible.d.ts.map +1 -1
  987. package/dist/functions/spawnCollectible.lua +9 -11
  988. package/dist/functions/sprites.d.ts +1 -0
  989. package/dist/functions/sprites.d.ts.map +1 -1
  990. package/dist/functions/sprites.lua +7 -13
  991. package/dist/functions/stage.d.ts +1 -0
  992. package/dist/functions/stage.d.ts.map +1 -1
  993. package/dist/functions/stage.lua +26 -29
  994. package/dist/functions/stats.d.ts +1 -0
  995. package/dist/functions/stats.d.ts.map +1 -1
  996. package/dist/functions/stats.lua +3 -3
  997. package/dist/functions/string.d.ts +1 -0
  998. package/dist/functions/string.d.ts.map +1 -1
  999. package/dist/functions/string.lua +7 -7
  1000. package/dist/functions/table.d.ts +1 -0
  1001. package/dist/functions/table.d.ts.map +1 -1
  1002. package/dist/functions/table.lua +16 -16
  1003. package/dist/functions/tears.d.ts +1 -0
  1004. package/dist/functions/tears.d.ts.map +1 -1
  1005. package/dist/functions/tears.lua +5 -5
  1006. package/dist/functions/transformations.d.ts +1 -0
  1007. package/dist/functions/transformations.d.ts.map +1 -1
  1008. package/dist/functions/transformations.lua +13 -14
  1009. package/dist/functions/trinketCacheFlag.d.ts +1 -0
  1010. package/dist/functions/trinketCacheFlag.d.ts.map +1 -1
  1011. package/dist/functions/trinketCacheFlag.lua +10 -10
  1012. package/dist/functions/trinketGive.d.ts +1 -0
  1013. package/dist/functions/trinketGive.d.ts.map +1 -1
  1014. package/dist/functions/trinketGive.lua +12 -14
  1015. package/dist/functions/trinketSet.d.ts +1 -0
  1016. package/dist/functions/trinketSet.d.ts.map +1 -1
  1017. package/dist/functions/trinketSet.lua +17 -17
  1018. package/dist/functions/trinkets.d.ts +1 -0
  1019. package/dist/functions/trinkets.d.ts.map +1 -1
  1020. package/dist/functions/trinkets.lua +22 -22
  1021. package/dist/functions/tstlClass.d.ts +1 -0
  1022. package/dist/functions/tstlClass.d.ts.map +1 -1
  1023. package/dist/functions/tstlClass.lua +19 -19
  1024. package/dist/functions/types.d.ts +1 -0
  1025. package/dist/functions/types.d.ts.map +1 -1
  1026. package/dist/functions/types.lua +17 -17
  1027. package/dist/functions/ui.d.ts +1 -0
  1028. package/dist/functions/ui.d.ts.map +1 -1
  1029. package/dist/functions/ui.lua +19 -19
  1030. package/dist/functions/utils.d.ts +1 -0
  1031. package/dist/functions/utils.d.ts.map +1 -1
  1032. package/dist/functions/utils.lua +12 -12
  1033. package/dist/functions/vector.d.ts +1 -0
  1034. package/dist/functions/vector.d.ts.map +1 -1
  1035. package/dist/functions/vector.lua +21 -23
  1036. package/dist/index.d.ts +92 -11
  1037. package/dist/index.d.ts.map +1 -1
  1038. package/dist/initCustomCallbacks.d.ts +1 -0
  1039. package/dist/initCustomCallbacks.d.ts.map +1 -1
  1040. package/dist/initCustomCallbacks.lua +72 -72
  1041. package/dist/initFeatures.d.ts +1 -0
  1042. package/dist/initFeatures.d.ts.map +1 -1
  1043. package/dist/initFeatures.lua +34 -34
  1044. package/dist/interfaces/ChargeBarSprites.d.ts +1 -0
  1045. package/dist/interfaces/ChargeBarSprites.d.ts.map +1 -1
  1046. package/dist/interfaces/Corner.d.ts +1 -0
  1047. package/dist/interfaces/Corner.d.ts.map +1 -1
  1048. package/dist/interfaces/CustomStageTSConfig.d.ts +1 -11
  1049. package/dist/interfaces/CustomStageTSConfig.d.ts.map +1 -1
  1050. package/dist/interfaces/GridEntityCustomData.d.ts +1 -0
  1051. package/dist/interfaces/GridEntityCustomData.d.ts.map +1 -1
  1052. package/dist/interfaces/JSONRoomsFile.d.ts +1 -0
  1053. package/dist/interfaces/JSONRoomsFile.d.ts.map +1 -1
  1054. package/dist/interfaces/PlayerHealth.d.ts +1 -0
  1055. package/dist/interfaces/PlayerHealth.d.ts.map +1 -1
  1056. package/dist/interfaces/PocketItemDescription.d.ts +1 -0
  1057. package/dist/interfaces/PocketItemDescription.d.ts.map +1 -1
  1058. package/dist/interfaces/RoomDescription.d.ts +1 -0
  1059. package/dist/interfaces/RoomDescription.d.ts.map +1 -1
  1060. package/dist/interfaces/SaveData.d.ts +1 -0
  1061. package/dist/interfaces/SaveData.d.ts.map +1 -1
  1062. package/dist/interfaces/SaveData.lua +10 -10
  1063. package/dist/interfaces/StatTypeType.d.ts +1 -0
  1064. package/dist/interfaces/StatTypeType.d.ts.map +1 -1
  1065. package/dist/interfaces/TrinketSituation.d.ts +1 -0
  1066. package/dist/interfaces/TrinketSituation.d.ts.map +1 -1
  1067. package/dist/interfaces/private/AddCallbackParameterCustom.d.ts +1 -0
  1068. package/dist/interfaces/private/AddCallbackParameterCustom.d.ts.map +1 -1
  1069. package/dist/interfaces/private/CustomStage.d.ts +1 -0
  1070. package/dist/interfaces/private/CustomStage.d.ts.map +1 -1
  1071. package/dist/interfaces/private/CustomTrapdoorDescription.d.ts +1 -0
  1072. package/dist/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
  1073. package/dist/interfaces/private/CustomTrapdoorDestination.d.ts +1 -0
  1074. package/dist/interfaces/private/CustomTrapdoorDestination.d.ts.map +1 -1
  1075. package/dist/interfaces/private/TSTLClassMetatable.d.ts +1 -0
  1076. package/dist/interfaces/private/TSTLClassMetatable.d.ts.map +1 -1
  1077. package/dist/maps/PHDPillConversions.d.ts +1 -0
  1078. package/dist/maps/PHDPillConversions.d.ts.map +1 -1
  1079. package/dist/maps/cardMap.d.ts +1 -0
  1080. package/dist/maps/cardMap.d.ts.map +1 -1
  1081. package/dist/maps/characterMap.d.ts +1 -0
  1082. package/dist/maps/characterMap.d.ts.map +1 -1
  1083. package/dist/maps/collectibleDescriptionMap.d.ts +1 -0
  1084. package/dist/maps/collectibleDescriptionMap.d.ts.map +1 -1
  1085. package/dist/maps/collectibleNameMap.d.ts +1 -0
  1086. package/dist/maps/collectibleNameMap.d.ts.map +1 -1
  1087. package/dist/maps/defaultPlayerStatMap.d.ts +1 -0
  1088. package/dist/maps/defaultPlayerStatMap.d.ts.map +1 -1
  1089. package/dist/maps/defaultPlayerStatMap.lua +1 -1
  1090. package/dist/maps/falsePHDPillConversions.d.ts +1 -0
  1091. package/dist/maps/falsePHDPillConversions.d.ts.map +1 -1
  1092. package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +1 -0
  1093. package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts.map +1 -1
  1094. package/dist/maps/gridEntityXMLMap.d.ts +1 -0
  1095. package/dist/maps/gridEntityXMLMap.d.ts.map +1 -1
  1096. package/dist/maps/keyboardToString.d.ts +1 -0
  1097. package/dist/maps/keyboardToString.d.ts.map +1 -1
  1098. package/dist/maps/pillEffectMap.d.ts +1 -0
  1099. package/dist/maps/pillEffectMap.d.ts.map +1 -1
  1100. package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +1 -0
  1101. package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts.map +1 -1
  1102. package/dist/maps/roomTypeMap.d.ts +1 -0
  1103. package/dist/maps/roomTypeMap.d.ts.map +1 -1
  1104. package/dist/maps/trinketDescriptionMap.d.ts +1 -0
  1105. package/dist/maps/trinketDescriptionMap.d.ts.map +1 -1
  1106. package/dist/maps/trinketNameMap.d.ts +1 -0
  1107. package/dist/maps/trinketNameMap.d.ts.map +1 -1
  1108. package/dist/objects/LRoomShapeToRectangles.d.ts +1 -0
  1109. package/dist/objects/LRoomShapeToRectangles.d.ts.map +1 -1
  1110. package/dist/objects/backdropTypeToRockAltType.d.ts +1 -0
  1111. package/dist/objects/backdropTypeToRockAltType.d.ts.map +1 -1
  1112. package/dist/objects/bossNamePNGFileNames.d.ts +1 -0
  1113. package/dist/objects/bossNamePNGFileNames.d.ts.map +1 -1
  1114. package/dist/objects/bossPortraitPNGFileNames.d.ts +1 -0
  1115. package/dist/objects/bossPortraitPNGFileNames.d.ts.map +1 -1
  1116. package/dist/objects/callbackRegisterFunctions.d.ts +1 -0
  1117. package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
  1118. package/dist/objects/cardDescriptions.d.ts +1 -0
  1119. package/dist/objects/cardDescriptions.d.ts.map +1 -1
  1120. package/dist/objects/cardNames.d.ts +1 -0
  1121. package/dist/objects/cardNames.d.ts.map +1 -1
  1122. package/dist/objects/cardTypeToItemConfigCardType.d.ts +1 -0
  1123. package/dist/objects/cardTypeToItemConfigCardType.d.ts.map +1 -1
  1124. package/dist/objects/challengeNames.d.ts +1 -0
  1125. package/dist/objects/challengeNames.d.ts.map +1 -1
  1126. package/dist/objects/characterDamageMultipliers.d.ts +1 -0
  1127. package/dist/objects/characterDamageMultipliers.d.ts.map +1 -1
  1128. package/dist/objects/characterNames.d.ts +1 -0
  1129. package/dist/objects/characterNames.d.ts.map +1 -1
  1130. package/dist/objects/coinSubTypeToValue.d.ts +1 -0
  1131. package/dist/objects/coinSubTypeToValue.d.ts.map +1 -1
  1132. package/dist/objects/colors.d.ts +1 -0
  1133. package/dist/objects/colors.d.ts.map +1 -1
  1134. package/dist/objects/directionNames.d.ts +1 -0
  1135. package/dist/objects/directionNames.d.ts.map +1 -1
  1136. package/dist/objects/directionToDegrees.d.ts +1 -0
  1137. package/dist/objects/directionToDegrees.d.ts.map +1 -1
  1138. package/dist/objects/directionToVector.d.ts +1 -0
  1139. package/dist/objects/directionToVector.d.ts.map +1 -1
  1140. package/dist/objects/doorSlotFlagToDoorSlot.d.ts +1 -0
  1141. package/dist/objects/doorSlotFlagToDoorSlot.d.ts.map +1 -1
  1142. package/dist/objects/doorSlotToDirection.d.ts +1 -0
  1143. package/dist/objects/doorSlotToDirection.d.ts.map +1 -1
  1144. package/dist/objects/doorSlotToDoorSlotFlag.d.ts +1 -0
  1145. package/dist/objects/doorSlotToDoorSlotFlag.d.ts.map +1 -1
  1146. package/dist/objects/isaacAPIClassTypeToBrand.d.ts +1 -0
  1147. package/dist/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -1
  1148. package/dist/objects/isaacAPIClassTypeToFunctions.d.ts +1 -0
  1149. package/dist/objects/isaacAPIClassTypeToFunctions.d.ts.map +1 -1
  1150. package/dist/objects/languageNames.d.ts +1 -0
  1151. package/dist/objects/languageNames.d.ts.map +1 -1
  1152. package/dist/objects/oppositeDoorSlots.d.ts +1 -0
  1153. package/dist/objects/oppositeDoorSlots.d.ts.map +1 -1
  1154. package/dist/objects/pillEffectClasses.d.ts +1 -0
  1155. package/dist/objects/pillEffectClasses.d.ts.map +1 -1
  1156. package/dist/objects/pillEffectNames.d.ts +1 -0
  1157. package/dist/objects/pillEffectNames.d.ts.map +1 -1
  1158. package/dist/objects/pillEffectTypes.d.ts +1 -0
  1159. package/dist/objects/pillEffectTypes.d.ts.map +1 -1
  1160. package/dist/objects/playerNamePNGFileNames.d.ts +1 -0
  1161. package/dist/objects/playerNamePNGFileNames.d.ts.map +1 -1
  1162. package/dist/objects/playerPortraitPNGFileNames.d.ts +1 -0
  1163. package/dist/objects/playerPortraitPNGFileNames.d.ts.map +1 -1
  1164. package/dist/objects/roomShapeBounds.d.ts +1 -0
  1165. package/dist/objects/roomShapeBounds.d.ts.map +1 -1
  1166. package/dist/objects/roomShapeCorners.d.ts +1 -0
  1167. package/dist/objects/roomShapeCorners.d.ts.map +1 -1
  1168. package/dist/objects/roomShapeLayoutSizes.d.ts +1 -0
  1169. package/dist/objects/roomShapeLayoutSizes.d.ts.map +1 -1
  1170. package/dist/objects/roomShapeToBottomRightPosition.d.ts +1 -0
  1171. package/dist/objects/roomShapeToBottomRightPosition.d.ts.map +1 -1
  1172. package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts +1 -0
  1173. package/dist/objects/roomShapeToDoorSlotCoordinates.d.ts.map +1 -1
  1174. package/dist/objects/roomShapeToDoorSlots.d.ts +1 -0
  1175. package/dist/objects/roomShapeToDoorSlots.d.ts.map +1 -1
  1176. package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +1 -0
  1177. package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts.map +1 -1
  1178. package/dist/objects/roomShapeToGridWidth.d.ts +1 -0
  1179. package/dist/objects/roomShapeToGridWidth.d.ts.map +1 -1
  1180. package/dist/objects/roomShapeToTopLeftPosition.d.ts +1 -0
  1181. package/dist/objects/roomShapeToTopLeftPosition.d.ts.map +1 -1
  1182. package/dist/objects/roomShapeVolumes.d.ts +1 -0
  1183. package/dist/objects/roomShapeVolumes.d.ts.map +1 -1
  1184. package/dist/objects/roomTypeGotoPrefixes.d.ts +1 -0
  1185. package/dist/objects/roomTypeGotoPrefixes.d.ts.map +1 -1
  1186. package/dist/objects/roomTypeNames.d.ts +1 -0
  1187. package/dist/objects/roomTypeNames.d.ts.map +1 -1
  1188. package/dist/objects/stageTypeSuffixes.d.ts +1 -0
  1189. package/dist/objects/stageTypeSuffixes.d.ts.map +1 -1
  1190. package/dist/objects/stageTypeToLetter.d.ts +1 -0
  1191. package/dist/objects/stageTypeToLetter.d.ts.map +1 -1
  1192. package/dist/objects/transformationNames.d.ts +1 -0
  1193. package/dist/objects/transformationNames.d.ts.map +1 -1
  1194. package/dist/objects/versusScreenBackgroundColors.d.ts +1 -0
  1195. package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
  1196. package/dist/objects/versusScreenDirtSpotColors.d.ts +1 -0
  1197. package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
  1198. package/dist/patchErrorFunctions.d.ts +1 -0
  1199. package/dist/patchErrorFunctions.d.ts.map +1 -1
  1200. package/dist/patchErrorFunctions.lua +7 -7
  1201. package/dist/sets/LRoomShapesSet.d.ts +1 -0
  1202. package/dist/sets/LRoomShapesSet.d.ts.map +1 -1
  1203. package/dist/sets/bossSets.d.ts +1 -0
  1204. package/dist/sets/bossSets.d.ts.map +1 -1
  1205. package/dist/sets/bossSets.lua +4 -4
  1206. package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +1 -0
  1207. package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts.map +1 -1
  1208. package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +1 -0
  1209. package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts.map +1 -1
  1210. package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +1 -0
  1211. package/dist/sets/charactersWithFreeDevilDealsSet.d.ts.map +1 -1
  1212. package/dist/sets/charactersWithNoRedHeartsSet.d.ts +1 -0
  1213. package/dist/sets/charactersWithNoRedHeartsSet.d.ts.map +1 -1
  1214. package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +1 -0
  1215. package/dist/sets/charactersWithNoSoulHeartsSet.d.ts.map +1 -1
  1216. package/dist/sets/chestPickupVariantsSet.d.ts +1 -0
  1217. package/dist/sets/chestPickupVariantsSet.d.ts.map +1 -1
  1218. package/dist/sets/consoleCommandsSet.d.ts +1 -0
  1219. package/dist/sets/consoleCommandsSet.d.ts.map +1 -1
  1220. package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +1 -0
  1221. package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts.map +1 -1
  1222. package/dist/sets/lostStyleCharactersSet.d.ts +1 -0
  1223. package/dist/sets/lostStyleCharactersSet.d.ts.map +1 -1
  1224. package/dist/sets/mineShaftRoomSubTypesSet.d.ts +1 -0
  1225. package/dist/sets/mineShaftRoomSubTypesSet.d.ts.map +1 -1
  1226. package/dist/sets/narrowRoomShapesSet.d.ts +1 -0
  1227. package/dist/sets/narrowRoomShapesSet.d.ts.map +1 -1
  1228. package/dist/sets/redHeartSubTypesSet.d.ts +1 -0
  1229. package/dist/sets/redHeartSubTypesSet.d.ts.map +1 -1
  1230. package/dist/sets/sinEntityTypesSet.d.ts +1 -0
  1231. package/dist/sets/sinEntityTypesSet.d.ts.map +1 -1
  1232. package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +1 -0
  1233. package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts.map +1 -1
  1234. package/dist/sets/storyBossesSet.d.ts +1 -0
  1235. package/dist/sets/storyBossesSet.d.ts.map +1 -1
  1236. package/dist/shaderCrashFix.d.ts +1 -0
  1237. package/dist/shaderCrashFix.d.ts.map +1 -1
  1238. package/dist/shaderCrashFix.lua +2 -2
  1239. package/dist/types/AnyEntity.d.ts +1 -0
  1240. package/dist/types/AnyEntity.d.ts.map +1 -1
  1241. package/dist/types/AnyGridEntity.d.ts +1 -0
  1242. package/dist/types/AnyGridEntity.d.ts.map +1 -1
  1243. package/dist/types/CollectibleIndex.d.ts +1 -0
  1244. package/dist/types/CollectibleIndex.d.ts.map +1 -1
  1245. package/dist/types/Immutable.d.ts +1 -0
  1246. package/dist/types/Immutable.d.ts.map +1 -1
  1247. package/dist/types/PickingUpItem.d.ts +1 -0
  1248. package/dist/types/PickingUpItem.d.ts.map +1 -1
  1249. package/dist/types/PickingUpItem.lua +5 -5
  1250. package/dist/types/PickupIndex.d.ts +1 -0
  1251. package/dist/types/PickupIndex.d.ts.map +1 -1
  1252. package/dist/types/PlayerIndex.d.ts +1 -0
  1253. package/dist/types/PlayerIndex.d.ts.map +1 -1
  1254. package/dist/types/PossibleStatType.d.ts +1 -0
  1255. package/dist/types/PossibleStatType.d.ts.map +1 -1
  1256. package/dist/types/SerializedIsaacAPIClass.d.ts +1 -0
  1257. package/dist/types/SerializedIsaacAPIClass.d.ts.map +1 -1
  1258. package/dist/types/TSTLClass.d.ts +1 -0
  1259. package/dist/types/TSTLClass.d.ts.map +1 -1
  1260. package/package.json +1 -1
  1261. package/src/features/customPickup.ts +3 -3
@@ -10,13 +10,13 @@ local isNumber = ____types.isNumber
10
10
  local isString = ____types.isString
11
11
  --- In a `Map`, you can use the `clear` method to delete every element. However, in a `LuaMap`, the
12
12
  -- `clear` method does not exist. Use this helper function as a drop-in replacement for this.
13
- function ____exports.clearTable(self, luaMap)
13
+ function ____exports.clearTable(luaMap)
14
14
  for key in pairs(luaMap) do
15
15
  luaMap[key] = nil
16
16
  end
17
17
  end
18
18
  --- Helper function to copy specific values from a object to a table.
19
- function ____exports.copyValuesToTable(self, object, keys, luaMap)
19
+ function ____exports.copyValuesToTable(object, keys, luaMap)
20
20
  local otherTable = object
21
21
  for ____, key in ipairs(keys) do
22
22
  local value = otherTable[key]
@@ -27,7 +27,7 @@ end
27
27
  -- specific value does not exist on the table.
28
28
  --
29
29
  -- This function is variadic, meaning that you can specify N arguments to get N values.
30
- function ____exports.getBooleansFromTable(self, luaMap, objectName, ...)
30
+ function ____exports.getBooleansFromTable(luaMap, objectName, ...)
31
31
  local keys = {...}
32
32
  local booleans = {}
33
33
  for ____, key in ipairs(keys) do
@@ -35,7 +35,7 @@ function ____exports.getBooleansFromTable(self, luaMap, objectName, ...)
35
35
  if value == nil then
36
36
  error(((("Failed to find a value for \"" .. key) .. "\" in a table representing a \"") .. objectName) .. "\" object.")
37
37
  end
38
- if isBoolean(nil, value) then
38
+ if isBoolean(value) then
39
39
  booleans[#booleans + 1] = value
40
40
  else
41
41
  error((((("Failed to get the boolean for the \"" .. key) .. "\" value of a table representing a \"") .. objectName) .. "\" object because the type was: ") .. __TS__TypeOf(value))
@@ -47,7 +47,7 @@ end
47
47
  -- error if the specific value does not exist on the table or if it cannot be converted to a number.
48
48
  --
49
49
  -- This function is variadic, meaning that you can specify N arguments to get N values.
50
- function ____exports.getNumbersFromTable(self, luaMap, objectName, ...)
50
+ function ____exports.getNumbersFromTable(luaMap, objectName, ...)
51
51
  local keys = {...}
52
52
  local numbers = {}
53
53
  for ____, key in ipairs(keys) do
@@ -55,9 +55,9 @@ function ____exports.getNumbersFromTable(self, luaMap, objectName, ...)
55
55
  if value == nil then
56
56
  error(((("Failed to find a value for \"" .. key) .. "\" in a table representing a \"") .. objectName) .. "\" object.")
57
57
  end
58
- if isNumber(nil, value) then
58
+ if isNumber(value) then
59
59
  numbers[#numbers + 1] = value
60
- elseif isString(nil, value) then
60
+ elseif isString(value) then
61
61
  local number = tonumber(value)
62
62
  if number == nil then
63
63
  error((((("Failed to convert the \"" .. key) .. "\" value of a table representing a \"") .. objectName) .. "\" object to a number: ") .. value)
@@ -73,7 +73,7 @@ end
73
73
  -- value does not exist on the table.
74
74
  --
75
75
  -- This function is variadic, meaning that you can specify N arguments to get N values.
76
- function ____exports.getStringsFromTable(self, luaMap, objectName, ...)
76
+ function ____exports.getStringsFromTable(luaMap, objectName, ...)
77
77
  local keys = {...}
78
78
  local strings = {}
79
79
  for ____, key in ipairs(keys) do
@@ -81,7 +81,7 @@ function ____exports.getStringsFromTable(self, luaMap, objectName, ...)
81
81
  if value == nil then
82
82
  error(((("Failed to find a value for \"" .. key) .. "\" in a table representing a \"") .. objectName) .. "\" object.")
83
83
  end
84
- if isString(nil, value) then
84
+ if isString(value) then
85
85
  strings[#strings + 1] = value
86
86
  else
87
87
  local ____string = tostring(value)
@@ -103,28 +103,28 @@ end
103
103
  -- @param inOrder Optional. Whether to iterate in order. True by default. You can dynamically set to
104
104
  -- false in situations where iterating randomly would not matter and you need the
105
105
  -- extra performance.
106
- function ____exports.iterateTableInOrder(self, luaMap, func, inOrder)
106
+ function ____exports.iterateTableInOrder(luaMap, func, inOrder)
107
107
  if inOrder == nil then
108
108
  inOrder = true
109
109
  end
110
110
  if not inOrder then
111
111
  for key, value in pairs(luaMap) do
112
- func(nil, key, value)
112
+ func(key, value)
113
113
  end
114
114
  return
115
115
  end
116
116
  local keys = __TS__ObjectKeys(luaMap)
117
117
  local hasAllNumberKeys = __TS__ArrayEvery(
118
118
  keys,
119
- function(____, key) return isNumber(nil, key) end
119
+ function(____, key) return isNumber(key) end
120
120
  )
121
121
  local hasAllStringKeys = __TS__ArrayEvery(
122
122
  keys,
123
- function(____, key) return isString(nil, key) end
123
+ function(____, key) return isString(key) end
124
124
  )
125
125
  if not hasAllNumberKeys and not hasAllStringKeys then
126
126
  for key, value in pairs(luaMap) do
127
- func(nil, key, value)
127
+ func(key, value)
128
128
  end
129
129
  return
130
130
  end
@@ -133,7 +133,7 @@ function ____exports.iterateTableInOrder(self, luaMap, func, inOrder)
133
133
  local keyIndex = key
134
134
  local value = luaMap[keyIndex]
135
135
  if value ~= nil then
136
- func(nil, keyIndex, value)
136
+ func(keyIndex, value)
137
137
  end
138
138
  end
139
139
  end
@@ -141,7 +141,7 @@ end
141
141
  --
142
142
  -- This function is variadic, meaning that you can specify as many arguments as you want to check
143
143
  -- for.
144
- function ____exports.tableHasKeys(self, luaMap, ...)
144
+ function ____exports.tableHasKeys(luaMap, ...)
145
145
  local keys = {...}
146
146
  return __TS__ArrayEvery(
147
147
  keys,
@@ -1,5 +1,6 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
2
  /// <reference types="isaac-typescript-definitions" />
3
+ /** @noSelfInFile */
3
4
  /**
4
5
  * - Converts the specified amount of tears stat into the format of `EntityPlayer.MaxFireDelay` and
5
6
  * adds it to the player.
@@ -1 +1 @@
1
- {"version":3,"file":"tears.d.ts","sourceRoot":"","sources":["../../src/functions/tears.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,KAAK,GAAG,IAAI,CAKzE;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,KAAK,GAAG,KAAK,CAEpD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,KAAK,GAAG,KAAK,CAEpD"}
1
+ {"version":3,"file":"tears.d.ts","sourceRoot":"","sources":["../../src/functions/tears.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,KAAK,GAAG,IAAI,CAKzE;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,KAAK,GAAG,KAAK,CAEpD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,KAAK,GAAG,KAAK,CAEpD"}
@@ -4,24 +4,24 @@ local ____exports = {}
4
4
  -- - If you already have a "tears" stat and you want to convert it back to MaxFireDelay, then use
5
5
  -- this function.
6
6
  -- - In this context, the "tears stat" represents what is shown on the in-game stat UI.
7
- function ____exports.getFireDelay(self, tearsStat)
7
+ function ____exports.getFireDelay(tearsStat)
8
8
  return math.max(30 / tearsStat - 1, -0.9999)
9
9
  end
10
10
  --- - The `EntityPlayer` object stores a player's tear rate in the `MaxFireDelay` field. This is
11
11
  -- equivalent to how many tears the player can shoot per frame.
12
12
  -- - If you want to convert this to the "tears" stat that is shown on the in-game stat UI, then use
13
13
  -- this function.
14
- function ____exports.getTearsStat(self, fireDelay)
14
+ function ____exports.getTearsStat(fireDelay)
15
15
  return 30 / (fireDelay + 1)
16
16
  end
17
17
  --- - Converts the specified amount of tears stat into the format of `EntityPlayer.MaxFireDelay` and
18
18
  -- adds it to the player.
19
19
  -- - This function should only be used inside the `EVALUATE_CACHE` callback.
20
20
  -- - In this context, the "tears stat" represents what is shown on the in-game stat UI.
21
- function ____exports.addTearsStat(self, player, tearsStat)
22
- local existingTearsStat = ____exports.getTearsStat(nil, player.MaxFireDelay)
21
+ function ____exports.addTearsStat(player, tearsStat)
22
+ local existingTearsStat = ____exports.getTearsStat(player.MaxFireDelay)
23
23
  local newTearsStat = existingTearsStat + tearsStat
24
- local newMaxFireDelay = ____exports.getFireDelay(nil, newTearsStat)
24
+ local newMaxFireDelay = ____exports.getFireDelay(newTearsStat)
25
25
  player.MaxFireDelay = newMaxFireDelay
26
26
  end
27
27
  return ____exports
@@ -1,3 +1,4 @@
1
+ /** @noSelfInFile */
1
2
  import { CollectibleType, PlayerForm } from "isaac-typescript-definitions";
2
3
  /**
3
4
  * Helper function to get all of the collectible types in the game that count towards a particular
@@ -1 +1 @@
1
- {"version":3,"file":"transformations.d.ts","sourceRoot":"","sources":["../../src/functions/transformations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,UAAU,EACX,MAAM,8BAA8B,CAAC;AAiCtC;;;;;;;;;GASG;AACH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,UAAU,GACrB,WAAW,CAAC,eAAe,CAAC,CAS9B;AAED,yFAAyF;AACzF,wBAAgB,yCAAyC,CACvD,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,UAAU,GACrB,GAAG,CAGL;AAED,6DAA6D;AAC7D,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,YAAY,GACnB,GAAG,CAAC,UAAU,CAAC,CASjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAEpE;AAED,wBAAgB,oCAAoC,CAClD,eAAe,EAAE,eAAe,GAC/B,GAAG,CAAC,UAAU,CAAC,CAiBjB;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAQrE;AAED,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAEtE"}
1
+ {"version":3,"file":"transformations.d.ts","sourceRoot":"","sources":["../../src/functions/transformations.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,eAAe,EAEf,UAAU,EACX,MAAM,8BAA8B,CAAC;AAiCtC;;;;;;;;;GASG;AACH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,UAAU,GACrB,WAAW,CAAC,eAAe,CAAC,CAS9B;AAED,yFAAyF;AACzF,wBAAgB,yCAAyC,CACvD,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,UAAU,GACrB,GAAG,CAGL;AAED,6DAA6D;AAC7D,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,YAAY,GACnB,GAAG,CAAC,UAAU,CAAC,CASjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAEpE;AAED,wBAAgB,oCAAoC,CAClD,eAAe,EAAE,eAAe,GAC/B,GAAG,CAAC,UAAU,CAAC,CAiBjB;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAQrE;AAED,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAEtE"}
@@ -43,26 +43,25 @@ local TRANSFORMATIONS_THAT_GRANT_FLYING = __TS__New(Set, {PlayerForm.GUPPY, Play
43
43
  -- ```ts
44
44
  -- const guppyCollectibleTypes = getCollectibleTypesForTransformation(PlayerForm.GUPPY);
45
45
  -- ```
46
- function ____exports.getCollectibleTypesForTransformation(self, playerForm)
46
+ function ____exports.getCollectibleTypesForTransformation(playerForm)
47
47
  local itemConfigTag = TRANSFORMATION_TO_TAG_MAP:get(playerForm)
48
48
  if itemConfigTag == nil then
49
49
  error(("Failed to get the collectible types for the transformation of " .. tostring(playerForm)) .. " because that transformation is not based on collectibles.")
50
50
  end
51
- return getCollectibleTypesWithTag(nil, itemConfigTag)
51
+ return getCollectibleTypesWithTag(itemConfigTag)
52
52
  end
53
53
  --- Returns the number of items that a player has towards a particular transformation.
54
- function ____exports.getPlayerNumCollectiblesForTransformation(self, player, playerForm)
55
- local collectibleTypes = ____exports.getCollectibleTypesForTransformation(nil, playerForm)
54
+ function ____exports.getPlayerNumCollectiblesForTransformation(player, playerForm)
55
+ local collectibleTypes = ____exports.getCollectibleTypesForTransformation(playerForm)
56
56
  return getPlayerCollectibleCount(
57
- nil,
58
57
  player,
59
58
  __TS__Spread(collectibleTypes:values())
60
59
  )
61
60
  end
62
61
  --- Returns a set of the player's current transformations.
63
- function ____exports.getPlayerTransformations(self, player)
62
+ function ____exports.getPlayerTransformations(player)
64
63
  local transformations = __TS__New(Set)
65
- for ____, playerForm in ipairs(getEnumValues(nil, PlayerForm)) do
64
+ for ____, playerForm in ipairs(getEnumValues(PlayerForm)) do
66
65
  if player:HasPlayerForm(playerForm) then
67
66
  transformations:add(playerForm)
68
67
  end
@@ -77,12 +76,12 @@ end
77
76
  -- const transformationName = getTransformationName(PlayerForm.LORD_OF_THE_FLIES);
78
77
  -- // transformationName is "Beelzebub"
79
78
  -- ```
80
- function ____exports.getTransformationName(self, playerForm)
79
+ function ____exports.getTransformationName(playerForm)
81
80
  return TRANSFORMATION_NAMES[playerForm]
82
81
  end
83
- function ____exports.getTransformationsForCollectibleType(self, collectibleType)
84
- local itemConfigTags = getCollectibleTags(nil, collectibleType)
85
- local playerForms = getEnumValues(nil, PlayerForm)
82
+ function ____exports.getTransformationsForCollectibleType(collectibleType)
83
+ local itemConfigTags = getCollectibleTags(collectibleType)
84
+ local playerForms = getEnumValues(PlayerForm)
86
85
  local transformationSet = __TS__New(Set)
87
86
  for ____, playerForm in ipairs(playerForms) do
88
87
  do
@@ -90,7 +89,7 @@ function ____exports.getTransformationsForCollectibleType(self, collectibleType)
90
89
  if itemConfigTag == nil then
91
90
  goto __continue11
92
91
  end
93
- if hasFlag(nil, itemConfigTags, itemConfigTag) then
92
+ if hasFlag(itemConfigTags, itemConfigTag) then
94
93
  transformationSet:add(playerForm)
95
94
  end
96
95
  end
@@ -98,7 +97,7 @@ function ____exports.getTransformationsForCollectibleType(self, collectibleType)
98
97
  end
99
98
  return transformationSet
100
99
  end
101
- function ____exports.hasFlyingTransformation(self, player)
100
+ function ____exports.hasFlyingTransformation(player)
102
101
  for ____, playerForm in __TS__Iterator(TRANSFORMATIONS_THAT_GRANT_FLYING:values()) do
103
102
  if player:HasPlayerForm(playerForm) then
104
103
  return true
@@ -106,7 +105,7 @@ function ____exports.hasFlyingTransformation(self, player)
106
105
  end
107
106
  return false
108
107
  end
109
- function ____exports.isTransformationFlying(self, playerForm)
108
+ function ____exports.isTransformationFlying(playerForm)
110
109
  return TRANSFORMATIONS_THAT_GRANT_FLYING:has(playerForm)
111
110
  end
112
111
  return ____exports
@@ -1,3 +1,4 @@
1
+ /** @noSelfInFile */
1
2
  import { CacheFlag, TrinketType } from "isaac-typescript-definitions";
2
3
  /**
3
4
  * Returns a map containing every trinket type that the player has that matches the provided
@@ -1 +1 @@
1
- {"version":3,"file":"trinketCacheFlag.d.ts","sourceRoot":"","sources":["../../src/functions/trinketCacheFlag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AA0BtE;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,SAAS,GACnB,GAAG,CAAC,WAAW,EAAE,GAAG,CAAC,CAYvB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,SAAS,GACnB,WAAW,CAAC,WAAW,CAAC,CAS1B;AAED,6FAA6F;AAC7F,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,GACnB,OAAO,CAOT"}
1
+ {"version":3,"file":"trinketCacheFlag.d.ts","sourceRoot":"","sources":["../../src/functions/trinketCacheFlag.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AA0BtE;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,SAAS,GACnB,GAAG,CAAC,WAAW,EAAE,GAAG,CAAC,CAYvB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,SAAS,GACnB,WAAW,CAAC,WAAW,CAAC,CAS1B;AAED,6FAA6F;AAC7F,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,GACnB,OAAO,CAOT"}
@@ -15,14 +15,14 @@ local ____enums = require("functions.enums")
15
15
  local getEnumValues = ____enums.getEnumValues
16
16
  local ____flag = require("functions.flag")
17
17
  local hasFlag = ____flag.hasFlag
18
- function lazyInitCacheFlagMap(self)
18
+ function lazyInitCacheFlagMap()
19
19
  if CACHE_FLAG_TO_TRINKETS_MAP.size > 0 then
20
20
  return
21
21
  end
22
- for ____, cacheFlag in ipairs(getEnumValues(nil, CacheFlag)) do
22
+ for ____, cacheFlag in ipairs(getEnumValues(CacheFlag)) do
23
23
  local trinketsSet = __TS__New(Set)
24
- for ____, trinketType in ipairs(getTrinketTypes(nil)) do
25
- if ____exports.trinketHasCacheFlag(nil, trinketType, cacheFlag) then
24
+ for ____, trinketType in ipairs(getTrinketTypes()) do
25
+ if ____exports.trinketHasCacheFlag(trinketType, cacheFlag) then
26
26
  trinketsSet:add(trinketType)
27
27
  end
28
28
  end
@@ -33,8 +33,8 @@ end
33
33
  --
34
34
  -- This function can only be called if at least one callback has been executed. This is because not
35
35
  -- all trinkets will necessarily be present when a mod first loads (due to mod load order).
36
- function ____exports.getTrinketsForCacheFlag(self, cacheFlag)
37
- lazyInitCacheFlagMap(nil)
36
+ function ____exports.getTrinketsForCacheFlag(cacheFlag)
37
+ lazyInitCacheFlagMap()
38
38
  local trinketsSet = CACHE_FLAG_TO_TRINKETS_MAP:get(cacheFlag)
39
39
  if trinketsSet == nil then
40
40
  return __TS__New(Set)
@@ -42,12 +42,12 @@ function ____exports.getTrinketsForCacheFlag(self, cacheFlag)
42
42
  return trinketsSet
43
43
  end
44
44
  --- Helper function to check in the item config if a given trinket has a given cache flag.
45
- function ____exports.trinketHasCacheFlag(self, trinketType, cacheFlag)
45
+ function ____exports.trinketHasCacheFlag(trinketType, cacheFlag)
46
46
  local itemConfigItem = itemConfig:GetTrinket(trinketType)
47
47
  if itemConfigItem == nil then
48
48
  return false
49
49
  end
50
- return hasFlag(nil, itemConfigItem.CacheFlags, cacheFlag)
50
+ return hasFlag(itemConfigItem.CacheFlags, cacheFlag)
51
51
  end
52
52
  CACHE_FLAG_TO_TRINKETS_MAP = __TS__New(Map)
53
53
  --- Returns a map containing every trinket type that the player has that matches the provided
@@ -55,8 +55,8 @@ CACHE_FLAG_TO_TRINKETS_MAP = __TS__New(Map)
55
55
  --
56
56
  -- This function can only be called if at least one callback has been executed. This is because not
57
57
  -- all trinkets will necessarily be present when a mod first loads (due to mod load order).
58
- function ____exports.getPlayerTrinketsForCacheFlag(self, player, cacheFlag)
59
- local trinketsForCacheFlag = ____exports.getTrinketsForCacheFlag(nil, cacheFlag)
58
+ function ____exports.getPlayerTrinketsForCacheFlag(player, cacheFlag)
59
+ local trinketsForCacheFlag = ____exports.getTrinketsForCacheFlag(cacheFlag)
60
60
  local playerTrinkets = __TS__New(Map)
61
61
  for ____, trinketType in __TS__Iterator(trinketsForCacheFlag:values()) do
62
62
  local trinketMultiplier = player:GetTrinketMultiplier(trinketType)
@@ -1,3 +1,4 @@
1
+ /** @noSelfInFile */
1
2
  import { TrinketType } from "isaac-typescript-definitions";
2
3
  import { TrinketSituation } from "../interfaces/TrinketSituation";
3
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"trinketGive.d.ts","sourceRoot":"","sources":["../../src/functions/trinketGive.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAKlE;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,YAAY,EACpB,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,GAC7C,IAAI,CA+BN;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,EACxB,WAAW,SAAI,GACd,IAAI,CASN;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,YAAY,EACpB,GAAG,YAAY,EAAE,WAAW,EAAE,GAC7B,IAAI,CAIN;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,GACvB,gBAAgB,GAAG,SAAS,CAkC9B;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,YAAY,GACnB,gBAAgB,GAAG,SAAS,CAsB9B"}
1
+ {"version":3,"file":"trinketGive.d.ts","sourceRoot":"","sources":["../../src/functions/trinketGive.ts"],"names":[],"mappings":";AAAA,OAAO,EAGL,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAKlE;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,YAAY,EACpB,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,GAC7C,IAAI,CA+BN;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,EACxB,WAAW,SAAI,GACd,IAAI,CASN;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,YAAY,EACpB,GAAG,YAAY,EAAE,WAAW,EAAE,GAC7B,IAAI,CAIN;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,YAAY,EACpB,WAAW,EAAE,WAAW,GACvB,gBAAgB,GAAG,SAAS,CAkC9B;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,YAAY,GACnB,gBAAgB,GAAG,SAAS,CAsB9B"}
@@ -14,7 +14,7 @@ local ____repeat = ____utils["repeat"]
14
14
  -- give back trinkets on the same frame.
15
15
  --
16
16
  -- @returns Undefined if the player does not have any trinkets, or TrinketSituation if they do.
17
- function ____exports.temporarilyRemoveTrinkets(self, player)
17
+ function ____exports.temporarilyRemoveTrinkets(player)
18
18
  local trinketType1 = player:GetTrinket(TrinketSlot.SLOT_1)
19
19
  local trinketType2 = player:GetTrinket(TrinketSlot.SLOT_2)
20
20
  if trinketType1 == TrinketType.NULL and trinketType2 == TrinketType.NULL then
@@ -31,7 +31,7 @@ end
31
31
  --- Helper function to restore the player's trinkets back to the way they were before the
32
32
  -- `temporarilyRemoveTrinket` function was used. It will re-smelt any smelted trinkets that were
33
33
  -- removed.
34
- function ____exports.giveTrinketsBack(self, player, trinketSituation)
34
+ function ____exports.giveTrinketsBack(player, trinketSituation)
35
35
  if trinketSituation == nil then
36
36
  return
37
37
  end
@@ -44,11 +44,10 @@ function ____exports.giveTrinketsBack(self, player, trinketSituation)
44
44
  player:TryRemoveTrinket(trinketType2)
45
45
  end
46
46
  ____repeat(
47
- nil,
48
47
  trinketSituation.numSmeltedTrinkets,
49
48
  function()
50
49
  player:AddTrinket(trinketSituation.trinketTypeRemoved, false)
51
- useActiveItemTemp(nil, player, CollectibleType.SMELTER)
50
+ useActiveItemTemp(player, CollectibleType.SMELTER)
52
51
  end
53
52
  )
54
53
  if trinketSituation.trinketType1 ~= TrinketType.NULL then
@@ -66,20 +65,19 @@ end
66
65
  -- @param trinketType The trinket type to smelt.
67
66
  -- @param numTrinkets Optional. If specified, will smelt the given number of trinkets. Use this to
68
67
  -- avoid calling this function multiple times. Default is 1.
69
- function ____exports.smeltTrinket(self, player, trinketType, numTrinkets)
68
+ function ____exports.smeltTrinket(player, trinketType, numTrinkets)
70
69
  if numTrinkets == nil then
71
70
  numTrinkets = 1
72
71
  end
73
- local trinketSituation = ____exports.temporarilyRemoveTrinkets(nil, player)
72
+ local trinketSituation = ____exports.temporarilyRemoveTrinkets(player)
74
73
  ____repeat(
75
- nil,
76
74
  numTrinkets,
77
75
  function()
78
76
  player:AddTrinket(trinketType)
79
- useActiveItemTemp(nil, player, CollectibleType.SMELTER)
77
+ useActiveItemTemp(player, CollectibleType.SMELTER)
80
78
  end
81
79
  )
82
- ____exports.giveTrinketsBack(nil, player, trinketSituation)
80
+ ____exports.giveTrinketsBack(player, trinketSituation)
83
81
  end
84
82
  --- Helper function to smelt two or more different trinkets. If you want to smelt one trinket (or
85
83
  -- multiple copies of one trinket), then use the `smeltTrinket` helper function instead.
@@ -91,10 +89,10 @@ end
91
89
  --
92
90
  -- @param player The player to smelt the trinkets to.
93
91
  -- @param trinketTypes The trinket types to smelt.
94
- function ____exports.smeltTrinkets(self, player, ...)
92
+ function ____exports.smeltTrinkets(player, ...)
95
93
  local trinketTypes = {...}
96
94
  for ____, trinketType in ipairs(trinketTypes) do
97
- ____exports.smeltTrinket(nil, player, trinketType)
95
+ ____exports.smeltTrinket(player, trinketType)
98
96
  end
99
97
  end
100
98
  --- Helper function to temporarily remove a specific kind of trinket from the player. Use this in
@@ -105,7 +103,7 @@ end
105
103
  -- Note that one smelted golden trinket is the same as two smelted normal trinkets.
106
104
  --
107
105
  -- @returns Undefined if the player does not have the trinket, or TrinketSituation if they do.
108
- function ____exports.temporarilyRemoveTrinket(self, player, trinketType)
106
+ function ____exports.temporarilyRemoveTrinket(player, trinketType)
109
107
  if not player:HasTrinket(trinketType) then
110
108
  return nil
111
109
  end
@@ -117,11 +115,11 @@ function ____exports.temporarilyRemoveTrinket(self, player, trinketType)
117
115
  numTrinkets = numTrinkets + 1
118
116
  end
119
117
  local numSmeltedTrinkets = numTrinkets
120
- local trinketWasInSlot1 = trinketType1 == trinketType or trinketType1 == getGoldenTrinketType(nil, trinketType)
118
+ local trinketWasInSlot1 = trinketType1 == trinketType or trinketType1 == getGoldenTrinketType(trinketType)
121
119
  if trinketWasInSlot1 then
122
120
  numSmeltedTrinkets = numSmeltedTrinkets - 1
123
121
  end
124
- local trinketWasInSlot2 = trinketType2 == trinketType or trinketType2 == getGoldenTrinketType(nil, trinketType)
122
+ local trinketWasInSlot2 = trinketType2 == trinketType or trinketType2 == getGoldenTrinketType(trinketType)
125
123
  if trinketWasInSlot2 then
126
124
  numSmeltedTrinkets = numSmeltedTrinkets - 1
127
125
  end
@@ -1,3 +1,4 @@
1
+ /** @noSelfInFile */
1
2
  import { TrinketType } from "isaac-typescript-definitions";
2
3
  /**
3
4
  * Returns an array containing every valid trinket type in the game, including modded trinkets.
@@ -1 +1 @@
1
- {"version":3,"file":"trinketSet.d.ts","sourceRoot":"","sources":["../../src/functions/trinketSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAwD3D;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,IAAI,SAAS,WAAW,EAAE,CAG9D;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,IAAI,WAAW,CAAC,WAAW,CAAC,CAG9D;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,IAAI,SAAS,WAAW,EAAE,CAGxD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,IAAI,WAAW,CAAC,WAAW,CAAC,CAGxD;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,IAAI,SAAS,WAAW,EAAE,CAG/D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,WAAW,CAAC,WAAW,CAAC,CAG/D"}
1
+ {"version":3,"file":"trinketSet.d.ts","sourceRoot":"","sources":["../../src/functions/trinketSet.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAwD3D;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,IAAI,SAAS,WAAW,EAAE,CAG9D;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,IAAI,WAAW,CAAC,WAAW,CAAC,CAG9D;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,IAAI,SAAS,WAAW,EAAE,CAGxD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,IAAI,WAAW,CAAC,WAAW,CAAC,CAGxD;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,IAAI,SAAS,WAAW,EAAE,CAG/D;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,WAAW,CAAC,WAAW,CAAC,CAG/D"}
@@ -14,11 +14,11 @@ local VANILLA_TRINKET_TYPES_ARRAY = {}
14
14
  local VANILLA_TRINKET_TYPES_SET = __TS__New(Set)
15
15
  local MODDED_TRINKET_TYPES_ARRAY = {}
16
16
  local MODDED_TRINKET_TYPES_SET = __TS__New(Set)
17
- local function lazyInitVanillaTrinketTypes(self)
17
+ local function lazyInitVanillaTrinketTypes()
18
18
  if #VANILLA_TRINKET_TYPES_ARRAY > 0 then
19
19
  return
20
20
  end
21
- local vanillaTrinketTypes = getVanillaTrinketTypes(nil)
21
+ local vanillaTrinketTypes = getVanillaTrinketTypes()
22
22
  for ____, trinketType in ipairs(vanillaTrinketTypes) do
23
23
  local itemConfigItem = itemConfig:GetTrinket(trinketType)
24
24
  if itemConfigItem ~= nil then
@@ -27,16 +27,16 @@ local function lazyInitVanillaTrinketTypes(self)
27
27
  end
28
28
  end
29
29
  end
30
- local function lazyInitModdedTrinketTypes(self)
30
+ local function lazyInitModdedTrinketTypes()
31
31
  if #MODDED_TRINKET_TYPES_ARRAY > 0 then
32
32
  return
33
33
  end
34
- lazyInitVanillaTrinketTypes(nil)
34
+ lazyInitVanillaTrinketTypes()
35
35
  for ____, trinketType in ipairs(VANILLA_TRINKET_TYPES_ARRAY) do
36
36
  ALL_TRINKET_TYPES_ARRAY[#ALL_TRINKET_TYPES_ARRAY + 1] = trinketType
37
37
  ALL_TRINKET_TYPES_SET:add(trinketType)
38
38
  end
39
- local moddedTrinketTypes = getModdedTrinketTypes(nil)
39
+ local moddedTrinketTypes = getModdedTrinketTypes()
40
40
  for ____, trinketType in ipairs(moddedTrinketTypes) do
41
41
  local itemConfigItem = itemConfig:GetTrinket(trinketType)
42
42
  if itemConfigItem ~= nil then
@@ -54,8 +54,8 @@ end
54
54
  --
55
55
  -- This function can only be called if at least one callback has been executed. This is because not
56
56
  -- all trinkets will necessarily be present when a mod first loads (due to mod load order).
57
- function ____exports.getModdedTrinketArray(self)
58
- lazyInitModdedTrinketTypes(nil)
57
+ function ____exports.getModdedTrinketArray()
58
+ lazyInitModdedTrinketTypes()
59
59
  return MODDED_TRINKET_TYPES_ARRAY
60
60
  end
61
61
  --- Returns a set containing every valid trinket type in the game, including modded trinkets.
@@ -65,8 +65,8 @@ end
65
65
  --
66
66
  -- This function can only be called if at least one callback has been executed. This is because not
67
67
  -- all trinkets will necessarily be present when a mod first loads (due to mod load order).
68
- function ____exports.getModdedTrinketSet(self)
69
- lazyInitModdedTrinketTypes(nil)
68
+ function ____exports.getModdedTrinketSet()
69
+ lazyInitModdedTrinketTypes()
70
70
  return MODDED_TRINKET_TYPES_SET
71
71
  end
72
72
  --- Returns an array containing every modded trinket type in the game.
@@ -76,8 +76,8 @@ end
76
76
  --
77
77
  -- This function can only be called if at least one callback has been executed. This is because not
78
78
  -- all trinkets will necessarily be present when a mod first loads (due to mod load order).
79
- function ____exports.getTrinketArray(self)
80
- lazyInitModdedTrinketTypes(nil)
79
+ function ____exports.getTrinketArray()
80
+ lazyInitModdedTrinketTypes()
81
81
  return ALL_TRINKET_TYPES_ARRAY
82
82
  end
83
83
  --- Returns a set containing every modded trinket type in the game.
@@ -87,24 +87,24 @@ end
87
87
  --
88
88
  -- This function can only be called if at least one callback has been executed. This is because not
89
89
  -- all trinkets will necessarily be present when a mod first loads (due to mod load order).
90
- function ____exports.getTrinketSet(self)
91
- lazyInitModdedTrinketTypes(nil)
90
+ function ____exports.getTrinketSet()
91
+ lazyInitModdedTrinketTypes()
92
92
  return ALL_TRINKET_TYPES_SET
93
93
  end
94
94
  --- Returns an array containing every valid vanilla trinket type in the game.
95
95
  --
96
96
  -- Use this if you need to iterate over the trinkets in order. If you need to do O(1) lookups, then
97
97
  -- use the `getVanillaTrinketSet` helper function instead.
98
- function ____exports.getVanillaTrinketArray(self)
99
- lazyInitVanillaTrinketTypes(nil)
98
+ function ____exports.getVanillaTrinketArray()
99
+ lazyInitVanillaTrinketTypes()
100
100
  return VANILLA_TRINKET_TYPES_ARRAY
101
101
  end
102
102
  --- Returns a set containing every valid vanilla trinket type in the game.
103
103
  --
104
104
  -- Use this if you need to do O(1) lookups. If you need to iterate over the trinkets in order, then
105
105
  -- use the `getVanillaTrinketArray` helper function instead.
106
- function ____exports.getVanillaTrinketSet(self)
107
- lazyInitVanillaTrinketTypes(nil)
106
+ function ____exports.getVanillaTrinketSet()
107
+ lazyInitVanillaTrinketTypes()
108
108
  return VANILLA_TRINKET_TYPES_SET
109
109
  end
110
110
  return ____exports
@@ -1,3 +1,4 @@
1
+ /** @noSelfInFile */
1
2
  import { TrinketType } from "isaac-typescript-definitions";
2
3
  /**
3
4
  * Helper function to get the corresponding golden trinket type from a normal trinket type.
@@ -1 +1 @@
1
- {"version":3,"file":"trinkets.d.ts","sourceRoot":"","sources":["../../src/functions/trinkets.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EACZ,MAAM,8BAA8B,CAAC;AA+BtC;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAE1E;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,GAAG,GAAG,SAAS,CAkBxE;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CActE;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAOtE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAc/D;AAED,kFAAkF;AAClF,wBAAgB,sBAAsB,IAAI,WAAW,EAAE,CAEtD;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAOhE;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAErE;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAErE;AAED,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAEtE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CASjE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,IAAI,CAeN"}
1
+ {"version":3,"file":"trinkets.d.ts","sourceRoot":"","sources":["../../src/functions/trinkets.ts"],"names":[],"mappings":";AAAA,OAAO,EAGL,WAAW,EACZ,MAAM,8BAA8B,CAAC;AA+BtC;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAE1E;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,GAAG,GAAG,SAAS,CAkBxE;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CActE;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAOtE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAc/D;AAED,kFAAkF;AAClF,wBAAgB,sBAAsB,IAAI,WAAW,EAAE,CAEtD;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAOhE;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAErE;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAErE;AAED,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAEtE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CASjE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,IAAI,CAeN"}