isaacscript-common 2.0.33 → 2.2.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 (254) hide show
  1. package/README.md +1 -1
  2. package/callbacks/customRevive.lua +11 -11
  3. package/callbacks/itemPickup.lua +7 -7
  4. package/callbacks/postBombInitLate.lua +2 -2
  5. package/callbacks/postBoneSwing.lua +2 -2
  6. package/callbacks/postCollectibleInitFirst.lua +3 -3
  7. package/callbacks/postCursedTeleport.lua +6 -6
  8. package/callbacks/postCustomDoorEnter.lua +9 -9
  9. package/callbacks/postDoorRender.lua +2 -2
  10. package/callbacks/postDoorUpdate.lua +2 -2
  11. package/callbacks/postEffectInitLate.lua +2 -2
  12. package/callbacks/postEffectStateChanged.lua +3 -3
  13. package/callbacks/postEsauJr.lua +5 -5
  14. package/callbacks/postFamiliarInitLate.lua +2 -2
  15. package/callbacks/postFamiliarStateChanged.lua +3 -3
  16. package/callbacks/postFlip.lua +4 -4
  17. package/callbacks/postGreedModeWave.lua +3 -3
  18. package/callbacks/postGridEntity.lua +7 -7
  19. package/callbacks/postGridEntityCollision.lua +4 -4
  20. package/callbacks/postGridEntityRender.lua +2 -2
  21. package/callbacks/postHolyMantleRemoved.lua +5 -5
  22. package/callbacks/postItemDischarged.lua +7 -7
  23. package/callbacks/postKnifeInitLate.lua +2 -2
  24. package/callbacks/postLaserInitLate.lua +2 -2
  25. package/callbacks/postNPCInitLate.lua +2 -2
  26. package/callbacks/postNPCStateChanged.lua +3 -3
  27. package/callbacks/postNewRoomEarly.lua +4 -4
  28. package/callbacks/postPickupCollect.lua +3 -3
  29. package/callbacks/postPickupInitLate.lua +2 -2
  30. package/callbacks/postPickupStateChanged.lua +3 -3
  31. package/callbacks/postPitRender.lua +2 -2
  32. package/callbacks/postPitUpdate.lua +2 -2
  33. package/callbacks/postPlayerChangeHealth.lua +8 -8
  34. package/callbacks/postPlayerChangeType.lua +5 -5
  35. package/callbacks/postPlayerFatalDamage.lua +6 -6
  36. package/callbacks/postPlayerInitLate.lua +3 -3
  37. package/callbacks/postPlayerReordered.lua +7 -7
  38. package/callbacks/postPoopRender.lua +2 -2
  39. package/callbacks/postPoopUpdate.lua +2 -2
  40. package/callbacks/postPressurePlateRender.lua +2 -2
  41. package/callbacks/postPressurePlateUpdate.lua +2 -2
  42. package/callbacks/postProjectileInitLate.lua +2 -2
  43. package/callbacks/postPurchase.lua +6 -6
  44. package/callbacks/postRockRender.lua +2 -2
  45. package/callbacks/postRockUpdate.lua +2 -2
  46. package/callbacks/postRoomClearChanged.lua +3 -3
  47. package/callbacks/postSacrifice.lua +4 -4
  48. package/callbacks/postSlotInitUpdate.lua +4 -4
  49. package/callbacks/postSlotRender.lua +6 -6
  50. package/callbacks/postSpikesRender.lua +2 -2
  51. package/callbacks/postSpikesUpdate.lua +2 -2
  52. package/callbacks/postTNTRender.lua +2 -2
  53. package/callbacks/postTNTUpdate.lua +2 -2
  54. package/callbacks/postTearInitLate.lua +2 -2
  55. package/callbacks/postTearInitVeryLate.lua +2 -2
  56. package/callbacks/postTransformation.lua +6 -6
  57. package/callbacks/postTrinketBreak.lua +5 -5
  58. package/callbacks/preBerserkDeath.lua +5 -5
  59. package/callbacks/preNewLevel.lua +3 -3
  60. package/callbacks/reorderedCallbacks.lua +4 -4
  61. package/classes/DefaultMap.d.ts +11 -7
  62. package/classes/ModUpgraded.d.ts +8 -2
  63. package/classes/ModUpgraded.lua +1 -1
  64. package/constants.d.ts +5 -5
  65. package/constants.lua +2 -2
  66. package/{constantsMax.d.ts → constantsFirstLast.d.ts} +0 -0
  67. package/{constantsMax.lua → constantsFirstLast.lua} +2 -2
  68. package/enums/HealthType.d.ts +2 -2
  69. package/enums/ModCallbackCustom.d.ts +753 -2
  70. package/features/characterHealthConversion.d.ts +1 -2
  71. package/features/characterHealthConversion.lua +3 -3
  72. package/features/characterStats.lua +3 -3
  73. package/features/debugDisplay/debugDisplay.lua +4 -4
  74. package/features/debugDisplay/exports.d.ts +36 -36
  75. package/features/debugDisplay/exports.lua +2 -2
  76. package/features/debugDisplay/v.lua +2 -2
  77. package/features/deployJSONRoom.d.ts +1 -1
  78. package/features/deployJSONRoom.lua +15 -15
  79. package/features/disableInputs.d.ts +5 -5
  80. package/features/disableInputs.lua +3 -3
  81. package/features/disableSound.d.ts +2 -2
  82. package/features/disableSound.lua +4 -4
  83. package/features/extraConsoleCommands/commandsDisplay.d.ts +18 -18
  84. package/features/extraConsoleCommands/commandsDisplay.lua +1 -1
  85. package/features/extraConsoleCommands/commandsSubroutines.lua +10 -10
  86. package/features/extraConsoleCommands/init.d.ts +3 -2
  87. package/features/extraConsoleCommands/init.lua +83 -83
  88. package/features/extraConsoleCommands/{commands.d.ts → listCommands.d.ts} +17 -17
  89. package/features/extraConsoleCommands/{commands.lua → listCommands.lua} +36 -36
  90. package/features/fadeInRemover.lua +3 -3
  91. package/features/fastReset.lua +4 -4
  92. package/features/forgottenSwitch.lua +2 -2
  93. package/features/getCollectibleItemPoolType.lua +6 -6
  94. package/features/playerInventory.lua +10 -10
  95. package/features/{isPonyActive.d.ts → ponyDetection.d.ts} +0 -0
  96. package/features/{isPonyActive.lua → ponyDetection.lua} +7 -7
  97. package/features/{preventCollectibleRotate.d.ts → preventCollectibleRotation.d.ts} +1 -1
  98. package/features/{preventCollectibleRotate.lua → preventCollectibleRotation.lua} +9 -9
  99. package/features/runInNFrames.lua +3 -3
  100. package/features/saveDataManager/exports.d.ts +15 -12
  101. package/features/saveDataManager/exports.lua +6 -6
  102. package/features/saveDataManager/load.d.ts +1 -1
  103. package/features/saveDataManager/load.lua +4 -4
  104. package/features/saveDataManager/main.d.ts +1 -1
  105. package/features/saveDataManager/main.lua +11 -11
  106. package/features/saveDataManager/maps.d.ts +1 -1
  107. package/features/saveDataManager/merge.lua +10 -10
  108. package/features/saveDataManager/save.d.ts +1 -1
  109. package/features/saveDataManager/save.lua +5 -5
  110. package/features/saveDataManager/serializationBrand.lua +2 -2
  111. package/features/sirenHelpers.lua +3 -3
  112. package/features/taintedLazarusPlayers.lua +2 -2
  113. package/functions/array.lua +3 -3
  114. package/functions/benchmark.lua +1 -1
  115. package/functions/boss.lua +7 -7
  116. package/functions/cacheFlag.lua +1 -1
  117. package/functions/cards.d.ts +1 -1
  118. package/functions/cards.lua +13 -13
  119. package/functions/challenges.lua +1 -1
  120. package/functions/character.lua +9 -9
  121. package/functions/charge.lua +3 -3
  122. package/functions/chargeBar.d.ts +1 -8
  123. package/functions/chargeBar.lua +1 -1
  124. package/functions/collectibleCacheFlag.d.ts +4 -4
  125. package/functions/collectibleCacheFlag.lua +6 -6
  126. package/functions/collectibleSet.lua +5 -5
  127. package/functions/collectibleTag.lua +6 -6
  128. package/functions/collectibles.lua +15 -15
  129. package/functions/color.d.ts +17 -3
  130. package/functions/color.lua +5 -5
  131. package/functions/debug.lua +1 -1
  132. package/functions/deepCopy.lua +13 -13
  133. package/functions/deepCopyTests.lua +6 -6
  134. package/functions/direction.lua +3 -3
  135. package/functions/doors.lua +6 -6
  136. package/functions/eden.lua +5 -5
  137. package/functions/entity.lua +5 -5
  138. package/functions/entitySpecific.d.ts +15 -1
  139. package/functions/entitySpecific.lua +10 -2
  140. package/functions/enums.d.ts +3 -3
  141. package/functions/enums.lua +2 -2
  142. package/functions/familiars.lua +2 -2
  143. package/functions/flying.lua +2 -2
  144. package/functions/globals.lua +3 -3
  145. package/functions/gridEntity.lua +10 -10
  146. package/functions/gridEntitySpecific.lua +2 -2
  147. package/functions/input.lua +4 -4
  148. package/functions/jsonHelpers.lua +1 -1
  149. package/functions/jsonRoom.d.ts +1 -1
  150. package/functions/jsonRoom.lua +4 -4
  151. package/functions/kColor.d.ts +1 -1
  152. package/functions/kColor.lua +5 -5
  153. package/functions/level.lua +3 -3
  154. package/functions/log.lua +15 -15
  155. package/functions/math.lua +1 -1
  156. package/functions/mergeTests.lua +7 -7
  157. package/functions/npc.lua +3 -3
  158. package/functions/pickups.lua +6 -6
  159. package/functions/pills.lua +15 -15
  160. package/functions/player.lua +11 -11
  161. package/functions/playerDataStructures.d.ts +51 -0
  162. package/functions/playerDataStructures.lua +5 -1
  163. package/functions/playerHealth.d.ts +1 -1
  164. package/functions/playerHealth.lua +4 -4
  165. package/functions/playerIndex.lua +1 -1
  166. package/functions/pocketItems.d.ts +1 -1
  167. package/functions/pocketItems.lua +3 -3
  168. package/functions/positionVelocity.lua +6 -6
  169. package/functions/random.lua +1 -1
  170. package/functions/revive.lua +6 -6
  171. package/functions/rng.d.ts +1 -1
  172. package/functions/rng.lua +6 -6
  173. package/functions/roomData.lua +4 -4
  174. package/functions/roomGrid.lua +3 -3
  175. package/functions/roomShape.lua +8 -8
  176. package/functions/rooms.lua +12 -12
  177. package/functions/run.lua +4 -4
  178. package/functions/seeds.lua +2 -2
  179. package/functions/serialization.lua +5 -5
  180. package/functions/set.lua +2 -2
  181. package/functions/sound.lua +2 -2
  182. package/functions/spawnCollectible.lua +10 -10
  183. package/functions/sprite.lua +3 -3
  184. package/functions/stage.lua +2 -2
  185. package/functions/transformations.lua +6 -6
  186. package/functions/trinketCacheFlag.lua +3 -3
  187. package/functions/trinketGive.d.ts +1 -1
  188. package/functions/trinketGive.lua +3 -3
  189. package/functions/trinkets.d.ts +3 -3
  190. package/functions/trinkets.lua +14 -14
  191. package/functions/tstlClass.lua +1 -1
  192. package/functions/ui.lua +3 -3
  193. package/functions/utils.d.ts +2 -2
  194. package/functions/utils.lua +1 -1
  195. package/functions/vector.d.ts +1 -1
  196. package/functions/vector.lua +5 -5
  197. package/index.d.ts +14 -13
  198. package/index.lua +123 -123
  199. package/initCustomCallbacks.lua +58 -58
  200. package/initFeatures.lua +19 -19
  201. package/{types → interfaces}/AddCallbackParameterCustom.d.ts +0 -0
  202. package/{types → interfaces}/AddCallbackParameterCustom.lua +1 -1
  203. package/interfaces/ChargeBarSprites.d.ts +13 -0
  204. package/{types/JSONDoor.lua → interfaces/ChargeBarSprites.lua} +0 -0
  205. package/{types → interfaces}/JSONDoor.d.ts +1 -0
  206. package/{types/JSONEntity.lua → interfaces/JSONDoor.lua} +0 -0
  207. package/{types → interfaces}/JSONEntity.d.ts +1 -0
  208. package/{types/JSONRoom.lua → interfaces/JSONEntity.lua} +0 -0
  209. package/{types → interfaces}/JSONRoom.d.ts +1 -5
  210. package/{types/JSONRooms.lua → interfaces/JSONRoom.lua} +0 -0
  211. package/{types → interfaces}/JSONRooms.d.ts +0 -0
  212. package/{types/JSONSpawn.lua → interfaces/JSONRooms.lua} +0 -0
  213. package/{types → interfaces}/JSONSpawn.d.ts +1 -0
  214. package/{types/PlayerHealth.lua → interfaces/JSONSpawn.lua} +0 -0
  215. package/{types → interfaces}/PlayerHealth.d.ts +1 -0
  216. package/{types/PocketItemDescription.lua → interfaces/PlayerHealth.lua} +0 -0
  217. package/{types → interfaces}/PocketItemDescription.d.ts +1 -0
  218. package/{types/Primitive.lua → interfaces/PocketItemDescription.lua} +0 -0
  219. package/interfaces/SaveData.d.ts +29 -0
  220. package/{types/private → interfaces}/SaveData.lua +0 -0
  221. package/{types → interfaces}/TrinketSituation.d.ts +1 -0
  222. package/{types → interfaces}/TrinketSituation.lua +0 -0
  223. package/{types → interfaces}/private/TSTLClassMetatable.d.ts +0 -0
  224. package/{types → interfaces}/private/TSTLClassMetatable.lua +0 -0
  225. package/maps/cardMap.lua +85 -85
  226. package/maps/characterMap.lua +58 -58
  227. package/maps/defaultPlayerStatMap.lua +1 -1
  228. package/maps/pillEffectMap.lua +39 -39
  229. package/maps/roomTypeMap.lua +12 -12
  230. package/objects/LRoomShapeToRectangles.lua +1 -1
  231. package/objects/callbackRegisterFunctions.d.ts +1 -1
  232. package/objects/callbackRegisterFunctions.lua +76 -76
  233. package/objects/directionToVector.lua +1 -1
  234. package/objects/isaacAPIClassTypeToBrand.lua +2 -2
  235. package/objects/isaacAPIClassTypeToCopyFunction.lua +5 -5
  236. package/objects/roomShapeBounds.lua +1 -1
  237. package/objects/roomShapeLayoutSizes.lua +1 -1
  238. package/objects/roomShapeToDoorSlotsToGridIndexDelta.lua +1 -1
  239. package/objects/roomShapeToTopLeftPosition.lua +1 -1
  240. package/objects/roomTypeNames.lua +1 -1
  241. package/objects/serializedIsaacAPIClassTypeToIdentityFunction.lua +5 -5
  242. package/package.json +2 -2
  243. package/patchErrorFunctions.lua +1 -1
  244. package/types/CollectibleIndex.d.ts +2 -2
  245. package/types/PickingUpItem.d.ts +12 -2
  246. package/types/PickingUpItem.lua +3 -0
  247. package/types/PlayerIndex.d.ts +2 -2
  248. package/types/private/IsaacAPIClass.d.ts +1 -1
  249. package/types/private/SerializedIsaacAPIClass.d.ts +1 -1
  250. package/types/private/TSTLClass.d.ts +1 -1
  251. package/upgradeMod.d.ts +2 -1
  252. package/upgradeMod.lua +7 -7
  253. package/types/Primitive.d.ts +0 -1
  254. package/types/private/SaveData.d.ts +0 -22
@@ -1,5 +1,5 @@
1
1
  local ____exports = {}
2
- local ____exports = require("packages.isaacscript-common.src.features.debugDisplay.exports")
2
+ local ____exports = require("features.debugDisplay.exports")
3
3
  local toggleBombDisplay = ____exports.toggleBombDisplay
4
4
  local toggleDoorDisplay = ____exports.toggleDoorDisplay
5
5
  local toggleEffectDisplay = ____exports.toggleEffectDisplay
@@ -3,28 +3,28 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
3
3
  local GridEntityType = ____isaac_2Dtypescript_2Ddefinitions.GridEntityType
4
4
  local GridRoom = ____isaac_2Dtypescript_2Ddefinitions.GridRoom
5
5
  local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
6
- local ____cachedClasses = require("packages.isaacscript-common.src.cachedClasses")
6
+ local ____cachedClasses = require("cachedClasses")
7
7
  local game = ____cachedClasses.game
8
- local ____HealthType = require("packages.isaacscript-common.src.enums.HealthType")
8
+ local ____HealthType = require("enums.HealthType")
9
9
  local HealthType = ____HealthType.HealthType
10
- local ____direction = require("packages.isaacscript-common.src.functions.direction")
10
+ local ____direction = require("functions.direction")
11
11
  local directionToVector = ____direction.directionToVector
12
- local ____gridEntity = require("packages.isaacscript-common.src.functions.gridEntity")
12
+ local ____gridEntity = require("functions.gridEntity")
13
13
  local spawnGridWithVariant = ____gridEntity.spawnGridWithVariant
14
- local ____log = require("packages.isaacscript-common.src.functions.log")
14
+ local ____log = require("functions.log")
15
15
  local logEntities = ____log.logEntities
16
16
  local logGridEntities = ____log.logGridEntities
17
- local ____playerHealth = require("packages.isaacscript-common.src.functions.playerHealth")
17
+ local ____playerHealth = require("functions.playerHealth")
18
18
  local addPlayerHealthType = ____playerHealth.addPlayerHealthType
19
- local ____roomData = require("packages.isaacscript-common.src.functions.roomData")
19
+ local ____roomData = require("functions.roomData")
20
20
  local getRoomData = ____roomData.getRoomData
21
21
  local getRoomDescriptor = ____roomData.getRoomDescriptor
22
- local ____rooms = require("packages.isaacscript-common.src.functions.rooms")
22
+ local ____rooms = require("functions.rooms")
23
23
  local changeRoom = ____rooms.changeRoom
24
24
  local getRoomGridIndexesForType = ____rooms.getRoomGridIndexesForType
25
- local ____utils = require("packages.isaacscript-common.src.functions.utils")
25
+ local ____utils = require("functions.utils")
26
26
  local printConsole = ____utils.printConsole
27
- local ____roomTypeNames = require("packages.isaacscript-common.src.objects.roomTypeNames")
27
+ local ____roomTypeNames = require("objects.roomTypeNames")
28
28
  local DEFAULT_ROOM_TYPE_NAME = ____roomTypeNames.DEFAULT_ROOM_TYPE_NAME
29
29
  local ROOM_TYPE_NAMES = ____roomTypeNames.ROOM_TYPE_NAMES
30
30
  local DEFAULT_MOVE_UNITS = 0.5
@@ -1,7 +1,8 @@
1
1
  import { ModUpgraded } from "../../classes/ModUpgraded";
2
2
  /**
3
- * Enables extra console commands which are useful for debugging. See the `isaacscript-common`
4
- * documentation for details on the commands that are added.
3
+ * Enables extra console commands which are useful for debugging. See [the
4
+ * docs](https://isaacscript.github.io/isaacscript-common/features/extraConsoleCommands_listCommands)
5
+ * for the specific commands that are added.
5
6
  */
6
7
  export declare function enableExtraConsoleCommands(mod: ModUpgraded): void;
7
8
  /**
@@ -10,19 +10,19 @@ local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
10
10
  local LevelCurse = ____isaac_2Dtypescript_2Ddefinitions.LevelCurse
11
11
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
12
12
  local TearVariant = ____isaac_2Dtypescript_2Ddefinitions.TearVariant
13
- local ____constants = require("packages.isaacscript-common.src.constants")
13
+ local ____constants = require("constants")
14
14
  local MAX_SPEED_STAT = ____constants.MAX_SPEED_STAT
15
- local ____map = require("packages.isaacscript-common.src.functions.map")
15
+ local ____map = require("functions.map")
16
16
  local getMapPartialMatch = ____map.getMapPartialMatch
17
- local ____utils = require("packages.isaacscript-common.src.functions.utils")
17
+ local ____utils = require("functions.utils")
18
18
  local printConsole = ____utils.printConsole
19
- local ____debugDisplay = require("packages.isaacscript-common.src.features.debugDisplay.debugDisplay")
19
+ local ____debugDisplay = require("features.debugDisplay.debugDisplay")
20
20
  local debugDisplayInit = ____debugDisplay.debugDisplayInit
21
- local ____exports = require("packages.isaacscript-common.src.features.saveDataManager.exports")
21
+ local ____exports = require("features.saveDataManager.exports")
22
22
  local saveDataManager = ____exports.saveDataManager
23
- local commands = require("packages.isaacscript-common.src.features.extraConsoleCommands.commands")
24
- local commandsDisplay = require("packages.isaacscript-common.src.features.extraConsoleCommands.commandsDisplay")
25
- local ____v = require("packages.isaacscript-common.src.features.extraConsoleCommands.v")
23
+ local commandsDisplay = require("features.extraConsoleCommands.commandsDisplay")
24
+ local commands = require("features.extraConsoleCommands.listCommands")
25
+ local ____v = require("features.extraConsoleCommands.v")
26
26
  local v = ____v.default
27
27
  function featureEnabled(self)
28
28
  return initialized
@@ -104,30 +104,30 @@ function ____exports.removeConsoleCommand(self, commandName)
104
104
  commandFunctionsMap:delete(commandName)
105
105
  end
106
106
  commandFunctionsMap:set("1hp", commands.oneHP)
107
- commandFunctionsMap:set("addcharges", commands.addCharges)
107
+ commandFunctionsMap:set("addCharges", commands.addCharges)
108
108
  commandFunctionsMap:set("angel", commands.angel)
109
109
  commandFunctionsMap:set("ascent", commands.ascent)
110
110
  commandFunctionsMap:set("bedroom", commands.bedroom)
111
111
  commandFunctionsMap:set("bh", commands.bh)
112
112
  commandFunctionsMap:set("blackhearts", commands.blackHearts)
113
- commandFunctionsMap:set("blackmarket", commands.blackMarket)
114
- commandFunctionsMap:set("bloodcharges", commands.bloodCharges)
113
+ commandFunctionsMap:set("blackMarket", commands.blackMarket)
114
+ commandFunctionsMap:set("bloodCharges", commands.bloodCharges)
115
115
  commandFunctionsMap:set("bm", commands.bm)
116
116
  commandFunctionsMap:set("bomb", commands.bomb)
117
- commandFunctionsMap:set("bombdisplay", commandsDisplay.bombDisplay)
118
- commandFunctionsMap:set("bombsdisplay", commandsDisplay.bombsDisplay)
117
+ commandFunctionsMap:set("bombDisplay", commandsDisplay.bombDisplay)
118
+ commandFunctionsMap:set("bombsDisplay", commandsDisplay.bombsDisplay)
119
119
  commandFunctionsMap:set("bombs", commands.bombs)
120
- commandFunctionsMap:set("bonehearts", commands.boneHearts)
120
+ commandFunctionsMap:set("boneHearts", commands.boneHearts)
121
121
  commandFunctionsMap:set("boss", commands.boss)
122
- commandFunctionsMap:set("bossrush", commands.bossRush)
123
- commandFunctionsMap:set("brokenhearts", commands.brokenHearts)
122
+ commandFunctionsMap:set("bossRush", commands.bossRush)
123
+ commandFunctionsMap:set("brokenHearts", commands.brokenHearts)
124
124
  commandFunctionsMap:set("card", commands.card)
125
125
  commandFunctionsMap:set("cards", commands.cards)
126
126
  commandFunctionsMap:set("cc", commands.cc)
127
- commandFunctionsMap:set("chaoscardtears", commands.chaosCardTears)
127
+ commandFunctionsMap:set("chaosCardTears", commands.chaosCardTears)
128
128
  commandFunctionsMap:set("character", commands.characterCommand)
129
129
  commandFunctionsMap:set("charge", commands.charge)
130
- commandFunctionsMap:set("cleanbedroom", commands.cleanBedroom)
130
+ commandFunctionsMap:set("cleanBedroom", commands.cleanBedroom)
131
131
  commandFunctionsMap:set("coin", commands.coin)
132
132
  commandFunctionsMap:set("coins", commands.coins)
133
133
  commandFunctionsMap:set("crawlspace", commands.crawlspace)
@@ -136,114 +136,114 @@ commandFunctionsMap:set("d6", commands.d6)
136
136
  commandFunctionsMap:set("damage", commands.damage)
137
137
  commandFunctionsMap:set("dd", commands.dd)
138
138
  commandFunctionsMap:set("devil", commands.devil)
139
- commandFunctionsMap:set("dirtybedroom", commands.dirtyBedroom)
140
- commandFunctionsMap:set("disablecurses", commands.disableCurses)
141
- commandFunctionsMap:set("doordisplay", commandsDisplay.doorDisplay)
142
- commandFunctionsMap:set("doorsdisplay", commandsDisplay.doorsDisplay)
139
+ commandFunctionsMap:set("dirtyBedroom", commands.dirtyBedroom)
140
+ commandFunctionsMap:set("disableCurses", commands.disableCurses)
141
+ commandFunctionsMap:set("doorDisplay", commandsDisplay.doorDisplay)
142
+ commandFunctionsMap:set("doorsDisplay", commandsDisplay.doorsDisplay)
143
143
  commandFunctionsMap:set("down", commands.down)
144
144
  commandFunctionsMap:set("dungeon", commands.dungeon)
145
- commandFunctionsMap:set("effectdisplay", commandsDisplay.effectDisplay)
145
+ commandFunctionsMap:set("effectDisplay", commandsDisplay.effectDisplay)
146
146
  commandFunctionsMap:set("effects", commands.effects)
147
- commandFunctionsMap:set("effectsdisplay", commandsDisplay.effectsDisplay)
147
+ commandFunctionsMap:set("effectsDisplay", commandsDisplay.effectsDisplay)
148
148
  commandFunctionsMap:set("eh", commands.eh)
149
149
  commandFunctionsMap:set("error", commands.error)
150
- commandFunctionsMap:set("eternalhearts", commands.eternalHearts)
151
- commandFunctionsMap:set("familiardisplay", commandsDisplay.familiarDisplay)
152
- commandFunctionsMap:set("familiarsdisplay", commandsDisplay.familiarsDisplay)
150
+ commandFunctionsMap:set("eternalHearts", commands.eternalHearts)
151
+ commandFunctionsMap:set("familiarDisplay", commandsDisplay.familiarDisplay)
152
+ commandFunctionsMap:set("familiarsDisplay", commandsDisplay.familiarsDisplay)
153
153
  commandFunctionsMap:set("fool", commands.fool)
154
- commandFunctionsMap:set("getposition", commands.getPosition)
155
- commandFunctionsMap:set("gigabomb", commands.gigaBomb)
156
- commandFunctionsMap:set("goldbomb", commands.goldBomb)
157
- commandFunctionsMap:set("goldhearts", commands.goldHearts)
158
- commandFunctionsMap:set("goldkey", commands.goldKey)
159
- commandFunctionsMap:set("goldenbomb", commands.goldenBomb)
160
- commandFunctionsMap:set("goldenhearts", commands.goldenHearts)
161
- commandFunctionsMap:set("goldenkey", commands.goldenKey)
154
+ commandFunctionsMap:set("getPosition", commands.getPosition)
155
+ commandFunctionsMap:set("gigaBomb", commands.gigaBomb)
156
+ commandFunctionsMap:set("goldBomb", commands.goldBomb)
157
+ commandFunctionsMap:set("goldHearts", commands.goldHearts)
158
+ commandFunctionsMap:set("goldKey", commands.goldKey)
159
+ commandFunctionsMap:set("goldenBomb", commands.goldenBomb)
160
+ commandFunctionsMap:set("goldenHearts", commands.goldenHearts)
161
+ commandFunctionsMap:set("goldenKey", commands.goldenKey)
162
162
  commandFunctionsMap:set("grid", commands.grid)
163
163
  commandFunctionsMap:set("grid2", commands.grid2)
164
- commandFunctionsMap:set("gridentities", commands.gridEntities)
164
+ commandFunctionsMap:set("gridEntities", commands.gridEntities)
165
165
  commandFunctionsMap:set("h", commands.h)
166
166
  commandFunctionsMap:set("hearts", commands.hearts)
167
167
  commandFunctionsMap:set("hitboxes", commands.hitboxes)
168
- commandFunctionsMap:set("iamerror", commands.iAmError)
168
+ commandFunctionsMap:set("iAmError", commands.iAmError)
169
169
  commandFunctionsMap:set("key", commands.key)
170
170
  commandFunctionsMap:set("keys", commands.keys)
171
- commandFunctionsMap:set("knifedisplay", commandsDisplay.knifeDisplay)
172
- commandFunctionsMap:set("knivesdisplay", commandsDisplay.knivesDisplay)
173
- commandFunctionsMap:set("laserdisplay", commandsDisplay.laserDisplay)
174
- commandFunctionsMap:set("lasersdisplay", commandsDisplay.lasersDisplay)
171
+ commandFunctionsMap:set("knifeDisplay", commandsDisplay.knifeDisplay)
172
+ commandFunctionsMap:set("knivesDisplay", commandsDisplay.knivesDisplay)
173
+ commandFunctionsMap:set("laserDisplay", commandsDisplay.laserDisplay)
174
+ commandFunctionsMap:set("lasersDisplay", commandsDisplay.lasersDisplay)
175
175
  commandFunctionsMap:set("left", commands.left)
176
176
  commandFunctionsMap:set("library", commands.library)
177
177
  commandFunctionsMap:set("list", commands.list)
178
- commandFunctionsMap:set("listall", commands.listAll)
179
- commandFunctionsMap:set("listgrid", commands.listGrid)
180
- commandFunctionsMap:set("listgridall", commands.listGridAll)
181
- commandFunctionsMap:set("lowhp", commands.lowHP)
178
+ commandFunctionsMap:set("listAll", commands.listAll)
179
+ commandFunctionsMap:set("listGrid", commands.listGrid)
180
+ commandFunctionsMap:set("listGridAll", commands.listGridAll)
181
+ commandFunctionsMap:set("lowHP", commands.lowHP)
182
182
  commandFunctionsMap:set("luck", commands.luck)
183
183
  commandFunctionsMap:set("map", commands.map)
184
- commandFunctionsMap:set("maxhearts", commands.maxHearts)
184
+ commandFunctionsMap:set("maxHearts", commands.maxHearts)
185
185
  commandFunctionsMap:set("mh", commands.mh)
186
186
  commandFunctionsMap:set("miniboss", commands.miniboss)
187
- commandFunctionsMap:set("nocurses", commands.noCurses)
188
- commandFunctionsMap:set("npcdisplay", commandsDisplay.npcDisplay)
189
- commandFunctionsMap:set("npcsdisplay", commandsDisplay.npcsDisplay)
190
- commandFunctionsMap:set("pickupdisplay", commandsDisplay.pickupDisplay)
191
- commandFunctionsMap:set("pickupsdisplay", commandsDisplay.pickupsDisplay)
187
+ commandFunctionsMap:set("noCurses", commands.noCurses)
188
+ commandFunctionsMap:set("npcDisplay", commandsDisplay.npcDisplay)
189
+ commandFunctionsMap:set("npcsDisplay", commandsDisplay.npcsDisplay)
190
+ commandFunctionsMap:set("pickupDisplay", commandsDisplay.pickupDisplay)
191
+ commandFunctionsMap:set("pickupsDisplay", commandsDisplay.pickupsDisplay)
192
192
  commandFunctionsMap:set("pill", commands.pill)
193
193
  commandFunctionsMap:set("pills", commands.pills)
194
- commandFunctionsMap:set("pitdisplay", commandsDisplay.pitDisplay)
195
- commandFunctionsMap:set("pitsdisplay", commandsDisplay.pitsDisplay)
194
+ commandFunctionsMap:set("pitDisplay", commandsDisplay.pitDisplay)
195
+ commandFunctionsMap:set("pitsDisplay", commandsDisplay.pitsDisplay)
196
196
  commandFunctionsMap:set("planetarium", commands.planetarium)
197
- commandFunctionsMap:set("playerdisplay", commandsDisplay.playerDisplay)
198
- commandFunctionsMap:set("playersdisplay", commandsDisplay.playersDisplay)
199
- commandFunctionsMap:set("playsound", commands.playSound)
197
+ commandFunctionsMap:set("playerDisplay", commandsDisplay.playerDisplay)
198
+ commandFunctionsMap:set("playersDisplay", commandsDisplay.playersDisplay)
199
+ commandFunctionsMap:set("playSound", commands.playSound)
200
200
  commandFunctionsMap:set("pocket", commands.pocket)
201
- commandFunctionsMap:set("poopdisplay", commandsDisplay.poopDisplay)
202
- commandFunctionsMap:set("poopmana", commands.poopMana)
203
- commandFunctionsMap:set("poopsdisplay", commandsDisplay.poopsDisplay)
201
+ commandFunctionsMap:set("poopDisplay", commandsDisplay.poopDisplay)
202
+ commandFunctionsMap:set("poopMana", commands.poopMana)
203
+ commandFunctionsMap:set("poopsDisplay", commandsDisplay.poopsDisplay)
204
204
  commandFunctionsMap:set("position", commands.positionCommand)
205
- commandFunctionsMap:set("pressureplatedisplay", commandsDisplay.pressurePlateDisplay)
206
- commandFunctionsMap:set("pressureplatesdisplay", commandsDisplay.pressurePlatesDisplay)
207
- commandFunctionsMap:set("projectiledisplay", commandsDisplay.projectileDisplay)
208
- commandFunctionsMap:set("projectilesdisplay", commandsDisplay.projectilesDisplay)
209
- commandFunctionsMap:set("redhearts", commands.redHearts)
205
+ commandFunctionsMap:set("pressurePlateDisplay", commandsDisplay.pressurePlateDisplay)
206
+ commandFunctionsMap:set("pressurePlatesDisplay", commandsDisplay.pressurePlatesDisplay)
207
+ commandFunctionsMap:set("projectileDisplay", commandsDisplay.projectileDisplay)
208
+ commandFunctionsMap:set("projectilesDisplay", commandsDisplay.projectilesDisplay)
209
+ commandFunctionsMap:set("redHearts", commands.redHearts)
210
210
  commandFunctionsMap:set("rh", commands.rh)
211
211
  commandFunctionsMap:set("right", commands.right)
212
- commandFunctionsMap:set("rockdisplay", commandsDisplay.rockDisplay)
213
- commandFunctionsMap:set("rocksdisplay", commandsDisplay.rocksDisplay)
212
+ commandFunctionsMap:set("rockDisplay", commandsDisplay.rockDisplay)
213
+ commandFunctionsMap:set("rocksDisplay", commandsDisplay.rocksDisplay)
214
214
  commandFunctionsMap:set("room", commands.roomCommand)
215
- commandFunctionsMap:set("rottenhearts", commands.rottenHearts)
215
+ commandFunctionsMap:set("rottenHearts", commands.rottenHearts)
216
216
  commandFunctionsMap:set("s", commands.s)
217
217
  commandFunctionsMap:set("sacrifice", commands.sacrifice)
218
218
  commandFunctionsMap:set("secret", commands.secret)
219
- commandFunctionsMap:set("seedstick", commands.seedStick)
219
+ commandFunctionsMap:set("seedStick", commands.seedStick)
220
220
  commandFunctionsMap:set("seeds", commands.seedsCommand)
221
- commandFunctionsMap:set("setcharges", commands.setCharges)
222
- commandFunctionsMap:set("setposition", commands.setPosition)
221
+ commandFunctionsMap:set("setCharges", commands.setCharges)
222
+ commandFunctionsMap:set("setPosition", commands.setPosition)
223
223
  commandFunctionsMap:set("sh", commands.sh)
224
224
  commandFunctionsMap:set("shop", commands.shop)
225
- commandFunctionsMap:set("slotdisplay", commandsDisplay.slotDisplay)
226
- commandFunctionsMap:set("slotsdisplay", commandsDisplay.slotsDisplay)
225
+ commandFunctionsMap:set("slotDisplay", commandsDisplay.slotDisplay)
226
+ commandFunctionsMap:set("slotsDisplay", commandsDisplay.slotsDisplay)
227
227
  commandFunctionsMap:set("smelt", commands.smelt)
228
- commandFunctionsMap:set("soulcharges", commands.soulCharges)
229
- commandFunctionsMap:set("soulhearts", commands.soulHearts)
228
+ commandFunctionsMap:set("soulCharges", commands.soulCharges)
229
+ commandFunctionsMap:set("soulHearts", commands.soulHearts)
230
230
  commandFunctionsMap:set("sound", commands.sound)
231
231
  commandFunctionsMap:set("sounds", commands.sounds)
232
232
  commandFunctionsMap:set("spam", commands.spam)
233
- commandFunctionsMap:set("spawngoldentrinket", commands.spawnGoldenTrinket)
233
+ commandFunctionsMap:set("spawnGoldenTrinket", commands.spawnGoldenTrinket)
234
234
  commandFunctionsMap:set("speed", commands.speed)
235
- commandFunctionsMap:set("spikedisplay", commandsDisplay.spikeDisplay)
236
- commandFunctionsMap:set("spikesdisplay", commandsDisplay.spikesDisplay)
235
+ commandFunctionsMap:set("spikeDisplay", commandsDisplay.spikeDisplay)
236
+ commandFunctionsMap:set("spikesDisplay", commandsDisplay.spikesDisplay)
237
237
  commandFunctionsMap:set("supersecret", commands.superSecret)
238
- commandFunctionsMap:set("startingroom", commands.startingRoom)
239
- commandFunctionsMap:set("teardisplay", commandsDisplay.tearDisplay)
238
+ commandFunctionsMap:set("startingRoom", commands.startingRoom)
239
+ commandFunctionsMap:set("tearDisplay", commandsDisplay.tearDisplay)
240
240
  commandFunctionsMap:set("tears", commands.tears)
241
- commandFunctionsMap:set("tearsdisplay", commandsDisplay.tearsDisplay)
242
- commandFunctionsMap:set("tntdisplay", commandsDisplay.tntDisplay)
243
- commandFunctionsMap:set("tntsdisplay", commandsDisplay.tntsDisplay)
241
+ commandFunctionsMap:set("tearsDisplay", commandsDisplay.tearsDisplay)
242
+ commandFunctionsMap:set("tntDisplay", commandsDisplay.tntDisplay)
243
+ commandFunctionsMap:set("tntsDisplay", commandsDisplay.tntsDisplay)
244
244
  commandFunctionsMap:set("trapdoor", commands.trapdoorCommand)
245
245
  commandFunctionsMap:set("treasure", commands.treasure)
246
- commandFunctionsMap:set("ultrasecret", commands.ultraSecret)
246
+ commandFunctionsMap:set("ultraSecret", commands.ultraSecret)
247
247
  commandFunctionsMap:set("up", commands.up)
248
248
  commandFunctionsMap:set("warp", commands.warp)
249
249
  return ____exports
@@ -27,7 +27,7 @@ export declare function blackMarket(): void;
27
27
  * charges. (You can use negative numbers to remove charges.)
28
28
  */
29
29
  export declare function bloodCharges(params: string): void;
30
- /** Alias for the "blackmarket" command. */
30
+ /** Alias for the "blackMarket" command. */
31
31
  export declare function bm(): void;
32
32
  /**
33
33
  * Gives a bomb. Provide a number to give a custom amount of bombs. (You can use negative numbers to
@@ -63,7 +63,7 @@ export declare function brokenHearts(params: string): void;
63
63
  export declare function card(params: string): void;
64
64
  /** Spawns every card on the ground, starting at the top-left-most tile. */
65
65
  export declare function cards(): void;
66
- /** Alias for the "chaoscardtears" command. */
66
+ /** Alias for the "chaosCardTears" command. */
67
67
  export declare function cc(): void;
68
68
  /** Toggles Chaos Card tears. Useful for killing enemies very fast without using "debug 10". */
69
69
  export declare function chaosCardTears(): void;
@@ -76,7 +76,7 @@ export declare function chaosCardTears(): void;
76
76
  * - character ta - Restarts as Tainted Azazel.
77
77
  */
78
78
  export declare function characterCommand(params: string): void;
79
- /** Alias for the "addcharges" command. */
79
+ /** Alias for the "addCharges" command. */
80
80
  export declare function charge(params: string): void;
81
81
  /** Warps to the first Clean Bedroom on the floor. */
82
82
  export declare function cleanBedroom(): void;
@@ -115,16 +115,16 @@ export declare function down(params: string): void;
115
115
  export declare function dungeon(): void;
116
116
  /** Logs the player's current temporary effects to the "log.txt" file. */
117
117
  export declare function effects(): void;
118
- /** Alias for the "eternalhearts" command. */
118
+ /** Alias for the "eternalHearts" command. */
119
119
  export declare function eh(params: string): void;
120
- /** Alias for the "iamerror" command. */
120
+ /** Alias for the "iAmError" command. */
121
121
  export declare function error(): void;
122
122
  /**
123
123
  * Gives an eternal heart. Provide a number to give a custom amount of hearts. (You can use negative
124
124
  * numbers to remove hearts.)
125
125
  */
126
126
  export declare function eternalHearts(params: string): void;
127
- /** Alias for the "startingroom" command. */
127
+ /** Alias for the "startingRoom" command. */
128
128
  export declare function fool(): void;
129
129
  /** Prints the current position of all players. */
130
130
  export declare function getPosition(): void;
@@ -133,11 +133,11 @@ export declare function getPosition(): void;
133
133
  * numbers to remove bombs.)
134
134
  */
135
135
  export declare function gigaBomb(params: string): void;
136
- /** Alias for the "goldenbomb" command. */
136
+ /** Alias for the "goldenBomb" command. */
137
137
  export declare function goldBomb(): void;
138
- /** Alias for the "goldenhearts" command. */
138
+ /** Alias for the "goldenHearts" command. */
139
139
  export declare function goldHearts(params: string): void;
140
- /** Alias for the "goldenkey" command. */
140
+ /** Alias for the "goldenKey" command. */
141
141
  export declare function goldKey(): void;
142
142
  /** Gives the player a golden bomb. */
143
143
  export declare function goldenBomb(): void;
@@ -184,7 +184,7 @@ export declare function library(): void;
184
184
  * `EntityType`.
185
185
  *
186
186
  * By default, this command will exclude background effects. If that is not desired, use the
187
- * "listall" command instead.
187
+ * "listAll" command instead.
188
188
  */
189
189
  export declare function list(params: string): void;
190
190
  /**
@@ -196,7 +196,7 @@ export declare function listAll(params: string): void;
196
196
  * Logs the grid entities in the room to the "log.txt" file. Provide a number to only log that
197
197
  * specific `GridEntityType`.
198
198
  *
199
- * By default, this command will exclude walls. If that is not desired, use the "listgridall"
199
+ * By default, this command will exclude walls. If that is not desired, use the "listGridAll"
200
200
  * command instead.
201
201
  */
202
202
  export declare function listGrid(params: string): void;
@@ -216,11 +216,11 @@ export declare function map(): void;
216
216
  * use negative numbers to remove heart containers.)
217
217
  */
218
218
  export declare function maxHearts(params: string): void;
219
- /** Alias for the "maxhearts" command. */
219
+ /** Alias for the "maxHearts" command. */
220
220
  export declare function mh(params: string): void;
221
221
  /** Warps to the first Miniboss Room on the floor. */
222
222
  export declare function miniboss(): void;
223
- /** Alias for the "disablecurses" command. */
223
+ /** Alias for the "disableCurses" command. */
224
224
  export declare function noCurses(): void;
225
225
  /** Sets every NPC in the room to 1 HP. */
226
226
  export declare function oneHP(): void;
@@ -247,11 +247,11 @@ export declare function pocket(params: string): void;
247
247
  * amount of charges. (You can use negative numbers to remove charges.)
248
248
  */
249
249
  export declare function poopMana(params: string): void;
250
- /** Alias for the "getposition" command. */
250
+ /** Alias for the "getPosition" command. */
251
251
  export declare function positionCommand(): void;
252
252
  /** Alias for the "hearts" command. */
253
253
  export declare function redHearts(params: string): void;
254
- /** Alias for the "redhearts" command. */
254
+ /** Alias for the "redHearts" command. */
255
255
  export declare function rh(params: string): void;
256
256
  /** Moves the player 0.5 units right. Provide a number to move a custom amount of units. */
257
257
  export declare function right(params: string): void;
@@ -287,10 +287,10 @@ export declare function setCharges(params: string): void;
287
287
  * Moves the first player to the specified position.
288
288
  *
289
289
  * For example:
290
- * - setposition 100 50
290
+ * - setPosition 100 50
291
291
  */
292
292
  export declare function setPosition(params: string): void;
293
- /** Alias for the "soulhearts" command. */
293
+ /** Alias for the "soulHearts" command. */
294
294
  export declare function sh(params: string): void;
295
295
  /** Warps to the first shop on the floor. */
296
296
  export declare function shop(): void;
@@ -16,78 +16,78 @@ local GridEntityType = ____isaac_2Dtypescript_2Ddefinitions.GridEntityType
16
16
  local GridRoom = ____isaac_2Dtypescript_2Ddefinitions.GridRoom
17
17
  local PillColor = ____isaac_2Dtypescript_2Ddefinitions.PillColor
18
18
  local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
19
- local ____cachedClasses = require("packages.isaacscript-common.src.cachedClasses")
19
+ local ____cachedClasses = require("cachedClasses")
20
20
  local game = ____cachedClasses.game
21
21
  local sfxManager = ____cachedClasses.sfxManager
22
- local ____constants = require("packages.isaacscript-common.src.constants")
22
+ local ____constants = require("constants")
23
23
  local FIRST_ROOM_TYPE = ____constants.FIRST_ROOM_TYPE
24
24
  local FIRST_STAGE = ____constants.FIRST_STAGE
25
25
  local LAST_ROOM_TYPE = ____constants.LAST_ROOM_TYPE
26
26
  local LAST_STAGE = ____constants.LAST_STAGE
27
27
  local MAX_LEVEL_GRID_INDEX = ____constants.MAX_LEVEL_GRID_INDEX
28
- local ____constantsMax = require("packages.isaacscript-common.src.constantsMax")
29
- local FIRST_CARD = ____constantsMax.FIRST_CARD
30
- local FIRST_CHARACTER = ____constantsMax.FIRST_CHARACTER
31
- local FIRST_PILL_EFFECT = ____constantsMax.FIRST_PILL_EFFECT
32
- local LAST_CARD = ____constantsMax.LAST_CARD
33
- local LAST_PILL_EFFECT = ____constantsMax.LAST_PILL_EFFECT
34
- local LAST_VANILLA_CHARACTER = ____constantsMax.LAST_VANILLA_CHARACTER
35
- local ____HealthType = require("packages.isaacscript-common.src.enums.HealthType")
28
+ local ____constantsFirstLast = require("constantsFirstLast")
29
+ local FIRST_CARD = ____constantsFirstLast.FIRST_CARD
30
+ local FIRST_CHARACTER = ____constantsFirstLast.FIRST_CHARACTER
31
+ local FIRST_PILL_EFFECT = ____constantsFirstLast.FIRST_PILL_EFFECT
32
+ local LAST_CARD = ____constantsFirstLast.LAST_CARD
33
+ local LAST_PILL_EFFECT = ____constantsFirstLast.LAST_PILL_EFFECT
34
+ local LAST_VANILLA_CHARACTER = ____constantsFirstLast.LAST_VANILLA_CHARACTER
35
+ local ____HealthType = require("enums.HealthType")
36
36
  local HealthType = ____HealthType.HealthType
37
- local ____cards = require("packages.isaacscript-common.src.functions.cards")
37
+ local ____cards = require("functions.cards")
38
38
  local getCardName = ____cards.getCardName
39
- local ____character = require("packages.isaacscript-common.src.functions.character")
39
+ local ____character = require("functions.character")
40
40
  local getCharacterName = ____character.getCharacterName
41
- local ____collectibles = require("packages.isaacscript-common.src.functions.collectibles")
41
+ local ____collectibles = require("functions.collectibles")
42
42
  local isValidCollectibleType = ____collectibles.isValidCollectibleType
43
- local ____entitySpecific = require("packages.isaacscript-common.src.functions.entitySpecific")
43
+ local ____entitySpecific = require("functions.entitySpecific")
44
44
  local getNPCs = ____entitySpecific.getNPCs
45
- local ____enums = require("packages.isaacscript-common.src.functions.enums")
45
+ local ____enums = require("functions.enums")
46
46
  local getEnumValues = ____enums.getEnumValues
47
- local ____flag = require("packages.isaacscript-common.src.functions.flag")
47
+ local ____flag = require("functions.flag")
48
48
  local addFlag = ____flag.addFlag
49
- local ____gridEntity = require("packages.isaacscript-common.src.functions.gridEntity")
49
+ local ____gridEntity = require("functions.gridEntity")
50
50
  local spawnGrid = ____gridEntity.spawnGrid
51
- local ____log = require("packages.isaacscript-common.src.functions.log")
51
+ local ____log = require("functions.log")
52
52
  local logEffects = ____log.logEffects
53
53
  local logRoom = ____log.logRoom
54
54
  local logSeedEffects = ____log.logSeedEffects
55
55
  local logSounds = ____log.logSounds
56
- local ____map = require("packages.isaacscript-common.src.functions.map")
56
+ local ____map = require("functions.map")
57
57
  local getMapPartialMatch = ____map.getMapPartialMatch
58
- local ____pickups = require("packages.isaacscript-common.src.functions.pickups")
58
+ local ____pickups = require("functions.pickups")
59
59
  local spawnCard = ____pickups.spawnCard
60
60
  local spawnPill = ____pickups.spawnPill
61
61
  local spawnTrinket = ____pickups.spawnTrinket
62
- local ____pills = require("packages.isaacscript-common.src.functions.pills")
62
+ local ____pills = require("functions.pills")
63
63
  local getPillEffectName = ____pills.getPillEffectName
64
- local ____player = require("packages.isaacscript-common.src.functions.player")
64
+ local ____player = require("functions.player")
65
65
  local getPlayerName = ____player.getPlayerName
66
66
  local useActiveItemTemp = ____player.useActiveItemTemp
67
- local ____playerIndex = require("packages.isaacscript-common.src.functions.playerIndex")
67
+ local ____playerIndex = require("functions.playerIndex")
68
68
  local getPlayers = ____playerIndex.getPlayers
69
- local ____roomGrid = require("packages.isaacscript-common.src.functions.roomGrid")
69
+ local ____roomGrid = require("functions.roomGrid")
70
70
  local gridCoordinatesToWorldPosition = ____roomGrid.gridCoordinatesToWorldPosition
71
- local ____rooms = require("packages.isaacscript-common.src.functions.rooms")
71
+ local ____rooms = require("functions.rooms")
72
72
  local changeRoom = ____rooms.changeRoom
73
73
  local getRoomGridIndexesForType = ____rooms.getRoomGridIndexesForType
74
- local ____run = require("packages.isaacscript-common.src.functions.run")
74
+ local ____run = require("functions.run")
75
75
  local restart = ____run.restart
76
- local ____trinkets = require("packages.isaacscript-common.src.functions.trinkets")
76
+ local ____trinkets = require("functions.trinkets")
77
77
  local getGoldenTrinketType = ____trinkets.getGoldenTrinketType
78
- local ____utils = require("packages.isaacscript-common.src.functions.utils")
78
+ local ____utils = require("functions.utils")
79
79
  local irange = ____utils.irange
80
80
  local printConsole = ____utils.printConsole
81
81
  local printEnabled = ____utils.printEnabled
82
- local ____cardMap = require("packages.isaacscript-common.src.maps.cardMap")
82
+ local ____cardMap = require("maps.cardMap")
83
83
  local CARD_MAP = ____cardMap.CARD_MAP
84
- local ____characterMap = require("packages.isaacscript-common.src.maps.characterMap")
84
+ local ____characterMap = require("maps.characterMap")
85
85
  local CHARACTER_MAP = ____characterMap.CHARACTER_MAP
86
- local ____pillEffectMap = require("packages.isaacscript-common.src.maps.pillEffectMap")
86
+ local ____pillEffectMap = require("maps.pillEffectMap")
87
87
  local PILL_EFFECT_MAP = ____pillEffectMap.PILL_EFFECT_MAP
88
- local ____roomTypeMap = require("packages.isaacscript-common.src.maps.roomTypeMap")
88
+ local ____roomTypeMap = require("maps.roomTypeMap")
89
89
  local ROOM_TYPE_MAP = ____roomTypeMap.ROOM_TYPE_MAP
90
- local ____commandsSubroutines = require("packages.isaacscript-common.src.features.extraConsoleCommands.commandsSubroutines")
90
+ local ____commandsSubroutines = require("features.extraConsoleCommands.commandsSubroutines")
91
91
  local addHeart = ____commandsSubroutines.addHeart
92
92
  local devilAngel = ____commandsSubroutines.devilAngel
93
93
  local listEntities = ____commandsSubroutines.listEntities
@@ -95,7 +95,7 @@ local listGridEntities = ____commandsSubroutines.listGridEntities
95
95
  local movePlayer = ____commandsSubroutines.movePlayer
96
96
  local spawnTrapdoorOrCrawlspace = ____commandsSubroutines.spawnTrapdoorOrCrawlspace
97
97
  local warpToRoomType = ____commandsSubroutines.warpToRoomType
98
- local ____v = require("packages.isaacscript-common.src.features.extraConsoleCommands.v")
98
+ local ____v = require("features.extraConsoleCommands.v")
99
99
  local v = ____v.default
100
100
  function ____exports.blackHearts(self, params)
101
101
  addHeart(nil, params, HealthType.BLACK)
@@ -779,12 +779,12 @@ function ____exports.setCharges(self, params)
779
779
  end
780
780
  function ____exports.setPosition(self, params)
781
781
  if params == "" then
782
- printConsole(nil, "You must specify a position. (e.g. \"setposition 100 50\")")
782
+ printConsole(nil, "You must specify a position. (e.g. \"setPosition 100 50\")")
783
783
  return
784
784
  end
785
785
  local args = __TS__StringSplit(params, " ")
786
786
  if #args ~= 2 then
787
- printConsole(nil, "You must specify a position. (e.g. \"setposition 100 50\")")
787
+ printConsole(nil, "You must specify a position. (e.g. \"setPosition 100 50\")")
788
788
  return
789
789
  end
790
790
  local xString, yString = table.unpack(args)
@@ -2,11 +2,11 @@ local ____exports = {}
2
2
  local postRender, shouldRemoveFadeIn, FADE_IN_SPEED, enabled, v
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
- local ____cachedClasses = require("packages.isaacscript-common.src.cachedClasses")
5
+ local ____cachedClasses = require("cachedClasses")
6
6
  local game = ____cachedClasses.game
7
- local ____featuresInitialized = require("packages.isaacscript-common.src.featuresInitialized")
7
+ local ____featuresInitialized = require("featuresInitialized")
8
8
  local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
9
- local ____exports = require("packages.isaacscript-common.src.features.saveDataManager.exports")
9
+ local ____exports = require("features.saveDataManager.exports")
10
10
  local saveDataManager = ____exports.saveDataManager
11
11
  function postRender(self)
12
12
  if not enabled then
@@ -3,14 +3,14 @@ local postRender, checkResetInput, enabled
3
3
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
4
  local ButtonAction = ____isaac_2Dtypescript_2Ddefinitions.ButtonAction
5
5
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
6
- local ____cachedClasses = require("packages.isaacscript-common.src.cachedClasses")
6
+ local ____cachedClasses = require("cachedClasses")
7
7
  local game = ____cachedClasses.game
8
- local ____featuresInitialized = require("packages.isaacscript-common.src.featuresInitialized")
8
+ local ____featuresInitialized = require("featuresInitialized")
9
9
  local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
10
- local ____input = require("packages.isaacscript-common.src.functions.input")
10
+ local ____input = require("functions.input")
11
11
  local isActionTriggeredOnAnyInput = ____input.isActionTriggeredOnAnyInput
12
12
  local isModifierKeyPressed = ____input.isModifierKeyPressed
13
- local ____run = require("packages.isaacscript-common.src.functions.run")
13
+ local ____run = require("functions.run")
14
14
  local restart = ____run.restart
15
15
  function postRender(self)
16
16
  if not enabled then
@@ -4,9 +4,9 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
4
4
  local ButtonAction = ____isaac_2Dtypescript_2Ddefinitions.ButtonAction
5
5
  local InputHook = ____isaac_2Dtypescript_2Ddefinitions.InputHook
6
6
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
7
- local ____featuresInitialized = require("packages.isaacscript-common.src.featuresInitialized")
7
+ local ____featuresInitialized = require("featuresInitialized")
8
8
  local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
9
- local ____exports = require("packages.isaacscript-common.src.features.saveDataManager.exports")
9
+ local ____exports = require("features.saveDataManager.exports")
10
10
  local saveDataManager = ____exports.saveDataManager
11
11
  function isActionTriggered(self, _entity, _inputHook, buttonAction)
12
12
  if buttonAction == ButtonAction.DROP and v.run.shouldSwitch then