mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +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
|
||||
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,
|
||||
|
@ -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,
|
||||
@ -55,4 +54,4 @@ mobs:register_mob("mobs:sand_monster", {
|
||||
-- spawns on desert sand between -1 and 20 light, 1 in 15000 chance, 1 sand monster in area up to 31000 in height
|
||||
mobs:register_spawn("mobs:sand_monster", {"default:desert_sand", "default:sand"}, 20, -1, 20000, 1, 31000)
|
||||
-- register spawn egg
|
||||
mobs:register_egg("mobs:sand_monster", "Sand Monster", "default_desert_sand.png", 1)
|
||||
mobs:register_egg("mobs:sand_monster", "Sand Monster", "default_desert_sand.png", 1)
|
||||
|
Loading…
Reference in New Issue
Block a user