forked from mtcontrib/mobs_animal
add more food types to follow for kitten, cow, sheep, penguin, chicken (thanks rusty-snake)
This commit is contained in:
parent
4706a78a2a
commit
e8ccc6b3c1
@ -55,7 +55,10 @@ stepheight = 0.6,
|
||||
run_end = 110,
|
||||
run_speed = 24,
|
||||
},
|
||||
follow = {"farming:seed_wheat", "farming:seed_cotton"},
|
||||
follow = {
|
||||
"farming:seed_wheat", "farming:seed_cotton", "farming:seed_barley",
|
||||
"farming:seed_oat", "farming:seed_rye"
|
||||
},
|
||||
view_range = 5,
|
||||
|
||||
on_rightclick = function(self, clicker)
|
||||
|
5
cow.lua
5
cow.lua
@ -58,7 +58,10 @@ mobs:register_mob("mobs_animal:cow", {
|
||||
die_speed = 10,
|
||||
die_loop = false,
|
||||
},
|
||||
follow = {"farming:wheat", "default:grass_1"},
|
||||
follow = {
|
||||
"farming:wheat", "default:grass_1", "farming:barley",
|
||||
"farming:oat", "farming:rye"
|
||||
},
|
||||
view_range = 8,
|
||||
replace_rate = 10,
|
||||
replace_what = {
|
||||
|
@ -52,7 +52,10 @@ stepheight = 1.1,
|
||||
stoodup_start = 0,
|
||||
stoodup_end = 0,
|
||||
},
|
||||
follow = {"mobs_animal:rat", "ethereal:fish_raw", "mobs_fish:clownfish", "mobs_fish:tropical"},
|
||||
follow = {
|
||||
"mobs_animal:rat", "ethereal:fish_raw", "mobs_fish:clownfish",
|
||||
"mobs_fish:tropical", "xocean:fish_edible"
|
||||
},
|
||||
view_range = 8,
|
||||
|
||||
on_rightclick = function(self, clicker)
|
||||
|
@ -47,7 +47,7 @@ stepheight = 0.6,
|
||||
floats = 0,
|
||||
follow = {
|
||||
"ethereal:fish_raw", "mobs_fish:clownfish", "mobs_fish:tropical",
|
||||
"mobs_fish:clownfish_set", "mobs_fish:tropical_set"
|
||||
"mobs_fish:clownfish_set", "mobs_fish:tropical_set", "xocean:fish_edible"
|
||||
},
|
||||
view_range = 5,
|
||||
|
||||
|
@ -65,7 +65,10 @@ for _, col in ipairs(all_colours) do
|
||||
walk_start = 81,
|
||||
walk_end = 100,
|
||||
},
|
||||
follow = {"farming:wheat", "default:grass_1"},
|
||||
follow = {
|
||||
"farming:wheat", "default:grass_1", "farming:barley",
|
||||
"farming:oat", "farming:rye"
|
||||
},
|
||||
view_range = 8,
|
||||
replace_rate = 10,
|
||||
replace_what = {
|
||||
|
Loading…
Reference in New Issue
Block a user