add sound

master^2
Tai @ Flex 2016-12-14 19:49:04 +00:00
parent 8111c80615
commit 4bbc146d2a
2 changed files with 8 additions and 6 deletions

View File

@ -5,7 +5,9 @@ mobs:register_mob("penguin:penguin", {
passive = false,
attack_type = "dogfight",
damage = 2,
hp_min = 5, hp_max = 15, armor = 200,
hp_min = 5,
hp_max = 15,
armor = 200,
collisionbox = {-0.25, -0.4, -0.25, 0.25, 0.3, 0.25},
visual = "mesh",
mesh = "mobs_penguin.b3d",
@ -16,16 +18,16 @@ mobs:register_mob("penguin:penguin", {
blood_texture = "mobs_blood.png",
visual_size = {x=8,y=8},
makes_footstep_sound = true,
-- sounds = {
-- random = "mobs_sheep",
-- },
sounds = {
random = "penguin_chirrup",
},
-- speed and jump
walk_velocity = 1,
run_velocity = 2,
jump = true,
jump_height = 1,
jump_height = 1,
stepheight = 1.1,
floats = 1,
floats = 1,
-- drops raw meat when dead
drops = {
{name = "mobs:meat_raw",

BIN
sounds/penguin_chirrup.ogg Normal file

Binary file not shown.