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:
@ -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)
|
||||
|
Reference in New Issue
Block a user