mirror of
https://github.com/Poikilos/mobs.git
synced 2023-10-03 07:28:50 -07:00
Add model for stone monster
This commit is contained in:
parent
95dc063eb8
commit
bb6c767d97
22
init.lua
22
init.lua
@ -3,7 +3,7 @@ dofile(minetest.get_modpath("mobs").."/api.lua")
|
||||
mobs:register_mob("mobs:dirt_monster", {
|
||||
type = "monster",
|
||||
hp_max = 5,
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 1, 0.4},
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
|
||||
visual = "upright_sprite",
|
||||
visual_size = {x=1, y=2},
|
||||
textures = {"mobs_dirt_monster.png", "mobs_dirt_monster_back.png"},
|
||||
@ -31,10 +31,14 @@ mobs:register_spawn("mobs:dirt_monster", {"default:dirt_with_grass"}, 3, -1, 700
|
||||
mobs:register_mob("mobs:stone_monster", {
|
||||
type = "monster",
|
||||
hp_max = 10,
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 1, 0.4},
|
||||
visual = "upright_sprite",
|
||||
visual_size = {x=1, y=2},
|
||||
textures = {"mobs_stone_monster.png", "mobs_stone_monster_back.png"},
|
||||
collisionbox = {-0.4, 0, -0.4, 0.4, 1.9, 0.4},
|
||||
--visual = "upright_sprite",
|
||||
--visual_size = {x=1, y=2},
|
||||
--textures = {"mobs_stone_monster.png", "mobs_stone_monster_back.png"},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_stone_monster.x",
|
||||
textures = {"mobs_stone_monster.png"},
|
||||
visual_size = {x=3, y=2.6},
|
||||
makes_footstep_sound = true,
|
||||
view_range = 10,
|
||||
walk_velocity = 0.5,
|
||||
@ -60,7 +64,7 @@ mobs:register_spawn("mobs:stone_monster", {"default:stone"}, 3, -1, 7000, 3, 0)
|
||||
mobs:register_mob("mobs:sand_monster", {
|
||||
type = "monster",
|
||||
hp_max = 3,
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 1, 0.4},
|
||||
collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
|
||||
visual = "upright_sprite",
|
||||
visual_size = {x=1, y=2},
|
||||
textures = {"mobs_sand_monster.png", "mobs_sand_monster_back.png"},
|
||||
@ -112,9 +116,9 @@ mobs:register_mob("mobs:sheep", {
|
||||
random = "mobs_sheep",
|
||||
},
|
||||
animation = {
|
||||
speed_normal = 10,
|
||||
speed_normal = 15,
|
||||
stand_start = 0,
|
||||
stand_end = 59,
|
||||
stand_end = 80,
|
||||
walk_start = 81,
|
||||
walk_end = 100,
|
||||
},
|
||||
@ -212,7 +216,7 @@ minetest.register_craft({
|
||||
mobs:register_mob("mobs:oerkki", {
|
||||
type = "monster",
|
||||
hp_max = 8,
|
||||
collisionbox = {-0.4, 0, -0.4, 0.4, 2, 0.4},
|
||||
collisionbox = {-0.4, 0, -0.4, 0.4, 1.9, 0.4},
|
||||
--visual = "upright_sprite",
|
||||
--visual_size = {x=1, y=2},
|
||||
--textures = {"mobs_oerkki.png", "mobs_oerkki_back.png"},
|
||||
|
BIN
models/mobs_stone_monster.png
Executable file
BIN
models/mobs_stone_monster.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
2754
models/mobs_stone_monster.x
Executable file
2754
models/mobs_stone_monster.x
Executable file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB |
Loading…
x
Reference in New Issue
Block a user