1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-28 23:40:34 +02:00

fixed visual, collisionbox and explosion sound

This commit is contained in:
crabman77 2015-07-16 16:24:43 +02:00
parent c10173888b
commit 76b5ac0903
2 changed files with 3 additions and 4 deletions

View File

@ -11,19 +11,19 @@ mobs:register_mob("mobs:creeper", {
-- health & armor
hp_min = 30, hp_max = 40, armor = 90,
-- textures and model
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4},
visual = "mesh",
mesh = "mobs_tree_monster.b3d",
drawtype = "front",
textures = {
{"mobs_creeper.png"},
},
visual_size = {x=4.5,y=4.5},
blood_texture = "mobs_creeper_inv.png",
-- sounds
makes_footstep_sound = true,
sounds = {
random = "mobs_treemonster",
explode= "tnt_explode",
},
-- speed and jump
walk_velocity = 2,

View File

@ -19,7 +19,6 @@ mobs:register_mob("mobs:sand_monster", {
textures = {
{"mobs_sand_monster.png"},
},
visual_size = {x=8,y=8},
blood_texture = "default_sand.png",
-- sounds
makes_footstep_sound = true,