]> git.lizzy.rs Git - dungeon_game.git/blobdiff - plugins/inventory/inventory.h
Add inventory_find
[dungeon_game.git] / plugins / inventory / inventory.h
index 437ffb646d427c1cc071a3d8b212efbc043a116f..62de9dcacca8843957b907af606d7979e5b1f81e 100644 (file)
@@ -26,6 +26,7 @@ struct inventory
 
 void inventory_add(struct inventory *self, struct itemstack stack);
 bool inventory_remove(struct inventory *self, struct item *item);
+struct itemstack *inventory_find(struct inventory *self, struct item *item);
 
 extern struct inventory player_inventory;
 #endif