isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
17 lines (14 loc) • 675 B
text/typescript
import { BombSubType } from "isaac-typescript-definitions";
export const DEFAULT_BOMB_NAME = "Unknown";
/** Taken from "entities2.xml". */
export const BOMB_NAMES = {
[]: DEFAULT_BOMB_NAME, // 0
[]: "Bomb", // 1
[]: "Double Bomb", // 2
[]: "Troll Bomb", // 3
[]: "Golden Bomb", // 4
[]: "Megatroll Bomb", // 5
// The entry for "Golden Troll Bomb" is absent in "entities2.xml", so we infer the name.
[]: "Golden Troll Bomb", // 6
[]: "Giga Bomb", // 7
} as const satisfies Record<BombSubType, string>;