mirror of
https://github.com/Poikilos/mobs.git
synced 2023-10-03 07:28:50 -07:00
Add (broken) model for sand monster
This commit is contained in:
parent
17188a8c57
commit
b18575727e
22
init.lua
22
init.lua
@ -74,10 +74,14 @@ 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, 0.9, 0.4},
|
||||
visual = "upright_sprite",
|
||||
visual_size = {x=1, y=2},
|
||||
textures = {"mobs_sand_monster.png", "mobs_sand_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_sand_monster.png", "mobs_sand_monster_back.png"},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_sand_monster.x",
|
||||
textures = {"mobs_sand_monster.png"},
|
||||
visual_size = {x=8,y=8},
|
||||
makes_footstep_sound = true,
|
||||
view_range = 15,
|
||||
walk_velocity = 1.5,
|
||||
@ -96,6 +100,16 @@ mobs:register_mob("mobs:sand_monster", {
|
||||
lava_damage = 1,
|
||||
light_damage = 0,
|
||||
attack_type = "dogfight",
|
||||
animation = {
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
stand_start = 0,
|
||||
stand_end = 39,
|
||||
walk_start = 41,
|
||||
walk_end = 72,
|
||||
run_start = 74,
|
||||
run_end = 105,
|
||||
},
|
||||
})
|
||||
mobs:register_spawn("mobs:sand_monster", {"default:desert_sand"}, 20, -1, 7000, 3, 31000)
|
||||
|
||||
|
BIN
models/mobs_sand_monster.png
Executable file
BIN
models/mobs_sand_monster.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
11056
models/mobs_sand_monster.x
Executable file
11056
models/mobs_sand_monster.x
Executable file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 1016 B |
Binary file not shown.
Before Width: | Height: | Size: 990 B |
Loading…
x
Reference in New Issue
Block a user