Sandworm and Giant Sandworm update
parent
0d753efdac
commit
0853449a68
|
@ -0,0 +1,48 @@
|
|||
nssm:register_mob("nssm:giant_sandworm", {
|
||||
type = "monster",
|
||||
hp_max = 120,
|
||||
hp_min = 130,
|
||||
collisionbox = {-1.2, -0.2, -1.2, 1.2, 3, 1.2},
|
||||
visual = "mesh",
|
||||
mesh = "giant_sandworm.x",
|
||||
textures = {{"sandworm.png"}},
|
||||
visual_size = {x=13, y=13},
|
||||
makes_footstep_sound = false,
|
||||
view_range = 17,
|
||||
rotate = 270,
|
||||
reach = 8,
|
||||
walk_velocity = 0,
|
||||
run_velocity = 0,
|
||||
damage = 8,
|
||||
jump = false,
|
||||
drops = {
|
||||
{name = "nssm:worm_flesh",
|
||||
chance = 2,
|
||||
min = 1,
|
||||
max = 3,},
|
||||
{name = "nssm:life_energy",
|
||||
chance = 1,
|
||||
min = 2,
|
||||
max = 3,},
|
||||
},
|
||||
armor = 60,
|
||||
drawtype = "front",
|
||||
water_damage = 5,
|
||||
lava_damage = 3,
|
||||
light_damage = 0,
|
||||
on_rightclick = nil,
|
||||
attack_type = "dogfight",
|
||||
animation = {
|
||||
speed_normal = 25,
|
||||
speed_run = 40,
|
||||
stand_start = 1,
|
||||
stand_end = 100,
|
||||
walk_start = 110,
|
||||
walk_end = 140,
|
||||
run_start = 110,
|
||||
run_end = 140,
|
||||
punch_start = 150,
|
||||
punch_end = 180,
|
||||
},
|
||||
|
||||
})
|
3
init.lua
3
init.lua
|
@ -18,6 +18,7 @@ dofile(path.."/duckking.lua")
|
|||
dofile(path.."/echidna.lua")
|
||||
dofile(path.."/enderduck.lua")
|
||||
dofile(path.."/flying_duck.lua")
|
||||
dofile(path.."/giant_sandworm.lua")
|
||||
dofile(path.."/icelamander.lua")
|
||||
dofile(path.."/icesnake.lua")
|
||||
dofile(path.."/kraken.lua")
|
||||
|
@ -56,4 +57,4 @@ dofile(path.."/kienzan.lua")
|
|||
--dofile(path.."/kamehameha.lua")
|
||||
dofile(path.."/nssm_spears.lua")
|
||||
dofile(path.."/nssm_api.lua")
|
||||
dofile(path.."/nssm_weapons.lua")
|
||||
--dofile(path.."/nssm_weapons.lua")
|
||||
|
|
File diff suppressed because it is too large
Load Diff
48416
models/sandworm.x
48416
models/sandworm.x
File diff suppressed because it is too large
Load Diff
|
@ -1069,6 +1069,7 @@ nssm_register_egg ('scrausics', 'Scrausics')
|
|||
nssm_register_egg ('moonheron', 'Moonheron')
|
||||
nssm_register_egg ('dahaka', 'Dahaka')
|
||||
nssm_register_egg ('sandworm', 'Sandworm')
|
||||
nssm_register_egg ('giant_sandworm', 'Giant Sandworm')
|
||||
nssm_register_egg ('ant_queen', 'Ant Queen')
|
||||
nssm_register_egg ('ant_soldier', 'Ant Soldier')
|
||||
nssm_register_egg ('ant_worker', 'Ant Worker')
|
||||
|
|
19
sandworm.lua
19
sandworm.lua
|
@ -2,14 +2,15 @@ nssm:register_mob("nssm:sandworm", {
|
|||
type = "monster",
|
||||
hp_max = 30,
|
||||
hp_min = 25,
|
||||
collisionbox = {-0.6, -0.2, -0.6, 0.6, 1.90, 0.6},
|
||||
collisionbox = {-0.4, -0.2, -0.4, 0.4, 1.90, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "sandworm.x",
|
||||
textures = {{"sandworm.png"}},
|
||||
visual_size = {x=10, y=10},
|
||||
visual_size = {x=4, y=4},
|
||||
makes_footstep_sound = false,
|
||||
view_range = 17,
|
||||
rotate = 270,
|
||||
reach = 4,
|
||||
walk_velocity = 2,
|
||||
run_velocity = 2,
|
||||
damage = 4,
|
||||
|
@ -35,13 +36,13 @@ nssm:register_mob("nssm:sandworm", {
|
|||
speed_normal = 25,
|
||||
speed_run = 40,
|
||||
stand_start = 1,
|
||||
stand_end = 30,
|
||||
walk_start = 30,
|
||||
walk_end = 70,
|
||||
run_start = 30,
|
||||
run_end = 70,
|
||||
punch_start = 70,
|
||||
punch_end = 90,
|
||||
stand_end = 100,
|
||||
walk_start = 110,
|
||||
walk_end = 140,
|
||||
run_start = 110,
|
||||
run_end = 140,
|
||||
punch_start = 150,
|
||||
punch_end = 180,
|
||||
},
|
||||
do_custom = function(self)
|
||||
--Worm
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 844 B |
Binary file not shown.
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 40 KiB |
Loading…
Reference in New Issue