- /*
+/*
Minetest-c55
Copyright (C) 2010-2011 celeron55, Perttu Ahola <celeron55@gmail.com>
return "firefly.png";
else if(subname == "apple")
return "apple.png";
+ else if(subname == "apple_iron")
+ return "apple_iron.png";
else
return "cloud.png"; // just something
}
s16 item_craft_get_drop_count(const std::string &subname)
{
- if(subname == "rat" || subname == "firefly" || subname == "apple")
+ if(subname == "rat" || subname == "firefly")
return 1;
return -1;
return true;
else if(subname == "apple")
return true;
+ else if(subname == "apple_iron")
+ return true;
return false;
}
if(subname == "cooked_rat")
return 6; // 3 hearts
else if(subname == "apple")
- return 12; // 6 hearts
+ return 4; // 2 hearts
+ else if(subname == "apple_iron")
+ return 8; // 4 hearts
return 0;
}