isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
145 lines (102 loc) • 3.03 kB
text/typescript
import { CollectibleType, PlayerType } from "isaac-typescript-definitions";
export const CHARACTER_STARTING_COLLECTIBLE_TYPES = {
// -1
[]: [],
// 0
[]: [CollectibleType.D6],
// 1
[]: [CollectibleType.YUM_HEART],
// 2
[]: [CollectibleType.LUCKY_FOOT],
// 3
[]: [CollectibleType.BOOK_OF_BELIAL],
// 4
[]: [CollectibleType.POOP],
// 5
[]: [
CollectibleType.DEAD_BIRD, // 117
CollectibleType.WHORE_OF_BABYLON, // 122
CollectibleType.RAZOR_BLADE, // 126
],
// 6
[]: [CollectibleType.BLOODY_LUST],
// 7
[]: [],
// 8
[]: [CollectibleType.ANEMIC],
// (Lazarus Rags is not granted; the extra life is innate.)
// 9
[]: [],
// 10
[]: [CollectibleType.ETERNAL_D6],
// (Holy Mantle is not granted; the effect is innate.)
// 11
[]: [CollectibleType.ANEMIC],
// (Even if the run is started as Lazarus 2 using e.g. `restart 11`, Anemic is still granted.)
// 12
[]: [],
// 13
[]: [
CollectibleType.BOX_OF_FRIENDS, // 357
CollectibleType.CAMBION_CONCEPTION, // 412
],
// 14
[]: [CollectibleType.WOODEN_NICKEL],
// 15
[]: [CollectibleType.VOID],
// 16
[]: [],
// 17
[]: [],
// 18
[]: [CollectibleType.BOOK_OF_VIRTUES],
// 19
[]: [],
// 20
[]: [],
// 21
[]: [],
// 22
[]: [CollectibleType.YUM_HEART],
// 23
[]: [CollectibleType.BAG_OF_CRAFTING],
// 24
[]: [CollectibleType.DARK_ARTS],
// 25
[]: [CollectibleType.HOLD],
// 26
[]: [CollectibleType.SUMPTORIUM],
// 27
[]: [],
// (Berserk is not granted; the rage is innate.)
// 28
[]: [],
// 29
[]: [CollectibleType.FLIP],
// 30
[]: [],
// 31
[]: [],
// 32
[]: [],
// 33
[]: [],
// 34
[]: [CollectibleType.ABYSS],
// 35
[]: [],
// 36
[]: [CollectibleType.LEMEGETON],
// 37
[]: [CollectibleType.ANIMA_SOLA],
// 38
[]: [CollectibleType.FLIP],
// (Even if the run is started as Dead Tainted Lazarus using e.g. `restart 38`, Flip is still
// granted.)
// 39
[]: [CollectibleType.ANIMA_SOLA],
// (Even if the run is started as Tainted Jacob in "Lost" form using e.g. `restart 39`, Anima Sola
// is still granted.)
// 40
[]: [],
} as const satisfies Record<PlayerType, readonly CollectibleType[]>;