isaacscript-common 6.6.4 → 6.7.1

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 (250) hide show
  1. package/dist/callbacks/customRevive.lua +4 -4
  2. package/dist/callbacks/postCursedTeleport.lua +2 -2
  3. package/dist/callbacks/postCustomDoorEnter.d.ts +1 -1
  4. package/dist/callbacks/postCustomDoorEnter.lua +6 -6
  5. package/dist/callbacks/postDiceRoomActivated.lua +2 -2
  6. package/dist/callbacks/postFlip.lua +3 -3
  7. package/dist/callbacks/postGridEntity.lua +3 -3
  8. package/dist/callbacks/postGridEntityCollision.lua +3 -3
  9. package/dist/callbacks/postGridEntityRender.lua +2 -2
  10. package/dist/callbacks/postNewRoomEarly.lua +5 -5
  11. package/dist/callbacks/postPickupCollect.lua +2 -2
  12. package/dist/callbacks/postPitRender.lua +2 -2
  13. package/dist/callbacks/postPitUpdate.lua +2 -2
  14. package/dist/callbacks/postPlayerCollectible.lua +2 -2
  15. package/dist/callbacks/postPoopRender.lua +2 -2
  16. package/dist/callbacks/postPoopUpdate.lua +2 -2
  17. package/dist/callbacks/postPressurePlateRender.lua +2 -2
  18. package/dist/callbacks/postPressurePlateUpdate.lua +2 -2
  19. package/dist/callbacks/postPurchase.lua +2 -2
  20. package/dist/callbacks/postRockRender.lua +2 -2
  21. package/dist/callbacks/postRockUpdate.lua +2 -2
  22. package/dist/callbacks/postSlotInitUpdate.lua +2 -2
  23. package/dist/callbacks/postSlotRender.lua +2 -2
  24. package/dist/callbacks/postSpikesRender.lua +2 -2
  25. package/dist/callbacks/postSpikesUpdate.lua +2 -2
  26. package/dist/callbacks/postTNTRender.lua +2 -2
  27. package/dist/callbacks/postTNTUpdate.lua +2 -2
  28. package/dist/callbacks/preBerserkDeath.lua +2 -2
  29. package/dist/callbacks/preNewLevel.lua +2 -2
  30. package/dist/callbacks/subscriptions/postDoorRender.d.ts +2 -3
  31. package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -1
  32. package/dist/callbacks/subscriptions/postDoorRender.lua +3 -3
  33. package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +2 -3
  34. package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -1
  35. package/dist/callbacks/subscriptions/postDoorUpdate.lua +3 -3
  36. package/dist/callbacks/subscriptions/postPitRender.d.ts +2 -3
  37. package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -1
  38. package/dist/callbacks/subscriptions/postPitRender.lua +3 -3
  39. package/dist/callbacks/subscriptions/postPitUpdate.d.ts +2 -3
  40. package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -1
  41. package/dist/callbacks/subscriptions/postPitUpdate.lua +3 -3
  42. package/dist/callbacks/subscriptions/postPoopRender.d.ts +2 -3
  43. package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -1
  44. package/dist/callbacks/subscriptions/postPoopRender.lua +3 -3
  45. package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +2 -3
  46. package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -1
  47. package/dist/callbacks/subscriptions/postPoopUpdate.lua +3 -3
  48. package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +2 -3
  49. package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -1
  50. package/dist/callbacks/subscriptions/postPressurePlateRender.lua +3 -3
  51. package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +2 -3
  52. package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -1
  53. package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +3 -3
  54. package/dist/enums/private/SerializationBrand.d.ts +0 -4
  55. package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
  56. package/dist/features/characterStats.lua +2 -2
  57. package/dist/features/collectibleItemPoolType.lua +2 -2
  58. package/dist/features/customGridEntity.d.ts.map +1 -1
  59. package/dist/features/customGridEntity.lua +5 -5
  60. package/dist/features/customStage/backdrop.lua +2 -2
  61. package/dist/features/customStage/{gridEntities.d.ts → customStageGridEntities.d.ts} +1 -1
  62. package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -0
  63. package/dist/features/customStage/{gridEntities.lua → customStageGridEntities.lua} +8 -8
  64. package/dist/features/customStage/{util.d.ts → customStageUtils.d.ts} +1 -1
  65. package/dist/features/customStage/customStageUtils.d.ts.map +1 -0
  66. package/dist/features/customStage/{util.lua → customStageUtils.lua} +0 -0
  67. package/dist/features/customStage/exports.lua +4 -4
  68. package/dist/features/customStage/init.lua +6 -6
  69. package/dist/features/customStage/shadows.lua +2 -2
  70. package/dist/features/customStage/versusScreen.lua +4 -4
  71. package/dist/features/debugDisplay/v.lua +4 -4
  72. package/dist/features/deployJSONRoom.lua +20 -20
  73. package/dist/features/extraConsoleCommands/commandsSubroutines.lua +3 -3
  74. package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
  75. package/dist/features/extraConsoleCommands/listCommands.lua +14 -14
  76. package/dist/features/pause.lua +2 -2
  77. package/dist/features/persistentEntities.lua +2 -2
  78. package/dist/features/preventCollectibleRotation.lua +2 -2
  79. package/dist/features/saveDataManager/exports.d.ts.map +1 -1
  80. package/dist/features/sirenHelpers.lua +2 -2
  81. package/dist/functions/ambush.lua +5 -5
  82. package/dist/functions/{boss.d.ts → bosses.d.ts} +22 -4
  83. package/dist/functions/bosses.d.ts.map +1 -0
  84. package/dist/functions/{boss.lua → bosses.lua} +38 -13
  85. package/dist/functions/collectibleTag.lua +2 -2
  86. package/dist/functions/collectibles.lua +5 -5
  87. package/dist/functions/deepCopy.d.ts +8 -5
  88. package/dist/functions/deepCopy.d.ts.map +1 -1
  89. package/dist/functions/deepCopy.lua +142 -38
  90. package/dist/functions/{entity.d.ts → entities.d.ts} +21 -19
  91. package/dist/functions/entities.d.ts.map +1 -0
  92. package/dist/functions/{entity.lua → entities.lua} +25 -20
  93. package/dist/functions/{entitySpecific.d.ts → entitiesSpecific.d.ts} +145 -68
  94. package/dist/functions/entitiesSpecific.d.ts.map +1 -0
  95. package/dist/functions/{entitySpecific.lua → entitiesSpecific.lua} +203 -65
  96. package/dist/functions/familiars.lua +2 -2
  97. package/dist/functions/{gridEntity.d.ts → gridEntities.d.ts} +48 -17
  98. package/dist/functions/gridEntities.d.ts.map +1 -0
  99. package/dist/functions/{gridEntity.lua → gridEntities.lua} +140 -90
  100. package/dist/functions/gridEntitiesSpecific.d.ts +141 -0
  101. package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -0
  102. package/dist/functions/gridEntitiesSpecific.lua +366 -0
  103. package/dist/functions/log.d.ts +1 -1
  104. package/dist/functions/log.lua +9 -9
  105. package/dist/functions/{npc.d.ts → npcs.d.ts} +24 -2
  106. package/dist/functions/npcs.d.ts.map +1 -0
  107. package/dist/functions/{npc.lua → npcs.lua} +44 -9
  108. package/dist/functions/pickups.d.ts +4 -119
  109. package/dist/functions/pickups.d.ts.map +1 -1
  110. package/dist/functions/pickups.lua +10 -439
  111. package/dist/functions/pickupsSpecific.d.ts +229 -0
  112. package/dist/functions/pickupsSpecific.d.ts.map +1 -0
  113. package/dist/functions/pickupsSpecific.lua +560 -0
  114. package/dist/functions/playerHealth.lua +6 -6
  115. package/dist/functions/{player.d.ts → players.d.ts} +1 -1
  116. package/dist/functions/players.d.ts.map +1 -0
  117. package/dist/functions/{player.lua → players.lua} +0 -0
  118. package/dist/functions/pocketItems.lua +2 -2
  119. package/dist/functions/positionVelocity.lua +6 -6
  120. package/dist/functions/pressurePlate.d.ts +10 -0
  121. package/dist/functions/pressurePlate.d.ts.map +1 -0
  122. package/dist/functions/pressurePlate.lua +29 -0
  123. package/dist/functions/revive.lua +7 -7
  124. package/dist/functions/rooms.lua +2 -2
  125. package/dist/functions/saveFile.lua +3 -3
  126. package/dist/functions/spawnCollectible.lua +4 -4
  127. package/dist/functions/{sprite.d.ts → sprites.d.ts} +1 -1
  128. package/dist/functions/sprites.d.ts.map +1 -0
  129. package/dist/functions/{sprite.lua → sprites.lua} +0 -0
  130. package/dist/functions/table.d.ts +1 -1
  131. package/dist/functions/table.lua +1 -1
  132. package/dist/functions/transformations.lua +2 -2
  133. package/dist/functions/trinketGive.lua +2 -2
  134. package/dist/functions/trinkets.lua +6 -6
  135. package/dist/functions/utils.d.ts +7 -0
  136. package/dist/functions/utils.d.ts.map +1 -1
  137. package/dist/functions/utils.lua +35 -22
  138. package/dist/index.d.ts +10 -8
  139. package/dist/index.d.ts.map +1 -1
  140. package/dist/index.lua +26 -10
  141. package/dist/types/AnyGridEntity.d.ts +10 -0
  142. package/dist/types/AnyGridEntity.d.ts.map +1 -0
  143. package/dist/types/AnyGridEntity.lua +2 -0
  144. package/package.json +2 -2
  145. package/src/callbacks/customRevive.ts +2 -2
  146. package/src/callbacks/postCursedTeleport.ts +2 -2
  147. package/src/callbacks/postCustomDoorEnter.ts +3 -3
  148. package/src/callbacks/postDiceRoomActivated.ts +1 -1
  149. package/src/callbacks/postFlip.ts +1 -1
  150. package/src/callbacks/postGridEntity.ts +1 -1
  151. package/src/callbacks/postGridEntityCollision.ts +1 -1
  152. package/src/callbacks/postGridEntityRender.ts +1 -1
  153. package/src/callbacks/postNewRoomEarly.ts +9 -3
  154. package/src/callbacks/postPickupCollect.ts +1 -1
  155. package/src/callbacks/postPitRender.ts +1 -1
  156. package/src/callbacks/postPitUpdate.ts +1 -1
  157. package/src/callbacks/postPlayerCollectible.ts +2 -2
  158. package/src/callbacks/postPoopRender.ts +1 -1
  159. package/src/callbacks/postPoopUpdate.ts +1 -1
  160. package/src/callbacks/postPressurePlateRender.ts +1 -1
  161. package/src/callbacks/postPressurePlateUpdate.ts +1 -1
  162. package/src/callbacks/postPurchase.ts +1 -1
  163. package/src/callbacks/postRockRender.ts +1 -1
  164. package/src/callbacks/postRockUpdate.ts +1 -1
  165. package/src/callbacks/postSacrifice.ts +1 -1
  166. package/src/callbacks/postSlotInitUpdate.ts +1 -1
  167. package/src/callbacks/postSlotRender.ts +1 -1
  168. package/src/callbacks/postSpikesRender.ts +1 -1
  169. package/src/callbacks/postSpikesUpdate.ts +1 -1
  170. package/src/callbacks/postTNTRender.ts +1 -1
  171. package/src/callbacks/postTNTUpdate.ts +1 -1
  172. package/src/callbacks/preBerserkDeath.ts +1 -1
  173. package/src/callbacks/preNewLevel.ts +1 -1
  174. package/src/callbacks/subscriptions/postDoorRender.ts +7 -5
  175. package/src/callbacks/subscriptions/postDoorUpdate.ts +7 -5
  176. package/src/callbacks/subscriptions/postPitRender.ts +6 -7
  177. package/src/callbacks/subscriptions/postPitUpdate.ts +6 -7
  178. package/src/callbacks/subscriptions/postPoopRender.ts +7 -5
  179. package/src/callbacks/subscriptions/postPoopUpdate.ts +7 -5
  180. package/src/callbacks/subscriptions/postPressurePlateRender.ts +7 -5
  181. package/src/callbacks/subscriptions/postPressurePlateUpdate.ts +7 -5
  182. package/src/enums/private/SerializationBrand.ts +0 -4
  183. package/src/features/characterStats.ts +1 -1
  184. package/src/features/collectibleItemPoolType.ts +1 -1
  185. package/src/features/customGridEntity.ts +6 -3
  186. package/src/features/customStage/backdrop.ts +1 -1
  187. package/src/features/customStage/{gridEntities.ts → customStageGridEntities.ts} +3 -3
  188. package/src/features/customStage/{util.ts → customStageUtils.ts} +0 -0
  189. package/src/features/customStage/exports.ts +2 -2
  190. package/src/features/customStage/init.ts +1 -1
  191. package/src/features/customStage/shadows.ts +1 -1
  192. package/src/features/customStage/versusScreen.ts +2 -2
  193. package/src/features/debugDisplay/v.ts +2 -2
  194. package/src/features/deployJSONRoom.ts +11 -7
  195. package/src/features/extraConsoleCommands/commandsSubroutines.ts +2 -2
  196. package/src/features/extraConsoleCommands/listCommands.ts +13 -9
  197. package/src/features/pause.ts +1 -1
  198. package/src/features/persistentEntities.ts +2 -2
  199. package/src/features/preventCollectibleRotation.ts +1 -1
  200. package/src/features/saveDataManager/exports.ts +7 -4
  201. package/src/features/sirenHelpers.ts +1 -1
  202. package/src/functions/ambush.ts +2 -2
  203. package/src/functions/array.ts +1 -1
  204. package/src/functions/bitwise.ts +2 -2
  205. package/src/functions/{boss.ts → bosses.ts} +29 -21
  206. package/src/functions/collectibleTag.ts +1 -1
  207. package/src/functions/collectibles.ts +2 -2
  208. package/src/functions/deepCopy.ts +98 -19
  209. package/src/functions/deepCopyTests.ts +6 -4
  210. package/src/functions/{entity.ts → entities.ts} +23 -21
  211. package/src/functions/{entitySpecific.ts → entitiesSpecific.ts} +170 -99
  212. package/src/functions/familiars.ts +1 -1
  213. package/src/functions/{gridEntity.ts → gridEntities.ts} +110 -34
  214. package/src/functions/gridEntitiesSpecific.ts +490 -0
  215. package/src/functions/log.ts +6 -6
  216. package/src/functions/{npc.ts → npcs.ts} +42 -11
  217. package/src/functions/pickups.ts +8 -475
  218. package/src/functions/pickupsSpecific.ts +613 -0
  219. package/src/functions/playerHealth.ts +1 -1
  220. package/src/functions/{player.ts → players.ts} +0 -0
  221. package/src/functions/pocketItems.ts +1 -1
  222. package/src/functions/positionVelocity.ts +3 -3
  223. package/src/functions/pressurePlate.ts +29 -0
  224. package/src/functions/revive.ts +2 -2
  225. package/src/functions/rooms.ts +1 -1
  226. package/src/functions/saveFile.ts +1 -1
  227. package/src/functions/spawnCollectible.ts +2 -2
  228. package/src/functions/{sprite.ts → sprites.ts} +0 -0
  229. package/src/functions/table.ts +1 -1
  230. package/src/functions/transformations.ts +1 -1
  231. package/src/functions/trinketGive.ts +4 -4
  232. package/src/functions/trinkets.ts +3 -3
  233. package/src/functions/tstlClass.ts +1 -1
  234. package/src/functions/ui.ts +3 -3
  235. package/src/functions/utils.ts +32 -13
  236. package/src/index.ts +10 -8
  237. package/src/types/AnyGridEntity.ts +9 -0
  238. package/dist/features/customStage/gridEntities.d.ts.map +0 -1
  239. package/dist/features/customStage/util.d.ts.map +0 -1
  240. package/dist/functions/boss.d.ts.map +0 -1
  241. package/dist/functions/entity.d.ts.map +0 -1
  242. package/dist/functions/entitySpecific.d.ts.map +0 -1
  243. package/dist/functions/gridEntity.d.ts.map +0 -1
  244. package/dist/functions/gridEntitySpecific.d.ts +0 -29
  245. package/dist/functions/gridEntitySpecific.d.ts.map +0 -1
  246. package/dist/functions/gridEntitySpecific.lua +0 -114
  247. package/dist/functions/npc.d.ts.map +0 -1
  248. package/dist/functions/player.d.ts.map +0 -1
  249. package/dist/functions/sprite.d.ts.map +0 -1
  250. package/src/functions/gridEntitySpecific.ts +0 -143
@@ -16,16 +16,16 @@ local ____exports = require("features.saveDataManager.exports")
16
16
  local saveDataManager = ____exports.saveDataManager
17
17
  local ____collectibles = require("functions.collectibles")
18
18
  local removeCollectibleFromItemTracker = ____collectibles.removeCollectibleFromItemTracker
19
- local ____entitySpecific = require("functions.entitySpecific")
20
- local removeAllFamiliars = ____entitySpecific.removeAllFamiliars
19
+ local ____entitiesSpecific = require("functions.entitiesSpecific")
20
+ local removeAllFamiliars = ____entitiesSpecific.removeAllFamiliars
21
21
  local ____log = require("functions.log")
22
22
  local log = ____log.log
23
23
  local logError = ____log.logError
24
- local ____player = require("functions.player")
25
- local isCharacter = ____player.isCharacter
26
24
  local ____playerIndex = require("functions.playerIndex")
27
25
  local getPlayerFromIndex = ____playerIndex.getPlayerFromIndex
28
26
  local getPlayerIndex = ____playerIndex.getPlayerIndex
27
+ local ____players = require("functions.players")
28
+ local isCharacter = ____players.isCharacter
29
29
  local ____postCustomRevive = require("callbacks.subscriptions.postCustomRevive")
30
30
  local postCustomReviveFire = ____postCustomRevive.postCustomReviveFire
31
31
  local postCustomReviveHasSubscriptions = ____postCustomRevive.postCustomReviveHasSubscriptions
@@ -17,11 +17,11 @@ local ____exports = require("features.saveDataManager.exports")
17
17
  local saveDataManager = ____exports.saveDataManager
18
18
  local ____flag = require("functions.flag")
19
19
  local hasFlag = ____flag.hasFlag
20
- local ____player = require("functions.player")
21
- local getPlayerNumHitsRemaining = ____player.getPlayerNumHitsRemaining
22
20
  local ____playerDataStructures = require("functions.playerDataStructures")
23
21
  local mapGetPlayer = ____playerDataStructures.mapGetPlayer
24
22
  local mapSetPlayer = ____playerDataStructures.mapSetPlayer
23
+ local ____players = require("functions.players")
24
+ local getPlayerNumHitsRemaining = ____players.getPlayerNumHitsRemaining
25
25
  local ____postCursedTeleport = require("callbacks.subscriptions.postCursedTeleport")
26
26
  local postCursedTeleportFire = ____postCursedTeleport.postCursedTeleportFire
27
27
  local postCursedTeleportHasSubscriptions = ____postCursedTeleport.postCursedTeleportHasSubscriptions
@@ -39,7 +39,7 @@ export declare function initCustomDoor(mod: ModUpgraded, effectVariant: EffectVa
39
39
  * The custom door is an `EntityEffect`. You can manually open or close the door by modifying its
40
40
  * state. (The values to use correspond to the `DoorState` enum.)
41
41
  *
42
- * This function will throw a runtime error if:
42
+ * This function will throw a run-time error if:
43
43
  * - the door slot already has a vanilla door
44
44
  * - the door slot already has a custom door
45
45
  * - the tile at the door slot does not have a wall
@@ -20,11 +20,11 @@ local ____direction = require("functions.direction")
20
20
  local directionToVector = ____direction.directionToVector
21
21
  local ____doors = require("functions.doors")
22
22
  local doorSlotToDirection = ____doors.doorSlotToDirection
23
- local ____entitySpecific = require("functions.entitySpecific")
24
- local getEffects = ____entitySpecific.getEffects
25
- local spawnEffect = ____entitySpecific.spawnEffect
26
- local ____player = require("functions.player")
27
- local getClosestPlayer = ____player.getClosestPlayer
23
+ local ____entitiesSpecific = require("functions.entitiesSpecific")
24
+ local getEffects = ____entitiesSpecific.getEffects
25
+ local spawnEffect = ____entitiesSpecific.spawnEffect
26
+ local ____players = require("functions.players")
27
+ local getClosestPlayer = ____players.getClosestPlayer
28
28
  local ____postCustomDoorEnter = require("callbacks.subscriptions.postCustomDoorEnter")
29
29
  local postCustomDoorEnterFire = ____postCustomDoorEnter.postCustomDoorEnterFire
30
30
  local postCustomDoorEnterHasSubscriptions = ____postCustomDoorEnter.postCustomDoorEnterHasSubscriptions
@@ -199,7 +199,7 @@ end
199
199
  -- The custom door is an `EntityEffect`. You can manually open or close the door by modifying its
200
200
  -- state. (The values to use correspond to the `DoorState` enum.)
201
201
  --
202
- -- This function will throw a runtime error if:
202
+ -- This function will throw a run-time error if:
203
203
  -- - the door slot already has a vanilla door
204
204
  -- - the door slot already has a custom door
205
205
  -- - the tile at the door slot does not have a wall
@@ -7,8 +7,8 @@ local ____exports = require("features.saveDataManager.exports")
7
7
  local saveDataManager = ____exports.saveDataManager
8
8
  local ____effects = require("functions.effects")
9
9
  local isCloseEnoughToTriggerDiceFloor = ____effects.isCloseEnoughToTriggerDiceFloor
10
- local ____player = require("functions.player")
11
- local getClosestPlayer = ____player.getClosestPlayer
10
+ local ____players = require("functions.players")
11
+ local getClosestPlayer = ____players.getClosestPlayer
12
12
  local ____postDiceRoomActivated = require("callbacks.subscriptions.postDiceRoomActivated")
13
13
  local postDiceRoomActivatedFire = ____postDiceRoomActivated.postDiceRoomActivatedFire
14
14
  local postDiceRoomActivatedHasSubscriptions = ____postDiceRoomActivated.postDiceRoomActivatedHasSubscriptions
@@ -8,9 +8,9 @@ local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
8
8
  local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
9
9
  local ____exports = require("features.saveDataManager.exports")
10
10
  local saveDataManager = ____exports.saveDataManager
11
- local ____player = require("functions.player")
12
- local getPlayersOfType = ____player.getPlayersOfType
13
- local isTaintedLazarus = ____player.isTaintedLazarus
11
+ local ____players = require("functions.players")
12
+ local getPlayersOfType = ____players.getPlayersOfType
13
+ local isTaintedLazarus = ____players.isTaintedLazarus
14
14
  local ____postFirstFlip = require("callbacks.subscriptions.postFirstFlip")
15
15
  local postFirstFlipFire = ____postFirstFlip.postFirstFlipFire
16
16
  local postFirstFlipHasSubscriptions = ____postFirstFlip.postFirstFlipHasSubscriptions
@@ -10,9 +10,9 @@ local ____ModCallbackCustom = require("enums.ModCallbackCustom")
10
10
  local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
11
11
  local ____exports = require("features.saveDataManager.exports")
12
12
  local saveDataManager = ____exports.saveDataManager
13
- local ____gridEntity = require("functions.gridEntity")
14
- local getGridEntitiesMap = ____gridEntity.getGridEntitiesMap
15
- local isGridEntityBroken = ____gridEntity.isGridEntityBroken
13
+ local ____gridEntities = require("functions.gridEntities")
14
+ local getGridEntitiesMap = ____gridEntities.getGridEntitiesMap
15
+ local isGridEntityBroken = ____gridEntities.isGridEntityBroken
16
16
  local ____postGridEntityBroken = require("callbacks.subscriptions.postGridEntityBroken")
17
17
  local postGridEntityBrokenFire = ____postGridEntityBroken.postGridEntityBrokenFire
18
18
  local postGridEntityBrokenHasSubscriptions = ____postGridEntityBroken.postGridEntityBrokenHasSubscriptions
@@ -13,9 +13,9 @@ local ____DefaultMap = require("classes.DefaultMap")
13
13
  local DefaultMap = ____DefaultMap.DefaultMap
14
14
  local ____exports = require("features.saveDataManager.exports")
15
15
  local saveDataManager = ____exports.saveDataManager
16
- local ____gridEntity = require("functions.gridEntity")
17
- local getCollidingEntitiesWithGridEntity = ____gridEntity.getCollidingEntitiesWithGridEntity
18
- local getGridEntities = ____gridEntity.getGridEntities
16
+ local ____gridEntities = require("functions.gridEntities")
17
+ local getCollidingEntitiesWithGridEntity = ____gridEntities.getCollidingEntitiesWithGridEntity
18
+ local getGridEntities = ____gridEntities.getGridEntities
19
19
  local ____postGridEntityCollision = require("callbacks.subscriptions.postGridEntityCollision")
20
20
  local postGridEntityCollisionFire = ____postGridEntityCollision.postGridEntityCollisionFire
21
21
  local postGridEntityCollisionHasSubscriptions = ____postGridEntityCollision.postGridEntityCollisionHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postRender
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntity = require("functions.gridEntity")
6
- local getGridEntities = ____gridEntity.getGridEntities
5
+ local ____gridEntities = require("functions.gridEntities")
6
+ local getGridEntities = ____gridEntities.getGridEntities
7
7
  local ____postGridEntityRender = require("callbacks.subscriptions.postGridEntityRender")
8
8
  local postGridEntityRenderFire = ____postGridEntityRender.postGridEntityRenderFire
9
9
  local postGridEntityRenderHasSubscriptions = ____postGridEntityRender.postGridEntityRenderHasSubscriptions
@@ -5,9 +5,9 @@ local GridEntityType = ____isaac_2Dtypescript_2Ddefinitions.GridEntityType
5
5
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
6
6
  local ____cachedClasses = require("cachedClasses")
7
7
  local game = ____cachedClasses.game
8
- local ____gridEntity = require("functions.gridEntity")
9
- local getTopLeftWallGridIndex = ____gridEntity.getTopLeftWallGridIndex
10
- local spawnGrid = ____gridEntity.spawnGrid
8
+ local ____gridEntities = require("functions.gridEntities")
9
+ local getTopLeftWallGridIndex = ____gridEntities.getTopLeftWallGridIndex
10
+ local spawnGridEntity = ____gridEntities.spawnGridEntity
11
11
  local ____log = require("functions.log")
12
12
  local logError = ____log.logError
13
13
  local ____postNewRoomEarly = require("callbacks.subscriptions.postNewRoomEarly")
@@ -36,14 +36,14 @@ function checkRoomChanged(self)
36
36
  local topLeftWall = room:GetGridEntity(topLeftWallGridIndex)
37
37
  local topLeftWall2 = room:GetGridEntity(rightOfTopWallGridIndex)
38
38
  if topLeftWall == nil then
39
- topLeftWall = spawnGrid(nil, GridEntityType.WALL, topLeftWallGridIndex)
39
+ topLeftWall = spawnGridEntity(nil, GridEntityType.WALL, topLeftWallGridIndex)
40
40
  if topLeftWall == nil then
41
41
  logError("Failed to spawn a new wall (1) for the PostNewRoomEarly callback.")
42
42
  return
43
43
  end
44
44
  end
45
45
  if topLeftWall2 == nil then
46
- topLeftWall2 = spawnGrid(nil, GridEntityType.WALL, rightOfTopWallGridIndex)
46
+ topLeftWall2 = spawnGridEntity(nil, GridEntityType.WALL, rightOfTopWallGridIndex)
47
47
  if topLeftWall2 == nil then
48
48
  logError("Failed to spawn a new wall (2) for the PostNewRoomEarly callback.")
49
49
  return
@@ -7,8 +7,8 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
7
7
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
8
8
  local ____exports = require("features.saveDataManager.exports")
9
9
  local saveDataManager = ____exports.saveDataManager
10
- local ____player = require("functions.player")
11
- local getClosestPlayer = ____player.getClosestPlayer
10
+ local ____players = require("functions.players")
11
+ local getClosestPlayer = ____players.getClosestPlayer
12
12
  local ____postPickupCollect = require("callbacks.subscriptions.postPickupCollect")
13
13
  local postPickupCollectFire = ____postPickupCollect.postPickupCollectFire
14
14
  local postPickupCollectHasSubscriptions = ____postPickupCollect.postPickupCollectHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postRender
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getPits = ____gridEntitySpecific.getPits
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getPits = ____gridEntitiesSpecific.getPits
7
7
  local ____postPitRender = require("callbacks.subscriptions.postPitRender")
8
8
  local postPitRenderFire = ____postPitRender.postPitRenderFire
9
9
  local postPitRenderHasSubscriptions = ____postPitRender.postPitRenderHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postUpdate
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getPits = ____gridEntitySpecific.getPits
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getPits = ____gridEntitiesSpecific.getPits
7
7
  local ____postPitUpdate = require("callbacks.subscriptions.postPitUpdate")
8
8
  local postPitUpdateFire = ____postPitUpdate.postPitUpdateFire
9
9
  local postPitUpdateHasSubscriptions = ____postPitUpdate.postPitUpdateHasSubscriptions
@@ -14,12 +14,12 @@ local ____DefaultMap = require("classes.DefaultMap")
14
14
  local DefaultMap = ____DefaultMap.DefaultMap
15
15
  local ____exports = require("features.saveDataManager.exports")
16
16
  local saveDataManager = ____exports.saveDataManager
17
- local ____player = require("functions.player")
18
- local getPlayerCollectibleMap = ____player.getPlayerCollectibleMap
19
17
  local ____playerDataStructures = require("functions.playerDataStructures")
20
18
  local defaultMapGetPlayer = ____playerDataStructures.defaultMapGetPlayer
21
19
  local mapGetPlayer = ____playerDataStructures.mapGetPlayer
22
20
  local mapSetPlayer = ____playerDataStructures.mapSetPlayer
21
+ local ____players = require("functions.players")
22
+ local getPlayerCollectibleMap = ____players.getPlayerCollectibleMap
23
23
  local ____utils = require("functions.utils")
24
24
  local ____repeat = ____utils["repeat"]
25
25
  local ____postPlayerCollectibleAdded = require("callbacks.subscriptions.postPlayerCollectibleAdded")
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postRender
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getPoops = ____gridEntitySpecific.getPoops
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getPoops = ____gridEntitiesSpecific.getPoops
7
7
  local ____postPoopRender = require("callbacks.subscriptions.postPoopRender")
8
8
  local postPoopRenderFire = ____postPoopRender.postPoopRenderFire
9
9
  local postPoopRenderHasSubscriptions = ____postPoopRender.postPoopRenderHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postUpdate
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getPoops = ____gridEntitySpecific.getPoops
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getPoops = ____gridEntitiesSpecific.getPoops
7
7
  local ____postPoopUpdate = require("callbacks.subscriptions.postPoopUpdate")
8
8
  local postPoopUpdateFire = ____postPoopUpdate.postPoopUpdateFire
9
9
  local postPoopUpdateHasSubscriptions = ____postPoopUpdate.postPoopUpdateHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postRender
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getPressurePlates = ____gridEntitySpecific.getPressurePlates
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getPressurePlates = ____gridEntitiesSpecific.getPressurePlates
7
7
  local ____postPressurePlateRender = require("callbacks.subscriptions.postPressurePlateRender")
8
8
  local postPressurePlateRenderFire = ____postPressurePlateRender.postPressurePlateRenderFire
9
9
  local postPressurePlateRenderHasSubscriptions = ____postPressurePlateRender.postPressurePlateRenderHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postUpdate
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getPressurePlates = ____gridEntitySpecific.getPressurePlates
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getPressurePlates = ____gridEntitiesSpecific.getPressurePlates
7
7
  local ____postPressurePlateUpdate = require("callbacks.subscriptions.postPressurePlateUpdate")
8
8
  local postPressurePlateUpdateFire = ____postPressurePlateUpdate.postPressurePlateUpdateFire
9
9
  local postPressurePlateUpdateHasSubscriptions = ____postPressurePlateUpdate.postPressurePlateUpdateHasSubscriptions
@@ -9,8 +9,8 @@ local ____ModCallbackCustom = require("enums.ModCallbackCustom")
9
9
  local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
10
10
  local ____exports = require("features.saveDataManager.exports")
11
11
  local saveDataManager = ____exports.saveDataManager
12
- local ____entitySpecific = require("functions.entitySpecific")
13
- local getPickups = ____entitySpecific.getPickups
12
+ local ____entitiesSpecific = require("functions.entitiesSpecific")
13
+ local getPickups = ____entitiesSpecific.getPickups
14
14
  local ____playerDataStructures = require("functions.playerDataStructures")
15
15
  local defaultMapGetPlayer = ____playerDataStructures.defaultMapGetPlayer
16
16
  local mapSetPlayer = ____playerDataStructures.mapSetPlayer
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postRender
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getRocks = ____gridEntitySpecific.getRocks
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getRocks = ____gridEntitiesSpecific.getRocks
7
7
  local ____postRockRender = require("callbacks.subscriptions.postRockRender")
8
8
  local postRockRenderFire = ____postRockRender.postRockRenderFire
9
9
  local postRockRenderHasSubscriptions = ____postRockRender.postRockRenderHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postUpdate
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getRocks = ____gridEntitySpecific.getRocks
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getRocks = ____gridEntitiesSpecific.getRocks
7
7
  local ____postRockUpdate = require("callbacks.subscriptions.postRockUpdate")
8
8
  local postRockUpdateFire = ____postRockUpdate.postRockUpdateFire
9
9
  local postRockUpdateHasSubscriptions = ____postRockUpdate.postRockUpdateHasSubscriptions
@@ -9,8 +9,8 @@ local ____ModCallbackCustom = require("enums.ModCallbackCustom")
9
9
  local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
10
10
  local ____exports = require("features.saveDataManager.exports")
11
11
  local saveDataManager = ____exports.saveDataManager
12
- local ____entitySpecific = require("functions.entitySpecific")
13
- local getSlots = ____entitySpecific.getSlots
12
+ local ____entitiesSpecific = require("functions.entitiesSpecific")
13
+ local getSlots = ____entitiesSpecific.getSlots
14
14
  local ____postSlotInit = require("callbacks.subscriptions.postSlotInit")
15
15
  local postSlotInitFire = ____postSlotInit.postSlotInitFire
16
16
  local postSlotInitHasSubscriptions = ____postSlotInit.postSlotInitHasSubscriptions
@@ -9,8 +9,8 @@ local ____DefaultMap = require("classes.DefaultMap")
9
9
  local DefaultMap = ____DefaultMap.DefaultMap
10
10
  local ____exports = require("features.saveDataManager.exports")
11
11
  local saveDataManager = ____exports.saveDataManager
12
- local ____entitySpecific = require("functions.entitySpecific")
13
- local getSlots = ____entitySpecific.getSlots
12
+ local ____entitiesSpecific = require("functions.entitiesSpecific")
13
+ local getSlots = ____entitiesSpecific.getSlots
14
14
  local ____postSlotAnimationChanged = require("callbacks.subscriptions.postSlotAnimationChanged")
15
15
  local postSlotAnimationChangedFire = ____postSlotAnimationChanged.postSlotAnimationChangedFire
16
16
  local postSlotAnimationChangedHasSubscriptions = ____postSlotAnimationChanged.postSlotAnimationChangedHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postRender
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getSpikes = ____gridEntitySpecific.getSpikes
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getSpikes = ____gridEntitiesSpecific.getSpikes
7
7
  local ____postSpikesRender = require("callbacks.subscriptions.postSpikesRender")
8
8
  local postSpikesRenderFire = ____postSpikesRender.postSpikesRenderFire
9
9
  local postSpikesRenderHasSubscriptions = ____postSpikesRender.postSpikesRenderHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postUpdate
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getSpikes = ____gridEntitySpecific.getSpikes
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getSpikes = ____gridEntitiesSpecific.getSpikes
7
7
  local ____postSpikesUpdate = require("callbacks.subscriptions.postSpikesUpdate")
8
8
  local postSpikesUpdateFire = ____postSpikesUpdate.postSpikesUpdateFire
9
9
  local postSpikesUpdateHasSubscriptions = ____postSpikesUpdate.postSpikesUpdateHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postRender
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getTNT = ____gridEntitySpecific.getTNT
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getTNT = ____gridEntitiesSpecific.getTNT
7
7
  local ____postTNTRender = require("callbacks.subscriptions.postTNTRender")
8
8
  local postTNTRenderFire = ____postTNTRender.postTNTRenderFire
9
9
  local postTNTRenderHasSubscriptions = ____postTNTRender.postTNTRenderHasSubscriptions
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local hasSubscriptions, postUpdate
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____gridEntitySpecific = require("functions.gridEntitySpecific")
6
- local getTNT = ____gridEntitySpecific.getTNT
5
+ local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
6
+ local getTNT = ____gridEntitiesSpecific.getTNT
7
7
  local ____postTNTUpdate = require("callbacks.subscriptions.postTNTUpdate")
8
8
  local postTNTUpdateFire = ____postTNTUpdate.postTNTUpdateFire
9
9
  local postTNTUpdateHasSubscriptions = ____postTNTUpdate.postTNTUpdateHasSubscriptions
@@ -4,10 +4,10 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
4
4
  local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
5
5
  local ____ModCallbackCustom = require("enums.ModCallbackCustom")
6
6
  local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
7
- local ____player = require("functions.player")
8
- local getPlayerNumHitsRemaining = ____player.getPlayerNumHitsRemaining
9
7
  local ____playerIndex = require("functions.playerIndex")
10
8
  local isChildPlayer = ____playerIndex.isChildPlayer
9
+ local ____players = require("functions.players")
10
+ local getPlayerNumHitsRemaining = ____players.getPlayerNumHitsRemaining
11
11
  local ____revive = require("functions.revive")
12
12
  local willPlayerRevive = ____revive.willPlayerRevive
13
13
  local ____preBerserkDeath = require("callbacks.subscriptions.preBerserkDeath")
@@ -5,8 +5,8 @@ local ____exports = {}
5
5
  local hasSubscriptions, postPlayerRender, TRAVELING_TO_NEXT_FLOOR_ANIMATIONS, firedOnStage
6
6
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
7
7
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
8
- local ____sprite = require("functions.sprite")
9
- local getLastFrameOfAnimation = ____sprite.getLastFrameOfAnimation
8
+ local ____sprites = require("functions.sprites")
9
+ local getLastFrameOfAnimation = ____sprites.getLastFrameOfAnimation
10
10
  local ____stage = require("functions.stage")
11
11
  local getEffectiveStage = ____stage.getEffectiveStage
12
12
  local ____preNewLevel = require("callbacks.subscriptions.preNewLevel")
@@ -1,7 +1,6 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /// <reference types="isaac-typescript-definitions" />
1
+ import { DoorVariant } from "isaac-typescript-definitions";
3
2
  export declare type PostDoorRenderRegisterParameters = [
4
3
  callback: (door: GridEntityDoor) => void,
5
- gridEntityVariant?: int
4
+ doorVariant?: DoorVariant
6
5
  ];
7
6
  //# sourceMappingURL=postDoorRender.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"postDoorRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postDoorRender.ts"],"names":[],"mappings":";;AAAA,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,iBAAiB,CAAC,EAAE,GAAG;CACxB,CAAC"}
1
+ {"version":3,"file":"postDoorRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postDoorRender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,WAAW,CAAC,EAAE,WAAW;CAC1B,CAAC"}
@@ -14,12 +14,12 @@ end
14
14
  ---
15
15
  -- @internal
16
16
  function ____exports.postDoorRenderFire(self, door)
17
- local gridEntityVariant = door:GetVariant()
17
+ local doorVariant = door:GetVariant()
18
18
  for ____, ____value in ipairs(subscriptions) do
19
19
  local callback = ____value[1]
20
- local callbackGridEntityVariant = ____value[2]
20
+ local callbackDoorVariant = ____value[2]
21
21
  do
22
- if callbackGridEntityVariant ~= nil and callbackGridEntityVariant ~= gridEntityVariant then
22
+ if callbackDoorVariant ~= nil and callbackDoorVariant ~= doorVariant then
23
23
  goto __continue5
24
24
  end
25
25
  callback(nil, door)
@@ -1,7 +1,6 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /// <reference types="isaac-typescript-definitions" />
1
+ import { DoorVariant } from "isaac-typescript-definitions";
3
2
  export declare type PostDoorUpdateRegisterParameters = [
4
3
  callback: (door: GridEntityDoor) => void,
5
- gridEntityVariant?: int
4
+ doorVariant?: DoorVariant
6
5
  ];
7
6
  //# sourceMappingURL=postDoorUpdate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"postDoorUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postDoorUpdate.ts"],"names":[],"mappings":";;AAAA,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,iBAAiB,CAAC,EAAE,GAAG;CACxB,CAAC"}
1
+ {"version":3,"file":"postDoorUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postDoorUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,WAAW,CAAC,EAAE,WAAW;CAC1B,CAAC"}
@@ -14,12 +14,12 @@ end
14
14
  ---
15
15
  -- @internal
16
16
  function ____exports.postDoorUpdateFire(self, door)
17
- local gridEntityVariant = door:GetVariant()
17
+ local doorVariant = door:GetVariant()
18
18
  for ____, ____value in ipairs(subscriptions) do
19
19
  local callback = ____value[1]
20
- local callbackGridEntityVariant = ____value[2]
20
+ local callbackDoorVariant = ____value[2]
21
21
  do
22
- if callbackGridEntityVariant ~= nil and callbackGridEntityVariant ~= gridEntityVariant then
22
+ if callbackDoorVariant ~= nil and callbackDoorVariant ~= doorVariant then
23
23
  goto __continue5
24
24
  end
25
25
  callback(nil, door)
@@ -1,7 +1,6 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /// <reference types="isaac-typescript-definitions" />
1
+ import { PitVariant } from "isaac-typescript-definitions";
3
2
  export declare type PostPitRenderRegisterParameters = [
4
3
  callback: (pit: GridEntityPit) => void,
5
- gridEntityVariant?: int
4
+ pitVariant?: PitVariant
6
5
  ];
7
6
  //# sourceMappingURL=postPitRender.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"postPitRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPitRender.ts"],"names":[],"mappings":";;AAAA,oBAAY,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI;IACtC,iBAAiB,CAAC,EAAE,GAAG;CACxB,CAAC"}
1
+ {"version":3,"file":"postPitRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPitRender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,oBAAY,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI;IACtC,UAAU,CAAC,EAAE,UAAU;CACxB,CAAC"}
@@ -14,12 +14,12 @@ end
14
14
  ---
15
15
  -- @internal
16
16
  function ____exports.postPitRenderFire(self, pit)
17
- local gridEntityVariant = pit:GetVariant()
17
+ local pitVariant = pit:GetVariant()
18
18
  for ____, ____value in ipairs(subscriptions) do
19
19
  local callback = ____value[1]
20
- local callbackGridEntityVariant = ____value[2]
20
+ local callbackPitVariant = ____value[2]
21
21
  do
22
- if callbackGridEntityVariant ~= nil and callbackGridEntityVariant ~= gridEntityVariant then
22
+ if callbackPitVariant ~= nil and callbackPitVariant ~= pitVariant then
23
23
  goto __continue5
24
24
  end
25
25
  callback(nil, pit)
@@ -1,7 +1,6 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /// <reference types="isaac-typescript-definitions" />
1
+ import { PitVariant } from "isaac-typescript-definitions";
3
2
  export declare type PostPitUpdateRegisterParameters = [
4
3
  callback: (pit: GridEntityPit) => void,
5
- gridEntityVariant?: int
4
+ pitVariant?: PitVariant
6
5
  ];
7
6
  //# sourceMappingURL=postPitUpdate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"postPitUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPitUpdate.ts"],"names":[],"mappings":";;AAAA,oBAAY,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI;IACtC,iBAAiB,CAAC,EAAE,GAAG;CACxB,CAAC"}
1
+ {"version":3,"file":"postPitUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPitUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,oBAAY,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI;IACtC,UAAU,CAAC,EAAE,UAAU;CACxB,CAAC"}
@@ -14,12 +14,12 @@ end
14
14
  ---
15
15
  -- @internal
16
16
  function ____exports.postPitUpdateFire(self, pit)
17
- local gridEntityVariant = pit:GetVariant()
17
+ local pitVariant = pit:GetVariant()
18
18
  for ____, ____value in ipairs(subscriptions) do
19
19
  local callback = ____value[1]
20
- local callbackGridEntityVariant = ____value[2]
20
+ local callbackPitVariant = ____value[2]
21
21
  do
22
- if callbackGridEntityVariant ~= nil and callbackGridEntityVariant ~= gridEntityVariant then
22
+ if callbackPitVariant ~= nil and callbackPitVariant ~= pitVariant then
23
23
  goto __continue5
24
24
  end
25
25
  callback(nil, pit)
@@ -1,7 +1,6 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /// <reference types="isaac-typescript-definitions" />
1
+ import { PoopGridEntityVariant } from "isaac-typescript-definitions";
3
2
  export declare type PostPoopRenderRegisterParameters = [
4
3
  callback: (poop: GridEntityPoop) => void,
5
- gridEntityVariant?: int
4
+ poopVariant?: PoopGridEntityVariant
6
5
  ];
7
6
  //# sourceMappingURL=postPoopRender.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"postPoopRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPoopRender.ts"],"names":[],"mappings":";;AAAA,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,iBAAiB,CAAC,EAAE,GAAG;CACxB,CAAC"}
1
+ {"version":3,"file":"postPoopRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPoopRender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,WAAW,CAAC,EAAE,qBAAqB;CACpC,CAAC"}
@@ -14,12 +14,12 @@ end
14
14
  ---
15
15
  -- @internal
16
16
  function ____exports.postPoopRenderFire(self, poop)
17
- local gridEntityVariant = poop:GetVariant()
17
+ local poopVariant = poop:GetVariant()
18
18
  for ____, ____value in ipairs(subscriptions) do
19
19
  local callback = ____value[1]
20
- local callbackGridEntityVariant = ____value[2]
20
+ local callbackPoopVariant = ____value[2]
21
21
  do
22
- if callbackGridEntityVariant ~= nil and callbackGridEntityVariant ~= gridEntityVariant then
22
+ if callbackPoopVariant ~= nil and callbackPoopVariant ~= poopVariant then
23
23
  goto __continue5
24
24
  end
25
25
  callback(nil, poop)
@@ -1,7 +1,6 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /// <reference types="isaac-typescript-definitions" />
1
+ import { PoopGridEntityVariant } from "isaac-typescript-definitions";
3
2
  export declare type PostPoopUpdateRegisterParameters = [
4
3
  callback: (poop: GridEntityPoop) => void,
5
- gridEntityVariant?: int
4
+ poopVariant?: PoopGridEntityVariant
6
5
  ];
7
6
  //# sourceMappingURL=postPoopUpdate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"postPoopUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPoopUpdate.ts"],"names":[],"mappings":";;AAAA,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,iBAAiB,CAAC,EAAE,GAAG;CACxB,CAAC"}
1
+ {"version":3,"file":"postPoopUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPoopUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,WAAW,CAAC,EAAE,qBAAqB;CACpC,CAAC"}