1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-23 01:10:25 +01:00

add owner loyalty to hogs

This commit is contained in:
TenPlus1 2017-05-12 10:01:43 +01:00
parent 8deab40256
commit 31e4488172
2 changed files with 2 additions and 1 deletions

View File

@ -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 = {

View File

@ -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,