1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

Update mod mobs to multiple textures.

This commit is contained in:
Le_Docteur 2014-12-10 16:44:45 +01:00
parent 4de7f3e484
commit eb5ddbe8f3
4 changed files with 17 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -8,7 +8,13 @@ mobs:register_mob("mobs:oerkki", {
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
visual = "mesh",
mesh = "mobs_oerkki.x",
textures = {"mobs_oerkki.png"},
--textures = {"mobs_oerkki.png"},
available_textures = {
total = 2,
texture_1 = {"mobs_oerkki.png"},
texture_2 = {"mobs_oerkki2.png"},
},
visual_size = {x=5, y=5},
makes_footstep_sound = false,
view_range = 16,

View File

@ -6,7 +6,11 @@ mobs:register_mob("mobs:sheep", {
hp_min = 10,
hp_max = 15,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
textures = {"mobs_sheep.png"},
--textures = {"mobs_sheep.png"},
available_textures = {
total = 1,
texture_1 = {"mobs_sheep.png"},
},
visual = "mesh",
mesh = "mobs_sheep.x",
makes_footstep_sound = true,

View File

@ -5,7 +5,11 @@ mobs:register_mob("mobs:pumba", {
hp_min = 10,
hp_max = 15,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
textures = {"mobs_pumba.png"},
--textures = {"mobs_pumba.png"},
available_textures = {
total = 1,
texture_1 = {"mobs_pumba.png"},
},
visual = "mesh",
mesh = "mobs_pumba.x",
makes_footstep_sound = true,