Skip to Content
The Alchemy Project

src/game/item_table.c

The 516 items, by item id. More…

Included by game.c.

Macros

NameDescription
#defineEQUIP_WARRIORSIsaac, Garet, Felix and Piers: most swords and axes, and the heavier armour, shields and helms.
#defineEQUIP_MAGESIvan, Mia, Jenna and Sheba: the staffs, robes, armlets and circlets.
#defineEQUIP_LIGHT_BLADE_WIELDERSEveryone but Mia and Sheba: the short swords and rapiers.
#defineEQUIP_MACE_WIELDERSEveryone but Ivan and Jenna.
#defineEQUIP_WOMENMia, Jenna and Sheba: the dresses.
#defineEQUIP_MENEveryone but Mia, Jenna and Sheba.
#defineITEM_PLACEHOLDER_WEAPONThe 55 rows past the Magma Ball, to the last item id, 515: one placeholder weapon repeated, with no name or icon, that only Isaac can equip.

Variables

NameDescription
const ITEM_DEFINITIONItemDefinitionTable []The 516 items, by item id, read through gmItemGetDefinition.

Description

The 516 items, by item id. Each name is the English release's (MsgItemName plus the item id); the 55 rows past the last name have none. Part of game.c.

Macros in detail

EQUIP_WARRIORS

#define EQUIP_WARRIORS

Isaac, Garet, Felix and Piers: most swords and axes, and the heavier armour, shields and helms.

Referenced by ItemDefinitionTable.

Definition at line 6 of file item_table.c.

EQUIP_MAGES

#define EQUIP_MAGES

Ivan, Mia, Jenna and Sheba: the staffs, robes, armlets and circlets.

Referenced by ItemDefinitionTable.

Definition at line 10 of file item_table.c.

EQUIP_LIGHT_BLADE_WIELDERS

#define EQUIP_LIGHT_BLADE_WIELDERS

Everyone but Mia and Sheba: the short swords and rapiers.

Referenced by ItemDefinitionTable.

Definition at line 14 of file item_table.c.

EQUIP_MACE_WIELDERS

#define EQUIP_MACE_WIELDERS

Everyone but Ivan and Jenna.

Referenced by ItemDefinitionTable.

Definition at line 19 of file item_table.c.

EQUIP_WOMEN

#define EQUIP_WOMEN

Mia, Jenna and Sheba: the dresses.

Referenced by ItemDefinitionTable.

Definition at line 24 of file item_table.c.

EQUIP_MEN

#define EQUIP_MEN

Everyone but Mia, Jenna and Sheba.

Referenced by ItemDefinitionTable.

Definition at line 27 of file item_table.c.

ITEM_PLACEHOLDER_WEAPON

#define ITEM_PLACEHOLDER_WEAPON

The 55 rows past the Magma Ball, to the last item id, 515: one placeholder weapon repeated, with no name or icon, that only Isaac can equip. Its unleash chance of 64 steps (320 percent) unleashes Move on every attack. Nothing gives one.

Referenced by ItemDefinitionTable.

Definition at line 35 of file item_table.c.

Variables in detail

ItemDefinitionTable

const ITEM_DEFINITION ItemDefinitionTable[]

The 516 items, by item id, read through gmItemGetDefinition.

Referenced by gmItemGetDefinition().

Definition at line 50 of file item_table.c.