1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-03 16:40:25 +02:00

Update mobs mod

- Bunnies eat savage carrots
- Now, you need mobs:shears(ciseaux) if you want take the sheep’s wool,
- Kittens now follow rat and be tamed if they eat 4 fish_raw (obtained
when fishing)
- Kittens now can be picked with right click, and stored in inventory
(like chickens)

—> SYNC WITHOUT API.LUA <—
This commit is contained in:
Ombridride
2015-03-20 22:57:10 +01:00
parent 739c854de0
commit 7c27dda103
18 changed files with 72 additions and 94 deletions

View File

@ -43,7 +43,11 @@ mobs:register_mob("mobs:bunny", {
},
-- follows carrot from farming redo
follow = "farming:carrot",
view_range = 8,
view_range = 8,
-- eat carrots
replace_rate = 80,
replace_what = {"farming:carrot_7", "farming:carrot_8", "farming_plus:carrot"},
replace_with = "air",
-- right click to pick up rabbit
on_rightclick = function(self, clicker)
@ -68,4 +72,4 @@ mobs:register_mob("mobs:bunny", {
})
mobs:register_spawn("mobs:bunny", {"default:dirt_with_grass"}, 20, 8, 12000, 1, 31000)
mobs:register_egg("mobs:bunny", "bunny", "mobs_bunny_inv.png", 0)
mobs:register_egg("mobs:bunny", "Bunny", "mobs_bunny_inv.png", 0)