summaryrefslogtreecommitdiff
path: root/src/content_inventory.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-07-30 18:51:15 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-07-30 18:51:15 +0300
commitd62ae0e18bc570033ada07454b1642f696fe17b1 (patch)
tree69564fe33c88a90e74ccf0da356e9664ecc32817 /src/content_inventory.h
parent4556c212dba726271352b05a9299564e05abb218 (diff)
downloadminetest-d62ae0e18bc570033ada07454b1642f696fe17b1.tar.gz
minetest-d62ae0e18bc570033ada07454b1642f696fe17b1.tar.bz2
minetest-d62ae0e18bc570033ada07454b1642f696fe17b1.zip
Rats are now eatable. Also made their selection box move smoothly.
Diffstat (limited to 'src/content_inventory.h')
-rw-r--r--src/content_inventory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content_inventory.h b/src/content_inventory.h
index 0f410128b..91550bb9a 100644
--- a/src/content_inventory.h
+++ b/src/content_inventory.h
@@ -37,6 +37,8 @@ ServerActiveObject* item_craft_create_object(const std::string &subname,
s16 item_craft_get_drop_count(const std::string &subname);
bool item_craft_is_cookable(const std::string &subname);
InventoryItem* item_craft_create_cook_result(const std::string &subname);
+bool item_craft_is_eatable(const std::string &subname);
+s16 item_craft_eat_hp_change(const std::string &subname);
#endif