mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 17:00:26 +01:00
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,
|
punch_end = 100,
|
||||||
},
|
},
|
||||||
follow = "farming:wheat",
|
follow = "farming:wheat",
|
||||||
view_range = 7,
|
view_range = 8,
|
||||||
replace_rate = 10,
|
replace_rate = 10,
|
||||||
-- replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "farming:wheat_8"},
|
-- replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "farming:wheat_8"},
|
||||||
replace_what = {
|
replace_what = {
|
||||||
|
@ -9,6 +9,7 @@ mobs:register_mob("mobs_animal:pumba", {
|
|||||||
passive = false,
|
passive = false,
|
||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
|
owner_loyal = true,
|
||||||
reach = 2,
|
reach = 2,
|
||||||
damage = 2,
|
damage = 2,
|
||||||
hp_min = 5,
|
hp_min = 5,
|
||||||
|
Loading…
Reference in New Issue
Block a user