forked from mtcontrib/mobs_animal
add owner loyalty to hogs
This commit is contained in:
parent
8deab40256
commit
31e4488172
2
cow.lua
2
cow.lua
@ -47,7 +47,7 @@ mobs:register_mob("mobs_animal:cow", {
|
||||
punch_end = 100,
|
||||
},
|
||||
follow = "farming:wheat",
|
||||
view_range = 7,
|
||||
view_range = 8,
|
||||
replace_rate = 10,
|
||||
-- replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "farming:wheat_8"},
|
||||
replace_what = {
|
||||
|
@ -9,6 +9,7 @@ mobs:register_mob("mobs_animal:pumba", {
|
||||
passive = false,
|
||||
attack_type = "dogfight",
|
||||
group_attack = true,
|
||||
owner_loyal = true,
|
||||
reach = 2,
|
||||
damage = 2,
|
||||
hp_min = 5,
|
||||
|
Loading…
Reference in New Issue
Block a user