summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-05-19 14:27:17 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-05-19 14:27:17 +0100
commitdd209a63609aa1aabef3c4fc98b7a7bddedb2da5 (patch)
tree34b3112578be758c984d92e17626add43f48a995
parent31e4488172c7d857575754d55b679a32a0703ae9 (diff)
add feathers to chicken drops
-rw-r--r--chicken.lua9
-rw-r--r--textures/mobs_chicken_feather.pngbin0 -> 167 bytes
2 files changed, 8 insertions, 1 deletions
diff --git a/chicken.lua b/chicken.lua
index 7ab6f41..ea5710a 100644
--- a/chicken.lua
+++ b/chicken.lua
@@ -33,6 +33,7 @@ mobs:register_mob("mobs_animal:chicken", {
runaway = true,
drops = {
{name = "mobs:chicken_raw", chance = 1, min = 2, max = 2},
+ {name = "mobs:chicken_feather", chance = 3, min = 1, max = 2},
},
water_damage = 1,
lava_damage = 5,
@@ -248,7 +249,7 @@ minetest.register_node(":mobs:egg", {
-- fried egg
minetest.register_craftitem(":mobs:chicken_egg_fried", {
-description = S("Fried Egg"),
+ description = S("Fried Egg"),
inventory_image = "mobs_chicken_egg_fried.png",
on_use = minetest.item_eat(2),
})
@@ -278,3 +279,9 @@ minetest.register_craft({
recipe = "mobs:chicken_raw",
output = "mobs:chicken_cooked",
})
+
+-- feather
+minetest.register_craftitem(":mobs:chicken_feather", {
+ description = S("Feather"),
+ inventory_image = "mobs_chicken_feather.png",
+})
diff --git a/textures/mobs_chicken_feather.png b/textures/mobs_chicken_feather.png
new file mode 100644
index 0000000..b6ae211
--- /dev/null
+++ b/textures/mobs_chicken_feather.png
Binary files differ