2025-02-19 02:09:45 +00:00
|
|
|
enum invobject {
|
|
|
|
INVITEM_BLANK = 0, // must always be 0
|
|
|
|
|
|
|
|
INVITEM_POPCORN,
|
2025-02-19 02:51:11 +00:00
|
|
|
INVITEM_PAGER,
|
2025-02-19 02:09:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern int inventory[INVENTORY_SIZE];
|
|
|
|
|
|
|
|
int count_item_in_inventory(int item);
|
|
|
|
int add_to_inventory(int item); // returns slot number or -1 if no space available
|