isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
106 lines (103 loc) • 5.2 kB
text/typescript
import { CardType } from "isaac-typescript-definitions";
export const DEFAULT_CARD_NAME = "Unknown";
/** This is a temporary map due to missing features in the vanilla API. */
export const CARD_NAMES = {
[]: DEFAULT_CARD_NAME, // 0
[]: "0 - The Fool", // 1
[]: "I - The Magician", // 2
[]: "II - The High Priestess", // 3
[]: "III - The Empress", // 4
[]: "IV - The Emperor", // 5
[]: "V - The Hierophant", // 6
[]: "VI - The Lovers", // 7
[]: "VII - The Chariot", // 8
[]: "VIII - Justice", // 9
[]: "IX - The Hermit", // 10
[]: "X - Wheel of Fortune", // 11
[]: "XI - Strength", // 12
[]: "XII - The Hanged Man", // 13
[]: "XIII - Death", // 14
[]: "XIV - Temperance", // 15
[]: "XV - The Devil", // 16
[]: "XVI - The Tower", // 17
[]: "XVII - The Stars", // 18
[]: "XVIII - The Moon", // 19
[]: "XIX - The Sun", // 20
[]: "XX - Judgement", // 21
[]: "XXI - The World", // 22
[]: "2 of Clubs", // 23
[]: "2 of Diamonds", // 24
[]: "2 of Spades", // 25
[]: "2 of Hearts", // 26
[]: "Ace of Clubs", // 27
[]: "Ace of Diamonds", // 28
[]: "Ace of Spades", // 29
[]: "Ace of Hearts", // 30
[]: "Joker", // 31
[]: "Hagalaz", // 32
[]: "Jera", // 33
[]: "Ehwaz", // 34
[]: "Dagaz", // 35
[]: "Ansuz", // 36
[]: "Perthro", // 37
[]: "Berkano", // 38
[]: "Algiz", // 39
[]: "Blank Rune", // 40
[]: "Black Rune", // 41
[]: "Chaos Card", // 42
[]: "Credit Card", // 43
[]: "Rules Card", // 44
[]: "A Card Against Humanity", // 45
[]: "Suicide King", // 46
[]: "Get Out Of Jail Free Card", // 47
[]: "? Card", // 48
[]: "Dice Shard", // 49
[]: "Emergency Contact", // 50
[]: "Holy Card", // 51
[]: "Huge Growth", // 52
[]: "Ancient Recall", // 53
[]: "Era Walk", // 54
[]: "Rune Shard", // 55
[]: "0 - The Fool?", // 56
[]: "I - The Magician?", // 57
[]: "II - The High Priestess?", // 58
[]: "III - The Empress?", // 59
[]: "IV - The Emperor?", // 60
[]: "V - The Hierophant?", // 61
[]: "VI - The Lovers?", // 62
[]: "VII - The Chariot?", // 63
[]: "VIII - Justice?", // 64
[]: "IX - The Hermit?", // 65
[]: "X - Wheel of Fortune?", // 66
[]: "XI - Strength?", // 67
[]: "XII - The Hanged Man?", // 68
[]: "XIII - Death?", // 69
[]: "XIV - Temperance?", // 70
[]: "XV - The Devil?", // 71
[]: "XVI - The Tower?", // 72
[]: "XVII - The Stars?", // 73
[]: "XVIII - The Moon?", // 74
[]: "XIX - The Sun?", // 75
[]: "XX - Judgement?", // 76
[]: "XXI - The World?", // 77
[]: "Cracked Key", // 78
[]: "Queen of Hearts", // 79
[]: "Wild Card", // 80
[]: "Soul of Isaac", // 81
[]: "Soul of Magdalene", // 82
[]: "Soul of Cain", // 83
[]: "Soul of Judas", // 84
[]: "Soul of ???", // 85
[]: "Soul of Eve", // 86
[]: "Soul of Samson", // 87
[]: "Soul of Azazel", // 88
[]: "Soul of Lazarus", // 89
[]: "Soul of Eden", // 90
[]: "Soul of the Lost", // 91
[]: "Soul of Lilith", // 92
[]: "Soul of the Keeper", // 93
[]: "Soul of Apollyon", // 94
[]: "Soul of the Forgotten", // 95
[]: "Soul of Bethany", // 96
[]: "Soul of Jacob and Esau", // 97
} as const satisfies Record<CardType, string>;