isaacscript-common 25.3.0 → 25.5.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 (263) hide show
  1. package/dist/index.rollup.d.ts +18 -2
  2. package/dist/isaacscript-common.lua +793 -684
  3. package/dist/src/classes/callbacks/PostAmbushFinished.d.ts.map +1 -1
  4. package/dist/src/classes/callbacks/PostAmbushFinished.lua +4 -3
  5. package/dist/src/classes/callbacks/PostAmbushStarted.d.ts.map +1 -1
  6. package/dist/src/classes/callbacks/PostAmbushStarted.lua +4 -3
  7. package/dist/src/classes/callbacks/PostBombInitLate.d.ts.map +1 -1
  8. package/dist/src/classes/callbacks/PostBombInitLate.lua +6 -5
  9. package/dist/src/classes/callbacks/PostBoneSwing.d.ts.map +1 -1
  10. package/dist/src/classes/callbacks/PostBoneSwing.lua +5 -4
  11. package/dist/src/classes/callbacks/PostCollectibleEmpty.d.ts.map +1 -1
  12. package/dist/src/classes/callbacks/PostCollectibleEmpty.lua +6 -5
  13. package/dist/src/classes/callbacks/PostCollectibleInitFirst.d.ts.map +1 -1
  14. package/dist/src/classes/callbacks/PostCollectibleInitFirst.lua +6 -5
  15. package/dist/src/classes/callbacks/PostCursedTeleport.d.ts.map +1 -1
  16. package/dist/src/classes/callbacks/PostCursedTeleport.lua +14 -13
  17. package/dist/src/classes/callbacks/PostDiceRoomActivated.d.ts.map +1 -1
  18. package/dist/src/classes/callbacks/PostDiceRoomActivated.lua +4 -3
  19. package/dist/src/classes/callbacks/PostEffectInitLate.d.ts.map +1 -1
  20. package/dist/src/classes/callbacks/PostEffectInitLate.lua +6 -5
  21. package/dist/src/classes/callbacks/PostEffectStateChanged.d.ts.map +1 -1
  22. package/dist/src/classes/callbacks/PostEffectStateChanged.lua +8 -7
  23. package/dist/src/classes/callbacks/PostFamiliarInitLate.d.ts.map +1 -1
  24. package/dist/src/classes/callbacks/PostFamiliarInitLate.lua +6 -5
  25. package/dist/src/classes/callbacks/PostFamiliarStateChanged.d.ts.map +1 -1
  26. package/dist/src/classes/callbacks/PostFamiliarStateChanged.lua +8 -7
  27. package/dist/src/classes/callbacks/PostGameStartedReordered.d.ts +2 -0
  28. package/dist/src/classes/callbacks/PostGameStartedReordered.d.ts.map +1 -1
  29. package/dist/src/classes/callbacks/PostGameStartedReordered.lua +3 -0
  30. package/dist/src/classes/callbacks/PostGameStartedReorderedLast.d.ts +2 -0
  31. package/dist/src/classes/callbacks/PostGameStartedReorderedLast.d.ts.map +1 -1
  32. package/dist/src/classes/callbacks/PostGameStartedReorderedLast.lua +3 -0
  33. package/dist/src/classes/callbacks/PostGreedModeWave.d.ts.map +1 -1
  34. package/dist/src/classes/callbacks/PostGreedModeWave.lua +4 -3
  35. package/dist/src/classes/callbacks/PostHolyMantleRemoved.d.ts.map +1 -1
  36. package/dist/src/classes/callbacks/PostHolyMantleRemoved.lua +5 -4
  37. package/dist/src/classes/callbacks/PostItemDischarge.d.ts.map +1 -1
  38. package/dist/src/classes/callbacks/PostItemDischarge.lua +20 -19
  39. package/dist/src/classes/callbacks/PostKeyboardChanged.d.ts.map +1 -1
  40. package/dist/src/classes/callbacks/PostKeyboardChanged.lua +8 -7
  41. package/dist/src/classes/callbacks/PostKnifeInitLate.d.ts.map +1 -1
  42. package/dist/src/classes/callbacks/PostKnifeInitLate.lua +6 -5
  43. package/dist/src/classes/callbacks/PostLaserInitLate.d.ts.map +1 -1
  44. package/dist/src/classes/callbacks/PostLaserInitLate.lua +6 -5
  45. package/dist/src/classes/callbacks/PostNPCInitLate.d.ts.map +1 -1
  46. package/dist/src/classes/callbacks/PostNPCInitLate.lua +6 -5
  47. package/dist/src/classes/callbacks/PostNPCStateChanged.d.ts.map +1 -1
  48. package/dist/src/classes/callbacks/PostNPCStateChanged.lua +8 -7
  49. package/dist/src/classes/callbacks/PostPickupCollect.d.ts.map +1 -1
  50. package/dist/src/classes/callbacks/PostPickupCollect.lua +6 -5
  51. package/dist/src/classes/callbacks/PostPickupInitLate.d.ts.map +1 -1
  52. package/dist/src/classes/callbacks/PostPickupInitLate.lua +6 -5
  53. package/dist/src/classes/callbacks/PostPickupStateChanged.d.ts.map +1 -1
  54. package/dist/src/classes/callbacks/PostPickupStateChanged.lua +8 -7
  55. package/dist/src/classes/callbacks/PostPlayerChangeHealth.d.ts.map +1 -1
  56. package/dist/src/classes/callbacks/PostPlayerChangeHealth.lua +8 -7
  57. package/dist/src/classes/callbacks/PostPlayerChangeStat.d.ts.map +1 -1
  58. package/dist/src/classes/callbacks/PostPlayerChangeStat.lua +8 -7
  59. package/dist/src/classes/callbacks/PostPlayerChangeType.d.ts.map +1 -1
  60. package/dist/src/classes/callbacks/PostPlayerChangeType.lua +8 -7
  61. package/dist/src/classes/callbacks/PostPlayerFatalDamage.d.ts.map +1 -1
  62. package/dist/src/classes/callbacks/PostPlayerFatalDamage.lua +6 -5
  63. package/dist/src/classes/callbacks/PostPlayerInitLate.d.ts.map +1 -1
  64. package/dist/src/classes/callbacks/PostPlayerInitLate.lua +6 -5
  65. package/dist/src/classes/callbacks/PostProjectileInitLate.d.ts.map +1 -1
  66. package/dist/src/classes/callbacks/PostProjectileInitLate.lua +6 -5
  67. package/dist/src/classes/callbacks/PostPurchase.d.ts.map +1 -1
  68. package/dist/src/classes/callbacks/PostPurchase.lua +5 -4
  69. package/dist/src/classes/callbacks/PostRoomClearChanged.d.ts.map +1 -1
  70. package/dist/src/classes/callbacks/PostRoomClearChanged.lua +5 -4
  71. package/dist/src/classes/callbacks/PostSacrifice.d.ts.map +1 -1
  72. package/dist/src/classes/callbacks/PostSacrifice.lua +5 -4
  73. package/dist/src/classes/callbacks/PostTearInitLate.d.ts.map +1 -1
  74. package/dist/src/classes/callbacks/PostTearInitLate.lua +6 -5
  75. package/dist/src/classes/callbacks/PostTearInitVeryLate.d.ts.map +1 -1
  76. package/dist/src/classes/callbacks/PostTearInitVeryLate.lua +6 -5
  77. package/dist/src/classes/callbacks/PostTransformation.d.ts.map +1 -1
  78. package/dist/src/classes/callbacks/PostTransformation.lua +8 -7
  79. package/dist/src/classes/callbacks/PostTrinketBreak.d.ts.map +1 -1
  80. package/dist/src/classes/callbacks/PostTrinketBreak.lua +9 -8
  81. package/dist/src/classes/callbacks/PreNewLevel.d.ts.map +1 -1
  82. package/dist/src/classes/callbacks/PreNewLevel.lua +4 -3
  83. package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
  84. package/dist/src/classes/features/callbackLogic/CustomGridEntities.lua +21 -20
  85. package/dist/src/classes/features/callbackLogic/CustomRevive.d.ts.map +1 -1
  86. package/dist/src/classes/features/callbackLogic/CustomRevive.lua +18 -17
  87. package/dist/src/classes/features/callbackLogic/EsauJrDetection.d.ts.map +1 -1
  88. package/dist/src/classes/features/callbackLogic/EsauJrDetection.lua +11 -10
  89. package/dist/src/classes/features/callbackLogic/FlipDetection.d.ts.map +1 -1
  90. package/dist/src/classes/features/callbackLogic/FlipDetection.lua +4 -3
  91. package/dist/src/classes/features/callbackLogic/GridEntityCollisionDetection.d.ts.map +1 -1
  92. package/dist/src/classes/features/callbackLogic/GridEntityCollisionDetection.lua +8 -7
  93. package/dist/src/classes/features/callbackLogic/GridEntityUpdateDetection.d.ts.map +1 -1
  94. package/dist/src/classes/features/callbackLogic/GridEntityUpdateDetection.lua +9 -8
  95. package/dist/src/classes/features/callbackLogic/ItemPickupDetection.d.ts.map +1 -1
  96. package/dist/src/classes/features/callbackLogic/ItemPickupDetection.lua +7 -6
  97. package/dist/src/classes/features/callbackLogic/PickupChangeDetection.d.ts.map +1 -1
  98. package/dist/src/classes/features/callbackLogic/PickupChangeDetection.lua +11 -10
  99. package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts.map +1 -1
  100. package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.lua +20 -19
  101. package/dist/src/classes/features/callbackLogic/PlayerReorderedCallbacks.d.ts.map +1 -1
  102. package/dist/src/classes/features/callbackLogic/PlayerReorderedCallbacks.lua +15 -14
  103. package/dist/src/classes/features/callbackLogic/SlotDestroyedDetection.d.ts.map +1 -1
  104. package/dist/src/classes/features/callbackLogic/SlotDestroyedDetection.lua +6 -5
  105. package/dist/src/classes/features/callbackLogic/SlotRenderDetection.d.ts.map +1 -1
  106. package/dist/src/classes/features/callbackLogic/SlotRenderDetection.lua +15 -14
  107. package/dist/src/classes/features/callbackLogic/SlotUpdateDetection.d.ts.map +1 -1
  108. package/dist/src/classes/features/callbackLogic/SlotUpdateDetection.lua +6 -5
  109. package/dist/src/classes/features/other/CollectibleItemPoolType.d.ts.map +1 -1
  110. package/dist/src/classes/features/other/CollectibleItemPoolType.lua +6 -5
  111. package/dist/src/classes/features/other/CustomItemPools.d.ts.map +1 -1
  112. package/dist/src/classes/features/other/CustomItemPools.lua +6 -5
  113. package/dist/src/classes/features/other/CustomPickups.d.ts.map +1 -1
  114. package/dist/src/classes/features/other/CustomStages.d.ts.map +1 -1
  115. package/dist/src/classes/features/other/CustomStages.lua +17 -26
  116. package/dist/src/classes/features/other/CustomTrapdoors.d.ts.map +1 -1
  117. package/dist/src/classes/features/other/CustomTrapdoors.lua +36 -35
  118. package/dist/src/classes/features/other/DisableAllSound.d.ts.map +1 -1
  119. package/dist/src/classes/features/other/DisableAllSound.lua +10 -9
  120. package/dist/src/classes/features/other/DisableInputs.d.ts.map +1 -1
  121. package/dist/src/classes/features/other/DisableInputs.lua +21 -20
  122. package/dist/src/classes/features/other/ExtraConsoleCommands.lua +19 -19
  123. package/dist/src/classes/features/other/NoSirenSteal.d.ts.map +1 -1
  124. package/dist/src/classes/features/other/NoSirenSteal.lua +5 -4
  125. package/dist/src/classes/features/other/Pause.d.ts.map +1 -1
  126. package/dist/src/classes/features/other/Pause.lua +20 -19
  127. package/dist/src/classes/features/other/PersistentEntities.d.ts.map +1 -1
  128. package/dist/src/classes/features/other/PersistentEntities.lua +20 -19
  129. package/dist/src/classes/features/other/PickupIndexCreation.d.ts.map +1 -1
  130. package/dist/src/classes/features/other/PickupIndexCreation.lua +29 -28
  131. package/dist/src/classes/features/other/PlayerInventory.d.ts.map +1 -1
  132. package/dist/src/classes/features/other/PlayerInventory.lua +9 -8
  133. package/dist/src/classes/features/other/PonyDetection.d.ts.map +1 -1
  134. package/dist/src/classes/features/other/PonyDetection.lua +8 -7
  135. package/dist/src/classes/features/other/PressInput.d.ts.map +1 -1
  136. package/dist/src/classes/features/other/PressInput.lua +7 -6
  137. package/dist/src/classes/features/other/PreventChildEntities.d.ts.map +1 -1
  138. package/dist/src/classes/features/other/PreventChildEntities.lua +7 -6
  139. package/dist/src/classes/features/other/PreventCollectibleRotation.d.ts.map +1 -1
  140. package/dist/src/classes/features/other/PreventCollectibleRotation.lua +7 -6
  141. package/dist/src/classes/features/other/PreventGridEntityRespawn.d.ts.map +1 -1
  142. package/dist/src/classes/features/other/PreventGridEntityRespawn.lua +16 -15
  143. package/dist/src/classes/features/other/RoomClearFrame.d.ts.map +1 -1
  144. package/dist/src/classes/features/other/RoomClearFrame.lua +6 -5
  145. package/dist/src/classes/features/other/RoomHistory.d.ts.map +1 -1
  146. package/dist/src/classes/features/other/RoomHistory.lua +9 -8
  147. package/dist/src/classes/features/other/RunInNFrames.d.ts.map +1 -1
  148. package/dist/src/classes/features/other/RunInNFrames.lua +14 -13
  149. package/dist/src/classes/features/other/RunNextRoom.d.ts.map +1 -1
  150. package/dist/src/classes/features/other/RunNextRoom.lua +6 -5
  151. package/dist/src/classes/features/other/SaveDataManager.d.ts +1 -0
  152. package/dist/src/classes/features/other/SaveDataManager.d.ts.map +1 -1
  153. package/dist/src/classes/features/other/SaveDataManager.lua +12 -0
  154. package/dist/src/classes/features/other/StageHistory.d.ts.map +1 -1
  155. package/dist/src/classes/features/other/StageHistory.lua +7 -6
  156. package/dist/src/classes/features/other/TaintedLazarusPlayers.d.ts.map +1 -1
  157. package/dist/src/classes/features/other/TaintedLazarusPlayers.lua +18 -17
  158. package/dist/src/classes/features/other/customStages/streakText.d.ts +3 -25
  159. package/dist/src/classes/features/other/customStages/streakText.d.ts.map +1 -1
  160. package/dist/src/classes/features/other/customStages/streakText.lua +16 -26
  161. package/dist/src/classes/features/other/customStages/v.d.ts +25 -0
  162. package/dist/src/classes/features/other/customStages/v.d.ts.map +1 -0
  163. package/dist/src/classes/features/other/customStages/v.lua +16 -0
  164. package/dist/src/classes/features/other/customStages/versusScreen.d.ts +2 -8
  165. package/dist/src/classes/features/other/customStages/versusScreen.d.ts.map +1 -1
  166. package/dist/src/classes/features/other/customStages/versusScreen.lua +6 -4
  167. package/dist/src/enums/ModCallbackCustom.d.ts +6 -0
  168. package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
  169. package/dist/src/functions/utils.d.ts +6 -0
  170. package/dist/src/functions/utils.d.ts.map +1 -1
  171. package/dist/src/functions/utils.lua +17 -0
  172. package/dist/src/interfaces/SaveData.d.ts.map +1 -1
  173. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +4 -2
  174. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
  175. package/dist/src/shouldFire.d.ts +1 -0
  176. package/dist/src/shouldFire.d.ts.map +1 -1
  177. package/dist/src/shouldFire.lua +5 -0
  178. package/package.json +2 -2
  179. package/src/classes/callbacks/PostAmbushFinished.ts +9 -7
  180. package/src/classes/callbacks/PostAmbushStarted.ts +9 -7
  181. package/src/classes/callbacks/PostBombInitLate.ts +9 -7
  182. package/src/classes/callbacks/PostBoneSwing.ts +9 -7
  183. package/src/classes/callbacks/PostCollectibleEmpty.ts +9 -7
  184. package/src/classes/callbacks/PostCollectibleInitFirst.ts +9 -7
  185. package/src/classes/callbacks/PostCursedTeleport.ts +20 -24
  186. package/src/classes/callbacks/PostDiceRoomActivated.ts +9 -7
  187. package/src/classes/callbacks/PostEffectInitLate.ts +9 -7
  188. package/src/classes/callbacks/PostEffectStateChanged.ts +9 -7
  189. package/src/classes/callbacks/PostFamiliarInitLate.ts +9 -7
  190. package/src/classes/callbacks/PostFamiliarStateChanged.ts +9 -7
  191. package/src/classes/callbacks/PostGameStartedReordered.ts +3 -0
  192. package/src/classes/callbacks/PostGameStartedReorderedLast.ts +3 -0
  193. package/src/classes/callbacks/PostGreedModeWave.ts +9 -7
  194. package/src/classes/callbacks/PostHolyMantleRemoved.ts +9 -7
  195. package/src/classes/callbacks/PostItemDischarge.ts +21 -27
  196. package/src/classes/callbacks/PostKeyboardChanged.ts +11 -9
  197. package/src/classes/callbacks/PostKnifeInitLate.ts +9 -7
  198. package/src/classes/callbacks/PostLaserInitLate.ts +9 -7
  199. package/src/classes/callbacks/PostNPCInitLate.ts +9 -7
  200. package/src/classes/callbacks/PostNPCStateChanged.ts +11 -12
  201. package/src/classes/callbacks/PostPickupCollect.ts +9 -7
  202. package/src/classes/callbacks/PostPickupInitLate.ts +9 -7
  203. package/src/classes/callbacks/PostPickupStateChanged.ts +9 -7
  204. package/src/classes/callbacks/PostPlayerChangeHealth.ts +10 -8
  205. package/src/classes/callbacks/PostPlayerChangeStat.ts +11 -10
  206. package/src/classes/callbacks/PostPlayerChangeType.ts +13 -11
  207. package/src/classes/callbacks/PostPlayerFatalDamage.ts +10 -8
  208. package/src/classes/callbacks/PostPlayerInitLate.ts +9 -7
  209. package/src/classes/callbacks/PostProjectileInitLate.ts +9 -7
  210. package/src/classes/callbacks/PostPurchase.ts +11 -9
  211. package/src/classes/callbacks/PostRoomClearChanged.ts +10 -8
  212. package/src/classes/callbacks/PostSacrifice.ts +9 -7
  213. package/src/classes/callbacks/PostTearInitLate.ts +9 -7
  214. package/src/classes/callbacks/PostTearInitVeryLate.ts +9 -7
  215. package/src/classes/callbacks/PostTransformation.ts +12 -10
  216. package/src/classes/callbacks/PostTrinketBreak.ts +12 -16
  217. package/src/classes/callbacks/PreNewLevel.ts +9 -7
  218. package/src/classes/features/callbackLogic/CustomGridEntities.ts +23 -21
  219. package/src/classes/features/callbackLogic/CustomRevive.ts +26 -27
  220. package/src/classes/features/callbackLogic/EsauJrDetection.ts +19 -17
  221. package/src/classes/features/callbackLogic/FlipDetection.ts +10 -8
  222. package/src/classes/features/callbackLogic/GridEntityCollisionDetection.ts +11 -9
  223. package/src/classes/features/callbackLogic/GridEntityUpdateDetection.ts +13 -12
  224. package/src/classes/features/callbackLogic/ItemPickupDetection.ts +10 -8
  225. package/src/classes/features/callbackLogic/PickupChangeDetection.ts +12 -10
  226. package/src/classes/features/callbackLogic/PlayerCollectibleDetection.ts +21 -27
  227. package/src/classes/features/callbackLogic/PlayerReorderedCallbacks.ts +22 -29
  228. package/src/classes/features/callbackLogic/SlotDestroyedDetection.ts +9 -7
  229. package/src/classes/features/callbackLogic/SlotRenderDetection.ts +15 -13
  230. package/src/classes/features/callbackLogic/SlotUpdateDetection.ts +9 -7
  231. package/src/classes/features/other/CollectibleItemPoolType.ts +9 -7
  232. package/src/classes/features/other/CustomItemPools.ts +9 -7
  233. package/src/classes/features/other/CustomPickups.ts +0 -1
  234. package/src/classes/features/other/CustomStages.ts +16 -44
  235. package/src/classes/features/other/CustomTrapdoors.ts +53 -54
  236. package/src/classes/features/other/DisableAllSound.ts +13 -11
  237. package/src/classes/features/other/DisableInputs.ts +39 -37
  238. package/src/classes/features/other/ExtraConsoleCommands.ts +19 -19
  239. package/src/classes/features/other/NoSirenSteal.ts +11 -9
  240. package/src/classes/features/other/Pause.ts +21 -19
  241. package/src/classes/features/other/PersistentEntities.ts +33 -31
  242. package/src/classes/features/other/PickupIndexCreation.ts +35 -33
  243. package/src/classes/features/other/PlayerInventory.ts +14 -12
  244. package/src/classes/features/other/PonyDetection.ts +11 -9
  245. package/src/classes/features/other/PressInput.ts +11 -9
  246. package/src/classes/features/other/PreventChildEntities.ts +10 -8
  247. package/src/classes/features/other/PreventCollectibleRotation.ts +20 -18
  248. package/src/classes/features/other/PreventGridEntityRespawn.ts +18 -18
  249. package/src/classes/features/other/RoomClearFrame.ts +12 -10
  250. package/src/classes/features/other/RoomHistory.ts +13 -11
  251. package/src/classes/features/other/RunInNFrames.ts +19 -17
  252. package/src/classes/features/other/RunNextRoom.ts +10 -8
  253. package/src/classes/features/other/SaveDataManager.ts +11 -0
  254. package/src/classes/features/other/StageHistory.ts +11 -9
  255. package/src/classes/features/other/TaintedLazarusPlayers.ts +31 -30
  256. package/src/classes/features/other/customStages/streakText.ts +14 -44
  257. package/src/classes/features/other/customStages/v.ts +31 -0
  258. package/src/classes/features/other/customStages/versusScreen.ts +2 -10
  259. package/src/enums/ModCallbackCustom.ts +6 -0
  260. package/src/functions/utils.ts +23 -0
  261. package/src/interfaces/SaveData.ts +0 -1
  262. package/src/interfaces/private/AddCallbackParametersCustom.ts +2 -0
  263. package/src/shouldFire.ts +10 -0
@@ -1 +1 @@
1
- {"version":3,"file":"PonyDetection.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PonyDetection.ts"],"names":[],"mappings":";AAWA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,qBAAa,aAAc,SAAQ,OAAO;IAqBxC,OAAO,CAAC,0BAA0B,CAmBhC;IAEF;;;;;OAKG;IAEI,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO;IAIvD;;;;;OAKG;IAEI,kBAAkB,IAAI,OAAO;CAIrC"}
1
+ {"version":3,"file":"PonyDetection.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PonyDetection.ts"],"names":[],"mappings":";AAWA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAchD,qBAAa,aAAc,SAAQ,OAAO;IAiBxC,OAAO,CAAC,0BAA0B,CAmBhC;IAEF;;;;;OAKG;IAEI,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO;IAIvD;;;;;OAKG;IAEI,kBAAkB,IAAI,OAAO;CAIrC"}
@@ -1,8 +1,8 @@
1
1
  local ____lualib = require("lualib_bundle")
2
- local __TS__Class = ____lualib.__TS__Class
3
- local __TS__ClassExtends = ____lualib.__TS__ClassExtends
4
2
  local Set = ____lualib.Set
5
3
  local __TS__New = ____lualib.__TS__New
4
+ local __TS__Class = ____lualib.__TS__Class
5
+ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
6
6
  local __TS__Decorate = ____lualib.__TS__Decorate
7
7
  local __TS__ArraySome = ____lualib.__TS__ArraySome
8
8
  local ____exports = {}
@@ -24,18 +24,19 @@ local getPlayers = ____playerIndex.getPlayers
24
24
  local ____Feature = require("src.classes.private.Feature")
25
25
  local Feature = ____Feature.Feature
26
26
  local FLAGS_WHEN_PONY_IS_ACTIVE = {EntityFlag.NO_KNOCKBACK, EntityFlag.NO_PHYSICS_KNOCKBACK, EntityFlag.NO_DAMAGE_BLINK}
27
+ local v = {run = {playersIsPonyActive = __TS__New(Set)}}
27
28
  ____exports.PonyDetection = __TS__Class()
28
29
  local PonyDetection = ____exports.PonyDetection
29
30
  PonyDetection.name = "PonyDetection"
30
31
  __TS__ClassExtends(PonyDetection, Feature)
31
32
  function PonyDetection.prototype.____constructor(self)
32
33
  Feature.prototype.____constructor(self)
33
- self.v = {run = {playersIsPonyActive = __TS__New(Set)}}
34
+ self.v = v
34
35
  self.postPEffectUpdateReordered = function(____, player)
35
36
  local effects = player:GetEffects()
36
37
  local entityFlags = player:GetEntityFlags()
37
38
  local hasPonyCollectibleEffect = effects:HasCollectibleEffect(CollectibleType.PONY) or effects:HasCollectibleEffect(CollectibleType.WHITE_PONY)
38
- local isPonyActiveOnPreviousFrame = setHasPlayer(nil, self.v.run.playersIsPonyActive, player)
39
+ local isPonyActiveOnPreviousFrame = setHasPlayer(nil, v.run.playersIsPonyActive, player)
39
40
  local hasPonyFlags = hasFlag(
40
41
  nil,
41
42
  entityFlags,
@@ -43,15 +44,15 @@ function PonyDetection.prototype.____constructor(self)
43
44
  )
44
45
  local isPonyActiveNow = hasPonyCollectibleEffect or isPonyActiveOnPreviousFrame and hasPonyFlags
45
46
  if isPonyActiveNow then
46
- setAddPlayer(nil, self.v.run.playersIsPonyActive, player)
47
+ setAddPlayer(nil, v.run.playersIsPonyActive, player)
47
48
  else
48
- setDeletePlayer(nil, self.v.run.playersIsPonyActive, player)
49
+ setDeletePlayer(nil, v.run.playersIsPonyActive, player)
49
50
  end
50
51
  end
51
52
  self.customCallbacksUsed = {{ModCallbackCustom.POST_PEFFECT_UPDATE_REORDERED, self.postPEffectUpdateReordered}}
52
53
  end
53
54
  function PonyDetection.prototype.isPlayerUsingPony(self, player)
54
- return setHasPlayer(nil, self.v.run.playersIsPonyActive, player)
55
+ return setHasPlayer(nil, v.run.playersIsPonyActive, player)
55
56
  end
56
57
  function PonyDetection.prototype.anyPlayerUsingPony(self)
57
58
  local players = getPlayers(nil)
@@ -1 +1 @@
1
- {"version":3,"file":"PressInput.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PressInput.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGb,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,UAAW,SAAQ,OAAO;IAwBrC,OAAO,CAAC,iBAAiB,CA+BvB;IAEF;;;;;;OAMG;IAEI,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI;CAI1E"}
1
+ {"version":3,"file":"PressInput.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PressInput.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGb,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,qBAAa,UAAW,SAAQ,OAAO;IAoBrC,OAAO,CAAC,iBAAiB,CA+BvB;IAEF;;;;;;OAMG;IAEI,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,GAAG,IAAI;CAI1E"}
@@ -13,13 +13,14 @@ local ____playerIndex = require("src.functions.playerIndex")
13
13
  local getPlayerIndex = ____playerIndex.getPlayerIndex
14
14
  local ____Feature = require("src.classes.private.Feature")
15
15
  local Feature = ____Feature.Feature
16
+ local v = {run = {buttonActionTuples = {}}}
16
17
  ____exports.PressInput = __TS__Class()
17
18
  local PressInput = ____exports.PressInput
18
19
  PressInput.name = "PressInput"
19
20
  __TS__ClassExtends(PressInput, Feature)
20
21
  function PressInput.prototype.____constructor(self)
21
22
  Feature.prototype.____constructor(self)
22
- self.v = {run = {buttonActionTuples = {}}}
23
+ self.v = v
23
24
  self.isActionTriggered = function(____, entity, _inputHook, buttonAction)
24
25
  if entity == nil then
25
26
  return nil
@@ -30,12 +31,12 @@ function PressInput.prototype.____constructor(self)
30
31
  end
31
32
  local playerIndex = getPlayerIndex(nil, player)
32
33
  do
33
- local i = #self.v.run.buttonActionTuples - 1
34
+ local i = #v.run.buttonActionTuples - 1
34
35
  while i >= 0 do
35
- local tuple = self.v.run.buttonActionTuples[i + 1]
36
+ local tuple = v.run.buttonActionTuples[i + 1]
36
37
  local tuplePlayerIndex, tupleButtonAction = table.unpack(tuple)
37
38
  if tuplePlayerIndex == playerIndex and tupleButtonAction == buttonAction then
38
- __TS__ArraySplice(self.v.run.buttonActionTuples, i)
39
+ __TS__ArraySplice(v.run.buttonActionTuples, i)
39
40
  return true
40
41
  end
41
42
  i = i - 1
@@ -47,8 +48,8 @@ function PressInput.prototype.____constructor(self)
47
48
  end
48
49
  function PressInput.prototype.pressInput(self, player, buttonAction)
49
50
  local playerIndex = getPlayerIndex(nil, player)
50
- local ____self_v_run_buttonActionTuples_0 = self.v.run.buttonActionTuples
51
- ____self_v_run_buttonActionTuples_0[#____self_v_run_buttonActionTuples_0 + 1] = {playerIndex, buttonAction}
51
+ local ____v_run_buttonActionTuples_0 = v.run.buttonActionTuples
52
+ ____v_run_buttonActionTuples_0[#____v_run_buttonActionTuples_0 + 1] = {playerIndex, buttonAction}
52
53
  end
53
54
  __TS__Decorate({Exported}, PressInput.prototype, "pressInput", true)
54
55
  return ____exports
@@ -1 +1 @@
1
- {"version":3,"file":"PreventChildEntities.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PreventChildEntities.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,oBAAqB,SAAQ,OAAO;IAmB/C,OAAO,CAAC,WAAW,CAYjB;IAEF;;;;;;;;;;OAUG;IAEI,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;CAIlD"}
1
+ {"version":3,"file":"PreventChildEntities.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PreventChildEntities.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,qBAAa,oBAAqB,SAAQ,OAAO;IAe/C,OAAO,CAAC,WAAW,CAYjB;IAEF;;;;;;;;;;OAUG;IAEI,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;CAIlD"}
@@ -1,8 +1,8 @@
1
1
  local ____lualib = require("lualib_bundle")
2
- local __TS__Class = ____lualib.__TS__Class
3
- local __TS__ClassExtends = ____lualib.__TS__ClassExtends
4
2
  local Set = ____lualib.Set
5
3
  local __TS__New = ____lualib.__TS__New
4
+ local __TS__Class = ____lualib.__TS__Class
5
+ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
6
6
  local __TS__Decorate = ____lualib.__TS__Decorate
7
7
  local ____exports = {}
8
8
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
@@ -11,16 +11,17 @@ local ____decorators = require("src.decorators")
11
11
  local Exported = ____decorators.Exported
12
12
  local ____Feature = require("src.classes.private.Feature")
13
13
  local Feature = ____Feature.Feature
14
+ local v = {room = {preventingEntities = __TS__New(Set)}}
14
15
  ____exports.PreventChildEntities = __TS__Class()
15
16
  local PreventChildEntities = ____exports.PreventChildEntities
16
17
  PreventChildEntities.name = "PreventChildEntities"
17
18
  __TS__ClassExtends(PreventChildEntities, Feature)
18
19
  function PreventChildEntities.prototype.____constructor(self)
19
20
  Feature.prototype.____constructor(self)
20
- self.v = {room = {preventingEntities = __TS__New(Set)}}
21
+ self.v = v
21
22
  self.postNPCInit = function(____, npc)
22
- local spawnerEntityMatch = npc.SpawnerEntity ~= nil and self.v.room.preventingEntities:has(GetPtrHash(npc.SpawnerEntity))
23
- local parentMatch = npc.Parent ~= nil and self.v.room.preventingEntities:has(GetPtrHash(npc.Parent))
23
+ local spawnerEntityMatch = npc.SpawnerEntity ~= nil and v.room.preventingEntities:has(GetPtrHash(npc.SpawnerEntity))
24
+ local parentMatch = npc.Parent ~= nil and v.room.preventingEntities:has(GetPtrHash(npc.Parent))
24
25
  if spawnerEntityMatch or parentMatch then
25
26
  npc:Remove()
26
27
  end
@@ -29,7 +30,7 @@ function PreventChildEntities.prototype.____constructor(self)
29
30
  end
30
31
  function PreventChildEntities.prototype.preventChildEntities(self, entity)
31
32
  local ptrHash = GetPtrHash(entity)
32
- self.v.room.preventingEntities:add(ptrHash)
33
+ v.room.preventingEntities:add(ptrHash)
33
34
  end
34
35
  __TS__Decorate({Exported}, PreventChildEntities.prototype, "preventChildEntities", true)
35
36
  return ____exports
@@ -1 +1 @@
1
- {"version":3,"file":"PreventCollectibleRotation.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PreventCollectibleRotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EAGhB,MAAM,8BAA8B,CAAC;AAMtC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,0BAA2B,SAAQ,OAAO;IAyCrD,OAAO,CAAC,kBAAkB,CAIxB;IAIF,OAAO,CAAC,2BAA2B,CAIjC;IAEF,OAAO,CAAC,uBAAuB;IAiB/B;;;;;;;;;;;OAWG;IAEI,0BAA0B,CAC/B,WAAW,EAAE,YAAY,EACzB,eAAe,EAAE,eAAe,GAC/B,IAAI;CAeR"}
1
+ {"version":3,"file":"PreventCollectibleRotation.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PreventCollectibleRotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EAGhB,MAAM,8BAA8B,CAAC;AAMtC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAkBhD,qBAAa,0BAA2B,SAAQ,OAAO;IA2BrD,OAAO,CAAC,kBAAkB,CAIxB;IAIF,OAAO,CAAC,2BAA2B,CAIjC;IAEF,OAAO,CAAC,uBAAuB;IAiB/B;;;;;;;;;;;OAWG;IAEI,0BAA0B,CAC/B,WAAW,EAAE,YAAY,EACzB,eAAe,EAAE,eAAe,GAC/B,IAAI;CAeR"}
@@ -1,8 +1,8 @@
1
1
  local ____lualib = require("lualib_bundle")
2
- local __TS__Class = ____lualib.__TS__Class
3
- local __TS__ClassExtends = ____lualib.__TS__ClassExtends
4
2
  local Map = ____lualib.Map
5
3
  local __TS__New = ____lualib.__TS__New
4
+ local __TS__Class = ____lualib.__TS__Class
5
+ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
6
6
  local __TS__Decorate = ____lualib.__TS__Decorate
7
7
  local ____exports = {}
8
8
  local getMapIndex
@@ -28,15 +28,16 @@ function getMapIndex(self, collectible)
28
28
  local gridIndex = room:GetGridIndex(collectible.Position)
29
29
  return (tostring(gridIndex) .. ",") .. tostring(collectible.InitSeed)
30
30
  end
31
+ local v = {room = {trackedCollectibles = __TS__New(Map)}}
31
32
  ____exports.PreventCollectibleRotation = __TS__Class()
32
33
  local PreventCollectibleRotation = ____exports.PreventCollectibleRotation
33
34
  PreventCollectibleRotation.name = "PreventCollectibleRotation"
34
35
  __TS__ClassExtends(PreventCollectibleRotation, Feature)
35
36
  function PreventCollectibleRotation.prototype.____constructor(self)
36
37
  Feature.prototype.____constructor(self)
37
- self.v = {room = {trackedCollectibles = __TS__New(Map)}}
38
+ self.v = v
38
39
  self.useCardSoulOfIsaac = function()
39
- self.v.room.trackedCollectibles:clear()
40
+ v.room.trackedCollectibles:clear()
40
41
  end
41
42
  self.postPickupUpdateCollectible = function(____, pickup)
42
43
  local collectible = pickup
@@ -49,7 +50,7 @@ function PreventCollectibleRotation.prototype.checkCollectibleRotated(self, coll
49
50
  return
50
51
  end
51
52
  local index = getMapIndex(nil, collectible)
52
- local trackedCollectibleType = self.v.room.trackedCollectibles:get(index)
53
+ local trackedCollectibleType = v.room.trackedCollectibles:get(index)
53
54
  if trackedCollectibleType ~= nil and collectible.SubType ~= trackedCollectibleType then
54
55
  setCollectibleSubType(nil, collectible, trackedCollectibleType)
55
56
  end
@@ -60,7 +61,7 @@ function PreventCollectibleRotation.prototype.preventCollectibleRotation(self, c
60
61
  error("The \"preventCollectibleRotate\" function was given a non-collectible: " .. entityID)
61
62
  end
62
63
  local index = getMapIndex(nil, collectible)
63
- self.v.room.trackedCollectibles:set(index, collectibleType)
64
+ v.room.trackedCollectibles:set(index, collectibleType)
64
65
  self:checkCollectibleRotated(collectible)
65
66
  end
66
67
  __TS__Decorate({Exported}, PreventCollectibleRotation.prototype, "preventCollectibleRotation", true)
@@ -1 +1 @@
1
- {"version":3,"file":"PreventGridEntityRespawn.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PreventGridEntityRespawn.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,qBAAa,wBAAyB,SAAQ,OAAO;IAcnD,OAAO,CAAC,YAAY,CAAe;IA0BnC,OAAO,CAAC,0BAA0B,CAqDhC;IAGF,OAAO,CAAC,oBAAoB,CAE1B;IAEF;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAsB/B;;;;;;;;;;;;;;;;;;;;;;OAsBG;IAEI,wBAAwB,IAAI,IAAI;CAuBxC"}
1
+ {"version":3,"file":"PreventGridEntityRespawn.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/PreventGridEntityRespawn.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAahD,qBAAa,wBAAyB,SAAQ,OAAO;IAInD,OAAO,CAAC,YAAY,CAAe;IA0BnC,OAAO,CAAC,0BAA0B,CAqDhC;IAGF,OAAO,CAAC,oBAAoB,CAE1B;IAEF;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAsB/B;;;;;;;;;;;;;;;;;;;;;;OAsBG;IAEI,wBAAwB,IAAI,IAAI;CAuBxC"}
@@ -1,7 +1,7 @@
1
1
  local ____lualib = require("lualib_bundle")
2
+ local __TS__New = ____lualib.__TS__New
2
3
  local __TS__Class = ____lualib.__TS__Class
3
4
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
4
- local __TS__New = ____lualib.__TS__New
5
5
  local __TS__Decorate = ____lualib.__TS__Decorate
6
6
  local ____exports = {}
7
7
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
@@ -32,25 +32,26 @@ local ____DefaultMap = require("src.classes.DefaultMap")
32
32
  local DefaultMap = ____DefaultMap.DefaultMap
33
33
  local ____Feature = require("src.classes.private.Feature")
34
34
  local Feature = ____Feature.Feature
35
+ local v = {
36
+ level = {roomListIndexToDecorationGridIndexes = __TS__New(
37
+ DefaultMap,
38
+ function() return {} end
39
+ )},
40
+ room = {manuallyUsingShovel = false}
41
+ }
35
42
  ____exports.PreventGridEntityRespawn = __TS__Class()
36
43
  local PreventGridEntityRespawn = ____exports.PreventGridEntityRespawn
37
44
  PreventGridEntityRespawn.name = "PreventGridEntityRespawn"
38
45
  __TS__ClassExtends(PreventGridEntityRespawn, Feature)
39
46
  function PreventGridEntityRespawn.prototype.____constructor(self, runInNFrames)
40
47
  Feature.prototype.____constructor(self)
41
- self.v = {
42
- level = {roomListIndexToDecorationGridIndexes = __TS__New(
43
- DefaultMap,
44
- function() return {} end
45
- )},
46
- room = {manuallyUsingShovel = false}
47
- }
48
+ self.v = v
48
49
  self.preUseItemWeNeedToGoDeeper = function(____, _collectibleType, _rng, player, _useFlags, _activeSlot, _customVarData)
49
- if self.v.room.manuallyUsingShovel then
50
+ if v.room.manuallyUsingShovel then
50
51
  return nil
51
52
  end
52
53
  local roomListIndex = getRoomListIndex(nil)
53
- if not self.v.level.roomListIndexToDecorationGridIndexes:has(roomListIndex) then
54
+ if not v.level.roomListIndexToDecorationGridIndexes:has(roomListIndex) then
54
55
  return
55
56
  end
56
57
  local decorations = getGridEntities(nil, GridEntityType.DECORATION)
@@ -67,10 +68,10 @@ function PreventGridEntityRespawn.prototype.____constructor(self, runInNFrames)
67
68
  if futureRoomListIndex ~= roomListIndex then
68
69
  return
69
70
  end
70
- self.v.room.manuallyUsingShovel = true
71
+ v.room.manuallyUsingShovel = true
71
72
  futurePlayer:UseActiveItem(CollectibleType.WE_NEED_TO_GO_DEEPER)
72
- self.v.room.manuallyUsingShovel = false
73
- local decorationGridIndexes = self.v.level.roomListIndexToDecorationGridIndexes:getAndSetDefault(roomListIndex)
73
+ v.room.manuallyUsingShovel = false
74
+ local decorationGridIndexes = v.level.roomListIndexToDecorationGridIndexes:getAndSetDefault(roomListIndex)
74
75
  emptyArray(nil, decorationGridIndexes)
75
76
  self:preventGridEntityRespawn()
76
77
  end)
@@ -87,7 +88,7 @@ end
87
88
  function PreventGridEntityRespawn.prototype.setDecorationsInvisible(self)
88
89
  local room = game:GetRoom()
89
90
  local roomListIndex = getRoomListIndex(nil)
90
- local decorationGridIndexes = self.v.level.roomListIndexToDecorationGridIndexes:get(roomListIndex)
91
+ local decorationGridIndexes = v.level.roomListIndexToDecorationGridIndexes:get(roomListIndex)
91
92
  if decorationGridIndexes == nil then
92
93
  return
93
94
  end
@@ -104,7 +105,7 @@ end
104
105
  function PreventGridEntityRespawn.prototype.preventGridEntityRespawn(self)
105
106
  local room = game:GetRoom()
106
107
  local roomListIndex = getRoomListIndex(nil)
107
- local decorationGridIndexes = self.v.level.roomListIndexToDecorationGridIndexes:getAndSetDefault(roomListIndex)
108
+ local decorationGridIndexes = v.level.roomListIndexToDecorationGridIndexes:getAndSetDefault(roomListIndex)
108
109
  for ____, gridIndex in ipairs(getAllGridIndexes(nil)) do
109
110
  do
110
111
  local existingGridEntity = room:GetGridEntity(gridIndex)
@@ -1 +1 @@
1
- {"version":3,"file":"RoomClearFrame.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/RoomClearFrame.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,cAAe,SAAQ,OAAO;IAuBzC,OAAO,CAAC,wBAAwB,CAO9B;IAEF;;;;;OAKG;IAEI,qBAAqB,IAAI,GAAG,GAAG,SAAS;IAI/C;;;;;OAKG;IAEI,qBAAqB,IAAI,GAAG,GAAG,SAAS;CAGhD"}
1
+ {"version":3,"file":"RoomClearFrame.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/RoomClearFrame.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD,qBAAa,cAAe,SAAQ,OAAO;IAkBzC,OAAO,CAAC,wBAAwB,CAO9B;IAEF;;;;;OAKG;IAEI,qBAAqB,IAAI,GAAG,GAAG,SAAS;IAI/C;;;;;OAKG;IAEI,qBAAqB,IAAI,GAAG,GAAG,SAAS;CAGhD"}
@@ -11,27 +11,28 @@ local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
11
11
  local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
12
12
  local ____Feature = require("src.classes.private.Feature")
13
13
  local Feature = ____Feature.Feature
14
+ local v = {room = {roomClearGameFrame = nil, roomClearRoomFrame = nil}}
14
15
  ____exports.RoomClearFrame = __TS__Class()
15
16
  local RoomClearFrame = ____exports.RoomClearFrame
16
17
  RoomClearFrame.name = "RoomClearFrame"
17
18
  __TS__ClassExtends(RoomClearFrame, Feature)
18
19
  function RoomClearFrame.prototype.____constructor(self)
19
20
  Feature.prototype.____constructor(self)
20
- self.v = {room = {roomClearGameFrame = nil, roomClearRoomFrame = nil}}
21
+ self.v = v
21
22
  self.postRoomClearChangedTrue = function()
22
23
  local gameFrameCount = game:GetFrameCount()
23
24
  local room = game:GetRoom()
24
25
  local roomFrameCount = room:GetFrameCount()
25
- self.v.room.roomClearGameFrame = gameFrameCount
26
- self.v.room.roomClearRoomFrame = roomFrameCount
26
+ v.room.roomClearGameFrame = gameFrameCount
27
+ v.room.roomClearRoomFrame = roomFrameCount
27
28
  end
28
29
  self.customCallbacksUsed = {{ModCallbackCustom.POST_ROOM_CLEAR_CHANGED, self.postRoomClearChangedTrue}}
29
30
  end
30
31
  function RoomClearFrame.prototype.getRoomClearGameFrame(self)
31
- return self.v.room.roomClearGameFrame
32
+ return v.room.roomClearGameFrame
32
33
  end
33
34
  function RoomClearFrame.prototype.getRoomClearRoomFrame(self)
34
- return self.v.room.roomClearGameFrame
35
+ return v.room.roomClearGameFrame
35
36
  end
36
37
  __TS__Decorate({Exported}, RoomClearFrame.prototype, "getRoomClearGameFrame", true)
37
38
  __TS__Decorate({Exported}, RoomClearFrame.prototype, "getRoomClearRoomFrame", true)
@@ -1 +1 @@
1
- {"version":3,"file":"RoomHistory.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/RoomHistory.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,WAAY,SAAQ,OAAO;IAkBtC,OAAO,CAAC,gBAAgB,CAgCtB;IAEF;;;;;OAKG;IAEI,kBAAkB,IAAI,GAAG;IAIhC;;;;;OAKG;IAEI,cAAc,IAAI,aAAa,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IAIjE;;;;;;;OAOG;IAEI,0BAA0B,IAAI,QAAQ,CAAC,eAAe,CAAC;IAiB9D;;;;;;;;;;OAUG;IAEI,wBAAwB,IAAI,QAAQ,CAAC,eAAe,CAAC,GAAG,SAAS;IAIxE;;;;;;;;;;OAUG;IAEI,aAAa,IAAI,OAAO;CAwBhC"}
1
+ {"version":3,"file":"RoomHistory.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/RoomHistory.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,qBAAa,WAAY,SAAQ,OAAO;IActC,OAAO,CAAC,gBAAgB,CAgCtB;IAEF;;;;;OAKG;IAEI,kBAAkB,IAAI,GAAG;IAIhC;;;;;OAKG;IAEI,cAAc,IAAI,aAAa,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;IAIjE;;;;;;;OAOG;IAEI,0BAA0B,IAAI,QAAQ,CAAC,eAAe,CAAC;IAiB9D;;;;;;;;;;OAUG;IAEI,wBAAwB,IAAI,QAAQ,CAAC,eAAe,CAAC,GAAG,SAAS;IAIxE;;;;;;;;;;OAUG;IAEI,aAAa,IAAI,OAAO;CAwBhC"}
@@ -23,13 +23,14 @@ local getRoomVariant = ____roomData.getRoomVariant
23
23
  local getRoomVisitedCount = ____roomData.getRoomVisitedCount
24
24
  local ____Feature = require("src.classes.private.Feature")
25
25
  local Feature = ____Feature.Feature
26
+ local v = {run = {roomHistory = {}}}
26
27
  ____exports.RoomHistory = __TS__Class()
27
28
  local RoomHistory = ____exports.RoomHistory
28
29
  RoomHistory.name = "RoomHistory"
29
30
  __TS__ClassExtends(RoomHistory, Feature)
30
31
  function RoomHistory.prototype.____constructor(self)
31
32
  Feature.prototype.____constructor(self)
32
- self.v = {run = {roomHistory = {}}}
33
+ self.v = v
33
34
  self.postNewRoomEarly = function()
34
35
  local level = game:GetLevel()
35
36
  local stage = level:GetStage()
@@ -60,30 +61,30 @@ function RoomHistory.prototype.____constructor(self)
60
61
  roomListIndex = roomListIndex,
61
62
  roomVisitedCount = roomVisitedCount
62
63
  }
63
- local ____self_v_run_roomHistory_0 = self.v.run.roomHistory
64
- ____self_v_run_roomHistory_0[#____self_v_run_roomHistory_0 + 1] = roomDescription
64
+ local ____v_run_roomHistory_0 = v.run.roomHistory
65
+ ____v_run_roomHistory_0[#____v_run_roomHistory_0 + 1] = roomDescription
65
66
  end
66
67
  self.customCallbacksUsed = {{ModCallbackCustom.POST_NEW_ROOM_EARLY, self.postNewRoomEarly}}
67
68
  end
68
69
  function RoomHistory.prototype.getNumRoomsEntered(self)
69
- return #self.v.run.roomHistory
70
+ return #v.run.roomHistory
70
71
  end
71
72
  function RoomHistory.prototype.getRoomHistory(self)
72
- return self.v.run.roomHistory
73
+ return v.run.roomHistory
73
74
  end
74
75
  function RoomHistory.prototype.getPreviousRoomDescription(self)
75
- local previousRoomDescription = self.v.run.roomHistory[#self.v.run.roomHistory - 2 + 1]
76
+ local previousRoomDescription = v.run.roomHistory[#v.run.roomHistory - 2 + 1]
76
77
  if previousRoomDescription ~= nil then
77
78
  return previousRoomDescription
78
79
  end
79
- local startingRoomDescription = self.v.run.roomHistory[1]
80
+ local startingRoomDescription = v.run.roomHistory[1]
80
81
  if startingRoomDescription ~= nil then
81
82
  return startingRoomDescription
82
83
  end
83
84
  error("Failed to find a room description for any rooms thus far on this run.")
84
85
  end
85
86
  function RoomHistory.prototype.getLatestRoomDescription(self)
86
- return getLastElement(nil, self.v.run.roomHistory)
87
+ return getLastElement(nil, v.run.roomHistory)
87
88
  end
88
89
  function RoomHistory.prototype.isLeavingRoom(self)
89
90
  local level = game:GetLevel()
@@ -1 +1 @@
1
- {"version":3,"file":"RunInNFrames.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/RunInNFrames.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAMvE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAqBhD,qBAAa,YAAa,SAAQ,OAAO;IAYvB,gBAAgB,QAAO,OAAO,CAAU;IAExD,OAAO,CAAC,WAAW,CAAc;IAoBjC,OAAO,CAAC,UAAU,CAchB;IAGF,OAAO,CAAC,UAAU,CAchB;IAEF;;;;;;;;OAQG;IAEI,sBAAsB,CAA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U,CAchB;IAEF;;;;;;;;OAQG;IAEI,sBAAsB,CAAC,SAAS,CAAC,EAAE,UAAU,GAAG,IAAI;IAM3D;;;;;;;;;;;;;;;;OAgBG;IAEI,gBAAgB,CACrB,IAAI,EAAE,MAAM,IAAI,EAChB,aAAa,EAAE,GAAG,EAClB,mBAAmB,UAAQ,GAC1B,IAAI;IAcP;;;;;;;;;;;;;;;;OAgBG;IAEI,kBAAkB,CACvB,IAAI,EAAE,MAAM,IAAI,EAChB,eAAe,EAAE,GAAG,EACpB,mBAAmB,UAAQ,GAC1B,IAAI;IAcP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IAEI,gBAAgB,CAAC,IAAI,EAAE,MAAM,IAAI,EAAE,mBAAmB,UAAQ,GAAG,IAAI;IAI5E;;;;;;;;;;;;;OAaG;IAEI,kBAAkB,CACvB,IAAI,EAAE,MAAM,IAAI,EAChB,mBAAmB,UAAQ,GAC1B,IAAI;IAIP;;;;;;;;;;;;;;;;;;;OAmBG;IAEI,qBAAqB,CAC1B,IAAI,EAAE,MAAM,OAAO,EACnB,aAAa,EAAE,GAAG,EAClB,cAAc,EAAE,OAAO,EACvB,mBAAmB,UAAQ,GAC1B,IAAI;IAqBP;;;;;;;;;;;;;;;;;;;OAmBG;IAEI,uBAAuB,CAC5B,IAAI,EAAE,MAAM,OAAO,EACnB,eAAe,EAAE,GAAG,EACpB,cAAc,EAAE,OAAO,EACvB,mBAAmB,UAAQ,GAC1B,IAAI;CAoBR"}
@@ -69,25 +69,26 @@ function checkExecuteIntervalFunctions(self, intervalFunctions, frameCount, newN
69
69
  end
70
70
  end
71
71
  end
72
+ local v = {run = {queuedGameFunctions = {}, queuedRenderFunctions = {}, intervalGameFunctions = {}, intervalRenderFunctions = {}}}
72
73
  ____exports.RunInNFrames = __TS__Class()
73
74
  local RunInNFrames = ____exports.RunInNFrames
74
75
  RunInNFrames.name = "RunInNFrames"
75
76
  __TS__ClassExtends(RunInNFrames, Feature)
76
77
  function RunInNFrames.prototype.____constructor(self, roomHistory)
77
78
  Feature.prototype.____constructor(self)
78
- self.v = {run = {queuedGameFunctions = {}, queuedRenderFunctions = {}, intervalGameFunctions = {}, intervalRenderFunctions = {}}}
79
+ self.v = v
79
80
  self.vConditionalFunc = function() return false end
80
81
  self.postUpdate = function()
81
82
  local gameFrameCount = game:GetFrameCount()
82
83
  local numRoomsEntered = self.roomHistory:getNumRoomsEntered()
83
- checkExecuteQueuedFunctions(nil, self.v.run.queuedGameFunctions, gameFrameCount, numRoomsEntered)
84
- checkExecuteIntervalFunctions(nil, self.v.run.intervalGameFunctions, gameFrameCount, numRoomsEntered)
84
+ checkExecuteQueuedFunctions(nil, v.run.queuedGameFunctions, gameFrameCount, numRoomsEntered)
85
+ checkExecuteIntervalFunctions(nil, v.run.intervalGameFunctions, gameFrameCount, numRoomsEntered)
85
86
  end
86
87
  self.postRender = function()
87
88
  local renderFrameCount = Isaac.GetFrameCount()
88
89
  local numRoomsEntered = self.roomHistory:getNumRoomsEntered()
89
- checkExecuteQueuedFunctions(nil, self.v.run.queuedRenderFunctions, renderFrameCount, numRoomsEntered)
90
- checkExecuteIntervalFunctions(nil, self.v.run.intervalRenderFunctions, renderFrameCount, numRoomsEntered)
90
+ checkExecuteQueuedFunctions(nil, v.run.queuedRenderFunctions, renderFrameCount, numRoomsEntered)
91
+ checkExecuteIntervalFunctions(nil, v.run.intervalRenderFunctions, renderFrameCount, numRoomsEntered)
91
92
  end
92
93
  self.featuresUsed = {ISCFeature.ROOM_HISTORY}
93
94
  self.callbacksUsed = {{ModCallback.POST_UPDATE, self.postUpdate}, {ModCallback.POST_RENDER, self.postRender}}
@@ -106,8 +107,8 @@ function RunInNFrames.prototype.runInNGameFrames(self, func, numGameFrames, canc
106
107
  local numRoomsEntered = self.roomHistory:getNumRoomsEntered()
107
108
  local frameCountToFire = gameFrameCount + numGameFrames
108
109
  local queuedFunction = {func = func, frameCountToFire = frameCountToFire, numRoomsEntered = numRoomsEntered, cancelIfRoomChanges = cancelIfRoomChanges}
109
- local ____self_v_run_queuedGameFunctions_0 = self.v.run.queuedGameFunctions
110
- ____self_v_run_queuedGameFunctions_0[#____self_v_run_queuedGameFunctions_0 + 1] = queuedFunction
110
+ local ____v_run_queuedGameFunctions_0 = v.run.queuedGameFunctions
111
+ ____v_run_queuedGameFunctions_0[#____v_run_queuedGameFunctions_0 + 1] = queuedFunction
111
112
  end
112
113
  function RunInNFrames.prototype.runInNRenderFrames(self, func, numRenderFrames, cancelIfRoomChanges)
113
114
  if cancelIfRoomChanges == nil then
@@ -117,8 +118,8 @@ function RunInNFrames.prototype.runInNRenderFrames(self, func, numRenderFrames,
117
118
  local numRoomsEntered = self.roomHistory:getNumRoomsEntered()
118
119
  local frameCountToFire = renderFrameCount + numRenderFrames
119
120
  local queuedFunction = {func = func, frameCountToFire = frameCountToFire, numRoomsEntered = numRoomsEntered, cancelIfRoomChanges = cancelIfRoomChanges}
120
- local ____self_v_run_queuedRenderFunctions_1 = self.v.run.queuedRenderFunctions
121
- ____self_v_run_queuedRenderFunctions_1[#____self_v_run_queuedRenderFunctions_1 + 1] = queuedFunction
121
+ local ____v_run_queuedRenderFunctions_1 = v.run.queuedRenderFunctions
122
+ ____v_run_queuedRenderFunctions_1[#____v_run_queuedRenderFunctions_1 + 1] = queuedFunction
122
123
  end
123
124
  function RunInNFrames.prototype.runNextGameFrame(self, func, cancelIfRoomChanges)
124
125
  if cancelIfRoomChanges == nil then
@@ -151,8 +152,8 @@ function RunInNFrames.prototype.setIntervalGameFrames(self, func, numGameFrames,
151
152
  cancelIfRoomChanges = cancelIfRoomChanges,
152
153
  numIntervalFrames = numGameFrames
153
154
  }
154
- local ____self_v_run_intervalGameFunctions_2 = self.v.run.intervalGameFunctions
155
- ____self_v_run_intervalGameFunctions_2[#____self_v_run_intervalGameFunctions_2 + 1] = intervalFunction
155
+ local ____v_run_intervalGameFunctions_2 = v.run.intervalGameFunctions
156
+ ____v_run_intervalGameFunctions_2[#____v_run_intervalGameFunctions_2 + 1] = intervalFunction
156
157
  end
157
158
  function RunInNFrames.prototype.setIntervalRenderFrames(self, func, numRenderFrames, runImmediately, cancelIfRoomChanges)
158
159
  if cancelIfRoomChanges == nil then
@@ -173,8 +174,8 @@ function RunInNFrames.prototype.setIntervalRenderFrames(self, func, numRenderFra
173
174
  cancelIfRoomChanges = cancelIfRoomChanges,
174
175
  numIntervalFrames = numRenderFrames
175
176
  }
176
- local ____self_v_run_intervalRenderFunctions_3 = self.v.run.intervalRenderFunctions
177
- ____self_v_run_intervalRenderFunctions_3[#____self_v_run_intervalRenderFunctions_3 + 1] = intervalFunction
177
+ local ____v_run_intervalRenderFunctions_3 = v.run.intervalRenderFunctions
178
+ ____v_run_intervalRenderFunctions_3[#____v_run_intervalRenderFunctions_3 + 1] = intervalFunction
178
179
  end
179
180
  __TS__Decorate({Exported}, RunInNFrames.prototype, "restartNextRenderFrame", true)
180
181
  __TS__Decorate({Exported}, RunInNFrames.prototype, "runInNGameFrames", true)
@@ -1 +1 @@
1
- {"version":3,"file":"RunNextRoom.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/RunNextRoom.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,WAAY,SAAQ,OAAO;IAQtB,gBAAgB,QAAO,OAAO,CAAU;IAYxD,OAAO,CAAC,oBAAoB,CAM1B;IAEF;;;;;;;;OAQG;IAEI,WAAW,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI;CAG3C"}
1
+ {"version":3,"file":"RunNextRoom.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/RunNextRoom.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,qBAAa,WAAY,SAAQ,OAAO;IAItB,gBAAgB,QAAO,OAAO,CAAU;IAYxD,OAAO,CAAC,oBAAoB,CAM1B;IAEF;;;;;;;;OAQG;IAEI,WAAW,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI;CAG3C"}
@@ -11,25 +11,26 @@ local ____array = require("src.functions.array")
11
11
  local emptyArray = ____array.emptyArray
12
12
  local ____Feature = require("src.classes.private.Feature")
13
13
  local Feature = ____Feature.Feature
14
+ local v = {run = {queuedFunctions = {}}}
14
15
  ____exports.RunNextRoom = __TS__Class()
15
16
  local RunNextRoom = ____exports.RunNextRoom
16
17
  RunNextRoom.name = "RunNextRoom"
17
18
  __TS__ClassExtends(RunNextRoom, Feature)
18
19
  function RunNextRoom.prototype.____constructor(self)
19
20
  Feature.prototype.____constructor(self)
20
- self.v = {run = {queuedFunctions = {}}}
21
+ self.v = v
21
22
  self.vConditionalFunc = function() return false end
22
23
  self.postNewRoomReordered = function()
23
- for ____, func in ipairs(self.v.run.queuedFunctions) do
24
+ for ____, func in ipairs(v.run.queuedFunctions) do
24
25
  func(nil)
25
26
  end
26
- emptyArray(nil, self.v.run.queuedFunctions)
27
+ emptyArray(nil, v.run.queuedFunctions)
27
28
  end
28
29
  self.customCallbacksUsed = {{ModCallbackCustom.POST_NEW_ROOM_REORDERED, self.postNewRoomReordered}}
29
30
  end
30
31
  function RunNextRoom.prototype.runNextRoom(self, func)
31
- local ____self_v_run_queuedFunctions_0 = self.v.run.queuedFunctions
32
- ____self_v_run_queuedFunctions_0[#____self_v_run_queuedFunctions_0 + 1] = func
32
+ local ____v_run_queuedFunctions_0 = v.run.queuedFunctions
33
+ ____v_run_queuedFunctions_0[#____v_run_queuedFunctions_0 + 1] = func
33
34
  end
34
35
  __TS__Decorate({Exported}, RunNextRoom.prototype, "runNextRoom", true)
35
36
  return ____exports
@@ -235,5 +235,6 @@ export declare class SaveDataManager extends Feature {
235
235
  * In order to use this function, you must upgrade your mod with `ISCFeature.SAVE_DATA_MANAGER`.
236
236
  */
237
237
  saveDataManagerInMenu(): boolean;
238
+ saveDataManagerLogSubscribers(): void;
238
239
  }
239
240
  //# sourceMappingURL=SaveDataManager.d.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Extends = ____lualib.__TS__ClassExtends
5
5
  local __TS__TypeOf = ____lualib.__TS__TypeOf
6
6
  local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
7
7
  local __TS__Decorate = ____lualib.__TS__Decorate
8
+ local __TS__ArraySort = ____lualib.__TS__ArraySort
8
9
  local ____exports = {}
9
10
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
10
11
  local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
@@ -21,6 +22,8 @@ local ____SerializationType = require("src.enums.SerializationType")
21
22
  local SerializationType = ____SerializationType.SerializationType
22
23
  local ____deepCopy = require("src.functions.deepCopy")
23
24
  local deepCopy = ____deepCopy.deepCopy
25
+ local ____log = require("src.functions.log")
26
+ local log = ____log.log
24
27
  local ____stage = require("src.functions.stage")
25
28
  local onFirstFloor = ____stage.onFirstFloor
26
29
  local ____tstlClass = require("src.functions.tstlClass")
@@ -194,6 +197,14 @@ end
194
197
  function SaveDataManager.prototype.saveDataManagerInMenu(self)
195
198
  return not self.loadedDataOnThisRun
196
199
  end
200
+ function SaveDataManager.prototype.saveDataManagerLogSubscribers(self)
201
+ log("List of save data manager subscribers:")
202
+ local keys = __TS__ObjectKeys(self.saveDataMap)
203
+ __TS__ArraySort(keys)
204
+ for ____, key in ipairs(keys) do
205
+ log("- " .. key)
206
+ end
207
+ end
197
208
  __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManager", true)
198
209
  __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerLoad", true)
199
210
  __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerSave", true)
@@ -202,4 +213,5 @@ __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerRegisterCl
202
213
  __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerRemove", true)
203
214
  __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerReset", true)
204
215
  __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerInMenu", true)
216
+ __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerLogSubscribers", true)
205
217
  return ____exports
@@ -1 +1 @@
1
- {"version":3,"file":"StageHistory.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/StageHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAUtC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,YAAa,SAAQ,OAAO;IAkBvC,OAAO,CAAC,qBAAqB,CAM3B;IAEF;;;;;;;;;;;;OAYG;IAEI,2BAA2B,CAAC,OAAO,UAAQ,GAAG,SAAS;IAiG9D;;;;;;;;;OASG;IAEI,uBAAuB,IAAI,UAAU;IA8H5C;;;;OAIG;IAEI,eAAe,IAAI,aAAa,CACrC;QAAC,KAAK,EAAE,UAAU;QAAE,SAAS,EAAE,SAAS;KAAC,CAC1C;IAID;;;;;;;;;OASG;IAEI,eAAe,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO;CAY1E"}
1
+ {"version":3,"file":"StageHistory.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/StageHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAUtC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAQhD,qBAAa,YAAa,SAAQ,OAAO;IAcvC,OAAO,CAAC,qBAAqB,CAM3B;IAEF;;;;;;;;;;;;OAYG;IAEI,2BAA2B,CAAC,OAAO,UAAQ,GAAG,SAAS;IAiG9D;;;;;;;;;OASG;IAEI,uBAAuB,IAAI,UAAU;IA8H5C;;;;OAIG;IAEI,eAAe,IAAI,aAAa,CACrC;QAAC,KAAK,EAAE,UAAU;QAAE,SAAS,EAAE,SAAS;KAAC,CAC1C;IAID;;;;;;;;;OASG;IAEI,eAAe,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO;CAY1E"}
@@ -24,19 +24,20 @@ local ____types = require("src.functions.types")
24
24
  local asNumber = ____types.asNumber
25
25
  local ____Feature = require("src.classes.private.Feature")
26
26
  local Feature = ____Feature.Feature
27
+ local v = {run = {stageHistory = {}}}
27
28
  ____exports.StageHistory = __TS__Class()
28
29
  local StageHistory = ____exports.StageHistory
29
30
  StageHistory.name = "StageHistory"
30
31
  __TS__ClassExtends(StageHistory, Feature)
31
32
  function StageHistory.prototype.____constructor(self)
32
33
  Feature.prototype.____constructor(self)
33
- self.v = {run = {stageHistory = {}}}
34
+ self.v = v
34
35
  self.postNewLevelReordered = function()
35
36
  local level = game:GetLevel()
36
37
  local stage = level:GetStage()
37
38
  local stageType = level:GetStageType()
38
- local ____self_v_run_stageHistory_0 = self.v.run.stageHistory
39
- ____self_v_run_stageHistory_0[#____self_v_run_stageHistory_0 + 1] = {stage, stageType}
39
+ local ____v_run_stageHistory_0 = v.run.stageHistory
40
+ ____v_run_stageHistory_0[#____v_run_stageHistory_0 + 1] = {stage, stageType}
40
41
  end
41
42
  self.customCallbacksUsed = {{ModCallbackCustom.POST_NEW_LEVEL_REORDERED, self.postNewLevelReordered}}
42
43
  end
@@ -169,12 +170,12 @@ function StageHistory.prototype.getNextStageWithHistory(self)
169
170
  return asNumber(nil, stage) - 1
170
171
  end
171
172
  function StageHistory.prototype.getStageHistory(self)
172
- return self.v.run.stageHistory
173
+ return v.run.stageHistory
173
174
  end
174
175
  function StageHistory.prototype.hasVisitedStage(self, stage, stageType)
175
176
  if stageType == nil then
176
177
  return __TS__ArraySome(
177
- self.v.run.stageHistory,
178
+ v.run.stageHistory,
178
179
  function(____, ____bindingPattern0)
179
180
  local previousStage
180
181
  previousStage = ____bindingPattern0[1]
@@ -183,7 +184,7 @@ function StageHistory.prototype.hasVisitedStage(self, stage, stageType)
183
184
  )
184
185
  end
185
186
  return __TS__ArraySome(
186
- self.v.run.stageHistory,
187
+ v.run.stageHistory,
187
188
  function(____, ____bindingPattern0)
188
189
  local previousStageType
189
190
  local previousStage
@@ -1 +1 @@
1
- {"version":3,"file":"TaintedLazarusPlayers.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/TaintedLazarusPlayers.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,OAAO;IAwBhC,gBAAgB,QAAO,OAAO,CAAU;IAaxD,OAAO,CAAC,cAAc,CAYpB;IAEF;;;;;;;;OAQG;IACH,OAAO,CAAC,YAAY;IA6BpB;;;;;;;;;;;;;OAaG;IAEI,0BAA0B,CAC/B,MAAM,EAAE,YAAY,GACnB,YAAY,GAAG,SAAS;CAI5B"}
1
+ {"version":3,"file":"TaintedLazarusPlayers.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/TaintedLazarusPlayers.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAuBhD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,OAAO;IAIhC,gBAAgB,QAAO,OAAO,CAAU;IAaxD,OAAO,CAAC,cAAc,CAYpB;IAEF;;;;;;;;OAQG;IACH,OAAO,CAAC,YAAY;IA6BpB;;;;;;;;;;;;;OAaG;IAEI,0BAA0B,CAC/B,MAAM,EAAE,YAAY,GACnB,YAAY,GAAG,SAAS;CAI5B"}