3 #include "../game/game.h"
17 bool (*on_use)(struct itemstack *stack);
18 void (*on_destroy)(struct itemstack *stack);
19 void (*on_create)(struct itemstack *stack);
27 void inventory_add(struct inventory *self, struct itemstack stack);
28 bool inventory_remove(struct inventory *self, struct item *item);
30 extern struct inventory player_inventory;