Unmake sound table

master
James Stevenson 2016-06-16 19:50:42 -04:00
parent 804a456e0c
commit 5d38d7a80f
1 changed files with 24 additions and 12 deletions

View File

@ -5,14 +5,6 @@ minetest.register_craftitem("zombies:rotten_flesh", {
})
local soundtab = {
random = "mobs_zombie",
damage = "mobs_zombie_hit",
attack = "groan",
death = "mobs_zombie_death",
}
-- Zombie by BlockMen
mobs:register_mob("zombies:zombie", {
@ -32,7 +24,12 @@ mobs:register_mob("zombies:zombie", {
{"mobs_zombie.png"},
},
makes_footstep_sound = true,
sounds = soundtab,
sounds = {
random = "mobs_zombie",
damage = "mobs_zombie_hit",
attack = "groan",
death = "mobs_zombie_death",
},
walk_velocity = 0.5,
run_velocity = 0.5,
jump = true,
@ -79,7 +76,12 @@ mobs:register_mob('zombies:1arm', {
{"mobs_zombie.png"}
},
makes_footstep_sound = true,
sounds = soundtab,
sounds = {
random = "mobs_zombie",
damage = "mobs_zombie_hit",
attack = "groan",
death = "mobs_zombie_death",
},
walk_velocity = 0.5,
run_velocity = 0.5,
jump = true,
@ -124,7 +126,12 @@ mobs:register_mob('zombies:crawler', {
{"mobs_zombie.png"}
},
makes_footstep_sound = true,
sounds = soundtab,
sounds = {
random = "mobs_zombie",
damage = "mobs_zombie_hit",
attack = "groan",
death = "mobs_zombie_death",
},
walk_velocity = 0.1,
run_velocity = 0.1,
jump = true,
@ -169,7 +176,12 @@ mobs:register_mob('zombies:normal', {
{"mobs_zombie.png"}
},
makes_footstep_sound = true,
sounds = soundtab,
sounds = {
random = "mobs_zombie",
damage = "mobs_zombie_hit",
attack = "groan",
death = "mobs_zombie_death",
},
walk_velocity = 0.25,
run_velocity = 0.25,
jump = true,