mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 17:00:26 +01:00
warthog model converted from .x to .b3d (thanks Sirrobzeroone)
This commit is contained in:
parent
f553e1e0a0
commit
bdfa95ff8a
BIN
models/mobs_pumba.b3d
Normal file
BIN
models/mobs_pumba.b3d
Normal file
Binary file not shown.
5316
models/mobs_pumba.x
5316
models/mobs_pumba.x
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
textures/mobs_pumba_inv.png
Normal file
BIN
textures/mobs_pumba_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 914 B |
@ -2,7 +2,7 @@
|
|||||||
local S = mobs.intllib
|
local S = mobs.intllib
|
||||||
|
|
||||||
|
|
||||||
-- Warthog by KrupnoPavel
|
-- Warthog originally by KrupnoPavel, B3D model by sirrobzeroone
|
||||||
|
|
||||||
mobs:register_mob("mobs_animal:pumba", {
|
mobs:register_mob("mobs_animal:pumba", {
|
||||||
stepheight = 0.6,
|
stepheight = 0.6,
|
||||||
@ -19,7 +19,7 @@ mobs:register_mob("mobs_animal:pumba", {
|
|||||||
armor = 200,
|
armor = 200,
|
||||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.95, 0.4},
|
collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.95, 0.4},
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "mobs_pumba.x",
|
mesh = "mobs_pumba.b3d",
|
||||||
textures = {
|
textures = {
|
||||||
{"mobs_pumba.png"},
|
{"mobs_pumba.png"},
|
||||||
},
|
},
|
||||||
@ -85,7 +85,7 @@ mobs:spawn({
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
mobs:register_egg("mobs_animal:pumba", S("Warthog"), "wool_pink.png", 1)
|
mobs:register_egg("mobs_animal:pumba", S("Warthog"), "mobs_pumba_inv.png")
|
||||||
|
|
||||||
|
|
||||||
mobs:alias_mob("mobs:pumba", "mobs_animal:pumba") -- compatibility
|
mobs:alias_mob("mobs:pumba", "mobs_animal:pumba") -- compatibility
|
||||||
|
Loading…
Reference in New Issue
Block a user