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,1668 +0,0 @@
1
- // This file is arbitrarily named "listCommands.ts" instead of "commands.ts" so that it will appear
2
- // below "exports.ts".
3
-
4
- // cspell:ignore addcharges
5
-
6
- /*
7
- eslint "sort-exports/sort-exports": [
8
- "warn",
9
- {
10
- sortDir: "asc",
11
- },
12
- ],
13
- */
14
-
15
- /**
16
- * This is a list of custom console commands that are included with the standard library.
17
- *
18
- * As a quality of life feature, you do not have to match the casing of the command. For example,
19
- * you can type the "addCharges" command as "addcharges", and it will still work the same.
20
- *
21
- * Additionally, you can also abbreviate any command by omitting letters that do not overlap with
22
- * any other command. For example, the command of "c" will be interpreted as the "card" command.
23
- *
24
- * In order for the custom console commands to work, you first have to call
25
- * `enableExtraConsoleCommands`. (See the "Extra Console Commands (Init)" page for more details.)
26
- *
27
- * Each command has a corresponding function of the same name, but these functions are not actually
28
- * exported for end-user consumption. (This is to cut down on namespace conflicts and because the
29
- * names of the functions are not very descriptive.)
30
- *
31
- * @module
32
- */
33
-
34
- import {
35
- ActiveSlot,
36
- CacheFlag,
37
- CardType,
38
- Challenge,
39
- CollectibleType,
40
- Direction,
41
- DisplayFlag,
42
- GameStateFlag,
43
- GridEntityType,
44
- GridRoom,
45
- LevelStage,
46
- PillColor,
47
- PillEffect,
48
- PlayerForm,
49
- PlayerType,
50
- RoomType,
51
- SoundEffect,
52
- StageType,
53
- TrinketType,
54
- } from "isaac-typescript-definitions";
55
- import { game, sfxManager } from "../../core/cachedClasses";
56
- import {
57
- DOGMA_ROOM_GRID_INDEX,
58
- MAX_LEVEL_GRID_INDEX,
59
- } from "../../core/constants";
60
- import {
61
- FIRST_CARD_TYPE,
62
- FIRST_CHARACTER,
63
- FIRST_PILL_EFFECT,
64
- FIRST_ROOM_TYPE,
65
- FIRST_STAGE,
66
- LAST_ROOM_TYPE,
67
- LAST_STAGE,
68
- LAST_VANILLA_CHARACTER,
69
- } from "../../core/constantsFirstLast";
70
- import { HealthType } from "../../enums/HealthType";
71
- import { getCardName } from "../../functions/cards";
72
- import { getCharacterName } from "../../functions/characters";
73
- import { addCharge, getTotalCharge } from "../../functions/charge";
74
- import { isValidCollectibleType } from "../../functions/collectibles";
75
- import { runDeepCopyTests } from "../../functions/deepCopyTests";
76
- import { getNPCs } from "../../functions/entitiesSpecific";
77
- import { getEnumValues, getLastEnumValue } from "../../functions/enums";
78
- import { addFlag } from "../../functions/flag";
79
- import { spawnGridEntity } from "../../functions/gridEntities";
80
- import { getRoomGridIndexesForType } from "../../functions/levelGrid";
81
- import {
82
- logPlayerEffects,
83
- logRoom,
84
- logSeedEffects,
85
- logSounds,
86
- } from "../../functions/logMisc";
87
- import { getMapPartialMatch } from "../../functions/map";
88
- import { runMergeTests } from "../../functions/mergeTests";
89
- import {
90
- spawnCard,
91
- spawnPill,
92
- spawnTrinket as spawnTrinketFunction,
93
- } from "../../functions/pickupsSpecific";
94
- import { getPillEffectName } from "../../functions/pills";
95
- import { getPlayers } from "../../functions/playerIndex";
96
- import {
97
- addCollectibleCostume,
98
- getPlayerName,
99
- removeCollectibleCostume,
100
- useActiveItemTemp,
101
- } from "../../functions/players";
102
- import { gridCoordinatesToWorldPosition } from "../../functions/roomGrid";
103
- import { changeRoom } from "../../functions/rooms";
104
- import { reloadRoom as reloadRoomFunction } from "../../functions/roomTransition";
105
- import { onSetSeed, restart, setUnseeded } from "../../functions/run";
106
- import { getSortedSetValues } from "../../functions/set";
107
- import { spawnCollectible as spawnCollectibleFunction } from "../../functions/spawnCollectible";
108
- import { setStage } from "../../functions/stage";
109
- import {
110
- getCollectibleTypesForTransformation,
111
- getTransformationName,
112
- } from "../../functions/transformations";
113
- import { getGoldenTrinketType } from "../../functions/trinkets";
114
- import {
115
- asCardType,
116
- asCollectibleType,
117
- asTrinketType,
118
- } from "../../functions/types";
119
- import { iRange, printConsole, printEnabled } from "../../functions/utils";
120
- import { CARD_NAME_TO_TYPE_MAP } from "../../maps/cardNameToTypeMap";
121
- import { CHARACTER_NAME_TO_TYPE_MAP } from "../../maps/characterNameToTypeMap";
122
- import { COLLECTIBLE_NAME_TO_TYPE_MAP } from "../../maps/collectibleNameToTypeMap";
123
- import { PILL_NAME_TO_EFFECT_MAP } from "../../maps/pillNameToEffectMap";
124
- import { ROOM_NAME_TO_TYPE_MAP } from "../../maps/roomNameToTypeMap";
125
- import { TRANSFORMATION_NAME_TO_PLAYER_FORM_MAP } from "../../maps/transformationNameToPlayerForm";
126
- import { TRINKET_NAME_TO_TYPE_MAP } from "../../maps/trinketNameToTypeMap";
127
- import { getLastCardType, getLastPillEffect } from "../firstLast";
128
- import {
129
- addHeart,
130
- devilAngel,
131
- listEntities,
132
- listGridEntities,
133
- movePlayer,
134
- spawnTrapdoorOrCrawlSpace,
135
- warpNextToRoomType,
136
- warpToRoomType,
137
- } from "./commandsSubroutines";
138
- import v from "./v";
139
-
140
- /**
141
- * Adds a single charge to the player's specified active item. You must provide the active slot
142
- * number. Provide a second number to give a custom amount of charges. (You can use negative numbers
143
- * to remove charge.)
144
- */
145
- export function addCharges(params: string): void {
146
- if (params === "") {
147
- printConsole(
148
- "You must specify a slot number. (Use 0 for the primary slot, 1 for the Schoolbag slot, 2 for the pocket item slot, and 3 for the Dice Bag slot.)",
149
- );
150
- return;
151
- }
152
-
153
- const args = params.split(" ");
154
-
155
- if (args.length !== 1 && args.length !== 2) {
156
- printConsole("That is an invalid amount of arguments.");
157
- return;
158
- }
159
-
160
- const [activeSlotString, numChargeString] = args;
161
-
162
- const activeSlot = tonumber(activeSlotString) as ActiveSlot | undefined;
163
- if (activeSlot === undefined) {
164
- printConsole(`The provided slot number is invalid: ${activeSlotString}`);
165
- return;
166
- }
167
-
168
- if (
169
- activeSlot < ActiveSlot.PRIMARY ||
170
- activeSlot > ActiveSlot.POCKET_SINGLE_USE
171
- ) {
172
- printConsole(`The provided slot number is invalid: ${activeSlot}`);
173
- return;
174
- }
175
-
176
- let numCharges = 1;
177
- if (numChargeString !== undefined) {
178
- const numChargesAttempt = tonumber(numChargeString);
179
- if (numChargesAttempt === undefined) {
180
- printConsole(`The provided charge amount is invalid: ${numChargeString}`);
181
- return;
182
- }
183
- numCharges = numChargesAttempt;
184
- }
185
-
186
- const player = Isaac.GetPlayer();
187
- addCharge(player, activeSlot, numCharges);
188
- }
189
-
190
- /**
191
- * Warps to the Angel Room for the floor. If the Devil Room has already been visited or initialized,
192
- * this will uninitialize it and make an Angel Room instead.
193
- */
194
- export function angelRoom(): void {
195
- devilAngel(false);
196
- }
197
-
198
- /** Activates the flags for the Ascent (i.e. Backwards Path). */
199
- export function ascent(): void {
200
- game.SetStateFlag(GameStateFlag.BACKWARDS_PATH_INIT, true);
201
- game.SetStateFlag(GameStateFlag.BACKWARDS_PATH, true);
202
-
203
- printConsole("Set Ascent flags.");
204
- }
205
-
206
- /** Warps to the first Clean Bedroom or Dirty Bedroom on the floor. */
207
- export function bedroom(): void {
208
- const cleanBedroomGridIndexes = getRoomGridIndexesForType(
209
- RoomType.CLEAN_BEDROOM,
210
- );
211
- if (cleanBedroomGridIndexes.length > 0) {
212
- warpToRoomType(RoomType.CLEAN_BEDROOM);
213
- return;
214
- }
215
-
216
- const dirtyBedroomGridIndexes = getRoomGridIndexesForType(
217
- RoomType.DIRTY_BEDROOM,
218
- );
219
- if (dirtyBedroomGridIndexes.length > 0) {
220
- warpToRoomType(RoomType.DIRTY_BEDROOM);
221
- return;
222
- }
223
-
224
- printConsole("There are no Clean Bedrooms or Dirty Bedrooms on this floor.");
225
- }
226
-
227
- /**
228
- * Gives a half black heart. Provide a number to give a custom amount of hearts. (You can use
229
- * negative numbers to remove hearts.)
230
- */
231
- export function blackHearts(params: string): void {
232
- addHeart(params, HealthType.BLACK);
233
- }
234
-
235
- /** Warps to the Black Market for the floor. */
236
- export function blackMarket(): void {
237
- changeRoom(GridRoom.BLACK_MARKET);
238
- }
239
-
240
- /** Toggles permanent Curse of the Blind. */
241
- export function blind(): void {
242
- v.persistent.blind = !v.persistent.blind;
243
- printEnabled(v.persistent.blind, "permanent Curse of the Blind");
244
- }
245
-
246
- /**
247
- * Gives a blood charge. This only affects Bethany. Provide a number to give a custom amount of
248
- * charges. (You can use negative numbers to remove charges.)
249
- */
250
- export function bloodCharges(params: string): void {
251
- let charges = 1;
252
- if (params !== "") {
253
- const num = tonumber(params);
254
- if (num === undefined) {
255
- printConsole("That is an invalid amount of charges to add.");
256
- return;
257
- }
258
-
259
- charges = num;
260
- }
261
-
262
- const player = Isaac.GetPlayer();
263
- player.AddBloodCharge(charges);
264
- }
265
-
266
- /** Alias for the "blackMarket" command. */
267
- export function bm(): void {
268
- blackMarket();
269
- }
270
-
271
- /**
272
- * Gives a bomb. Provide a number to give a custom amount of bombs. (You can use negative numbers to
273
- * remove bombs.)
274
- */
275
- export function bomb(params: string): void {
276
- let numBombs = 1;
277
- if (params !== "") {
278
- const num = tonumber(params);
279
- if (num === undefined) {
280
- printConsole("That is an invalid amount of bombs to add.");
281
- return;
282
- }
283
-
284
- numBombs = num;
285
- }
286
-
287
- const player = Isaac.GetPlayer();
288
- player.AddBombs(numBombs);
289
- }
290
-
291
- /**
292
- * Gives 99 bombs. Provide a number to give a custom amount of bombs. (You can use negative numbers
293
- * to remove bombs.)
294
- */
295
- export function bombs(params: string): void {
296
- let numBombs = 99;
297
- if (params !== "") {
298
- const num = tonumber(params);
299
- if (num === undefined) {
300
- printConsole("That is an invalid amount of bombs to add.");
301
- return;
302
- }
303
-
304
- numBombs = num;
305
- }
306
-
307
- const player = Isaac.GetPlayer();
308
- player.AddBombs(numBombs);
309
- }
310
-
311
- /**
312
- * Gives a bone heart. Provide a number to give a custom amount of hearts. (You can use negative
313
- * numbers to remove hearts.)
314
- */
315
- export function boneHearts(params: string): void {
316
- addHeart(params, HealthType.BONE);
317
- }
318
-
319
- /** Alias for the "bossRoom" command. */
320
- export function boss(): void {
321
- bossRoom();
322
- }
323
-
324
- /** Warps to the room next to the first Boss Room on the floor. */
325
- export function bossNextRoom(): void {
326
- warpNextToRoomType(RoomType.BOSS);
327
- }
328
-
329
- /** Warps to the first Boss Room on the floor. */
330
- export function bossRoom(): void {
331
- warpToRoomType(RoomType.BOSS);
332
- }
333
-
334
- /** Warps to the Boss Rush for the floor. */
335
- export function bossRush(): void {
336
- changeRoom(GridRoom.BOSS_RUSH);
337
- }
338
-
339
- /**
340
- * Gives a broken heart. Provide a number to give a custom amount of hearts. (You can use negative
341
- * numbers to remove hearts.)
342
- */
343
- export function brokenHearts(params: string): void {
344
- addHeart(params, HealthType.BROKEN);
345
- }
346
-
347
- /**
348
- * Gives the specified card. Accepts either the card sub-type or the partial name of the card.
349
- *
350
- * For example:
351
- * - card 5 - Gives The Emperor.
352
- * - card spa - Gives 2 of Spades.
353
- */
354
- export function card(params: string): void {
355
- if (params === "") {
356
- printConsole("You must specify a card name or number.");
357
- return;
358
- }
359
-
360
- let cardType: CardType;
361
- const num = tonumber(params) as CardType | undefined;
362
- if (num === undefined) {
363
- const match = getMapPartialMatch(params, CARD_NAME_TO_TYPE_MAP);
364
- if (match === undefined) {
365
- printConsole(`Unknown card: ${params}`);
366
- return;
367
- }
368
-
369
- cardType = match[1];
370
- } else {
371
- const lastCardType = getLastCardType();
372
- if (num < FIRST_CARD_TYPE || num > lastCardType) {
373
- printConsole(`Invalid card sub-type: ${num}`);
374
- return;
375
- }
376
-
377
- cardType = num;
378
- }
379
-
380
- const cardName = getCardName(cardType);
381
- Isaac.ExecuteCommand(`g k${cardType}`);
382
- printConsole(`Gave card: ${cardName} (${cardType})`);
383
- }
384
-
385
- /** Spawns every card on the ground, starting at the top-left-most tile. */
386
- export function cards(): void {
387
- const lastCardType = getLastCardType();
388
-
389
- let cardType = 1;
390
- for (let y = 0; y <= 6; y++) {
391
- for (let x = 0; x <= 12; x++) {
392
- if (asCardType(cardType) === lastCardType) {
393
- return;
394
- }
395
-
396
- const worldPosition = gridCoordinatesToWorldPosition(x, y);
397
- spawnCard(asCardType(cardType), worldPosition);
398
- cardType++;
399
- }
400
- }
401
- }
402
-
403
- /** Alias for the "chaosCardTears" command. */
404
- export function cc(): void {
405
- chaosCardTears();
406
- }
407
-
408
- /**
409
- * Toggles Chaos Card tears for the player. Useful for killing enemies very fast without using
410
- * "debug 10".
411
- */
412
- export function chaosCardTears(): void {
413
- v.persistent.chaosCardTears = !v.persistent.chaosCardTears;
414
- printEnabled(v.persistent.chaosCardTears, "Chaos Card tears");
415
- }
416
-
417
- /**
418
- * Restart as the specified character. Accepts either the character sub-type or the partial name of
419
- * the character.
420
- *
421
- * For example:
422
- * - character 2 - Restarts as Cain.
423
- * - character ta - Restarts as Tainted Azazel.
424
- */
425
- export function character(params: string): void {
426
- if (params === "") {
427
- printConsole("You must specify a character name or number.");
428
- return;
429
- }
430
-
431
- let playerType: PlayerType;
432
- const num = tonumber(params) as PlayerType | undefined;
433
- if (num === undefined) {
434
- const match = getMapPartialMatch(params, CHARACTER_NAME_TO_TYPE_MAP);
435
- if (match === undefined) {
436
- printConsole(`Unknown character: ${params}`);
437
- return;
438
- }
439
-
440
- playerType = match[1];
441
- } else {
442
- if (num < FIRST_CHARACTER || num > LAST_VANILLA_CHARACTER) {
443
- printConsole(`Invalid player sub-type: ${num}`);
444
- return;
445
- }
446
-
447
- playerType = num;
448
- }
449
-
450
- const characterName = getCharacterName(playerType);
451
- restart(playerType);
452
- printConsole(`Restarting as character: ${characterName} (${playerType})`);
453
- }
454
-
455
- /** Alias for the "addCharges" command. */
456
- export function charge(params: string): void {
457
- addCharges(params);
458
- }
459
-
460
- /** Warps to the first Clean Bedroom on the floor. */
461
- export function cleanBedroom(): void {
462
- warpToRoomType(RoomType.CLEAN_BEDROOM);
463
- }
464
-
465
- /**
466
- * Gives a coin. Provide a number to give a custom amount of coins. (You can use negative numbers to
467
- * remove coins.)
468
- */
469
- export function coin(params: string): void {
470
- let numCoins = 1;
471
- if (params !== "") {
472
- const num = tonumber(params);
473
- if (num === undefined) {
474
- printConsole("That is an invalid amount of coins to add.");
475
- return;
476
- }
477
-
478
- numCoins = num;
479
- }
480
-
481
- const player = Isaac.GetPlayer();
482
- player.AddCoins(numCoins);
483
- }
484
-
485
- /**
486
- * Gives 999 coins. Provide a number to give a custom amount of coins. (You can use negative numbers
487
- * to remove coins.)
488
- */
489
- export function coins(params: string): void {
490
- let numCoins = 999;
491
- if (params !== "") {
492
- const num = tonumber(params);
493
- if (num === undefined) {
494
- printConsole("That is an invalid amount of coins to add.");
495
- return;
496
- }
497
-
498
- numCoins = num;
499
- }
500
-
501
- const player = Isaac.GetPlayer();
502
- player.AddCoins(numCoins);
503
- }
504
-
505
- /** Creates a crawl space next to the player. */
506
- export function crawlSpace(): void {
507
- spawnTrapdoorOrCrawlSpace(false);
508
- }
509
-
510
- /** Toggles permanent Curse of the Cursed. */
511
- export function cursed(): void {
512
- v.persistent.cursed = !v.persistent.cursed;
513
- printEnabled(v.persistent.cursed, "permanent Curse of the Cursed");
514
- }
515
-
516
- /** Uses the D20. */
517
- export function d20(): void {
518
- const player = Isaac.GetPlayer();
519
- useActiveItemTemp(player, CollectibleType.D20);
520
- }
521
-
522
- /** Uses the D6. */
523
- export function d6(): void {
524
- const player = Isaac.GetPlayer();
525
- useActiveItemTemp(player, CollectibleType.D6);
526
- }
527
-
528
- /** Warps to the Mausoleum 2 Boss Room that has Dad's Note in it. */
529
- export function dadsNote(): void {
530
- game.SetStateFlag(GameStateFlag.BACKWARDS_PATH_INIT, true);
531
- setStage(LevelStage.DEPTHS_2, StageType.REPENTANCE);
532
- bossRoom();
533
- }
534
-
535
- /**
536
- * Toggles a set damage stat for the player. You can provide an optional argument to this command in
537
- * order to set the damage to a specific amount. Default is 500.
538
- */
539
- export function damage(params: string): void {
540
- if (params !== "") {
541
- const num = tonumber(params);
542
- if (num === undefined) {
543
- printConsole(`The provided damage amount is invalid: ${params}`);
544
- return;
545
- }
546
-
547
- v.persistent.damageAmount = num;
548
- }
549
-
550
- v.persistent.damage = !v.persistent.damage;
551
-
552
- const player = Isaac.GetPlayer();
553
- player.AddCacheFlags(CacheFlag.DAMAGE);
554
- player.EvaluateItems();
555
-
556
- printEnabled(v.persistent.damage, "set damage");
557
- }
558
-
559
- /** Toggles permanent Curse of Darkness. */
560
- export function darkness(): void {
561
- v.persistent.darkness = !v.persistent.darkness;
562
- printEnabled(v.persistent.darkness, "permanent Curse of Darkness");
563
- }
564
-
565
- /** Alias for the "devil" command. */
566
- export function dd(): void {
567
- devilRoom();
568
- }
569
-
570
- /**
571
- * Warps to the Devil Room for the floor. If the Angel Room has already been visited or initialized,
572
- * this will uninitialize it and make an Devil Room instead.
573
- */
574
- export function devilRoom(): void {
575
- devilAngel(true);
576
- }
577
-
578
- /** Warps to the first Dirty Bedroom on the floor. */
579
- export function dirtyBedroom(): void {
580
- warpToRoomType(RoomType.DIRTY_BEDROOM);
581
- }
582
-
583
- /** Toggles whether or not curses can appear. */
584
- export function disableCurses(): void {
585
- v.persistent.disableCurses = !v.persistent.disableCurses;
586
- printEnabled(!v.persistent.disableCurses, "curses");
587
- }
588
-
589
- /** Warps to the Dogma Boss Room. */
590
- export function dogma(): void {
591
- setStage(LevelStage.HOME, StageType.WRATH_OF_THE_LAMB);
592
- changeRoom(DOGMA_ROOM_GRID_INDEX);
593
- }
594
-
595
- /** Moves the player 0.5 units down. Provide a number to move a custom amount of units. */
596
- export function down(params: string): void {
597
- movePlayer(params, Direction.DOWN);
598
- }
599
-
600
- /** Warps to the Dungeon (i.e. the crawl space room) for the floor. */
601
- export function dungeon(): void {
602
- changeRoom(GridRoom.DUNGEON);
603
- }
604
-
605
- /** Logs the player's current temporary effects to the "log.txt" file. */
606
- export function effects(): void {
607
- const player = Isaac.GetPlayer();
608
- logPlayerEffects(player);
609
- printConsole('Logged the player\'s effects to the "log.txt" file.');
610
- }
611
-
612
- /** Alias for the "iAmError" command. */
613
- export function errorRoom(): void {
614
- iAmErrorRoom();
615
- }
616
-
617
- /**
618
- * Gives an eternal heart. Provide a number to give a custom amount of hearts. (You can use negative
619
- * numbers to remove hearts.)
620
- */
621
- export function eternalHearts(params: string): void {
622
- addHeart(params, HealthType.ETERNAL);
623
- }
624
-
625
- /** Toggles flight for the player. */
626
- export function flight(params: string): void {
627
- const player = Isaac.GetPlayer();
628
-
629
- v.persistent.flight = !v.persistent.flight;
630
-
631
- // Optionally, allow the toggle to be overridden by a parameter.
632
- if (params === "true") {
633
- v.persistent.flight = true;
634
- } else if (params === "false") {
635
- v.persistent.flight = false;
636
- }
637
-
638
- player.AddCacheFlags(CacheFlag.FLYING);
639
- player.EvaluateItems();
640
-
641
- const collectibleUsedToShowFlight = CollectibleType.FATE;
642
- if (v.persistent.flight) {
643
- addCollectibleCostume(player, collectibleUsedToShowFlight);
644
- } else {
645
- removeCollectibleCostume(player, collectibleUsedToShowFlight);
646
- }
647
-
648
- printEnabled(v.persistent.speed, "set speed");
649
- }
650
-
651
- /** Alias for the "startingRoom" command. */
652
- export function fool(): void {
653
- startingRoom();
654
- }
655
-
656
- /** Displays the current challenge, if any. */
657
- export function getChallenge(): void {
658
- const challenge = Isaac.GetChallenge();
659
- const challengeName = Challenge[challenge];
660
- const challengeDescription =
661
- challengeName === undefined
662
- ? `${challenge} (custom)`
663
- : `Challenge.${challengeName} (${challenge})`;
664
- printConsole(`The current challenge is: ${challengeDescription}`);
665
- }
666
-
667
- /** Prints the charge for the specified slot. By default, will use `ActiveSlot.PRIMARY`. */
668
- export function getCharge(params: string): void {
669
- let activeSlot = ActiveSlot.PRIMARY;
670
- if (params !== "") {
671
- const num = tonumber(params) as ActiveSlot | undefined;
672
- if (num === undefined) {
673
- printConsole(`The provided slot number is invalid: ${params}`);
674
- return;
675
- }
676
-
677
- activeSlot = num;
678
- }
679
-
680
- const player = Isaac.GetPlayer();
681
- const totalCharge = getTotalCharge(player, activeSlot);
682
- printConsole(
683
- `Total charge for ActiveSlot.${ActiveSlot[activeSlot]} (${activeSlot}) is: ${totalCharge}`,
684
- );
685
- }
686
-
687
- /** Prints the current position of all players. */
688
- export function getPosition(): void {
689
- for (const player of getPlayers()) {
690
- const playerName = getPlayerName(player);
691
- printConsole(
692
- `Player position for ${playerName}: (${player.Position.X}, ${player.Position.Y})`,
693
- );
694
- }
695
- }
696
-
697
- /** Toggles permanent Curse of the Giant. */
698
- export function giant(): void {
699
- v.persistent.giant = !v.persistent.giant;
700
- printEnabled(v.persistent.giant, "permanent Curse of the Giant");
701
- }
702
-
703
- /**
704
- * Gives a Giga Bomb. Provide a number to give a custom amount of Giga Bombs. (You can use negative
705
- * numbers to remove bombs.)
706
- */
707
- export function gigaBomb(params: string): void {
708
- let numBombs = 1;
709
- if (params !== "") {
710
- const num = tonumber(params);
711
- if (num === undefined) {
712
- printConsole("That is an invalid amount of Giga Bombs to add.");
713
- return;
714
- }
715
-
716
- numBombs = num;
717
- }
718
-
719
- const player = Isaac.GetPlayer();
720
- player.AddGigaBombs(numBombs);
721
- }
722
-
723
- /** Alias for the "goldenBomb" command. */
724
- export function goldBomb(): void {
725
- goldenBomb();
726
- }
727
-
728
- /** Alias for the "goldenHearts" command. */
729
- export function goldHearts(params: string): void {
730
- goldenHearts(params);
731
- }
732
-
733
- /** Alias for the "goldenKey" command. */
734
- export function goldKey(): void {
735
- goldenKey();
736
- }
737
-
738
- /** Gives the player a golden bomb. */
739
- export function goldenBomb(): void {
740
- const player = Isaac.GetPlayer();
741
- player.AddGoldenBomb();
742
- }
743
-
744
- /**
745
- * Gives a golden heart. Provide a number to give a custom amount of hearts. (You can use negative
746
- * numbers to remove hearts.)
747
- */
748
- export function goldenHearts(params: string): void {
749
- addHeart(params, HealthType.GOLDEN);
750
- }
751
-
752
- /** Gives the player a golden key. */
753
- export function goldenKey(): void {
754
- const player = Isaac.GetPlayer();
755
- player.AddGoldenKey();
756
- }
757
-
758
- /**
759
- * Alias for the "debug 11" command. Useful for seeing the coordinates and grid index of each tile
760
- * in the room.
761
- */
762
- export function grid(): void {
763
- Isaac.ExecuteCommand("debug 11");
764
- }
765
-
766
- /** Alias for the "gridCosts" command. */
767
- export function grid2(): void {
768
- gridCosts();
769
- }
770
-
771
- /** Alias for the "debug 2" command. Useful for seeing the grid costs of each tile in the room. */
772
- export function gridCosts(): void {
773
- Isaac.ExecuteCommand("debug 2");
774
- }
775
-
776
- /** Spawns every grid entity, starting at the top-left-most tile. */
777
- export function gridEntities(): void {
778
- const gridEntityTypes = getEnumValues(GridEntityType);
779
-
780
- let gridEntityTypeIndex = -1;
781
- for (let y = 0; y <= 6; y++) {
782
- for (let x = 0; x <= 12; x++) {
783
- gridEntityTypeIndex++;
784
- const gridEntityType = gridEntityTypes[gridEntityTypeIndex];
785
- if (gridEntityType === undefined) {
786
- return;
787
- }
788
-
789
- const worldPosition = gridCoordinatesToWorldPosition(x, y);
790
- spawnGridEntity(gridEntityType, worldPosition);
791
- }
792
- }
793
- }
794
-
795
- /**
796
- * Gives a half red heart. Provide a number to give a custom amount of hearts. (You can use negative
797
- * numbers to remove hearts.)
798
- */
799
- export function hearts(params: string): void {
800
- addHeart(params, HealthType.RED);
801
- }
802
-
803
- /** Alias for the "debug 6" command. */
804
- export function hitboxes(): void {
805
- Isaac.ExecuteCommand("debug 6");
806
- }
807
-
808
- /** Warps to the Blue Womb Boss Room. */
809
- export function hush(): void {
810
- setStage(LevelStage.BLUE_WOMB, StageType.ORIGINAL);
811
- bossRoom();
812
- }
813
-
814
- /** Warps to the I AM ERROR room for the floor. */
815
- export function iAmErrorRoom(): void {
816
- changeRoom(GridRoom.ERROR);
817
- }
818
-
819
- /**
820
- * Gives a key. Provide a number to give a custom amount of key. (You can use negative numbers to
821
- * remove keys.)
822
- */
823
- export function key(params: string): void {
824
- let numKeys = 1;
825
- if (params !== "") {
826
- const num = tonumber(params);
827
- if (num === undefined) {
828
- printConsole("That is an invalid amount of keys to add.");
829
- return;
830
- }
831
-
832
- numKeys = num;
833
- }
834
-
835
- const player = Isaac.GetPlayer();
836
- player.AddKeys(numKeys);
837
- }
838
-
839
- /**
840
- * Gives 99 keys. Provide a number to give a custom amount of coins. (You can use negative numbers
841
- * to remove keys.)
842
- */
843
- export function keys(params: string): void {
844
- let numKeys = 99;
845
- if (params !== "") {
846
- const num = tonumber(params);
847
- if (num === undefined) {
848
- printConsole("That is an invalid amount of keys to add.");
849
- return;
850
- }
851
-
852
- numKeys = num;
853
- }
854
-
855
- const player = Isaac.GetPlayer();
856
- player.AddKeys(numKeys);
857
- }
858
-
859
- /** Toggles permanent Curse of the Labyrinth. */
860
- export function labyrinth(): void {
861
- v.persistent.labyrinth = !v.persistent.labyrinth;
862
- printEnabled(v.persistent.labyrinth, "permanent Curse of the Labyrinth");
863
- }
864
-
865
- /** Moves the player 0.5 units left. Provide a number to move a custom amount of units. */
866
- export function left(params: string): void {
867
- movePlayer(params, Direction.LEFT);
868
- }
869
-
870
- /** Warps to the first Library on the floor. */
871
- export function library(): void {
872
- warpToRoomType(RoomType.LIBRARY);
873
- }
874
-
875
- /**
876
- * Logs the entities in the room to the "log.txt" file. Provide a number to only log that specific
877
- * `EntityType`.
878
- *
879
- * By default, this command will exclude background effects. If that is not desired, use the
880
- * "listAll" command instead.
881
- */
882
- export function list(params: string): void {
883
- listEntities(params, false);
884
- }
885
-
886
- /**
887
- * Logs the entities in the room to the "log.txt" file. Provide a number to only log that specific
888
- * `EntityType`.
889
- */
890
- export function listAll(params: string): void {
891
- listEntities(params, true);
892
- }
893
-
894
- /**
895
- * Logs the grid entities in the room to the "log.txt" file. Provide a number to only log that
896
- * specific `GridEntityType`.
897
- *
898
- * By default, this command will exclude walls. If that is not desired, use the "listGridAll"
899
- * command instead.
900
- */
901
- export function listGrid(params: string): void {
902
- listGridEntities(params, false);
903
- }
904
-
905
- /**
906
- * Logs the grid entities in the room to the "log.txt" file. Provide a number to only log that
907
- * specific `GridEntityType`.
908
- */
909
- export function listGridAll(params: string): void {
910
- listGridEntities(params, true);
911
- }
912
-
913
- /** Toggles permanent Curse of the Lost. */
914
- export function lost(): void {
915
- v.persistent.lost = !v.persistent.lost;
916
- printEnabled(v.persistent.lost, "permanent Curse of the Lost");
917
- }
918
-
919
- /** Alias for the "1hp" command. */
920
- export function lowHP(): void {
921
- oneHP();
922
- }
923
-
924
- /** Alias for "debug 9". */
925
- export function luck(): void {
926
- Isaac.ExecuteCommand("debug 9");
927
- }
928
-
929
- /** Alias for the "poopMana" command. */
930
- export function mana(params: string): void {
931
- poopMana(params);
932
- }
933
-
934
- /** Completely reveals the entire map, including the Ultra Secret Room. */
935
- export function map(): void {
936
- const level = game.GetLevel();
937
-
938
- const displayFlags = addFlag(
939
- DisplayFlag.VISIBLE, // 1 << 0
940
- DisplayFlag.SHADOW, // 1 << 1
941
- DisplayFlag.SHOW_ICON, // 1 << 2
942
- );
943
-
944
- for (const roomGridIndex of iRange(MAX_LEVEL_GRID_INDEX)) {
945
- const roomDesc = level.GetRoomByIdx(roomGridIndex);
946
- roomDesc.DisplayFlags = displayFlags;
947
- }
948
-
949
- // We must call the "Level.UpdateVisibility" method for the changes to be visible.
950
- level.UpdateVisibility();
951
- }
952
-
953
- /**
954
- * Gives a heart container. Provide a number to give a custom amount of heart containers. (You can
955
- * use negative numbers to remove heart containers.)
956
- */
957
- export function maxHearts(params: string): void {
958
- addHeart(params, HealthType.MAX_HEARTS);
959
- }
960
-
961
- /** Toggles permanent Curse of the Maze. */
962
- export function maze(): void {
963
- v.persistent.maze = !v.persistent.maze;
964
- printEnabled(v.persistent.maze, "permanent Curse of the Maze");
965
- }
966
-
967
- /** Warps to the first Miniboss Room on the floor. */
968
- export function miniboss(): void {
969
- warpToRoomType(RoomType.MINI_BOSS);
970
- }
971
-
972
- /** Alias for the "disableCurses" command. */
973
- export function noCurses(): void {
974
- disableCurses();
975
- }
976
-
977
- /** Sets every NPC in the room to 1 HP. */
978
- export function oneHP(): void {
979
- for (const npc of getNPCs()) {
980
- npc.HitPoints = 1;
981
- }
982
-
983
- printConsole("Set every NPC to 1 HP.");
984
- }
985
-
986
- /**
987
- * Gives a pill with the specified pill effect. Accepts either the effect ID or the partial name of
988
- * the effect.
989
- *
990
- * For example:
991
- *
992
- * - `pill 5` - Gives a "Full Health" pill.
993
- * - `pill suns` - Gives a "Feels like I'm walking on sunshine" pill.
994
- */
995
- export function pill(params: string): void {
996
- if (params === "") {
997
- printConsole("You must specify a pill name or number.");
998
- return;
999
- }
1000
-
1001
- let pillEffect: PillEffect;
1002
- const num = tonumber(params) as PillEffect | undefined;
1003
- if (num === undefined) {
1004
- const match = getMapPartialMatch(params, PILL_NAME_TO_EFFECT_MAP);
1005
- if (match === undefined) {
1006
- printConsole(`Unknown pill effect: ${params}`);
1007
- return;
1008
- }
1009
-
1010
- pillEffect = match[1];
1011
- } else {
1012
- const lastPillEffect = getLastPillEffect();
1013
- if (num < FIRST_PILL_EFFECT || num > lastPillEffect) {
1014
- printConsole(`Invalid pill effect ID: ${num}`);
1015
- return;
1016
- }
1017
-
1018
- pillEffect = num;
1019
- }
1020
-
1021
- const pillEffectName = getPillEffectName(pillEffect);
1022
- Isaac.ExecuteCommand(`g p${pillEffect}`);
1023
- printConsole(`Gave pill: ${pillEffectName} (${pillEffect})`);
1024
- }
1025
-
1026
- /** Spawns every pill on the ground, starting at the top-left-most tile. */
1027
- export function pills(): void {
1028
- const pillColors = getEnumValues(PillColor).filter(
1029
- (pillColor) => pillColor !== PillColor.NULL,
1030
- );
1031
-
1032
- let pillColorIndex = -1;
1033
- for (let y = 0; y <= 6; y++) {
1034
- for (let x = 0; x <= 12; x++) {
1035
- pillColorIndex++;
1036
- const pillColor = pillColors[pillColorIndex];
1037
- if (pillColor === undefined) {
1038
- return;
1039
- }
1040
-
1041
- const worldPosition = gridCoordinatesToWorldPosition(x, y);
1042
- spawnPill(pillColor, worldPosition);
1043
- }
1044
- }
1045
- }
1046
-
1047
- /** Warps to the first Planetarium on the floor. */
1048
- export function planetarium(): void {
1049
- warpToRoomType(RoomType.PLANETARIUM);
1050
- }
1051
-
1052
- /** Alias for the "sound" command. */
1053
- export function playSound(params: string): void {
1054
- sound(params);
1055
- }
1056
-
1057
- /** Alias for the "transformation" command. */
1058
- export function playerForm(params: string): void {
1059
- transformation(params);
1060
- }
1061
-
1062
- /** Sets the player's pocket item to the specified collectible type. */
1063
- export function pocket(params: string): void {
1064
- if (params === "") {
1065
- printConsole(
1066
- "You must supply a collectible type to put as the pocket item.",
1067
- );
1068
- return;
1069
- }
1070
-
1071
- const collectibleType = tonumber(params) as CollectibleType | undefined;
1072
- if (collectibleType === undefined) {
1073
- printConsole("That is an invalid collectible type.");
1074
- return;
1075
- }
1076
-
1077
- if (!isValidCollectibleType(collectibleType)) {
1078
- printConsole("That is an invalid collectible type.");
1079
- return;
1080
- }
1081
-
1082
- const player = Isaac.GetPlayer();
1083
- player.SetPocketActiveItem(collectibleType, ActiveSlot.POCKET);
1084
- }
1085
-
1086
- /**
1087
- * Gives a poop mana charge. This only affects Tainted Blue Baby. Provide a number to give a custom
1088
- * amount of charges. (You can use negative numbers to remove charges.)
1089
- */
1090
- export function poopMana(params: string): void {
1091
- let charges = 1;
1092
- if (params !== "") {
1093
- const num = tonumber(params);
1094
- if (num === undefined) {
1095
- printConsole("That is an invalid amount of mana to add.");
1096
- return;
1097
- }
1098
-
1099
- charges = num;
1100
- }
1101
-
1102
- const player = Isaac.GetPlayer();
1103
- player.AddPoopMana(charges);
1104
- }
1105
-
1106
- /** Alias for the "getPosition" command. */
1107
- export function position(): void {
1108
- getPosition();
1109
- }
1110
-
1111
- /** Alias for the "hearts" command. */
1112
- export function redHearts(params: string): void {
1113
- hearts(params);
1114
- }
1115
-
1116
- /** Starts a room transition to the same room that you are already in. */
1117
- export function reloadRoom(): void {
1118
- reloadRoomFunction();
1119
- }
1120
-
1121
- /** Moves the player 0.5 units right. Provide a number to move a custom amount of units. */
1122
- export function right(params: string): void {
1123
- movePlayer(params, Direction.RIGHT);
1124
- }
1125
-
1126
- /** Logs information about the room to the "log.txt" file. */
1127
- export function room(): void {
1128
- logRoom();
1129
- printConsole('Logged room information to the "log.txt" file.');
1130
- }
1131
-
1132
- /**
1133
- * Gives a rotten heart. Provide a number to give a custom amount of hearts. (You can use negative
1134
- * numbers to remove hearts.)
1135
- */
1136
- export function rottenHearts(params: string): void {
1137
- addHeart(params, HealthType.ROTTEN);
1138
- }
1139
-
1140
- /**
1141
- * Run the suite of tests that prove that the "deepCopy" helper function and the "merge" function
1142
- * work properly. For more information, see the `runDeepCopyTests` and the `runMergeTests`
1143
- * functions.
1144
- *
1145
- * In general, running the tests is only useful if you are troubleshooting the save data manager.
1146
- */
1147
- export function runTests(): void {
1148
- runDeepCopyTests();
1149
- runMergeTests();
1150
- }
1151
-
1152
- /**
1153
- * Alias for the "stage" command.
1154
- *
1155
- * For example:
1156
- * - s 3 - Warps to Caves 1.
1157
- * - s 1c - Warps to Downpour 1.
1158
- */
1159
- export function s(params: string): void {
1160
- if (params === "") {
1161
- printConsole("You must specify a stage number.");
1162
- return;
1163
- }
1164
-
1165
- const finalCharacter = params.slice(-1);
1166
- let stageString: string;
1167
- let stageTypeLetter: string;
1168
- if (
1169
- finalCharacter === "a" ||
1170
- finalCharacter === "b" ||
1171
- finalCharacter === "c" ||
1172
- finalCharacter === "d"
1173
- ) {
1174
- // e.g. "s 11a" for going to The Chest
1175
- stageString = params.slice(0, params.length - 1);
1176
- stageTypeLetter = finalCharacter;
1177
- } else {
1178
- // e.g. "s 11" for going to the Dark Room
1179
- stageString = params;
1180
- stageTypeLetter = "";
1181
- }
1182
-
1183
- const stage = tonumber(stageString) as LevelStage | undefined;
1184
- if (stage === undefined) {
1185
- printConsole(`That is an invalid stage number: ${stage}`);
1186
- return;
1187
- }
1188
-
1189
- if (stage < FIRST_STAGE || stage > LAST_STAGE) {
1190
- printConsole(
1191
- `Invalid stage number; must be between ${FIRST_STAGE} and ${LAST_STAGE}.`,
1192
- );
1193
- return;
1194
- }
1195
-
1196
- Isaac.ExecuteCommand(`stage ${stage}${stageTypeLetter}`);
1197
- }
1198
-
1199
- /** Warps to the first Sacrifice Room on the floor. */
1200
- export function sacrificeRoom(): void {
1201
- warpToRoomType(RoomType.SACRIFICE);
1202
- }
1203
-
1204
- /** Warps to the first Secret Room on the floor. */
1205
- export function secretRoom(): void {
1206
- warpToRoomType(RoomType.SECRET);
1207
- }
1208
-
1209
- /** Changes to a seeded run, using the seed of the current run. */
1210
- export function seedStick(): void {
1211
- const seedsClass = game.GetSeeds();
1212
- const startSeedString = seedsClass.GetStartSeedString();
1213
- Isaac.ExecuteCommand(`seed ${startSeedString}`);
1214
- }
1215
-
1216
- /** Logs all of the current run's seed effects to the "log.txt" file. */
1217
- export function seeds(): void {
1218
- logSeedEffects();
1219
- printConsole('Logged the seed effects to the "log.txt" file.');
1220
- }
1221
-
1222
- /**
1223
- * Sets a charge to the player's specified active item. You must provide the active slot number and
1224
- * the number of charges to set.
1225
- */
1226
- export function setCharges(params: string): void {
1227
- if (params === "") {
1228
- printConsole(
1229
- "You must specify a slot number and a charge amount. (Use 0 for the primary slot, 1 for the Schoolbag slot, 2 for the pocket item slot, and 3 for the Dice Bag slot.)",
1230
- );
1231
- return;
1232
- }
1233
-
1234
- const args = params.split(" ");
1235
-
1236
- if (args.length === 1) {
1237
- printConsole("You must specify the amount of charge to set.");
1238
- return;
1239
- }
1240
-
1241
- if (args.length !== 2) {
1242
- printConsole("That is an invalid amount of arguments.");
1243
- return;
1244
- }
1245
-
1246
- const [activeSlotString, chargeString] = args;
1247
-
1248
- const activeSlot = tonumber(activeSlotString) as ActiveSlot | undefined;
1249
- if (activeSlot === undefined) {
1250
- printConsole(`The provided slot number is invalid: ${activeSlotString}`);
1251
- return;
1252
- }
1253
-
1254
- const activeSlots = getEnumValues(ActiveSlot);
1255
- if (!activeSlots.includes(activeSlot)) {
1256
- printConsole(`The provided slot number is invalid: ${activeSlot}`);
1257
- return;
1258
- }
1259
-
1260
- const chargeNum = tonumber(chargeString);
1261
- if (chargeNum === undefined) {
1262
- printConsole(`The provided charge amount is invalid: ${chargeString}`);
1263
- return;
1264
- }
1265
-
1266
- if (chargeNum < 0) {
1267
- printConsole(`The provided charge amount is invalid: ${chargeNum}`);
1268
- return;
1269
- }
1270
-
1271
- const player = Isaac.GetPlayer();
1272
- player.SetActiveCharge(chargeNum, activeSlot);
1273
- }
1274
-
1275
- /**
1276
- * Moves the first player to the specified position.
1277
- *
1278
- * For example:
1279
- * - setPosition 100 50
1280
- */
1281
- export function setPosition(params: string): void {
1282
- if (params === "") {
1283
- printConsole('You must specify a position. (e.g. "setPosition 100 50")');
1284
- return;
1285
- }
1286
-
1287
- const args = params.split(" ");
1288
- if (args.length !== 2) {
1289
- printConsole('You must specify a position. (e.g. "setPosition 100 50")');
1290
- return;
1291
- }
1292
-
1293
- const [xString, yString] = args;
1294
-
1295
- const x = tonumber(xString);
1296
- if (x === undefined) {
1297
- printConsole(`That is an invalid x value: ${xString}`);
1298
- return;
1299
- }
1300
-
1301
- const y = tonumber(yString);
1302
- if (y === undefined) {
1303
- printConsole(`That is an invalid y value: ${yString}`);
1304
- return;
1305
- }
1306
-
1307
- const player = Isaac.GetPlayer();
1308
- const newPosition = Vector(x, y);
1309
- player.Position = newPosition;
1310
- }
1311
-
1312
- /** Warps to the first shop on the floor. */
1313
- export function shop(): void {
1314
- warpToRoomType(RoomType.SHOP);
1315
- }
1316
-
1317
- /** Uses the Smelter to smelt the current player's trinket. */
1318
- export function smelt(): void {
1319
- const player = Isaac.GetPlayer();
1320
- useActiveItemTemp(player, CollectibleType.SMELTER);
1321
- }
1322
-
1323
- /**
1324
- * Gives a soul charge. This only affects Tainted Bethany. Provide a number to give a custom amount
1325
- * of charges. (You can use negative numbers to remove charges.)
1326
- */
1327
- export function soulCharges(params: string): void {
1328
- let charges = 1;
1329
- if (params !== "") {
1330
- const num = tonumber(params);
1331
- if (num === undefined) {
1332
- printConsole("That is an invalid amount of charges to add.");
1333
- return;
1334
- }
1335
-
1336
- charges = num;
1337
- }
1338
-
1339
- const player = Isaac.GetPlayer();
1340
- player.AddSoulCharge(charges);
1341
- }
1342
-
1343
- /**
1344
- * Gives a half soul heart. Provide a number to give a custom amount of hearts. (You can use
1345
- * negative numbers to remove hearts.)
1346
- */
1347
- export function soulHearts(params: string): void {
1348
- addHeart(params, HealthType.SOUL);
1349
- }
1350
-
1351
- /**
1352
- * Play the supplied sound effect.
1353
- *
1354
- * For example:
1355
- * - sound 1 - Plays the 1-Up sound effect.
1356
- */
1357
- export function sound(params: string): void {
1358
- const soundEffect = tonumber(params) as SoundEffect | undefined;
1359
- if (soundEffect === undefined) {
1360
- printConsole("That is an invalid sound effect ID.");
1361
- return;
1362
- }
1363
-
1364
- sfxManager.Play(soundEffect);
1365
- }
1366
-
1367
- /** Logs all of the currently playing sound effects to the "log.txt" file. */
1368
- export function sounds(): void {
1369
- logSounds();
1370
- printConsole(
1371
- 'Logged the currently playing sound effects to the "log.txt" file.',
1372
- );
1373
- }
1374
-
1375
- /**
1376
- * Toggles spamming Blood Rights on every frame. Useful for killing enemies very fast without using
1377
- * "debug 10".
1378
- */
1379
- export function spam(): void {
1380
- v.persistent.spamBloodRights = !v.persistent.spamBloodRights;
1381
- printEnabled(v.persistent.spamBloodRights, "spamming Blood Rights");
1382
- }
1383
-
1384
- export function spawnCollectible(params: string): void {
1385
- if (params === "") {
1386
- printConsole(
1387
- "You must specify the name or number corresponding to the collectible type.",
1388
- );
1389
- return;
1390
- }
1391
-
1392
- const collectibleTypeNumber = tonumber(params);
1393
- let collectibleType: CollectibleType;
1394
- if (collectibleTypeNumber === undefined) {
1395
- const match = getMapPartialMatch(params, COLLECTIBLE_NAME_TO_TYPE_MAP);
1396
- if (match === undefined) {
1397
- printConsole(`Unknown collectible: ${params}`);
1398
- return;
1399
- }
1400
-
1401
- collectibleType = match[1];
1402
- } else {
1403
- collectibleType = asCollectibleType(collectibleTypeNumber);
1404
- }
1405
-
1406
- const roomClass = game.GetRoom();
1407
- const centerPos = roomClass.GetCenterPos();
1408
- spawnCollectibleFunction(collectibleType, centerPos);
1409
- }
1410
-
1411
- /** Spawns a golden version of the specified trinket type. */
1412
- export function spawnGoldenTrinket(params: string): void {
1413
- if (params === "") {
1414
- printConsole(
1415
- "You must specify the name or number corresponding to the trinket type.",
1416
- );
1417
- return;
1418
- }
1419
-
1420
- const trinketTypeNumber = tonumber(params);
1421
- let trinketType: TrinketType;
1422
- if (trinketTypeNumber === undefined) {
1423
- const match = getMapPartialMatch(params, TRINKET_NAME_TO_TYPE_MAP);
1424
- if (match === undefined) {
1425
- printConsole(`Unknown trinket: ${params}`);
1426
- return;
1427
- }
1428
-
1429
- trinketType = match[1];
1430
- } else {
1431
- trinketType = asTrinketType(trinketTypeNumber);
1432
- }
1433
-
1434
- const roomClass = game.GetRoom();
1435
- const centerPos = roomClass.GetCenterPos();
1436
- const goldenTrinketType = getGoldenTrinketType(trinketType);
1437
- spawnTrinketFunction(goldenTrinketType, centerPos);
1438
- }
1439
-
1440
- export function spawnTrinket(params: string): void {
1441
- if (params === "") {
1442
- printConsole(
1443
- "You must specify the name or number corresponding to the trinket type.",
1444
- );
1445
- return;
1446
- }
1447
-
1448
- const trinketTypeNumber = tonumber(params);
1449
- let trinketType: TrinketType;
1450
- if (trinketTypeNumber === undefined) {
1451
- const match = getMapPartialMatch(params, TRINKET_NAME_TO_TYPE_MAP);
1452
- if (match === undefined) {
1453
- printConsole(`Unknown trinket: ${params}`);
1454
- return;
1455
- }
1456
-
1457
- trinketType = match[1];
1458
- } else {
1459
- trinketType = asTrinketType(trinketTypeNumber);
1460
- }
1461
-
1462
- const roomClass = game.GetRoom();
1463
- const centerPos = roomClass.GetCenterPos();
1464
- spawnTrinketFunction(trinketType, centerPos);
1465
- }
1466
-
1467
- /**
1468
- * Toggles a set movement speed and flight for the player. You can provide an optional argument to
1469
- * this command in order to set the speed to a specific amount. Default is 2.0 (which is the maximum
1470
- * that the stat can be set to).
1471
- */
1472
- export function speed(params: string): void {
1473
- const player = Isaac.GetPlayer();
1474
-
1475
- if (params !== "") {
1476
- const num = tonumber(params);
1477
- if (num === undefined) {
1478
- printConsole(`The provided speed amount is invalid: ${params}`);
1479
- return;
1480
- }
1481
-
1482
- v.persistent.damageAmount = num;
1483
- }
1484
-
1485
- v.persistent.speed = !v.persistent.speed;
1486
-
1487
- player.AddCacheFlags(CacheFlag.SPEED);
1488
- player.EvaluateItems();
1489
-
1490
- const value = tostring(v.persistent.speed);
1491
- flight(value);
1492
-
1493
- printEnabled(v.persistent.speed, "set speed and flight");
1494
- }
1495
-
1496
- /** Alias for the "startingRoom" command. */
1497
- export function startRoom(): void {
1498
- startingRoom();
1499
- }
1500
-
1501
- /** Warps to the starting room of the floor. */
1502
- export function startingRoom(): void {
1503
- const level = game.GetLevel();
1504
- const startingRoomIndex = level.GetStartingRoomIndex();
1505
- changeRoom(startingRoomIndex);
1506
- }
1507
-
1508
- /** Warps to the first Super Secret Room on the floor. */
1509
- export function superSecretRoom(): void {
1510
- warpToRoomType(RoomType.SUPER_SECRET);
1511
- }
1512
-
1513
- /**
1514
- * Toggles a set tear delay (e.g. fire rate) for the player. You can provide an optional argument to
1515
- * this command in order to set the tear delay to a specific amount. Default is 1 (which is
1516
- * equivalent to the Soy Milk tear rate).
1517
- */
1518
- export function tears(params: string): void {
1519
- if (params !== "") {
1520
- const num = tonumber(params);
1521
- if (num === undefined) {
1522
- printConsole(`The provided tear delay amount is invalid: ${params}`);
1523
- return;
1524
- }
1525
-
1526
- v.persistent.tearsAmount = num;
1527
- }
1528
-
1529
- v.persistent.tears = !v.persistent.tears;
1530
-
1531
- const player = Isaac.GetPlayer();
1532
- player.AddCacheFlags(CacheFlag.FIRE_DELAY);
1533
- player.EvaluateItems();
1534
-
1535
- printEnabled(v.persistent.damage, "set tear delay");
1536
- }
1537
-
1538
- /** Alias for the "runTests" command. */
1539
- export function tests(): void {
1540
- runTests();
1541
- }
1542
-
1543
- /**
1544
- * Gives the specified transformation. Accepts either the transformation number or the partial name
1545
- * of the transformation.
1546
- *
1547
- * For example:
1548
- * - transformation 1 - Gives the Beelzebub transformation.
1549
- * - transformation gup - Gives the Guppy transformation.
1550
- */
1551
- export function transformation(params: string): void {
1552
- if (params === "") {
1553
- printConsole("You must specify a transformation name or number.");
1554
- return;
1555
- }
1556
-
1557
- let targetPlayerForm: PlayerForm;
1558
- const num = tonumber(params) as PlayerForm | undefined;
1559
- if (num === undefined) {
1560
- const match = getMapPartialMatch(
1561
- params,
1562
- TRANSFORMATION_NAME_TO_PLAYER_FORM_MAP,
1563
- );
1564
- if (match === undefined) {
1565
- printConsole(`Unknown transformation: ${params}`);
1566
- return;
1567
- }
1568
-
1569
- targetPlayerForm = match[1];
1570
- } else {
1571
- const lastPlayerForm = getLastEnumValue(PlayerForm);
1572
- if (num < PlayerForm.GUPPY || num > lastPlayerForm) {
1573
- printConsole(`Invalid transformation number: ${num}`);
1574
- return;
1575
- }
1576
-
1577
- targetPlayerForm = num;
1578
- }
1579
-
1580
- const transformationName = getTransformationName(targetPlayerForm);
1581
- const player = Isaac.GetPlayer();
1582
- const collectibleTypesSet =
1583
- getCollectibleTypesForTransformation(targetPlayerForm);
1584
- const collectiblesTypes = getSortedSetValues(collectibleTypesSet);
1585
- for (let i = 0; i < 3; i++) {
1586
- const collectibleType = collectiblesTypes[i];
1587
- if (collectibleType !== undefined) {
1588
- player.AddCollectible(collectibleType);
1589
- }
1590
- }
1591
-
1592
- printConsole(
1593
- `Gave transformation: ${transformationName} (${targetPlayerForm})`,
1594
- );
1595
- }
1596
-
1597
- /** Creates a trapdoor next to the player. */
1598
- export function trapdoor(): void {
1599
- spawnTrapdoorOrCrawlSpace(true);
1600
- }
1601
-
1602
- /** Warps to the first Treasure Room on the floor. */
1603
- export function treasureRoom(): void {
1604
- warpToRoomType(RoomType.TREASURE);
1605
- }
1606
-
1607
- /** Warps to the first Ultra Secret Room on the floor. */
1608
- export function ultraSecretRoom(): void {
1609
- warpToRoomType(RoomType.ULTRA_SECRET);
1610
- }
1611
-
1612
- /** Toggles permanent Curse of the Unknown. */
1613
- export function unknown(): void {
1614
- v.persistent.unknown = !v.persistent.unknown;
1615
- printEnabled(v.persistent.unknown, "permanent Curse of the Unknown");
1616
- }
1617
-
1618
- /** If currently on a set seed, changes to an unseeded state and restarts the game. */
1619
- export function unseed(): void {
1620
- if (!onSetSeed()) {
1621
- printConsole("You are not on a set seed, so you cannot unseed the run.");
1622
- return;
1623
- }
1624
-
1625
- setUnseeded();
1626
- restart();
1627
- }
1628
-
1629
- /** Moves the player 0.5 units up. Provide a number to move a custom amount of units. */
1630
- export function up(params: string): void {
1631
- movePlayer(params, Direction.UP);
1632
- }
1633
-
1634
- /**
1635
- * Warps to the specified room type. Accepts either the room type number or the partial name of the
1636
- * room type.
1637
- *
1638
- * For example:
1639
- * - warp 5 - Warps to the first Boss Room on the floor, if any.
1640
- * - warp tr - Warps to the first Treasure Room on the floor, if any.
1641
- */
1642
- export function warp(params: string): void {
1643
- if (params === "") {
1644
- printConsole("You must specify a room type name or number.");
1645
- return;
1646
- }
1647
-
1648
- let roomType: RoomType;
1649
- const num = tonumber(params) as RoomType | undefined;
1650
- if (num === undefined) {
1651
- const match = getMapPartialMatch(params, ROOM_NAME_TO_TYPE_MAP);
1652
- if (match === undefined) {
1653
- printConsole(`Unknown room type: ${params}`);
1654
- return;
1655
- }
1656
-
1657
- roomType = match[1];
1658
- } else {
1659
- if (num < FIRST_ROOM_TYPE || num > LAST_ROOM_TYPE) {
1660
- printConsole(`Invalid room type: ${num}`);
1661
- return;
1662
- }
1663
-
1664
- roomType = num;
1665
- }
1666
-
1667
- warpToRoomType(roomType);
1668
- }