mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
Update mod mobs to multiple textures.
This commit is contained in:
parent
4de7f3e484
commit
eb5ddbe8f3
BIN
mods/mobs/models/mobs_oerkki2.png
Normal file
BIN
mods/mobs/models/mobs_oerkki2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -8,7 +8,13 @@ mobs:register_mob("mobs:oerkki", {
|
|||||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
|
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "mobs_oerkki.x",
|
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},
|
visual_size = {x=5, y=5},
|
||||||
makes_footstep_sound = false,
|
makes_footstep_sound = false,
|
||||||
view_range = 16,
|
view_range = 16,
|
||||||
|
@ -6,7 +6,11 @@ mobs:register_mob("mobs:sheep", {
|
|||||||
hp_min = 10,
|
hp_min = 10,
|
||||||
hp_max = 15,
|
hp_max = 15,
|
||||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
|
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",
|
visual = "mesh",
|
||||||
mesh = "mobs_sheep.x",
|
mesh = "mobs_sheep.x",
|
||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
|
@ -5,7 +5,11 @@ mobs:register_mob("mobs:pumba", {
|
|||||||
hp_min = 10,
|
hp_min = 10,
|
||||||
hp_max = 15,
|
hp_max = 15,
|
||||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
|
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",
|
visual = "mesh",
|
||||||
mesh = "mobs_pumba.x",
|
mesh = "mobs_pumba.x",
|
||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user