ItemConfigCardType
Corresponds to the "type" attribute in the "pocketitems.xml" file.
Matches the ItemConfig.CARDTYPE_
members of the ItemConfig
class. In IsaacScript, we
reimplement this as an enum instead, since it is cleaner.
Note that this enum is not to be confused with the CardType
enum; the latter denotes the
in-game sub-type of the card, which is completely different.
Enumeration Members
NULL
• NULL = -1
No valid card will have this type.
Defined in
TAROT
• TAROT = 0
A normal card with a brown back, like "0 - The Fool".
Defined in
SUIT
• SUIT = 1
A playing card with a red back, like 2 of Clubs. This includes the Queen of Hearts and the Joker. This does not include Suicide King or the Rules Card.
Defined in
RUNE
• RUNE = 2
A left-facing rune like Hagalaz, a right-facing rune like Ansuz, a Black Rune, a Blank Rune, a a Rune Shard, or a "soul" rune like Soul of Isaac.
Defined in
SPECIAL
• SPECIAL = 3
A card that does not fall into any of the other categories, like a Chaos Card (42). This category excludes non-cards such as Dice Shard.
Most of the cards in this category have unique card-backs.
4 cards share the Magic the Gathering back:
- Chaos Card (42)
- Huge Growth (52)
- Ancient Recall (53)
- Era Walk (54)
3 cards have a red playing card back:
- Rules Card (44)
- Suicide King (46)
- ? Card (48)
Defined in
SPECIAL_OBJECT
• SPECIAL_OBJECT = 4
A Dice Shard, an Emergency Contact, or a Cracked Key.
Defined in
TAROT_REVERSE
• TAROT_REVERSE = 5
A reverse tarot card with a reddish-brown back, like "0 - The Fool?".
Defined in
MODDED
• MODDED = 6
This is not a real CardType
. Due to limitations in the API, getting the real type of modded
cards is not possible, so this value is returned instead.