Browse Source

Modifications pour le serveur nalc.

master
sys4-fr 3 years ago
parent
commit
5b87524a6b
  1. 9
      init.lua
  2. BIN
      textures/mobs_creeper.png
  3. BIN
      textures/mobs_creeper_inv.png

9
init.lua

@ -5,18 +5,18 @@ mobs:register_mob("creeper:creeper", {
type = "monster",
passive = false,
attack_type = "explode",
explosion_radius = 3,
damage = 21,
hp_min = 30,
hp_max = 40,
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",
mesh = "mobs_tree_monster.x",
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",
makes_footstep_sound = true,
sounds = {
@ -52,5 +52,6 @@ mobs:register_mob("creeper:creeper", {
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:alias_mob("mobs:creeper", "creeper:creeper")

BIN
textures/mobs_creeper.png

Before

Width: 96  |  Height: 96  |  Size: 16 KiB

After

Width: 96  |  Height: 96  |  Size: 2.6 KiB

BIN
textures/mobs_creeper_inv.png

Before

Width: 16  |  Height: 16  |  Size: 883 B

After

Width: 16  |  Height: 16  |  Size: 212 B

Loading…
Cancel
Save