New mob! Sand Bloco!

master
NPXcoot 2016-03-22 22:05:14 +01:00
parent 16edad52f7
commit f9d01fdc54
7 changed files with 19602 additions and 0 deletions

View File

@ -36,6 +36,7 @@ dofile(path.."/pumpboom.lua")
dofile(path.."/pumpking.lua")
dofile(path.."/sandworm.lua")
dofile(path.."/scrausics.lua")
dofile(path.."/sand_bloco.lua")
dofile(path.."/signosigno.lua")
dofile(path.."/snow_biter.lua")
dofile(path.."/spiderduck.lua")

19548
models/sand_bloco.x Normal file

File diff suppressed because it is too large Load Diff

View File

@ -758,6 +758,7 @@ nssm_register_egg ('flying_duck', 'Flying Duck')
nssm_register_egg ('stone_eater', 'Stoneater')
nssm_register_egg ('signosigno', 'Signosigno')
nssm_register_egg ('bloco', 'Bloco')
nssm_register_egg ('sand_bloco', 'Sand Bloco')
nssm_register_egg ('swimming_duck', 'Swimming Duck')
nssm_register_egg ('duck', 'Duck')
nssm_register_egg ('duckking', 'Duckking')

50
sand_bloco.lua Normal file
View File

@ -0,0 +1,50 @@
nssm:register_mob("nssm:sand_bloco", {
type = "monster",
hp_max = 23,
hp_min = 17,
collisionbox = {-0.5, -0.2, -0.5, 0.5, 1.3, 0.5},
visual = "mesh",
mesh = "sand_bloco.x",
textures = {{"sand_bloco.png"}},
visual_size = {x=4, y=4},
makes_footstep_sound = true,
view_range = 14,
fear_height = 4,
walk_velocity = 1,
run_velocity = 2,
rotate = 270,
sounds = {
random = "bloco",
},
damage = 3,
jump = true,
drops = {
{name = "nssm:life_energy",
chance = 1,
min = 1,
max = 1,},
{name = "default:sandstone",
chance = 1,
min = 2,
max = 3,},
},
armor = 70,
drawtype = "front",
water_damage = 10,
lava_damage = 1,
light_damage = 0,
on_rightclick = nil,
attack_type = "dogfight",
animation = {
speed_normal = 20,
speed_run = 20,
stand_start = 10,
stand_end = 90,
walk_start = 140,
walk_end = 180,
run_start = 190,
run_end = 200,
punch_start = 100,
punch_end = 130,
}
})

View File

@ -28,6 +28,8 @@ nssm:spawn_specific("nssm:octopus", {"default:water_source"}, {"default:water_so
-- DESERT
--nssm:spawn_specific("nssm:dahaka", {"default:desert_sand", "default:desert_stone"}, {"air"}, 0, 20, 1200, 20000, 1, -31000, 31000)
nssm:spawn_specific("nssm:sandworm", {"default:desert_sand", "default:desert_stone"}, {"default:sand"}, 0, 20, 20, 3000, 1, -31000, 31000)
nssm:spawn_specific("nssm:giant_sandworm", {"default:desert_sand", "default:desert_stone"}, {"default:sand"}, 0, 20, 1200, 40000, 1, -31000, 31000)
nssm:spawn_specific("nssm:sand_bloco", {"default:desert_sand", "default:desert_stone"}, {"default:sand"}, 0, 20, 20, 1000, 1, -31000, 31000)
-- DUCKS
nssm:spawn_specific("nssm:duck", {"default:dirt_with_grass"}, {"group:flora"}, 10, 20, 20, 200, 1, -31000, 31000)

BIN
textures/sand_bloco.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
textures/sand_bloco_egg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 B