Modifications pour le serveur nalc.
This commit is contained in:
parent
0d7c343edf
commit
5b87524a6b
9
init.lua
9
init.lua
@ -5,18 +5,18 @@ mobs:register_mob("creeper:creeper", {
|
|||||||
type = "monster",
|
type = "monster",
|
||||||
passive = false,
|
passive = false,
|
||||||
attack_type = "explode",
|
attack_type = "explode",
|
||||||
|
explosion_radius = 3,
|
||||||
damage = 21,
|
damage = 21,
|
||||||
hp_min = 30,
|
hp_min = 30,
|
||||||
hp_max = 40,
|
hp_max = 40,
|
||||||
armor = 90,
|
armor = 90,
|
||||||
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.x",
|
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",
|
||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
sounds = {
|
sounds = {
|
||||||
@ -52,5 +52,6 @@ mobs:register_mob("creeper:creeper", {
|
|||||||
speed_normal = 15, speed_run = 15,
|
speed_normal = 15, speed_run = 15,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
mobs:register_spawn("creeper:creeper", {"default:dirt_with_grass"}, 20, 8, 12000, 1, 31000)
|
mobs:register_spawn("creeper:creeper", {"default:dirt_with_grass"}, 20, 8, 25000, 1, 31000)
|
||||||
mobs:register_egg("creeper:creeper", "Creeper", "mobs_creeper_inv.png", 1)
|
mobs:register_egg("creeper:creeper", "Creeper", "mobs_creeper_inv.png", 1)
|
||||||
|
mobs:alias_mob("mobs:creeper", "creeper:creeper")
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 883 B After Width: | Height: | Size: 212 B |
Loading…
Reference in New Issue
Block a user