mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 17:00:26 +01:00
add feathers to chicken drops
This commit is contained in:
parent
31e4488172
commit
dd209a6360
@ -33,6 +33,7 @@ mobs:register_mob("mobs_animal:chicken", {
|
|||||||
runaway = true,
|
runaway = true,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mobs:chicken_raw", chance = 1, min = 2, max = 2},
|
{name = "mobs:chicken_raw", chance = 1, min = 2, max = 2},
|
||||||
|
{name = "mobs:chicken_feather", chance = 3, min = 1, max = 2},
|
||||||
},
|
},
|
||||||
water_damage = 1,
|
water_damage = 1,
|
||||||
lava_damage = 5,
|
lava_damage = 5,
|
||||||
@ -248,7 +249,7 @@ minetest.register_node(":mobs:egg", {
|
|||||||
|
|
||||||
-- fried egg
|
-- fried egg
|
||||||
minetest.register_craftitem(":mobs:chicken_egg_fried", {
|
minetest.register_craftitem(":mobs:chicken_egg_fried", {
|
||||||
description = S("Fried Egg"),
|
description = S("Fried Egg"),
|
||||||
inventory_image = "mobs_chicken_egg_fried.png",
|
inventory_image = "mobs_chicken_egg_fried.png",
|
||||||
on_use = minetest.item_eat(2),
|
on_use = minetest.item_eat(2),
|
||||||
})
|
})
|
||||||
@ -278,3 +279,9 @@ minetest.register_craft({
|
|||||||
recipe = "mobs:chicken_raw",
|
recipe = "mobs:chicken_raw",
|
||||||
output = "mobs:chicken_cooked",
|
output = "mobs:chicken_cooked",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- feather
|
||||||
|
minetest.register_craftitem(":mobs:chicken_feather", {
|
||||||
|
description = S("Feather"),
|
||||||
|
inventory_image = "mobs_chicken_feather.png",
|
||||||
|
})
|
||||||
|
BIN
textures/mobs_chicken_feather.png
Normal file
BIN
textures/mobs_chicken_feather.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 167 B |
Loading…
Reference in New Issue
Block a user