isaacscript-common 6.6.5 → 6.7.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 (232) hide show
  1. package/dist/callbacks/customRevive.lua +4 -4
  2. package/dist/callbacks/postCursedTeleport.lua +2 -2
  3. package/dist/callbacks/postCustomDoorEnter.lua +5 -5
  4. package/dist/callbacks/postDiceRoomActivated.lua +2 -2
  5. package/dist/callbacks/postFlip.lua +3 -3
  6. package/dist/callbacks/postGridEntity.lua +3 -3
  7. package/dist/callbacks/postGridEntityCollision.lua +3 -3
  8. package/dist/callbacks/postGridEntityRender.lua +2 -2
  9. package/dist/callbacks/postNewRoomEarly.lua +5 -5
  10. package/dist/callbacks/postPickupCollect.lua +2 -2
  11. package/dist/callbacks/postPitRender.lua +2 -2
  12. package/dist/callbacks/postPitUpdate.lua +2 -2
  13. package/dist/callbacks/postPlayerCollectible.lua +2 -2
  14. package/dist/callbacks/postPoopRender.lua +2 -2
  15. package/dist/callbacks/postPoopUpdate.lua +2 -2
  16. package/dist/callbacks/postPressurePlateRender.lua +2 -2
  17. package/dist/callbacks/postPressurePlateUpdate.lua +2 -2
  18. package/dist/callbacks/postPurchase.lua +2 -2
  19. package/dist/callbacks/postRockRender.lua +2 -2
  20. package/dist/callbacks/postRockUpdate.lua +2 -2
  21. package/dist/callbacks/postSlotInitUpdate.lua +2 -2
  22. package/dist/callbacks/postSlotRender.lua +2 -2
  23. package/dist/callbacks/postSpikesRender.lua +2 -2
  24. package/dist/callbacks/postSpikesUpdate.lua +2 -2
  25. package/dist/callbacks/postTNTRender.lua +2 -2
  26. package/dist/callbacks/postTNTUpdate.lua +2 -2
  27. package/dist/callbacks/preBerserkDeath.lua +2 -2
  28. package/dist/callbacks/preNewLevel.lua +2 -2
  29. package/dist/callbacks/subscriptions/postDoorRender.d.ts +2 -3
  30. package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -1
  31. package/dist/callbacks/subscriptions/postDoorRender.lua +3 -3
  32. package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +2 -3
  33. package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -1
  34. package/dist/callbacks/subscriptions/postDoorUpdate.lua +3 -3
  35. package/dist/callbacks/subscriptions/postPitRender.d.ts +2 -3
  36. package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -1
  37. package/dist/callbacks/subscriptions/postPitRender.lua +3 -3
  38. package/dist/callbacks/subscriptions/postPitUpdate.d.ts +2 -3
  39. package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -1
  40. package/dist/callbacks/subscriptions/postPitUpdate.lua +3 -3
  41. package/dist/callbacks/subscriptions/postPoopRender.d.ts +2 -3
  42. package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -1
  43. package/dist/callbacks/subscriptions/postPoopRender.lua +3 -3
  44. package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +2 -3
  45. package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -1
  46. package/dist/callbacks/subscriptions/postPoopUpdate.lua +3 -3
  47. package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +2 -3
  48. package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -1
  49. package/dist/callbacks/subscriptions/postPressurePlateRender.lua +3 -3
  50. package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +2 -3
  51. package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -1
  52. package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +3 -3
  53. package/dist/features/characterStats.lua +2 -2
  54. package/dist/features/collectibleItemPoolType.lua +2 -2
  55. package/dist/features/customGridEntity.d.ts.map +1 -1
  56. package/dist/features/customGridEntity.lua +5 -5
  57. package/dist/features/customStage/backdrop.lua +2 -2
  58. package/dist/features/customStage/{gridEntities.d.ts → customStageGridEntities.d.ts} +1 -1
  59. package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -0
  60. package/dist/features/customStage/{gridEntities.lua → customStageGridEntities.lua} +8 -8
  61. package/dist/features/customStage/{util.d.ts → customStageUtils.d.ts} +1 -1
  62. package/dist/features/customStage/customStageUtils.d.ts.map +1 -0
  63. package/dist/features/customStage/{util.lua → customStageUtils.lua} +0 -0
  64. package/dist/features/customStage/exports.lua +4 -4
  65. package/dist/features/customStage/init.lua +6 -6
  66. package/dist/features/customStage/shadows.lua +2 -2
  67. package/dist/features/customStage/versusScreen.lua +4 -4
  68. package/dist/features/debugDisplay/v.lua +4 -4
  69. package/dist/features/deployJSONRoom.lua +20 -20
  70. package/dist/features/extraConsoleCommands/commandsSubroutines.lua +3 -3
  71. package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
  72. package/dist/features/extraConsoleCommands/listCommands.lua +14 -14
  73. package/dist/features/pause.lua +2 -2
  74. package/dist/features/persistentEntities.lua +2 -2
  75. package/dist/features/preventCollectibleRotation.lua +2 -2
  76. package/dist/features/saveDataManager/exports.d.ts.map +1 -1
  77. package/dist/features/sirenHelpers.lua +2 -2
  78. package/dist/functions/ambush.lua +5 -5
  79. package/dist/functions/{boss.d.ts → bosses.d.ts} +22 -4
  80. package/dist/functions/bosses.d.ts.map +1 -0
  81. package/dist/functions/{boss.lua → bosses.lua} +38 -13
  82. package/dist/functions/collectibleTag.lua +2 -2
  83. package/dist/functions/collectibles.lua +5 -5
  84. package/dist/functions/{entity.d.ts → entities.d.ts} +21 -19
  85. package/dist/functions/entities.d.ts.map +1 -0
  86. package/dist/functions/{entity.lua → entities.lua} +25 -20
  87. package/dist/functions/{entitySpecific.d.ts → entitiesSpecific.d.ts} +145 -68
  88. package/dist/functions/entitiesSpecific.d.ts.map +1 -0
  89. package/dist/functions/{entitySpecific.lua → entitiesSpecific.lua} +203 -65
  90. package/dist/functions/familiars.lua +2 -2
  91. package/dist/functions/{gridEntity.d.ts → gridEntities.d.ts} +48 -17
  92. package/dist/functions/gridEntities.d.ts.map +1 -0
  93. package/dist/functions/{gridEntity.lua → gridEntities.lua} +140 -90
  94. package/dist/functions/gridEntitiesSpecific.d.ts +141 -0
  95. package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -0
  96. package/dist/functions/gridEntitiesSpecific.lua +366 -0
  97. package/dist/functions/log.lua +8 -8
  98. package/dist/functions/{npc.d.ts → npcs.d.ts} +24 -2
  99. package/dist/functions/npcs.d.ts.map +1 -0
  100. package/dist/functions/{npc.lua → npcs.lua} +44 -9
  101. package/dist/functions/pickups.d.ts +4 -119
  102. package/dist/functions/pickups.d.ts.map +1 -1
  103. package/dist/functions/pickups.lua +10 -439
  104. package/dist/functions/pickupsSpecific.d.ts +229 -0
  105. package/dist/functions/pickupsSpecific.d.ts.map +1 -0
  106. package/dist/functions/pickupsSpecific.lua +560 -0
  107. package/dist/functions/playerHealth.lua +6 -6
  108. package/dist/functions/{player.d.ts → players.d.ts} +1 -1
  109. package/dist/functions/players.d.ts.map +1 -0
  110. package/dist/functions/{player.lua → players.lua} +0 -0
  111. package/dist/functions/pocketItems.lua +2 -2
  112. package/dist/functions/positionVelocity.lua +6 -6
  113. package/dist/functions/pressurePlate.d.ts +10 -0
  114. package/dist/functions/pressurePlate.d.ts.map +1 -0
  115. package/dist/functions/pressurePlate.lua +29 -0
  116. package/dist/functions/revive.lua +7 -7
  117. package/dist/functions/rooms.lua +2 -2
  118. package/dist/functions/saveFile.lua +3 -3
  119. package/dist/functions/spawnCollectible.lua +4 -4
  120. package/dist/functions/{sprite.d.ts → sprites.d.ts} +1 -1
  121. package/dist/functions/sprites.d.ts.map +1 -0
  122. package/dist/functions/{sprite.lua → sprites.lua} +0 -0
  123. package/dist/functions/transformations.lua +2 -2
  124. package/dist/functions/trinketGive.lua +2 -2
  125. package/dist/functions/trinkets.lua +6 -6
  126. package/dist/functions/utils.d.ts +7 -0
  127. package/dist/functions/utils.d.ts.map +1 -1
  128. package/dist/functions/utils.lua +35 -22
  129. package/dist/index.d.ts +10 -8
  130. package/dist/index.d.ts.map +1 -1
  131. package/dist/index.lua +26 -10
  132. package/dist/types/AnyGridEntity.d.ts +10 -0
  133. package/dist/types/AnyGridEntity.d.ts.map +1 -0
  134. package/dist/types/AnyGridEntity.lua +2 -0
  135. package/package.json +2 -2
  136. package/src/callbacks/customRevive.ts +2 -2
  137. package/src/callbacks/postCursedTeleport.ts +1 -1
  138. package/src/callbacks/postCustomDoorEnter.ts +2 -2
  139. package/src/callbacks/postDiceRoomActivated.ts +1 -1
  140. package/src/callbacks/postFlip.ts +1 -1
  141. package/src/callbacks/postGridEntity.ts +1 -1
  142. package/src/callbacks/postGridEntityCollision.ts +1 -1
  143. package/src/callbacks/postGridEntityRender.ts +1 -1
  144. package/src/callbacks/postNewRoomEarly.ts +9 -3
  145. package/src/callbacks/postPickupCollect.ts +1 -1
  146. package/src/callbacks/postPitRender.ts +1 -1
  147. package/src/callbacks/postPitUpdate.ts +1 -1
  148. package/src/callbacks/postPlayerCollectible.ts +1 -1
  149. package/src/callbacks/postPoopRender.ts +1 -1
  150. package/src/callbacks/postPoopUpdate.ts +1 -1
  151. package/src/callbacks/postPressurePlateRender.ts +1 -1
  152. package/src/callbacks/postPressurePlateUpdate.ts +1 -1
  153. package/src/callbacks/postPurchase.ts +1 -1
  154. package/src/callbacks/postRockRender.ts +1 -1
  155. package/src/callbacks/postRockUpdate.ts +1 -1
  156. package/src/callbacks/postSlotInitUpdate.ts +1 -1
  157. package/src/callbacks/postSlotRender.ts +1 -1
  158. package/src/callbacks/postSpikesRender.ts +1 -1
  159. package/src/callbacks/postSpikesUpdate.ts +1 -1
  160. package/src/callbacks/postTNTRender.ts +1 -1
  161. package/src/callbacks/postTNTUpdate.ts +1 -1
  162. package/src/callbacks/preBerserkDeath.ts +1 -1
  163. package/src/callbacks/preNewLevel.ts +1 -1
  164. package/src/callbacks/subscriptions/postDoorRender.ts +7 -5
  165. package/src/callbacks/subscriptions/postDoorUpdate.ts +7 -5
  166. package/src/callbacks/subscriptions/postPitRender.ts +6 -7
  167. package/src/callbacks/subscriptions/postPitUpdate.ts +6 -7
  168. package/src/callbacks/subscriptions/postPoopRender.ts +7 -5
  169. package/src/callbacks/subscriptions/postPoopUpdate.ts +7 -5
  170. package/src/callbacks/subscriptions/postPressurePlateRender.ts +7 -5
  171. package/src/callbacks/subscriptions/postPressurePlateUpdate.ts +7 -5
  172. package/src/features/characterStats.ts +1 -1
  173. package/src/features/collectibleItemPoolType.ts +1 -1
  174. package/src/features/customGridEntity.ts +6 -3
  175. package/src/features/customStage/backdrop.ts +1 -1
  176. package/src/features/customStage/{gridEntities.ts → customStageGridEntities.ts} +3 -3
  177. package/src/features/customStage/{util.ts → customStageUtils.ts} +0 -0
  178. package/src/features/customStage/exports.ts +2 -2
  179. package/src/features/customStage/init.ts +1 -1
  180. package/src/features/customStage/shadows.ts +1 -1
  181. package/src/features/customStage/versusScreen.ts +2 -2
  182. package/src/features/debugDisplay/v.ts +2 -2
  183. package/src/features/deployJSONRoom.ts +11 -7
  184. package/src/features/extraConsoleCommands/commandsSubroutines.ts +2 -2
  185. package/src/features/extraConsoleCommands/listCommands.ts +10 -6
  186. package/src/features/pause.ts +1 -1
  187. package/src/features/persistentEntities.ts +1 -1
  188. package/src/features/preventCollectibleRotation.ts +1 -1
  189. package/src/features/saveDataManager/exports.ts +7 -4
  190. package/src/features/sirenHelpers.ts +1 -1
  191. package/src/functions/ambush.ts +2 -2
  192. package/src/functions/{boss.ts → bosses.ts} +29 -21
  193. package/src/functions/collectibleTag.ts +1 -1
  194. package/src/functions/collectibles.ts +2 -2
  195. package/src/functions/{entity.ts → entities.ts} +23 -21
  196. package/src/functions/{entitySpecific.ts → entitiesSpecific.ts} +170 -99
  197. package/src/functions/familiars.ts +1 -1
  198. package/src/functions/{gridEntity.ts → gridEntities.ts} +110 -34
  199. package/src/functions/gridEntitiesSpecific.ts +490 -0
  200. package/src/functions/log.ts +3 -3
  201. package/src/functions/{npc.ts → npcs.ts} +42 -11
  202. package/src/functions/pickups.ts +8 -475
  203. package/src/functions/pickupsSpecific.ts +613 -0
  204. package/src/functions/playerHealth.ts +1 -1
  205. package/src/functions/{player.ts → players.ts} +0 -0
  206. package/src/functions/pocketItems.ts +1 -1
  207. package/src/functions/positionVelocity.ts +3 -3
  208. package/src/functions/pressurePlate.ts +29 -0
  209. package/src/functions/revive.ts +2 -2
  210. package/src/functions/rooms.ts +1 -1
  211. package/src/functions/saveFile.ts +1 -1
  212. package/src/functions/spawnCollectible.ts +2 -2
  213. package/src/functions/{sprite.ts → sprites.ts} +0 -0
  214. package/src/functions/transformations.ts +1 -1
  215. package/src/functions/trinketGive.ts +1 -1
  216. package/src/functions/trinkets.ts +3 -3
  217. package/src/functions/utils.ts +32 -13
  218. package/src/index.ts +10 -8
  219. package/src/types/AnyGridEntity.ts +9 -0
  220. package/dist/features/customStage/gridEntities.d.ts.map +0 -1
  221. package/dist/features/customStage/util.d.ts.map +0 -1
  222. package/dist/functions/boss.d.ts.map +0 -1
  223. package/dist/functions/entity.d.ts.map +0 -1
  224. package/dist/functions/entitySpecific.d.ts.map +0 -1
  225. package/dist/functions/gridEntity.d.ts.map +0 -1
  226. package/dist/functions/gridEntitySpecific.d.ts +0 -29
  227. package/dist/functions/gridEntitySpecific.d.ts.map +0 -1
  228. package/dist/functions/gridEntitySpecific.lua +0 -114
  229. package/dist/functions/npc.d.ts.map +0 -1
  230. package/dist/functions/player.d.ts.map +0 -1
  231. package/dist/functions/sprite.d.ts.map +0 -1
  232. package/src/functions/gridEntitySpecific.ts +0 -143
@@ -1,7 +1,6 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /// <reference types="isaac-typescript-definitions" />
1
+ import { PressurePlateVariant } from "isaac-typescript-definitions";
3
2
  export declare type PostPressurePlateRenderRegisterParameters = [
4
3
  callback: (pressurePlate: GridEntityPressurePlate) => void,
5
- gridEntityVariant?: int
4
+ pressurePlateVariant?: PressurePlateVariant
6
5
  ];
7
6
  //# sourceMappingURL=postPressurePlateRender.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"postPressurePlateRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPressurePlateRender.ts"],"names":[],"mappings":";;AAAA,oBAAY,yCAAyC,GAAG;IACtD,QAAQ,EAAE,CAAC,aAAa,EAAE,uBAAuB,KAAK,IAAI;IAC1D,iBAAiB,CAAC,EAAE,GAAG;CACxB,CAAC"}
1
+ {"version":3,"file":"postPressurePlateRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPressurePlateRender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,oBAAY,yCAAyC,GAAG;IACtD,QAAQ,EAAE,CAAC,aAAa,EAAE,uBAAuB,KAAK,IAAI;IAC1D,oBAAoB,CAAC,EAAE,oBAAoB;CAC5C,CAAC"}
@@ -14,12 +14,12 @@ end
14
14
  ---
15
15
  -- @internal
16
16
  function ____exports.postPressurePlateRenderFire(self, pressurePlate)
17
- local gridEntityVariant = pressurePlate:GetVariant()
17
+ local pressurePlateVariant = pressurePlate:GetVariant()
18
18
  for ____, ____value in ipairs(subscriptions) do
19
19
  local callback = ____value[1]
20
- local callbackGridEntityVariant = ____value[2]
20
+ local callbackPressurePlateVariant = ____value[2]
21
21
  do
22
- if callbackGridEntityVariant ~= nil and callbackGridEntityVariant ~= gridEntityVariant then
22
+ if callbackPressurePlateVariant ~= nil and callbackPressurePlateVariant ~= pressurePlateVariant then
23
23
  goto __continue5
24
24
  end
25
25
  callback(nil, pressurePlate)
@@ -1,7 +1,6 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- /// <reference types="isaac-typescript-definitions" />
1
+ import { PressurePlateVariant } from "isaac-typescript-definitions";
3
2
  export declare type PostPressurePlateUpdateRegisterParameters = [
4
3
  callback: (pressurePlate: GridEntityPressurePlate) => void,
5
- gridEntityVariant?: int
4
+ pressurePlateVariant?: PressurePlateVariant
6
5
  ];
7
6
  //# sourceMappingURL=postPressurePlateUpdate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"postPressurePlateUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPressurePlateUpdate.ts"],"names":[],"mappings":";;AAAA,oBAAY,yCAAyC,GAAG;IACtD,QAAQ,EAAE,CAAC,aAAa,EAAE,uBAAuB,KAAK,IAAI;IAC1D,iBAAiB,CAAC,EAAE,GAAG;CACxB,CAAC"}
1
+ {"version":3,"file":"postPressurePlateUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPressurePlateUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,oBAAY,yCAAyC,GAAG;IACtD,QAAQ,EAAE,CAAC,aAAa,EAAE,uBAAuB,KAAK,IAAI;IAC1D,oBAAoB,CAAC,EAAE,oBAAoB;CAC5C,CAAC"}
@@ -14,12 +14,12 @@ end
14
14
  ---
15
15
  -- @internal
16
16
  function ____exports.postPressurePlateUpdateFire(self, pressurePlate)
17
- local gridEntityVariant = pressurePlate:GetVariant()
17
+ local pressurePlateVariant = pressurePlate:GetVariant()
18
18
  for ____, ____value in ipairs(subscriptions) do
19
19
  local callback = ____value[1]
20
- local callbackGridEntityVariant = ____value[2]
20
+ local callbackPressurePlateVariant = ____value[2]
21
21
  do
22
- if callbackGridEntityVariant ~= nil and callbackGridEntityVariant ~= gridEntityVariant then
22
+ if callbackPressurePlateVariant ~= nil and callbackPressurePlateVariant ~= pressurePlateVariant then
23
23
  goto __continue5
24
24
  end
25
25
  callback(nil, pressurePlate)
@@ -9,8 +9,8 @@ local ____featuresInitialized = require("featuresInitialized")
9
9
  local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
10
10
  local ____cacheFlag = require("functions.cacheFlag")
11
11
  local getDefaultPlayerStat = ____cacheFlag.getDefaultPlayerStat
12
- local ____player = require("functions.player")
13
- local addStat = ____player.addStat
12
+ local ____players = require("functions.players")
13
+ local addStat = ____players.addStat
14
14
  function evaluateCache(self, player, cacheFlag)
15
15
  local character = player:GetPlayerType()
16
16
  local statMap = charactersStatMap:get(character)
@@ -10,8 +10,8 @@ local ____cachedClasses = require("cachedClasses")
10
10
  local game = ____cachedClasses.game
11
11
  local ____featuresInitialized = require("featuresInitialized")
12
12
  local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
13
- local ____entity = require("functions.entity")
14
- local getEntityID = ____entity.getEntityID
13
+ local ____entities = require("functions.entities")
14
+ local getEntityID = ____entities.getEntityID
15
15
  local ____pickupVariants = require("functions.pickupVariants")
16
16
  local isCollectible = ____pickupVariants.isCollectible
17
17
  local ____rooms = require("functions.rooms")
@@ -1 +1 @@
1
- {"version":3,"file":"customGridEntity.d.ts","sourceRoot":"","sources":["../../src/features/customGridEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,8BAA8B,CAAC;AA0DtC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,eAAe,CAC7B,oBAAoB,EAAE,cAAc,EACpC,mBAAmB,EAAE,GAAG,GAAG,MAAM,EACjC,IAAI,EAAE,MAAM,EACZ,gBAAgB,EAAE,MAAM,EACxB,kBAAkB,EAAE,kBAAkB,GACrC,UAAU,CA4CZ;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,+BAA+B,EAAE,GAAG,GAAG,MAAM,GAAG,UAAU,EAC1D,UAAU,UAAO,GAChB,UAAU,GAAG,SAAS,CAqCxB"}
1
+ {"version":3,"file":"customGridEntity.d.ts","sourceRoot":"","sources":["../../src/features/customGridEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,8BAA8B,CAAC;AA6DtC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,eAAe,CAC7B,oBAAoB,EAAE,cAAc,EACpC,mBAAmB,EAAE,GAAG,GAAG,MAAM,EACjC,IAAI,EAAE,MAAM,EACZ,gBAAgB,EAAE,MAAM,EACxB,kBAAkB,EAAE,kBAAkB,GACrC,UAAU,CA4CZ;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,+BAA+B,EAAE,GAAG,GAAG,MAAM,GAAG,UAAU,EAC1D,UAAU,UAAO,GAChB,UAAU,GAAG,SAAS,CAqCxB"}
@@ -16,9 +16,9 @@ local ____ModCallbackCustom = require("enums.ModCallbackCustom")
16
16
  local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
17
17
  local ____featuresInitialized = require("featuresInitialized")
18
18
  local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
19
- local ____gridEntity = require("functions.gridEntity")
20
- local removeGrid = ____gridEntity.removeGrid
21
- local spawnGridWithVariant = ____gridEntity.spawnGridWithVariant
19
+ local ____gridEntities = require("functions.gridEntities")
20
+ local removeGridEntity = ____gridEntities.removeGridEntity
21
+ local spawnGridEntityWithVariant = ____gridEntities.spawnGridEntityWithVariant
22
22
  local ____roomData = require("functions.roomData")
23
23
  local getRoomListIndex = ____roomData.getRoomListIndex
24
24
  local ____vector = require("functions.vector")
@@ -87,7 +87,7 @@ function ____exports.spawnCustomGrid(self, gridEntityTypeCustom, gridIndexOrPosi
87
87
  local gridIndex = isVector(nil, gridIndexOrPosition) and room:GetGridIndex(gridIndexOrPosition) or gridIndexOrPosition
88
88
  local existingGridEntity = room:GetGridEntity(gridIndex)
89
89
  local isExistingDecoration = existingGridEntity ~= nil and existingGridEntity:GetType() == GridEntityType.DECORATION and existingGridEntity:GetVariant() == DecorationVariant.CUSTOM_GRID_ENTITY
90
- local decoration = isExistingDecoration and existingGridEntity or spawnGridWithVariant(nil, GridEntityType.DECORATION, DecorationVariant.CUSTOM_GRID_ENTITY, gridIndexOrPosition)
90
+ local decoration = isExistingDecoration and existingGridEntity or spawnGridEntityWithVariant(nil, GridEntityType.DECORATION, DecorationVariant.CUSTOM_GRID_ENTITY, gridIndexOrPosition)
91
91
  if decoration == nil then
92
92
  error("Failed to spawn a decoration for a custom grid entity.")
93
93
  end
@@ -150,7 +150,7 @@ function ____exports.removeCustomGrid(self, gridIndexOrPositionOrGridEntity, upd
150
150
  return nil
151
151
  end
152
152
  roomCustomGridEntities:delete(gridIndex)
153
- removeGrid(nil, decoration, updateRoom)
153
+ removeGridEntity(nil, decoration, updateRoom)
154
154
  return decoration
155
155
  end
156
156
  return ____exports
@@ -14,8 +14,8 @@ local ____constants = require("constants")
14
14
  local VectorZero = ____constants.VectorZero
15
15
  local ____array = require("functions.array")
16
16
  local getRandomArrayElement = ____array.getRandomArrayElement
17
- local ____entitySpecific = require("functions.entitySpecific")
18
- local spawnEffectWithSeed = ____entitySpecific.spawnEffectWithSeed
17
+ local ____entitiesSpecific = require("functions.entitiesSpecific")
18
+ local spawnEffectWithSeed = ____entitiesSpecific.spawnEffectWithSeed
19
19
  local ____rng = require("functions.rng")
20
20
  local newRNG = ____rng.newRNG
21
21
  local ____roomShape = require("functions.roomShape")
@@ -16,4 +16,4 @@ export declare function setCustomDoorGraphics(customStage: CustomStage, gridEnti
16
16
  * rewards, skull rewards, and so on.
17
17
  */
18
18
  export declare function removeUrnRewards(customStage: CustomStage, gridEntity: GridEntity): void;
19
- //# sourceMappingURL=gridEntities.d.ts.map
19
+ //# sourceMappingURL=customStageGridEntities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customStageGridEntities.d.ts","sourceRoot":"","sources":["../../../src/features/customStage/customStageGridEntities.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,0CAA0C;AAC1C,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAoBN;AAED,oCAAoC;AACpC,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAgBN;AAED,mCAAmC;AACnC,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAaN;AAED,mCAAmC;AACnC,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAQN;AAuDD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAsBN"}
@@ -8,14 +8,14 @@ local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
8
8
  local TrinketType = ____isaac_2Dtypescript_2Ddefinitions.TrinketType
9
9
  local ____DecorationVariant = require("enums.DecorationVariant")
10
10
  local DecorationVariant = ____DecorationVariant.DecorationVariant
11
- local ____entity = require("functions.entity")
12
- local removeEntities = ____entity.removeEntities
13
- local ____entitySpecific = require("functions.entitySpecific")
14
- local getNPCs = ____entitySpecific.getNPCs
15
- local ____pickups = require("functions.pickups")
16
- local getCoins = ____pickups.getCoins
17
- local getCollectibles = ____pickups.getCollectibles
18
- local getTrinkets = ____pickups.getTrinkets
11
+ local ____entities = require("functions.entities")
12
+ local removeEntities = ____entities.removeEntities
13
+ local ____entitiesSpecific = require("functions.entitiesSpecific")
14
+ local getNPCs = ____entitiesSpecific.getNPCs
15
+ local ____pickupsSpecific = require("functions.pickupsSpecific")
16
+ local getCoins = ____pickupsSpecific.getCoins
17
+ local getCollectibles = ____pickupsSpecific.getCollectibles
18
+ local getTrinkets = ____pickupsSpecific.getTrinkets
19
19
  local ____vector = require("functions.vector")
20
20
  local vectorEquals = ____vector.vectorEquals
21
21
  function getNewDoorPNGPath(self, customStage, fileName)
@@ -9,4 +9,4 @@ import { CustomStageRoomMetadata } from "../../interfaces/CustomStageLua";
9
9
  * https://stackoverflow.com/questions/1761626/weighted-random-numbers
10
10
  */
11
11
  export declare function getRandomCustomStageRoom(roomsMetadata: readonly CustomStageRoomMetadata[], seedOrRNG?: Seed | RNG, verbose?: boolean): CustomStageRoomMetadata;
12
- //# sourceMappingURL=util.d.ts.map
12
+ //# sourceMappingURL=customStageUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customStageUtils.d.ts","sourceRoot":"","sources":["../../../src/features/customStage/customStageUtils.ts"],"names":[],"mappings":";;AAIA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,aAAa,EAAE,SAAS,uBAAuB,EAAE,EACjD,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,GACd,uBAAuB,CAYzB"}
@@ -14,8 +14,8 @@ local ____cachedClasses = require("cachedClasses")
14
14
  local game = ____cachedClasses.game
15
15
  local ____reorderedCallbacks = require("callbacks.reorderedCallbacks")
16
16
  local reorderedCallbacksSetStage = ____reorderedCallbacks.reorderedCallbacksSetStage
17
- local ____entity = require("functions.entity")
18
- local getEntityIDFromConstituents = ____entity.getEntityIDFromConstituents
17
+ local ____entities = require("functions.entities")
18
+ local getEntityIDFromConstituents = ____entities.getEntityIDFromConstituents
19
19
  local ____log = require("functions.log")
20
20
  local log = ____log.log
21
21
  local logError = ____log.logError
@@ -32,8 +32,8 @@ local getGotoCommand = ____stage.getGotoCommand
32
32
  local setStage = ____stage.setStage
33
33
  local ____runNextRoom = require("features.runNextRoom")
34
34
  local runNextRoom = ____runNextRoom.runNextRoom
35
- local ____util = require("features.customStage.util")
36
- local getRandomCustomStageRoom = ____util.getRandomCustomStageRoom
35
+ local ____customStageUtils = require("features.customStage.customStageUtils")
36
+ local getRandomCustomStageRoom = ____customStageUtils.getRandomCustomStageRoom
37
37
  local ____v = require("features.customStage.v")
38
38
  local v = ____v.default
39
39
  local customBossPNGPaths = ____v.customBossPNGPaths
@@ -15,12 +15,12 @@ local ____exports = require("features.saveDataManager.exports")
15
15
  local saveDataManager = ____exports.saveDataManager
16
16
  local ____backdrop = require("features.customStage.backdrop")
17
17
  local setBackdrop = ____backdrop.setBackdrop
18
- local ____gridEntities = require("features.customStage.gridEntities")
19
- local removeUrnRewards = ____gridEntities.removeUrnRewards
20
- local setCustomDecorationGraphics = ____gridEntities.setCustomDecorationGraphics
21
- local setCustomDoorGraphics = ____gridEntities.setCustomDoorGraphics
22
- local setCustomPitGraphics = ____gridEntities.setCustomPitGraphics
23
- local setCustomRockGraphics = ____gridEntities.setCustomRockGraphics
18
+ local ____customStageGridEntities = require("features.customStage.customStageGridEntities")
19
+ local removeUrnRewards = ____customStageGridEntities.removeUrnRewards
20
+ local setCustomDecorationGraphics = ____customStageGridEntities.setCustomDecorationGraphics
21
+ local setCustomDoorGraphics = ____customStageGridEntities.setCustomDoorGraphics
22
+ local setCustomPitGraphics = ____customStageGridEntities.setCustomPitGraphics
23
+ local setCustomRockGraphics = ____customStageGridEntities.setCustomRockGraphics
24
24
  local metadataJSON = require("features.customStage.metadata")
25
25
  local ____shadows = require("features.customStage.shadows")
26
26
  local setShadows = ____shadows.setShadows
@@ -6,8 +6,8 @@ local ____cachedClasses = require("cachedClasses")
6
6
  local game = ____cachedClasses.game
7
7
  local ____array = require("functions.array")
8
8
  local getRandomArrayElement = ____array.getRandomArrayElement
9
- local ____entitySpecific = require("functions.entitySpecific")
10
- local spawnEffectWithSeed = ____entitySpecific.spawnEffectWithSeed
9
+ local ____entitiesSpecific = require("functions.entitiesSpecific")
10
+ local spawnEffectWithSeed = ____entitiesSpecific.spawnEffectWithSeed
11
11
  local ____customStageConstants = require("features.customStage.customStageConstants")
12
12
  local ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH = ____customStageConstants.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH
13
13
  local ____v = require("features.customStage.v")
@@ -13,10 +13,10 @@ local game = ____cachedClasses.game
13
13
  local sfxManager = ____cachedClasses.sfxManager
14
14
  local ____array = require("functions.array")
15
15
  local arrayRemove = ____array.arrayRemove
16
- local ____boss = require("functions.boss")
17
- local getBosses = ____boss.getBosses
18
- local ____entity = require("functions.entity")
19
- local getEntityID = ____entity.getEntityID
16
+ local ____bosses = require("functions.bosses")
17
+ local getBosses = ____bosses.getBosses
18
+ local ____entities = require("functions.entities")
19
+ local getEntityID = ____entities.getEntityID
20
20
  local ____utils = require("functions.utils")
21
21
  local erange = ____utils.erange
22
22
  local ____bossNamePNGFileNames = require("objects.bossNamePNGFileNames")
@@ -1,9 +1,9 @@
1
1
  local ____exports = {}
2
2
  local defaultEntityDisplayCallback, defaultGridEntityDisplayCallback
3
- local ____entity = require("functions.entity")
4
- local getEntityID = ____entity.getEntityID
5
- local ____gridEntity = require("functions.gridEntity")
6
- local getGridEntityID = ____gridEntity.getGridEntityID
3
+ local ____entities = require("functions.entities")
4
+ local getEntityID = ____entities.getEntityID
5
+ local ____gridEntities = require("functions.gridEntities")
6
+ local getGridEntityID = ____gridEntities.getGridEntityID
7
7
  function defaultEntityDisplayCallback(self, entity)
8
8
  return getEntityID(nil, entity)
9
9
  end
@@ -27,24 +27,24 @@ local ____featuresInitialized = require("featuresInitialized")
27
27
  local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
28
28
  local ____array = require("functions.array")
29
29
  local emptyArray = ____array.emptyArray
30
- local ____entity = require("functions.entity")
31
- local getEntityIDFromConstituents = ____entity.getEntityIDFromConstituents
32
- local removeAllMatchingEntities = ____entity.removeAllMatchingEntities
33
- local spawn = ____entity.spawn
34
- local spawnWithSeed = ____entity.spawnWithSeed
35
- local ____entitySpecific = require("functions.entitySpecific")
36
- local getNPCs = ____entitySpecific.getNPCs
37
- local removeAllBombs = ____entitySpecific.removeAllBombs
38
- local removeAllPickups = ____entitySpecific.removeAllPickups
39
- local ____gridEntity = require("functions.gridEntity")
40
- local convertXMLGridEntityType = ____gridEntity.convertXMLGridEntityType
41
- local getAllGridIndexes = ____gridEntity.getAllGridIndexes
42
- local getGridEntities = ____gridEntity.getGridEntities
43
- local getGridEntityIDFromConstituents = ____gridEntity.getGridEntityIDFromConstituents
44
- local removeAllGridExcept = ____gridEntity.removeAllGridExcept
45
- local removeGrid = ____gridEntity.removeGrid
46
- local setGridEntityInvisible = ____gridEntity.setGridEntityInvisible
47
- local spawnGridWithVariant = ____gridEntity.spawnGridWithVariant
30
+ local ____entities = require("functions.entities")
31
+ local getEntityIDFromConstituents = ____entities.getEntityIDFromConstituents
32
+ local removeAllMatchingEntities = ____entities.removeAllMatchingEntities
33
+ local spawn = ____entities.spawn
34
+ local spawnWithSeed = ____entities.spawnWithSeed
35
+ local ____entitiesSpecific = require("functions.entitiesSpecific")
36
+ local getNPCs = ____entitiesSpecific.getNPCs
37
+ local removeAllBombs = ____entitiesSpecific.removeAllBombs
38
+ local removeAllPickups = ____entitiesSpecific.removeAllPickups
39
+ local ____gridEntities = require("functions.gridEntities")
40
+ local convertXMLGridEntityType = ____gridEntities.convertXMLGridEntityType
41
+ local getAllGridIndexes = ____gridEntities.getAllGridIndexes
42
+ local getGridEntities = ____gridEntities.getGridEntities
43
+ local getGridEntityIDFromConstituents = ____gridEntities.getGridEntityIDFromConstituents
44
+ local removeAllGridExcept = ____gridEntities.removeAllGridExcept
45
+ local removeGridEntity = ____gridEntities.removeGridEntity
46
+ local setGridEntityInvisible = ____gridEntities.setGridEntityInvisible
47
+ local spawnGridEntityWithVariant = ____gridEntities.spawnGridEntityWithVariant
48
48
  local ____jsonRoom = require("functions.jsonRoom")
49
49
  local getRandomJSONRoom = ____jsonRoom.getRandomJSONRoom
50
50
  local ____log = require("functions.log")
@@ -76,7 +76,7 @@ function preUseItemWeNeedToGoDeeper(self, _collectibleType, _rng, player)
76
76
  end
77
77
  local decorations = getGridEntities(nil, GridEntityType.DECORATION)
78
78
  for ____, decoration in ipairs(decorations) do
79
- removeGrid(nil, decoration, false)
79
+ removeGridEntity(nil, decoration, false)
80
80
  end
81
81
  local playerPtr = EntityPtr(player)
82
82
  runNextGameFrame(
@@ -289,7 +289,7 @@ function spawnGridEntityForJSONRoom(self, gridEntityXMLType, gridEntityXMLVarian
289
289
  local gridEntityType, variant = table.unpack(gridEntityTuple)
290
290
  local position = gridCoordinatesToWorldPosition(nil, x, y)
291
291
  local gridIndex = room:GetGridIndex(position)
292
- local gridEntity = spawnGridWithVariant(nil, gridEntityType, variant, gridIndex)
292
+ local gridEntity = spawnGridEntityWithVariant(nil, gridEntityType, variant, gridIndex)
293
293
  if gridEntity == nil then
294
294
  return gridEntity
295
295
  end
@@ -9,8 +9,8 @@ local ____HealthType = require("enums.HealthType")
9
9
  local HealthType = ____HealthType.HealthType
10
10
  local ____direction = require("functions.direction")
11
11
  local directionToVector = ____direction.directionToVector
12
- local ____gridEntity = require("functions.gridEntity")
13
- local spawnGridWithVariant = ____gridEntity.spawnGridWithVariant
12
+ local ____gridEntities = require("functions.gridEntities")
13
+ local spawnGridEntityWithVariant = ____gridEntities.spawnGridEntityWithVariant
14
14
  local ____log = require("functions.log")
15
15
  local logEntities = ____log.logEntities
16
16
  local logGridEntities = ____log.logGridEntities
@@ -104,7 +104,7 @@ function ____exports.spawnTrapdoorOrCrawlSpace(self, trapdoor)
104
104
  local position = room:FindFreeTilePosition(player.Position, 0)
105
105
  local gridIndex = room:GetGridIndex(position)
106
106
  local gridEntityType = trapdoor and GridEntityType.TRAPDOOR or GridEntityType.CRAWL_SPACE
107
- spawnGridWithVariant(nil, gridEntityType, 0, gridIndex)
107
+ spawnGridEntityWithVariant(nil, gridEntityType, 0, gridIndex)
108
108
  end
109
109
  function ____exports.warpToRoomType(self, roomType)
110
110
  local roomTypeName = ROOM_TYPE_NAMES[roomType]
@@ -1 +1 @@
1
- {"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"AA+FA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA2C/C;AAED;;;GAGG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAE5B;AAED,gEAAgE;AACh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AgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAQ1C;AAED,6EAA6E;AAC7E,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED;;;GAGG;AACH,wBAAgB,IAAI,IAAI,IAAI,CAG3B;AAED,6DAA6D;AAC7D,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAkBvD;AAED,gEAAgE;AAChE,wBAAgB,KAAK,IAAI,IAAI,CAY5B;AAED,+CAA+C;AAC/C,wBAAgB,YAAY,IAAI,IAAI,CAInC;AAED,yDAAyD;AACzD,wBAAgB,WAAW,IAAI,IAAI,CAElC;AAED;;;GAGG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAQ5B;AAED,6CAA6C;AAC7C,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,qDAAqD;AACrD,wBAAgB,QAAQ,IAAI,IAAI,CAE/B;AAED,yDAAyD;AACzD,wBAAgB,WAAW,IAAI,IAAI,CAElC;AAED,sFAAsF;AACtF,wBAAgB,MAAM,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC"}
1
+ {"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"AAmGA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA2C/C;AAED;;;GAGG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAE5B;AAED,gEAAgE;AAChE,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IAAI,IAAI,CAkB9B;AAED,2CAA2C;AAC3C,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAE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,6DAA6D;AAC7D,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAkBvD;AAED,gEAAgE;AAChE,wBAAgB,KAAK,IAAI,IAAI,CAY5B;AAED,+CAA+C;AAC/C,wBAAgB,YAAY,IAAI,IAAI,CAInC;AAED,yDAAyD;AACzD,wBAAgB,WAAW,IAAI,IAAI,CAElC;AAED;;;GAGG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAQ5B;AAED,6CAA6C;AAC7C,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,qDAAqD;AACrD,wBAAgB,QAAQ,IAAI,IAAI,CAE/B;AAED,yDAAyD;AACzD,wBAAgB,WAAW,IAAI,IAAI,CAElC;AAED,sFAAsF;AACtF,wBAAgB,MAAM,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC"}
@@ -42,14 +42,14 @@ local ____charge = require("functions.charge")
42
42
  local addCharge = ____charge.addCharge
43
43
  local ____collectibles = require("functions.collectibles")
44
44
  local isValidCollectibleType = ____collectibles.isValidCollectibleType
45
- local ____entitySpecific = require("functions.entitySpecific")
46
- local getNPCs = ____entitySpecific.getNPCs
45
+ local ____entitiesSpecific = require("functions.entitiesSpecific")
46
+ local getNPCs = ____entitiesSpecific.getNPCs
47
47
  local ____enums = require("functions.enums")
48
48
  local getEnumValues = ____enums.getEnumValues
49
49
  local ____flag = require("functions.flag")
50
50
  local addFlag = ____flag.addFlag
51
- local ____gridEntity = require("functions.gridEntity")
52
- local spawnGrid = ____gridEntity.spawnGrid
51
+ local ____gridEntities = require("functions.gridEntities")
52
+ local spawnGridEntity = ____gridEntities.spawnGridEntity
53
53
  local ____log = require("functions.log")
54
54
  local logEffects = ____log.logEffects
55
55
  local logRoom = ____log.logRoom
@@ -57,19 +57,19 @@ local logSeedEffects = ____log.logSeedEffects
57
57
  local logSounds = ____log.logSounds
58
58
  local ____map = require("functions.map")
59
59
  local getMapPartialMatch = ____map.getMapPartialMatch
60
- local ____pickups = require("functions.pickups")
61
- local spawnCard = ____pickups.spawnCard
62
- local spawnPill = ____pickups.spawnPill
63
- local spawnTrinket = ____pickups.spawnTrinket
60
+ local ____pickupsSpecific = require("functions.pickupsSpecific")
61
+ local spawnCard = ____pickupsSpecific.spawnCard
62
+ local spawnPill = ____pickupsSpecific.spawnPill
63
+ local spawnTrinket = ____pickupsSpecific.spawnTrinket
64
64
  local ____pills = require("functions.pills")
65
65
  local getPillEffectName = ____pills.getPillEffectName
66
- local ____player = require("functions.player")
67
- local addCollectibleCostume = ____player.addCollectibleCostume
68
- local getPlayerName = ____player.getPlayerName
69
- local removeCollectibleCostume = ____player.removeCollectibleCostume
70
- local useActiveItemTemp = ____player.useActiveItemTemp
71
66
  local ____playerIndex = require("functions.playerIndex")
72
67
  local getPlayers = ____playerIndex.getPlayers
68
+ local ____players = require("functions.players")
69
+ local addCollectibleCostume = ____players.addCollectibleCostume
70
+ local getPlayerName = ____players.getPlayerName
71
+ local removeCollectibleCostume = ____players.removeCollectibleCostume
72
+ local useActiveItemTemp = ____players.useActiveItemTemp
73
73
  local ____roomGrid = require("functions.roomGrid")
74
74
  local gridCoordinatesToWorldPosition = ____roomGrid.gridCoordinatesToWorldPosition
75
75
  local ____rooms = require("functions.rooms")
@@ -614,7 +614,7 @@ function ____exports.gridEntities(self)
614
614
  return
615
615
  end
616
616
  local position = gridCoordinatesToWorldPosition(nil, x, y)
617
- spawnGrid(nil, gridEntityType, position)
617
+ spawnGridEntity(nil, gridEntityType, position)
618
618
  x = x + 1
619
619
  end
620
620
  end
@@ -10,8 +10,8 @@ local InputHook = ____isaac_2Dtypescript_2Ddefinitions.InputHook
10
10
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
11
11
  local ____log = require("functions.log")
12
12
  local logError = ____log.logError
13
- local ____player = require("functions.player")
14
- local useActiveItemTemp = ____player.useActiveItemTemp
13
+ local ____players = require("functions.players")
14
+ local useActiveItemTemp = ____players.useActiveItemTemp
15
15
  local ____disableInputs = require("features.disableInputs")
16
16
  local disableAllInputsExceptFor = ____disableInputs.disableAllInputsExceptFor
17
17
  local enableAllInputs = ____disableInputs.enableAllInputs
@@ -13,8 +13,8 @@ local ____ModCallbackCustom = require("enums.ModCallbackCustom")
13
13
  local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
14
14
  local ____featuresInitialized = require("featuresInitialized")
15
15
  local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
16
- local ____entity = require("functions.entity")
17
- local spawn = ____entity.spawn
16
+ local ____entities = require("functions.entities")
17
+ local spawn = ____entities.spawn
18
18
  local ____roomData = require("functions.roomData")
19
19
  local getRoomListIndex = ____roomData.getRoomListIndex
20
20
  local ____exports = require("features.saveDataManager.exports")
@@ -14,8 +14,8 @@ local ____featuresInitialized = require("featuresInitialized")
14
14
  local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
15
15
  local ____collectibles = require("functions.collectibles")
16
16
  local setCollectibleSubType = ____collectibles.setCollectibleSubType
17
- local ____entity = require("functions.entity")
18
- local getEntityID = ____entity.getEntityID
17
+ local ____entities = require("functions.entities")
18
+ local getEntityID = ____entities.getEntityID
19
19
  local ____pickupVariants = require("functions.pickupVariants")
20
20
  local isCollectible = ____pickupVariants.isCollectible
21
21
  local ____exports = require("features.saveDataManager.exports")
@@ -1 +1 @@
1
- {"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/exports.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAarD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,CAAC,EAAE,QAAQ,EACX,eAAe,CAAC,EAAE,MAAM,OAAO,GAC9B,IAAI,CAuCN;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAKD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CAK/C;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,MAAM,GACrB,IAAI,CAiBN"}
1
+ {"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/exports.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAarD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,CAAC,EAAE,QAAQ,EACX,eAAe,CAAC,EAAE,MAAM,OAAO,GAC9B,IAAI,CAuCN;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAQD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CAK/C;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,MAAM,GACrB,IAAI,CAiBN"}
@@ -7,8 +7,8 @@ local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
7
7
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
8
8
  local ____featuresInitialized = require("featuresInitialized")
9
9
  local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
10
- local ____entity = require("functions.entity")
11
- local getEntities = ____entity.getEntities
10
+ local ____entities = require("functions.entities")
11
+ local getEntities = ____entities.getEntities
12
12
  local ____exports = require("features.saveDataManager.exports")
13
13
  local saveDataManager = ____exports.saveDataManager
14
14
  function postNPCInitSirenHelper(self, npc)
@@ -5,11 +5,11 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
5
5
  local SackSubType = ____isaac_2Dtypescript_2Ddefinitions.SackSubType
6
6
  local ____runInNFrames = require("features.runInNFrames")
7
7
  local runNextGameFrame = ____runInNFrames.runNextGameFrame
8
- local ____entity = require("functions.entity")
9
- local removeEntities = ____entity.removeEntities
10
- local ____pickups = require("functions.pickups")
11
- local getCoins = ____pickups.getCoins
12
- local spawnSackWithSeed = ____pickups.spawnSackWithSeed
8
+ local ____entities = require("functions.entities")
9
+ local removeEntities = ____entities.removeEntities
10
+ local ____pickupsSpecific = require("functions.pickupsSpecific")
11
+ local getCoins = ____pickupsSpecific.getCoins
12
+ local spawnSackWithSeed = ____pickupsSpecific.spawnSackWithSeed
13
13
  --- Hard-coding this makes it easier to clean up the pickups afterwards.
14
14
  local SACK_SEED_THAT_SPAWNS_TWO_COINS = 6
15
15
  --- Helper function to start a Challenge Room or the Boss Rush.
@@ -4,8 +4,16 @@ import { EntityType, StageType } from "isaac-typescript-definitions";
4
4
  *
5
5
  * This function will not include bosses on an internal blacklist, such as Death's scythes or Big
6
6
  * Horn holes.
7
+ *
8
+ * @param entityType Optional. If specified, will only get the bosses that match the type. Default
9
+ * is -1, which matches every type.
10
+ * @param variant Optional. If specified, will only get the bosses that match the variant. Default
11
+ * is -1, which matches every variant.
12
+ * @param subType Optional. If specified, will only get the bosses that match the sub-type. Default
13
+ * is -1, which matches every sub-type.
14
+ * @param ignoreFriendly Optional. Default is false.
7
15
  */
8
- export declare function getAliveBosses(matchingEntityType?: EntityType, matchingVariant?: int, matchingSubType?: int, ignoreFriendly?: boolean): EntityNPC[];
16
+ export declare function getAliveBosses(entityType?: EntityType, variant?: number, subType?: number, ignoreFriendly?: boolean): EntityNPC[];
9
17
  /**
10
18
  * Helper function to get the set of every boss in the game.
11
19
  *
@@ -23,8 +31,18 @@ export declare function getAllBossesSet(): Set<string>;
23
31
  * Also see the `getAllBossesSet` and `getCombinedBossSet` functions.
24
32
  */
25
33
  export declare function getBossSet(stage: int, stageType: StageType): ReadonlySet<string> | undefined;
26
- /** Helper function to get all of the bosses in the room. */
27
- export declare function getBosses(matchingEntityType?: EntityType, matchingVariant?: int, matchingSubType?: int, ignoreFriendly?: boolean): EntityNPC[];
34
+ /**
35
+ * Helper function to get all of the bosses in the room.
36
+ *
37
+ * @param entityType Optional. If specified, will only get the bosses that match the type. Default
38
+ * is -1, which matches every type.
39
+ * @param variant Optional. If specified, will only get the bosses that match the variant. Default
40
+ * is -1, which matches every variant.
41
+ * @param subType Optional. If specified, will only get the bosses that match the sub-type. Default
42
+ * is -1, which matches every sub-type.
43
+ * @param ignoreFriendly Optional. Default is false.
44
+ */
45
+ export declare function getBosses(entityType?: EntityType, variant?: int, subType?: int, ignoreFriendly?: boolean): EntityNPC[];
28
46
  /**
29
47
  * Helper function to get the set of vanilla bosses for a particular stage across all of the stage
30
48
  * types. For example, specifying a stage of 2 will return a set with all of the bosses for
@@ -54,4 +72,4 @@ export declare function spawnBoss(entityType: EntityType, variant: int, subType:
54
72
  * For more information, see the documentation for the `spawnBoss` function.
55
73
  */
56
74
  export declare function spawnBossWithSeed(entityType: EntityType, variant: int, subType: int, position: Vector, seedOrRNG: Seed | RNG, velocity?: Vector, spawner?: Entity | undefined, numSegments?: int): EntityNPC;
57
- //# sourceMappingURL=boss.d.ts.map
75
+ //# sourceMappingURL=bosses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bosses.d.ts","sourceRoot":"","sources":["../../src/functions/bosses.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAA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