isaacscript-common 1.2.292 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (482) hide show
  1. package/README.md +2 -2
  2. package/dist/cachedClasses.d.ts +1 -1
  3. package/dist/cachedClasses.lua +0 -1
  4. package/dist/callbacks/customRevive.lua +13 -8
  5. package/dist/callbacks/itemPickup.lua +3 -1
  6. package/dist/callbacks/postBombInitLate.lua +3 -1
  7. package/dist/callbacks/postBoneSwing.lua +5 -2
  8. package/dist/callbacks/postCollectibleInitFirst.lua +4 -1
  9. package/dist/callbacks/postCursedTeleport.lua +16 -8
  10. package/dist/callbacks/postCustomDoorEnter.d.ts +1 -1
  11. package/dist/callbacks/postCustomDoorEnter.lua +16 -10
  12. package/dist/callbacks/postEffectInitLate.lua +3 -1
  13. package/dist/callbacks/postEffectStateChanged.lua +3 -1
  14. package/dist/callbacks/postEsauJr.lua +5 -2
  15. package/dist/callbacks/postFamiliarInitLate.lua +3 -1
  16. package/dist/callbacks/postFamiliarStateChanged.lua +3 -1
  17. package/dist/callbacks/postFlip.lua +9 -5
  18. package/dist/callbacks/postGreedModeWave.d.ts +1 -0
  19. package/dist/callbacks/postGreedModeWave.lua +32 -0
  20. package/dist/callbacks/postGreedWave.d.ts +1 -0
  21. package/dist/callbacks/postGreedWave.lua +31 -0
  22. package/dist/callbacks/postGridEntity.lua +4 -2
  23. package/dist/callbacks/postGridEntityCollision.lua +5 -2
  24. package/dist/callbacks/postHolyMantleRemoved.lua +3 -1
  25. package/dist/callbacks/postItemDischarged.lua +10 -5
  26. package/dist/callbacks/postKnifeInitLate.lua +3 -1
  27. package/dist/callbacks/postLaserInitLate.lua +3 -1
  28. package/dist/callbacks/postNPCInitLate.lua +3 -1
  29. package/dist/callbacks/postNPCStateChanged.lua +3 -1
  30. package/dist/callbacks/postNewRoomEarly.lua +7 -5
  31. package/dist/callbacks/postPickupCollect.lua +3 -1
  32. package/dist/callbacks/postPickupInitLate.lua +3 -1
  33. package/dist/callbacks/postPickupStateChanged.lua +3 -1
  34. package/dist/callbacks/postPlayerChangeHealth.lua +2 -2
  35. package/dist/callbacks/postPlayerFatalDamage.lua +4 -1
  36. package/dist/callbacks/postPlayerInitLate.lua +3 -1
  37. package/dist/callbacks/postPlayerReordered.lua +7 -6
  38. package/dist/callbacks/postProjectileInitLate.lua +3 -1
  39. package/dist/callbacks/postRoomClearChanged.lua +4 -3
  40. package/dist/callbacks/postSacrifice.lua +8 -4
  41. package/dist/callbacks/postSlotInitUpdate.lua +4 -2
  42. package/dist/callbacks/postSlotRender.lua +3 -1
  43. package/dist/callbacks/postTearInitLate.lua +3 -1
  44. package/dist/callbacks/postTearInitVeryLate.lua +3 -1
  45. package/dist/callbacks/postTransformation.lua +7 -12
  46. package/dist/callbacks/postTrinketBreak.lua +8 -3
  47. package/dist/callbacks/preBerserkDeath.lua +3 -2
  48. package/dist/callbacks/preNewLevel.lua +5 -3
  49. package/dist/callbacks/reorderedCallbacks.lua +7 -5
  50. package/dist/callbacks/subscriptions/postBombInitLate.d.ts +5 -2
  51. package/dist/callbacks/subscriptions/postBombInitLate.lua +3 -3
  52. package/dist/callbacks/subscriptions/postBoneSwing.d.ts +3 -1
  53. package/dist/callbacks/subscriptions/postBoneSwing.lua +3 -3
  54. package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +5 -2
  55. package/dist/callbacks/subscriptions/postCollectibleInitFirst.lua +3 -3
  56. package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +3 -1
  57. package/dist/callbacks/subscriptions/postCursedTeleport.lua +3 -3
  58. package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +5 -2
  59. package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +3 -3
  60. package/dist/callbacks/subscriptions/postCustomRevive.d.ts +4 -1
  61. package/dist/callbacks/subscriptions/postCustomRevive.lua +3 -3
  62. package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +5 -2
  63. package/dist/callbacks/subscriptions/postEffectInitLate.lua +3 -3
  64. package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts +5 -2
  65. package/dist/callbacks/subscriptions/postEffectStateChanged.lua +3 -3
  66. package/dist/callbacks/subscriptions/postEsauJr.d.ts +3 -1
  67. package/dist/callbacks/subscriptions/postEsauJr.lua +3 -3
  68. package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +5 -2
  69. package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +3 -3
  70. package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts +5 -2
  71. package/dist/callbacks/subscriptions/postFamiliarStateChanged.lua +3 -3
  72. package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +3 -1
  73. package/dist/callbacks/subscriptions/postFirstEsauJr.lua +3 -3
  74. package/dist/callbacks/subscriptions/postFirstFlip.d.ts +3 -1
  75. package/dist/callbacks/subscriptions/postFirstFlip.lua +3 -3
  76. package/dist/callbacks/subscriptions/postFlip.d.ts +3 -1
  77. package/dist/callbacks/subscriptions/postFlip.lua +3 -3
  78. package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +3 -1
  79. package/dist/callbacks/subscriptions/postGameStartedReordered.lua +3 -3
  80. package/dist/callbacks/subscriptions/postGreedModeWave.d.ts +4 -0
  81. package/dist/callbacks/subscriptions/postGreedModeWave.lua +16 -0
  82. package/dist/callbacks/subscriptions/postGreedWave.d.ts +2 -0
  83. package/dist/callbacks/subscriptions/postGreedWave.lua +16 -0
  84. package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts +5 -2
  85. package/dist/callbacks/subscriptions/postGridEntityBroken.lua +3 -3
  86. package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts +5 -2
  87. package/dist/callbacks/subscriptions/postGridEntityCollision.lua +3 -3
  88. package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +5 -2
  89. package/dist/callbacks/subscriptions/postGridEntityInit.lua +3 -3
  90. package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +5 -2
  91. package/dist/callbacks/subscriptions/postGridEntityRemove.lua +3 -3
  92. package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts +5 -2
  93. package/dist/callbacks/subscriptions/postGridEntityStateChanged.lua +3 -3
  94. package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +5 -2
  95. package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +3 -3
  96. package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts +6 -2
  97. package/dist/callbacks/subscriptions/postHolyMantleRemoved.lua +16 -4
  98. package/dist/callbacks/subscriptions/postItemDischarged.d.ts +5 -2
  99. package/dist/callbacks/subscriptions/postItemDischarged.lua +3 -3
  100. package/dist/callbacks/subscriptions/postItemPickup.d.ts +6 -2
  101. package/dist/callbacks/subscriptions/postItemPickup.lua +3 -3
  102. package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +5 -2
  103. package/dist/callbacks/subscriptions/postKnifeInitLate.lua +3 -3
  104. package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +5 -2
  105. package/dist/callbacks/subscriptions/postLaserInitLate.lua +3 -3
  106. package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +5 -2
  107. package/dist/callbacks/subscriptions/postNPCInitLate.lua +3 -3
  108. package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts +6 -2
  109. package/dist/callbacks/subscriptions/postNPCStateChanged.lua +3 -3
  110. package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +1 -1
  111. package/dist/callbacks/subscriptions/postNewLevelReordered.lua +3 -3
  112. package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +1 -1
  113. package/dist/callbacks/subscriptions/postNewRoomEarly.lua +3 -3
  114. package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +1 -1
  115. package/dist/callbacks/subscriptions/postNewRoomReordered.lua +3 -3
  116. package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +6 -2
  117. package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +8 -4
  118. package/dist/callbacks/subscriptions/postPickupCollect.d.ts +5 -2
  119. package/dist/callbacks/subscriptions/postPickupCollect.lua +3 -3
  120. package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +5 -2
  121. package/dist/callbacks/subscriptions/postPickupInitLate.lua +3 -3
  122. package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts +5 -2
  123. package/dist/callbacks/subscriptions/postPickupStateChanged.lua +3 -3
  124. package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +5 -2
  125. package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +3 -3
  126. package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +4 -2
  127. package/dist/callbacks/subscriptions/postPlayerChangeType.lua +3 -3
  128. package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +5 -2
  129. package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +3 -3
  130. package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +5 -2
  131. package/dist/callbacks/subscriptions/postPlayerInitLate.lua +3 -3
  132. package/dist/callbacks/subscriptions/postPlayerInitReordered.d.ts +5 -2
  133. package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +3 -3
  134. package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +5 -2
  135. package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +3 -3
  136. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +5 -2
  137. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +3 -3
  138. package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +5 -2
  139. package/dist/callbacks/subscriptions/postProjectileInitLate.lua +3 -3
  140. package/dist/callbacks/subscriptions/postPurchase.d.ts +6 -2
  141. package/dist/callbacks/subscriptions/postPurchase.lua +3 -3
  142. package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts +3 -1
  143. package/dist/callbacks/subscriptions/postRoomClearChanged.lua +3 -3
  144. package/dist/callbacks/subscriptions/postSacrifice.d.ts +3 -1
  145. package/dist/callbacks/subscriptions/postSacrifice.lua +3 -3
  146. package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts +5 -2
  147. package/dist/callbacks/subscriptions/postSlotAnimationChanged.lua +3 -3
  148. package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +5 -2
  149. package/dist/callbacks/subscriptions/postSlotDestroyed.lua +3 -3
  150. package/dist/callbacks/subscriptions/postSlotInit.d.ts +5 -2
  151. package/dist/callbacks/subscriptions/postSlotInit.lua +3 -3
  152. package/dist/callbacks/subscriptions/postSlotRender.d.ts +5 -2
  153. package/dist/callbacks/subscriptions/postSlotRender.lua +3 -3
  154. package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +5 -2
  155. package/dist/callbacks/subscriptions/postSlotUpdate.lua +3 -3
  156. package/dist/callbacks/subscriptions/postTearInitLate.d.ts +5 -2
  157. package/dist/callbacks/subscriptions/postTearInitLate.lua +3 -3
  158. package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts +5 -2
  159. package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +3 -3
  160. package/dist/callbacks/subscriptions/postTransformation.d.ts +5 -2
  161. package/dist/callbacks/subscriptions/postTransformation.lua +3 -3
  162. package/dist/callbacks/subscriptions/postTrinketBreak.d.ts +5 -2
  163. package/dist/callbacks/subscriptions/postTrinketBreak.lua +3 -3
  164. package/dist/callbacks/subscriptions/preBerserkDeath.d.ts +5 -2
  165. package/dist/callbacks/subscriptions/preBerserkDeath.lua +3 -3
  166. package/dist/callbacks/subscriptions/preCustomRevive.d.ts +3 -1
  167. package/dist/callbacks/subscriptions/preCustomRevive.lua +3 -3
  168. package/dist/callbacks/subscriptions/preItemPickup.d.ts +6 -2
  169. package/dist/callbacks/subscriptions/preItemPickup.lua +3 -3
  170. package/dist/callbacks/subscriptions/preNewLevel.d.ts +3 -1
  171. package/dist/callbacks/subscriptions/preNewLevel.lua +3 -3
  172. package/dist/classes/ModUpgraded.d.ts +5 -5
  173. package/dist/constants.d.ts +9 -43
  174. package/dist/constants.lua +16 -13
  175. package/dist/constantsMax.d.ts +16 -0
  176. package/dist/constantsMax.lua +27 -0
  177. package/dist/enums/CardType.lua +1 -1
  178. package/dist/enums/CollectiblePedestalType.lua +1 -1
  179. package/dist/enums/HealthType.d.ts +3 -3
  180. package/dist/enums/HealthType.lua +1 -2
  181. package/dist/enums/ModCallbacksCustom.d.ts +56 -48
  182. package/dist/enums/ModCallbacksCustom.lua +47 -46
  183. package/dist/enums/PillEffectClass.lua +1 -1
  184. package/dist/enums/PillEffectType.lua +1 -1
  185. package/dist/enums/PocketItemType.lua +1 -2
  186. package/dist/enums/SerializationType.lua +1 -2
  187. package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +1 -1
  188. package/dist/enums/private/CopyableIsaacAPIClassType.lua +2 -3
  189. package/dist/enums/private/SaveDataKeys.d.ts +4 -4
  190. package/dist/enums/private/SaveDataKeys.lua +5 -6
  191. package/dist/enums/private/SerializationBrand.d.ts +3 -4
  192. package/dist/enums/private/SerializationBrand.lua +2 -15
  193. package/dist/features/characterHealthConversion.d.ts +2 -2
  194. package/dist/features/characterHealthConversion.lua +8 -4
  195. package/dist/features/characterStats.d.ts +4 -4
  196. package/dist/features/characterStats.lua +3 -1
  197. package/dist/features/debugDisplay.lua +12 -11
  198. package/dist/features/deployJSONRoom.d.ts +3 -3
  199. package/dist/features/deployJSONRoom.lua +35 -21
  200. package/dist/features/disableInputs.d.ts +1 -1
  201. package/dist/features/disableInputs.lua +6 -3
  202. package/dist/features/disableSound.lua +3 -1
  203. package/dist/features/extraConsoleCommands/commands.d.ts +5 -3
  204. package/dist/features/extraConsoleCommands/commands.lua +96 -56
  205. package/dist/features/extraConsoleCommands/commandsDisplay.lua +0 -1
  206. package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts +1 -1
  207. package/dist/features/extraConsoleCommands/commandsSubroutines.lua +13 -10
  208. package/dist/features/extraConsoleCommands/init.lua +17 -9
  209. package/dist/features/extraConsoleCommands/v.lua +0 -1
  210. package/dist/features/fadeInRemover.lua +3 -2
  211. package/dist/features/fastReset.lua +7 -5
  212. package/dist/features/forgottenSwitch.lua +6 -3
  213. package/dist/features/getCollectibleItemPoolType.d.ts +1 -1
  214. package/dist/features/getCollectibleItemPoolType.lua +6 -2
  215. package/dist/features/isPonyActive.lua +5 -2
  216. package/dist/features/playerInventory.d.ts +1 -1
  217. package/dist/features/playerInventory.lua +7 -3
  218. package/dist/features/preventCollectibleRotate.d.ts +1 -1
  219. package/dist/features/preventCollectibleRotate.lua +9 -4
  220. package/dist/features/runInNFrames.lua +4 -2
  221. package/dist/features/saveDataManager/constants.lua +0 -1
  222. package/dist/features/saveDataManager/exports.d.ts +9 -8
  223. package/dist/features/saveDataManager/main.lua +11 -9
  224. package/dist/features/saveDataManager/maps.d.ts +5 -0
  225. package/dist/features/saveDataManager/merge.d.ts +1 -1
  226. package/dist/features/saveDataManager/merge.lua +2 -1
  227. package/dist/features/saveDataManager/serializationBrand.d.ts +1 -0
  228. package/dist/features/saveDataManager/serializationBrand.lua +17 -0
  229. package/dist/features/sirenHelpers.d.ts +1 -1
  230. package/dist/features/sirenHelpers.lua +5 -2
  231. package/dist/features/taintedLazarusPlayers.lua +6 -3
  232. package/dist/featuresInitialized.lua +0 -1
  233. package/dist/functions/array.d.ts +18 -2
  234. package/dist/functions/array.lua +29 -3
  235. package/dist/functions/bitwise.lua +0 -1
  236. package/dist/functions/boss.d.ts +1 -1
  237. package/dist/functions/boss.lua +12 -9
  238. package/dist/functions/cacheFlag.d.ts +2 -2
  239. package/dist/functions/cacheFlag.lua +0 -1
  240. package/dist/functions/cards.d.ts +9 -17
  241. package/dist/functions/cards.lua +22 -23
  242. package/dist/functions/challenges.d.ts +1 -1
  243. package/dist/functions/challenges.lua +0 -1
  244. package/dist/functions/character.d.ts +6 -4
  245. package/dist/functions/character.lua +16 -7
  246. package/dist/functions/charge.d.ts +1 -1
  247. package/dist/functions/charge.lua +14 -9
  248. package/dist/functions/chargeBar.lua +0 -1
  249. package/dist/functions/collectibleCacheFlag.d.ts +4 -4
  250. package/dist/functions/collectibleCacheFlag.lua +8 -5
  251. package/dist/functions/collectibleSet.d.ts +1 -1
  252. package/dist/functions/collectibleSet.lua +4 -5
  253. package/dist/functions/collectibleTag.d.ts +1 -2
  254. package/dist/functions/collectibleTag.lua +12 -10
  255. package/dist/functions/collectibles.d.ts +21 -28
  256. package/dist/functions/collectibles.lua +29 -26
  257. package/dist/functions/color.lua +9 -1
  258. package/dist/functions/debug.d.ts +12 -0
  259. package/dist/functions/debug.lua +3 -1
  260. package/dist/functions/deepCopy.d.ts +1 -1
  261. package/dist/functions/deepCopy.lua +4 -2
  262. package/dist/functions/direction.d.ts +4 -0
  263. package/dist/functions/direction.lua +17 -0
  264. package/dist/functions/doors.d.ts +12 -16
  265. package/dist/functions/doors.lua +34 -26
  266. package/dist/functions/easing.lua +0 -1
  267. package/dist/functions/entity.d.ts +4 -5
  268. package/dist/functions/entity.lua +4 -12
  269. package/dist/functions/entitySpecific.d.ts +35 -33
  270. package/dist/functions/entitySpecific.lua +20 -19
  271. package/dist/functions/enums.d.ts +70 -0
  272. package/dist/functions/enums.lua +71 -0
  273. package/dist/functions/familiars.d.ts +2 -2
  274. package/dist/functions/familiars.lua +0 -1
  275. package/dist/functions/flag.d.ts +42 -10
  276. package/dist/functions/flag.lua +31 -13
  277. package/dist/functions/flying.d.ts +2 -2
  278. package/dist/functions/flying.lua +20 -14
  279. package/dist/functions/globals.lua +5 -2
  280. package/dist/functions/gridEntity.d.ts +18 -16
  281. package/dist/functions/gridEntity.lua +39 -26
  282. package/dist/functions/input.d.ts +14 -4
  283. package/dist/functions/input.lua +38 -80
  284. package/dist/functions/jsonHelpers.d.ts +9 -7
  285. package/dist/functions/jsonHelpers.lua +0 -1
  286. package/dist/functions/kColor.lua +14 -3
  287. package/dist/functions/language.lua +9 -8
  288. package/dist/functions/log.d.ts +21 -15
  289. package/dist/functions/log.lua +61 -36
  290. package/dist/functions/math.d.ts +19 -8
  291. package/dist/functions/math.lua +33 -22
  292. package/dist/functions/mergeTests.lua +0 -1
  293. package/dist/functions/npc.d.ts +1 -1
  294. package/dist/functions/npc.lua +32 -16
  295. package/dist/functions/pickups.d.ts +10 -26
  296. package/dist/functions/pickups.lua +31 -29
  297. package/dist/functions/pills.d.ts +14 -13
  298. package/dist/functions/pills.lua +9 -3
  299. package/dist/functions/player.d.ts +11 -11
  300. package/dist/functions/player.lua +79 -66
  301. package/dist/functions/playerHealth.lua +19 -16
  302. package/dist/functions/playerIndex.d.ts +3 -3
  303. package/dist/functions/playerIndex.lua +9 -6
  304. package/dist/functions/pocketItems.d.ts +1 -1
  305. package/dist/functions/pocketItems.lua +21 -12
  306. package/dist/functions/positionVelocity.lua +4 -1
  307. package/dist/functions/random.d.ts +2 -3
  308. package/dist/functions/random.lua +0 -1
  309. package/dist/functions/revive.lua +18 -13
  310. package/dist/functions/roomData.d.ts +2 -2
  311. package/dist/functions/roomData.lua +11 -13
  312. package/dist/functions/roomGrid.d.ts +2 -2
  313. package/dist/functions/roomGrid.lua +0 -1
  314. package/dist/functions/roomShape.d.ts +2 -2
  315. package/dist/functions/rooms.d.ts +19 -14
  316. package/dist/functions/rooms.lua +42 -22
  317. package/dist/functions/run.d.ts +1 -1
  318. package/dist/functions/run.lua +3 -2
  319. package/dist/functions/seeds.d.ts +7 -0
  320. package/dist/functions/seeds.lua +7 -1
  321. package/dist/functions/sound.lua +4 -3
  322. package/dist/functions/spawnCollectible.d.ts +5 -5
  323. package/dist/functions/spawnCollectible.lua +7 -4
  324. package/dist/functions/sprite.d.ts +1 -1
  325. package/dist/functions/sprite.lua +3 -4
  326. package/dist/functions/stage.d.ts +4 -4
  327. package/dist/functions/stage.lua +3 -2
  328. package/dist/functions/string.d.ts +8 -1
  329. package/dist/functions/string.lua +10 -2
  330. package/dist/functions/tears.d.ts +4 -4
  331. package/dist/functions/tears.lua +0 -1
  332. package/dist/functions/transformations.d.ts +5 -3
  333. package/dist/functions/transformations.lua +31 -20
  334. package/dist/functions/trinketCacheFlag.d.ts +1 -1
  335. package/dist/functions/trinketCacheFlag.lua +8 -6
  336. package/dist/functions/trinketGive.d.ts +14 -3
  337. package/dist/functions/trinketGive.lua +46 -28
  338. package/dist/functions/trinketSet.d.ts +1 -1
  339. package/dist/functions/trinketSet.lua +4 -5
  340. package/dist/functions/trinkets.d.ts +8 -17
  341. package/dist/functions/trinkets.lua +17 -34
  342. package/dist/functions/ui.lua +7 -5
  343. package/dist/functions/utils.d.ts +1 -61
  344. package/dist/functions/utils.lua +3 -50
  345. package/dist/functions/vector.d.ts +1 -2
  346. package/dist/functions/vector.lua +8 -6
  347. package/dist/index.d.ts +4 -6
  348. package/dist/index.lua +17 -34
  349. package/dist/initCustomCallbacks.lua +3 -1
  350. package/dist/initFeatures.lua +0 -1
  351. package/dist/lualib_bundle.lua +14 -1
  352. package/dist/maps/cardMap.d.ts +1 -1
  353. package/dist/maps/characterMap.d.ts +1 -1
  354. package/dist/maps/collectibleDescriptionMap.d.ts +1 -1
  355. package/dist/maps/collectibleNameMap.d.ts +1 -1
  356. package/dist/maps/defaultPlayerStatMap.d.ts +1 -1
  357. package/dist/maps/defaultPlayerStatMap.lua +8 -6
  358. package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +1 -1
  359. package/dist/maps/gridEntityTypeToBrokenStateMap.lua +19 -12
  360. package/dist/maps/gridEntityXMLMap.d.ts +1 -1
  361. package/dist/maps/gridEntityXMLMap.lua +44 -34
  362. package/dist/maps/pillEffectMap.d.ts +1 -1
  363. package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +1 -1
  364. package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +7 -5
  365. package/dist/maps/roomTypeMap.d.ts +1 -1
  366. package/dist/maps/roomTypeMap.lua +37 -35
  367. package/dist/maps/trinketDescriptionMap.d.ts +1 -1
  368. package/dist/maps/trinketNameMap.d.ts +1 -1
  369. package/dist/objects/LRoomShapeToRectangles.d.ts +1 -1
  370. package/dist/objects/LRoomShapeToRectangles.lua +6 -5
  371. package/dist/objects/callbackRegisterFunctions.d.ts +2 -2
  372. package/dist/objects/callbackRegisterFunctions.lua +3 -1
  373. package/dist/objects/cardDescriptions.d.ts +1 -1
  374. package/dist/objects/cardDescriptions.lua +89 -90
  375. package/dist/objects/cardNames.d.ts +1 -1
  376. package/dist/objects/cardNames.lua +89 -90
  377. package/dist/objects/cardTypes.d.ts +3 -4
  378. package/dist/objects/cardTypes.lua +102 -104
  379. package/dist/objects/challengeNames.d.ts +1 -1
  380. package/dist/objects/challengeNames.lua +48 -48
  381. package/dist/objects/characterNames.d.ts +1 -1
  382. package/dist/objects/characterNames.lua +44 -44
  383. package/dist/objects/coinSubTypeToValue.d.ts +1 -1
  384. package/dist/objects/coinSubTypeToValue.lua +10 -8
  385. package/dist/objects/colors.lua +0 -1
  386. package/dist/objects/directionNames.d.ts +1 -1
  387. package/dist/objects/directionNames.lua +2 -1
  388. package/dist/objects/directionToDegrees.d.ts +1 -1
  389. package/dist/objects/directionToDegrees.lua +2 -1
  390. package/dist/objects/directionToVector.d.ts +1 -1
  391. package/dist/objects/directionToVector.lua +2 -1
  392. package/dist/objects/doorSlotFlagToDoorSlot.d.ts +5 -0
  393. package/dist/objects/doorSlotFlagToDoorSlot.lua +16 -0
  394. package/dist/objects/doorSlotToDirection.d.ts +1 -1
  395. package/dist/objects/doorSlotToDirection.lua +11 -10
  396. package/dist/objects/isaacAPIClassTypeToBrand.lua +1 -2
  397. package/dist/objects/isaacAPIClassTypeToCopyFunction.lua +1 -2
  398. package/dist/objects/pillEffectClasses.d.ts +3 -4
  399. package/dist/objects/pillEffectClasses.lua +55 -57
  400. package/dist/objects/pillEffectNames.d.ts +1 -1
  401. package/dist/objects/pillEffectNames.lua +52 -53
  402. package/dist/objects/pillEffectTypes.d.ts +3 -4
  403. package/dist/objects/pillEffectTypes.lua +54 -56
  404. package/dist/objects/roomShapeBounds.d.ts +1 -1
  405. package/dist/objects/roomShapeBounds.lua +14 -16
  406. package/dist/objects/roomShapeLayoutSizes.d.ts +1 -1
  407. package/dist/objects/roomShapeLayoutSizes.lua +14 -14
  408. package/dist/objects/roomShapeToBottomRightPosition.d.ts +1 -1
  409. package/dist/objects/roomShapeToBottomRightPosition.lua +14 -16
  410. package/dist/objects/roomShapeToDoorSlots.d.ts +1 -1
  411. package/dist/objects/roomShapeToDoorSlots.lua +35 -33
  412. package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +2 -2
  413. package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.lua +68 -66
  414. package/dist/objects/roomShapeToGridWidth.d.ts +1 -1
  415. package/dist/objects/roomShapeToGridWidth.lua +14 -14
  416. package/dist/objects/roomShapeToTopLeftPosition.d.ts +1 -1
  417. package/dist/objects/roomShapeToTopLeftPosition.lua +14 -14
  418. package/dist/objects/roomShapeVolumes.d.ts +1 -1
  419. package/dist/objects/roomShapeVolumes.lua +14 -14
  420. package/dist/objects/roomTypeNames.d.ts +1 -1
  421. package/dist/objects/roomTypeNames.lua +32 -32
  422. package/dist/objects/serializedIsaacAPIClassTypeToIdentityFunction.lua +1 -2
  423. package/dist/objects/stageTypeToLetter.d.ts +1 -1
  424. package/dist/objects/stageTypeToLetter.lua +8 -7
  425. package/dist/objects/transformationNames.d.ts +1 -1
  426. package/dist/objects/transformationNames.lua +16 -17
  427. package/dist/patchErrorFunctions.lua +1 -2
  428. package/dist/sets/LRoomShapesSet.d.ts +1 -1
  429. package/dist/sets/LRoomShapesSet.lua +3 -1
  430. package/dist/sets/bossSets.lua +241 -211
  431. package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +1 -1
  432. package/dist/sets/charactersThatStartWithAnActiveItemSet.lua +13 -11
  433. package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +1 -1
  434. package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.lua +3 -1
  435. package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +1 -1
  436. package/dist/sets/charactersWithFreeDevilDealsSet.lua +3 -1
  437. package/dist/sets/charactersWithNoRedHeartsSet.d.ts +1 -1
  438. package/dist/sets/charactersWithNoRedHeartsSet.lua +10 -8
  439. package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +1 -1
  440. package/dist/sets/charactersWithNoSoulHeartsSet.lua +7 -5
  441. package/dist/sets/chestPickupVariantsSet.d.ts +1 -1
  442. package/dist/sets/chestPickupVariantsSet.lua +14 -12
  443. package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +1 -1
  444. package/dist/sets/familiarsThatShootPlayerTearsSet.lua +2 -0
  445. package/dist/sets/lostStyleCharactersSet.d.ts +1 -1
  446. package/dist/sets/lostStyleCharactersSet.lua +7 -5
  447. package/dist/sets/redHeartSubTypesSet.d.ts +1 -1
  448. package/dist/sets/redHeartSubTypesSet.lua +3 -1
  449. package/dist/sets/sinEntityTypesSet.d.ts +1 -1
  450. package/dist/sets/sinEntityTypesSet.lua +9 -7
  451. package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +1 -1
  452. package/dist/sets/singleUseActiveCollectibleTypesSet.lua +10 -8
  453. package/dist/sets/storyBossesSet.d.ts +1 -1
  454. package/dist/sets/storyBossesSet.lua +15 -13
  455. package/dist/types/AddCallbackParameterCustom.d.ts +123 -0
  456. package/dist/types/AddCallbackParameterCustom.lua +4 -0
  457. package/dist/types/AddCallbackParametersCustom.d.ts +120 -277
  458. package/dist/types/AnyEntity.lua +0 -1
  459. package/dist/types/CollectibleIndex.lua +0 -1
  460. package/dist/types/EntityTypeNonNPC.lua +0 -1
  461. package/dist/types/JSONDoor.lua +0 -1
  462. package/dist/types/JSONEntity.lua +0 -1
  463. package/dist/types/JSONRoom.lua +0 -1
  464. package/dist/types/JSONRooms.lua +0 -1
  465. package/dist/types/JSONSpawn.lua +0 -1
  466. package/dist/types/PickingUpItem.d.ts +1 -1
  467. package/dist/types/PickingUpItem.lua +5 -3
  468. package/dist/types/PlayerHealth.d.ts +1 -1
  469. package/dist/types/PlayerHealth.lua +0 -1
  470. package/dist/types/PlayerIndex.lua +0 -1
  471. package/dist/types/PocketItemDescription.d.ts +1 -1
  472. package/dist/types/PocketItemDescription.lua +0 -1
  473. package/dist/types/Primitive.lua +0 -1
  474. package/dist/types/TrinketSituation.d.ts +1 -1
  475. package/dist/types/TrinketSituation.lua +0 -1
  476. package/dist/types/private/IsaacAPIClass.lua +0 -1
  477. package/dist/types/private/SaveData.lua +0 -1
  478. package/dist/types/private/SerializedIsaacAPIClass.lua +0 -1
  479. package/dist/types/private/TSTLClass.lua +0 -1
  480. package/dist/types/private/TSTLClassMetatable.lua +0 -1
  481. package/dist/upgradeMod.d.ts +1 -1
  482. package/package.json +9 -6
@@ -1,108 +1,106 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
3
- local ____CardType = require("enums.CardType")
4
- local CardType = ____CardType.CardType
5
- ____exports.DEFAULT_CARD_TYPE = CardType.MODDED
2
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
3
+ local Card = ____isaac_2Dtypescript_2Ddefinitions.Card
4
+ local ItemConfigCardType = ____isaac_2Dtypescript_2Ddefinitions.ItemConfigCardType
5
+ ____exports.DEFAULT_CARD_TYPE = ItemConfigCardType.MODDED
6
6
  ____exports.CARD_TYPES = {
7
- [Card.CARD_RANDOM] = CardType.NULL,
8
- [Card.CARD_NULL] = CardType.NULL,
9
- [Card.CARD_FOOL] = CardType.TAROT,
10
- [Card.CARD_MAGICIAN] = CardType.TAROT,
11
- [Card.CARD_HIGH_PRIESTESS] = CardType.TAROT,
12
- [Card.CARD_EMPRESS] = CardType.TAROT,
13
- [Card.CARD_EMPEROR] = CardType.TAROT,
14
- [Card.CARD_HIEROPHANT] = CardType.TAROT,
15
- [Card.CARD_LOVERS] = CardType.TAROT,
16
- [Card.CARD_CHARIOT] = CardType.TAROT,
17
- [Card.CARD_JUSTICE] = CardType.TAROT,
18
- [Card.CARD_HERMIT] = CardType.TAROT,
19
- [Card.CARD_WHEEL_OF_FORTUNE] = CardType.TAROT,
20
- [Card.CARD_STRENGTH] = CardType.TAROT,
21
- [Card.CARD_HANGED_MAN] = CardType.TAROT,
22
- [Card.CARD_DEATH] = CardType.TAROT,
23
- [Card.CARD_TEMPERANCE] = CardType.TAROT,
24
- [Card.CARD_DEVIL] = CardType.TAROT,
25
- [Card.CARD_TOWER] = CardType.TAROT,
26
- [Card.CARD_STARS] = CardType.TAROT,
27
- [Card.CARD_MOON] = CardType.TAROT,
28
- [Card.CARD_SUN] = CardType.TAROT,
29
- [Card.CARD_JUDGEMENT] = CardType.TAROT,
30
- [Card.CARD_WORLD] = CardType.TAROT,
31
- [Card.CARD_CLUBS_2] = CardType.SUIT,
32
- [Card.CARD_DIAMONDS_2] = CardType.SUIT,
33
- [Card.CARD_SPADES_2] = CardType.SUIT,
34
- [Card.CARD_HEARTS_2] = CardType.SUIT,
35
- [Card.CARD_ACE_OF_CLUBS] = CardType.SUIT,
36
- [Card.CARD_ACE_OF_DIAMONDS] = CardType.SUIT,
37
- [Card.CARD_ACE_OF_SPADES] = CardType.SUIT,
38
- [Card.CARD_ACE_OF_HEARTS] = CardType.SUIT,
39
- [Card.CARD_JOKER] = CardType.SUIT,
40
- [Card.RUNE_HAGALAZ] = CardType.RUNE,
41
- [Card.RUNE_JERA] = CardType.RUNE,
42
- [Card.RUNE_EHWAZ] = CardType.RUNE,
43
- [Card.RUNE_DAGAZ] = CardType.RUNE,
44
- [Card.RUNE_ANSUZ] = CardType.RUNE,
45
- [Card.RUNE_PERTHRO] = CardType.RUNE,
46
- [Card.RUNE_BERKANO] = CardType.RUNE,
47
- [Card.RUNE_ALGIZ] = CardType.RUNE,
48
- [Card.RUNE_BLANK] = CardType.RUNE,
49
- [Card.RUNE_BLACK] = CardType.RUNE,
50
- [Card.CARD_CHAOS] = CardType.SPECIAL,
51
- [Card.CARD_CREDIT] = CardType.SPECIAL,
52
- [Card.CARD_RULES] = CardType.SPECIAL,
53
- [Card.CARD_HUMANITY] = CardType.SPECIAL,
54
- [Card.CARD_SUICIDE_KING] = CardType.SPECIAL,
55
- [Card.CARD_GET_OUT_OF_JAIL] = CardType.SPECIAL,
56
- [Card.CARD_QUESTIONMARK] = CardType.SPECIAL,
57
- [Card.CARD_DICE_SHARD] = CardType.OBJECT,
58
- [Card.CARD_EMERGENCY_CONTACT] = CardType.OBJECT,
59
- [Card.CARD_HOLY] = CardType.SPECIAL,
60
- [Card.CARD_HUGE_GROWTH] = CardType.SPECIAL,
61
- [Card.CARD_ANCIENT_RECALL] = CardType.SPECIAL,
62
- [Card.CARD_ERA_WALK] = CardType.SPECIAL,
63
- [Card.RUNE_SHARD] = CardType.RUNE,
64
- [Card.CARD_REVERSE_FOOL] = CardType.TAROT_REVERSE,
65
- [Card.CARD_REVERSE_MAGICIAN] = CardType.TAROT_REVERSE,
66
- [Card.CARD_REVERSE_HIGH_PRIESTESS] = CardType.TAROT_REVERSE,
67
- [Card.CARD_REVERSE_EMPRESS] = CardType.TAROT_REVERSE,
68
- [Card.CARD_REVERSE_EMPEROR] = CardType.TAROT_REVERSE,
69
- [Card.CARD_REVERSE_HIEROPHANT] = CardType.TAROT_REVERSE,
70
- [Card.CARD_REVERSE_LOVERS] = CardType.TAROT_REVERSE,
71
- [Card.CARD_REVERSE_CHARIOT] = CardType.TAROT_REVERSE,
72
- [Card.CARD_REVERSE_JUSTICE] = CardType.TAROT_REVERSE,
73
- [Card.CARD_REVERSE_HERMIT] = CardType.TAROT_REVERSE,
74
- [Card.CARD_REVERSE_WHEEL_OF_FORTUNE] = CardType.TAROT_REVERSE,
75
- [Card.CARD_REVERSE_STRENGTH] = CardType.TAROT_REVERSE,
76
- [Card.CARD_REVERSE_HANGED_MAN] = CardType.TAROT_REVERSE,
77
- [Card.CARD_REVERSE_DEATH] = CardType.TAROT_REVERSE,
78
- [Card.CARD_REVERSE_TEMPERANCE] = CardType.TAROT_REVERSE,
79
- [Card.CARD_REVERSE_DEVIL] = CardType.TAROT_REVERSE,
80
- [Card.CARD_REVERSE_TOWER] = CardType.TAROT_REVERSE,
81
- [Card.CARD_REVERSE_STARS] = CardType.TAROT_REVERSE,
82
- [Card.CARD_REVERSE_MOON] = CardType.TAROT_REVERSE,
83
- [Card.CARD_REVERSE_SUN] = CardType.TAROT_REVERSE,
84
- [Card.CARD_REVERSE_JUDGEMENT] = CardType.TAROT_REVERSE,
85
- [Card.CARD_REVERSE_WORLD] = CardType.TAROT_REVERSE,
86
- [Card.CARD_CRACKED_KEY] = CardType.OBJECT,
87
- [Card.CARD_QUEEN_OF_HEARTS] = CardType.SUIT,
88
- [Card.CARD_WILD] = CardType.SPECIAL,
89
- [Card.CARD_SOUL_ISAAC] = CardType.RUNE,
90
- [Card.CARD_SOUL_MAGDALENE] = CardType.RUNE,
91
- [Card.CARD_SOUL_CAIN] = CardType.RUNE,
92
- [Card.CARD_SOUL_JUDAS] = CardType.RUNE,
93
- [Card.CARD_SOUL_BLUEBABY] = CardType.RUNE,
94
- [Card.CARD_SOUL_EVE] = CardType.RUNE,
95
- [Card.CARD_SOUL_SAMSON] = CardType.RUNE,
96
- [Card.CARD_SOUL_AZAZEL] = CardType.RUNE,
97
- [Card.CARD_SOUL_LAZARUS] = CardType.RUNE,
98
- [Card.CARD_SOUL_EDEN] = CardType.RUNE,
99
- [Card.CARD_SOUL_LOST] = CardType.RUNE,
100
- [Card.CARD_SOUL_LILITH] = CardType.RUNE,
101
- [Card.CARD_SOUL_KEEPER] = CardType.RUNE,
102
- [Card.CARD_SOUL_APOLLYON] = CardType.RUNE,
103
- [Card.CARD_SOUL_FORGOTTEN] = CardType.RUNE,
104
- [Card.CARD_SOUL_BETHANY] = CardType.RUNE,
105
- [Card.CARD_SOUL_JACOB] = CardType.RUNE,
106
- [Card.NUM_CARDS] = ____exports.DEFAULT_CARD_TYPE
7
+ [Card.NULL] = ItemConfigCardType.NULL,
8
+ [Card.FOOL] = ItemConfigCardType.TAROT,
9
+ [Card.MAGICIAN] = ItemConfigCardType.TAROT,
10
+ [Card.HIGH_PRIESTESS] = ItemConfigCardType.TAROT,
11
+ [Card.EMPRESS] = ItemConfigCardType.TAROT,
12
+ [Card.EMPEROR] = ItemConfigCardType.TAROT,
13
+ [Card.HIEROPHANT] = ItemConfigCardType.TAROT,
14
+ [Card.LOVERS] = ItemConfigCardType.TAROT,
15
+ [Card.CHARIOT] = ItemConfigCardType.TAROT,
16
+ [Card.JUSTICE] = ItemConfigCardType.TAROT,
17
+ [Card.HERMIT] = ItemConfigCardType.TAROT,
18
+ [Card.WHEEL_OF_FORTUNE] = ItemConfigCardType.TAROT,
19
+ [Card.STRENGTH] = ItemConfigCardType.TAROT,
20
+ [Card.HANGED_MAN] = ItemConfigCardType.TAROT,
21
+ [Card.DEATH] = ItemConfigCardType.TAROT,
22
+ [Card.TEMPERANCE] = ItemConfigCardType.TAROT,
23
+ [Card.DEVIL] = ItemConfigCardType.TAROT,
24
+ [Card.TOWER] = ItemConfigCardType.TAROT,
25
+ [Card.STARS] = ItemConfigCardType.TAROT,
26
+ [Card.MOON] = ItemConfigCardType.TAROT,
27
+ [Card.SUN] = ItemConfigCardType.TAROT,
28
+ [Card.JUDGEMENT] = ItemConfigCardType.TAROT,
29
+ [Card.WORLD] = ItemConfigCardType.TAROT,
30
+ [Card.CLUBS_2] = ItemConfigCardType.SUIT,
31
+ [Card.DIAMONDS_2] = ItemConfigCardType.SUIT,
32
+ [Card.SPADES_2] = ItemConfigCardType.SUIT,
33
+ [Card.HEARTS_2] = ItemConfigCardType.SUIT,
34
+ [Card.ACE_OF_CLUBS] = ItemConfigCardType.SUIT,
35
+ [Card.ACE_OF_DIAMONDS] = ItemConfigCardType.SUIT,
36
+ [Card.ACE_OF_SPADES] = ItemConfigCardType.SUIT,
37
+ [Card.ACE_OF_HEARTS] = ItemConfigCardType.SUIT,
38
+ [Card.JOKER] = ItemConfigCardType.SUIT,
39
+ [Card.RUNE_HAGALAZ] = ItemConfigCardType.RUNE,
40
+ [Card.RUNE_JERA] = ItemConfigCardType.RUNE,
41
+ [Card.RUNE_EHWAZ] = ItemConfigCardType.RUNE,
42
+ [Card.RUNE_DAGAZ] = ItemConfigCardType.RUNE,
43
+ [Card.RUNE_ANSUZ] = ItemConfigCardType.RUNE,
44
+ [Card.RUNE_PERTHRO] = ItemConfigCardType.RUNE,
45
+ [Card.RUNE_BERKANO] = ItemConfigCardType.RUNE,
46
+ [Card.RUNE_ALGIZ] = ItemConfigCardType.RUNE,
47
+ [Card.RUNE_BLANK] = ItemConfigCardType.RUNE,
48
+ [Card.RUNE_BLACK] = ItemConfigCardType.RUNE,
49
+ [Card.CHAOS] = ItemConfigCardType.SPECIAL,
50
+ [Card.CREDIT] = ItemConfigCardType.SPECIAL,
51
+ [Card.RULES] = ItemConfigCardType.SPECIAL,
52
+ [Card.HUMANITY] = ItemConfigCardType.SPECIAL,
53
+ [Card.SUICIDE_KING] = ItemConfigCardType.SPECIAL,
54
+ [Card.GET_OUT_OF_JAIL_FREE] = ItemConfigCardType.SPECIAL,
55
+ [Card.QUESTION_MARK] = ItemConfigCardType.SPECIAL,
56
+ [Card.DICE_SHARD] = ItemConfigCardType.SPECIAL_OBJECT,
57
+ [Card.EMERGENCY_CONTACT] = ItemConfigCardType.SPECIAL_OBJECT,
58
+ [Card.HOLY] = ItemConfigCardType.SPECIAL,
59
+ [Card.HUGE_GROWTH] = ItemConfigCardType.SPECIAL,
60
+ [Card.ANCIENT_RECALL] = ItemConfigCardType.SPECIAL,
61
+ [Card.ERA_WALK] = ItemConfigCardType.SPECIAL,
62
+ [Card.RUNE_SHARD] = ItemConfigCardType.RUNE,
63
+ [Card.REVERSE_FOOL] = ItemConfigCardType.TAROT_REVERSE,
64
+ [Card.REVERSE_MAGICIAN] = ItemConfigCardType.TAROT_REVERSE,
65
+ [Card.REVERSE_HIGH_PRIESTESS] = ItemConfigCardType.TAROT_REVERSE,
66
+ [Card.REVERSE_EMPRESS] = ItemConfigCardType.TAROT_REVERSE,
67
+ [Card.REVERSE_EMPEROR] = ItemConfigCardType.TAROT_REVERSE,
68
+ [Card.REVERSE_HIEROPHANT] = ItemConfigCardType.TAROT_REVERSE,
69
+ [Card.REVERSE_LOVERS] = ItemConfigCardType.TAROT_REVERSE,
70
+ [Card.REVERSE_CHARIOT] = ItemConfigCardType.TAROT_REVERSE,
71
+ [Card.REVERSE_JUSTICE] = ItemConfigCardType.TAROT_REVERSE,
72
+ [Card.REVERSE_HERMIT] = ItemConfigCardType.TAROT_REVERSE,
73
+ [Card.REVERSE_WHEEL_OF_FORTUNE] = ItemConfigCardType.TAROT_REVERSE,
74
+ [Card.REVERSE_STRENGTH] = ItemConfigCardType.TAROT_REVERSE,
75
+ [Card.REVERSE_HANGED_MAN] = ItemConfigCardType.TAROT_REVERSE,
76
+ [Card.REVERSE_DEATH] = ItemConfigCardType.TAROT_REVERSE,
77
+ [Card.REVERSE_TEMPERANCE] = ItemConfigCardType.TAROT_REVERSE,
78
+ [Card.REVERSE_DEVIL] = ItemConfigCardType.TAROT_REVERSE,
79
+ [Card.REVERSE_TOWER] = ItemConfigCardType.TAROT_REVERSE,
80
+ [Card.REVERSE_STARS] = ItemConfigCardType.TAROT_REVERSE,
81
+ [Card.REVERSE_MOON] = ItemConfigCardType.TAROT_REVERSE,
82
+ [Card.REVERSE_SUN] = ItemConfigCardType.TAROT_REVERSE,
83
+ [Card.REVERSE_JUDGEMENT] = ItemConfigCardType.TAROT_REVERSE,
84
+ [Card.REVERSE_WORLD] = ItemConfigCardType.TAROT_REVERSE,
85
+ [Card.CRACKED_KEY] = ItemConfigCardType.SPECIAL_OBJECT,
86
+ [Card.QUEEN_OF_HEARTS] = ItemConfigCardType.SUIT,
87
+ [Card.WILD] = ItemConfigCardType.SPECIAL,
88
+ [Card.SOUL_ISAAC] = ItemConfigCardType.RUNE,
89
+ [Card.SOUL_MAGDALENE] = ItemConfigCardType.RUNE,
90
+ [Card.SOUL_CAIN] = ItemConfigCardType.RUNE,
91
+ [Card.SOUL_JUDAS] = ItemConfigCardType.RUNE,
92
+ [Card.SOUL_BLUE_BABY] = ItemConfigCardType.RUNE,
93
+ [Card.SOUL_EVE] = ItemConfigCardType.RUNE,
94
+ [Card.SOUL_SAMSON] = ItemConfigCardType.RUNE,
95
+ [Card.SOUL_AZAZEL] = ItemConfigCardType.RUNE,
96
+ [Card.SOUL_LAZARUS] = ItemConfigCardType.RUNE,
97
+ [Card.SOUL_EDEN] = ItemConfigCardType.RUNE,
98
+ [Card.SOUL_LOST] = ItemConfigCardType.RUNE,
99
+ [Card.SOUL_LILITH] = ItemConfigCardType.RUNE,
100
+ [Card.SOUL_KEEPER] = ItemConfigCardType.RUNE,
101
+ [Card.SOUL_APOLLYON] = ItemConfigCardType.RUNE,
102
+ [Card.SOUL_FORGOTTEN] = ItemConfigCardType.RUNE,
103
+ [Card.SOUL_BETHANY] = ItemConfigCardType.RUNE,
104
+ [Card.SOUL_JACOB] = ItemConfigCardType.RUNE
107
105
  }
108
106
  return ____exports
@@ -1,4 +1,4 @@
1
- /// <reference types="isaac-typescript-definitions" />
1
+ import { Challenge } from "isaac-typescript-definitions";
2
2
  export declare const DEFAULT_CHALLENGE_NAME = "Unknown";
3
3
  export declare const CHALLENGE_NAMES: {
4
4
  readonly [key in Challenge]: string;
@@ -1,53 +1,53 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
2
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
3
+ local Challenge = ____isaac_2Dtypescript_2Ddefinitions.Challenge
3
4
  ____exports.DEFAULT_CHALLENGE_NAME = "Unknown"
4
5
  ____exports.CHALLENGE_NAMES = {
5
- [Challenge.CHALLENGE_NULL] = ____exports.DEFAULT_CHALLENGE_NAME,
6
- [Challenge.CHALLENGE_PITCH_BLACK] = "Pitch Black",
7
- [Challenge.CHALLENGE_HIGH_BROW] = "High Brow",
8
- [Challenge.CHALLENGE_HEAD_TRAUMA] = "Head Trauma",
9
- [Challenge.CHALLENGE_DARKNESS_FALLS] = "Darkness Falls",
10
- [Challenge.CHALLENGE_THE_TANK] = "The Tank",
11
- [Challenge.CHALLENGE_SOLAR_SYSTEM] = "Solar System",
12
- [Challenge.CHALLENGE_SUICIDE_KING] = "Suicide King",
13
- [Challenge.CHALLENGE_CAT_GOT_YOUR_TONGUE] = "Cat Got Your Tongue",
14
- [Challenge.CHALLENGE_DEMO_MAN] = "Demo Man",
15
- [Challenge.CHALLENGE_CURSED] = "Cursed!",
16
- [Challenge.CHALLENGE_GLASS_CANNON] = "Glass Cannon",
17
- [Challenge.CHALLENGE_WHEN_LIFE_GIVES_LEMONS] = "When Life Gives You Lemons",
18
- [Challenge.CHALLENGE_BEANS] = "Beans!",
19
- [Challenge.CHALLENGE_ITS_IN_THE_CARDS] = "It's In The Cards",
20
- [Challenge.CHALLENGE_SLOW_ROLL] = "Slow Roll",
21
- [Challenge.CHALLENGE_COMPUTER_SAVY] = "Computer Savvy",
22
- [Challenge.CHALLENGE_WAKA_WAKA] = "Waka Waka",
23
- [Challenge.CHALLENGE_THE_HOST] = "The Host",
24
- [Challenge.CHALLENGE_THE_FAMILY_MAN] = "The Family Man",
25
- [Challenge.CHALLENGE_PURIST] = "Purist",
26
- [Challenge.CHALLENGE_XXXXXXXXL] = "XXXXXXXXL",
27
- [Challenge.CHALLENGE_SPEED] = "SPEED!",
28
- [Challenge.CHALLENGE_BLUE_BOMBER] = "Blue Bomber",
29
- [Challenge.CHALLENGE_PAY_TO_PLAY] = "PAY TO PLAY",
30
- [Challenge.CHALLENGE_HAVE_A_HEART] = "Have a Heart",
31
- [Challenge.CHALLENGE_I_RULE] = "I RULE!",
32
- [Challenge.CHALLENGE_BRAINS] = "BRAINS!",
33
- [Challenge.CHALLENGE_PRIDE_DAY] = "PRIDE DAY!",
34
- [Challenge.CHALLENGE_ONANS_STREAK] = "Onan's Streak",
35
- [Challenge.CHALLENGE_GUARDIAN] = "The Guardian",
36
- [Challenge.CHALLENGE_BACKASSWARDS] = "Backasswards",
37
- [Challenge.CHALLENGE_APRILS_FOOL] = "Aprils Fool",
38
- [Challenge.CHALLENGE_POKEY_MANS] = "Pokey Mans",
39
- [Challenge.CHALLENGE_ULTRA_HARD] = "Ultra Hard",
40
- [Challenge.CHALLENGE_PONG] = "Pong",
41
- [Challenge.CHALLENGE_SCAT_MAN] = "Scat Man",
42
- [Challenge.CHALLENGE_BLOODY_MARY] = "Bloody Mary",
43
- [Challenge.CHALLENGE_BAPTISM_BY_FIRE] = "Baptism By Fire",
44
- [Challenge.CHALLENGE_ISAACS_AWAKENING] = "Isaac's Awakening",
45
- [Challenge.CHALLENGE_SEEING_DOUBLE] = "Seeing Double",
46
- [Challenge.CHALLENGE_PICA_RUN] = "Pica Run",
47
- [Challenge.CHALLENGE_HOT_POTATO] = "Hot Potato",
48
- [Challenge.CHALLENGE_CANTRIPPED] = "Cantripped!",
49
- [Challenge.CHALLENGE_RED_REDEMPTION] = "Red Redemption",
50
- [Challenge.CHALLENGE_DELETE_THIS] = "DELETE THIS",
51
- [Challenge.NUM_CHALLENGES] = ____exports.DEFAULT_CHALLENGE_NAME
6
+ [Challenge.NULL] = ____exports.DEFAULT_CHALLENGE_NAME,
7
+ [Challenge.PITCH_BLACK] = "Pitch Black",
8
+ [Challenge.HIGH_BROW] = "High Brow",
9
+ [Challenge.HEAD_TRAUMA] = "Head Trauma",
10
+ [Challenge.DARKNESS_FALLS] = "Darkness Falls",
11
+ [Challenge.THE_TANK] = "The Tank",
12
+ [Challenge.SOLAR_SYSTEM] = "Solar System",
13
+ [Challenge.SUICIDE_KING] = "Suicide King",
14
+ [Challenge.CAT_GOT_YOUR_TONGUE] = "Cat Got Your Tongue",
15
+ [Challenge.DEMO_MAN] = "Demo Man",
16
+ [Challenge.CURSED] = "Cursed!",
17
+ [Challenge.GLASS_CANNON] = "Glass Cannon",
18
+ [Challenge.WHEN_LIFE_GIVES_LEMONS] = "When Life Gives You Lemons",
19
+ [Challenge.BEANS] = "Beans!",
20
+ [Challenge.ITS_IN_THE_CARDS] = "It's In The Cards",
21
+ [Challenge.SLOW_ROLL] = "Slow Roll",
22
+ [Challenge.COMPUTER_SAVY] = "Computer Savvy",
23
+ [Challenge.WAKA_WAKA] = "Waka Waka",
24
+ [Challenge.THE_HOST] = "The Host",
25
+ [Challenge.THE_FAMILY_MAN] = "The Family Man",
26
+ [Challenge.PURIST] = "Purist",
27
+ [Challenge.XXXXXXXXL] = "XXXXXXXXL",
28
+ [Challenge.SPEED] = "SPEED!",
29
+ [Challenge.BLUE_BOMBER] = "Blue Bomber",
30
+ [Challenge.PAY_TO_PLAY] = "PAY TO PLAY",
31
+ [Challenge.HAVE_A_HEART] = "Have a Heart",
32
+ [Challenge.I_RULE] = "I RULE!",
33
+ [Challenge.BRAINS] = "BRAINS!",
34
+ [Challenge.PRIDE_DAY] = "PRIDE DAY!",
35
+ [Challenge.ONANS_STREAK] = "Onan's Streak",
36
+ [Challenge.GUARDIAN] = "The Guardian",
37
+ [Challenge.BACKASSWARDS] = "Backasswards",
38
+ [Challenge.APRILS_FOOL] = "Aprils Fool",
39
+ [Challenge.POKEY_MANS] = "Pokey Mans",
40
+ [Challenge.ULTRA_HARD] = "Ultra Hard",
41
+ [Challenge.PONG] = "Pong",
42
+ [Challenge.SCAT_MAN] = "Scat Man",
43
+ [Challenge.BLOODY_MARY] = "Bloody Mary",
44
+ [Challenge.BAPTISM_BY_FIRE] = "Baptism By Fire",
45
+ [Challenge.ISAACS_AWAKENING] = "Isaac's Awakening",
46
+ [Challenge.SEEING_DOUBLE] = "Seeing Double",
47
+ [Challenge.PICA_RUN] = "Pica Run",
48
+ [Challenge.HOT_POTATO] = "Hot Potato",
49
+ [Challenge.CANTRIPPED] = "Cantripped!",
50
+ [Challenge.RED_REDEMPTION] = "Red Redemption",
51
+ [Challenge.DELETE_THIS] = "DELETE THIS"
52
52
  }
53
53
  return ____exports
@@ -1,4 +1,4 @@
1
- /// <reference types="isaac-typescript-definitions" />
1
+ import { PlayerType } from "isaac-typescript-definitions";
2
2
  export declare const DEFAULT_CHARACTER_NAME = "Unknown";
3
3
  export declare const CHARACTER_NAMES: {
4
4
  readonly [key in PlayerType]: string;
@@ -1,49 +1,49 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
2
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
3
+ local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
3
4
  ____exports.DEFAULT_CHARACTER_NAME = "Unknown"
4
5
  ____exports.CHARACTER_NAMES = {
5
- [PlayerType.PLAYER_POSSESSOR] = "Possessor",
6
- [PlayerType.PLAYER_ISAAC] = "Isaac",
7
- [PlayerType.PLAYER_MAGDALENE] = "Magdalene",
8
- [PlayerType.PLAYER_CAIN] = "Cain",
9
- [PlayerType.PLAYER_JUDAS] = "Judas",
10
- [PlayerType.PLAYER_BLUEBABY] = "Blue Baby",
11
- [PlayerType.PLAYER_EVE] = "Eve",
12
- [PlayerType.PLAYER_SAMSON] = "Samson",
13
- [PlayerType.PLAYER_AZAZEL] = "Azazel",
14
- [PlayerType.PLAYER_LAZARUS] = "Lazarus",
15
- [PlayerType.PLAYER_EDEN] = "Eden",
16
- [PlayerType.PLAYER_THELOST] = "The Lost",
17
- [PlayerType.PLAYER_LAZARUS2] = "Lazarus II",
18
- [PlayerType.PLAYER_BLACKJUDAS] = "Dark Judas",
19
- [PlayerType.PLAYER_LILITH] = "Lilith",
20
- [PlayerType.PLAYER_KEEPER] = "Keeper",
21
- [PlayerType.PLAYER_APOLLYON] = "Apollyon",
22
- [PlayerType.PLAYER_THEFORGOTTEN] = "The Forgotten",
23
- [PlayerType.PLAYER_THESOUL] = "The Soul",
24
- [PlayerType.PLAYER_BETHANY] = "Bethany",
25
- [PlayerType.PLAYER_JACOB] = "Jacob",
26
- [PlayerType.PLAYER_ESAU] = "Esau",
27
- [PlayerType.PLAYER_ISAAC_B] = "Tainted Isaac",
28
- [PlayerType.PLAYER_MAGDALENE_B] = "Tainted Magdalene",
29
- [PlayerType.PLAYER_CAIN_B] = "Tainted Cain",
30
- [PlayerType.PLAYER_JUDAS_B] = "Tainted Judas",
31
- [PlayerType.PLAYER_BLUEBABY_B] = "Tainted Blue Baby",
32
- [PlayerType.PLAYER_EVE_B] = "Tainted Eve",
33
- [PlayerType.PLAYER_SAMSON_B] = "Tainted Samson",
34
- [PlayerType.PLAYER_AZAZEL_B] = "Tainted Azazel",
35
- [PlayerType.PLAYER_LAZARUS_B] = "Tainted Lazarus",
36
- [PlayerType.PLAYER_EDEN_B] = "Tainted Eden",
37
- [PlayerType.PLAYER_THELOST_B] = "Tainted Lost",
38
- [PlayerType.PLAYER_LILITH_B] = "Tainted Lilith",
39
- [PlayerType.PLAYER_KEEPER_B] = "Tainted Keeper",
40
- [PlayerType.PLAYER_APOLLYON_B] = "Tainted Apollyon",
41
- [PlayerType.PLAYER_THEFORGOTTEN_B] = "Tainted Forgotten",
42
- [PlayerType.PLAYER_BETHANY_B] = "Tainted Bethany",
43
- [PlayerType.PLAYER_JACOB_B] = "Tainted Jacob",
44
- [PlayerType.PLAYER_LAZARUS2_B] = "Dead Tainted Lazarus",
45
- [PlayerType.PLAYER_JACOB2_B] = "Dead Tainted Jacob",
46
- [PlayerType.PLAYER_THESOUL_B] = "Tainted Soul",
47
- [PlayerType.NUM_PLAYER_TYPES] = ____exports.DEFAULT_CHARACTER_NAME
6
+ [PlayerType.POSSESSOR] = "Possessor",
7
+ [PlayerType.ISAAC] = "Isaac",
8
+ [PlayerType.MAGDALENE] = "Magdalene",
9
+ [PlayerType.CAIN] = "Cain",
10
+ [PlayerType.JUDAS] = "Judas",
11
+ [PlayerType.BLUE_BABY] = "Blue Baby",
12
+ [PlayerType.EVE] = "Eve",
13
+ [PlayerType.SAMSON] = "Samson",
14
+ [PlayerType.AZAZEL] = "Azazel",
15
+ [PlayerType.LAZARUS] = "Lazarus",
16
+ [PlayerType.EDEN] = "Eden",
17
+ [PlayerType.THE_LOST] = "The Lost",
18
+ [PlayerType.LAZARUS_2] = "Lazarus II",
19
+ [PlayerType.BLACK_JUDAS] = "Dark Judas",
20
+ [PlayerType.LILITH] = "Lilith",
21
+ [PlayerType.KEEPER] = "Keeper",
22
+ [PlayerType.APOLLYON] = "Apollyon",
23
+ [PlayerType.THE_FORGOTTEN] = "The Forgotten",
24
+ [PlayerType.THE_SOUL] = "The Soul",
25
+ [PlayerType.BETHANY] = "Bethany",
26
+ [PlayerType.JACOB] = "Jacob",
27
+ [PlayerType.ESAU] = "Esau",
28
+ [PlayerType.ISAAC_B] = "Tainted Isaac",
29
+ [PlayerType.MAGDALENE_B] = "Tainted Magdalene",
30
+ [PlayerType.CAIN_B] = "Tainted Cain",
31
+ [PlayerType.JUDAS_B] = "Tainted Judas",
32
+ [PlayerType.BLUE_BABY_B] = "Tainted Blue Baby",
33
+ [PlayerType.EVE_B] = "Tainted Eve",
34
+ [PlayerType.SAMSON_B] = "Tainted Samson",
35
+ [PlayerType.AZAZEL_B] = "Tainted Azazel",
36
+ [PlayerType.LAZARUS_B] = "Tainted Lazarus",
37
+ [PlayerType.EDEN_B] = "Tainted Eden",
38
+ [PlayerType.THE_LOST_B] = "Tainted Lost",
39
+ [PlayerType.LILITH_B] = "Tainted Lilith",
40
+ [PlayerType.KEEPER_B] = "Tainted Keeper",
41
+ [PlayerType.APOLLYON_B] = "Tainted Apollyon",
42
+ [PlayerType.THE_FORGOTTEN_B] = "Tainted Forgotten",
43
+ [PlayerType.BETHANY_B] = "Tainted Bethany",
44
+ [PlayerType.JACOB_B] = "Tainted Jacob",
45
+ [PlayerType.LAZARUS_2_B] = "Dead Tainted Lazarus",
46
+ [PlayerType.JACOB_2_B] = "Dead Tainted Jacob",
47
+ [PlayerType.THE_SOUL_B] = "Tainted Soul"
48
48
  }
49
49
  return ____exports
@@ -1,4 +1,4 @@
1
- /// <reference types="isaac-typescript-definitions" />
1
+ import { CoinSubType } from "isaac-typescript-definitions";
2
2
  export declare const DEFAULT_COIN_VALUE = 1;
3
3
  export declare const COIN_SUBTYPE_TO_VALUE: {
4
4
  readonly [key in CoinSubType]: int;
@@ -1,13 +1,15 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
2
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
3
+ local CoinSubType = ____isaac_2Dtypescript_2Ddefinitions.CoinSubType
3
4
  ____exports.DEFAULT_COIN_VALUE = 1
4
5
  ____exports.COIN_SUBTYPE_TO_VALUE = {
5
- [CoinSubType.COIN_PENNY] = 1,
6
- [CoinSubType.COIN_NICKEL] = 5,
7
- [CoinSubType.COIN_DIME] = 10,
8
- [CoinSubType.COIN_DOUBLEPACK] = 2,
9
- [CoinSubType.COIN_LUCKYPENNY] = 1,
10
- [CoinSubType.COIN_STICKYNICKEL] = 5,
11
- [CoinSubType.COIN_GOLDEN] = 1
6
+ [CoinSubType.NULL] = 0,
7
+ [CoinSubType.PENNY] = 1,
8
+ [CoinSubType.NICKEL] = 5,
9
+ [CoinSubType.DIME] = 10,
10
+ [CoinSubType.DOUBLE_PACK] = 2,
11
+ [CoinSubType.LUCKY_PENNY] = 1,
12
+ [CoinSubType.STICKY_NICKEL] = 5,
13
+ [CoinSubType.GOLDEN] = 1
12
14
  }
13
15
  return ____exports
@@ -1,4 +1,3 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
3
2
  ____exports.COLORS = {
4
3
  Black = Color(1, 1, 1),
@@ -1,4 +1,4 @@
1
- /// <reference types="isaac-typescript-definitions" />
1
+ import { Direction } from "isaac-typescript-definitions";
2
2
  export declare const DIRECTION_NAMES: {
3
3
  readonly [key in Direction]: string | undefined;
4
4
  };
@@ -1,5 +1,6 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
2
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
3
+ local Direction = ____isaac_2Dtypescript_2Ddefinitions.Direction
3
4
  ____exports.DIRECTION_NAMES = {
4
5
  [Direction.NO_DIRECTION] = nil,
5
6
  [Direction.LEFT] = "left",
@@ -1,4 +1,4 @@
1
- /// <reference types="isaac-typescript-definitions" />
1
+ import { Direction } from "isaac-typescript-definitions";
2
2
  export declare const DIRECTION_TO_DEGREES: {
3
3
  readonly [key in Direction]: int;
4
4
  };
@@ -1,5 +1,6 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
2
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
3
+ local Direction = ____isaac_2Dtypescript_2Ddefinitions.Direction
3
4
  ____exports.DIRECTION_TO_DEGREES = {
4
5
  [Direction.NO_DIRECTION] = 0,
5
6
  [Direction.LEFT] = 180,
@@ -1,4 +1,4 @@
1
- /// <reference types="isaac-typescript-definitions" />
1
+ import { Direction } from "isaac-typescript-definitions";
2
2
  export declare const DIRECTION_TO_VECTOR: {
3
3
  readonly [key in Direction]: Readonly<Vector>;
4
4
  };
@@ -1,5 +1,6 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
2
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
3
+ local Direction = ____isaac_2Dtypescript_2Ddefinitions.Direction
3
4
  local ____constants = require("constants")
4
5
  local VectorZero = ____constants.VectorZero
5
6
  ____exports.DIRECTION_TO_VECTOR = {
@@ -0,0 +1,5 @@
1
+ import { DoorSlot, DoorSlotFlag } from "isaac-typescript-definitions";
2
+ export declare const DEFAULT_DOOR_SLOT = DoorSlot.NO_DOOR_SLOT;
3
+ export declare const DOOR_SLOT_FLAG_TO_DOOR_SLOT: {
4
+ readonly [key in DoorSlotFlag]: DoorSlot;
5
+ };
@@ -0,0 +1,16 @@
1
+ local ____exports = {}
2
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
3
+ local DoorSlot = ____isaac_2Dtypescript_2Ddefinitions.DoorSlot
4
+ local DoorSlotFlag = ____isaac_2Dtypescript_2Ddefinitions.DoorSlotFlag
5
+ ____exports.DEFAULT_DOOR_SLOT = DoorSlot.NO_DOOR_SLOT
6
+ ____exports.DOOR_SLOT_FLAG_TO_DOOR_SLOT = {
7
+ [DoorSlotFlag.LEFT_0] = DoorSlot.LEFT_0,
8
+ [DoorSlotFlag.UP_0] = DoorSlot.UP_0,
9
+ [DoorSlotFlag.RIGHT_0] = DoorSlot.RIGHT_0,
10
+ [DoorSlotFlag.DOWN_0] = DoorSlot.DOWN_0,
11
+ [DoorSlotFlag.LEFT_1] = DoorSlot.LEFT_1,
12
+ [DoorSlotFlag.UP_1] = DoorSlot.UP_1,
13
+ [DoorSlotFlag.RIGHT_1] = DoorSlot.RIGHT_1,
14
+ [DoorSlotFlag.DOWN_1] = DoorSlot.DOWN_1
15
+ }
16
+ return ____exports
@@ -1,4 +1,4 @@
1
- /// <reference types="isaac-typescript-definitions" />
1
+ import { Direction, DoorSlot } from "isaac-typescript-definitions";
2
2
  export declare const DOOR_SLOT_TO_DIRECTION: {
3
3
  readonly [key in DoorSlot]: Direction;
4
4
  };
@@ -1,15 +1,16 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
2
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
3
+ local Direction = ____isaac_2Dtypescript_2Ddefinitions.Direction
4
+ local DoorSlot = ____isaac_2Dtypescript_2Ddefinitions.DoorSlot
3
5
  ____exports.DOOR_SLOT_TO_DIRECTION = {
4
6
  [DoorSlot.NO_DOOR_SLOT] = Direction.NO_DIRECTION,
5
- [DoorSlot.LEFT0] = Direction.LEFT,
6
- [DoorSlot.UP0] = Direction.UP,
7
- [DoorSlot.RIGHT0] = Direction.RIGHT,
8
- [DoorSlot.DOWN0] = Direction.DOWN,
9
- [DoorSlot.LEFT1] = Direction.LEFT,
10
- [DoorSlot.UP1] = Direction.UP,
11
- [DoorSlot.RIGHT1] = Direction.RIGHT,
12
- [DoorSlot.DOWN1] = Direction.DOWN,
13
- [DoorSlot.NUM_DOOR_SLOTS] = Direction.NO_DIRECTION
7
+ [DoorSlot.LEFT_0] = Direction.LEFT,
8
+ [DoorSlot.UP_0] = Direction.UP,
9
+ [DoorSlot.RIGHT_0] = Direction.RIGHT,
10
+ [DoorSlot.DOWN_0] = Direction.DOWN,
11
+ [DoorSlot.LEFT_1] = Direction.LEFT,
12
+ [DoorSlot.UP_1] = Direction.UP,
13
+ [DoorSlot.RIGHT_1] = Direction.RIGHT,
14
+ [DoorSlot.DOWN_1] = Direction.DOWN
14
15
  }
15
16
  return ____exports
@@ -1,8 +1,7 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
3
2
  local ____CopyableIsaacAPIClassType = require("enums.private.CopyableIsaacAPIClassType")
4
3
  local CopyableIsaacAPIClassType = ____CopyableIsaacAPIClassType.CopyableIsaacAPIClassType
5
4
  local ____SerializationBrand = require("enums.private.SerializationBrand")
6
5
  local SerializationBrand = ____SerializationBrand.SerializationBrand
7
- ____exports.ISAAC_API_CLASS_TYPE_TO_BRAND = {[CopyableIsaacAPIClassType.COLOR] = SerializationBrand.COLOR, [CopyableIsaacAPIClassType.KCOLOR] = SerializationBrand.KCOLOR, [CopyableIsaacAPIClassType.RNG] = SerializationBrand.RNG, [CopyableIsaacAPIClassType.VECTOR] = SerializationBrand.VECTOR}
6
+ ____exports.ISAAC_API_CLASS_TYPE_TO_BRAND = {[CopyableIsaacAPIClassType.COLOR] = SerializationBrand.COLOR, [CopyableIsaacAPIClassType.K_COLOR] = SerializationBrand.K_COLOR, [CopyableIsaacAPIClassType.RNG] = SerializationBrand.RNG, [CopyableIsaacAPIClassType.VECTOR] = SerializationBrand.VECTOR}
8
7
  return ____exports
@@ -1,4 +1,3 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
1
  local ____exports = {}
3
2
  local ____CopyableIsaacAPIClassType = require("enums.private.CopyableIsaacAPIClassType")
4
3
  local CopyableIsaacAPIClassType = ____CopyableIsaacAPIClassType.CopyableIsaacAPIClassType
@@ -10,5 +9,5 @@ local ____rng = require("functions.rng")
10
9
  local copyRNG = ____rng.copyRNG
11
10
  local ____vector = require("functions.vector")
12
11
  local copyVector = ____vector.copyVector
13
- ____exports.ISAAC_API_CLASS_TYPE_TO_COPY_FUNCTION = {[CopyableIsaacAPIClassType.COLOR] = copyColor, [CopyableIsaacAPIClassType.KCOLOR] = copyKColor, [CopyableIsaacAPIClassType.RNG] = copyRNG, [CopyableIsaacAPIClassType.VECTOR] = copyVector}
12
+ ____exports.ISAAC_API_CLASS_TYPE_TO_COPY_FUNCTION = {[CopyableIsaacAPIClassType.COLOR] = copyColor, [CopyableIsaacAPIClassType.K_COLOR] = copyKColor, [CopyableIsaacAPIClassType.RNG] = copyRNG, [CopyableIsaacAPIClassType.VECTOR] = copyVector}
14
13
  return ____exports
@@ -1,6 +1,5 @@
1
- /// <reference types="isaac-typescript-definitions" />
2
- import { PillEffectClass } from "../enums/PillEffectClass";
3
- export declare const DEFAULT_PILL_EFFECT_CLASS = PillEffectClass.MODDED;
1
+ import { ItemConfigPillEffectClass, PillEffect } from "isaac-typescript-definitions";
2
+ export declare const DEFAULT_PILL_EFFECT_CLASS = ItemConfigPillEffectClass.MODDED;
4
3
  export declare const PILL_EFFECT_CLASSES: {
5
- readonly [key in PillEffect]: PillEffectClass;
4
+ readonly [key in PillEffect]: ItemConfigPillEffectClass;
6
5
  };