Berinhog added!
This commit is contained in:
parent
5c187e2e54
commit
a3d18a4a85
1
init.lua
1
init.lua
@ -10,6 +10,7 @@ dofile(path.."/spawn.lua")
|
||||
dofile(path.."/mobs/ant_queen.lua")
|
||||
dofile(path.."/mobs/ant_soldier.lua")
|
||||
dofile(path.."/mobs/ant_worker.lua")
|
||||
dofile(path.."/mobs/berinhog.lua")
|
||||
dofile(path.."/mobs/black_widow.lua")
|
||||
dofile(path.."/mobs/bloco.lua")
|
||||
dofile(path.."/mobs/chog.lua")
|
||||
|
66
mobs/berinhog.lua
Normal file
66
mobs/berinhog.lua
Normal file
@ -0,0 +1,66 @@
|
||||
mobs:register_mob("nssm:berinhog", {
|
||||
type = "monster",
|
||||
hp_max = 36,
|
||||
hp_min = 27,
|
||||
collisionbox = {-0.5, 0, -0.5, 0.5, 1.2, 0.5},
|
||||
visual = "mesh",
|
||||
mesh = "berinhog.x",
|
||||
textures = {{"berinhog.png"}},
|
||||
visual_size = {x=6, y=6},
|
||||
makes_footstep_sound = true,
|
||||
view_range = 18,
|
||||
rotate=270,
|
||||
walk_velocity = 1,
|
||||
fear_height = 4,
|
||||
run_velocity = 4,
|
||||
sounds = {
|
||||
random = "berinhog",
|
||||
},
|
||||
damage = 1,
|
||||
jump = true,
|
||||
drops = {
|
||||
{name = "nssm:life_energy",
|
||||
chance = 1,
|
||||
min = 3,
|
||||
max = 4},
|
||||
--[[ {name = "nssm:berinhog_steak",
|
||||
chance = 2,
|
||||
min = 1,
|
||||
max = 2},
|
||||
{name = "nssm:berinhog_fur",
|
||||
chance = 2,
|
||||
min = 1,
|
||||
max = 1},
|
||||
{name = "nssm:berinhog_horn",
|
||||
chance = 3,
|
||||
min = 1,
|
||||
max = 2},]]
|
||||
},
|
||||
armor = 70,
|
||||
drawtype = "front",
|
||||
water_damage = 2,
|
||||
lava_damage = 5,
|
||||
reach=3,
|
||||
light_damage = 0,
|
||||
group_attack=true,
|
||||
attack_animals=true,
|
||||
knock_back=0,
|
||||
blood_texture="nssm_blood.png",
|
||||
stepheight=1.1,
|
||||
on_rightclick = nil,
|
||||
attack_type = "dogfight",
|
||||
animation = {
|
||||
speed_normal = 20,
|
||||
speed_run = 20,
|
||||
stand_start = 0,
|
||||
stand_end = 40,
|
||||
walk_start = 210,
|
||||
walk_end = 250,
|
||||
run_start = 140,
|
||||
run_end = 160,
|
||||
punch_start = 170,
|
||||
punch_end = 200,
|
||||
die_start = 110,
|
||||
die_end = 130,
|
||||
}
|
||||
})
|
45246
models/berinhog.x
Normal file
45246
models/berinhog.x
Normal file
File diff suppressed because it is too large
Load Diff
@ -1879,6 +1879,7 @@ function nssm_register_egg2 (name, descr) --mobs you can't catch
|
||||
end
|
||||
|
||||
nssm_register_egg ('flying_duck', 'Flying Duck')
|
||||
nssm_register_egg ('chog', 'Chog')
|
||||
nssm_register_egg ('stone_eater', 'Stoneater')
|
||||
nssm_register_egg ('signosigno', 'Signosigno')
|
||||
nssm_register_egg ('bloco', 'Bloco')
|
||||
@ -1886,6 +1887,8 @@ nssm_register_egg ('sand_bloco', 'Sand Bloco')
|
||||
nssm_register_egg ('swimming_duck', 'Swimming Duck')
|
||||
nssm_register_egg ('duck', 'Duck')
|
||||
nssm_register_egg2 ('duckking', 'Duckking')
|
||||
nssm_register_egg2 ('tartacacia', 'Tartacacia')
|
||||
nssm_register_egg2 ('river_lord', 'River Lord')
|
||||
nssm_register_egg ('enderduck', 'Enderduck')
|
||||
nssm_register_egg ('spiderduck', 'Spiderduck')
|
||||
nssm_register_egg2 ('echidna', 'Echidna')
|
||||
@ -1903,6 +1906,7 @@ nssm_register_egg2 ('masticone', 'Masticone')
|
||||
nssm_register_egg ('mantis_beast', 'Mantis Beast')
|
||||
nssm_register_egg ('mantis', 'Mantis')
|
||||
nssm_register_egg ('larva', 'Larva')
|
||||
nssm_register_egg ('berinhog', 'Berinhog')
|
||||
nssm_register_egg2 ('phoenix', 'Phoenix')
|
||||
nssm_register_egg2 ('night_master', 'Night Master')
|
||||
nssm_register_egg ('scrausics', 'Scrausics')
|
||||
|
BIN
textures/berinhog.png
Normal file
BIN
textures/berinhog.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 112 KiB |
BIN
textures/berinhog_egg.png
Normal file
BIN
textures/berinhog_egg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 875 B |
Loading…
x
Reference in New Issue
Block a user