Structure for storing items in the game. More...
#include <item.h>

Data Fields | |
| struct cell | tempinv |
| char * | name |
| int | id |
| int | class |
| int | subclass |
| char | key |
| int | level |
Structure for storing items in the game.
| int item::class |
Class of item (e.g., WEAPONS or ARMOR)
| int item::id |
ID of item (for example ARROW or RING_MAIL)
| char item::key |
Key to access item (available in inventory)
| int item::level |
Level of item (cost depends on it)
| char* item::name |
Name of item
| int item::subclass |
Subclass (e.g. MAIL_ARMOR or KNIVES)
| struct cell item::tempinv |
Cell on which item lying on (deprecated, use backpack instead)
1.6.3