isaacscript-common 4.0.2 → 4.0.5

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 (370) hide show
  1. package/callbacks/postPlayerCollectible.lua +4 -2
  2. package/functions/collectibleSet.d.ts +37 -2
  3. package/functions/collectibleSet.lua +62 -15
  4. package/functions/player.lua +3 -4
  5. package/package.json +2 -2
  6. package/cachedClasses.ts +0 -39
  7. package/callbacks/customRevive.ts +0 -215
  8. package/callbacks/itemPickup.ts +0 -101
  9. package/callbacks/postAmbush.ts +0 -73
  10. package/callbacks/postBombExploded.ts +0 -26
  11. package/callbacks/postBombInitLate.ts +0 -36
  12. package/callbacks/postBoneSwing.ts +0 -64
  13. package/callbacks/postCollectibleInitFirst.ts +0 -40
  14. package/callbacks/postCursedTeleport.ts +0 -185
  15. package/callbacks/postCustomDoorEnter.ts +0 -292
  16. package/callbacks/postDiceRoomActivated.ts +0 -60
  17. package/callbacks/postDoorRender.ts +0 -26
  18. package/callbacks/postDoorUpdate.ts +0 -26
  19. package/callbacks/postEffectInitLate.ts +0 -36
  20. package/callbacks/postEffectStateChanged.ts +0 -43
  21. package/callbacks/postEsauJr.ts +0 -109
  22. package/callbacks/postFamiliarInitLate.ts +0 -36
  23. package/callbacks/postFamiliarStateChanged.ts +0 -43
  24. package/callbacks/postFlip.ts +0 -90
  25. package/callbacks/postGreedModeWave.ts +0 -41
  26. package/callbacks/postGridEntity.ts +0 -164
  27. package/callbacks/postGridEntityCollision.ts +0 -69
  28. package/callbacks/postGridEntityRender.ts +0 -26
  29. package/callbacks/postHolyMantleRemoved.ts +0 -55
  30. package/callbacks/postItemDischarged.ts +0 -154
  31. package/callbacks/postKnifeInitLate.ts +0 -36
  32. package/callbacks/postLaserInitLate.ts +0 -36
  33. package/callbacks/postNPCInitLate.ts +0 -36
  34. package/callbacks/postNPCStateChanged.ts +0 -42
  35. package/callbacks/postNewRoomEarly.ts +0 -96
  36. package/callbacks/postPickupCollect.ts +0 -48
  37. package/callbacks/postPickupInitFirst.ts +0 -70
  38. package/callbacks/postPickupInitLate.ts +0 -36
  39. package/callbacks/postPickupStateChanged.ts +0 -43
  40. package/callbacks/postPitRender.ts +0 -26
  41. package/callbacks/postPitUpdate.ts +0 -26
  42. package/callbacks/postPlayerChangeHealth.ts +0 -62
  43. package/callbacks/postPlayerChangeType.ts +0 -56
  44. package/callbacks/postPlayerCollectible.ts +0 -113
  45. package/callbacks/postPlayerFatalDamage.ts +0 -141
  46. package/callbacks/postPlayerInitLate.ts +0 -37
  47. package/callbacks/postPlayerReordered.ts +0 -142
  48. package/callbacks/postPoopRender.ts +0 -26
  49. package/callbacks/postPoopUpdate.ts +0 -26
  50. package/callbacks/postPressurePlateRender.ts +0 -26
  51. package/callbacks/postPressurePlateUpdate.ts +0 -26
  52. package/callbacks/postProjectileInitLate.ts +0 -36
  53. package/callbacks/postPurchase.ts +0 -64
  54. package/callbacks/postRockRender.ts +0 -26
  55. package/callbacks/postRockUpdate.ts +0 -26
  56. package/callbacks/postRoomClearChanged.ts +0 -57
  57. package/callbacks/postSacrifice.ts +0 -64
  58. package/callbacks/postSlotDestroyed.ts +0 -92
  59. package/callbacks/postSlotInitUpdate.ts +0 -68
  60. package/callbacks/postSlotRender.ts +0 -69
  61. package/callbacks/postSpikesRender.ts +0 -26
  62. package/callbacks/postSpikesUpdate.ts +0 -26
  63. package/callbacks/postTNTRender.ts +0 -26
  64. package/callbacks/postTNTUpdate.ts +0 -26
  65. package/callbacks/postTearInitLate.ts +0 -36
  66. package/callbacks/postTearInitVeryLate.ts +0 -41
  67. package/callbacks/postTransformation.ts +0 -59
  68. package/callbacks/postTrinketBreak.ts +0 -112
  69. package/callbacks/preBerserkDeath.ts +0 -49
  70. package/callbacks/preNewLevel.ts +0 -55
  71. package/callbacks/reorderedCallbacks.ts +0 -168
  72. package/callbacks/subscriptions/postAmbushFinished.ts +0 -32
  73. package/callbacks/subscriptions/postAmbushStarted.ts +0 -32
  74. package/callbacks/subscriptions/postBombInitLate.ts +0 -32
  75. package/callbacks/subscriptions/postBoneExploded.ts +0 -32
  76. package/callbacks/subscriptions/postBoneSwing.ts +0 -24
  77. package/callbacks/subscriptions/postCollectibleInitFirst.ts +0 -37
  78. package/callbacks/subscriptions/postCursedTeleport.ts +0 -24
  79. package/callbacks/subscriptions/postCustomDoorEnter.ts +0 -45
  80. package/callbacks/subscriptions/postCustomRevive.ts +0 -36
  81. package/callbacks/subscriptions/postDiceRoomActivated.ts +0 -38
  82. package/callbacks/subscriptions/postDoorRender.ts +0 -35
  83. package/callbacks/subscriptions/postDoorUpdate.ts +0 -35
  84. package/callbacks/subscriptions/postEffectInitLate.ts +0 -32
  85. package/callbacks/subscriptions/postEffectStateChanged.ts +0 -40
  86. package/callbacks/subscriptions/postEsauJr.ts +0 -24
  87. package/callbacks/subscriptions/postFamiliarInitLate.ts +0 -32
  88. package/callbacks/subscriptions/postFamiliarStateChanged.ts +0 -40
  89. package/callbacks/subscriptions/postFirstEsauJr.ts +0 -24
  90. package/callbacks/subscriptions/postFirstFlip.ts +0 -24
  91. package/callbacks/subscriptions/postFlip.ts +0 -22
  92. package/callbacks/subscriptions/postGameStartedReordered.ts +0 -24
  93. package/callbacks/subscriptions/postGreedModeWave.ts +0 -24
  94. package/callbacks/subscriptions/postGridEntityBroken.ts +0 -51
  95. package/callbacks/subscriptions/postGridEntityCollision.ts +0 -54
  96. package/callbacks/subscriptions/postGridEntityInit.ts +0 -51
  97. package/callbacks/subscriptions/postGridEntityRemove.ts +0 -52
  98. package/callbacks/subscriptions/postGridEntityRender.ts +0 -51
  99. package/callbacks/subscriptions/postGridEntityStateChanged.ts +0 -55
  100. package/callbacks/subscriptions/postGridEntityUpdate.ts +0 -51
  101. package/callbacks/subscriptions/postHolyMantleRemoved.ts +0 -48
  102. package/callbacks/subscriptions/postItemDischarged.ts +0 -43
  103. package/callbacks/subscriptions/postItemPickup.ts +0 -64
  104. package/callbacks/subscriptions/postKnifeInitLate.ts +0 -32
  105. package/callbacks/subscriptions/postLaserInitLate.ts +0 -32
  106. package/callbacks/subscriptions/postNPCInitLate.ts +0 -32
  107. package/callbacks/subscriptions/postNPCStateChanged.ts +0 -42
  108. package/callbacks/subscriptions/postNewLevelReordered.ts +0 -22
  109. package/callbacks/subscriptions/postNewRoomEarly.ts +0 -22
  110. package/callbacks/subscriptions/postNewRoomReordered.ts +0 -22
  111. package/callbacks/subscriptions/postPEffectUpdateReordered.ts +0 -40
  112. package/callbacks/subscriptions/postPickupCollect.ts +0 -35
  113. package/callbacks/subscriptions/postPickupInitFirst.ts +0 -32
  114. package/callbacks/subscriptions/postPickupInitLate.ts +0 -32
  115. package/callbacks/subscriptions/postPickupStateChanged.ts +0 -40
  116. package/callbacks/subscriptions/postPitRender.ts +0 -35
  117. package/callbacks/subscriptions/postPitUpdate.ts +0 -35
  118. package/callbacks/subscriptions/postPlayerChangeHealth.ts +0 -49
  119. package/callbacks/subscriptions/postPlayerChangeType.ts +0 -40
  120. package/callbacks/subscriptions/postPlayerCollectibleAdded.ts +0 -38
  121. package/callbacks/subscriptions/postPlayerCollectibleRemoved.ts +0 -38
  122. package/callbacks/subscriptions/postPlayerFatalDamage.ts +0 -68
  123. package/callbacks/subscriptions/postPlayerInitLate.ts +0 -40
  124. package/callbacks/subscriptions/postPlayerInitReordered.ts +0 -40
  125. package/callbacks/subscriptions/postPlayerRenderReordered.ts +0 -40
  126. package/callbacks/subscriptions/postPlayerUpdateReordered.ts +0 -40
  127. package/callbacks/subscriptions/postPoopRender.ts +0 -35
  128. package/callbacks/subscriptions/postPoopUpdate.ts +0 -35
  129. package/callbacks/subscriptions/postPressurePlateRender.ts +0 -37
  130. package/callbacks/subscriptions/postPressurePlateUpdate.ts +0 -37
  131. package/callbacks/subscriptions/postProjectileInitLate.ts +0 -35
  132. package/callbacks/subscriptions/postPurchase.ts +0 -31
  133. package/callbacks/subscriptions/postRockRender.ts +0 -35
  134. package/callbacks/subscriptions/postRockUpdate.ts +0 -35
  135. package/callbacks/subscriptions/postRoomClearChanged.ts +0 -30
  136. package/callbacks/subscriptions/postSacrifice.ts +0 -43
  137. package/callbacks/subscriptions/postSlotAnimationChanged.ts +0 -40
  138. package/callbacks/subscriptions/postSlotDestroyed.ts +0 -55
  139. package/callbacks/subscriptions/postSlotInit.ts +0 -32
  140. package/callbacks/subscriptions/postSlotRender.ts +0 -32
  141. package/callbacks/subscriptions/postSlotUpdate.ts +0 -32
  142. package/callbacks/subscriptions/postSpikesRender.ts +0 -35
  143. package/callbacks/subscriptions/postSpikesUpdate.ts +0 -35
  144. package/callbacks/subscriptions/postTNTRender.ts +0 -35
  145. package/callbacks/subscriptions/postTNTUpdate.ts +0 -35
  146. package/callbacks/subscriptions/postTearInitLate.ts +0 -32
  147. package/callbacks/subscriptions/postTearInitVeryLate.ts +0 -32
  148. package/callbacks/subscriptions/postTransformation.ts +0 -40
  149. package/callbacks/subscriptions/postTrinketBreak.ts +0 -38
  150. package/callbacks/subscriptions/preBerserkDeath.ts +0 -42
  151. package/callbacks/subscriptions/preCustomRevive.ts +0 -46
  152. package/callbacks/subscriptions/preItemPickup.ts +0 -64
  153. package/callbacks/subscriptions/preNewLevel.ts +0 -24
  154. package/classes/DefaultMap.ts +0 -174
  155. package/classes/ModUpgraded.ts +0 -84
  156. package/constants.ts +0 -162
  157. package/constantsFirstLast.ts +0 -217
  158. package/enums/AmbushType.ts +0 -4
  159. package/enums/HealthType.ts +0 -16
  160. package/enums/ModCallbackCustom.ts +0 -1278
  161. package/enums/PocketItemType.ts +0 -8
  162. package/enums/SerializationType.ts +0 -5
  163. package/enums/SlotDestructionType.ts +0 -4
  164. package/enums/private/CopyableIsaacAPIClassType.ts +0 -7
  165. package/enums/private/SaveDataKey.ts +0 -14
  166. package/enums/private/SerializationBrand.ts +0 -42
  167. package/features/characterHealthConversion.ts +0 -111
  168. package/features/characterStats.ts +0 -61
  169. package/features/debugDisplay/debugDisplay.ts +0 -221
  170. package/features/debugDisplay/exports.ts +0 -368
  171. package/features/debugDisplay/v.ts +0 -65
  172. package/features/deployJSONRoom.ts +0 -743
  173. package/features/disableInputs.ts +0 -193
  174. package/features/disableSound.ts +0 -77
  175. package/features/extraConsoleCommands/commandsDisplay.ts +0 -290
  176. package/features/extraConsoleCommands/commandsSubroutines.ts +0 -139
  177. package/features/extraConsoleCommands/init.ts +0 -334
  178. package/features/extraConsoleCommands/listCommands.ts +0 -1299
  179. package/features/extraConsoleCommands/v.ts +0 -14
  180. package/features/fadeInRemover.ts +0 -60
  181. package/features/fastReset.ts +0 -75
  182. package/features/forgottenSwitch.ts +0 -50
  183. package/features/getCollectibleItemPoolType.ts +0 -66
  184. package/features/persistentEntities.ts +0 -183
  185. package/features/playerInventory.ts +0 -135
  186. package/features/ponyDetection.ts +0 -74
  187. package/features/preventCollectibleRotation.ts +0 -115
  188. package/features/runInNFrames.ts +0 -148
  189. package/features/saveDataManager/constants.ts +0 -4
  190. package/features/saveDataManager/exports.ts +0 -229
  191. package/features/saveDataManager/load.ts +0 -99
  192. package/features/saveDataManager/main.ts +0 -195
  193. package/features/saveDataManager/maps.ts +0 -13
  194. package/features/saveDataManager/merge.ts +0 -194
  195. package/features/saveDataManager/save.ts +0 -74
  196. package/features/saveDataManager/serializationBrand.ts +0 -16
  197. package/features/sirenHelpers.ts +0 -129
  198. package/features/taintedLazarusPlayers.ts +0 -113
  199. package/featuresInitialized.ts +0 -20
  200. package/functions/ambush.ts +0 -47
  201. package/functions/array.ts +0 -410
  202. package/functions/benchmark.ts +0 -36
  203. package/functions/bitwise.ts +0 -24
  204. package/functions/bombs.ts +0 -12
  205. package/functions/boss.ts +0 -227
  206. package/functions/cacheFlag.ts +0 -12
  207. package/functions/cards.ts +0 -271
  208. package/functions/challenges.ts +0 -13
  209. package/functions/character.ts +0 -126
  210. package/functions/charge.ts +0 -237
  211. package/functions/chargeBar.ts +0 -67
  212. package/functions/collectibleCacheFlag.ts +0 -90
  213. package/functions/collectibleSet.ts +0 -56
  214. package/functions/collectibleTag.ts +0 -89
  215. package/functions/collectibles.ts +0 -659
  216. package/functions/color.ts +0 -128
  217. package/functions/debug.ts +0 -68
  218. package/functions/deepCopy.ts +0 -535
  219. package/functions/deepCopyTests.ts +0 -386
  220. package/functions/direction.ts +0 -49
  221. package/functions/doors.ts +0 -347
  222. package/functions/easing.ts +0 -182
  223. package/functions/eden.ts +0 -47
  224. package/functions/effects.ts +0 -20
  225. package/functions/entity.ts +0 -439
  226. package/functions/entitySpecific.ts +0 -889
  227. package/functions/entityTypes.ts +0 -6
  228. package/functions/enums.ts +0 -146
  229. package/functions/familiars.ts +0 -106
  230. package/functions/flag.ts +0 -165
  231. package/functions/flying.ts +0 -117
  232. package/functions/globals.ts +0 -242
  233. package/functions/gridEntity.ts +0 -511
  234. package/functions/gridEntitySpecific.ts +0 -112
  235. package/functions/input.ts +0 -139
  236. package/functions/isaacAPIClass.ts +0 -67
  237. package/functions/jsonHelpers.ts +0 -45
  238. package/functions/jsonRoom.ts +0 -100
  239. package/functions/kColor.ts +0 -129
  240. package/functions/language.ts +0 -13
  241. package/functions/level.ts +0 -31
  242. package/functions/log.ts +0 -720
  243. package/functions/map.ts +0 -56
  244. package/functions/math.ts +0 -149
  245. package/functions/mergeTests.ts +0 -288
  246. package/functions/npc.ts +0 -148
  247. package/functions/pickupVariants.ts +0 -60
  248. package/functions/pickups.ts +0 -499
  249. package/functions/pills.ts +0 -205
  250. package/functions/player.ts +0 -1056
  251. package/functions/playerDataStructures.ts +0 -150
  252. package/functions/playerHealth.ts +0 -382
  253. package/functions/playerIndex.ts +0 -195
  254. package/functions/pocketItems.ts +0 -149
  255. package/functions/positionVelocity.ts +0 -188
  256. package/functions/random.ts +0 -77
  257. package/functions/revive.ts +0 -201
  258. package/functions/rng.ts +0 -172
  259. package/functions/roomData.ts +0 -199
  260. package/functions/roomGrid.ts +0 -109
  261. package/functions/roomShape.ts +0 -80
  262. package/functions/rooms.ts +0 -648
  263. package/functions/run.ts +0 -36
  264. package/functions/saveFile.ts +0 -128
  265. package/functions/seeds.ts +0 -19
  266. package/functions/serialization.ts +0 -91
  267. package/functions/set.ts +0 -95
  268. package/functions/sound.ts +0 -9
  269. package/functions/spawnCollectible.ts +0 -104
  270. package/functions/sprite.ts +0 -107
  271. package/functions/stage.ts +0 -125
  272. package/functions/string.ts +0 -47
  273. package/functions/table.ts +0 -189
  274. package/functions/tears.ts +0 -32
  275. package/functions/transformations.ts +0 -131
  276. package/functions/trinketCacheFlag.ts +0 -60
  277. package/functions/trinketGive.ts +0 -157
  278. package/functions/trinkets.ts +0 -215
  279. package/functions/tstlClass.ts +0 -157
  280. package/functions/types.ts +0 -36
  281. package/functions/ui.ts +0 -138
  282. package/functions/utils.ts +0 -189
  283. package/functions/vector.ts +0 -126
  284. package/index.ts +0 -172
  285. package/initCustomCallbacks.ts +0 -132
  286. package/initFeatures.ts +0 -39
  287. package/interfaces/AddCallbackParameterCustom.ts +0 -188
  288. package/interfaces/ChargeBarSprites.ts +0 -12
  289. package/interfaces/JSONDoor.ts +0 -13
  290. package/interfaces/JSONEntity.ts +0 -16
  291. package/interfaces/JSONRoom.ts +0 -36
  292. package/interfaces/JSONRooms.ts +0 -12
  293. package/interfaces/JSONSpawn.ts +0 -14
  294. package/interfaces/PlayerHealth.ts +0 -16
  295. package/interfaces/PocketItemDescription.ts +0 -9
  296. package/interfaces/SaveData.ts +0 -29
  297. package/interfaces/TrinketSituation.ts +0 -9
  298. package/interfaces/private/TSTLClassMetatable.ts +0 -8
  299. package/maps/PHDPillConversions.ts +0 -21
  300. package/maps/cardMap.ts +0 -209
  301. package/maps/characterMap.ts +0 -87
  302. package/maps/collectibleDescriptionMap.ts +0 -732
  303. package/maps/collectibleNameMap.ts +0 -731
  304. package/maps/defaultPlayerStatMap.ts +0 -17
  305. package/maps/falsePHDPillConversions.ts +0 -35
  306. package/maps/gridEntityTypeToBrokenStateMap.ts +0 -50
  307. package/maps/gridEntityXMLMap.ts +0 -176
  308. package/maps/pillEffectMap.ts +0 -88
  309. package/maps/roomShapeToTopLeftWallGridIndexMap.ts +0 -18
  310. package/maps/roomTypeMap.ts +0 -40
  311. package/maps/trinketDescriptionMap.ts +0 -200
  312. package/maps/trinketNameMap.ts +0 -198
  313. package/objects/LRoomShapeToRectangles.ts +0 -44
  314. package/objects/callbackRegisterFunctions.ts +0 -187
  315. package/objects/cardDescriptions.ts +0 -105
  316. package/objects/cardNames.ts +0 -105
  317. package/objects/cardTypes.ts +0 -104
  318. package/objects/challengeNames.ts +0 -52
  319. package/objects/characterNames.ts +0 -48
  320. package/objects/coinSubTypeToValue.ts +0 -14
  321. package/objects/colors.ts +0 -16
  322. package/objects/directionNames.ts +0 -11
  323. package/objects/directionToDegrees.ts +0 -11
  324. package/objects/directionToVector.ts +0 -12
  325. package/objects/doorSlotFlagToDoorSlot.ts +0 -16
  326. package/objects/doorSlotToDirection.ts +0 -14
  327. package/objects/isaacAPIClassTypeToBrand.ts +0 -11
  328. package/objects/isaacAPIClassTypeToCopyFunction.ts +0 -18
  329. package/objects/languageNames.ts +0 -13
  330. package/objects/oppositeDoorSlots.ts +0 -15
  331. package/objects/pillEffectClasses.ts +0 -63
  332. package/objects/pillEffectNames.ts +0 -57
  333. package/objects/pillEffectTypes.ts +0 -62
  334. package/objects/roomShapeBounds.ts +0 -71
  335. package/objects/roomShapeLayoutSizes.ts +0 -45
  336. package/objects/roomShapeToBottomRightPosition.ts +0 -25
  337. package/objects/roomShapeToDoorSlots.ts +0 -83
  338. package/objects/roomShapeToDoorSlotsToGridIndexDelta.ts +0 -127
  339. package/objects/roomShapeToGridWidth.ts +0 -21
  340. package/objects/roomShapeToTopLeftPosition.ts +0 -26
  341. package/objects/roomShapeVolumes.ts +0 -38
  342. package/objects/roomTypeNames.ts +0 -36
  343. package/objects/serializedIsaacAPIClassTypeToIdentityFunction.ts +0 -14
  344. package/objects/stageTypeToLetter.ts +0 -15
  345. package/objects/transformationNames.ts +0 -18
  346. package/patchErrorFunctions.ts +0 -92
  347. package/sets/LRoomShapesSet.ts +0 -8
  348. package/sets/bossSets.ts +0 -470
  349. package/sets/charactersThatStartWithAnActiveItemSet.ts +0 -16
  350. package/sets/charactersWithBlackHeartFromEternalHeartSet.ts +0 -7
  351. package/sets/charactersWithFreeDevilDealsSet.ts +0 -4
  352. package/sets/charactersWithNoRedHeartsSet.ts +0 -17
  353. package/sets/charactersWithNoSoulHeartsSet.ts +0 -14
  354. package/sets/chestPickupVariantsSet.ts +0 -16
  355. package/sets/familiarsThatShootPlayerTearsSet.ts +0 -13
  356. package/sets/lostStyleCharactersSet.ts +0 -13
  357. package/sets/mineShaftRoomSubTypesSet.ts +0 -10
  358. package/sets/redHeartSubTypesSet.ts +0 -7
  359. package/sets/sinEntityTypesSet.ts +0 -11
  360. package/sets/singleUseActiveCollectibleTypesSet.ts +0 -13
  361. package/sets/storyBossesSet.ts +0 -17
  362. package/types/AnyEntity.ts +0 -12
  363. package/types/AwaitingTextInput.d.ts +0 -2
  364. package/types/CollectibleIndex.ts +0 -16
  365. package/types/PickingUpItem.ts +0 -89
  366. package/types/PlayerIndex.ts +0 -13
  367. package/types/private/IsaacAPIClass.ts +0 -3
  368. package/types/private/SerializedIsaacAPIClass.ts +0 -3
  369. package/types/private/TSTLClass.ts +0 -3
  370. package/upgradeMod.ts +0 -55
@@ -1,198 +0,0 @@
1
- /* eslint-disable isaacscript/strict-enums */
2
-
3
- import { TrinketType } from "isaac-typescript-definitions";
4
-
5
- export const DEFAULT_TRINKET_NAME = "Unknown";
6
-
7
- // This is a temporary map due to missing features in the vanilla API. (Otherwise, this would be
8
- // converted to a type-safe object.)
9
- export const TRINKET_NAME_MAP: ReadonlyMap<TrinketType, string> = new Map([
10
- [1, "Swallowed Penny"],
11
- [2, "Petrified Poop"],
12
- [3, "AAA Battery"],
13
- [4, "Broken Remote"],
14
- [5, "Purple Heart"],
15
- [6, "Broken Magnet"],
16
- [7, "Rosary Bead"],
17
- [8, "Cartridge"],
18
- [9, "Pulse Worm"],
19
- [10, "Wiggle Worm"],
20
- [11, "Ring Worm"],
21
- [12, "Flat Worm"],
22
- [13, "Store Credit"],
23
- [14, "Callus"],
24
- [15, "Lucky Rock"],
25
- [16, "Mom's Toenail"],
26
- [17, "Black Lipstick"],
27
- [18, "Bible Tract"],
28
- [19, "Paper Clip"],
29
- [20, "Monkey Paw"],
30
- [21, "Mysterious Paper"],
31
- [22, "Daemon's Tail"],
32
- [23, "Missing Poster"],
33
- [24, "Butt Penny"],
34
- [25, "Mysterious Candy"],
35
- [26, "Hook Worm"],
36
- [27, "Whip Worm"],
37
- [28, "Broken Ankh"],
38
- [29, "Fish Head"],
39
- [30, "Pinky Eye"],
40
- [31, "Push Pin"],
41
- [32, "Liberty Cap"],
42
- [33, "Umbilical Cord"],
43
- [34, "Child's Heart"],
44
- [35, "Curved Horn"],
45
- [36, "Rusted Key"],
46
- [37, "Goat Hoof"],
47
- [38, "Mom's Pearl"],
48
- [39, "Cancer"],
49
- [40, "Red Patch"],
50
- [41, "Match Stick"],
51
- [42, "Lucky Toe"],
52
- [43, "Cursed Skull"],
53
- [44, "Safety Cap"],
54
- [45, "Ace of Spades"],
55
- [46, "Isaac's Fork"],
56
- [48, "A Missing Page"],
57
- [49, "Bloody Penny"],
58
- [50, "Burnt Penny"],
59
- [51, "Flat Penny"],
60
- [52, "Counterfeit Penny"],
61
- [53, "Tick"],
62
- [54, "Isaac's Head"],
63
- [55, "Maggy's Faith"],
64
- [56, "Judas' Tongue"],
65
- [57, "???'s Soul"],
66
- [58, "Samson's Lock"],
67
- [59, "Cain's Eye"],
68
- [60, "Eve's Bird Foot"],
69
- [61, "The Left Hand"],
70
- [62, "Shiny Rock"],
71
- [63, "Safety Scissors"],
72
- [64, "Rainbow Worm"],
73
- [65, "Tape Worm"],
74
- [66, "Lazy Worm"],
75
- [67, "Cracked Dice"],
76
- [68, "Super Magnet"],
77
- [69, "Faded Polaroid"],
78
- [70, "Louse"],
79
- [71, "Bob's Bladder"],
80
- [72, "Watch Battery"],
81
- [73, "Blasting Cap"],
82
- [74, "Stud Finder"],
83
- [75, "Error"],
84
- [76, "Poker Chip"],
85
- [77, "Blister"],
86
- [78, "Second Hand"],
87
- [79, "Endless Nameless"],
88
- [80, "Black Feather"],
89
- [81, "Blind Rage"],
90
- [82, "Golden Horse Shoe"],
91
- [83, "Store Key"],
92
- [84, "Rib of Greed"],
93
- [85, "Karma"],
94
- [86, "Lil Larva"],
95
- [87, "Mom's Locket"],
96
- [88, "NO!"],
97
- [89, "Child Leash"],
98
- [90, "Brown Cap"],
99
- [91, "Meconium"],
100
- [92, "Cracked Crown"],
101
- [93, "Used Diaper"],
102
- [94, "Fish Tail"],
103
- [95, "Black Tooth"],
104
- [96, "Ouroboros Worm"],
105
- [97, "Tonsil"],
106
- [98, "Nose Goblin"],
107
- [99, "Super Ball"],
108
- [100, "Vibrant Bulb"],
109
- [101, "Dim Bulb"],
110
- [102, "Fragmented Card"],
111
- [103, "Equality!"],
112
- [104, "Wish Bone"],
113
- [105, "Bag Lunch"],
114
- [106, "Lost Cork"],
115
- [107, "Crow Heart"],
116
- [108, "Walnut"],
117
- [109, "Duct Tape"],
118
- [110, "Silver Dollar"],
119
- [111, "Bloody Crown"],
120
- [112, "Pay To Win"],
121
- [113, "Locust of War"],
122
- [114, "Locust of Pestilence"],
123
- [115, "Locust of Famine"],
124
- [116, "Locust of Death"],
125
- [117, "Locust of Conquest"],
126
- [118, "Bat Wing"],
127
- [119, "Stem Cell"],
128
- [120, "Hairpin"],
129
- [121, "Wooden Cross"],
130
- [122, "Butter!"],
131
- [123, "Filigree Feather"],
132
- [124, "Door Stop"],
133
- [125, "Extension Cord"],
134
- [126, "Rotten Penny"],
135
- [127, "Baby-Bender"],
136
- [128, "Finger Bone"],
137
- [129, "Jawbreaker"],
138
- [130, "Chewed Pen"],
139
- [131, "Blessed Penny"],
140
- [132, "Broken Syringe"],
141
- [133, "Short Fuse"],
142
- [134, "Gigante Bean"],
143
- [135, "A Lighter"],
144
- [136, "Broken Padlock"],
145
- [137, "Myosotis"],
146
- [138, " 'M"],
147
- [139, "Teardrop Charm"],
148
- [140, "Apple of Sodom"],
149
- [141, "Forgotten Lullaby"],
150
- [142, "Beth's Faith"],
151
- [143, "Old Capacitor"],
152
- [144, "Brain Worm"],
153
- [145, "Perfection"],
154
- [146, "Devil's Crown"],
155
- [147, "Charged Penny"],
156
- [148, "Friendship Necklace"],
157
- [149, "Panic Button"],
158
- [150, "Blue Key"],
159
- [151, "Flat File"],
160
- [152, "Telescope Lens"],
161
- [153, "Mom's Lock"],
162
- [154, "Dice Bag"],
163
- [155, "Holy Crown"],
164
- [156, "Mother's Kiss"],
165
- [157, "Torn Card"],
166
- [158, "Torn Pocket"],
167
- [159, "Gilded Key"],
168
- [160, "Lucky Sack"],
169
- [161, "Wicked Crown"],
170
- [162, "Azazel's Stump"],
171
- [163, "Dingle Berry"],
172
- [164, "Ring Cap"],
173
- [165, "Nuh Uh!"],
174
- [166, "Modeling Clay"],
175
- [167, "Polished Bone"],
176
- [168, "Hollow Heart"],
177
- [169, "Kid's Drawing"],
178
- [170, "Crystal Key"],
179
- [171, "Keeper's Bargain"],
180
- [172, "Cursed Penny"],
181
- [173, "Your Soul"],
182
- [174, "Number Magnet"],
183
- [175, "Strange Key"],
184
- [176, "Lil Clot"],
185
- [177, "Temporary Tattoo"],
186
- [178, "Swallowed M80"],
187
- [179, "RC Remote"],
188
- [180, "Found Soul"],
189
- [181, "Expansion Pack"],
190
- [182, "Beth's Essence"],
191
- [183, "The Twins"],
192
- [184, "Adoption Papers"],
193
- [185, "Cricket Leg"],
194
- [186, "Apollyon's Best Friend"],
195
- [187, "Broken Glasses"],
196
- [188, "Ice Cube"],
197
- [189, "Sigil of Baphomet"],
198
- ]);
@@ -1,44 +0,0 @@
1
- import { RoomShape } from "isaac-typescript-definitions";
2
- import { VectorZero } from "../constants";
3
-
4
- const TWO_BY_TWO_BOTTOM_RIGHT = Vector(25, 13);
5
-
6
- /**
7
- * "Vector(0, 0)" corresponds to the top left tile of a room, not including the walls. (The top-left
8
- * wall would be at "Vector(-1, -1)".)
9
- */
10
- export const L_ROOM_SHAPE_TO_RECTANGLES: {
11
- readonly [key in RoomShape]?: readonly [
12
- verticalTopLeft: Vector,
13
- verticalBottomRight: Vector,
14
- horizontalTopLeft: Vector,
15
- horizontalBottomRight: Vector,
16
- ];
17
- } = {
18
- // 9
19
- [RoomShape.LTL]: [
20
- Vector(13, 0),
21
- Vector(25, 13),
22
- Vector(0, 7),
23
- TWO_BY_TWO_BOTTOM_RIGHT,
24
- ],
25
-
26
- // 10
27
- [RoomShape.LTR]: [
28
- VectorZero,
29
- Vector(12, 13),
30
- Vector(0, 7),
31
- TWO_BY_TWO_BOTTOM_RIGHT,
32
- ],
33
-
34
- // 11
35
- [RoomShape.LBL]: [
36
- VectorZero,
37
- Vector(25, 6),
38
- Vector(13, 0),
39
- TWO_BY_TWO_BOTTOM_RIGHT,
40
- ],
41
-
42
- // 12
43
- [RoomShape.LBR]: [VectorZero, Vector(25, 6), VectorZero, Vector(12, 13)],
44
- } as const;
@@ -1,187 +0,0 @@
1
- import { postAmbushFinishedRegister } from "../callbacks/subscriptions/postAmbushFinished";
2
- import { postAmbushStartedRegister } from "../callbacks/subscriptions/postAmbushStarted";
3
- import { postBombInitLateRegister } from "../callbacks/subscriptions/postBombInitLate";
4
- import { postBombExplodedRegister } from "../callbacks/subscriptions/postBoneExploded";
5
- import { postBoneSwingRegister } from "../callbacks/subscriptions/postBoneSwing";
6
- import { postCollectibleInitFirstRegister } from "../callbacks/subscriptions/postCollectibleInitFirst";
7
- import { postCursedTeleportRegister } from "../callbacks/subscriptions/postCursedTeleport";
8
- import { postCustomDoorEnterRegister } from "../callbacks/subscriptions/postCustomDoorEnter";
9
- import { postCustomReviveRegister } from "../callbacks/subscriptions/postCustomRevive";
10
- import { postDiceRoomActivatedRegister } from "../callbacks/subscriptions/postDiceRoomActivated";
11
- import { postDoorRenderRegister } from "../callbacks/subscriptions/postDoorRender";
12
- import { postDoorUpdateRegister } from "../callbacks/subscriptions/postDoorUpdate";
13
- import { postEffectInitLateRegister } from "../callbacks/subscriptions/postEffectInitLate";
14
- import { postEffectStateChangedRegister } from "../callbacks/subscriptions/postEffectStateChanged";
15
- import { postEsauJrRegister } from "../callbacks/subscriptions/postEsauJr";
16
- import { postFamiliarInitLateRegister } from "../callbacks/subscriptions/postFamiliarInitLate";
17
- import { postFamiliarStateChangedRegister } from "../callbacks/subscriptions/postFamiliarStateChanged";
18
- import { postFirstEsauJrRegister } from "../callbacks/subscriptions/postFirstEsauJr";
19
- import { postFirstFlipRegister } from "../callbacks/subscriptions/postFirstFlip";
20
- import { postFlipRegister } from "../callbacks/subscriptions/postFlip";
21
- import { postGameStartedReorderedRegister } from "../callbacks/subscriptions/postGameStartedReordered";
22
- import { postGreedModeWaveRegister } from "../callbacks/subscriptions/postGreedModeWave";
23
- import { postGridEntityBrokenRegister } from "../callbacks/subscriptions/postGridEntityBroken";
24
- import { postGridEntityCollisionRegister } from "../callbacks/subscriptions/postGridEntityCollision";
25
- import { postGridEntityInitRegister } from "../callbacks/subscriptions/postGridEntityInit";
26
- import { postGridEntityRemoveRegister } from "../callbacks/subscriptions/postGridEntityRemove";
27
- import { postGridEntityRenderRegister } from "../callbacks/subscriptions/postGridEntityRender";
28
- import { postGridEntityStateChangedRegister } from "../callbacks/subscriptions/postGridEntityStateChanged";
29
- import { postGridEntityUpdateRegister } from "../callbacks/subscriptions/postGridEntityUpdate";
30
- import { postHolyMantleRemovedRegister } from "../callbacks/subscriptions/postHolyMantleRemoved";
31
- import { postItemDischargeRegister } from "../callbacks/subscriptions/postItemDischarged";
32
- import { postItemPickupRegister } from "../callbacks/subscriptions/postItemPickup";
33
- import { postKnifeInitLateRegister } from "../callbacks/subscriptions/postKnifeInitLate";
34
- import { postLaserInitLateRegister } from "../callbacks/subscriptions/postLaserInitLate";
35
- import { postNewLevelReorderedRegister } from "../callbacks/subscriptions/postNewLevelReordered";
36
- import { postNewRoomEarlyRegister } from "../callbacks/subscriptions/postNewRoomEarly";
37
- import { postNewRoomReorderedRegister } from "../callbacks/subscriptions/postNewRoomReordered";
38
- import { postNPCInitLateRegister } from "../callbacks/subscriptions/postNPCInitLate";
39
- import { postNPCStateChangedRegister } from "../callbacks/subscriptions/postNPCStateChanged";
40
- import { postPEffectUpdateReorderedRegister } from "../callbacks/subscriptions/postPEffectUpdateReordered";
41
- import { postPickupCollectRegister } from "../callbacks/subscriptions/postPickupCollect";
42
- import { postPickupInitFirstRegister } from "../callbacks/subscriptions/postPickupInitFirst";
43
- import { postPickupInitLateRegister } from "../callbacks/subscriptions/postPickupInitLate";
44
- import { postPickupStateChangedRegister } from "../callbacks/subscriptions/postPickupStateChanged";
45
- import { postPitRenderRegister } from "../callbacks/subscriptions/postPitRender";
46
- import { postPitUpdateRegister } from "../callbacks/subscriptions/postPitUpdate";
47
- import { postPlayerChangeHealthRegister } from "../callbacks/subscriptions/postPlayerChangeHealth";
48
- import { postPlayerChangeTypeRegister } from "../callbacks/subscriptions/postPlayerChangeType";
49
- import { postPlayerCollectibleAddedRegister } from "../callbacks/subscriptions/postPlayerCollectibleAdded";
50
- import { postPlayerCollectibleRemovedRegister } from "../callbacks/subscriptions/postPlayerCollectibleRemoved";
51
- import { postPlayerFatalDamageRegister } from "../callbacks/subscriptions/postPlayerFatalDamage";
52
- import { postPlayerInitLateRegister } from "../callbacks/subscriptions/postPlayerInitLate";
53
- import { postPlayerInitReorderedRegister } from "../callbacks/subscriptions/postPlayerInitReordered";
54
- import { postPlayerRenderReorderedRegister } from "../callbacks/subscriptions/postPlayerRenderReordered";
55
- import { postPlayerUpdateReorderedRegister } from "../callbacks/subscriptions/postPlayerUpdateReordered";
56
- import { postPoopRenderRegister } from "../callbacks/subscriptions/postPoopRender";
57
- import { postPoopUpdateRegister } from "../callbacks/subscriptions/postPoopUpdate";
58
- import { postPressurePlateRenderRegister } from "../callbacks/subscriptions/postPressurePlateRender";
59
- import { postPressurePlateUpdateRegister } from "../callbacks/subscriptions/postPressurePlateUpdate";
60
- import { postProjectileInitLateRegister } from "../callbacks/subscriptions/postProjectileInitLate";
61
- import { postPurchaseRegister } from "../callbacks/subscriptions/postPurchase";
62
- import { postRockRenderRegister } from "../callbacks/subscriptions/postRockRender";
63
- import { postRockUpdateRegister } from "../callbacks/subscriptions/postRockUpdate";
64
- import { postRoomClearChangedRegister } from "../callbacks/subscriptions/postRoomClearChanged";
65
- import { postSacrificeRegister } from "../callbacks/subscriptions/postSacrifice";
66
- import { postSlotAnimationChangedRegister } from "../callbacks/subscriptions/postSlotAnimationChanged";
67
- import { postSlotDestroyedRegister } from "../callbacks/subscriptions/postSlotDestroyed";
68
- import { postSlotInitRegister } from "../callbacks/subscriptions/postSlotInit";
69
- import { postSlotRenderRegister } from "../callbacks/subscriptions/postSlotRender";
70
- import { postSlotUpdateRegister } from "../callbacks/subscriptions/postSlotUpdate";
71
- import { postSpikesRenderRegister } from "../callbacks/subscriptions/postSpikesRender";
72
- import { postSpikesUpdateRegister } from "../callbacks/subscriptions/postSpikesUpdate";
73
- import { postTearInitLateRegister } from "../callbacks/subscriptions/postTearInitLate";
74
- import { postTearInitVeryLateRegister } from "../callbacks/subscriptions/postTearInitVeryLate";
75
- import { postTNTRenderRegister } from "../callbacks/subscriptions/postTNTRender";
76
- import { postTNTUpdateRegister } from "../callbacks/subscriptions/postTNTUpdate";
77
- import { postTransformationRegister } from "../callbacks/subscriptions/postTransformation";
78
- import { postTrinketBreakRegister } from "../callbacks/subscriptions/postTrinketBreak";
79
- import { preBerserkDeathRegister } from "../callbacks/subscriptions/preBerserkDeath";
80
- import { preCustomReviveRegister } from "../callbacks/subscriptions/preCustomRevive";
81
- import { preItemPickupRegister } from "../callbacks/subscriptions/preItemPickup";
82
- import { preNewLevelRegister } from "../callbacks/subscriptions/preNewLevel";
83
- import { ModCallbackCustom } from "../enums/ModCallbackCustom";
84
- import { AddCallbackParameterCustom } from "../interfaces/AddCallbackParameterCustom";
85
-
86
- export const CALLBACK_REGISTER_FUNCTIONS: {
87
- readonly [key in ModCallbackCustom]: (
88
- ...args: AddCallbackParameterCustom[key]
89
- ) => void;
90
- } = {
91
- [ModCallbackCustom.POST_AMBUSH_FINISHED]: postAmbushFinishedRegister,
92
- [ModCallbackCustom.POST_AMBUSH_STARTED]: postAmbushStartedRegister,
93
- [ModCallbackCustom.POST_BOMB_EXPLODED]: postBombExplodedRegister,
94
- [ModCallbackCustom.POST_BOMB_INIT_LATE]: postBombInitLateRegister,
95
- [ModCallbackCustom.POST_BONE_SWING]: postBoneSwingRegister,
96
- [ModCallbackCustom.POST_COLLECTIBLE_INIT_FIRST]:
97
- postCollectibleInitFirstRegister,
98
- [ModCallbackCustom.POST_CURSED_TELEPORT]: postCursedTeleportRegister,
99
- [ModCallbackCustom.POST_CUSTOM_DOOR_ENTER]: postCustomDoorEnterRegister,
100
- [ModCallbackCustom.POST_CUSTOM_REVIVE]: postCustomReviveRegister,
101
- [ModCallbackCustom.POST_DICE_ROOM_ACTIVATED]: postDiceRoomActivatedRegister,
102
- [ModCallbackCustom.POST_DOOR_RENDER]: postDoorRenderRegister,
103
- [ModCallbackCustom.POST_DOOR_UPDATE]: postDoorUpdateRegister,
104
- [ModCallbackCustom.POST_EFFECT_INIT_LATE]: postEffectInitLateRegister,
105
- [ModCallbackCustom.POST_EFFECT_STATE_CHANGED]: postEffectStateChangedRegister,
106
- [ModCallbackCustom.POST_ESAU_JR]: postEsauJrRegister,
107
- [ModCallbackCustom.POST_FAMILIAR_INIT_LATE]: postFamiliarInitLateRegister,
108
- [ModCallbackCustom.POST_FAMILIAR_STATE_CHANGED]:
109
- postFamiliarStateChangedRegister,
110
- [ModCallbackCustom.POST_FIRST_ESAU_JR]: postFirstEsauJrRegister,
111
- [ModCallbackCustom.POST_FIRST_FLIP]: postFirstFlipRegister,
112
- [ModCallbackCustom.POST_FLIP]: postFlipRegister,
113
- [ModCallbackCustom.POST_GAME_STARTED_REORDERED]:
114
- postGameStartedReorderedRegister,
115
- [ModCallbackCustom.POST_GREED_MODE_WAVE]: postGreedModeWaveRegister,
116
- [ModCallbackCustom.POST_GRID_ENTITY_BROKEN]: postGridEntityBrokenRegister,
117
- [ModCallbackCustom.POST_GRID_ENTITY_COLLISION]:
118
- postGridEntityCollisionRegister,
119
- [ModCallbackCustom.POST_GRID_ENTITY_INIT]: postGridEntityInitRegister,
120
- [ModCallbackCustom.POST_GRID_ENTITY_REMOVE]: postGridEntityRemoveRegister,
121
- [ModCallbackCustom.POST_GRID_ENTITY_RENDER]: postGridEntityRenderRegister,
122
- [ModCallbackCustom.POST_GRID_ENTITY_STATE_CHANGED]:
123
- postGridEntityStateChangedRegister,
124
- [ModCallbackCustom.POST_GRID_ENTITY_UPDATE]: postGridEntityUpdateRegister,
125
- [ModCallbackCustom.POST_HOLY_MANTLE_REMOVED]: postHolyMantleRemovedRegister,
126
- [ModCallbackCustom.POST_ITEM_DISCHARGE]: postItemDischargeRegister,
127
- [ModCallbackCustom.POST_ITEM_PICKUP]: postItemPickupRegister,
128
- [ModCallbackCustom.POST_KNIFE_INIT_LATE]: postKnifeInitLateRegister,
129
- [ModCallbackCustom.POST_LASER_INIT_LATE]: postLaserInitLateRegister,
130
- [ModCallbackCustom.POST_NEW_LEVEL_REORDERED]: postNewLevelReorderedRegister,
131
- [ModCallbackCustom.POST_NEW_ROOM_EARLY]: postNewRoomEarlyRegister,
132
- [ModCallbackCustom.POST_NEW_ROOM_REORDERED]: postNewRoomReorderedRegister,
133
- [ModCallbackCustom.POST_NPC_INIT_LATE]: postNPCInitLateRegister,
134
- [ModCallbackCustom.POST_NPC_STATE_CHANGED]: postNPCStateChangedRegister,
135
- [ModCallbackCustom.POST_PEFFECT_UPDATE_REORDERED]:
136
- postPEffectUpdateReorderedRegister,
137
- [ModCallbackCustom.POST_PICKUP_COLLECT]: postPickupCollectRegister,
138
- [ModCallbackCustom.POST_PICKUP_INIT_FIRST]: postPickupInitFirstRegister,
139
- [ModCallbackCustom.POST_PICKUP_INIT_LATE]: postPickupInitLateRegister,
140
- [ModCallbackCustom.POST_PICKUP_STATE_CHANGED]: postPickupStateChangedRegister,
141
- [ModCallbackCustom.POST_PIT_RENDER]: postPitRenderRegister,
142
- [ModCallbackCustom.POST_PIT_UPDATE]: postPitUpdateRegister,
143
- [ModCallbackCustom.POST_PLAYER_CHANGE_HEALTH]: postPlayerChangeHealthRegister,
144
- [ModCallbackCustom.POST_PLAYER_CHANGE_TYPE]: postPlayerChangeTypeRegister,
145
- [ModCallbackCustom.POST_PLAYER_COLLECTIBLE_ADDED]:
146
- postPlayerCollectibleAddedRegister,
147
- [ModCallbackCustom.POST_PLAYER_COLLECTIBLE_REMOVED]:
148
- postPlayerCollectibleRemovedRegister,
149
- [ModCallbackCustom.POST_PLAYER_FATAL_DAMAGE]: postPlayerFatalDamageRegister,
150
- [ModCallbackCustom.POST_PLAYER_INIT_LATE]: postPlayerInitLateRegister,
151
- [ModCallbackCustom.POST_PLAYER_INIT_REORDERED]:
152
- postPlayerInitReorderedRegister,
153
- [ModCallbackCustom.POST_PLAYER_RENDER_REORDERED]:
154
- postPlayerRenderReorderedRegister,
155
- [ModCallbackCustom.POST_PLAYER_UPDATE_REORDERED]:
156
- postPlayerUpdateReorderedRegister,
157
- [ModCallbackCustom.POST_POOP_RENDER]: postPoopRenderRegister,
158
- [ModCallbackCustom.POST_POOP_UPDATE]: postPoopUpdateRegister,
159
- [ModCallbackCustom.POST_PRESSURE_PLATE_RENDER]:
160
- postPressurePlateRenderRegister,
161
- [ModCallbackCustom.POST_PRESSURE_PLATE_UPDATE]:
162
- postPressurePlateUpdateRegister,
163
- [ModCallbackCustom.POST_PROJECTILE_INIT_LATE]: postProjectileInitLateRegister,
164
- [ModCallbackCustom.POST_PURCHASE]: postPurchaseRegister,
165
- [ModCallbackCustom.POST_ROCK_RENDER]: postRockRenderRegister,
166
- [ModCallbackCustom.POST_ROCK_UPDATE]: postRockUpdateRegister,
167
- [ModCallbackCustom.POST_ROOM_CLEAR_CHANGED]: postRoomClearChangedRegister,
168
- [ModCallbackCustom.POST_SACRIFICE]: postSacrificeRegister,
169
- [ModCallbackCustom.POST_SLOT_ANIMATION_CHANGED]:
170
- postSlotAnimationChangedRegister,
171
- [ModCallbackCustom.POST_SLOT_DESTROYED]: postSlotDestroyedRegister,
172
- [ModCallbackCustom.POST_SLOT_INIT]: postSlotInitRegister,
173
- [ModCallbackCustom.POST_SLOT_RENDER]: postSlotRenderRegister,
174
- [ModCallbackCustom.POST_SLOT_UPDATE]: postSlotUpdateRegister,
175
- [ModCallbackCustom.POST_SPIKES_RENDER]: postSpikesRenderRegister,
176
- [ModCallbackCustom.POST_SPIKES_UPDATE]: postSpikesUpdateRegister,
177
- [ModCallbackCustom.POST_TEAR_INIT_LATE]: postTearInitLateRegister,
178
- [ModCallbackCustom.POST_TEAR_INIT_VERY_LATE]: postTearInitVeryLateRegister,
179
- [ModCallbackCustom.POST_TNT_RENDER]: postTNTRenderRegister,
180
- [ModCallbackCustom.POST_TNT_UPDATE]: postTNTUpdateRegister,
181
- [ModCallbackCustom.POST_TRANSFORMATION]: postTransformationRegister,
182
- [ModCallbackCustom.POST_TRINKET_BREAK]: postTrinketBreakRegister,
183
- [ModCallbackCustom.PRE_BERSERK_DEATH]: preBerserkDeathRegister,
184
- [ModCallbackCustom.PRE_CUSTOM_REVIVE]: preCustomReviveRegister,
185
- [ModCallbackCustom.PRE_ITEM_PICKUP]: preItemPickupRegister,
186
- [ModCallbackCustom.PRE_NEW_LEVEL]: preNewLevelRegister,
187
- } as const;
@@ -1,105 +0,0 @@
1
- import { Card } from "isaac-typescript-definitions";
2
-
3
- export const DEFAULT_CARD_DESCRIPTION = "Unknown";
4
-
5
- // This is a temporary map due to missing features in the vanilla API.
6
- export const CARD_DESCRIPTIONS: { readonly [key in Card]: string } = {
7
- [Card.NULL]: DEFAULT_CARD_DESCRIPTION, // 0
8
- [Card.FOOL]: "Where journey begins", // 1
9
- [Card.MAGICIAN]: "May you never miss your goal", // 2
10
- [Card.HIGH_PRIESTESS]: "Mother is watching you", // 3
11
- [Card.EMPRESS]: "May your rage bring power", // 4
12
- [Card.EMPEROR]: "Challenge me!", // 5
13
- [Card.HIEROPHANT]: "Two prayers for the lost", // 6
14
- [Card.LOVERS]: "May you prosper and be in good health", // 7
15
- [Card.CHARIOT]: "May nothing stand before you", // 8
16
- [Card.JUSTICE]: "May your future become balanced", // 9
17
- [Card.HERMIT]: "May you see what life has to offer", // 10
18
- [Card.WHEEL_OF_FORTUNE]: "Spin the wheel of destiny", // 11
19
- [Card.STRENGTH]: "May your power bring rage", // 12
20
- [Card.HANGED_MAN]: "May you find enlightenment ", // 13
21
- [Card.DEATH]: "Lay waste to all that oppose you ", // 14
22
- [Card.TEMPERANCE]: "May you be pure in heart", // 15
23
- [Card.DEVIL]: "Revel in the power of darkness", // 16
24
- [Card.TOWER]: "Destruction brings creation", // 17
25
- [Card.STARS]: "May you find what you desire ", // 18
26
- [Card.MOON]: "May you find all you have lost", // 19
27
- [Card.SUN]: "May the light heal and enlighten you", // 20
28
- [Card.JUDGEMENT]: "Judge lest ye be judged", // 21
29
- [Card.WORLD]: "Open your eyes and see", // 22
30
- [Card.CLUBS_2]: "Item multiplier", // 23
31
- [Card.DIAMONDS_2]: "Item multiplier", // 24
32
- [Card.SPADES_2]: "Item multiplier", // 25
33
- [Card.HEARTS_2]: "Item multiplier", // 26
34
- [Card.ACE_OF_CLUBS]: "Convert all", // 27
35
- [Card.ACE_OF_DIAMONDS]: "Convert all", // 28
36
- [Card.ACE_OF_SPADES]: "Convert all", // 29
37
- [Card.ACE_OF_HEARTS]: "Convert all", // 30
38
- [Card.JOKER]: "???", // 31
39
- [Card.RUNE_HAGALAZ]: "Destruction", // 32
40
- [Card.RUNE_JERA]: "Abundance", // 33
41
- [Card.RUNE_EHWAZ]: "Passage", // 34
42
- [Card.RUNE_DAGAZ]: "Purity", // 35
43
- [Card.RUNE_ANSUZ]: "Vision", // 36
44
- [Card.RUNE_PERTHRO]: "Change", // 37
45
- [Card.RUNE_BERKANO]: "Companionship", // 38
46
- [Card.RUNE_ALGIZ]: "Resistance", // 39
47
- [Card.RUNE_BLANK]: "???", // 40
48
- [Card.RUNE_BLACK]: "Void", // 41
49
- [Card.CHAOS]: "???", // 42
50
- [Card.CREDIT]: "Charge it!", // 43
51
- [Card.RULES]: "???", // 44
52
- [Card.AGAINST_HUMANITY]: "Something stinks...", // 45
53
- [Card.SUICIDE_KING]: "A true ending?", // 46
54
- [Card.GET_OUT_OF_JAIL_FREE]: "Open Sesame", // 47
55
- [Card.QUESTION_MARK]: "Double active", // 48
56
- [Card.DICE_SHARD]: "D6 + D20", // 49
57
- [Card.EMERGENCY_CONTACT]: "Help from above", // 50
58
- [Card.HOLY]: "You feel protected", // 51
59
- [Card.HUGE_GROWTH]: "Become immense!", // 52
60
- [Card.ANCIENT_RECALL]: "Draw 3 cards", // 53
61
- [Card.ERA_WALK]: "Savor the moment", // 54
62
- [Card.RUNE_SHARD]: "It still glows faintly", // 55
63
- [Card.REVERSE_FOOL]: "Let go and move on", // 56
64
- [Card.REVERSE_MAGICIAN]: "May no harm come to you", // 57
65
- [Card.REVERSE_HIGH_PRIESTESS]: "Run", // 58
66
- [Card.REVERSE_EMPRESS]: "May your love bring protection", // 59
67
- [Card.REVERSE_EMPEROR]: "May you find a worthy opponent", // 60
68
- [Card.REVERSE_HIEROPHANT]: "Two prayers for the forgotten", // 61
69
- [Card.REVERSE_LOVERS]: "May your heart shatter into pieces", // 62
70
- [Card.REVERSE_CHARIOT]: "May nothing walk past you", // 63
71
- [Card.REVERSE_JUSTICE]: "May your sins come back to torment you", // 64
72
- [Card.REVERSE_HERMIT]: "May you see the value of all things in life", // 65
73
- [Card.REVERSE_WHEEL_OF_FORTUNE]: "Throw the dice of fate", // 66
74
- [Card.REVERSE_STRENGTH]: "May you break their resolve", // 67
75
- [Card.REVERSE_HANGED_MAN]: "May your greed know no bounds", // 68
76
- [Card.REVERSE_DEATH]: "May life spring forth from the fallen", // 69
77
- [Card.REVERSE_TEMPERANCE]: "May your hunger be satiated", // 70
78
- [Card.REVERSE_DEVIL]: "Bask in the light of your mercy", // 71
79
- [Card.REVERSE_TOWER]: "Creation brings destruction", // 72
80
- [Card.REVERSE_STARS]: "May your loss bring fortune", // 73
81
- [Card.REVERSE_MOON]: "May you remember lost memories", // 74
82
- [Card.REVERSE_SUN]: "May the darkness swallow all around you", // 75
83
- [Card.REVERSE_JUDGEMENT]: "May you redeem those found wanting", // 76
84
- [Card.REVERSE_WORLD]: "Step into the abyss", // 77
85
- [Card.CRACKED_KEY]: "???", // 78
86
- [Card.QUEEN_OF_HEARTS]: "<3", // 79
87
- [Card.WILD]: "Again", // 80
88
- [Card.SOUL_ISAAC]: "Reroll... or not", // 81
89
- [Card.SOUL_MAGDALENE]: "Give me your love!", // 82
90
- [Card.SOUL_CAIN]: "Opens the unopenable", // 83
91
- [Card.SOUL_JUDAS]: "Right behind you", // 84
92
- [Card.SOUL_BLUE_BABY]: "Chemical warfare", // 85
93
- [Card.SOUL_EVE]: "Your very own murder", // 86
94
- [Card.SOUL_SAMSON]: "Slay a thousand", // 87
95
- [Card.SOUL_AZAZEL]: "Demon rage!", // 88
96
- [Card.SOUL_LAZARUS]: "Life after death", // 89
97
- [Card.SOUL_EDEN]: "Embrace chaos", // 90
98
- [Card.SOUL_LOST]: "Leave your body behind", // 91
99
- [Card.SOUL_LILITH]: "Motherhood", // 92
100
- [Card.SOUL_KEEPER]: "$$$", // 93
101
- [Card.SOUL_APOLLYON]: "Bringer of calamity", // 94
102
- [Card.SOUL_FORGOTTEN]: "Skeletal protector", // 95
103
- [Card.SOUL_BETHANY]: "Friends from beyond", // 96
104
- [Card.SOUL_JACOB]: "Bound by blood", // 97
105
- } as const;
@@ -1,105 +0,0 @@
1
- import { Card } from "isaac-typescript-definitions";
2
-
3
- export const DEFAULT_CARD_NAME = "Unknown";
4
-
5
- // This is a temporary map due to missing features in the vanilla API.
6
- export const CARD_NAMES: { readonly [key in Card]: string } = {
7
- [Card.NULL]: DEFAULT_CARD_NAME,
8
- [Card.FOOL]: "0 - The Fool",
9
- [Card.MAGICIAN]: "I - The Magician",
10
- [Card.HIGH_PRIESTESS]: "II - The High Priestess",
11
- [Card.EMPRESS]: "III - The Empress",
12
- [Card.EMPEROR]: "IV - The Emperor",
13
- [Card.HIEROPHANT]: "V - The Hierophant",
14
- [Card.LOVERS]: "VI - The Lovers",
15
- [Card.CHARIOT]: "VII - The Chariot",
16
- [Card.JUSTICE]: "VIII - Justice",
17
- [Card.HERMIT]: "IX - The Hermit",
18
- [Card.WHEEL_OF_FORTUNE]: "X - Wheel of Fortune",
19
- [Card.STRENGTH]: "XI - Strength",
20
- [Card.HANGED_MAN]: "XII - The Hanged Man",
21
- [Card.DEATH]: "XIII - Death",
22
- [Card.TEMPERANCE]: "XIV - Temperance",
23
- [Card.DEVIL]: "XV - The Devil",
24
- [Card.TOWER]: "XVI - The Tower",
25
- [Card.STARS]: "XVII - The Stars",
26
- [Card.MOON]: "XVIII - The Moon",
27
- [Card.SUN]: "XIX - The Sun",
28
- [Card.JUDGEMENT]: "XX - Judgement",
29
- [Card.WORLD]: "XXI - The World",
30
- [Card.CLUBS_2]: "2 of Clubs",
31
- [Card.DIAMONDS_2]: "2 of Diamonds",
32
- [Card.SPADES_2]: "2 of Spades",
33
- [Card.HEARTS_2]: "2 of Hearts",
34
- [Card.ACE_OF_CLUBS]: "Ace of Clubs",
35
- [Card.ACE_OF_DIAMONDS]: "Ace of Diamonds",
36
- [Card.ACE_OF_SPADES]: "Ace of Spades",
37
- [Card.ACE_OF_HEARTS]: "Ace of Hearts",
38
- [Card.JOKER]: "Joker",
39
- [Card.RUNE_HAGALAZ]: "Hagalaz",
40
- [Card.RUNE_JERA]: "Jera",
41
- [Card.RUNE_EHWAZ]: "Ehwaz",
42
- [Card.RUNE_DAGAZ]: "Dagaz",
43
- [Card.RUNE_ANSUZ]: "Ansuz",
44
- [Card.RUNE_PERTHRO]: "Perthro",
45
- [Card.RUNE_BERKANO]: "Berkano",
46
- [Card.RUNE_ALGIZ]: "Algiz",
47
- [Card.RUNE_BLANK]: "Blank Rune",
48
- [Card.RUNE_BLACK]: "Black Rune",
49
- [Card.CHAOS]: "Chaos Card",
50
- [Card.CREDIT]: "Credit Card",
51
- [Card.RULES]: "Rules Card",
52
- [Card.AGAINST_HUMANITY]: "A Card Against Humanity",
53
- [Card.SUICIDE_KING]: "Suicide King",
54
- [Card.GET_OUT_OF_JAIL_FREE]: "Get Out Of Jail Free Card",
55
- [Card.QUESTION_MARK]: "? Card",
56
- [Card.DICE_SHARD]: "Dice Shard",
57
- [Card.EMERGENCY_CONTACT]: "Emergency Contact",
58
- [Card.HOLY]: "Holy Card",
59
- [Card.HUGE_GROWTH]: "Huge Growth",
60
- [Card.ANCIENT_RECALL]: "Ancient Recall",
61
- [Card.ERA_WALK]: "Era Walk",
62
- [Card.RUNE_SHARD]: "Rune Shard",
63
- [Card.REVERSE_FOOL]: "0 - The Fool?",
64
- [Card.REVERSE_MAGICIAN]: "I - The Magician?",
65
- [Card.REVERSE_HIGH_PRIESTESS]: "II - The High Priestess?",
66
- [Card.REVERSE_EMPRESS]: "III - The Empress?",
67
- [Card.REVERSE_EMPEROR]: "IV - The Emperor?",
68
- [Card.REVERSE_HIEROPHANT]: "V - The Hierophant?",
69
- [Card.REVERSE_LOVERS]: "VI - The Lovers?",
70
- [Card.REVERSE_CHARIOT]: "VII - The Chariot?",
71
- [Card.REVERSE_JUSTICE]: "VIII - Justice?",
72
- [Card.REVERSE_HERMIT]: "IX - The Hermit?",
73
- [Card.REVERSE_WHEEL_OF_FORTUNE]: "X - Wheel of Fortune?",
74
- [Card.REVERSE_STRENGTH]: "XI - Strength?",
75
- [Card.REVERSE_HANGED_MAN]: "XII - The Hanged Man?",
76
- [Card.REVERSE_DEATH]: "XIII - Death?",
77
- [Card.REVERSE_TEMPERANCE]: "XIV - Temperance?",
78
- [Card.REVERSE_DEVIL]: "XV - The Devil?",
79
- [Card.REVERSE_TOWER]: "XVI - The Tower?",
80
- [Card.REVERSE_STARS]: "XVII - The Stars?",
81
- [Card.REVERSE_MOON]: "XVIII - The Moon?",
82
- [Card.REVERSE_SUN]: "XIX - The Sun?",
83
- [Card.REVERSE_JUDGEMENT]: "XX - Judgement?",
84
- [Card.REVERSE_WORLD]: "XXI - The World?",
85
- [Card.CRACKED_KEY]: "Cracked Key",
86
- [Card.QUEEN_OF_HEARTS]: "Queen of Hearts",
87
- [Card.WILD]: "Wild Card",
88
- [Card.SOUL_ISAAC]: "Soul of Isaac",
89
- [Card.SOUL_MAGDALENE]: "Soul of Magdalene",
90
- [Card.SOUL_CAIN]: "Soul of Cain",
91
- [Card.SOUL_JUDAS]: "Soul of Judas",
92
- [Card.SOUL_BLUE_BABY]: "Soul of ???",
93
- [Card.SOUL_EVE]: "Soul of Eve",
94
- [Card.SOUL_SAMSON]: "Soul of Samson",
95
- [Card.SOUL_AZAZEL]: "Soul of Azazel",
96
- [Card.SOUL_LAZARUS]: "Soul of Lazarus",
97
- [Card.SOUL_EDEN]: "Soul of Eden",
98
- [Card.SOUL_LOST]: "Soul of the Lost",
99
- [Card.SOUL_LILITH]: "Soul of Lilith",
100
- [Card.SOUL_KEEPER]: "Soul of the Keeper",
101
- [Card.SOUL_APOLLYON]: "Soul of Apollyon",
102
- [Card.SOUL_FORGOTTEN]: "Soul of the Forgotten",
103
- [Card.SOUL_BETHANY]: "Soul of Bethany",
104
- [Card.SOUL_JACOB]: "Soul of Jacob and Esau",
105
- } as const;