mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 23:40:31 +01:00
fixed visual, collisionbox and explosion sound
This commit is contained in:
parent
c10173888b
commit
76b5ac0903
|
@ -11,19 +11,19 @@ mobs:register_mob("mobs:creeper", {
|
||||||
-- health & armor
|
-- health & armor
|
||||||
hp_min = 30, hp_max = 40, armor = 90,
|
hp_min = 30, hp_max = 40, armor = 90,
|
||||||
-- textures and model
|
-- 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",
|
visual = "mesh",
|
||||||
mesh = "mobs_tree_monster.b3d",
|
mesh = "mobs_tree_monster.b3d",
|
||||||
drawtype = "front",
|
drawtype = "front",
|
||||||
textures = {
|
textures = {
|
||||||
{"mobs_creeper.png"},
|
{"mobs_creeper.png"},
|
||||||
},
|
},
|
||||||
visual_size = {x=4.5,y=4.5},
|
|
||||||
blood_texture = "mobs_creeper_inv.png",
|
blood_texture = "mobs_creeper_inv.png",
|
||||||
-- sounds
|
-- sounds
|
||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
sounds = {
|
sounds = {
|
||||||
random = "mobs_treemonster",
|
random = "mobs_treemonster",
|
||||||
|
explode= "tnt_explode",
|
||||||
},
|
},
|
||||||
-- speed and jump
|
-- speed and jump
|
||||||
walk_velocity = 2,
|
walk_velocity = 2,
|
||||||
|
|
|
@ -19,7 +19,6 @@ mobs:register_mob("mobs:sand_monster", {
|
||||||
textures = {
|
textures = {
|
||||||
{"mobs_sand_monster.png"},
|
{"mobs_sand_monster.png"},
|
||||||
},
|
},
|
||||||
visual_size = {x=8,y=8},
|
|
||||||
blood_texture = "default_sand.png",
|
blood_texture = "default_sand.png",
|
||||||
-- sounds
|
-- sounds
|
||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user