trying to figure out why mob footsteps always sound nearby
This commit is contained in:
parent
7b6e329eee
commit
14adf84b63
@ -2,7 +2,9 @@
|
|||||||
-- Warthog(Boar) by KrupnoPavel
|
-- Warthog(Boar) by KrupnoPavel
|
||||||
-- Changed to Boar and tweaked by Kaadmy
|
-- Changed to Boar and tweaked by Kaadmy
|
||||||
|
|
||||||
mobs:register_mob("mobs:boar", {
|
mobs:register_mob(
|
||||||
|
"mobs:boar",
|
||||||
|
{
|
||||||
type = "animal",
|
type = "animal",
|
||||||
passive = false,
|
passive = false,
|
||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
@ -20,6 +22,7 @@ mobs:register_mob("mobs:boar", {
|
|||||||
sounds = {
|
sounds = {
|
||||||
random = "mobs_boar",
|
random = "mobs_boar",
|
||||||
attack = "mobs_boar_angry",
|
attack = "mobs_boar_angry",
|
||||||
|
distance = 16,
|
||||||
},
|
},
|
||||||
walk_velocity = 2,
|
walk_velocity = 2,
|
||||||
run_velocity = 3,
|
run_velocity = 3,
|
||||||
|
@ -6,7 +6,6 @@ mobs:register_mob(
|
|||||||
type = "monster",
|
type = "monster",
|
||||||
passive = false,
|
passive = false,
|
||||||
attack_type = "explode",
|
attack_type = "explode",
|
||||||
damage = 2,
|
|
||||||
hp_min = 10,
|
hp_min = 10,
|
||||||
hp_max = 15,
|
hp_max = 15,
|
||||||
armor = 200,
|
armor = 200,
|
||||||
@ -20,6 +19,7 @@ mobs:register_mob(
|
|||||||
sounds = {
|
sounds = {
|
||||||
random = "mobs_mineturtle",
|
random = "mobs_mineturtle",
|
||||||
explode= "tnt_explode",
|
explode= "tnt_explode",
|
||||||
|
distance = 16,
|
||||||
},
|
},
|
||||||
walk_velocity = 2,
|
walk_velocity = 2,
|
||||||
run_velocity = 4,
|
run_velocity = 4,
|
||||||
|
@ -20,6 +20,7 @@ mobs:register_mob(
|
|||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
sounds = {
|
sounds = {
|
||||||
random = "mobs_sheep",
|
random = "mobs_sheep",
|
||||||
|
distance = 16,
|
||||||
},
|
},
|
||||||
walk_velocity = 1,
|
walk_velocity = 1,
|
||||||
walk_chance = 150,
|
walk_chance = 150,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user