1
0
Fork 0

Make mobs that should be skittish, skittish

This commit is contained in:
jordan4ibanez 2021-04-23 17:12:02 -04:00
parent af4c42fea7
commit 304cbed447
5 changed files with 5 additions and 3 deletions

View File

@ -17,7 +17,7 @@ mobs:register_mob("mobs_mc:chicken", {
xp_min = 1, xp_min = 1,
xp_max = 3, xp_max = 3,
collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.69, 0.2}, collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.69, 0.2},
runaway = true, skittish = true,
fall_slow = true, fall_slow = true,
floats = 1, floats = 1,
visual = "mesh", visual = "mesh",

View File

@ -32,7 +32,7 @@ local cow_def = {
max = 2, max = 2,
looting = "common",}, looting = "common",},
}, },
runaway = true, skittish = true,
sounds = { sounds = {
random = "mobs_mc_cow", random = "mobs_mc_cow",
damage = "mobs_mc_cow_hurt", damage = "mobs_mc_cow_hurt",

View File

@ -90,6 +90,7 @@ local horse = {
rotate = 270, rotate = 270,
walk_velocity = 1, walk_velocity = 1,
run_velocity = 8, run_velocity = 8,
skittish = true,
visual_size = {x=3.0, y=3.0}, visual_size = {x=3.0, y=3.0},
collisionbox = {-0.69825, -0.01, -0.69825, 0.69825, 1.59, 0.69825}, collisionbox = {-0.69825, -0.01, -0.69825, 0.69825, 1.59, 0.69825},
animation = { animation = {

View File

@ -5,7 +5,7 @@ local S = minetest.get_translator("mobs_mc")
mobs:register_mob("mobs_mc:pig", { mobs:register_mob("mobs_mc:pig", {
type = "animal", type = "animal",
spawn_class = "passive", spawn_class = "passive",
runaway = true, skittish = true,
rotate = 270, rotate = 270,
hp_min = 10, hp_min = 10,
hp_max = 10, hp_max = 10,

View File

@ -62,6 +62,7 @@ mobs:register_mob("mobs_mc:sheep", {
hp_max = 8, hp_max = 8,
xp_min = 1, xp_min = 1,
xp_max = 3, xp_max = 3,
skittish = true,
collisionbox = {-0.45, -0.01, -0.45, 0.45, 1.29, 0.45}, collisionbox = {-0.45, -0.01, -0.45, 0.45, 1.29, 0.45},
rotate = 270, rotate = 270,
visual = "mesh", visual = "mesh",