isaacscript-common 14.1.3 → 15.0.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 (2027) hide show
  1. package/dist/index.d.ts +3414 -3206
  2. package/dist/isaacscript-common.lua +27538 -32356
  3. package/dist/src/callbacks.d.ts +108 -20
  4. package/dist/src/callbacks.d.ts.map +1 -1
  5. package/dist/src/callbacks.lua +185 -53
  6. package/dist/src/classes/ModFeature.d.ts +3 -3
  7. package/dist/src/classes/ModFeature.d.ts.map +1 -1
  8. package/dist/src/classes/ModFeature.lua +27 -6
  9. package/dist/src/classes/ModUpgradedBase.d.ts +86 -0
  10. package/dist/src/classes/ModUpgradedBase.d.ts.map +1 -0
  11. package/dist/src/classes/ModUpgradedBase.lua +264 -0
  12. package/dist/src/classes/callbacks/PostAmbushFinished.d.ts +5 -3
  13. package/dist/src/classes/callbacks/PostAmbushFinished.d.ts.map +1 -1
  14. package/dist/src/classes/callbacks/PostAmbushFinished.lua +7 -4
  15. package/dist/src/classes/callbacks/PostAmbushStarted.d.ts +5 -3
  16. package/dist/src/classes/callbacks/PostAmbushStarted.d.ts.map +1 -1
  17. package/dist/src/classes/callbacks/PostAmbushStarted.lua +7 -4
  18. package/dist/src/classes/callbacks/PostBombExploded.d.ts +5 -3
  19. package/dist/src/classes/callbacks/PostBombExploded.d.ts.map +1 -1
  20. package/dist/src/classes/callbacks/PostBombExploded.lua +7 -4
  21. package/dist/src/classes/callbacks/PostBombInitLate.d.ts +5 -3
  22. package/dist/src/classes/callbacks/PostBombInitLate.d.ts.map +1 -1
  23. package/dist/src/classes/callbacks/PostBombInitLate.lua +7 -4
  24. package/dist/src/classes/callbacks/PostBoneSwing.d.ts +2 -2
  25. package/dist/src/classes/callbacks/PostBoneSwing.d.ts.map +1 -1
  26. package/dist/src/classes/callbacks/PostCollectibleEmpty.d.ts +4 -4
  27. package/dist/src/classes/callbacks/PostCollectibleEmpty.d.ts.map +1 -1
  28. package/dist/src/classes/callbacks/PostCollectibleEmpty.lua +5 -8
  29. package/dist/src/classes/callbacks/PostCollectibleInitFirst.d.ts +5 -3
  30. package/dist/src/classes/callbacks/PostCollectibleInitFirst.d.ts.map +1 -1
  31. package/dist/src/classes/callbacks/PostCollectibleInitFirst.lua +7 -4
  32. package/dist/src/classes/callbacks/PostCursedTeleport.d.ts +5 -3
  33. package/dist/src/classes/callbacks/PostCursedTeleport.d.ts.map +1 -1
  34. package/dist/src/classes/callbacks/PostCursedTeleport.lua +7 -4
  35. package/dist/src/classes/callbacks/PostCustomRevive.d.ts +6 -3
  36. package/dist/src/classes/callbacks/PostCustomRevive.d.ts.map +1 -1
  37. package/dist/src/classes/callbacks/PostCustomRevive.lua +9 -4
  38. package/dist/src/classes/callbacks/PostDiceRoomActivated.d.ts +5 -4
  39. package/dist/src/classes/callbacks/PostDiceRoomActivated.d.ts.map +1 -1
  40. package/dist/src/classes/callbacks/PostDiceRoomActivated.lua +5 -8
  41. package/dist/src/classes/callbacks/PostDoorRender.d.ts +5 -3
  42. package/dist/src/classes/callbacks/PostDoorRender.d.ts.map +1 -1
  43. package/dist/src/classes/callbacks/PostDoorRender.lua +7 -4
  44. package/dist/src/classes/callbacks/PostDoorUpdate.d.ts +5 -3
  45. package/dist/src/classes/callbacks/PostDoorUpdate.d.ts.map +1 -1
  46. package/dist/src/classes/callbacks/PostDoorUpdate.lua +7 -4
  47. package/dist/src/classes/callbacks/PostEffectInitLate.d.ts +5 -3
  48. package/dist/src/classes/callbacks/PostEffectInitLate.d.ts.map +1 -1
  49. package/dist/src/classes/callbacks/PostEffectInitLate.lua +7 -4
  50. package/dist/src/classes/callbacks/PostEffectStateChanged.d.ts +5 -3
  51. package/dist/src/classes/callbacks/PostEffectStateChanged.d.ts.map +1 -1
  52. package/dist/src/classes/callbacks/PostEffectStateChanged.lua +7 -4
  53. package/dist/src/classes/callbacks/PostEsauJr.d.ts +2 -2
  54. package/dist/src/classes/callbacks/PostEsauJr.d.ts.map +1 -1
  55. package/dist/src/classes/callbacks/PostFamiliarInitLate.d.ts +5 -3
  56. package/dist/src/classes/callbacks/PostFamiliarInitLate.d.ts.map +1 -1
  57. package/dist/src/classes/callbacks/PostFamiliarInitLate.lua +7 -4
  58. package/dist/src/classes/callbacks/PostFamiliarStateChanged.d.ts +5 -3
  59. package/dist/src/classes/callbacks/PostFamiliarStateChanged.d.ts.map +1 -1
  60. package/dist/src/classes/callbacks/PostFamiliarStateChanged.lua +7 -4
  61. package/dist/src/classes/callbacks/PostFirstEsauJr.d.ts +2 -2
  62. package/dist/src/classes/callbacks/PostFirstEsauJr.d.ts.map +1 -1
  63. package/dist/src/classes/callbacks/PostFirstFlip.d.ts +2 -2
  64. package/dist/src/classes/callbacks/PostFirstFlip.d.ts.map +1 -1
  65. package/dist/src/classes/callbacks/PostFlip.d.ts +2 -2
  66. package/dist/src/classes/callbacks/PostFlip.d.ts.map +1 -1
  67. package/dist/src/classes/callbacks/PostGameStartedReordered.d.ts +2 -2
  68. package/dist/src/classes/callbacks/PostGameStartedReordered.d.ts.map +1 -1
  69. package/dist/src/classes/callbacks/PostGameStartedReorderedLast.d.ts +2 -2
  70. package/dist/src/classes/callbacks/PostGameStartedReorderedLast.d.ts.map +1 -1
  71. package/dist/src/classes/callbacks/PostGreedModeWave.d.ts +2 -2
  72. package/dist/src/classes/callbacks/PostGreedModeWave.d.ts.map +1 -1
  73. package/dist/src/classes/callbacks/PostGridEntityBroken.d.ts +5 -3
  74. package/dist/src/classes/callbacks/PostGridEntityBroken.d.ts.map +1 -1
  75. package/dist/src/classes/callbacks/PostGridEntityBroken.lua +8 -5
  76. package/dist/src/classes/callbacks/PostGridEntityCollision.d.ts +4 -4
  77. package/dist/src/classes/callbacks/PostGridEntityCollision.d.ts.map +1 -1
  78. package/dist/src/classes/callbacks/PostGridEntityCollision.lua +7 -19
  79. package/dist/src/classes/callbacks/PostGridEntityCustomBroken.d.ts +5 -3
  80. package/dist/src/classes/callbacks/PostGridEntityCustomBroken.d.ts.map +1 -1
  81. package/dist/src/classes/callbacks/PostGridEntityCustomBroken.lua +8 -5
  82. package/dist/src/classes/callbacks/PostGridEntityCustomCollision.d.ts +4 -4
  83. package/dist/src/classes/callbacks/PostGridEntityCustomCollision.d.ts.map +1 -1
  84. package/dist/src/classes/callbacks/PostGridEntityCustomCollision.lua +5 -14
  85. package/dist/src/classes/callbacks/PostGridEntityCustomInit.d.ts +5 -3
  86. package/dist/src/classes/callbacks/PostGridEntityCustomInit.d.ts.map +1 -1
  87. package/dist/src/classes/callbacks/PostGridEntityCustomInit.lua +8 -5
  88. package/dist/src/classes/callbacks/PostGridEntityCustomRemove.d.ts +4 -4
  89. package/dist/src/classes/callbacks/PostGridEntityCustomRemove.d.ts.map +1 -1
  90. package/dist/src/classes/callbacks/PostGridEntityCustomRemove.lua +5 -8
  91. package/dist/src/classes/callbacks/PostGridEntityCustomRender.d.ts +8 -0
  92. package/dist/src/classes/callbacks/PostGridEntityCustomRender.d.ts.map +1 -0
  93. package/dist/src/classes/callbacks/PostGridEntityCustomRender.lua +20 -0
  94. package/dist/src/classes/callbacks/PostGridEntityCustomStateChanged.d.ts +5 -3
  95. package/dist/src/classes/callbacks/PostGridEntityCustomStateChanged.d.ts.map +1 -1
  96. package/dist/src/classes/callbacks/PostGridEntityCustomStateChanged.lua +8 -5
  97. package/dist/src/classes/callbacks/PostGridEntityCustomUpdate.d.ts +5 -3
  98. package/dist/src/classes/callbacks/PostGridEntityCustomUpdate.d.ts.map +1 -1
  99. package/dist/src/classes/callbacks/PostGridEntityCustomUpdate.lua +8 -5
  100. package/dist/src/classes/callbacks/PostGridEntityInit.d.ts +5 -3
  101. package/dist/src/classes/callbacks/PostGridEntityInit.d.ts.map +1 -1
  102. package/dist/src/classes/callbacks/PostGridEntityInit.lua +8 -5
  103. package/dist/src/classes/callbacks/PostGridEntityRemove.d.ts +4 -4
  104. package/dist/src/classes/callbacks/PostGridEntityRemove.d.ts.map +1 -1
  105. package/dist/src/classes/callbacks/PostGridEntityRemove.lua +5 -11
  106. package/dist/src/classes/callbacks/PostGridEntityRender.d.ts +8 -0
  107. package/dist/src/classes/callbacks/PostGridEntityRender.d.ts.map +1 -0
  108. package/dist/src/classes/callbacks/PostGridEntityRender.lua +20 -0
  109. package/dist/src/classes/callbacks/PostGridEntityStateChanged.d.ts +5 -3
  110. package/dist/src/classes/callbacks/PostGridEntityStateChanged.d.ts.map +1 -1
  111. package/dist/src/classes/callbacks/PostGridEntityStateChanged.lua +8 -5
  112. package/dist/src/classes/callbacks/PostGridEntityUpdate.d.ts +5 -3
  113. package/dist/src/classes/callbacks/PostGridEntityUpdate.d.ts.map +1 -1
  114. package/dist/src/classes/callbacks/PostGridEntityUpdate.lua +8 -5
  115. package/dist/src/classes/callbacks/PostHolyMantleRemoved.d.ts +4 -2
  116. package/dist/src/classes/callbacks/PostHolyMantleRemoved.d.ts.map +1 -1
  117. package/dist/src/classes/callbacks/PostHolyMantleRemoved.lua +6 -3
  118. package/dist/src/classes/callbacks/PostItemDischarge.d.ts +43 -0
  119. package/dist/src/classes/callbacks/PostItemDischarge.d.ts.map +1 -0
  120. package/dist/src/classes/callbacks/PostItemDischarge.lua +113 -0
  121. package/dist/src/classes/callbacks/PostItemPickup.d.ts +8 -0
  122. package/dist/src/classes/callbacks/PostItemPickup.d.ts.map +1 -0
  123. package/dist/src/classes/callbacks/PostItemPickup.lua +20 -0
  124. package/dist/src/classes/callbacks/PostKnifeInitLate.d.ts +5 -3
  125. package/dist/src/classes/callbacks/PostKnifeInitLate.d.ts.map +1 -1
  126. package/dist/src/classes/callbacks/PostKnifeInitLate.lua +7 -4
  127. package/dist/src/classes/callbacks/PostLaserInitLate.d.ts +14 -0
  128. package/dist/src/classes/callbacks/PostLaserInitLate.d.ts.map +1 -0
  129. package/dist/src/classes/callbacks/PostLaserInitLate.lua +30 -0
  130. package/dist/src/classes/callbacks/PostNPCInitLate.d.ts +14 -0
  131. package/dist/src/classes/callbacks/PostNPCInitLate.d.ts.map +1 -0
  132. package/dist/src/classes/callbacks/PostNPCInitLate.lua +30 -0
  133. package/dist/src/classes/callbacks/PostNPCStateChanged.d.ts +16 -0
  134. package/dist/src/classes/callbacks/PostNPCStateChanged.d.ts.map +1 -0
  135. package/dist/src/classes/callbacks/PostNPCStateChanged.lua +36 -0
  136. package/dist/src/classes/callbacks/PostNewLevelReordered.d.ts +2 -2
  137. package/dist/src/classes/callbacks/PostNewLevelReordered.d.ts.map +1 -1
  138. package/dist/src/classes/callbacks/PostNewRoomEarly.d.ts +2 -2
  139. package/dist/src/classes/callbacks/PostNewRoomEarly.d.ts.map +1 -1
  140. package/dist/src/classes/callbacks/PostNewRoomReordered.d.ts +2 -2
  141. package/dist/src/classes/callbacks/PostNewRoomReordered.d.ts.map +1 -1
  142. package/dist/src/classes/callbacks/PostPEffectUpdateReordered.d.ts +5 -3
  143. package/dist/src/classes/callbacks/PostPEffectUpdateReordered.d.ts.map +1 -1
  144. package/dist/src/classes/callbacks/PostPEffectUpdateReordered.lua +7 -4
  145. package/dist/src/classes/callbacks/PostPickupCollect.d.ts +14 -0
  146. package/dist/src/classes/callbacks/PostPickupCollect.d.ts.map +1 -0
  147. package/dist/src/classes/callbacks/PostPickupCollect.lua +38 -0
  148. package/dist/src/classes/callbacks/PostPickupInitFirst.d.ts +14 -0
  149. package/dist/src/classes/callbacks/PostPickupInitFirst.d.ts.map +1 -0
  150. package/dist/src/classes/callbacks/PostPickupInitFirst.lua +35 -0
  151. package/dist/src/classes/callbacks/PostPickupInitLate.d.ts +14 -0
  152. package/dist/src/classes/callbacks/PostPickupInitLate.d.ts.map +1 -0
  153. package/dist/src/classes/callbacks/PostPickupInitLate.lua +30 -0
  154. package/dist/src/classes/callbacks/PostPickupStateChanged.d.ts +15 -0
  155. package/dist/src/classes/callbacks/PostPickupStateChanged.d.ts.map +1 -0
  156. package/dist/src/classes/callbacks/PostPickupStateChanged.lua +36 -0
  157. package/dist/src/classes/callbacks/PostPitRender.d.ts +5 -3
  158. package/dist/src/classes/callbacks/PostPitRender.d.ts.map +1 -1
  159. package/dist/src/classes/callbacks/PostPitRender.lua +7 -4
  160. package/dist/src/classes/callbacks/PostPitUpdate.d.ts +9 -0
  161. package/dist/src/classes/callbacks/PostPitUpdate.d.ts.map +1 -0
  162. package/dist/src/classes/callbacks/PostPitUpdate.lua +27 -0
  163. package/dist/src/classes/callbacks/PostPlayerChangeHealth.d.ts +17 -0
  164. package/dist/src/classes/callbacks/PostPlayerChangeHealth.d.ts.map +1 -0
  165. package/dist/src/classes/callbacks/PostPlayerChangeHealth.lua +55 -0
  166. package/dist/src/classes/callbacks/PostPlayerChangeStat.d.ts +18 -0
  167. package/dist/src/classes/callbacks/PostPlayerChangeStat.d.ts.map +1 -0
  168. package/dist/src/classes/callbacks/PostPlayerChangeStat.lua +97 -0
  169. package/dist/src/classes/callbacks/PostPlayerChangeType.d.ts +17 -0
  170. package/dist/src/classes/callbacks/PostPlayerChangeType.d.ts.map +1 -0
  171. package/dist/src/classes/callbacks/PostPlayerChangeType.lua +38 -0
  172. package/dist/src/classes/callbacks/PostPlayerCollectibleAdded.d.ts +8 -0
  173. package/dist/src/classes/callbacks/PostPlayerCollectibleAdded.d.ts.map +1 -0
  174. package/dist/src/classes/callbacks/PostPlayerCollectibleAdded.lua +20 -0
  175. package/dist/src/classes/callbacks/PostPlayerCollectibleRemoved.d.ts +8 -0
  176. package/dist/src/classes/callbacks/PostPlayerCollectibleRemoved.d.ts.map +1 -0
  177. package/dist/src/classes/callbacks/PostPlayerCollectibleRemoved.lua +20 -0
  178. package/dist/src/classes/callbacks/PostPlayerFatalDamage.d.ts +5 -3
  179. package/dist/src/classes/callbacks/PostPlayerFatalDamage.d.ts.map +1 -1
  180. package/dist/src/classes/callbacks/PostPlayerFatalDamage.lua +7 -4
  181. package/dist/src/classes/callbacks/PostPlayerInitFirst.d.ts +10 -0
  182. package/dist/src/classes/callbacks/PostPlayerInitFirst.d.ts.map +1 -0
  183. package/dist/src/classes/callbacks/PostPlayerInitFirst.lua +39 -0
  184. package/dist/src/classes/callbacks/PostPlayerInitLate.d.ts +15 -0
  185. package/dist/src/classes/callbacks/PostPlayerInitLate.d.ts.map +1 -0
  186. package/dist/src/classes/callbacks/PostPlayerInitLate.lua +32 -0
  187. package/dist/src/classes/callbacks/PostPlayerRenderReordered.d.ts +5 -3
  188. package/dist/src/classes/callbacks/PostPlayerRenderReordered.d.ts.map +1 -1
  189. package/dist/src/classes/callbacks/PostPlayerRenderReordered.lua +7 -4
  190. package/dist/src/classes/callbacks/PostPlayerUpdateReordered.d.ts +5 -3
  191. package/dist/src/classes/callbacks/PostPlayerUpdateReordered.d.ts.map +1 -1
  192. package/dist/src/classes/callbacks/PostPlayerUpdateReordered.lua +7 -4
  193. package/dist/src/classes/callbacks/PostPoopRender.d.ts +9 -0
  194. package/dist/src/classes/callbacks/PostPoopRender.d.ts.map +1 -0
  195. package/dist/src/classes/callbacks/PostPoopRender.lua +27 -0
  196. package/dist/src/classes/callbacks/PostPoopUpdate.d.ts +9 -0
  197. package/dist/src/classes/callbacks/PostPoopUpdate.d.ts.map +1 -0
  198. package/dist/src/classes/callbacks/PostPoopUpdate.lua +27 -0
  199. package/dist/src/classes/callbacks/PostPressurePlateRender.d.ts +9 -0
  200. package/dist/src/classes/callbacks/PostPressurePlateRender.d.ts.map +1 -0
  201. package/dist/src/classes/callbacks/PostPressurePlateRender.lua +27 -0
  202. package/dist/src/classes/callbacks/PostPressurePlateUpdate.d.ts +9 -0
  203. package/dist/src/classes/callbacks/PostPressurePlateUpdate.d.ts.map +1 -0
  204. package/dist/src/classes/callbacks/PostPressurePlateUpdate.lua +27 -0
  205. package/dist/src/classes/callbacks/PostProjectileInitLate.d.ts +14 -0
  206. package/dist/src/classes/callbacks/PostProjectileInitLate.d.ts.map +1 -0
  207. package/dist/src/classes/callbacks/PostProjectileInitLate.lua +30 -0
  208. package/dist/src/classes/callbacks/PostPurchase.d.ts +18 -0
  209. package/dist/src/classes/callbacks/PostPurchase.d.ts.map +1 -0
  210. package/dist/src/classes/callbacks/PostPurchase.lua +50 -0
  211. package/dist/src/classes/callbacks/PostRockRender.d.ts +9 -0
  212. package/dist/src/classes/callbacks/PostRockRender.d.ts.map +1 -0
  213. package/dist/src/classes/callbacks/PostRockRender.lua +27 -0
  214. package/dist/src/classes/callbacks/PostRockUpdate.d.ts +9 -0
  215. package/dist/src/classes/callbacks/PostRockUpdate.d.ts.map +1 -0
  216. package/dist/src/classes/callbacks/PostRockUpdate.lua +27 -0
  217. package/dist/src/classes/callbacks/PostRoomClearChanged.d.ts +7 -4
  218. package/dist/src/classes/callbacks/PostRoomClearChanged.d.ts.map +1 -1
  219. package/dist/src/classes/callbacks/PostRoomClearChanged.lua +10 -2
  220. package/dist/src/classes/callbacks/PostSacrifice.d.ts +14 -0
  221. package/dist/src/classes/callbacks/PostSacrifice.d.ts.map +1 -0
  222. package/dist/src/classes/callbacks/PostSacrifice.lua +43 -0
  223. package/dist/src/classes/callbacks/PostSlotAnimationChanged.d.ts +8 -0
  224. package/dist/src/classes/callbacks/PostSlotAnimationChanged.d.ts.map +1 -0
  225. package/dist/src/classes/callbacks/PostSlotAnimationChanged.lua +20 -0
  226. package/dist/src/classes/callbacks/PostSlotCollision.d.ts +9 -0
  227. package/dist/src/classes/callbacks/PostSlotCollision.d.ts.map +1 -0
  228. package/dist/src/classes/callbacks/PostSlotCollision.lua +28 -0
  229. package/dist/src/classes/callbacks/PostSlotDestroyed.d.ts +16 -0
  230. package/dist/src/classes/callbacks/PostSlotDestroyed.d.ts.map +1 -0
  231. package/dist/src/classes/callbacks/PostSlotDestroyed.lua +68 -0
  232. package/dist/src/classes/callbacks/PostSlotInit.d.ts +8 -0
  233. package/dist/src/classes/callbacks/PostSlotInit.d.ts.map +1 -0
  234. package/dist/src/classes/callbacks/PostSlotInit.lua +20 -0
  235. package/dist/src/classes/callbacks/PostSlotRender.d.ts +8 -0
  236. package/dist/src/classes/callbacks/PostSlotRender.d.ts.map +1 -0
  237. package/dist/src/classes/callbacks/PostSlotRender.lua +20 -0
  238. package/dist/src/classes/callbacks/PostSlotUpdate.d.ts +8 -0
  239. package/dist/src/classes/callbacks/PostSlotUpdate.d.ts.map +1 -0
  240. package/dist/src/classes/callbacks/PostSlotUpdate.lua +20 -0
  241. package/dist/src/classes/callbacks/PostSpikesRender.d.ts +5 -3
  242. package/dist/src/classes/callbacks/PostSpikesRender.d.ts.map +1 -1
  243. package/dist/src/classes/callbacks/PostSpikesRender.lua +7 -4
  244. package/dist/src/classes/callbacks/PostSpikesUpdate.d.ts +9 -0
  245. package/dist/src/classes/callbacks/PostSpikesUpdate.d.ts.map +1 -0
  246. package/dist/src/classes/callbacks/PostSpikesUpdate.lua +27 -0
  247. package/dist/src/classes/callbacks/PostTNTRender.d.ts +9 -0
  248. package/dist/src/classes/callbacks/PostTNTRender.d.ts.map +1 -0
  249. package/dist/src/classes/callbacks/PostTNTRender.lua +27 -0
  250. package/dist/src/classes/callbacks/PostTNTUpdate.d.ts +9 -0
  251. package/dist/src/classes/callbacks/PostTNTUpdate.d.ts.map +1 -0
  252. package/dist/src/classes/callbacks/PostTNTUpdate.lua +27 -0
  253. package/dist/src/classes/callbacks/PostTearInitLate.d.ts +14 -0
  254. package/dist/src/classes/callbacks/PostTearInitLate.d.ts.map +1 -0
  255. package/dist/src/classes/callbacks/PostTearInitLate.lua +30 -0
  256. package/dist/src/classes/callbacks/PostTearInitVeryLate.d.ts +14 -0
  257. package/dist/src/classes/callbacks/PostTearInitVeryLate.d.ts.map +1 -0
  258. package/dist/src/classes/callbacks/PostTearInitVeryLate.lua +33 -0
  259. package/dist/src/classes/callbacks/PostTransformation.d.ts +18 -0
  260. package/dist/src/classes/callbacks/PostTransformation.d.ts.map +1 -0
  261. package/dist/src/classes/callbacks/PostTransformation.lua +50 -0
  262. package/dist/src/classes/callbacks/PostTrinketBreak.d.ts +18 -0
  263. package/dist/src/classes/callbacks/PostTrinketBreak.d.ts.map +1 -0
  264. package/dist/src/classes/callbacks/PostTrinketBreak.lua +71 -0
  265. package/dist/src/classes/callbacks/PreBerserkDeath.d.ts +5 -3
  266. package/dist/src/classes/callbacks/PreBerserkDeath.d.ts.map +1 -1
  267. package/dist/src/classes/callbacks/PreBerserkDeath.lua +10 -7
  268. package/dist/src/classes/callbacks/PreCustomRevive.d.ts +5 -3
  269. package/dist/src/classes/callbacks/PreCustomRevive.d.ts.map +1 -1
  270. package/dist/src/classes/callbacks/PreCustomRevive.lua +7 -4
  271. package/dist/src/classes/callbacks/PreGetPedestal.d.ts +9 -0
  272. package/dist/src/classes/callbacks/PreGetPedestal.d.ts.map +1 -0
  273. package/dist/src/classes/callbacks/PreGetPedestal.lua +43 -0
  274. package/dist/src/classes/callbacks/PreItemPickup.d.ts +8 -0
  275. package/dist/src/classes/callbacks/PreItemPickup.d.ts.map +1 -0
  276. package/dist/src/classes/callbacks/PreItemPickup.lua +20 -0
  277. package/dist/src/classes/callbacks/PreNewLevel.d.ts +12 -0
  278. package/dist/src/classes/callbacks/PreNewLevel.d.ts.map +1 -0
  279. package/dist/src/classes/callbacks/PreNewLevel.lua +42 -0
  280. package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts +3 -15
  281. package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
  282. package/dist/src/classes/features/callbackLogic/CustomGridEntities.lua +35 -30
  283. package/dist/src/classes/features/callbackLogic/CustomRevive.d.ts +5 -3
  284. package/dist/src/classes/features/callbackLogic/CustomRevive.d.ts.map +1 -1
  285. package/dist/src/classes/features/callbackLogic/CustomRevive.lua +23 -24
  286. package/dist/src/classes/features/callbackLogic/EsauJrDetection.d.ts.map +1 -1
  287. package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.d.ts +0 -5
  288. package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.d.ts.map +1 -1
  289. package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.lua +3 -18
  290. package/dist/src/classes/features/callbackLogic/GridEntityCollisionDetection.d.ts.map +1 -1
  291. package/dist/src/classes/features/callbackLogic/GridEntityRenderDetection.d.ts +12 -0
  292. package/dist/src/classes/features/callbackLogic/GridEntityRenderDetection.d.ts.map +1 -0
  293. package/dist/src/classes/features/callbackLogic/GridEntityRenderDetection.lua +33 -0
  294. package/dist/src/classes/features/callbackLogic/GridEntityUpdateDetection.d.ts +46 -0
  295. package/dist/src/classes/features/callbackLogic/GridEntityUpdateDetection.d.ts.map +1 -0
  296. package/dist/src/classes/features/callbackLogic/GridEntityUpdateDetection.lua +123 -0
  297. package/dist/src/classes/features/callbackLogic/ItemPickupDetection.d.ts +20 -0
  298. package/dist/src/classes/features/callbackLogic/ItemPickupDetection.d.ts.map +1 -0
  299. package/dist/src/classes/features/callbackLogic/ItemPickupDetection.lua +60 -0
  300. package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts +49 -0
  301. package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts.map +1 -0
  302. package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.lua +157 -0
  303. package/dist/src/classes/features/callbackLogic/PlayerReorderedCallbacks.lua +3 -3
  304. package/dist/src/classes/features/callbackLogic/SlotRenderDetection.d.ts +18 -0
  305. package/dist/src/classes/features/callbackLogic/SlotRenderDetection.d.ts.map +1 -0
  306. package/dist/src/classes/features/callbackLogic/SlotRenderDetection.lua +51 -0
  307. package/dist/src/classes/features/callbackLogic/SlotUpdateDetection.d.ts +17 -0
  308. package/dist/src/classes/features/callbackLogic/SlotUpdateDetection.d.ts.map +1 -0
  309. package/dist/src/classes/features/callbackLogic/SlotUpdateDetection.lua +45 -0
  310. package/dist/src/classes/features/other/CharacterHealthConversion.d.ts +16 -0
  311. package/dist/src/classes/features/other/CharacterHealthConversion.d.ts.map +1 -0
  312. package/dist/src/classes/features/other/CharacterHealthConversion.lua +92 -0
  313. package/dist/src/classes/features/other/CharacterStats.d.ts +26 -0
  314. package/dist/src/classes/features/other/CharacterStats.d.ts.map +1 -0
  315. package/dist/src/classes/features/other/CharacterStats.lua +45 -0
  316. package/dist/src/classes/features/other/CollectibleItemPoolType.d.ts +17 -0
  317. package/dist/src/classes/features/other/CollectibleItemPoolType.d.ts.map +1 -0
  318. package/dist/src/classes/features/other/CollectibleItemPoolType.lua +51 -0
  319. package/dist/src/classes/features/other/CustomHotkeys.d.ts +58 -0
  320. package/dist/src/classes/features/other/CustomHotkeys.d.ts.map +1 -0
  321. package/dist/src/classes/features/other/CustomHotkeys.lua +82 -0
  322. package/dist/src/classes/features/other/CustomItemPools.d.ts +57 -0
  323. package/dist/src/classes/features/other/CustomItemPools.d.ts.map +1 -0
  324. package/dist/src/classes/features/other/CustomItemPools.lua +72 -0
  325. package/dist/src/classes/features/other/CustomPickups.d.ts +34 -0
  326. package/dist/src/classes/features/other/CustomPickups.d.ts.map +1 -0
  327. package/dist/src/classes/features/other/CustomPickups.lua +84 -0
  328. package/dist/src/classes/features/other/CustomStages.d.ts +48 -0
  329. package/dist/src/classes/features/other/CustomStages.d.ts.map +1 -0
  330. package/dist/src/classes/features/other/CustomStages.lua +359 -0
  331. package/dist/src/classes/features/other/CustomTrapdoors.d.ts +95 -0
  332. package/dist/src/classes/features/other/CustomTrapdoors.d.ts.map +1 -0
  333. package/dist/src/classes/features/other/CustomTrapdoors.lua +472 -0
  334. package/dist/src/classes/features/other/DebugDisplay.d.ts +207 -0
  335. package/dist/src/classes/features/other/DebugDisplay.d.ts.map +1 -0
  336. package/dist/src/classes/features/other/DebugDisplay.lua +227 -0
  337. package/dist/src/classes/features/other/DeployJSONRoom.d.ts +41 -0
  338. package/dist/src/classes/features/other/DeployJSONRoom.d.ts.map +1 -0
  339. package/dist/src/classes/features/other/DeployJSONRoom.lua +334 -0
  340. package/dist/src/classes/features/other/DisableAllSound.d.ts +24 -0
  341. package/dist/src/classes/features/other/DisableAllSound.d.ts.map +1 -0
  342. package/dist/src/classes/features/other/DisableAllSound.lua +53 -0
  343. package/dist/src/classes/features/other/DisableInputs.d.ts +83 -0
  344. package/dist/src/classes/features/other/DisableInputs.d.ts.map +1 -0
  345. package/dist/src/classes/features/other/DisableInputs.lua +100 -0
  346. package/dist/src/classes/features/other/ExtraConsoleCommands.d.ts +30 -0
  347. package/dist/src/classes/features/other/ExtraConsoleCommands.d.ts.map +1 -0
  348. package/dist/src/classes/features/other/ExtraConsoleCommands.lua +157 -0
  349. package/dist/src/classes/features/other/FadeInRemover.d.ts +20 -0
  350. package/dist/src/classes/features/other/FadeInRemover.d.ts.map +1 -0
  351. package/dist/src/classes/features/other/FadeInRemover.lua +37 -0
  352. package/dist/src/classes/features/other/FastReset.d.ts +20 -0
  353. package/dist/src/classes/features/other/FastReset.d.ts.map +1 -0
  354. package/dist/src/classes/features/other/FastReset.lua +59 -0
  355. package/dist/src/classes/features/other/FlyingDetection.d.ts +11 -0
  356. package/dist/src/classes/features/other/FlyingDetection.d.ts.map +1 -0
  357. package/dist/src/classes/features/other/FlyingDetection.lua +47 -0
  358. package/dist/src/classes/features/other/ForgottenSwitch.d.ts +10 -0
  359. package/dist/src/classes/features/other/ForgottenSwitch.d.ts.map +1 -0
  360. package/dist/src/classes/features/other/ForgottenSwitch.lua +34 -0
  361. package/dist/src/classes/features/other/ItemPoolDetection.d.ts +37 -0
  362. package/dist/src/classes/features/other/ItemPoolDetection.d.ts.map +1 -0
  363. package/dist/src/classes/features/other/ItemPoolDetection.lua +147 -0
  364. package/dist/src/classes/features/other/ModdedElementDetection.d.ts +223 -0
  365. package/dist/src/classes/features/other/ModdedElementDetection.d.ts.map +1 -0
  366. package/dist/src/classes/features/other/ModdedElementDetection.lua +249 -0
  367. package/dist/src/classes/features/other/ModdedElementSets.d.ts +261 -0
  368. package/dist/src/classes/features/other/ModdedElementSets.d.ts.map +1 -0
  369. package/dist/src/classes/features/other/ModdedElementSets.lua +479 -0
  370. package/dist/src/classes/features/other/NoSirenSteal.d.ts +17 -0
  371. package/dist/src/classes/features/other/NoSirenSteal.d.ts.map +1 -0
  372. package/dist/src/classes/features/other/NoSirenSteal.lua +58 -0
  373. package/dist/src/classes/features/other/Pause.d.ts +20 -0
  374. package/dist/src/classes/features/other/Pause.d.ts.map +1 -0
  375. package/dist/src/classes/features/other/Pause.lua +157 -0
  376. package/dist/src/classes/features/other/PersistentEntities.d.ts +43 -0
  377. package/dist/src/classes/features/other/PersistentEntities.d.ts.map +1 -0
  378. package/dist/src/classes/features/other/PersistentEntities.lua +155 -0
  379. package/dist/src/classes/features/other/PickupIndexCreation.d.ts +31 -0
  380. package/dist/src/classes/features/other/PickupIndexCreation.d.ts.map +1 -0
  381. package/dist/src/classes/features/other/PickupIndexCreation.lua +194 -0
  382. package/dist/src/classes/features/other/PlayerInventory.d.ts +35 -0
  383. package/dist/src/classes/features/other/PlayerInventory.d.ts.map +1 -0
  384. package/dist/src/classes/features/other/PlayerInventory.lua +63 -0
  385. package/dist/src/classes/features/other/PonyDetection.d.ts +16 -0
  386. package/dist/src/classes/features/other/PonyDetection.d.ts.map +1 -0
  387. package/dist/src/classes/features/other/PonyDetection.lua +65 -0
  388. package/dist/src/classes/features/other/PreventChildEntities.d.ts +15 -0
  389. package/dist/src/classes/features/other/PreventChildEntities.d.ts.map +1 -0
  390. package/dist/src/classes/features/other/PreventChildEntities.lua +35 -0
  391. package/dist/src/classes/features/other/PreventCollectibleRotation.d.ts +18 -0
  392. package/dist/src/classes/features/other/PreventCollectibleRotation.d.ts.map +1 -0
  393. package/dist/src/classes/features/other/PreventCollectibleRotation.lua +67 -0
  394. package/dist/src/classes/features/other/PreventGridEntityRespawn.d.ts +33 -0
  395. package/dist/src/classes/features/other/PreventGridEntityRespawn.d.ts.map +1 -0
  396. package/dist/src/classes/features/other/PreventGridEntityRespawn.lua +124 -0
  397. package/dist/src/classes/features/other/RoomClearFrame.d.ts +16 -0
  398. package/dist/src/classes/features/other/RoomClearFrame.d.ts.map +1 -0
  399. package/dist/src/classes/features/other/RoomClearFrame.lua +38 -0
  400. package/dist/src/classes/features/other/RoomHistory.d.ts +38 -0
  401. package/dist/src/classes/features/other/RoomHistory.d.ts.map +1 -0
  402. package/dist/src/classes/features/other/RoomHistory.lua +98 -0
  403. package/dist/src/classes/features/other/RunInNFrames.d.ts +9 -23
  404. package/dist/src/classes/features/other/RunInNFrames.d.ts.map +1 -1
  405. package/dist/src/classes/features/other/RunInNFrames.lua +17 -0
  406. package/dist/src/classes/features/other/RunNextRoom.d.ts +18 -0
  407. package/dist/src/classes/features/other/RunNextRoom.d.ts.map +1 -0
  408. package/dist/src/classes/features/other/RunNextRoom.lua +37 -0
  409. package/dist/src/classes/features/other/SaveDataManager.d.ts +213 -0
  410. package/dist/src/classes/features/other/SaveDataManager.d.ts.map +1 -0
  411. package/dist/src/classes/features/other/SaveDataManager.lua +193 -0
  412. package/dist/src/classes/features/other/SpawnCollectible.d.ts +46 -0
  413. package/dist/src/classes/features/other/SpawnCollectible.d.ts.map +1 -0
  414. package/dist/src/classes/features/other/SpawnCollectible.lua +76 -0
  415. package/dist/src/classes/features/other/SpawnRockAltRewards.d.ts +81 -0
  416. package/dist/src/classes/features/other/SpawnRockAltRewards.d.ts.map +1 -0
  417. package/dist/src/classes/features/other/SpawnRockAltRewards.lua +465 -0
  418. package/dist/src/classes/features/other/StageHistory.d.ts +41 -0
  419. package/dist/src/classes/features/other/StageHistory.d.ts.map +1 -0
  420. package/dist/src/classes/features/other/StageHistory.lua +200 -0
  421. package/dist/src/classes/features/other/StartAmbush.d.ts +12 -0
  422. package/dist/src/classes/features/other/StartAmbush.d.ts.map +1 -0
  423. package/dist/src/classes/features/other/StartAmbush.lua +53 -0
  424. package/dist/src/classes/features/other/TaintedLazarusPlayers.d.ts +33 -0
  425. package/dist/src/classes/features/other/TaintedLazarusPlayers.d.ts.map +1 -0
  426. package/dist/src/classes/features/other/TaintedLazarusPlayers.lua +69 -0
  427. package/dist/src/classes/features/other/customStages/backdrop.d.ts +3 -0
  428. package/dist/src/classes/features/other/customStages/backdrop.d.ts.map +1 -0
  429. package/dist/src/classes/features/other/customStages/backdrop.lua +200 -0
  430. package/dist/src/classes/features/other/customStages/constants.d.ts +17 -0
  431. package/dist/src/classes/features/other/customStages/constants.d.ts.map +1 -0
  432. package/dist/src/classes/features/other/customStages/constants.lua +16 -0
  433. package/dist/src/classes/features/other/customStages/gridEntities.d.ts +13 -0
  434. package/dist/src/classes/features/other/customStages/gridEntities.d.ts.map +1 -0
  435. package/dist/src/classes/features/other/customStages/gridEntities.lua +243 -0
  436. package/dist/src/classes/features/other/customStages/shadows.d.ts +3 -0
  437. package/dist/src/classes/features/other/customStages/shadows.d.ts.map +1 -0
  438. package/dist/src/classes/features/other/customStages/shadows.lua +71 -0
  439. package/dist/src/classes/features/other/customStages/streakText.d.ts +27 -0
  440. package/dist/src/classes/features/other/customStages/streakText.d.ts.map +1 -0
  441. package/dist/src/classes/features/other/customStages/streakText.lua +220 -0
  442. package/dist/src/classes/features/other/customStages/utils.d.ts +13 -0
  443. package/dist/src/classes/features/other/customStages/utils.d.ts.map +1 -0
  444. package/dist/src/{features/customStage/customStageUtils.lua → classes/features/other/customStages/utils.lua} +0 -0
  445. package/dist/src/classes/features/other/customStages/versusScreen.d.ts +13 -0
  446. package/dist/src/classes/features/other/customStages/versusScreen.d.ts.map +1 -0
  447. package/dist/src/classes/features/other/customStages/versusScreen.lua +275 -0
  448. package/dist/src/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts +8 -0
  449. package/dist/src/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts.map +1 -0
  450. package/dist/src/classes/features/other/debugDisplay/DebugDisplayBomb.lua +25 -0
  451. package/dist/src/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts +8 -0
  452. package/dist/src/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts.map +1 -0
  453. package/dist/src/classes/features/other/debugDisplay/DebugDisplayDoor.lua +25 -0
  454. package/dist/src/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts +8 -0
  455. package/dist/src/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts.map +1 -0
  456. package/dist/src/classes/features/other/debugDisplay/DebugDisplayEffect.lua +25 -0
  457. package/dist/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts +8 -0
  458. package/dist/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts.map +1 -0
  459. package/dist/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.lua +25 -0
  460. package/dist/src/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts +8 -0
  461. package/dist/src/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts.map +1 -0
  462. package/dist/src/classes/features/other/debugDisplay/DebugDisplayKnife.lua +25 -0
  463. package/dist/src/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts +8 -0
  464. package/dist/src/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts.map +1 -0
  465. package/dist/src/classes/features/other/debugDisplay/DebugDisplayLaser.lua +25 -0
  466. package/dist/src/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts +8 -0
  467. package/dist/src/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts.map +1 -0
  468. package/dist/src/classes/features/other/debugDisplay/DebugDisplayNPC.lua +25 -0
  469. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts +8 -0
  470. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts.map +1 -0
  471. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPickup.lua +25 -0
  472. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPit.d.ts +8 -0
  473. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPit.d.ts.map +1 -0
  474. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPit.lua +25 -0
  475. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts +8 -0
  476. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts.map +1 -0
  477. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPlayer.lua +25 -0
  478. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts +8 -0
  479. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts.map +1 -0
  480. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPoop.lua +25 -0
  481. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts +8 -0
  482. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts.map +1 -0
  483. package/dist/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.lua +25 -0
  484. package/dist/src/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts +8 -0
  485. package/dist/src/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts.map +1 -0
  486. package/dist/src/classes/features/other/debugDisplay/DebugDisplayProjectile.lua +25 -0
  487. package/dist/src/classes/features/other/debugDisplay/DebugDisplayRock.d.ts +8 -0
  488. package/dist/src/classes/features/other/debugDisplay/DebugDisplayRock.d.ts.map +1 -0
  489. package/dist/src/classes/features/other/debugDisplay/DebugDisplayRock.lua +25 -0
  490. package/dist/src/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts +8 -0
  491. package/dist/src/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts.map +1 -0
  492. package/dist/src/classes/features/other/debugDisplay/DebugDisplaySlot.lua +25 -0
  493. package/dist/src/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts +8 -0
  494. package/dist/src/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts.map +1 -0
  495. package/dist/src/classes/features/other/debugDisplay/DebugDisplaySpikes.lua +25 -0
  496. package/dist/src/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts +8 -0
  497. package/dist/src/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts.map +1 -0
  498. package/dist/src/classes/features/other/debugDisplay/DebugDisplayTNT.lua +25 -0
  499. package/dist/src/classes/features/other/debugDisplay/DebugDisplayTear.d.ts +8 -0
  500. package/dist/src/classes/features/other/debugDisplay/DebugDisplayTear.d.ts.map +1 -0
  501. package/dist/src/classes/features/other/debugDisplay/DebugDisplayTear.lua +25 -0
  502. package/dist/src/classes/features/other/debugDisplay/utils.d.ts +6 -0
  503. package/dist/src/classes/features/other/debugDisplay/utils.d.ts.map +1 -0
  504. package/dist/src/classes/features/other/debugDisplay/utils.lua +29 -0
  505. package/dist/src/classes/features/other/extraConsoleCommands/commands.d.ts +409 -0
  506. package/dist/src/classes/features/other/extraConsoleCommands/commands.d.ts.map +1 -0
  507. package/dist/src/classes/features/other/extraConsoleCommands/commands.lua +1320 -0
  508. package/dist/src/classes/features/other/extraConsoleCommands/subroutines.d.ts +11 -0
  509. package/dist/src/classes/features/other/extraConsoleCommands/subroutines.d.ts.map +1 -0
  510. package/dist/src/{features/extraConsoleCommands/commandsSubroutines.lua → classes/features/other/extraConsoleCommands/subroutines.lua} +0 -0
  511. package/dist/src/classes/features/other/extraConsoleCommands/v.d.ts +23 -0
  512. package/dist/src/classes/features/other/extraConsoleCommands/v.d.ts.map +1 -0
  513. package/dist/src/classes/features/other/extraConsoleCommands/v.lua +22 -0
  514. package/dist/src/classes/features/other/saveDataManager/constants.d.ts +2 -0
  515. package/dist/src/classes/features/other/saveDataManager/constants.d.ts.map +1 -0
  516. package/dist/src/classes/features/other/saveDataManager/constants.lua +3 -0
  517. package/dist/src/classes/features/other/saveDataManager/glowingHourGlass.d.ts +6 -0
  518. package/dist/src/classes/features/other/saveDataManager/glowingHourGlass.d.ts.map +1 -0
  519. package/dist/src/classes/features/other/saveDataManager/glowingHourGlass.lua +98 -0
  520. package/dist/src/classes/features/other/saveDataManager/loadFromDisk.d.ts +6 -0
  521. package/dist/src/classes/features/other/saveDataManager/loadFromDisk.d.ts.map +1 -0
  522. package/dist/src/classes/features/other/saveDataManager/loadFromDisk.lua +81 -0
  523. package/dist/src/classes/features/other/saveDataManager/restoreDefaults.d.ts +7 -0
  524. package/dist/src/classes/features/other/saveDataManager/restoreDefaults.d.ts.map +1 -0
  525. package/dist/src/classes/features/other/saveDataManager/restoreDefaults.lua +69 -0
  526. package/dist/src/classes/features/other/saveDataManager/saveToDisk.d.ts +5 -0
  527. package/dist/src/classes/features/other/saveDataManager/saveToDisk.d.ts.map +1 -0
  528. package/dist/src/classes/features/other/saveDataManager/saveToDisk.lua +46 -0
  529. package/dist/src/classes/private/CustomCallback.d.ts +10 -10
  530. package/dist/src/classes/private/CustomCallback.d.ts.map +1 -1
  531. package/dist/src/classes/private/CustomCallback.lua +3 -8
  532. package/dist/src/classes/private/Feature.d.ts +8 -9
  533. package/dist/src/classes/private/Feature.d.ts.map +1 -1
  534. package/dist/src/classes/private/Feature.lua +8 -0
  535. package/dist/src/core/constants.d.ts +4 -4
  536. package/dist/src/core/constants.lua +4 -4
  537. package/dist/src/core/upgradeMod.d.ts +3 -12
  538. package/dist/src/core/upgradeMod.d.ts.map +1 -1
  539. package/dist/src/core/upgradeMod.lua +16 -51
  540. package/dist/src/{features/customStage/metadata.lua → customStageMetadata.lua} +0 -0
  541. package/dist/src/decorators.d.ts +1 -1
  542. package/dist/src/decorators.d.ts.map +1 -1
  543. package/dist/src/decorators.lua +6 -8
  544. package/dist/src/enums/ISCFeature.d.ts +52 -9
  545. package/dist/src/enums/ISCFeature.d.ts.map +1 -1
  546. package/dist/src/enums/ISCFeature.lua +104 -9
  547. package/dist/src/enums/ModCallbackCustom.d.ts +234 -175
  548. package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
  549. package/dist/src/enums/SerializationBrand.d.ts +40 -0
  550. package/dist/src/enums/SerializationBrand.d.ts.map +1 -0
  551. package/dist/src/enums/SerializationBrand.lua +19 -0
  552. package/dist/src/enums/private/GridEntityTypeCustom.d.ts +9 -0
  553. package/dist/src/enums/private/GridEntityTypeCustom.d.ts.map +1 -0
  554. package/dist/src/enums/private/GridEntityTypeCustom.lua +3 -0
  555. package/dist/src/enums/private/UIStreakAnimation.d.ts +7 -0
  556. package/dist/src/enums/private/UIStreakAnimation.d.ts.map +1 -0
  557. package/dist/src/enums/private/UIStreakAnimation.lua +10 -0
  558. package/dist/src/features.d.ts +142 -12
  559. package/dist/src/features.d.ts.map +1 -1
  560. package/dist/src/features.lua +197 -29
  561. package/dist/src/functions/ambush.d.ts +0 -7
  562. package/dist/src/functions/ambush.d.ts.map +1 -1
  563. package/dist/src/functions/ambush.lua +0 -40
  564. package/dist/src/functions/array.d.ts.map +1 -1
  565. package/dist/src/functions/array.lua +4 -5
  566. package/dist/src/functions/bitSet128.d.ts +2 -2
  567. package/dist/src/functions/bitSet128.lua +3 -3
  568. package/dist/src/functions/characters.d.ts +1 -0
  569. package/dist/src/functions/characters.d.ts.map +1 -1
  570. package/dist/src/functions/characters.lua +15 -0
  571. package/dist/src/functions/collectibleTag.d.ts +0 -13
  572. package/dist/src/functions/collectibleTag.d.ts.map +1 -1
  573. package/dist/src/functions/collectibleTag.lua +0 -65
  574. package/dist/src/functions/collectibles.d.ts +3 -1
  575. package/dist/src/functions/collectibles.d.ts.map +1 -1
  576. package/dist/src/functions/collectibles.lua +10 -0
  577. package/dist/src/functions/color.d.ts +2 -2
  578. package/dist/src/functions/color.lua +3 -3
  579. package/dist/src/functions/decorators.d.ts +21 -0
  580. package/dist/src/functions/decorators.d.ts.map +1 -1
  581. package/dist/src/functions/deepCopy.d.ts +11 -4
  582. package/dist/src/functions/deepCopy.d.ts.map +1 -1
  583. package/dist/src/functions/deepCopy.lua +86 -34
  584. package/dist/src/functions/deepCopyTests.lua +1 -1
  585. package/dist/src/functions/easing.d.ts +180 -30
  586. package/dist/src/functions/easing.d.ts.map +1 -1
  587. package/dist/src/functions/easing.lua +184 -94
  588. package/dist/src/functions/familiars.d.ts +23 -0
  589. package/dist/src/functions/familiars.d.ts.map +1 -1
  590. package/dist/src/functions/familiars.lua +32 -0
  591. package/dist/src/functions/gridEntities.d.ts +8 -0
  592. package/dist/src/functions/gridEntities.d.ts.map +1 -1
  593. package/dist/src/functions/gridEntities.lua +12 -0
  594. package/dist/src/functions/initArray.d.ts +4 -4
  595. package/dist/src/functions/initArray.d.ts.map +1 -1
  596. package/dist/src/functions/initArray.lua +6 -12
  597. package/dist/src/functions/jsonRoom.d.ts +11 -0
  598. package/dist/src/functions/jsonRoom.d.ts.map +1 -1
  599. package/dist/src/functions/jsonRoom.lua +11 -0
  600. package/dist/src/functions/kColor.d.ts +2 -2
  601. package/dist/src/functions/kColor.lua +3 -3
  602. package/dist/src/functions/logEntities.d.ts +5 -1
  603. package/dist/src/functions/logEntities.d.ts.map +1 -1
  604. package/dist/src/functions/logEntities.lua +21 -2
  605. package/dist/src/functions/logMisc.d.ts.map +1 -1
  606. package/dist/src/functions/logMisc.lua +20 -3
  607. package/dist/src/functions/merge.d.ts +40 -0
  608. package/dist/src/functions/merge.d.ts.map +1 -0
  609. package/dist/src/functions/merge.lua +210 -0
  610. package/dist/src/functions/mergeTests.d.ts +1 -2
  611. package/dist/src/functions/mergeTests.d.ts.map +1 -1
  612. package/dist/src/functions/mergeTests.lua +3 -4
  613. package/dist/src/functions/nextStage.d.ts +7 -3
  614. package/dist/src/functions/nextStage.d.ts.map +1 -1
  615. package/dist/src/functions/nextStage.lua +9 -123
  616. package/dist/src/functions/players.d.ts +7 -7
  617. package/dist/src/functions/players.d.ts.map +1 -1
  618. package/dist/src/functions/players.lua +20 -31
  619. package/dist/src/functions/rng.d.ts +2 -2
  620. package/dist/src/functions/rng.lua +3 -3
  621. package/dist/src/functions/rockAlt.d.ts +4 -28
  622. package/dist/src/functions/rockAlt.d.ts.map +1 -1
  623. package/dist/src/functions/rockAlt.lua +19 -455
  624. package/dist/src/functions/run.d.ts +0 -8
  625. package/dist/src/functions/run.d.ts.map +1 -1
  626. package/dist/src/functions/run.lua +0 -15
  627. package/dist/src/functions/serialization.d.ts.map +1 -1
  628. package/dist/src/functions/serialization.lua +22 -0
  629. package/dist/src/functions/spawnCollectible.d.ts +7 -22
  630. package/dist/src/functions/spawnCollectible.d.ts.map +1 -1
  631. package/dist/src/functions/spawnCollectible.lua +7 -50
  632. package/dist/src/functions/transformations.d.ts +4 -13
  633. package/dist/src/functions/transformations.d.ts.map +1 -1
  634. package/dist/src/functions/transformations.lua +4 -31
  635. package/dist/src/functions/trinkets.d.ts +3 -1
  636. package/dist/src/functions/trinkets.d.ts.map +1 -1
  637. package/dist/src/functions/trinkets.lua +10 -0
  638. package/dist/src/functions/tstlClass.d.ts +0 -10
  639. package/dist/src/functions/tstlClass.d.ts.map +1 -1
  640. package/dist/src/functions/tstlClass.lua +2 -42
  641. package/dist/src/functions/vector.d.ts +2 -2
  642. package/dist/src/functions/vector.lua +3 -3
  643. package/dist/src/functions/weighted.d.ts +12 -1
  644. package/dist/src/functions/weighted.d.ts.map +1 -1
  645. package/dist/src/functions/weighted.lua +27 -10
  646. package/dist/src/index.d.ts +14 -44
  647. package/dist/src/index.d.ts.map +1 -1
  648. package/dist/src/index.lua +21 -333
  649. package/dist/src/interfaces/CustomStageTSConfig.d.ts +30 -0
  650. package/dist/src/interfaces/CustomStageTSConfig.d.ts.map +1 -1
  651. package/dist/src/interfaces/RoomDescription.d.ts +2 -1
  652. package/dist/src/interfaces/RoomDescription.d.ts.map +1 -1
  653. package/dist/src/interfaces/SaveData.d.ts +3 -7
  654. package/dist/src/interfaces/SaveData.d.ts.map +1 -1
  655. package/dist/src/interfaces/SaveData.lua +0 -11
  656. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +419 -186
  657. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
  658. package/dist/src/interfaces/private/CustomTrapdoorDescription.d.ts +4 -2
  659. package/dist/src/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -1
  660. package/dist/src/interfaces/private/ModUpgradedInterface.d.ts +13 -0
  661. package/dist/src/interfaces/private/ModUpgradedInterface.d.ts.map +1 -0
  662. package/dist/src/interfaces/private/{CustomTrapdoorDestination.lua → ModUpgradedInterface.lua} +0 -0
  663. package/dist/src/maps/transformationNameToPlayerFormMap.d.ts +4 -0
  664. package/dist/src/maps/transformationNameToPlayerFormMap.d.ts.map +1 -0
  665. package/dist/src/maps/{transformationNameToPlayerForm.lua → transformationNameToPlayerFormMap.lua} +0 -0
  666. package/dist/src/objects/isaacAPIClassTypeToBrand.d.ts +1 -1
  667. package/dist/src/objects/isaacAPIClassTypeToBrand.d.ts.map +1 -1
  668. package/dist/src/objects/isaacAPIClassTypeToBrand.lua +1 -1
  669. package/dist/src/shaderCrashFix.d.ts +5 -1
  670. package/dist/src/shaderCrashFix.d.ts.map +1 -1
  671. package/dist/src/shaderCrashFix.lua +6 -2
  672. package/dist/src/shouldFire.d.ts +56 -0
  673. package/dist/src/shouldFire.d.ts.map +1 -0
  674. package/dist/src/shouldFire.lua +138 -0
  675. package/dist/src/types/AllButFirst.d.ts +1 -0
  676. package/dist/src/types/AllButFirst.d.ts.map +1 -1
  677. package/dist/src/types/AllButLast.d.ts +1 -0
  678. package/dist/src/types/AllButLast.d.ts.map +1 -1
  679. package/dist/src/types/AnyClass.d.ts +3 -0
  680. package/dist/src/types/AnyClass.d.ts.map +1 -0
  681. package/dist/src/types/{Constructor.lua → AnyClass.lua} +0 -0
  682. package/dist/src/types/AnyFunction.d.ts +6 -0
  683. package/dist/src/types/AnyFunction.d.ts.map +1 -0
  684. package/dist/src/types/{private/MatchingCallbackCustom.lua → AnyFunction.lua} +0 -0
  685. package/dist/src/types/ConversionHeartSubType.d.ts +7 -0
  686. package/dist/src/types/ConversionHeartSubType.d.ts.map +1 -0
  687. package/dist/src/types/ConversionHeartSubType.lua +2 -0
  688. package/dist/src/types/FunctionTuple.d.ts +3 -4
  689. package/dist/src/types/FunctionTuple.d.ts.map +1 -1
  690. package/dist/src/types/HasAllEnumKeys.d.ts +1 -1
  691. package/dist/src/types/HasFunction.d.ts +5 -0
  692. package/dist/src/types/HasFunction.d.ts.map +1 -0
  693. package/dist/src/types/HasFunction.lua +2 -0
  694. package/dist/src/types/Immutable.d.ts +1 -1
  695. package/dist/src/types/LowercaseKeys.d.ts +1 -0
  696. package/dist/src/types/LowercaseKeys.d.ts.map +1 -1
  697. package/dist/src/types/ModUpgraded.d.ts +32 -0
  698. package/dist/src/types/ModUpgraded.d.ts.map +1 -0
  699. package/dist/src/types/ModUpgraded.lua +2 -0
  700. package/dist/src/types/PublicInterface.d.ts +3 -0
  701. package/dist/src/types/PublicInterface.d.ts.map +1 -0
  702. package/dist/src/types/PublicInterface.lua +2 -0
  703. package/dist/src/types/StartsWithLowercase.d.ts +1 -0
  704. package/dist/src/types/StartsWithLowercase.d.ts.map +1 -1
  705. package/dist/src/types/StartsWithUppercase.d.ts +1 -0
  706. package/dist/src/types/StartsWithUppercase.d.ts.map +1 -1
  707. package/dist/src/types/TupleToIntersection.d.ts +5 -0
  708. package/dist/src/types/TupleToIntersection.d.ts.map +1 -0
  709. package/dist/src/types/TupleToIntersection.lua +2 -0
  710. package/dist/src/types/TupleToUnion.d.ts +3 -0
  711. package/dist/src/types/TupleToUnion.d.ts.map +1 -0
  712. package/dist/src/types/TupleToUnion.lua +2 -0
  713. package/dist/src/types/UnionToIntersection.d.ts +1 -1
  714. package/dist/src/types/UnionToIntersection.d.ts.map +1 -1
  715. package/dist/src/types/UppercaseKeys.d.ts +1 -0
  716. package/dist/src/types/UppercaseKeys.d.ts.map +1 -1
  717. package/dist/src/types/Writable.d.ts +9 -0
  718. package/dist/src/types/Writable.d.ts.map +1 -0
  719. package/dist/src/types/Writable.lua +2 -0
  720. package/dist/src/types/private/CallbackTuple.d.ts +4 -4
  721. package/dist/src/types/private/CallbackTuple.d.ts.map +1 -1
  722. package/package.json +2 -2
  723. package/src/callbacks.ts +142 -58
  724. package/src/classes/ModFeature.ts +44 -10
  725. package/src/classes/ModUpgradedBase.ts +420 -0
  726. package/src/classes/callbacks/PostAmbushFinished.ts +6 -3
  727. package/src/classes/callbacks/PostAmbushStarted.ts +6 -3
  728. package/src/classes/callbacks/PostBombExploded.ts +6 -3
  729. package/src/classes/callbacks/PostBombInitLate.ts +6 -3
  730. package/src/classes/callbacks/PostBoneSwing.ts +2 -2
  731. package/src/classes/callbacks/PostCollectibleEmpty.ts +10 -10
  732. package/src/classes/callbacks/PostCollectibleInitFirst.ts +6 -3
  733. package/src/classes/callbacks/PostCursedTeleport.ts +6 -3
  734. package/src/classes/callbacks/PostCustomRevive.ts +22 -3
  735. package/src/classes/callbacks/PostDiceRoomActivated.ts +10 -10
  736. package/src/classes/callbacks/PostDoorRender.ts +6 -3
  737. package/src/classes/callbacks/PostDoorUpdate.ts +6 -3
  738. package/src/classes/callbacks/PostEffectInitLate.ts +6 -3
  739. package/src/classes/callbacks/PostEffectStateChanged.ts +6 -3
  740. package/src/classes/callbacks/PostEsauJr.ts +2 -2
  741. package/src/classes/callbacks/PostFamiliarInitLate.ts +6 -3
  742. package/src/classes/callbacks/PostFamiliarStateChanged.ts +6 -3
  743. package/src/classes/callbacks/PostFirstEsauJr.ts +2 -2
  744. package/src/classes/callbacks/PostFirstFlip.ts +2 -2
  745. package/src/classes/callbacks/PostFlip.ts +2 -2
  746. package/src/classes/callbacks/PostGameStartedReordered.ts +2 -2
  747. package/src/classes/callbacks/PostGameStartedReorderedLast.ts +2 -2
  748. package/src/classes/callbacks/PostGreedModeWave.ts +2 -2
  749. package/src/classes/callbacks/PostGridEntityBroken.ts +7 -4
  750. package/src/classes/callbacks/PostGridEntityCollision.ts +19 -36
  751. package/src/classes/callbacks/PostGridEntityCustomBroken.ts +7 -4
  752. package/src/classes/callbacks/PostGridEntityCustomCollision.ts +17 -28
  753. package/src/classes/callbacks/PostGridEntityCustomInit.ts +7 -4
  754. package/src/classes/callbacks/PostGridEntityCustomRemove.ts +11 -12
  755. package/src/classes/callbacks/PostGridEntityCustomRender.ts +14 -0
  756. package/src/classes/callbacks/PostGridEntityCustomStateChanged.ts +7 -4
  757. package/src/classes/callbacks/PostGridEntityCustomUpdate.ts +7 -4
  758. package/src/classes/callbacks/PostGridEntityInit.ts +7 -4
  759. package/src/classes/callbacks/PostGridEntityRemove.ts +11 -18
  760. package/src/classes/callbacks/PostGridEntityRender.ts +14 -0
  761. package/src/classes/callbacks/PostGridEntityStateChanged.ts +7 -4
  762. package/src/classes/callbacks/PostGridEntityUpdate.ts +7 -4
  763. package/src/classes/callbacks/PostHolyMantleRemoved.ts +6 -3
  764. package/src/classes/callbacks/PostItemDischarge.ts +188 -0
  765. package/src/classes/callbacks/PostItemPickup.ts +14 -0
  766. package/src/classes/callbacks/PostKnifeInitLate.ts +6 -3
  767. package/src/classes/callbacks/PostLaserInitLate.ts +31 -0
  768. package/src/classes/callbacks/PostNPCInitLate.ts +31 -0
  769. package/src/classes/callbacks/PostNPCStateChanged.ts +40 -0
  770. package/src/classes/callbacks/PostNewLevelReordered.ts +2 -2
  771. package/src/classes/callbacks/PostNewRoomEarly.ts +2 -2
  772. package/src/classes/callbacks/PostNewRoomReordered.ts +2 -2
  773. package/src/classes/callbacks/PostPEffectUpdateReordered.ts +6 -3
  774. package/src/classes/callbacks/PostPickupCollect.ts +40 -0
  775. package/src/classes/callbacks/PostPickupInitFirst.ts +37 -0
  776. package/src/classes/callbacks/PostPickupInitLate.ts +31 -0
  777. package/src/classes/callbacks/PostPickupStateChanged.ts +38 -0
  778. package/src/classes/callbacks/PostPitRender.ts +6 -3
  779. package/src/classes/callbacks/PostPitUpdate.ts +24 -0
  780. package/src/classes/callbacks/PostPlayerChangeHealth.ts +62 -0
  781. package/src/classes/callbacks/PostPlayerChangeStat.ts +107 -0
  782. package/src/classes/callbacks/PostPlayerChangeType.ts +49 -0
  783. package/src/classes/callbacks/PostPlayerCollectibleAdded.ts +14 -0
  784. package/src/classes/callbacks/PostPlayerCollectibleRemoved.ts +14 -0
  785. package/src/classes/callbacks/PostPlayerFatalDamage.ts +6 -3
  786. package/src/classes/callbacks/PostPlayerInitFirst.ts +43 -0
  787. package/src/classes/callbacks/PostPlayerInitLate.ts +37 -0
  788. package/src/classes/callbacks/PostPlayerRenderReordered.ts +6 -3
  789. package/src/classes/callbacks/PostPlayerUpdateReordered.ts +6 -3
  790. package/src/classes/callbacks/PostPoopRender.ts +24 -0
  791. package/src/classes/callbacks/PostPoopUpdate.ts +24 -0
  792. package/src/classes/callbacks/PostPressurePlateRender.ts +24 -0
  793. package/src/classes/callbacks/PostPressurePlateUpdate.ts +24 -0
  794. package/src/classes/callbacks/PostProjectileInitLate.ts +31 -0
  795. package/src/classes/callbacks/PostPurchase.ts +80 -0
  796. package/src/classes/callbacks/PostRockRender.ts +24 -0
  797. package/src/classes/callbacks/PostRockUpdate.ts +24 -0
  798. package/src/classes/callbacks/PostRoomClearChanged.ts +26 -6
  799. package/src/classes/callbacks/PostSacrifice.ts +58 -0
  800. package/src/classes/callbacks/PostSlotAnimationChanged.ts +14 -0
  801. package/src/classes/callbacks/PostSlotCollision.ts +29 -0
  802. package/src/classes/callbacks/PostSlotDestroyed.ts +82 -0
  803. package/src/classes/callbacks/PostSlotInit.ts +14 -0
  804. package/src/classes/callbacks/PostSlotRender.ts +14 -0
  805. package/src/classes/callbacks/PostSlotUpdate.ts +14 -0
  806. package/src/classes/callbacks/PostSpikesRender.ts +6 -3
  807. package/src/classes/callbacks/PostSpikesUpdate.ts +24 -0
  808. package/src/classes/callbacks/PostTNTRender.ts +24 -0
  809. package/src/classes/callbacks/PostTNTUpdate.ts +24 -0
  810. package/src/classes/callbacks/PostTearInitLate.ts +31 -0
  811. package/src/classes/callbacks/PostTearInitVeryLate.ts +36 -0
  812. package/src/classes/callbacks/PostTransformation.ts +70 -0
  813. package/src/classes/callbacks/PostTrinketBreak.ts +112 -0
  814. package/src/classes/callbacks/PreBerserkDeath.ts +7 -4
  815. package/src/classes/callbacks/PreCustomRevive.ts +6 -3
  816. package/src/classes/callbacks/PreGetPedestal.ts +59 -0
  817. package/src/classes/callbacks/PreItemPickup.ts +14 -0
  818. package/src/classes/callbacks/PreNewLevel.ts +50 -0
  819. package/src/classes/features/callbackLogic/CustomGridEntities.ts +42 -37
  820. package/src/classes/features/callbackLogic/CustomRevive.ts +25 -26
  821. package/src/classes/features/callbackLogic/EsauJrDetection.ts +0 -4
  822. package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +4 -9
  823. package/src/classes/features/callbackLogic/GridEntityCollisionDetection.ts +0 -4
  824. package/src/classes/features/callbackLogic/GridEntityRenderDetection.ts +42 -0
  825. package/src/classes/features/callbackLogic/GridEntityUpdateDetection.ts +215 -0
  826. package/src/classes/features/callbackLogic/ItemPickupDetection.ts +91 -0
  827. package/src/classes/features/callbackLogic/PlayerCollectibleDetection.ts +253 -0
  828. package/src/classes/features/callbackLogic/PlayerReorderedCallbacks.ts +2 -2
  829. package/src/classes/features/callbackLogic/SlotRenderDetection.ts +64 -0
  830. package/src/classes/features/callbackLogic/SlotUpdateDetection.ts +57 -0
  831. package/src/classes/features/other/CharacterHealthConversion.ts +132 -0
  832. package/src/classes/features/other/CharacterStats.ts +67 -0
  833. package/src/classes/features/other/CollectibleItemPoolType.ts +66 -0
  834. package/src/classes/features/other/CustomHotkeys.ts +146 -0
  835. package/src/classes/features/other/CustomItemPools.ts +135 -0
  836. package/src/classes/features/other/CustomPickups.ts +150 -0
  837. package/src/classes/features/other/CustomStages.ts +539 -0
  838. package/src/classes/features/other/CustomTrapdoors.ts +830 -0
  839. package/src/classes/features/other/DebugDisplay.ts +394 -0
  840. package/src/classes/features/other/DeployJSONRoom.ts +418 -0
  841. package/src/classes/features/other/DisableAllSound.ts +78 -0
  842. package/src/classes/features/other/DisableInputs.ts +210 -0
  843. package/src/classes/features/other/ExtraConsoleCommands.ts +236 -0
  844. package/src/classes/features/other/FadeInRemover.ts +48 -0
  845. package/src/classes/features/other/FastReset.ts +83 -0
  846. package/src/classes/features/other/FlyingDetection.ts +58 -0
  847. package/src/classes/features/other/ForgottenSwitch.ts +52 -0
  848. package/src/classes/features/other/ItemPoolDetection.ts +228 -0
  849. package/src/classes/features/other/ModdedElementDetection.ts +485 -0
  850. package/src/classes/features/other/ModdedElementSets.ts +819 -0
  851. package/src/classes/features/other/NoSirenSteal.ts +99 -0
  852. package/src/classes/features/other/Pause.ts +212 -0
  853. package/src/classes/features/other/PersistentEntities.ts +223 -0
  854. package/src/classes/features/other/PickupIndexCreation.ts +265 -0
  855. package/src/classes/features/other/PlayerInventory.ts +122 -0
  856. package/src/classes/features/other/PonyDetection.ts +80 -0
  857. package/src/classes/features/other/PreventChildEntities.ts +50 -0
  858. package/src/classes/features/other/PreventCollectibleRotation.ts +115 -0
  859. package/src/classes/features/other/PreventGridEntityRespawn.ts +194 -0
  860. package/src/classes/features/other/RoomClearFrame.ts +55 -0
  861. package/src/classes/features/other/RoomHistory.ts +145 -0
  862. package/src/classes/features/other/RunInNFrames.ts +24 -4
  863. package/src/classes/features/other/RunNextRoom.ts +48 -0
  864. package/src/classes/features/other/SaveDataManager.ts +505 -0
  865. package/src/classes/features/other/SpawnCollectible.ts +110 -0
  866. package/src/classes/features/other/SpawnRockAltRewards.ts +586 -0
  867. package/src/classes/features/other/StageHistory.ts +319 -0
  868. package/src/classes/features/other/StartAmbush.ts +65 -0
  869. package/src/classes/features/other/TaintedLazarusPlayers.ts +117 -0
  870. package/src/classes/features/other/customStages/backdrop.ts +282 -0
  871. package/src/classes/features/other/customStages/constants.ts +21 -0
  872. package/src/classes/features/other/customStages/gridEntities.ts +253 -0
  873. package/src/classes/features/other/customStages/shadows.ts +80 -0
  874. package/src/classes/features/other/customStages/streakText.ts +315 -0
  875. package/src/classes/features/other/customStages/utils.ts +105 -0
  876. package/src/classes/features/other/customStages/versusScreen.ts +378 -0
  877. package/src/classes/features/other/debugDisplay/DebugDisplayBomb.ts +22 -0
  878. package/src/classes/features/other/debugDisplay/DebugDisplayDoor.ts +22 -0
  879. package/src/classes/features/other/debugDisplay/DebugDisplayEffect.ts +22 -0
  880. package/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.ts +22 -0
  881. package/src/classes/features/other/debugDisplay/DebugDisplayKnife.ts +22 -0
  882. package/src/classes/features/other/debugDisplay/DebugDisplayLaser.ts +22 -0
  883. package/src/classes/features/other/debugDisplay/DebugDisplayNPC.ts +22 -0
  884. package/src/classes/features/other/debugDisplay/DebugDisplayPickup.ts +22 -0
  885. package/src/classes/features/other/debugDisplay/DebugDisplayPit.ts +22 -0
  886. package/src/classes/features/other/debugDisplay/DebugDisplayPlayer.ts +22 -0
  887. package/src/classes/features/other/debugDisplay/DebugDisplayPoop.ts +22 -0
  888. package/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.ts +27 -0
  889. package/src/classes/features/other/debugDisplay/DebugDisplayProjectile.ts +22 -0
  890. package/src/classes/features/other/debugDisplay/DebugDisplayRock.ts +22 -0
  891. package/src/classes/features/other/debugDisplay/DebugDisplaySlot.ts +22 -0
  892. package/src/classes/features/other/debugDisplay/DebugDisplaySpikes.ts +22 -0
  893. package/src/classes/features/other/debugDisplay/DebugDisplayTNT.ts +22 -0
  894. package/src/classes/features/other/debugDisplay/DebugDisplayTear.ts +22 -0
  895. package/src/classes/features/other/debugDisplay/utils.ts +25 -0
  896. package/src/classes/features/other/extraConsoleCommands/commands.ts +1597 -0
  897. package/src/classes/features/other/extraConsoleCommands/subroutines.ts +164 -0
  898. package/src/classes/features/other/extraConsoleCommands/v.ts +27 -0
  899. package/src/classes/features/other/saveDataManager/constants.ts +1 -0
  900. package/src/classes/features/other/saveDataManager/glowingHourGlass.ts +138 -0
  901. package/src/classes/features/other/saveDataManager/loadFromDisk.ts +99 -0
  902. package/src/classes/features/other/saveDataManager/restoreDefaults.ts +116 -0
  903. package/src/classes/features/other/saveDataManager/saveToDisk.ts +70 -0
  904. package/src/classes/private/CustomCallback.ts +16 -23
  905. package/src/classes/private/Feature.ts +32 -1
  906. package/src/core/constants.ts +4 -4
  907. package/src/core/upgradeMod.ts +24 -75
  908. package/src/{features/customStage/metadata.json → customStageMetadata.json} +0 -0
  909. package/src/decorators.ts +17 -19
  910. package/src/enums/ISCFeature.ts +52 -42
  911. package/src/enums/ModCallbackCustom.ts +242 -180
  912. package/src/enums/SerializationBrand.ts +45 -0
  913. package/src/enums/private/GridEntityTypeCustom.ts +9 -0
  914. package/src/enums/private/UIStreakAnimation.ts +6 -0
  915. package/src/features.ts +222 -31
  916. package/src/functions/ambush.ts +1 -45
  917. package/src/functions/array.ts +8 -9
  918. package/src/functions/bitSet128.ts +3 -3
  919. package/src/functions/characters.ts +14 -0
  920. package/src/functions/collectibleTag.ts +0 -70
  921. package/src/functions/collectibles.ts +15 -0
  922. package/src/functions/color.ts +3 -3
  923. package/src/functions/decorators.ts +22 -0
  924. package/src/functions/deepCopy.ts +84 -18
  925. package/src/functions/deepCopyTests.ts +1 -1
  926. package/src/functions/easing.ts +238 -87
  927. package/src/functions/familiars.ts +45 -2
  928. package/src/functions/gridEntities.ts +19 -0
  929. package/src/functions/initArray.ts +6 -11
  930. package/src/functions/jsonRoom.ts +11 -0
  931. package/src/functions/kColor.ts +3 -3
  932. package/src/functions/logEntities.ts +13 -3
  933. package/src/functions/logMisc.ts +19 -3
  934. package/src/functions/merge.ts +239 -0
  935. package/src/functions/mergeTests.ts +2 -3
  936. package/src/functions/nextStage.ts +9 -223
  937. package/src/functions/players.ts +12 -29
  938. package/src/functions/rng.ts +3 -3
  939. package/src/functions/rockAlt.ts +22 -505
  940. package/src/functions/run.ts +0 -14
  941. package/src/functions/serialization.ts +25 -1
  942. package/src/functions/spawnCollectible.ts +7 -49
  943. package/src/functions/table.ts +1 -1
  944. package/src/functions/transformations.ts +4 -34
  945. package/src/functions/trinkets.ts +15 -0
  946. package/src/functions/tstlClass.ts +3 -57
  947. package/src/functions/vector.ts +3 -3
  948. package/src/functions/weighted.ts +28 -11
  949. package/src/index.ts +14 -44
  950. package/src/interfaces/CustomStageTSConfig.ts +2 -5
  951. package/src/interfaces/RoomDescription.ts +2 -0
  952. package/src/interfaces/SaveData.ts +3 -34
  953. package/src/interfaces/private/AddCallbackParametersCustom.ts +653 -186
  954. package/src/interfaces/private/CustomTrapdoorDescription.ts +4 -2
  955. package/src/interfaces/private/ModUpgradedInterface.ts +12 -0
  956. package/src/maps/{transformationNameToPlayerForm.ts → transformationNameToPlayerFormMap.ts} +0 -0
  957. package/src/objects/isaacAPIClassTypeToBrand.ts +1 -1
  958. package/src/shaderCrashFix.ts +6 -2
  959. package/src/shouldFire.ts +439 -0
  960. package/src/types/AllButFirst.ts +1 -0
  961. package/src/types/AllButLast.ts +1 -0
  962. package/src/types/AnyClass.ts +2 -0
  963. package/src/types/AnyFunction.ts +5 -0
  964. package/src/types/ConversionHeartSubType.ts +7 -0
  965. package/src/types/FunctionTuple.ts +4 -4
  966. package/src/types/HasAllEnumKeys.ts +1 -1
  967. package/src/types/HasFunction.ts +7 -0
  968. package/src/types/Immutable.ts +1 -1
  969. package/src/types/LowercaseKeys.ts +1 -0
  970. package/src/types/ModUpgraded.ts +37 -0
  971. package/src/types/PublicInterface.ts +2 -0
  972. package/src/types/StartsWithLowercase.ts +1 -0
  973. package/src/types/StartsWithUppercase.ts +1 -0
  974. package/src/types/TupleToIntersection.ts +6 -0
  975. package/src/types/TupleToUnion.ts +2 -0
  976. package/src/types/UnionToIntersection.ts +1 -1
  977. package/src/types/UppercaseKeys.ts +1 -0
  978. package/src/types/Writable.ts +6 -0
  979. package/src/types/private/CallbackTuple.ts +4 -4
  980. package/dist/src/callbacks/customRevive.d.ts +0 -3
  981. package/dist/src/callbacks/customRevive.d.ts.map +0 -1
  982. package/dist/src/callbacks/customRevive.lua +0 -159
  983. package/dist/src/callbacks/itemPickup.d.ts +0 -3
  984. package/dist/src/callbacks/itemPickup.d.ts.map +0 -1
  985. package/dist/src/callbacks/itemPickup.lua +0 -66
  986. package/dist/src/callbacks/postAmbush.d.ts +0 -3
  987. package/dist/src/callbacks/postAmbush.d.ts.map +0 -1
  988. package/dist/src/callbacks/postAmbush.lua +0 -49
  989. package/dist/src/callbacks/postBombExploded.d.ts +0 -3
  990. package/dist/src/callbacks/postBombExploded.d.ts.map +0 -1
  991. package/dist/src/callbacks/postBombExploded.lua +0 -24
  992. package/dist/src/callbacks/postBombInitLate.d.ts +0 -3
  993. package/dist/src/callbacks/postBombInitLate.d.ts.map +0 -1
  994. package/dist/src/callbacks/postBombInitLate.lua +0 -31
  995. package/dist/src/callbacks/postBoneSwing.d.ts +0 -3
  996. package/dist/src/callbacks/postBoneSwing.d.ts.map +0 -1
  997. package/dist/src/callbacks/postBoneSwing.lua +0 -48
  998. package/dist/src/callbacks/postCollectibleEmpty.d.ts +0 -3
  999. package/dist/src/callbacks/postCollectibleEmpty.d.ts.map +0 -1
  1000. package/dist/src/callbacks/postCollectibleEmpty.lua +0 -38
  1001. package/dist/src/callbacks/postCollectibleInitFirst.d.ts +0 -3
  1002. package/dist/src/callbacks/postCollectibleInitFirst.d.ts.map +0 -1
  1003. package/dist/src/callbacks/postCollectibleInitFirst.lua +0 -33
  1004. package/dist/src/callbacks/postCursedTeleport.d.ts +0 -3
  1005. package/dist/src/callbacks/postCursedTeleport.d.ts.map +0 -1
  1006. package/dist/src/callbacks/postCursedTeleport.lua +0 -120
  1007. package/dist/src/callbacks/postDiceRoomActivated.d.ts +0 -3
  1008. package/dist/src/callbacks/postDiceRoomActivated.d.ts.map +0 -1
  1009. package/dist/src/callbacks/postDiceRoomActivated.lua +0 -39
  1010. package/dist/src/callbacks/postDoorRender.d.ts +0 -3
  1011. package/dist/src/callbacks/postDoorRender.d.ts.map +0 -1
  1012. package/dist/src/callbacks/postDoorRender.lua +0 -24
  1013. package/dist/src/callbacks/postDoorUpdate.d.ts +0 -3
  1014. package/dist/src/callbacks/postDoorUpdate.d.ts.map +0 -1
  1015. package/dist/src/callbacks/postDoorUpdate.lua +0 -24
  1016. package/dist/src/callbacks/postEffectInitLate.d.ts +0 -3
  1017. package/dist/src/callbacks/postEffectInitLate.d.ts.map +0 -1
  1018. package/dist/src/callbacks/postEffectInitLate.lua +0 -31
  1019. package/dist/src/callbacks/postEffectStateChanged.d.ts +0 -3
  1020. package/dist/src/callbacks/postEffectStateChanged.d.ts.map +0 -1
  1021. package/dist/src/callbacks/postEffectStateChanged.lua +0 -37
  1022. package/dist/src/callbacks/postEsauJr.d.ts +0 -3
  1023. package/dist/src/callbacks/postEsauJr.d.ts.map +0 -1
  1024. package/dist/src/callbacks/postEsauJr.lua +0 -60
  1025. package/dist/src/callbacks/postFamiliarInitLate.d.ts +0 -3
  1026. package/dist/src/callbacks/postFamiliarInitLate.d.ts.map +0 -1
  1027. package/dist/src/callbacks/postFamiliarInitLate.lua +0 -31
  1028. package/dist/src/callbacks/postFamiliarStateChanged.d.ts +0 -3
  1029. package/dist/src/callbacks/postFamiliarStateChanged.d.ts.map +0 -1
  1030. package/dist/src/callbacks/postFamiliarStateChanged.lua +0 -37
  1031. package/dist/src/callbacks/postFlip.d.ts +0 -3
  1032. package/dist/src/callbacks/postFlip.d.ts.map +0 -1
  1033. package/dist/src/callbacks/postFlip.lua +0 -62
  1034. package/dist/src/callbacks/postGreedModeWave.d.ts +0 -3
  1035. package/dist/src/callbacks/postGreedModeWave.d.ts.map +0 -1
  1036. package/dist/src/callbacks/postGreedModeWave.lua +0 -32
  1037. package/dist/src/callbacks/postGridEntity.d.ts +0 -3
  1038. package/dist/src/callbacks/postGridEntity.d.ts.map +0 -1
  1039. package/dist/src/callbacks/postGridEntity.lua +0 -154
  1040. package/dist/src/callbacks/postGridEntityCollision.d.ts +0 -3
  1041. package/dist/src/callbacks/postGridEntityCollision.d.ts.map +0 -1
  1042. package/dist/src/callbacks/postGridEntityCollision.lua +0 -65
  1043. package/dist/src/callbacks/postGridEntityCustomCollision.d.ts +0 -3
  1044. package/dist/src/callbacks/postGridEntityCustomCollision.d.ts.map +0 -1
  1045. package/dist/src/callbacks/postGridEntityCustomCollision.lua +0 -69
  1046. package/dist/src/callbacks/postGridEntityCustomRender.d.ts +0 -3
  1047. package/dist/src/callbacks/postGridEntityCustomRender.d.ts.map +0 -1
  1048. package/dist/src/callbacks/postGridEntityCustomRender.lua +0 -27
  1049. package/dist/src/callbacks/postGridEntityCustomUpdate.d.ts +0 -3
  1050. package/dist/src/callbacks/postGridEntityCustomUpdate.d.ts.map +0 -1
  1051. package/dist/src/callbacks/postGridEntityCustomUpdate.lua +0 -27
  1052. package/dist/src/callbacks/postGridEntityRender.d.ts +0 -3
  1053. package/dist/src/callbacks/postGridEntityRender.d.ts.map +0 -1
  1054. package/dist/src/callbacks/postGridEntityRender.lua +0 -24
  1055. package/dist/src/callbacks/postHolyMantleRemoved.d.ts +0 -3
  1056. package/dist/src/callbacks/postHolyMantleRemoved.d.ts.map +0 -1
  1057. package/dist/src/callbacks/postHolyMantleRemoved.lua +0 -39
  1058. package/dist/src/callbacks/postItemDischarged.d.ts +0 -3
  1059. package/dist/src/callbacks/postItemDischarged.d.ts.map +0 -1
  1060. package/dist/src/callbacks/postItemDischarged.lua +0 -107
  1061. package/dist/src/callbacks/postKnifeInitLate.d.ts +0 -3
  1062. package/dist/src/callbacks/postKnifeInitLate.d.ts.map +0 -1
  1063. package/dist/src/callbacks/postKnifeInitLate.lua +0 -31
  1064. package/dist/src/callbacks/postLaserInitLate.d.ts +0 -3
  1065. package/dist/src/callbacks/postLaserInitLate.d.ts.map +0 -1
  1066. package/dist/src/callbacks/postLaserInitLate.lua +0 -31
  1067. package/dist/src/callbacks/postNPCInitLate.d.ts +0 -3
  1068. package/dist/src/callbacks/postNPCInitLate.d.ts.map +0 -1
  1069. package/dist/src/callbacks/postNPCInitLate.lua +0 -31
  1070. package/dist/src/callbacks/postNPCStateChanged.d.ts +0 -3
  1071. package/dist/src/callbacks/postNPCStateChanged.d.ts.map +0 -1
  1072. package/dist/src/callbacks/postNPCStateChanged.lua +0 -37
  1073. package/dist/src/callbacks/postNewRoomEarly.d.ts +0 -3
  1074. package/dist/src/callbacks/postNewRoomEarly.d.ts.map +0 -1
  1075. package/dist/src/callbacks/postNewRoomEarly.lua +0 -66
  1076. package/dist/src/callbacks/postPickupCollect.d.ts +0 -3
  1077. package/dist/src/callbacks/postPickupCollect.d.ts.map +0 -1
  1078. package/dist/src/callbacks/postPickupCollect.lua +0 -39
  1079. package/dist/src/callbacks/postPickupInitFirst.d.ts +0 -3
  1080. package/dist/src/callbacks/postPickupInitFirst.d.ts.map +0 -1
  1081. package/dist/src/callbacks/postPickupInitFirst.lua +0 -34
  1082. package/dist/src/callbacks/postPickupInitLate.d.ts +0 -3
  1083. package/dist/src/callbacks/postPickupInitLate.d.ts.map +0 -1
  1084. package/dist/src/callbacks/postPickupInitLate.lua +0 -31
  1085. package/dist/src/callbacks/postPickupStateChanged.d.ts +0 -3
  1086. package/dist/src/callbacks/postPickupStateChanged.d.ts.map +0 -1
  1087. package/dist/src/callbacks/postPickupStateChanged.lua +0 -37
  1088. package/dist/src/callbacks/postPitRender.d.ts +0 -3
  1089. package/dist/src/callbacks/postPitRender.d.ts.map +0 -1
  1090. package/dist/src/callbacks/postPitRender.lua +0 -24
  1091. package/dist/src/callbacks/postPitUpdate.d.ts +0 -3
  1092. package/dist/src/callbacks/postPitUpdate.d.ts.map +0 -1
  1093. package/dist/src/callbacks/postPitUpdate.lua +0 -24
  1094. package/dist/src/callbacks/postPlayerChangeHealth.d.ts +0 -3
  1095. package/dist/src/callbacks/postPlayerChangeHealth.d.ts.map +0 -1
  1096. package/dist/src/callbacks/postPlayerChangeHealth.lua +0 -57
  1097. package/dist/src/callbacks/postPlayerChangeStat.d.ts +0 -3
  1098. package/dist/src/callbacks/postPlayerChangeStat.d.ts.map +0 -1
  1099. package/dist/src/callbacks/postPlayerChangeStat.lua +0 -98
  1100. package/dist/src/callbacks/postPlayerChangeType.d.ts +0 -3
  1101. package/dist/src/callbacks/postPlayerChangeType.d.ts.map +0 -1
  1102. package/dist/src/callbacks/postPlayerChangeType.lua +0 -39
  1103. package/dist/src/callbacks/postPlayerCollectible.d.ts +0 -3
  1104. package/dist/src/callbacks/postPlayerCollectible.d.ts.map +0 -1
  1105. package/dist/src/callbacks/postPlayerCollectible.lua +0 -165
  1106. package/dist/src/callbacks/postPlayerFatalDamage.d.ts +0 -3
  1107. package/dist/src/callbacks/postPlayerFatalDamage.d.ts.map +0 -1
  1108. package/dist/src/callbacks/postPlayerFatalDamage.lua +0 -97
  1109. package/dist/src/callbacks/postPlayerInitFirst.d.ts +0 -3
  1110. package/dist/src/callbacks/postPlayerInitFirst.d.ts.map +0 -1
  1111. package/dist/src/callbacks/postPlayerInitFirst.lua +0 -40
  1112. package/dist/src/callbacks/postPlayerInitLate.d.ts +0 -3
  1113. package/dist/src/callbacks/postPlayerInitLate.d.ts.map +0 -1
  1114. package/dist/src/callbacks/postPlayerInitLate.lua +0 -33
  1115. package/dist/src/callbacks/postPlayerReorderedCallbacks.d.ts +0 -3
  1116. package/dist/src/callbacks/postPlayerReorderedCallbacks.d.ts.map +0 -1
  1117. package/dist/src/callbacks/postPlayerReorderedCallbacks.lua +0 -88
  1118. package/dist/src/callbacks/postPoopRender.d.ts +0 -3
  1119. package/dist/src/callbacks/postPoopRender.d.ts.map +0 -1
  1120. package/dist/src/callbacks/postPoopRender.lua +0 -24
  1121. package/dist/src/callbacks/postPoopUpdate.d.ts +0 -3
  1122. package/dist/src/callbacks/postPoopUpdate.d.ts.map +0 -1
  1123. package/dist/src/callbacks/postPoopUpdate.lua +0 -24
  1124. package/dist/src/callbacks/postPressurePlateRender.d.ts +0 -3
  1125. package/dist/src/callbacks/postPressurePlateRender.d.ts.map +0 -1
  1126. package/dist/src/callbacks/postPressurePlateRender.lua +0 -24
  1127. package/dist/src/callbacks/postPressurePlateUpdate.d.ts +0 -3
  1128. package/dist/src/callbacks/postPressurePlateUpdate.d.ts.map +0 -1
  1129. package/dist/src/callbacks/postPressurePlateUpdate.lua +0 -24
  1130. package/dist/src/callbacks/postProjectileInitLate.d.ts +0 -3
  1131. package/dist/src/callbacks/postProjectileInitLate.d.ts.map +0 -1
  1132. package/dist/src/callbacks/postProjectileInitLate.lua +0 -31
  1133. package/dist/src/callbacks/postPurchase.d.ts +0 -3
  1134. package/dist/src/callbacks/postPurchase.d.ts.map +0 -1
  1135. package/dist/src/callbacks/postPurchase.lua +0 -49
  1136. package/dist/src/callbacks/postRockRender.d.ts +0 -3
  1137. package/dist/src/callbacks/postRockRender.d.ts.map +0 -1
  1138. package/dist/src/callbacks/postRockRender.lua +0 -24
  1139. package/dist/src/callbacks/postRockUpdate.d.ts +0 -3
  1140. package/dist/src/callbacks/postRockUpdate.d.ts.map +0 -1
  1141. package/dist/src/callbacks/postRockUpdate.lua +0 -24
  1142. package/dist/src/callbacks/postRoomClearChanged.d.ts +0 -3
  1143. package/dist/src/callbacks/postRoomClearChanged.d.ts.map +0 -1
  1144. package/dist/src/callbacks/postRoomClearChanged.lua +0 -40
  1145. package/dist/src/callbacks/postSacrifice.d.ts +0 -3
  1146. package/dist/src/callbacks/postSacrifice.d.ts.map +0 -1
  1147. package/dist/src/callbacks/postSacrifice.lua +0 -43
  1148. package/dist/src/callbacks/postSlotCollision.d.ts +0 -3
  1149. package/dist/src/callbacks/postSlotCollision.d.ts.map +0 -1
  1150. package/dist/src/callbacks/postSlotCollision.lua +0 -25
  1151. package/dist/src/callbacks/postSlotDestroyed.d.ts +0 -3
  1152. package/dist/src/callbacks/postSlotDestroyed.d.ts.map +0 -1
  1153. package/dist/src/callbacks/postSlotDestroyed.lua +0 -66
  1154. package/dist/src/callbacks/postSlotInitUpdate.d.ts +0 -3
  1155. package/dist/src/callbacks/postSlotInitUpdate.d.ts.map +0 -1
  1156. package/dist/src/callbacks/postSlotInitUpdate.lua +0 -53
  1157. package/dist/src/callbacks/postSlotRender.d.ts +0 -3
  1158. package/dist/src/callbacks/postSlotRender.d.ts.map +0 -1
  1159. package/dist/src/callbacks/postSlotRender.lua +0 -56
  1160. package/dist/src/callbacks/postSpikesRender.d.ts +0 -3
  1161. package/dist/src/callbacks/postSpikesRender.d.ts.map +0 -1
  1162. package/dist/src/callbacks/postSpikesRender.lua +0 -24
  1163. package/dist/src/callbacks/postSpikesUpdate.d.ts +0 -3
  1164. package/dist/src/callbacks/postSpikesUpdate.d.ts.map +0 -1
  1165. package/dist/src/callbacks/postSpikesUpdate.lua +0 -24
  1166. package/dist/src/callbacks/postTNTRender.d.ts +0 -3
  1167. package/dist/src/callbacks/postTNTRender.d.ts.map +0 -1
  1168. package/dist/src/callbacks/postTNTRender.lua +0 -24
  1169. package/dist/src/callbacks/postTNTUpdate.d.ts +0 -3
  1170. package/dist/src/callbacks/postTNTUpdate.d.ts.map +0 -1
  1171. package/dist/src/callbacks/postTNTUpdate.lua +0 -24
  1172. package/dist/src/callbacks/postTearInitLate.d.ts +0 -3
  1173. package/dist/src/callbacks/postTearInitLate.d.ts.map +0 -1
  1174. package/dist/src/callbacks/postTearInitLate.lua +0 -31
  1175. package/dist/src/callbacks/postTearInitVeryLate.d.ts +0 -3
  1176. package/dist/src/callbacks/postTearInitVeryLate.d.ts.map +0 -1
  1177. package/dist/src/callbacks/postTearInitVeryLate.lua +0 -34
  1178. package/dist/src/callbacks/postTransformation.d.ts +0 -3
  1179. package/dist/src/callbacks/postTransformation.d.ts.map +0 -1
  1180. package/dist/src/callbacks/postTransformation.lua +0 -50
  1181. package/dist/src/callbacks/postTrinketBreak.d.ts +0 -3
  1182. package/dist/src/callbacks/postTrinketBreak.d.ts.map +0 -1
  1183. package/dist/src/callbacks/postTrinketBreak.lua +0 -75
  1184. package/dist/src/callbacks/preBerserkDeath.d.ts +0 -3
  1185. package/dist/src/callbacks/preBerserkDeath.d.ts.map +0 -1
  1186. package/dist/src/callbacks/preBerserkDeath.lua +0 -36
  1187. package/dist/src/callbacks/preGetPedestal.d.ts +0 -3
  1188. package/dist/src/callbacks/preGetPedestal.d.ts.map +0 -1
  1189. package/dist/src/callbacks/preGetPedestal.lua +0 -40
  1190. package/dist/src/callbacks/preNewLevel.d.ts +0 -3
  1191. package/dist/src/callbacks/preNewLevel.d.ts.map +0 -1
  1192. package/dist/src/callbacks/preNewLevel.lua +0 -43
  1193. package/dist/src/callbacks/reorderedCallbacks.d.ts +0 -6
  1194. package/dist/src/callbacks/reorderedCallbacks.d.ts.map +0 -1
  1195. package/dist/src/callbacks/reorderedCallbacks.lua +0 -101
  1196. package/dist/src/callbacks/subscriptions/postAmbushFinished.d.ts +0 -9
  1197. package/dist/src/callbacks/subscriptions/postAmbushFinished.d.ts.map +0 -1
  1198. package/dist/src/callbacks/subscriptions/postAmbushFinished.lua +0 -23
  1199. package/dist/src/callbacks/subscriptions/postAmbushStarted.d.ts +0 -9
  1200. package/dist/src/callbacks/subscriptions/postAmbushStarted.d.ts.map +0 -1
  1201. package/dist/src/callbacks/subscriptions/postAmbushStarted.lua +0 -23
  1202. package/dist/src/callbacks/subscriptions/postBombExploded.d.ts +0 -9
  1203. package/dist/src/callbacks/subscriptions/postBombExploded.d.ts.map +0 -1
  1204. package/dist/src/callbacks/subscriptions/postBombExploded.lua +0 -23
  1205. package/dist/src/callbacks/subscriptions/postBombInitLate.d.ts +0 -9
  1206. package/dist/src/callbacks/subscriptions/postBombInitLate.d.ts.map +0 -1
  1207. package/dist/src/callbacks/subscriptions/postBombInitLate.lua +0 -23
  1208. package/dist/src/callbacks/subscriptions/postBoneSwing.d.ts +0 -8
  1209. package/dist/src/callbacks/subscriptions/postBoneSwing.d.ts.map +0 -1
  1210. package/dist/src/callbacks/subscriptions/postBoneSwing.lua +0 -16
  1211. package/dist/src/callbacks/subscriptions/postCollectibleEmpty.d.ts +0 -9
  1212. package/dist/src/callbacks/subscriptions/postCollectibleEmpty.d.ts.map +0 -1
  1213. package/dist/src/callbacks/subscriptions/postCollectibleEmpty.lua +0 -23
  1214. package/dist/src/callbacks/subscriptions/postCollectibleInitFirst.d.ts +0 -9
  1215. package/dist/src/callbacks/subscriptions/postCollectibleInitFirst.d.ts.map +0 -1
  1216. package/dist/src/callbacks/subscriptions/postCollectibleInitFirst.lua +0 -23
  1217. package/dist/src/callbacks/subscriptions/postCursedTeleport.d.ts +0 -10
  1218. package/dist/src/callbacks/subscriptions/postCursedTeleport.d.ts.map +0 -1
  1219. package/dist/src/callbacks/subscriptions/postCursedTeleport.lua +0 -28
  1220. package/dist/src/callbacks/subscriptions/postCustomRevive.d.ts +0 -10
  1221. package/dist/src/callbacks/subscriptions/postCustomRevive.d.ts.map +0 -1
  1222. package/dist/src/callbacks/subscriptions/postCustomRevive.lua +0 -23
  1223. package/dist/src/callbacks/subscriptions/postDiceRoomActivated.d.ts +0 -9
  1224. package/dist/src/callbacks/subscriptions/postDiceRoomActivated.d.ts.map +0 -1
  1225. package/dist/src/callbacks/subscriptions/postDiceRoomActivated.lua +0 -23
  1226. package/dist/src/callbacks/subscriptions/postDoorRender.d.ts +0 -9
  1227. package/dist/src/callbacks/subscriptions/postDoorRender.d.ts.map +0 -1
  1228. package/dist/src/callbacks/subscriptions/postDoorRender.lua +0 -24
  1229. package/dist/src/callbacks/subscriptions/postDoorUpdate.d.ts +0 -9
  1230. package/dist/src/callbacks/subscriptions/postDoorUpdate.d.ts.map +0 -1
  1231. package/dist/src/callbacks/subscriptions/postDoorUpdate.lua +0 -24
  1232. package/dist/src/callbacks/subscriptions/postEffectInitLate.d.ts +0 -9
  1233. package/dist/src/callbacks/subscriptions/postEffectInitLate.d.ts.map +0 -1
  1234. package/dist/src/callbacks/subscriptions/postEffectInitLate.lua +0 -23
  1235. package/dist/src/callbacks/subscriptions/postEffectStateChanged.d.ts +0 -9
  1236. package/dist/src/callbacks/subscriptions/postEffectStateChanged.d.ts.map +0 -1
  1237. package/dist/src/callbacks/subscriptions/postEffectStateChanged.lua +0 -23
  1238. package/dist/src/callbacks/subscriptions/postEsauJr.d.ts +0 -8
  1239. package/dist/src/callbacks/subscriptions/postEsauJr.d.ts.map +0 -1
  1240. package/dist/src/callbacks/subscriptions/postEsauJr.lua +0 -16
  1241. package/dist/src/callbacks/subscriptions/postFamiliarInitLate.d.ts +0 -9
  1242. package/dist/src/callbacks/subscriptions/postFamiliarInitLate.d.ts.map +0 -1
  1243. package/dist/src/callbacks/subscriptions/postFamiliarInitLate.lua +0 -23
  1244. package/dist/src/callbacks/subscriptions/postFamiliarStateChanged.d.ts +0 -9
  1245. package/dist/src/callbacks/subscriptions/postFamiliarStateChanged.d.ts.map +0 -1
  1246. package/dist/src/callbacks/subscriptions/postFamiliarStateChanged.lua +0 -23
  1247. package/dist/src/callbacks/subscriptions/postFirstEsauJr.d.ts +0 -8
  1248. package/dist/src/callbacks/subscriptions/postFirstEsauJr.d.ts.map +0 -1
  1249. package/dist/src/callbacks/subscriptions/postFirstEsauJr.lua +0 -16
  1250. package/dist/src/callbacks/subscriptions/postFirstFlip.d.ts +0 -8
  1251. package/dist/src/callbacks/subscriptions/postFirstFlip.d.ts.map +0 -1
  1252. package/dist/src/callbacks/subscriptions/postFirstFlip.lua +0 -16
  1253. package/dist/src/callbacks/subscriptions/postFlip.d.ts +0 -8
  1254. package/dist/src/callbacks/subscriptions/postFlip.d.ts.map +0 -1
  1255. package/dist/src/callbacks/subscriptions/postFlip.lua +0 -16
  1256. package/dist/src/callbacks/subscriptions/postGameStartedReordered.d.ts +0 -7
  1257. package/dist/src/callbacks/subscriptions/postGameStartedReordered.d.ts.map +0 -1
  1258. package/dist/src/callbacks/subscriptions/postGameStartedReordered.lua +0 -16
  1259. package/dist/src/callbacks/subscriptions/postGameStartedReorderedLast.d.ts +0 -7
  1260. package/dist/src/callbacks/subscriptions/postGameStartedReorderedLast.d.ts.map +0 -1
  1261. package/dist/src/callbacks/subscriptions/postGameStartedReorderedLast.lua +0 -16
  1262. package/dist/src/callbacks/subscriptions/postGreedModeWave.d.ts +0 -8
  1263. package/dist/src/callbacks/subscriptions/postGreedModeWave.d.ts.map +0 -1
  1264. package/dist/src/callbacks/subscriptions/postGreedModeWave.lua +0 -16
  1265. package/dist/src/callbacks/subscriptions/postGridEntityBroken.d.ts +0 -10
  1266. package/dist/src/callbacks/subscriptions/postGridEntityBroken.d.ts.map +0 -1
  1267. package/dist/src/callbacks/subscriptions/postGridEntityBroken.lua +0 -29
  1268. package/dist/src/callbacks/subscriptions/postGridEntityCollision.d.ts +0 -12
  1269. package/dist/src/callbacks/subscriptions/postGridEntityCollision.d.ts.map +0 -1
  1270. package/dist/src/callbacks/subscriptions/postGridEntityCollision.lua +0 -37
  1271. package/dist/src/callbacks/subscriptions/postGridEntityCustomBroken.d.ts +0 -9
  1272. package/dist/src/callbacks/subscriptions/postGridEntityCustomBroken.d.ts.map +0 -1
  1273. package/dist/src/callbacks/subscriptions/postGridEntityCustomBroken.lua +0 -23
  1274. package/dist/src/callbacks/subscriptions/postGridEntityCustomCollision.d.ts +0 -11
  1275. package/dist/src/callbacks/subscriptions/postGridEntityCustomCollision.d.ts.map +0 -1
  1276. package/dist/src/callbacks/subscriptions/postGridEntityCustomCollision.lua +0 -31
  1277. package/dist/src/callbacks/subscriptions/postGridEntityCustomInit.d.ts +0 -9
  1278. package/dist/src/callbacks/subscriptions/postGridEntityCustomInit.d.ts.map +0 -1
  1279. package/dist/src/callbacks/subscriptions/postGridEntityCustomInit.lua +0 -23
  1280. package/dist/src/callbacks/subscriptions/postGridEntityCustomRemove.d.ts +0 -9
  1281. package/dist/src/callbacks/subscriptions/postGridEntityCustomRemove.d.ts.map +0 -1
  1282. package/dist/src/callbacks/subscriptions/postGridEntityCustomRemove.lua +0 -23
  1283. package/dist/src/callbacks/subscriptions/postGridEntityCustomRender.d.ts +0 -9
  1284. package/dist/src/callbacks/subscriptions/postGridEntityCustomRender.d.ts.map +0 -1
  1285. package/dist/src/callbacks/subscriptions/postGridEntityCustomRender.lua +0 -23
  1286. package/dist/src/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts +0 -9
  1287. package/dist/src/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts.map +0 -1
  1288. package/dist/src/callbacks/subscriptions/postGridEntityCustomStateChanged.lua +0 -29
  1289. package/dist/src/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts +0 -9
  1290. package/dist/src/callbacks/subscriptions/postGridEntityCustomUpdate.d.ts.map +0 -1
  1291. package/dist/src/callbacks/subscriptions/postGridEntityCustomUpdate.lua +0 -23
  1292. package/dist/src/callbacks/subscriptions/postGridEntityInit.d.ts +0 -10
  1293. package/dist/src/callbacks/subscriptions/postGridEntityInit.d.ts.map +0 -1
  1294. package/dist/src/callbacks/subscriptions/postGridEntityInit.lua +0 -29
  1295. package/dist/src/callbacks/subscriptions/postGridEntityRemove.d.ts +0 -10
  1296. package/dist/src/callbacks/subscriptions/postGridEntityRemove.d.ts.map +0 -1
  1297. package/dist/src/callbacks/subscriptions/postGridEntityRemove.lua +0 -27
  1298. package/dist/src/callbacks/subscriptions/postGridEntityRender.d.ts +0 -10
  1299. package/dist/src/callbacks/subscriptions/postGridEntityRender.d.ts.map +0 -1
  1300. package/dist/src/callbacks/subscriptions/postGridEntityRender.lua +0 -29
  1301. package/dist/src/callbacks/subscriptions/postGridEntityStateChanged.d.ts +0 -10
  1302. package/dist/src/callbacks/subscriptions/postGridEntityStateChanged.d.ts.map +0 -1
  1303. package/dist/src/callbacks/subscriptions/postGridEntityStateChanged.lua +0 -29
  1304. package/dist/src/callbacks/subscriptions/postGridEntityUpdate.d.ts +0 -10
  1305. package/dist/src/callbacks/subscriptions/postGridEntityUpdate.d.ts.map +0 -1
  1306. package/dist/src/callbacks/subscriptions/postGridEntityUpdate.lua +0 -29
  1307. package/dist/src/callbacks/subscriptions/postHolyMantleRemoved.d.ts +0 -10
  1308. package/dist/src/callbacks/subscriptions/postHolyMantleRemoved.d.ts.map +0 -1
  1309. package/dist/src/callbacks/subscriptions/postHolyMantleRemoved.lua +0 -28
  1310. package/dist/src/callbacks/subscriptions/postItemDischarged.d.ts +0 -9
  1311. package/dist/src/callbacks/subscriptions/postItemDischarged.d.ts.map +0 -1
  1312. package/dist/src/callbacks/subscriptions/postItemDischarged.lua +0 -23
  1313. package/dist/src/callbacks/subscriptions/postItemPickup.d.ts +0 -15
  1314. package/dist/src/callbacks/subscriptions/postItemPickup.d.ts.map +0 -1
  1315. package/dist/src/callbacks/subscriptions/postItemPickup.lua +0 -27
  1316. package/dist/src/callbacks/subscriptions/postKnifeInitLate.d.ts +0 -9
  1317. package/dist/src/callbacks/subscriptions/postKnifeInitLate.d.ts.map +0 -1
  1318. package/dist/src/callbacks/subscriptions/postKnifeInitLate.lua +0 -23
  1319. package/dist/src/callbacks/subscriptions/postLaserInitLate.d.ts +0 -9
  1320. package/dist/src/callbacks/subscriptions/postLaserInitLate.d.ts.map +0 -1
  1321. package/dist/src/callbacks/subscriptions/postLaserInitLate.lua +0 -23
  1322. package/dist/src/callbacks/subscriptions/postNPCInitLate.d.ts +0 -9
  1323. package/dist/src/callbacks/subscriptions/postNPCInitLate.d.ts.map +0 -1
  1324. package/dist/src/callbacks/subscriptions/postNPCInitLate.lua +0 -23
  1325. package/dist/src/callbacks/subscriptions/postNPCStateChanged.d.ts +0 -10
  1326. package/dist/src/callbacks/subscriptions/postNPCStateChanged.d.ts.map +0 -1
  1327. package/dist/src/callbacks/subscriptions/postNPCStateChanged.lua +0 -27
  1328. package/dist/src/callbacks/subscriptions/postNewLevelReordered.d.ts +0 -5
  1329. package/dist/src/callbacks/subscriptions/postNewLevelReordered.d.ts.map +0 -1
  1330. package/dist/src/callbacks/subscriptions/postNewLevelReordered.lua +0 -16
  1331. package/dist/src/callbacks/subscriptions/postNewRoomEarly.d.ts +0 -5
  1332. package/dist/src/callbacks/subscriptions/postNewRoomEarly.d.ts.map +0 -1
  1333. package/dist/src/callbacks/subscriptions/postNewRoomEarly.lua +0 -16
  1334. package/dist/src/callbacks/subscriptions/postNewRoomReordered.d.ts +0 -5
  1335. package/dist/src/callbacks/subscriptions/postNewRoomReordered.d.ts.map +0 -1
  1336. package/dist/src/callbacks/subscriptions/postNewRoomReordered.lua +0 -16
  1337. package/dist/src/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +0 -10
  1338. package/dist/src/callbacks/subscriptions/postPEffectUpdateReordered.d.ts.map +0 -1
  1339. package/dist/src/callbacks/subscriptions/postPEffectUpdateReordered.lua +0 -28
  1340. package/dist/src/callbacks/subscriptions/postPickupCollect.d.ts +0 -9
  1341. package/dist/src/callbacks/subscriptions/postPickupCollect.d.ts.map +0 -1
  1342. package/dist/src/callbacks/subscriptions/postPickupCollect.lua +0 -23
  1343. package/dist/src/callbacks/subscriptions/postPickupInitFirst.d.ts +0 -9
  1344. package/dist/src/callbacks/subscriptions/postPickupInitFirst.d.ts.map +0 -1
  1345. package/dist/src/callbacks/subscriptions/postPickupInitFirst.lua +0 -23
  1346. package/dist/src/callbacks/subscriptions/postPickupInitLate.d.ts +0 -9
  1347. package/dist/src/callbacks/subscriptions/postPickupInitLate.d.ts.map +0 -1
  1348. package/dist/src/callbacks/subscriptions/postPickupInitLate.lua +0 -23
  1349. package/dist/src/callbacks/subscriptions/postPickupStateChanged.d.ts +0 -9
  1350. package/dist/src/callbacks/subscriptions/postPickupStateChanged.d.ts.map +0 -1
  1351. package/dist/src/callbacks/subscriptions/postPickupStateChanged.lua +0 -23
  1352. package/dist/src/callbacks/subscriptions/postPitRender.d.ts +0 -9
  1353. package/dist/src/callbacks/subscriptions/postPitRender.d.ts.map +0 -1
  1354. package/dist/src/callbacks/subscriptions/postPitRender.lua +0 -24
  1355. package/dist/src/callbacks/subscriptions/postPitUpdate.d.ts +0 -9
  1356. package/dist/src/callbacks/subscriptions/postPitUpdate.d.ts.map +0 -1
  1357. package/dist/src/callbacks/subscriptions/postPitUpdate.lua +0 -24
  1358. package/dist/src/callbacks/subscriptions/postPlayerChangeHealth.d.ts +0 -11
  1359. package/dist/src/callbacks/subscriptions/postPlayerChangeHealth.d.ts.map +0 -1
  1360. package/dist/src/callbacks/subscriptions/postPlayerChangeHealth.lua +0 -35
  1361. package/dist/src/callbacks/subscriptions/postPlayerChangeStat.d.ts +0 -13
  1362. package/dist/src/callbacks/subscriptions/postPlayerChangeStat.d.ts.map +0 -1
  1363. package/dist/src/callbacks/subscriptions/postPlayerChangeStat.lua +0 -35
  1364. package/dist/src/callbacks/subscriptions/postPlayerChangeType.d.ts +0 -9
  1365. package/dist/src/callbacks/subscriptions/postPlayerChangeType.d.ts.map +0 -1
  1366. package/dist/src/callbacks/subscriptions/postPlayerChangeType.lua +0 -23
  1367. package/dist/src/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +0 -9
  1368. package/dist/src/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts.map +0 -1
  1369. package/dist/src/callbacks/subscriptions/postPlayerCollectibleAdded.lua +0 -23
  1370. package/dist/src/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +0 -9
  1371. package/dist/src/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts.map +0 -1
  1372. package/dist/src/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +0 -23
  1373. package/dist/src/callbacks/subscriptions/postPlayerFatalDamage.d.ts +0 -10
  1374. package/dist/src/callbacks/subscriptions/postPlayerFatalDamage.d.ts.map +0 -1
  1375. package/dist/src/callbacks/subscriptions/postPlayerFatalDamage.lua +0 -39
  1376. package/dist/src/callbacks/subscriptions/postPlayerInitFirst.d.ts +0 -10
  1377. package/dist/src/callbacks/subscriptions/postPlayerInitFirst.d.ts.map +0 -1
  1378. package/dist/src/callbacks/subscriptions/postPlayerInitFirst.lua +0 -28
  1379. package/dist/src/callbacks/subscriptions/postPlayerInitLate.d.ts +0 -10
  1380. package/dist/src/callbacks/subscriptions/postPlayerInitLate.d.ts.map +0 -1
  1381. package/dist/src/callbacks/subscriptions/postPlayerInitLate.lua +0 -28
  1382. package/dist/src/callbacks/subscriptions/postPlayerRenderReordered.d.ts +0 -10
  1383. package/dist/src/callbacks/subscriptions/postPlayerRenderReordered.d.ts.map +0 -1
  1384. package/dist/src/callbacks/subscriptions/postPlayerRenderReordered.lua +0 -28
  1385. package/dist/src/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +0 -10
  1386. package/dist/src/callbacks/subscriptions/postPlayerUpdateReordered.d.ts.map +0 -1
  1387. package/dist/src/callbacks/subscriptions/postPlayerUpdateReordered.lua +0 -28
  1388. package/dist/src/callbacks/subscriptions/postPoopRender.d.ts +0 -9
  1389. package/dist/src/callbacks/subscriptions/postPoopRender.d.ts.map +0 -1
  1390. package/dist/src/callbacks/subscriptions/postPoopRender.lua +0 -24
  1391. package/dist/src/callbacks/subscriptions/postPoopUpdate.d.ts +0 -9
  1392. package/dist/src/callbacks/subscriptions/postPoopUpdate.d.ts.map +0 -1
  1393. package/dist/src/callbacks/subscriptions/postPoopUpdate.lua +0 -24
  1394. package/dist/src/callbacks/subscriptions/postPressurePlateRender.d.ts +0 -9
  1395. package/dist/src/callbacks/subscriptions/postPressurePlateRender.d.ts.map +0 -1
  1396. package/dist/src/callbacks/subscriptions/postPressurePlateRender.lua +0 -24
  1397. package/dist/src/callbacks/subscriptions/postPressurePlateUpdate.d.ts +0 -9
  1398. package/dist/src/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +0 -1
  1399. package/dist/src/callbacks/subscriptions/postPressurePlateUpdate.lua +0 -24
  1400. package/dist/src/callbacks/subscriptions/postProjectileInitLate.d.ts +0 -9
  1401. package/dist/src/callbacks/subscriptions/postProjectileInitLate.d.ts.map +0 -1
  1402. package/dist/src/callbacks/subscriptions/postProjectileInitLate.lua +0 -23
  1403. package/dist/src/callbacks/subscriptions/postPurchase.d.ts +0 -10
  1404. package/dist/src/callbacks/subscriptions/postPurchase.d.ts.map +0 -1
  1405. package/dist/src/callbacks/subscriptions/postPurchase.lua +0 -27
  1406. package/dist/src/callbacks/subscriptions/postRockRender.d.ts +0 -10
  1407. package/dist/src/callbacks/subscriptions/postRockRender.d.ts.map +0 -1
  1408. package/dist/src/callbacks/subscriptions/postRockRender.lua +0 -24
  1409. package/dist/src/callbacks/subscriptions/postRockUpdate.d.ts +0 -10
  1410. package/dist/src/callbacks/subscriptions/postRockUpdate.d.ts.map +0 -1
  1411. package/dist/src/callbacks/subscriptions/postRockUpdate.lua +0 -24
  1412. package/dist/src/callbacks/subscriptions/postRoomClearChanged.d.ts +0 -8
  1413. package/dist/src/callbacks/subscriptions/postRoomClearChanged.d.ts.map +0 -1
  1414. package/dist/src/callbacks/subscriptions/postRoomClearChanged.lua +0 -23
  1415. package/dist/src/callbacks/subscriptions/postSacrifice.d.ts +0 -10
  1416. package/dist/src/callbacks/subscriptions/postSacrifice.d.ts.map +0 -1
  1417. package/dist/src/callbacks/subscriptions/postSacrifice.lua +0 -28
  1418. package/dist/src/callbacks/subscriptions/postSlotAnimationChanged.d.ts +0 -9
  1419. package/dist/src/callbacks/subscriptions/postSlotAnimationChanged.d.ts.map +0 -1
  1420. package/dist/src/callbacks/subscriptions/postSlotAnimationChanged.lua +0 -23
  1421. package/dist/src/callbacks/subscriptions/postSlotCollision.d.ts +0 -9
  1422. package/dist/src/callbacks/subscriptions/postSlotCollision.d.ts.map +0 -1
  1423. package/dist/src/callbacks/subscriptions/postSlotCollision.lua +0 -23
  1424. package/dist/src/callbacks/subscriptions/postSlotDestroyed.d.ts +0 -11
  1425. package/dist/src/callbacks/subscriptions/postSlotDestroyed.d.ts.map +0 -1
  1426. package/dist/src/callbacks/subscriptions/postSlotDestroyed.lua +0 -27
  1427. package/dist/src/callbacks/subscriptions/postSlotInit.d.ts +0 -9
  1428. package/dist/src/callbacks/subscriptions/postSlotInit.d.ts.map +0 -1
  1429. package/dist/src/callbacks/subscriptions/postSlotInit.lua +0 -23
  1430. package/dist/src/callbacks/subscriptions/postSlotRender.d.ts +0 -9
  1431. package/dist/src/callbacks/subscriptions/postSlotRender.d.ts.map +0 -1
  1432. package/dist/src/callbacks/subscriptions/postSlotRender.lua +0 -23
  1433. package/dist/src/callbacks/subscriptions/postSlotUpdate.d.ts +0 -9
  1434. package/dist/src/callbacks/subscriptions/postSlotUpdate.d.ts.map +0 -1
  1435. package/dist/src/callbacks/subscriptions/postSlotUpdate.lua +0 -23
  1436. package/dist/src/callbacks/subscriptions/postSpikesRender.d.ts +0 -10
  1437. package/dist/src/callbacks/subscriptions/postSpikesRender.d.ts.map +0 -1
  1438. package/dist/src/callbacks/subscriptions/postSpikesRender.lua +0 -24
  1439. package/dist/src/callbacks/subscriptions/postSpikesUpdate.d.ts +0 -10
  1440. package/dist/src/callbacks/subscriptions/postSpikesUpdate.d.ts.map +0 -1
  1441. package/dist/src/callbacks/subscriptions/postSpikesUpdate.lua +0 -24
  1442. package/dist/src/callbacks/subscriptions/postTNTRender.d.ts +0 -10
  1443. package/dist/src/callbacks/subscriptions/postTNTRender.d.ts.map +0 -1
  1444. package/dist/src/callbacks/subscriptions/postTNTRender.lua +0 -24
  1445. package/dist/src/callbacks/subscriptions/postTNTUpdate.d.ts +0 -10
  1446. package/dist/src/callbacks/subscriptions/postTNTUpdate.d.ts.map +0 -1
  1447. package/dist/src/callbacks/subscriptions/postTNTUpdate.lua +0 -24
  1448. package/dist/src/callbacks/subscriptions/postTearInitLate.d.ts +0 -9
  1449. package/dist/src/callbacks/subscriptions/postTearInitLate.d.ts.map +0 -1
  1450. package/dist/src/callbacks/subscriptions/postTearInitLate.lua +0 -23
  1451. package/dist/src/callbacks/subscriptions/postTearInitVeryLate.d.ts +0 -9
  1452. package/dist/src/callbacks/subscriptions/postTearInitVeryLate.d.ts.map +0 -1
  1453. package/dist/src/callbacks/subscriptions/postTearInitVeryLate.lua +0 -23
  1454. package/dist/src/callbacks/subscriptions/postTransformation.d.ts +0 -9
  1455. package/dist/src/callbacks/subscriptions/postTransformation.d.ts.map +0 -1
  1456. package/dist/src/callbacks/subscriptions/postTransformation.lua +0 -23
  1457. package/dist/src/callbacks/subscriptions/postTrinketBreak.d.ts +0 -9
  1458. package/dist/src/callbacks/subscriptions/postTrinketBreak.d.ts.map +0 -1
  1459. package/dist/src/callbacks/subscriptions/postTrinketBreak.lua +0 -23
  1460. package/dist/src/callbacks/subscriptions/preBerserkDeath.d.ts +0 -10
  1461. package/dist/src/callbacks/subscriptions/preBerserkDeath.d.ts.map +0 -1
  1462. package/dist/src/callbacks/subscriptions/preBerserkDeath.lua +0 -29
  1463. package/dist/src/callbacks/subscriptions/preCustomRevive.d.ts +0 -10
  1464. package/dist/src/callbacks/subscriptions/preCustomRevive.d.ts.map +0 -1
  1465. package/dist/src/callbacks/subscriptions/preCustomRevive.lua +0 -32
  1466. package/dist/src/callbacks/subscriptions/preGetPedestal.d.ts +0 -10
  1467. package/dist/src/callbacks/subscriptions/preGetPedestal.d.ts.map +0 -1
  1468. package/dist/src/callbacks/subscriptions/preGetPedestal.lua +0 -32
  1469. package/dist/src/callbacks/subscriptions/preItemPickup.d.ts +0 -15
  1470. package/dist/src/callbacks/subscriptions/preItemPickup.d.ts.map +0 -1
  1471. package/dist/src/callbacks/subscriptions/preItemPickup.lua +0 -27
  1472. package/dist/src/callbacks/subscriptions/preNewLevel.d.ts +0 -8
  1473. package/dist/src/callbacks/subscriptions/preNewLevel.d.ts.map +0 -1
  1474. package/dist/src/callbacks/subscriptions/preNewLevel.lua +0 -16
  1475. package/dist/src/classes/ModUpgraded.d.ts +0 -72
  1476. package/dist/src/classes/ModUpgraded.d.ts.map +0 -1
  1477. package/dist/src/classes/ModUpgraded.lua +0 -202
  1478. package/dist/src/classes/callbacks/validation/CustomCallbackAmbush.d.ts +0 -10
  1479. package/dist/src/classes/callbacks/validation/CustomCallbackAmbush.d.ts.map +0 -1
  1480. package/dist/src/classes/callbacks/validation/CustomCallbackAmbush.lua +0 -19
  1481. package/dist/src/classes/callbacks/validation/CustomCallbackBomb.d.ts +0 -10
  1482. package/dist/src/classes/callbacks/validation/CustomCallbackBomb.d.ts.map +0 -1
  1483. package/dist/src/classes/callbacks/validation/CustomCallbackBomb.lua +0 -19
  1484. package/dist/src/classes/callbacks/validation/CustomCallbackCollectible.d.ts +0 -10
  1485. package/dist/src/classes/callbacks/validation/CustomCallbackCollectible.d.ts.map +0 -1
  1486. package/dist/src/classes/callbacks/validation/CustomCallbackCollectible.lua +0 -19
  1487. package/dist/src/classes/callbacks/validation/CustomCallbackDoor.d.ts +0 -10
  1488. package/dist/src/classes/callbacks/validation/CustomCallbackDoor.d.ts.map +0 -1
  1489. package/dist/src/classes/callbacks/validation/CustomCallbackDoor.lua +0 -20
  1490. package/dist/src/classes/callbacks/validation/CustomCallbackEffect.d.ts +0 -11
  1491. package/dist/src/classes/callbacks/validation/CustomCallbackEffect.d.ts.map +0 -1
  1492. package/dist/src/classes/callbacks/validation/CustomCallbackEffect.lua +0 -19
  1493. package/dist/src/classes/callbacks/validation/CustomCallbackFamiliar.d.ts +0 -11
  1494. package/dist/src/classes/callbacks/validation/CustomCallbackFamiliar.d.ts.map +0 -1
  1495. package/dist/src/classes/callbacks/validation/CustomCallbackFamiliar.lua +0 -19
  1496. package/dist/src/classes/callbacks/validation/CustomCallbackGridEntity.d.ts +0 -11
  1497. package/dist/src/classes/callbacks/validation/CustomCallbackGridEntity.d.ts.map +0 -1
  1498. package/dist/src/classes/callbacks/validation/CustomCallbackGridEntity.lua +0 -24
  1499. package/dist/src/classes/callbacks/validation/CustomCallbackGridEntityCustom.d.ts +0 -10
  1500. package/dist/src/classes/callbacks/validation/CustomCallbackGridEntityCustom.d.ts.map +0 -1
  1501. package/dist/src/classes/callbacks/validation/CustomCallbackGridEntityCustom.lua +0 -19
  1502. package/dist/src/classes/callbacks/validation/CustomCallbackKnife.d.ts +0 -10
  1503. package/dist/src/classes/callbacks/validation/CustomCallbackKnife.d.ts.map +0 -1
  1504. package/dist/src/classes/callbacks/validation/CustomCallbackKnife.lua +0 -19
  1505. package/dist/src/classes/callbacks/validation/CustomCallbackPit.d.ts +0 -10
  1506. package/dist/src/classes/callbacks/validation/CustomCallbackPit.d.ts.map +0 -1
  1507. package/dist/src/classes/callbacks/validation/CustomCallbackPit.lua +0 -20
  1508. package/dist/src/classes/callbacks/validation/CustomCallbackPlayer.d.ts +0 -10
  1509. package/dist/src/classes/callbacks/validation/CustomCallbackPlayer.d.ts.map +0 -1
  1510. package/dist/src/classes/callbacks/validation/CustomCallbackPlayer.lua +0 -23
  1511. package/dist/src/classes/callbacks/validation/CustomCallbackRevive.d.ts +0 -11
  1512. package/dist/src/classes/callbacks/validation/CustomCallbackRevive.d.ts.map +0 -1
  1513. package/dist/src/classes/callbacks/validation/CustomCallbackRevive.lua +0 -19
  1514. package/dist/src/classes/callbacks/validation/CustomCallbackSpikes.d.ts +0 -10
  1515. package/dist/src/classes/callbacks/validation/CustomCallbackSpikes.d.ts.map +0 -1
  1516. package/dist/src/classes/callbacks/validation/CustomCallbackSpikes.lua +0 -20
  1517. package/dist/src/classes/features/callbackLogic/GridEntityDetection.d.ts +0 -46
  1518. package/dist/src/classes/features/callbackLogic/GridEntityDetection.d.ts.map +0 -1
  1519. package/dist/src/classes/features/callbackLogic/GridEntityDetection.lua +0 -126
  1520. package/dist/src/enums/ModCallbackCustom2.d.ts +0 -53
  1521. package/dist/src/enums/ModCallbackCustom2.d.ts.map +0 -1
  1522. package/dist/src/enums/ModCallbackCustom2.lua +0 -102
  1523. package/dist/src/enums/private/SerializationBrand.d.ts +0 -35
  1524. package/dist/src/enums/private/SerializationBrand.d.ts.map +0 -1
  1525. package/dist/src/enums/private/SerializationBrand.lua +0 -18
  1526. package/dist/src/features/characterHealthConversion.d.ts +0 -16
  1527. package/dist/src/features/characterHealthConversion.d.ts.map +0 -1
  1528. package/dist/src/features/characterHealthConversion.lua +0 -87
  1529. package/dist/src/features/characterStats.d.ts +0 -25
  1530. package/dist/src/features/characterStats.d.ts.map +0 -1
  1531. package/dist/src/features/characterStats.lua +0 -53
  1532. package/dist/src/features/collectibleItemPoolType.d.ts +0 -8
  1533. package/dist/src/features/collectibleItemPoolType.d.ts.map +0 -1
  1534. package/dist/src/features/collectibleItemPoolType.lua +0 -48
  1535. package/dist/src/features/customGridEntity.d.ts +0 -114
  1536. package/dist/src/features/customGridEntity.d.ts.map +0 -1
  1537. package/dist/src/features/customGridEntity.lua +0 -323
  1538. package/dist/src/features/customHotkeys.d.ts +0 -42
  1539. package/dist/src/features/customHotkeys.d.ts.map +0 -1
  1540. package/dist/src/features/customHotkeys.lua +0 -104
  1541. package/dist/src/features/customPickup.d.ts +0 -26
  1542. package/dist/src/features/customPickup.d.ts.map +0 -1
  1543. package/dist/src/features/customPickup.lua +0 -94
  1544. package/dist/src/features/customStage/backdrop.d.ts +0 -3
  1545. package/dist/src/features/customStage/backdrop.d.ts.map +0 -1
  1546. package/dist/src/features/customStage/backdrop.lua +0 -200
  1547. package/dist/src/features/customStage/constants.d.ts +0 -14
  1548. package/dist/src/features/customStage/constants.d.ts.map +0 -1
  1549. package/dist/src/features/customStage/constants.lua +0 -14
  1550. package/dist/src/features/customStage/customStageGridEntities.d.ts +0 -20
  1551. package/dist/src/features/customStage/customStageGridEntities.d.ts.map +0 -1
  1552. package/dist/src/features/customStage/customStageGridEntities.lua +0 -301
  1553. package/dist/src/features/customStage/customStageUtils.d.ts +0 -13
  1554. package/dist/src/features/customStage/customStageUtils.d.ts.map +0 -1
  1555. package/dist/src/features/customStage/exports.d.ts +0 -41
  1556. package/dist/src/features/customStage/exports.d.ts.map +0 -1
  1557. package/dist/src/features/customStage/exports.lua +0 -175
  1558. package/dist/src/features/customStage/init.d.ts +0 -3
  1559. package/dist/src/features/customStage/init.d.ts.map +0 -1
  1560. package/dist/src/features/customStage/init.lua +0 -147
  1561. package/dist/src/features/customStage/shadows.d.ts +0 -3
  1562. package/dist/src/features/customStage/shadows.d.ts.map +0 -1
  1563. package/dist/src/features/customStage/shadows.lua +0 -74
  1564. package/dist/src/features/customStage/streakText.d.ts +0 -5
  1565. package/dist/src/features/customStage/streakText.d.ts.map +0 -1
  1566. package/dist/src/features/customStage/streakText.lua +0 -210
  1567. package/dist/src/features/customStage/v.d.ts +0 -33
  1568. package/dist/src/features/customStage/v.d.ts.map +0 -1
  1569. package/dist/src/features/customStage/v.lua +0 -24
  1570. package/dist/src/features/customStage/versusScreen.d.ts +0 -10
  1571. package/dist/src/features/customStage/versusScreen.d.ts.map +0 -1
  1572. package/dist/src/features/customStage/versusScreen.lua +0 -263
  1573. package/dist/src/features/customTrapdoor/blackSprite.d.ts +0 -2
  1574. package/dist/src/features/customTrapdoor/blackSprite.d.ts.map +0 -1
  1575. package/dist/src/features/customTrapdoor/blackSprite.lua +0 -20
  1576. package/dist/src/features/customTrapdoor/constants.d.ts +0 -19
  1577. package/dist/src/features/customTrapdoor/constants.d.ts.map +0 -1
  1578. package/dist/src/features/customTrapdoor/constants.lua +0 -16
  1579. package/dist/src/features/customTrapdoor/exports.d.ts +0 -39
  1580. package/dist/src/features/customTrapdoor/exports.d.ts.map +0 -1
  1581. package/dist/src/features/customTrapdoor/exports.lua +0 -72
  1582. package/dist/src/features/customTrapdoor/init.d.ts +0 -3
  1583. package/dist/src/features/customTrapdoor/init.d.ts.map +0 -1
  1584. package/dist/src/features/customTrapdoor/init.lua +0 -193
  1585. package/dist/src/features/customTrapdoor/openClose.d.ts +0 -5
  1586. package/dist/src/features/customTrapdoor/openClose.d.ts.map +0 -1
  1587. package/dist/src/features/customTrapdoor/openClose.lua +0 -60
  1588. package/dist/src/features/customTrapdoor/spawn.d.ts +0 -6
  1589. package/dist/src/features/customTrapdoor/spawn.d.ts.map +0 -1
  1590. package/dist/src/features/customTrapdoor/spawn.lua +0 -51
  1591. package/dist/src/features/customTrapdoor/touched.d.ts +0 -4
  1592. package/dist/src/features/customTrapdoor/touched.d.ts.map +0 -1
  1593. package/dist/src/features/customTrapdoor/touched.lua +0 -159
  1594. package/dist/src/features/customTrapdoor/v.d.ts +0 -18
  1595. package/dist/src/features/customTrapdoor/v.d.ts.map +0 -1
  1596. package/dist/src/features/customTrapdoor/v.lua +0 -17
  1597. package/dist/src/features/debugDisplay/debugDisplay.d.ts +0 -7
  1598. package/dist/src/features/debugDisplay/debugDisplay.d.ts.map +0 -1
  1599. package/dist/src/features/debugDisplay/debugDisplay.lua +0 -180
  1600. package/dist/src/features/debugDisplay/exports.d.ts +0 -325
  1601. package/dist/src/features/debugDisplay/exports.d.ts.map +0 -1
  1602. package/dist/src/features/debugDisplay/exports.lua +0 -368
  1603. package/dist/src/features/debugDisplay/v.d.ts +0 -46
  1604. package/dist/src/features/debugDisplay/v.d.ts.map +0 -1
  1605. package/dist/src/features/debugDisplay/v.lua +0 -63
  1606. package/dist/src/features/deployJSONRoom.d.ts +0 -87
  1607. package/dist/src/features/deployJSONRoom.d.ts.map +0 -1
  1608. package/dist/src/features/deployJSONRoom.lua +0 -561
  1609. package/dist/src/features/disableAllSound.d.ts +0 -19
  1610. package/dist/src/features/disableAllSound.d.ts.map +0 -1
  1611. package/dist/src/features/disableAllSound.lua +0 -62
  1612. package/dist/src/features/disableInputs.d.ts +0 -76
  1613. package/dist/src/features/disableInputs.d.ts.map +0 -1
  1614. package/dist/src/features/disableInputs.lua +0 -156
  1615. package/dist/src/features/extraConsoleCommands/commandsDisplay.d.ts +0 -163
  1616. package/dist/src/features/extraConsoleCommands/commandsDisplay.d.ts.map +0 -1
  1617. package/dist/src/features/extraConsoleCommands/commandsDisplay.lua +0 -219
  1618. package/dist/src/features/extraConsoleCommands/commandsSubroutines.d.ts +0 -11
  1619. package/dist/src/features/extraConsoleCommands/commandsSubroutines.d.ts.map +0 -1
  1620. package/dist/src/features/extraConsoleCommands/exports.d.ts +0 -28
  1621. package/dist/src/features/extraConsoleCommands/exports.d.ts.map +0 -1
  1622. package/dist/src/features/extraConsoleCommands/exports.lua +0 -55
  1623. package/dist/src/features/extraConsoleCommands/init.d.ts +0 -3
  1624. package/dist/src/features/extraConsoleCommands/init.d.ts.map +0 -1
  1625. package/dist/src/features/extraConsoleCommands/init.lua +0 -142
  1626. package/dist/src/features/extraConsoleCommands/listCommands.d.ts +0 -420
  1627. package/dist/src/features/extraConsoleCommands/listCommands.d.ts.map +0 -1
  1628. package/dist/src/features/extraConsoleCommands/listCommands.lua +0 -1392
  1629. package/dist/src/features/extraConsoleCommands/v.d.ts +0 -32
  1630. package/dist/src/features/extraConsoleCommands/v.d.ts.map +0 -1
  1631. package/dist/src/features/extraConsoleCommands/v.lua +0 -34
  1632. package/dist/src/features/fadeInRemover.d.ts +0 -15
  1633. package/dist/src/features/fadeInRemover.d.ts.map +0 -1
  1634. package/dist/src/features/fadeInRemover.lua +0 -50
  1635. package/dist/src/features/fastReset.d.ts +0 -15
  1636. package/dist/src/features/fastReset.d.ts.map +0 -1
  1637. package/dist/src/features/fastReset.lua +0 -59
  1638. package/dist/src/features/firstLast.d.ts +0 -193
  1639. package/dist/src/features/firstLast.d.ts.map +0 -1
  1640. package/dist/src/features/firstLast.lua +0 -344
  1641. package/dist/src/features/forgottenSwitch.d.ts +0 -6
  1642. package/dist/src/features/forgottenSwitch.d.ts.map +0 -1
  1643. package/dist/src/features/forgottenSwitch.lua +0 -32
  1644. package/dist/src/features/pause.d.ts +0 -12
  1645. package/dist/src/features/pause.d.ts.map +0 -1
  1646. package/dist/src/features/pause.lua +0 -150
  1647. package/dist/src/features/persistentEntities.d.ts +0 -29
  1648. package/dist/src/features/persistentEntities.d.ts.map +0 -1
  1649. package/dist/src/features/persistentEntities.lua +0 -168
  1650. package/dist/src/features/pickupIndex.d.ts +0 -17
  1651. package/dist/src/features/pickupIndex.d.ts.map +0 -1
  1652. package/dist/src/features/pickupIndex.lua +0 -201
  1653. package/dist/src/features/playerInventory.d.ts +0 -30
  1654. package/dist/src/features/playerInventory.d.ts.map +0 -1
  1655. package/dist/src/features/playerInventory.lua +0 -83
  1656. package/dist/src/features/ponyDetection.d.ts +0 -12
  1657. package/dist/src/features/ponyDetection.d.ts.map +0 -1
  1658. package/dist/src/features/ponyDetection.lua +0 -66
  1659. package/dist/src/features/preventChildEntities.d.ts +0 -11
  1660. package/dist/src/features/preventChildEntities.d.ts.map +0 -1
  1661. package/dist/src/features/preventChildEntities.lua +0 -35
  1662. package/dist/src/features/preventCollectibleRotation.d.ts +0 -12
  1663. package/dist/src/features/preventCollectibleRotation.d.ts.map +0 -1
  1664. package/dist/src/features/preventCollectibleRotation.lua +0 -68
  1665. package/dist/src/features/roomClearFrame.d.ts +0 -12
  1666. package/dist/src/features/roomClearFrame.d.ts.map +0 -1
  1667. package/dist/src/features/roomClearFrame.lua +0 -38
  1668. package/dist/src/features/roomHistory.d.ts +0 -34
  1669. package/dist/src/features/roomHistory.d.ts.map +0 -1
  1670. package/dist/src/features/roomHistory.lua +0 -104
  1671. package/dist/src/features/runInNFrames.d.ts +0 -96
  1672. package/dist/src/features/runInNFrames.d.ts.map +0 -1
  1673. package/dist/src/features/runInNFrames.lua +0 -191
  1674. package/dist/src/features/runNextRoom.d.ts +0 -9
  1675. package/dist/src/features/runNextRoom.d.ts.map +0 -1
  1676. package/dist/src/features/runNextRoom.lua +0 -35
  1677. package/dist/src/features/saveDataManager/constants.d.ts +0 -11
  1678. package/dist/src/features/saveDataManager/constants.d.ts.map +0 -1
  1679. package/dist/src/features/saveDataManager/constants.lua +0 -11
  1680. package/dist/src/features/saveDataManager/exports.d.ts +0 -152
  1681. package/dist/src/features/saveDataManager/exports.d.ts.map +0 -1
  1682. package/dist/src/features/saveDataManager/exports.lua +0 -211
  1683. package/dist/src/features/saveDataManager/load.d.ts +0 -5
  1684. package/dist/src/features/saveDataManager/load.d.ts.map +0 -1
  1685. package/dist/src/features/saveDataManager/load.lua +0 -76
  1686. package/dist/src/features/saveDataManager/main.d.ts +0 -14
  1687. package/dist/src/features/saveDataManager/main.d.ts.map +0 -1
  1688. package/dist/src/features/saveDataManager/main.lua +0 -225
  1689. package/dist/src/features/saveDataManager/maps.d.ts +0 -19
  1690. package/dist/src/features/saveDataManager/maps.d.ts.map +0 -1
  1691. package/dist/src/features/saveDataManager/maps.lua +0 -14
  1692. package/dist/src/features/saveDataManager/merge.d.ts +0 -26
  1693. package/dist/src/features/saveDataManager/merge.d.ts.map +0 -1
  1694. package/dist/src/features/saveDataManager/merge.lua +0 -163
  1695. package/dist/src/features/saveDataManager/save.d.ts +0 -5
  1696. package/dist/src/features/saveDataManager/save.d.ts.map +0 -1
  1697. package/dist/src/features/saveDataManager/save.lua +0 -47
  1698. package/dist/src/features/saveDataManager/serializationBrands.d.ts +0 -2
  1699. package/dist/src/features/saveDataManager/serializationBrands.d.ts.map +0 -1
  1700. package/dist/src/features/saveDataManager/serializationBrands.lua +0 -19
  1701. package/dist/src/features/sirenHelpers.d.ts +0 -19
  1702. package/dist/src/features/sirenHelpers.d.ts.map +0 -1
  1703. package/dist/src/features/sirenHelpers.lua +0 -82
  1704. package/dist/src/features/stageHistory.d.ts +0 -16
  1705. package/dist/src/features/stageHistory.d.ts.map +0 -1
  1706. package/dist/src/features/stageHistory.lua +0 -62
  1707. package/dist/src/features/taintedLazarusPlayers.d.ts +0 -14
  1708. package/dist/src/features/taintedLazarusPlayers.d.ts.map +0 -1
  1709. package/dist/src/features/taintedLazarusPlayers.lua +0 -72
  1710. package/dist/src/featuresInitialized.d.ts +0 -4
  1711. package/dist/src/featuresInitialized.d.ts.map +0 -1
  1712. package/dist/src/featuresInitialized.lua +0 -14
  1713. package/dist/src/functions/collectibleCacheFlag.d.ts +0 -34
  1714. package/dist/src/functions/collectibleCacheFlag.d.ts.map +0 -1
  1715. package/dist/src/functions/collectibleCacheFlag.lua +0 -90
  1716. package/dist/src/functions/collectibleSet.d.ts +0 -57
  1717. package/dist/src/functions/collectibleSet.d.ts.map +0 -1
  1718. package/dist/src/functions/collectibleSet.lua +0 -111
  1719. package/dist/src/functions/dev.d.ts +0 -20
  1720. package/dist/src/functions/dev.d.ts.map +0 -1
  1721. package/dist/src/functions/dev.lua +0 -36
  1722. package/dist/src/functions/eden.d.ts +0 -4
  1723. package/dist/src/functions/eden.d.ts.map +0 -1
  1724. package/dist/src/functions/eden.lua +0 -44
  1725. package/dist/src/functions/flying.d.ts +0 -20
  1726. package/dist/src/functions/flying.d.ts.map +0 -1
  1727. package/dist/src/functions/flying.lua +0 -80
  1728. package/dist/src/functions/itemPool.d.ts +0 -18
  1729. package/dist/src/functions/itemPool.d.ts.map +0 -1
  1730. package/dist/src/functions/itemPool.lua +0 -131
  1731. package/dist/src/functions/reorderedCallbacks.d.ts +0 -30
  1732. package/dist/src/functions/reorderedCallbacks.d.ts.map +0 -1
  1733. package/dist/src/functions/reorderedCallbacks.lua +0 -34
  1734. package/dist/src/functions/saveFile.d.ts +0 -17
  1735. package/dist/src/functions/saveFile.d.ts.map +0 -1
  1736. package/dist/src/functions/saveFile.lua +0 -24
  1737. package/dist/src/functions/trinketCacheFlag.d.ts +0 -19
  1738. package/dist/src/functions/trinketCacheFlag.d.ts.map +0 -1
  1739. package/dist/src/functions/trinketCacheFlag.lua +0 -69
  1740. package/dist/src/functions/trinketSet.d.ts +0 -56
  1741. package/dist/src/functions/trinketSet.d.ts.map +0 -1
  1742. package/dist/src/functions/trinketSet.lua +0 -110
  1743. package/dist/src/indexLua.d.ts +0 -199
  1744. package/dist/src/indexLua.d.ts.map +0 -1
  1745. package/dist/src/indexLua.lua +0 -1354
  1746. package/dist/src/initCustomCallbacks.d.ts +0 -3
  1747. package/dist/src/initCustomCallbacks.d.ts.map +0 -1
  1748. package/dist/src/initCustomCallbacks.lua +0 -217
  1749. package/dist/src/initFeatures.d.ts +0 -3
  1750. package/dist/src/initFeatures.d.ts.map +0 -1
  1751. package/dist/src/initFeatures.lua +0 -98
  1752. package/dist/src/interfaces/private/AddCallbackParametersCustom2.d.ts +0 -201
  1753. package/dist/src/interfaces/private/AddCallbackParametersCustom2.d.ts.map +0 -1
  1754. package/dist/src/interfaces/private/AddCallbackParametersCustom2.lua +0 -7
  1755. package/dist/src/interfaces/private/CustomTrapdoorDestination.d.ts +0 -14
  1756. package/dist/src/interfaces/private/CustomTrapdoorDestination.d.ts.map +0 -1
  1757. package/dist/src/maps/transformationNameToPlayerForm.d.ts +0 -4
  1758. package/dist/src/maps/transformationNameToPlayerForm.d.ts.map +0 -1
  1759. package/dist/src/objects/callbackRegisterFunctions.d.ts +0 -6
  1760. package/dist/src/objects/callbackRegisterFunctions.d.ts.map +0 -1
  1761. package/dist/src/objects/callbackRegisterFunctions.lua +0 -285
  1762. package/dist/src/types/Constructor.d.ts +0 -2
  1763. package/dist/src/types/Constructor.d.ts.map +0 -1
  1764. package/dist/src/types/private/MatchingCallbackCustom.d.ts +0 -16
  1765. package/dist/src/types/private/MatchingCallbackCustom.d.ts.map +0 -1
  1766. package/src/callbacks/customRevive.ts +0 -226
  1767. package/src/callbacks/itemPickup.ts +0 -103
  1768. package/src/callbacks/postAmbush.ts +0 -65
  1769. package/src/callbacks/postBombExploded.ts +0 -25
  1770. package/src/callbacks/postBombInitLate.ts +0 -35
  1771. package/src/callbacks/postBoneSwing.ts +0 -64
  1772. package/src/callbacks/postCollectibleEmpty.ts +0 -50
  1773. package/src/callbacks/postCollectibleInitFirst.ts +0 -41
  1774. package/src/callbacks/postCursedTeleport.ts +0 -184
  1775. package/src/callbacks/postDiceRoomActivated.ts +0 -59
  1776. package/src/callbacks/postDoorRender.ts +0 -25
  1777. package/src/callbacks/postDoorUpdate.ts +0 -25
  1778. package/src/callbacks/postEffectInitLate.ts +0 -35
  1779. package/src/callbacks/postEffectStateChanged.ts +0 -39
  1780. package/src/callbacks/postEsauJr.ts +0 -107
  1781. package/src/callbacks/postFamiliarInitLate.ts +0 -35
  1782. package/src/callbacks/postFamiliarStateChanged.ts +0 -42
  1783. package/src/callbacks/postFlip.ts +0 -90
  1784. package/src/callbacks/postGreedModeWave.ts +0 -40
  1785. package/src/callbacks/postGridEntity.ts +0 -224
  1786. package/src/callbacks/postGridEntityCollision.ts +0 -68
  1787. package/src/callbacks/postGridEntityCustomCollision.ts +0 -73
  1788. package/src/callbacks/postGridEntityCustomRender.ts +0 -27
  1789. package/src/callbacks/postGridEntityCustomUpdate.ts +0 -27
  1790. package/src/callbacks/postGridEntityRender.ts +0 -25
  1791. package/src/callbacks/postHolyMantleRemoved.ts +0 -54
  1792. package/src/callbacks/postItemDischarged.ts +0 -152
  1793. package/src/callbacks/postKnifeInitLate.ts +0 -35
  1794. package/src/callbacks/postLaserInitLate.ts +0 -35
  1795. package/src/callbacks/postNPCInitLate.ts +0 -35
  1796. package/src/callbacks/postNPCStateChanged.ts +0 -41
  1797. package/src/callbacks/postNewRoomEarly.ts +0 -101
  1798. package/src/callbacks/postPickupCollect.ts +0 -47
  1799. package/src/callbacks/postPickupInitFirst.ts +0 -40
  1800. package/src/callbacks/postPickupInitLate.ts +0 -35
  1801. package/src/callbacks/postPickupStateChanged.ts +0 -39
  1802. package/src/callbacks/postPitRender.ts +0 -25
  1803. package/src/callbacks/postPitUpdate.ts +0 -25
  1804. package/src/callbacks/postPlayerChangeHealth.ts +0 -67
  1805. package/src/callbacks/postPlayerChangeStat.ts +0 -110
  1806. package/src/callbacks/postPlayerChangeType.ts +0 -55
  1807. package/src/callbacks/postPlayerCollectible.ts +0 -243
  1808. package/src/callbacks/postPlayerFatalDamage.ts +0 -138
  1809. package/src/callbacks/postPlayerInitFirst.ts +0 -56
  1810. package/src/callbacks/postPlayerInitLate.ts +0 -40
  1811. package/src/callbacks/postPlayerReorderedCallbacks.ts +0 -126
  1812. package/src/callbacks/postPoopRender.ts +0 -25
  1813. package/src/callbacks/postPoopUpdate.ts +0 -25
  1814. package/src/callbacks/postPressurePlateRender.ts +0 -25
  1815. package/src/callbacks/postPressurePlateUpdate.ts +0 -25
  1816. package/src/callbacks/postProjectileInitLate.ts +0 -35
  1817. package/src/callbacks/postPurchase.ts +0 -63
  1818. package/src/callbacks/postRockRender.ts +0 -25
  1819. package/src/callbacks/postRockUpdate.ts +0 -25
  1820. package/src/callbacks/postRoomClearChanged.ts +0 -52
  1821. package/src/callbacks/postSacrifice.ts +0 -63
  1822. package/src/callbacks/postSlotCollision.ts +0 -30
  1823. package/src/callbacks/postSlotDestroyed.ts +0 -92
  1824. package/src/callbacks/postSlotInitUpdate.ts +0 -70
  1825. package/src/callbacks/postSlotRender.ts +0 -68
  1826. package/src/callbacks/postSpikesRender.ts +0 -25
  1827. package/src/callbacks/postSpikesUpdate.ts +0 -25
  1828. package/src/callbacks/postTNTRender.ts +0 -25
  1829. package/src/callbacks/postTNTUpdate.ts +0 -25
  1830. package/src/callbacks/postTearInitLate.ts +0 -35
  1831. package/src/callbacks/postTearInitVeryLate.ts +0 -40
  1832. package/src/callbacks/postTransformation.ts +0 -62
  1833. package/src/callbacks/postTrinketBreak.ts +0 -115
  1834. package/src/callbacks/preBerserkDeath.ts +0 -48
  1835. package/src/callbacks/preGetPedestal.ts +0 -60
  1836. package/src/callbacks/preNewLevel.ts +0 -54
  1837. package/src/callbacks/reorderedCallbacks.ts +0 -169
  1838. package/src/callbacks/subscriptions/postAmbushFinished.ts +0 -29
  1839. package/src/callbacks/subscriptions/postAmbushStarted.ts +0 -29
  1840. package/src/callbacks/subscriptions/postBombExploded.ts +0 -29
  1841. package/src/callbacks/subscriptions/postBombInitLate.ts +0 -29
  1842. package/src/callbacks/subscriptions/postBoneSwing.ts +0 -21
  1843. package/src/callbacks/subscriptions/postCollectibleEmpty.ts +0 -38
  1844. package/src/callbacks/subscriptions/postCollectibleInitFirst.ts +0 -34
  1845. package/src/callbacks/subscriptions/postCursedTeleport.ts +0 -44
  1846. package/src/callbacks/subscriptions/postCustomRevive.ts +0 -33
  1847. package/src/callbacks/subscriptions/postDiceRoomActivated.ts +0 -35
  1848. package/src/callbacks/subscriptions/postDoorRender.ts +0 -34
  1849. package/src/callbacks/subscriptions/postDoorUpdate.ts +0 -34
  1850. package/src/callbacks/subscriptions/postEffectInitLate.ts +0 -29
  1851. package/src/callbacks/subscriptions/postEffectStateChanged.ts +0 -37
  1852. package/src/callbacks/subscriptions/postEsauJr.ts +0 -21
  1853. package/src/callbacks/subscriptions/postFamiliarInitLate.ts +0 -29
  1854. package/src/callbacks/subscriptions/postFamiliarStateChanged.ts +0 -37
  1855. package/src/callbacks/subscriptions/postFirstEsauJr.ts +0 -21
  1856. package/src/callbacks/subscriptions/postFirstFlip.ts +0 -24
  1857. package/src/callbacks/subscriptions/postFlip.ts +0 -22
  1858. package/src/callbacks/subscriptions/postGameStartedReordered.ts +0 -21
  1859. package/src/callbacks/subscriptions/postGameStartedReorderedLast.ts +0 -21
  1860. package/src/callbacks/subscriptions/postGreedModeWave.ts +0 -21
  1861. package/src/callbacks/subscriptions/postGridEntityBroken.ts +0 -45
  1862. package/src/callbacks/subscriptions/postGridEntityCollision.ts +0 -71
  1863. package/src/callbacks/subscriptions/postGridEntityCustomBroken.ts +0 -38
  1864. package/src/callbacks/subscriptions/postGridEntityCustomCollision.ts +0 -63
  1865. package/src/callbacks/subscriptions/postGridEntityCustomInit.ts +0 -38
  1866. package/src/callbacks/subscriptions/postGridEntityCustomRemove.ts +0 -35
  1867. package/src/callbacks/subscriptions/postGridEntityCustomRender.ts +0 -38
  1868. package/src/callbacks/subscriptions/postGridEntityCustomStateChanged.ts +0 -42
  1869. package/src/callbacks/subscriptions/postGridEntityCustomUpdate.ts +0 -38
  1870. package/src/callbacks/subscriptions/postGridEntityInit.ts +0 -45
  1871. package/src/callbacks/subscriptions/postGridEntityRemove.ts +0 -50
  1872. package/src/callbacks/subscriptions/postGridEntityRender.ts +0 -45
  1873. package/src/callbacks/subscriptions/postGridEntityStateChanged.ts +0 -49
  1874. package/src/callbacks/subscriptions/postGridEntityUpdate.ts +0 -45
  1875. package/src/callbacks/subscriptions/postHolyMantleRemoved.ts +0 -52
  1876. package/src/callbacks/subscriptions/postItemDischarged.ts +0 -40
  1877. package/src/callbacks/subscriptions/postItemPickup.ts +0 -61
  1878. package/src/callbacks/subscriptions/postKnifeInitLate.ts +0 -29
  1879. package/src/callbacks/subscriptions/postLaserInitLate.ts +0 -29
  1880. package/src/callbacks/subscriptions/postNPCInitLate.ts +0 -29
  1881. package/src/callbacks/subscriptions/postNPCStateChanged.ts +0 -39
  1882. package/src/callbacks/subscriptions/postNewLevelReordered.ts +0 -19
  1883. package/src/callbacks/subscriptions/postNewRoomEarly.ts +0 -19
  1884. package/src/callbacks/subscriptions/postNewRoomReordered.ts +0 -19
  1885. package/src/callbacks/subscriptions/postPEffectUpdateReordered.ts +0 -44
  1886. package/src/callbacks/subscriptions/postPickupCollect.ts +0 -32
  1887. package/src/callbacks/subscriptions/postPickupInitFirst.ts +0 -29
  1888. package/src/callbacks/subscriptions/postPickupInitLate.ts +0 -29
  1889. package/src/callbacks/subscriptions/postPickupStateChanged.ts +0 -37
  1890. package/src/callbacks/subscriptions/postPitRender.ts +0 -31
  1891. package/src/callbacks/subscriptions/postPitUpdate.ts +0 -31
  1892. package/src/callbacks/subscriptions/postPlayerChangeHealth.ts +0 -50
  1893. package/src/callbacks/subscriptions/postPlayerChangeStat.ts +0 -52
  1894. package/src/callbacks/subscriptions/postPlayerChangeType.ts +0 -37
  1895. package/src/callbacks/subscriptions/postPlayerCollectibleAdded.ts +0 -35
  1896. package/src/callbacks/subscriptions/postPlayerCollectibleRemoved.ts +0 -35
  1897. package/src/callbacks/subscriptions/postPlayerFatalDamage.ts +0 -65
  1898. package/src/callbacks/subscriptions/postPlayerInitFirst.ts +0 -37
  1899. package/src/callbacks/subscriptions/postPlayerInitLate.ts +0 -37
  1900. package/src/callbacks/subscriptions/postPlayerRenderReordered.ts +0 -37
  1901. package/src/callbacks/subscriptions/postPlayerUpdateReordered.ts +0 -37
  1902. package/src/callbacks/subscriptions/postPoopRender.ts +0 -34
  1903. package/src/callbacks/subscriptions/postPoopUpdate.ts +0 -34
  1904. package/src/callbacks/subscriptions/postPressurePlateRender.ts +0 -36
  1905. package/src/callbacks/subscriptions/postPressurePlateUpdate.ts +0 -36
  1906. package/src/callbacks/subscriptions/postProjectileInitLate.ts +0 -32
  1907. package/src/callbacks/subscriptions/postPurchase.ts +0 -48
  1908. package/src/callbacks/subscriptions/postRockRender.ts +0 -31
  1909. package/src/callbacks/subscriptions/postRockUpdate.ts +0 -31
  1910. package/src/callbacks/subscriptions/postRoomClearChanged.ts +0 -27
  1911. package/src/callbacks/subscriptions/postSacrifice.ts +0 -40
  1912. package/src/callbacks/subscriptions/postSlotAnimationChanged.ts +0 -37
  1913. package/src/callbacks/subscriptions/postSlotCollision.ts +0 -35
  1914. package/src/callbacks/subscriptions/postSlotDestroyed.ts +0 -52
  1915. package/src/callbacks/subscriptions/postSlotInit.ts +0 -29
  1916. package/src/callbacks/subscriptions/postSlotRender.ts +0 -29
  1917. package/src/callbacks/subscriptions/postSlotUpdate.ts +0 -29
  1918. package/src/callbacks/subscriptions/postSpikesRender.ts +0 -29
  1919. package/src/callbacks/subscriptions/postSpikesUpdate.ts +0 -29
  1920. package/src/callbacks/subscriptions/postTNTRender.ts +0 -29
  1921. package/src/callbacks/subscriptions/postTNTUpdate.ts +0 -29
  1922. package/src/callbacks/subscriptions/postTearInitLate.ts +0 -29
  1923. package/src/callbacks/subscriptions/postTearInitVeryLate.ts +0 -29
  1924. package/src/callbacks/subscriptions/postTransformation.ts +0 -37
  1925. package/src/callbacks/subscriptions/postTrinketBreak.ts +0 -35
  1926. package/src/callbacks/subscriptions/preBerserkDeath.ts +0 -39
  1927. package/src/callbacks/subscriptions/preCustomRevive.ts +0 -43
  1928. package/src/callbacks/subscriptions/preGetPedestal.ts +0 -55
  1929. package/src/callbacks/subscriptions/preItemPickup.ts +0 -61
  1930. package/src/callbacks/subscriptions/preNewLevel.ts +0 -21
  1931. package/src/classes/ModUpgraded.ts +0 -343
  1932. package/src/classes/callbacks/validation/CustomCallbackAmbush.ts +0 -28
  1933. package/src/classes/callbacks/validation/CustomCallbackBomb.ts +0 -27
  1934. package/src/classes/callbacks/validation/CustomCallbackCollectible.ts +0 -30
  1935. package/src/classes/callbacks/validation/CustomCallbackDoor.ts +0 -28
  1936. package/src/classes/callbacks/validation/CustomCallbackEffect.ts +0 -29
  1937. package/src/classes/callbacks/validation/CustomCallbackFamiliar.ts +0 -30
  1938. package/src/classes/callbacks/validation/CustomCallbackGridEntity.ts +0 -42
  1939. package/src/classes/callbacks/validation/CustomCallbackGridEntityCustom.ts +0 -36
  1940. package/src/classes/callbacks/validation/CustomCallbackKnife.ts +0 -27
  1941. package/src/classes/callbacks/validation/CustomCallbackPit.ts +0 -28
  1942. package/src/classes/callbacks/validation/CustomCallbackPlayer.ts +0 -47
  1943. package/src/classes/callbacks/validation/CustomCallbackRevive.ts +0 -27
  1944. package/src/classes/callbacks/validation/CustomCallbackSpikes.ts +0 -28
  1945. package/src/classes/features/callbackLogic/GridEntityDetection.ts +0 -231
  1946. package/src/enums/ModCallbackCustom2.ts +0 -57
  1947. package/src/enums/private/SerializationBrand.ts +0 -39
  1948. package/src/features/characterHealthConversion.ts +0 -125
  1949. package/src/features/characterStats.ts +0 -66
  1950. package/src/features/collectibleItemPoolType.ts +0 -66
  1951. package/src/features/customGridEntity.ts +0 -404
  1952. package/src/features/customHotkeys.ts +0 -144
  1953. package/src/features/customPickup.ts +0 -141
  1954. package/src/features/customStage/backdrop.ts +0 -279
  1955. package/src/features/customStage/constants.ts +0 -19
  1956. package/src/features/customStage/customStageGridEntities.ts +0 -323
  1957. package/src/features/customStage/customStageUtils.ts +0 -105
  1958. package/src/features/customStage/exports.ts +0 -225
  1959. package/src/features/customStage/init.ts +0 -203
  1960. package/src/features/customStage/shadows.ts +0 -83
  1961. package/src/features/customStage/streakText.ts +0 -276
  1962. package/src/features/customStage/v.ts +0 -42
  1963. package/src/features/customStage/versusScreen.ts +0 -331
  1964. package/src/features/customTrapdoor/blackSprite.ts +0 -27
  1965. package/src/features/customTrapdoor/constants.ts +0 -27
  1966. package/src/features/customTrapdoor/exports.ts +0 -89
  1967. package/src/features/customTrapdoor/init.ts +0 -253
  1968. package/src/features/customTrapdoor/openClose.ts +0 -103
  1969. package/src/features/customTrapdoor/spawn.ts +0 -53
  1970. package/src/features/customTrapdoor/touched.ts +0 -198
  1971. package/src/features/customTrapdoor/v.ts +0 -23
  1972. package/src/features/debugDisplay/debugDisplay.ts +0 -226
  1973. package/src/features/debugDisplay/exports.ts +0 -513
  1974. package/src/features/debugDisplay/v.ts +0 -79
  1975. package/src/features/deployJSONRoom.ts +0 -704
  1976. package/src/features/disableAllSound.ts +0 -77
  1977. package/src/features/disableInputs.ts +0 -224
  1978. package/src/features/extraConsoleCommands/commandsDisplay.ts +0 -290
  1979. package/src/features/extraConsoleCommands/commandsSubroutines.ts +0 -164
  1980. package/src/features/extraConsoleCommands/exports.ts +0 -79
  1981. package/src/features/extraConsoleCommands/init.ts +0 -199
  1982. package/src/features/extraConsoleCommands/listCommands.ts +0 -1668
  1983. package/src/features/extraConsoleCommands/v.ts +0 -43
  1984. package/src/features/fadeInRemover.ts +0 -60
  1985. package/src/features/fastReset.ts +0 -78
  1986. package/src/features/firstLast.ts +0 -428
  1987. package/src/features/forgottenSwitch.ts +0 -50
  1988. package/src/features/pause.ts +0 -189
  1989. package/src/features/persistentEntities.ts +0 -209
  1990. package/src/features/pickupIndex.ts +0 -256
  1991. package/src/features/playerInventory.ts +0 -110
  1992. package/src/features/ponyDetection.ts +0 -86
  1993. package/src/features/preventChildEntities.ts +0 -45
  1994. package/src/features/preventCollectibleRotation.ts +0 -115
  1995. package/src/features/roomClearFrame.ts +0 -54
  1996. package/src/features/roomHistory.ts +0 -135
  1997. package/src/features/runInNFrames.ts +0 -255
  1998. package/src/features/runNextRoom.ts +0 -44
  1999. package/src/features/saveDataManager/constants.ts +0 -18
  2000. package/src/features/saveDataManager/exports.ts +0 -281
  2001. package/src/features/saveDataManager/load.ts +0 -101
  2002. package/src/features/saveDataManager/main.ts +0 -351
  2003. package/src/features/saveDataManager/maps.ts +0 -20
  2004. package/src/features/saveDataManager/merge.ts +0 -205
  2005. package/src/features/saveDataManager/save.ts +0 -75
  2006. package/src/features/saveDataManager/serializationBrands.ts +0 -16
  2007. package/src/features/sirenHelpers.ts +0 -129
  2008. package/src/features/stageHistory.ts +0 -67
  2009. package/src/features/taintedLazarusPlayers.ts +0 -114
  2010. package/src/featuresInitialized.ts +0 -17
  2011. package/src/functions/collectibleCacheFlag.ts +0 -102
  2012. package/src/functions/collectibleSet.ts +0 -134
  2013. package/src/functions/dev.ts +0 -32
  2014. package/src/functions/eden.ts +0 -45
  2015. package/src/functions/flying.ts +0 -117
  2016. package/src/functions/itemPool.ts +0 -177
  2017. package/src/functions/reorderedCallbacks.ts +0 -46
  2018. package/src/functions/saveFile.ts +0 -28
  2019. package/src/functions/trinketCacheFlag.ts +0 -81
  2020. package/src/functions/trinketSet.ts +0 -133
  2021. package/src/initCustomCallbacks.ts +0 -147
  2022. package/src/initFeatures.ts +0 -70
  2023. package/src/interfaces/private/AddCallbackParametersCustom2.ts +0 -343
  2024. package/src/interfaces/private/CustomTrapdoorDestination.ts +0 -14
  2025. package/src/objects/callbackRegisterFunctions.ts +0 -216
  2026. package/src/types/Constructor.ts +0 -2
  2027. package/src/types/private/MatchingCallbackCustom.ts +0 -32
@@ -1 +1 @@
1
- {"version":3,"file":"logEntities.d.ts","sourceRoot":"","sources":["../../../src/functions/logEntities.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAEV,cAAc,EAOf,MAAM,8BAA8B,CAAC;AAiBtC,8FAA8F;AAC9F,wBAAgB,cAAc,CAC5B,wBAAwB,EAAE,OAAO,EACjC,gBAAgB,CAAC,EAAE,UAAU,GAC5B,IAAI,CAuCN;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,OAAO,EACrB,oBAAoB,CAAC,EAAE,cAAc,GACpC,IAAI,CA6CN;AAED,iEAAiE;AACjE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,CAIpD;AAED,kEAAkE;AAClE,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAG9C;AAmFD,sEAAsE;AACtE,wBAAgB,eAAe,CAAC,YAAY,EAAE,UAAU,EAAE,GAAG,IAAI,CAIhE;AAED,wEAAwE;AACxE,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAG1D;AA2DD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAQjD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,CAIvD"}
1
+ {"version":3,"file":"logEntities.d.ts","sourceRoot":"","sources":["../../../src/functions/logEntities.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAEV,cAAc,EAOf,MAAM,8BAA8B,CAAC;AAiBtC,8FAA8F;AAC9F,wBAAgB,cAAc,CAC5B,wBAAwB,EAAE,OAAO,EACjC,gBAAgB,CAAC,EAAE,UAAU,GAC5B,IAAI,CA0CN;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,YAAY,UAAQ,EACpB,oBAAoB,CAAC,EAAE,cAAc,GACpC,IAAI,CAgDN;AAED,iEAAiE;AACjE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,CAIpD;AAED,kEAAkE;AAClE,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAG9C;AAmFD,sEAAsE;AACtE,wBAAgB,eAAe,CAAC,YAAY,EAAE,UAAU,EAAE,GAAG,IAAI,CAIhE;AAED,wEAAwE;AACxE,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAG1D;AA2DD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAQjD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,CAIvD"}
@@ -2,6 +2,8 @@ local ____lualib = require("lualib_bundle")
2
2
  local Set = ____lualib.Set
3
3
  local __TS__New = ____lualib.__TS__New
4
4
  local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
5
+ local __TS__StringTrim = ____lualib.__TS__StringTrim
6
+ local __TS__StringSplit = ____lualib.__TS__StringSplit
5
7
  local ____exports = {}
6
8
  local getEntityLogLine, getGridEntityLogLine
7
9
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
@@ -179,10 +181,22 @@ function ____exports.logAllEntities(self, includeBackgroundEffects, entityTypeFi
179
181
  else
180
182
  msg = msg .. ((("(" .. tostring(numMatchedEntities)) .. " total ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n"
181
183
  end
182
- log(nil, msg)
184
+ for ____, line in ipairs(__TS__StringSplit(
185
+ __TS__StringTrim(msg),
186
+ "\n"
187
+ )) do
188
+ log(nil, line)
189
+ end
183
190
  end
184
191
  --- Helper function for printing out every grid entity (or filtered grid entity) in the current room.
192
+ --
193
+ -- @param includeWalls Optional. Whether or not to log the walls. Default is false.
194
+ -- @param gridEntityTypeFilter Optional. If specified, will only log the given `GridEntityType`.
195
+ -- Default is undefined.
185
196
  function ____exports.logAllGridEntities(self, includeWalls, gridEntityTypeFilter)
197
+ if includeWalls == nil then
198
+ includeWalls = false
199
+ end
186
200
  local msg = "Grid entities in the room"
187
201
  if gridEntityTypeFilter ~= nil then
188
202
  msg = msg .. (" (filtered to grid entity type " .. tostring(gridEntityTypeFilter)) .. ")"
@@ -212,7 +226,12 @@ function ____exports.logAllGridEntities(self, includeWalls, gridEntityTypeFilter
212
226
  else
213
227
  msg = msg .. ((("(" .. tostring(numMatchedEntities)) .. " total grid ") .. (numMatchedEntities == 1 and "entity" or "entities")) .. ")\n"
214
228
  end
215
- log(nil, msg)
229
+ for ____, line in ipairs(__TS__StringSplit(
230
+ __TS__StringTrim(msg),
231
+ "\n"
232
+ )) do
233
+ log(nil, line)
234
+ end
216
235
  end
217
236
  --- Helper function for logging an array of specific entities.
218
237
  function ____exports.logEntities(self, entities)
@@ -1 +1 @@
1
- {"version":3,"file":"logMisc.d.ts","sourceRoot":"","sources":["../../../src/functions/logMisc.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,eAAe,EACf,UAAU,EACV,UAAU,EAKV,cAAc,EAGd,QAAQ,EACR,OAAO,EACR,MAAM,8BAA8B,CAAC;AAmBtC,wBAAgB,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,GAAG,IAAI,CAG3D;AAED,wBAAgB,mBAAmB,CAAC,gBAAgB,EAAE,eAAe,EAAE,GAAG,IAAI,CAS7E;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAI3C;AAED,mGAAmG;AACnG,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,IAAI,CAE7E;AAED,mGAAmG;AACnG,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,IAAI,CAE7E;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAGhD;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAI1C;AAED,4FAA4F;AAC5F,wBAAgB,QAAQ,CAAC,CAAC,SAAS,OAAO,GAAG,UAAU,EACrD,KAAK,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EACtB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,EAC3B,WAAW,SAAK,GACf,IAAI,CAmBN;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAiBxC;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAI9C;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAkBzC;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG,IAAI,CAazD;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CA0B3D;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAoB1D;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC,GAC/C,IAAI,CAEN;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IAAI,IAAI,CA2B9B;AAED;;;GAGG;AACH,wBAAgB,cAAc,IAAI,IAAI,CAiBrC;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,SAAS,CAAC,GAAG,WAAW,CAAC,SAAS,CAAC,GAAG,IAAI,CAUzE;AAED,gFAAgF;AAChF,wBAAgB,SAAS,IAAI,IAAI,CAQhC;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,OAAO,EAAE,YAAY,SAAI,GAAG,IAAI,CA6ClE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,SAAS,EAAE,CAAC,EACxD,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,EACpB,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GACnB,IAAI,CA8BN;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAkBpD;AAED,iGAAiG;AACjG,wBAAgB,YAAY,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,GAAG,IAAI,CAEvE;AAED,gGAAgG;AAChG,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,CAEpE;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAoBnD;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,UAAQ,GAAG,IAAI,CAG7D"}
1
+ {"version":3,"file":"logMisc.d.ts","sourceRoot":"","sources":["../../../src/functions/logMisc.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,eAAe,EACf,UAAU,EACV,UAAU,EAKV,cAAc,EAGd,QAAQ,EACR,OAAO,EACR,MAAM,8BAA8B,CAAC;AAoBtC,wBAAgB,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,GAAG,IAAI,CAQ3D;AAED,wBAAgB,mBAAmB,CAAC,gBAAgB,EAAE,eAAe,EAAE,GAAG,IAAI,CAS7E;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAI3C;AAED,mGAAmG;AACnG,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,IAAI,CAE7E;AAED,mGAAmG;AACnG,wBAAgB,cAAc,CAAC,KAAK,EAAE,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,IAAI,CAE7E;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAGhD;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAI1C;AAED,4FAA4F;AAC5F,wBAAgB,QAAQ,CAAC,CAAC,SAAS,OAAO,GAAG,UAAU,EACrD,KAAK,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EACtB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,EAC3B,WAAW,SAAK,GACf,IAAI,CAmBN;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAiBxC;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAI9C;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAkBzC;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,GAAG,IAAI,CAkBzD;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CA0B3D;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAoB1D;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC,GAC/C,IAAI,CAEN;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IAAI,IAAI,CA2B9B;AAED;;;GAGG;AACH,wBAAgB,cAAc,IAAI,IAAI,CAiBrC;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,SAAS,CAAC,GAAG,WAAW,CAAC,SAAS,CAAC,GAAG,IAAI,CAezE;AAED,gFAAgF;AAChF,wBAAgB,SAAS,IAAI,IAAI,CAQhC;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,OAAO,EAAE,YAAY,SAAI,GAAG,IAAI,CA6ClE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,SAAS,EAAE,CAAC,EACxD,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,EACpB,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GACnB,IAAI,CA8BN;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAkBpD;AAED,iGAAiG;AACjG,wBAAgB,YAAY,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,GAAG,IAAI,CAEvE;AAED,gGAAgG;AAChG,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,CAEpE;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAoBnD;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,UAAQ,GAAG,IAAI,CAG7D"}
@@ -3,9 +3,9 @@ local Map = ____lualib.Map
3
3
  local __TS__Spread = ____lualib.__TS__Spread
4
4
  local __TS__ArraySort = ____lualib.__TS__ArraySort
5
5
  local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
6
+ local Set = ____lualib.Set
6
7
  local __TS__TypeOf = ____lualib.__TS__TypeOf
7
8
  local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
8
- local Set = ____lualib.Set
9
9
  local __TS__New = ____lualib.__TS__New
10
10
  local ____exports = {}
11
11
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
@@ -25,6 +25,7 @@ local game = ____cachedClasses.game
25
25
  local sfxManager = ____cachedClasses.sfxManager
26
26
  local ____array = require("src.functions.array")
27
27
  local arrayToString = ____array.arrayToString
28
+ local isArray = ____array.isArray
28
29
  local ____collectibles = require("src.functions.collectibles")
29
30
  local getCollectibleName = ____collectibles.getCollectibleName
30
31
  local ____entities = require("src.functions.entities")
@@ -53,6 +54,10 @@ local ____table = require("src.functions.table")
53
54
  local iterateTableInOrder = ____table.iterateTableInOrder
54
55
  local ____trinkets = require("src.functions.trinkets")
55
56
  local getTrinketName = ____trinkets.getTrinketName
57
+ local ____tstlClass = require("src.functions.tstlClass")
58
+ local isDefaultMap = ____tstlClass.isDefaultMap
59
+ local isTSTLMap = ____tstlClass.isTSTLMap
60
+ local isTSTLSet = ____tstlClass.isTSTLSet
56
61
  local ____types = require("src.functions.types")
57
62
  local isTable = ____types.isTable
58
63
  local isUserdata = ____types.isUserdata
@@ -89,6 +94,10 @@ function ____exports.logFlags(self, flags, flagEnum, description)
89
94
  end
90
95
  end
91
96
  function ____exports.logArray(self, array)
97
+ if not isArray(nil, array) then
98
+ log(nil, "Tried to log an array, but the given object was not an array.")
99
+ return
100
+ end
92
101
  local arrayString = arrayToString(nil, array)
93
102
  log(nil, "Array: " .. arrayString)
94
103
  end
@@ -181,7 +190,11 @@ function ____exports.logLevelStateFlags(self)
181
190
  end
182
191
  end
183
192
  function ____exports.logMap(self, map)
184
- log(nil, "Printing out a TSTL Map:")
193
+ if not isTSTLMap(nil, map) and not isDefaultMap(nil, map) then
194
+ log(nil, "Tried to log a TSTL map, but the given object was not a TSTL map.")
195
+ return
196
+ end
197
+ log(nil, "Printing out a TSTL map:")
185
198
  local mapKeys = {__TS__Spread(map:keys())}
186
199
  __TS__ArraySort(mapKeys)
187
200
  for ____, key in ipairs(mapKeys) do
@@ -347,7 +360,11 @@ function ____exports.logSeedEffects(self)
347
360
  end
348
361
  end
349
362
  function ____exports.logSet(self, set)
350
- log(nil, "Printing out a TSTL Set:")
363
+ if not isTSTLSet(nil, set) then
364
+ log(nil, "Tried to log a TSTL set, but the given object was not a TSTL set.")
365
+ return
366
+ end
367
+ log(nil, "Printing out a TSTL set:")
351
368
  local setValues = getSortedSetValues(nil, set)
352
369
  for ____, value in ipairs(setValues) do
353
370
  log(
@@ -0,0 +1,40 @@
1
+ /// <reference types="@typescript-to-lua/language-extensions" />
2
+ import { AnyClass } from "../types/AnyClass";
3
+ /**
4
+ * `merge` takes the values from a new table and recursively merges them into an old object (while
5
+ * performing appropriate deserialization).
6
+ *
7
+ * This function is used to merge incoming data from the "save#.dat" file into a mod's variables.
8
+ * Merging is useful instead of blowing away a table entirely because mod code often relies on the
9
+ * local table/object references.
10
+ *
11
+ * This function always assumes that the new table is serialized data and will attempt to perform
12
+ * deserialization on the objects within. In other words, unlike the `deepCopy` function, the
13
+ * `merge` function will always operates in the mode of `SerializationType.DESERIALIZE`. For the
14
+ * types of objects that will be deserialized, see the documentation for the `deepCopy` function.
15
+ *
16
+ * This function does not iterate over the old object, like you would naively expect. This is
17
+ * because it is common for a variable to have a type of `something | null`. If this is the case,
18
+ * the key would not appear when iterating over the old object (because a value of null transpiles
19
+ * to nil, which means the table key does not exist). Thus, we must instead iterate over the new
20
+ * object and copy the values backwards. The consequence of this is that `merge` can copy over old
21
+ * variables that are no longer used in the code, or copy over old variables of a different type,
22
+ * which can cause run-time errors. In such cases, users will have to manually delete their save
23
+ * data.
24
+ *
25
+ * @param oldObject The old object to merge the values into. This can be either a Lua table, a TSTL
26
+ * map, or a TSTL set.
27
+ * @param newTable The new table to merge the values from. This must be a Lua table that represents
28
+ * serialized data. In other words, it should be created with the `deepCopy`
29
+ * function using `SerializationType.SERIALIZE`.
30
+ * @param traversalDescription Used to track the current key that we are operating on for debugging
31
+ * purposes. Use a name that corresponds to the name of the merging
32
+ * table.
33
+ * @param classConstructors Optional. A Lua table that maps the name of a user-defined TSTL class to
34
+ * its corresponding constructor. If the `deepCopy` function finds any
35
+ * user-defined TSTL classes when recursively iterating through the given
36
+ * object, it will use this map to instantiate a new class. Default is an
37
+ * empty Lua table.
38
+ */
39
+ export declare function merge(oldObject: LuaMap<AnyNotNil, unknown> | Map<AnyNotNil, unknown> | Set<AnyNotNil>, newTable: LuaMap<AnyNotNil, unknown>, traversalDescription: string, classConstructors?: LuaMap<string, AnyClass>): void;
40
+ //# sourceMappingURL=merge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../src/functions/merge.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAc7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,KAAK,CACnB,SAAS,EACL,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,GAC1B,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,GACvB,GAAG,CAAC,SAAS,CAAC,EAClB,QAAQ,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,EACpC,oBAAoB,EAAE,MAAM,EAC5B,iBAAiB,2BAAiC,GACjD,IAAI,CAyCN"}
@@ -0,0 +1,210 @@
1
+ local ____lualib = require("lualib_bundle")
2
+ local Set = ____lualib.Set
3
+ local Map = ____lualib.Map
4
+ local ____exports = {}
5
+ local mergeSerializedArray, mergeSerializedTSTLObject, mergeSerializedTable
6
+ local ____constants = require("src.classes.features.other.saveDataManager.constants")
7
+ local SAVE_DATA_MANAGER_DEBUG = ____constants.SAVE_DATA_MANAGER_DEBUG
8
+ local ____SerializationBrand = require("src.enums.SerializationBrand")
9
+ local SerializationBrand = ____SerializationBrand.SerializationBrand
10
+ local ____SerializationType = require("src.enums.SerializationType")
11
+ local SerializationType = ____SerializationType.SerializationType
12
+ local ____array = require("src.functions.array")
13
+ local isArray = ____array.isArray
14
+ local ____deepCopy = require("src.functions.deepCopy")
15
+ local deepCopy = ____deepCopy.deepCopy
16
+ local ____log = require("src.functions.log")
17
+ local log = ____log.log
18
+ local ____serialization = require("src.functions.serialization")
19
+ local deserializeIsaacAPIClass = ____serialization.deserializeIsaacAPIClass
20
+ local isSerializationBrand = ____serialization.isSerializationBrand
21
+ local isSerializedIsaacAPIClass = ____serialization.isSerializedIsaacAPIClass
22
+ local ____table = require("src.functions.table")
23
+ local clearTable = ____table.clearTable
24
+ local iterateTableInOrder = ____table.iterateTableInOrder
25
+ local ____tstlClass = require("src.functions.tstlClass")
26
+ local isDefaultMap = ____tstlClass.isDefaultMap
27
+ local isTSTLMap = ____tstlClass.isTSTLMap
28
+ local isTSTLSet = ____tstlClass.isTSTLSet
29
+ local ____types = require("src.functions.types")
30
+ local isTable = ____types.isTable
31
+ local ____utils = require("src.functions.utils")
32
+ local getTraversalDescription = ____utils.getTraversalDescription
33
+ --- `merge` takes the values from a new table and recursively merges them into an old object (while
34
+ -- performing appropriate deserialization).
35
+ --
36
+ -- This function is used to merge incoming data from the "save#.dat" file into a mod's variables.
37
+ -- Merging is useful instead of blowing away a table entirely because mod code often relies on the
38
+ -- local table/object references.
39
+ --
40
+ -- This function always assumes that the new table is serialized data and will attempt to perform
41
+ -- deserialization on the objects within. In other words, unlike the `deepCopy` function, the
42
+ -- `merge` function will always operates in the mode of `SerializationType.DESERIALIZE`. For the
43
+ -- types of objects that will be deserialized, see the documentation for the `deepCopy` function.
44
+ --
45
+ -- This function does not iterate over the old object, like you would naively expect. This is
46
+ -- because it is common for a variable to have a type of `something | null`. If this is the case,
47
+ -- the key would not appear when iterating over the old object (because a value of null transpiles
48
+ -- to nil, which means the table key does not exist). Thus, we must instead iterate over the new
49
+ -- object and copy the values backwards. The consequence of this is that `merge` can copy over old
50
+ -- variables that are no longer used in the code, or copy over old variables of a different type,
51
+ -- which can cause run-time errors. In such cases, users will have to manually delete their save
52
+ -- data.
53
+ --
54
+ -- @param oldObject The old object to merge the values into. This can be either a Lua table, a TSTL
55
+ -- map, or a TSTL set.
56
+ -- @param newTable The new table to merge the values from. This must be a Lua table that represents
57
+ -- serialized data. In other words, it should be created with the `deepCopy`
58
+ -- function using `SerializationType.SERIALIZE`.
59
+ -- @param traversalDescription Used to track the current key that we are operating on for debugging
60
+ -- purposes. Use a name that corresponds to the name of the merging
61
+ -- table.
62
+ -- @param classConstructors Optional. A Lua table that maps the name of a user-defined TSTL class to
63
+ -- its corresponding constructor. If the `deepCopy` function finds any
64
+ -- user-defined TSTL classes when recursively iterating through the given
65
+ -- object, it will use this map to instantiate a new class. Default is an
66
+ -- empty Lua table.
67
+ function ____exports.merge(self, oldObject, newTable, traversalDescription, classConstructors)
68
+ if classConstructors == nil then
69
+ classConstructors = {}
70
+ end
71
+ if SAVE_DATA_MANAGER_DEBUG then
72
+ log(nil, "merge is traversing: " .. traversalDescription)
73
+ end
74
+ if not isTable(nil, oldObject) then
75
+ error("The first argument given to the merge function is not a table.")
76
+ end
77
+ if not isTable(nil, newTable) then
78
+ error("The second argument given to the merge function is not a table.")
79
+ end
80
+ if isArray(nil, oldObject) and isArray(nil, newTable) then
81
+ mergeSerializedArray(
82
+ nil,
83
+ oldObject,
84
+ newTable,
85
+ traversalDescription,
86
+ classConstructors
87
+ )
88
+ return
89
+ end
90
+ if isTSTLMap(nil, oldObject) or isTSTLSet(nil, oldObject) or isDefaultMap(nil, oldObject) then
91
+ mergeSerializedTSTLObject(
92
+ nil,
93
+ oldObject,
94
+ newTable,
95
+ traversalDescription,
96
+ classConstructors
97
+ )
98
+ else
99
+ mergeSerializedTable(
100
+ nil,
101
+ oldObject,
102
+ newTable,
103
+ traversalDescription,
104
+ classConstructors
105
+ )
106
+ end
107
+ end
108
+ function mergeSerializedArray(self, oldArray, newArray, traversalDescription, classConstructors)
109
+ if SAVE_DATA_MANAGER_DEBUG then
110
+ log(nil, "merge encountered an array: " .. traversalDescription)
111
+ end
112
+ clearTable(nil, oldArray)
113
+ iterateTableInOrder(
114
+ nil,
115
+ newArray,
116
+ function(____, key, value)
117
+ local deserializedValue = deepCopy(
118
+ nil,
119
+ value,
120
+ SerializationType.DESERIALIZE,
121
+ traversalDescription,
122
+ classConstructors
123
+ )
124
+ oldArray[key] = deserializedValue
125
+ end,
126
+ SAVE_DATA_MANAGER_DEBUG
127
+ )
128
+ end
129
+ function mergeSerializedTSTLObject(self, oldObject, newTable, traversalDescription, classConstructors)
130
+ if SAVE_DATA_MANAGER_DEBUG then
131
+ log(nil, "merge encountered a TSTL object: " .. traversalDescription)
132
+ end
133
+ oldObject:clear()
134
+ local convertStringKeysToNumbers = newTable[SerializationBrand.OBJECT_WITH_NUMBER_KEYS] ~= nil
135
+ iterateTableInOrder(
136
+ nil,
137
+ newTable,
138
+ function(____, key, value)
139
+ if isSerializationBrand(nil, key) then
140
+ return
141
+ end
142
+ local keyToUse = key
143
+ if convertStringKeysToNumbers then
144
+ local numberKey = tonumber(key)
145
+ if numberKey == nil then
146
+ return
147
+ end
148
+ keyToUse = numberKey
149
+ end
150
+ if isTSTLMap(nil, oldObject) or isDefaultMap(nil, oldObject) then
151
+ local deserializedValue = deepCopy(
152
+ nil,
153
+ value,
154
+ SerializationType.DESERIALIZE,
155
+ traversalDescription,
156
+ classConstructors
157
+ )
158
+ oldObject:set(keyToUse, deserializedValue)
159
+ elseif isTSTLSet(nil, oldObject) then
160
+ oldObject:add(keyToUse)
161
+ end
162
+ end,
163
+ SAVE_DATA_MANAGER_DEBUG
164
+ )
165
+ end
166
+ function mergeSerializedTable(self, oldTable, newTable, traversalDescription, classConstructors)
167
+ if SAVE_DATA_MANAGER_DEBUG then
168
+ log(nil, "merge encountered a Lua table: " .. traversalDescription)
169
+ end
170
+ iterateTableInOrder(
171
+ nil,
172
+ newTable,
173
+ function(____, key, value)
174
+ if SAVE_DATA_MANAGER_DEBUG then
175
+ local valueToPrint = value == "" and "(empty string)" or tostring(value)
176
+ log(nil, (("merge is merging: " .. traversalDescription) .. " --> ") .. valueToPrint)
177
+ end
178
+ if isSerializationBrand(nil, key) then
179
+ return
180
+ end
181
+ if isSerializedIsaacAPIClass(nil, value) then
182
+ if SAVE_DATA_MANAGER_DEBUG then
183
+ log(nil, "merge found a serialized Isaac API class.")
184
+ end
185
+ local deserializedObject = deserializeIsaacAPIClass(nil, value)
186
+ oldTable[key] = deserializedObject
187
+ return
188
+ end
189
+ if isTable(nil, value) then
190
+ local oldValue = oldTable[key]
191
+ if not isTable(nil, oldValue) then
192
+ oldValue = {}
193
+ oldTable[key] = oldValue
194
+ end
195
+ traversalDescription = getTraversalDescription(nil, key, traversalDescription)
196
+ ____exports.merge(
197
+ nil,
198
+ oldValue,
199
+ value,
200
+ traversalDescription,
201
+ classConstructors
202
+ )
203
+ else
204
+ oldTable[key] = value
205
+ end
206
+ end,
207
+ SAVE_DATA_MANAGER_DEBUG
208
+ )
209
+ end
210
+ return ____exports
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Run the suite of tests that prove that the "merge" function works properly. (This function is not
3
- * exported but is used internally in the save data manager.)
2
+ * Run the suite of tests that prove that the "merge" function works properly.
4
3
  *
5
4
  * This function is only useful if you are troubleshooting the save data manager.
6
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"mergeTests.d.ts","sourceRoot":"","sources":["../../../src/functions/mergeTests.ts"],"names":[],"mappings":"AAUA;;;;;GAKG;AACH,wBAAgB,aAAa,IAAI,IAAI,CAkBpC"}
1
+ {"version":3,"file":"mergeTests.d.ts","sourceRoot":"","sources":["../../../src/functions/mergeTests.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,wBAAgB,aAAa,IAAI,IAAI,CAkBpC"}
@@ -7,12 +7,12 @@ local ____DefaultMap = require("src.classes.DefaultMap")
7
7
  local DefaultMap = ____DefaultMap.DefaultMap
8
8
  local ____SerializationType = require("src.enums.SerializationType")
9
9
  local SerializationType = ____SerializationType.SerializationType
10
- local ____merge = require("src.features.saveDataManager.merge")
11
- local merge = ____merge.merge
12
10
  local ____deepCopy = require("src.functions.deepCopy")
13
11
  local deepCopy = ____deepCopy.deepCopy
14
12
  local ____log = require("src.functions.log")
15
13
  local log = ____log.log
14
+ local ____merge = require("src.functions.merge")
15
+ local merge = ____merge.merge
16
16
  local ____rng = require("src.functions.rng")
17
17
  local isRNG = ____rng.isRNG
18
18
  local newRNG = ____rng.newRNG
@@ -238,8 +238,7 @@ function oldTableHasRNGSerialized(self)
238
238
  error("The old table's seed not match: " .. tostring(seed))
239
239
  end
240
240
  end
241
- --- Run the suite of tests that prove that the "merge" function works properly. (This function is not
242
- -- exported but is used internally in the save data manager.)
241
+ --- Run the suite of tests that prove that the "merge" function works properly.
243
242
  --
244
243
  -- This function is only useful if you are troubleshooting the save data manager.
245
244
  function ____exports.runMergeTests(self)
@@ -3,15 +3,19 @@ import { LevelStage, StageType } from "isaac-typescript-definitions";
3
3
  * Helper function to get the stage that a trapdoor or heaven door would take the player to, based
4
4
  * on the current stage, room, and game state flags.
5
5
  *
6
- * Note that in non-upgraded mods, this function will not account for the player having visited
7
- * Repentance floors in The Ascent. (Handling this requires stateful tracking as the player
8
- * progresses through the run.)
6
+ * If you want to account for the player having visited Repentance floors in The Ascent, use the
7
+ * `getNextStageUsingHistory` helper function instead (from the stage history feature). Handling
8
+ * this requires stateful tracking as the player progresses through the run.
9
9
  */
10
10
  export declare function getNextStage(): LevelStage;
11
11
  /**
12
12
  * Helper function to get the stage type that a trapdoor or heaven door would take the player to,
13
13
  * based on the current stage, room, and game state flags.
14
14
  *
15
+ * If you want to account for previous floors visited on The Ascent, use the
16
+ * `getNextStageTypeUsingHistory` helper function instead (from the stage history feature). Handling
17
+ * this requires stateful tracking as the player progresses through the run.
18
+ *
15
19
  * @param upwards Whether or not the player should go up to Cathedral in the case of being on Womb
16
20
  * 2. Default is false.
17
21
  */
@@ -1 +1 @@
1
- {"version":3,"file":"nextStage.d.ts","sourceRoot":"","sources":["../../../src/functions/nextStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAYtC;;;;;;;GAOG;AACH,wBAAgB,YAAY,IAAI,UAAU,CAwFzC;AA+HD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,UAAQ,GAAG,SAAS,CAiF3D"}
1
+ {"version":3,"file":"nextStage.d.ts","sourceRoot":"","sources":["../../../src/functions/nextStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAUtC;;;;;;;GAOG;AACH,wBAAgB,YAAY,IAAI,UAAU,CAwFzC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,UAAQ,GAAG,SAAS,CAiF3D"}
@@ -1,5 +1,4 @@
1
1
  local ____exports = {}
2
- local getNextStageBackwardsPath, getStageTypeBackwardsPath
3
2
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
3
  local GameStateFlag = ____isaac_2Dtypescript_2Ddefinitions.GameStateFlag
5
4
  local GridRoom = ____isaac_2Dtypescript_2Ddefinitions.GridRoom
@@ -7,10 +6,6 @@ local LevelStage = ____isaac_2Dtypescript_2Ddefinitions.LevelStage
7
6
  local StageType = ____isaac_2Dtypescript_2Ddefinitions.StageType
8
7
  local ____cachedClasses = require("src.core.cachedClasses")
9
8
  local game = ____cachedClasses.game
10
- local ____stageHistory = require("src.features.stageHistory")
11
- local hasVisitedStage = ____stageHistory.hasVisitedStage
12
- local ____featuresInitialized = require("src.featuresInitialized")
13
- local areFeaturesInitialized = ____featuresInitialized.areFeaturesInitialized
14
9
  local ____roomData = require("src.functions.roomData")
15
10
  local getRoomGridIndex = ____roomData.getRoomGridIndex
16
11
  local ____stage = require("src.functions.stage")
@@ -19,125 +14,12 @@ local calculateStageTypeRepentance = ____stage.calculateStageTypeRepentance
19
14
  local onRepentanceStage = ____stage.onRepentanceStage
20
15
  local ____types = require("src.functions.types")
21
16
  local asNumber = ____types.asNumber
22
- function getNextStageBackwardsPath(self, stage, repentanceStage)
23
- if not areFeaturesInitialized(nil) then
24
- return asNumber(nil, stage) - 1
25
- end
26
- local visitedDownpour1 = hasVisitedStage(nil, LevelStage.BASEMENT_1, StageType.REPENTANCE)
27
- local visitedDross1 = hasVisitedStage(nil, LevelStage.BASEMENT_1, StageType.REPENTANCE_B)
28
- local visitedDownpour2 = hasVisitedStage(nil, LevelStage.BASEMENT_2, StageType.REPENTANCE)
29
- local visitedDross2 = hasVisitedStage(nil, LevelStage.BASEMENT_2, StageType.REPENTANCE_B)
30
- local visitedMines1 = hasVisitedStage(nil, LevelStage.CAVES_1, StageType.REPENTANCE)
31
- local visitedAshpit1 = hasVisitedStage(nil, LevelStage.CAVES_1, StageType.REPENTANCE_B)
32
- local visitedMines2 = hasVisitedStage(nil, LevelStage.DEPTHS_2, StageType.REPENTANCE)
33
- local visitedAshpit2 = hasVisitedStage(nil, LevelStage.DEPTHS_2, StageType.REPENTANCE_B)
34
- if stage == LevelStage.BASEMENT_1 then
35
- if repentanceStage then
36
- return LevelStage.BASEMENT_1
37
- end
38
- return LevelStage.HOME
39
- end
40
- if stage == LevelStage.BASEMENT_2 then
41
- if repentanceStage then
42
- if visitedDownpour1 or visitedDross1 then
43
- return LevelStage.BASEMENT_1
44
- end
45
- return LevelStage.BASEMENT_2
46
- end
47
- return LevelStage.BASEMENT_1
48
- end
49
- if stage == LevelStage.CAVES_1 then
50
- if repentanceStage then
51
- if visitedDownpour2 or visitedDross2 then
52
- return LevelStage.BASEMENT_2
53
- end
54
- return LevelStage.CAVES_1
55
- end
56
- return LevelStage.BASEMENT_2
57
- end
58
- if stage == LevelStage.CAVES_2 then
59
- if repentanceStage then
60
- if visitedMines1 or visitedAshpit1 then
61
- return LevelStage.CAVES_1
62
- end
63
- return LevelStage.CAVES_2
64
- end
65
- return LevelStage.CAVES_1
66
- end
67
- if stage == LevelStage.DEPTHS_1 then
68
- if repentanceStage then
69
- if visitedMines2 or visitedAshpit2 then
70
- return LevelStage.CAVES_2
71
- end
72
- return LevelStage.DEPTHS_1
73
- end
74
- return LevelStage.CAVES_2
75
- end
76
- if stage == LevelStage.DEPTHS_2 then
77
- if repentanceStage then
78
- return LevelStage.DEPTHS_2
79
- end
80
- return LevelStage.DEPTHS_1
81
- end
82
- return asNumber(nil, stage) - 1
83
- end
84
- function getStageTypeBackwardsPath(self, stage, nextStage, repentanceStage)
85
- local visitedDownpour1 = hasVisitedStage(nil, LevelStage.BASEMENT_1, StageType.REPENTANCE)
86
- local visitedDross1 = hasVisitedStage(nil, LevelStage.BASEMENT_1, StageType.REPENTANCE_B)
87
- local visitedDownpour2 = hasVisitedStage(nil, LevelStage.BASEMENT_2, StageType.REPENTANCE)
88
- local visitedDross2 = hasVisitedStage(nil, LevelStage.BASEMENT_2, StageType.REPENTANCE_B)
89
- local visitedMines1 = hasVisitedStage(nil, LevelStage.CAVES_1, StageType.REPENTANCE)
90
- local visitedAshpit1 = hasVisitedStage(nil, LevelStage.CAVES_1, StageType.REPENTANCE_B)
91
- local visitedMines2 = hasVisitedStage(nil, LevelStage.DEPTHS_2, StageType.REPENTANCE)
92
- local visitedAshpit2 = hasVisitedStage(nil, LevelStage.DEPTHS_2, StageType.REPENTANCE_B)
93
- if stage == LevelStage.BASEMENT_2 and repentanceStage then
94
- if visitedDownpour1 then
95
- return StageType.REPENTANCE
96
- end
97
- if visitedDross1 then
98
- return StageType.REPENTANCE_B
99
- end
100
- end
101
- if stage == LevelStage.CAVES_1 and repentanceStage then
102
- if visitedDownpour2 then
103
- return StageType.REPENTANCE
104
- end
105
- if visitedDross2 then
106
- return StageType.REPENTANCE_B
107
- end
108
- end
109
- if stage == LevelStage.CAVES_2 and not repentanceStage then
110
- if visitedDownpour2 then
111
- return StageType.REPENTANCE
112
- end
113
- if visitedDross2 then
114
- return StageType.REPENTANCE_B
115
- end
116
- end
117
- if stage == LevelStage.CAVES_2 and repentanceStage then
118
- if visitedMines1 then
119
- return StageType.REPENTANCE
120
- end
121
- if visitedAshpit1 then
122
- return StageType.REPENTANCE_B
123
- end
124
- end
125
- if stage == LevelStage.DEPTHS_2 and not repentanceStage then
126
- if visitedAshpit2 then
127
- return StageType.REPENTANCE_B
128
- end
129
- if visitedMines2 then
130
- return StageType.REPENTANCE
131
- end
132
- end
133
- return calculateStageType(nil, nextStage)
134
- end
135
17
  --- Helper function to get the stage that a trapdoor or heaven door would take the player to, based
136
18
  -- on the current stage, room, and game state flags.
137
19
  --
138
- -- Note that in non-upgraded mods, this function will not account for the player having visited
139
- -- Repentance floors in The Ascent. (Handling this requires stateful tracking as the player
140
- -- progresses through the run.)
20
+ -- If you want to account for the player having visited Repentance floors in The Ascent, use the
21
+ -- `getNextStageUsingHistory` helper function instead (from the stage history feature). Handling
22
+ -- this requires stateful tracking as the player progresses through the run.
141
23
  function ____exports.getNextStage(self)
142
24
  local level = game:GetLevel()
143
25
  local backwardsPath = game:GetStateFlag(GameStateFlag.BACKWARDS_PATH)
@@ -146,7 +28,7 @@ function ____exports.getNextStage(self)
146
28
  local repentanceStage = onRepentanceStage(nil)
147
29
  local roomGridIndex = getRoomGridIndex(nil)
148
30
  if backwardsPath then
149
- return getNextStageBackwardsPath(nil, stage, repentanceStage)
31
+ return asNumber(nil, stage) - 1
150
32
  end
151
33
  repeat
152
34
  local ____switch4 = roomGridIndex
@@ -201,6 +83,10 @@ end
201
83
  --- Helper function to get the stage type that a trapdoor or heaven door would take the player to,
202
84
  -- based on the current stage, room, and game state flags.
203
85
  --
86
+ -- If you want to account for previous floors visited on The Ascent, use the
87
+ -- `getNextStageTypeUsingHistory` helper function instead (from the stage history feature). Handling
88
+ -- this requires stateful tracking as the player progresses through the run.
89
+ --
204
90
  -- @param upwards Whether or not the player should go up to Cathedral in the case of being on Womb
205
91
  -- 2. Default is false.
206
92
  function ____exports.getNextStageType(self, upwards)
@@ -216,7 +102,7 @@ function ____exports.getNextStageType(self, upwards)
216
102
  local roomGridIndex = getRoomGridIndex(nil)
217
103
  local nextStage = ____exports.getNextStage(nil)
218
104
  if backwardsPath then
219
- return getStageTypeBackwardsPath(nil, stage, nextStage, repentanceStage)
105
+ return calculateStageType(nil, nextStage)
220
106
  end
221
107
  if roomGridIndex == asNumber(nil, GridRoom.SECRET_EXIT) then
222
108
  return calculateStageTypeRepentance(nil, nextStage)
@@ -66,13 +66,6 @@ export declare function getPlayerCloserThan(position: Vector, distance: float):
66
66
  * Note that this will filter out non-real collectibles like Lilith's Incubus.
67
67
  */
68
68
  export declare function getPlayerCollectibleCount(player: EntityPlayer, ...collectibleTypes: CollectibleType[]): int;
69
- /**
70
- * Iterates over every item in the game and returns a map containing the number of each item that
71
- * the player has.
72
- *
73
- * Note that this will filter out non-real collectibles like Lilith's Incubus.
74
- */
75
- export declare function getPlayerCollectibleMap(player: EntityPlayer): Map<CollectibleType, int>;
76
69
  /**
77
70
  * Helper function to get the player from a tear, laser, bomb, etc. Returns undefined if the entity
78
71
  * does not correspond to any particular player.
@@ -202,6 +195,13 @@ export declare function isKeeper(player: EntityPlayer): boolean;
202
195
  /** Helper function for detecting when a player is The Lost or Tainted Lost. */
203
196
  export declare function isLost(player: EntityPlayer): boolean;
204
197
  export declare function isModdedPlayer(player: EntityPlayer): boolean;
198
+ /**
199
+ * Helper function for determining if a player is able to turn their head by pressing the shooting
200
+ * buttons.
201
+ *
202
+ * Under the hood, this function uses the `EntityPlayer.IsExtraAnimationFinished` method.
203
+ */
204
+ export declare function isPlayerAbleToAim(player: EntityPlayer): boolean;
205
205
  /** Helper function for detecting if a player is one of the Tainted characters. */
206
206
  export declare function isTainted(player: EntityPlayer): boolean;
207
207
  /** Helper function for detecting when a player is Tainted Lazarus or Dead Tainted Lazarus. */