Setting the mobs

master
NPXcoot 2016-10-18 23:29:25 +02:00
parent a912563a33
commit 4161824384
59 changed files with 345 additions and 656 deletions

View File

@ -9,7 +9,6 @@ dofile(path.."/mobs/ant_soldier.lua")
dofile(path.."/mobs/ant_worker.lua") dofile(path.."/mobs/ant_worker.lua")
dofile(path.."/mobs/black_widow.lua") dofile(path.."/mobs/black_widow.lua")
dofile(path.."/mobs/bloco.lua") dofile(path.."/mobs/bloco.lua")
dofile(path.."/mobs/pupumolle.lua")
dofile(path.."/mobs/crab.lua") dofile(path.."/mobs/crab.lua")
dofile(path.."/mobs/crocodile.lua") dofile(path.."/mobs/crocodile.lua")
dofile(path.."/mobs/daddy_long_legs.lua") dofile(path.."/mobs/daddy_long_legs.lua")

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:ant_queen", { mobs:register_mob("nssm:ant_queen", {
type = "monster", type = "monster",
hp_max = 120, hp_max = 220,
hp_min = 120, hp_min = 220,
collisionbox = {-1, 0.00, -1, 1, 1, 1}, collisionbox = {-1, 0.00, -1, 1, 1, 1},
visual = "mesh", visual = "mesh",
mesh = "ant_queen.x", mesh = "ant_queen.x",
@ -39,7 +39,7 @@ mobs:register_mob("nssm:ant_queen", {
max = 2,}, max = 2,},
}, },
reach = 8, reach = 8,
armor = 70, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 7, lava_damage = 7,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:ant_soldier", { mobs:register_mob("nssm:ant_soldier", {
type = "monster", type = "monster",
hp_max = 20, hp_max = 36,
hp_min = 20, hp_min = 24,
collisionbox = {-0.49, 0.00, -0.49, 0.49, 0.9, 0.49}, collisionbox = {-0.49, 0.00, -0.49, 0.49, 0.9, 0.49},
visual = "mesh", visual = "mesh",
mesh = "ant_soldier.x", mesh = "ant_soldier.x",
@ -16,7 +16,7 @@ mobs:register_mob("nssm:ant_soldier", {
sounds = { sounds = {
random = "ant", random = "ant",
}, },
damage = 4, damage = 6,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -31,9 +31,13 @@ mobs:register_mob("nssm:ant_soldier", {
chance = 3, chance = 3,
min = 1, min = 1,
max = 2,}, max = 2,},
{name = "nssm:ant_hard_skin",
chance = 3,
min = 1,
max = 2,},
}, },
reach = 2, reach = 2,
armor = 90, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 7, lava_damage = 7,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:ant_worker", { mobs:register_mob("nssm:ant_worker", {
type = "animal", type = "animal",
hp_max = 13, hp_max = 28,
hp_min = 13, hp_min = 18,
collisionbox = {-0.4, 0.00, -0.4, 0.4, 0.5, 0.4}, collisionbox = {-0.4, 0.00, -0.4, 0.4, 0.5, 0.4},
visual = "mesh", visual = "mesh",
mesh = "ant_worker.x", mesh = "ant_worker.x",
@ -32,9 +32,12 @@ mobs:register_mob("nssm:ant_worker", {
chance = 3, chance = 3,
min = 1, min = 1,
max = 2,}, max = 2,},
{name = "nssm:ant_hard_skin",
chance = 3,
min = 1,
max = 2,},
}, },
armor = 90, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 7, lava_damage = 7,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:black_widow", { mobs:register_mob("nssm:black_widow", {
type = "monster", type = "monster",
hp_max = 20, hp_max = 30,
hp_min = 19, hp_min = 19,
collisionbox = {-0.4, 0.00, -0.4, 0.4, 0.8, 0.4}, collisionbox = {-0.4, 0.00, -0.4, 0.4, 0.8, 0.4},
visual = "mesh", visual = "mesh",
@ -16,7 +16,7 @@ mobs:register_mob("nssm:black_widow", {
sounds = { sounds = {
random = "black_widow", random = "black_widow",
}, },
damage = 3, damage = 4,
reach = 2, reach = 2,
jump = true, jump = true,
drops = { drops = {
@ -25,15 +25,19 @@ mobs:register_mob("nssm:black_widow", {
min = 1, min = 1,
max = 2,}, max = 2,},
{name = "nssm:spider_leg", {name = "nssm:spider_leg",
chance = 2, chance = 3,
min = 1, min = 1,
max = 8,}, max = 8,},
{name = "nssm:web", {name = "nssm:silk_gland",
chance = 2, chance = 4,
min = 1,
max = 3,},
{name = "nssm:spider_meat",
chance = 4,
min = 1, min = 1,
max = 2,}, max = 2,},
}, },
armor = 100, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,
lava_damage = 7, lava_damage = 7,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:bloco", { mobs:register_mob("nssm:bloco", {
type = "monster", type = "monster",
hp_max = 15, hp_max = 25,
hp_min = 14, hp_min = 14,
collisionbox = {-0.56, -0.2, -0.56, 0.56, 1.2, 0.56}, collisionbox = {-0.56, -0.2, -0.56, 0.56, 1.2, 0.56},
visual = "mesh", visual = "mesh",
@ -16,7 +16,7 @@ mobs:register_mob("nssm:bloco", {
sounds = { sounds = {
random = "bloco", random = "bloco",
}, },
damage = 2, damage = 4,
reach = 2, reach = 2,
jump = true, jump = true,
drops = { drops = {
@ -28,8 +28,12 @@ mobs:register_mob("nssm:bloco", {
chance = 1, chance = 1,
min = 2, min = 2,
max = 3,}, max = 3,},
{name = "nssm:bloco_skin",
chance = 3,
min = 1,
max = 2,},
}, },
armor = 60, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 3, water_damage = 3,
lava_damage = 1, lava_damage = 1,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:crab", { mobs:register_mob("nssm:crab", {
type = "monster", type = "monster",
hp_max = 17, hp_max = 32,
hp_min = 15, hp_min = 19,
collisionbox = {-0.5, 0, -0.5, 0.5, 0.55, 0.5}, collisionbox = {-0.5, 0, -0.5, 0.5, 0.55, 0.5},
visual = "mesh", visual = "mesh",
mesh = "crab.x", mesh = "crab.x",
@ -16,7 +16,7 @@ mobs:register_mob("nssm:crab", {
fear_height = 4, fear_height = 4,
walk_velocity = 1, walk_velocity = 1,
run_velocity = 2, run_velocity = 2,
damage = 3, damage = 5,
reach = 2, reach = 2,
floats = 0, floats = 0,
jump = true, jump = true,
@ -33,8 +33,12 @@ mobs:register_mob("nssm:crab", {
chance = 4, chance = 4,
min = 1, min = 1,
max = 2,}, max = 2,},
{name = "nssm:crab_carapace_fragment",
chance = 4,
min = 1,
max = 1,},
}, },
armor = 60, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 10, lava_damage = 10,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:crocodile", { mobs:register_mob("nssm:crocodile", {
type = "monster", type = "monster",
hp_max = 20, hp_max = 30,
hp_min = 15, hp_min = 15,
collisionbox = {-0.45, -0.30, -0.45, 0.45, 0.3, 0.45}, collisionbox = {-0.45, -0.30, -0.45, 0.45, 0.3, 0.45},
visual = "mesh", visual = "mesh",
@ -14,7 +14,7 @@ mobs:register_mob("nssm:crocodile", {
view_range = 15, view_range = 15,
walk_velocity = 1, walk_velocity = 1,
run_velocity = 1, run_velocity = 1,
damage = 3, damage = 5,
floats = 1, floats = 1,
jump = true, jump = true,
drops = { drops = {
@ -26,8 +26,12 @@ mobs:register_mob("nssm:crocodile", {
chance = 2, chance = 2,
min = 1, min = 1,
max = 1,}, max = 1,},
{name = "nssm:crocodile_skin",
chance = 3,
min = 1,
max = 1,},
}, },
armor = 90, armor = 60,
drawtype = "front", drawtype = "front",
reach = 2, reach = 2,
water_damage = 0, water_damage = 0,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:daddy_long_legs", { mobs:register_mob("nssm:daddy_long_legs", {
type = "monster", type = "monster",
hp_max = 19, hp_max = 29,
hp_min = 16, hp_min = 16,
collisionbox = {-0.4, 0.00, -0.4, 0.4, 0.6, 0.4}, collisionbox = {-0.4, 0.00, -0.4, 0.4, 0.6, 0.4},
visual = "mesh", visual = "mesh",
@ -16,7 +16,7 @@ mobs:register_mob("nssm:daddy_long_legs", {
sounds = { sounds = {
random = "daddy", random = "daddy",
}, },
damage = 3, damage = 4,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -27,8 +27,12 @@ mobs:register_mob("nssm:daddy_long_legs", {
chance = 3, chance = 3,
min = 1, min = 1,
max = 8,}, max = 8,},
{name = "nssm:spider_meat",
chance = 4,
min = 1,
max = 2,},
}, },
armor = 100, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,
lava_damage = 7, lava_damage = 7,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:dolidrosaurus", { mobs:register_mob("nssm:dolidrosaurus", {
type = "monster", type = "monster",
hp_max = 26, hp_max = 46,
hp_min = 23, hp_min = 23,
collisionbox = {-0.5, 0, -0.5, 0.5, 0.52, 0.5}, collisionbox = {-0.5, 0, -0.5, 0.5, 0.52, 0.5},
visual = "mesh", visual = "mesh",
@ -14,7 +14,7 @@ mobs:register_mob("nssm:dolidrosaurus", {
fall_speed = -20, fall_speed = -20,
walk_velocity = 2, walk_velocity = 2,
run_velocity = 3, run_velocity = 3,
damage = 4, damage = 6,
rotate = 270, rotate = 270,
jump = false, jump = false,
jump_chance = 0, jump_chance = 0,
@ -27,8 +27,12 @@ mobs:register_mob("nssm:dolidrosaurus", {
chance = 1, chance = 1,
min = 1, min = 1,
max = 3,}, max = 3,},
{name = "nssm:dolidrosaurus_fin",
chance = 2,
min = 1,
max = 3,},
}, },
armor = 80, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 10, lava_damage = 10,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:duck", { mobs:register_mob("nssm:duck", {
type = "monster", type = "monster",
hp_max = 10, hp_max = 16,
hp_min = 7, hp_min = 7,
collisionbox = {-0.3, 0.00, -0.3, 0.3, 0.95, 0.3}, collisionbox = {-0.3, 0.00, -0.3, 0.3, 0.95, 0.3},
visual = "mesh", visual = "mesh",
@ -12,7 +12,7 @@ mobs:register_mob("nssm:duck", {
walk_velocity = 1, walk_velocity = 1,
reach =1.5, reach =1.5,
run_velocity = 2, run_velocity = 2,
damage = 1, damage = 2,
jump = true, jump = true,
sounds = { sounds = {
random = "duck", random = "duck",

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:duckking", { mobs:register_mob("nssm:duckking", {
type = "monster", type = "monster",
hp_max = 80, hp_max = 180,
hp_min = 77, hp_min = 180,
collisionbox = {-1.5, -0.25, -1.5, 1.5, 4.95, 1.5}, collisionbox = {-1.5, -0.25, -1.5, 1.5, 4.95, 1.5},
visual = "mesh", visual = "mesh",
mesh = "king_duck.x", mesh = "king_duck.x",
@ -15,7 +15,7 @@ mobs:register_mob("nssm:duckking", {
walk_velocity = 1, walk_velocity = 1,
fear_height = 4, fear_height = 4,
run_velocity = 2, run_velocity = 2,
damage = 5, damage = 8,
jump = true, jump = true,
sounds = { sounds = {
random = "duckking", random = "duckking",
@ -30,7 +30,7 @@ mobs:register_mob("nssm:duckking", {
chance = 1, chance = 1,
min = 40, min = 40,
max = 50,}, max = 50,},
{name = "nssm:king_duck_crown", {name = "nssm:helmet_crown",
chance = 1, chance = 1,
min = 1, min = 1,
max = 1,}, max = 1,},
@ -43,7 +43,7 @@ mobs:register_mob("nssm:duckking", {
min = 20, min = 20,
max = 40,}, max = 40,},
}, },
armor = 80, armor = 50,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
floats = 1, floats = 1,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:echidna", { mobs:register_mob("nssm:echidna", {
type = "monster", type = "monster",
hp_max = 90, hp_max = 240,
hp_min = 90, hp_min = 240,
collisionbox = {-0.6, 0.00, -0.6, 0.6, 2, 0.6}, collisionbox = {-0.6, 0.00, -0.6, 0.6, 2, 0.6},
visual = "mesh", visual = "mesh",
mesh = "echidna.x", mesh = "echidna.x",
@ -14,7 +14,7 @@ mobs:register_mob("nssm:echidna", {
fear_height = 4, fear_height = 4,
walk_velocity = 2, walk_velocity = 2,
run_velocity = 3.5, run_velocity = 3.5,
damage = 10, damage = 12,
jump = true, jump = true,
sounds = { sounds = {
random = "echidna", random = "echidna",
@ -29,7 +29,7 @@ mobs:register_mob("nssm:echidna", {
min = 1, min = 1,
max = 1,}, max = 1,},
}, },
armor = 60, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
floats = 1, floats = 1,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:enderduck", { mobs:register_mob("nssm:enderduck", {
type = "monster", type = "monster",
hp_max = 20, hp_max = 28,
hp_min = 18, hp_min = 18,
collisionbox = {-0.28, 0.00, -0.28, 0.28, 1.8, 0.28}, collisionbox = {-0.28, 0.00, -0.28, 0.28, 1.8, 0.28},
visual = "mesh", visual = "mesh",
@ -16,7 +16,7 @@ mobs:register_mob("nssm:enderduck", {
sounds = { sounds = {
random = "duck", random = "duck",
}, },
damage = 3, damage = 5,
reach = 2, reach = 2,
jump = true, jump = true,
drops = { drops = {
@ -37,7 +37,7 @@ mobs:register_mob("nssm:enderduck", {
min = 1, min = 1,
max = 1,}, max = 1,},
}, },
armor = 100, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,
floats=1, floats=1,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:felucco", { mobs:register_mob("nssm:felucco", {
type = "monster", type = "monster",
hp_max = 30, hp_max = 38,
hp_min = 25, hp_min = 27,
collisionbox = {-0.5, 0, -0.5, 0.5, 1.2, 0.5}, collisionbox = {-0.5, 0, -0.5, 0.5, 1.2, 0.5},
visual = "mesh", visual = "mesh",
mesh = "felucco.x", mesh = "felucco.x",
@ -12,10 +12,10 @@ mobs:register_mob("nssm:felucco", {
walk_velocity = 1, walk_velocity = 1,
fear_height = 4, fear_height = 4,
run_velocity = 5, run_velocity = 5,
--[[ sounds = { sounds = {
random = "werewolf", random = "felucco",
},]] },
damage = 4, damage = 5,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -35,7 +35,7 @@ mobs:register_mob("nssm:felucco", {
min = 1, min = 1,
max = 2}, max = 2},
}, },
armor = 90, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 5, lava_damage = 5,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:flying_duck", { mobs:register_mob("nssm:flying_duck", {
type = "monster", type = "monster",
hp_max = 15, hp_max = 25,
hp_min = 14, hp_min = 14,
collisionbox = {-0.3, -0.2, -0.3, 0.3, 0.2, 0.3}, collisionbox = {-0.3, -0.2, -0.3, 0.3, 0.2, 0.3},
visual = "mesh", visual = "mesh",
@ -15,7 +15,7 @@ mobs:register_mob("nssm:flying_duck", {
sounds = { sounds = {
random = "duck", random = "duck",
}, },
damage = 2, damage = 4,
reach = 2, reach = 2,
jump = true, jump = true,
drops = { drops = {
@ -36,7 +36,7 @@ mobs:register_mob("nssm:flying_duck", {
min = 4, min = 4,
max = 8,}, max = 8,},
}, },
armor = 100, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 5, lava_damage = 5,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:giant_sandworm", { mobs:register_mob("nssm:giant_sandworm", {
type = "monster", type = "monster",
hp_max = 130, hp_max = 330,
hp_min = 120, hp_min = 330,
collisionbox = {-1.2, 0, -1.2, 1.2, 4.5, 1.2}, collisionbox = {-1.2, 0, -1.2, 1.2, 4.5, 1.2},
visual = "mesh", visual = "mesh",
mesh = "giant_sandworm.x", mesh = "giant_sandworm.x",
@ -13,13 +13,17 @@ mobs:register_mob("nssm:giant_sandworm", {
reach = 8, reach = 8,
walk_velocity = 0, walk_velocity = 0,
run_velocity = 0, run_velocity = 0,
damage = 8, damage = 12,
jump = false, jump = false,
drops = { drops = {
{name = "nssm:worm_flesh", {name = "nssm:worm_flesh",
chance = 1, chance = 1,
min = 20, min = 20,
max = 30,}, max = 30,},
{name = "nssm:sandworm_skin",
chance = 2,
min = 3,
max = 12,},
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 7, min = 7,
@ -29,7 +33,7 @@ mobs:register_mob("nssm:giant_sandworm", {
min = 1, min = 1,
max = 1,}, max = 1,},
}, },
armor = 60, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 5, water_damage = 5,
lava_damage = 3, lava_damage = 3,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:icelamander", { mobs:register_mob("nssm:icelamander", {
type = "monster", type = "monster",
hp_max = 90, hp_max = 230,
hp_min = 90, hp_min = 230,
collisionbox = {-0.5, 0, -0.5, 0.5, 2.3, 0.5}, collisionbox = {-0.5, 0, -0.5, 0.5, 2.3, 0.5},
visual = "mesh", visual = "mesh",
mesh = "icelamander.x", mesh = "icelamander.x",
@ -16,7 +16,7 @@ mobs:register_mob("nssm:icelamander", {
sounds = { sounds = {
random = "icelamander", random = "icelamander",
}, },
damage = 8, damage = 12,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -35,8 +35,12 @@ mobs:register_mob("nssm:icelamander", {
chance = 1, chance = 1,
min = 0, min = 0,
max = 20}, max = 20},
{name = "nssm:amphibian_ribs",
chance = 2,
min = 1,
max = 1},
}, },
armor = 60, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 30, lava_damage = 30,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:icesnake", { mobs:register_mob("nssm:icesnake", {
type = "monster", type = "monster",
hp_max = 17, hp_max = 27,
hp_min = 13, hp_min = 17,
collisionbox = {-0.7, 0, -0.7, 0.7, 0.50, 0.7}, collisionbox = {-0.7, 0, -0.7, 0.7, 0.50, 0.7},
visual = "mesh", visual = "mesh",
mesh = "icesnake.x", mesh = "icesnake.x",
@ -16,7 +16,7 @@ mobs:register_mob("nssm:icesnake", {
sounds = { sounds = {
random = "icesnake", random = "icesnake",
}, },
damage = 3, damage = 5,
reach = 2, reach = 2,
jump = true, jump = true,
drops = { drops = {
@ -32,8 +32,12 @@ mobs:register_mob("nssm:icesnake", {
chance = 2, chance = 2,
min = 0, min = 0,
max = 4}, max = 4},
{name = "nssm:amphibian_ribs",
chance = 2,
min = 1,
max = 1},
}, },
armor = 100, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 20, lava_damage = 20,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:kraken", { mobs:register_mob("nssm:kraken", {
type = "monster", type = "monster",
hp_max = 150, hp_max = 350,
hp_min = 150, hp_min = 350,
collisionbox = {-2, 0, -2, 2, 4, 2}, collisionbox = {-2, 0, -2, 2, 4, 2},
visual = "mesh", visual = "mesh",
mesh = "kraken.x", mesh = "kraken.x",
@ -15,7 +15,7 @@ mobs:register_mob("nssm:kraken", {
fall_speed = -1, fall_speed = -1,
walk_velocity = 3.5, walk_velocity = 3.5,
run_velocity = 4.5, run_velocity = 4.5,
damage = 8, damage = 14,
rotate = 270, rotate = 270,
jump = false, jump = false,
jump_chance = 0, jump_chance = 0,
@ -37,7 +37,7 @@ mobs:register_mob("nssm:kraken", {
min = 1, min = 1,
max = 1,}, max = 1,},
}, },
armor = 70, armor = 50,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 10, lava_damage = 10,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:larva", { mobs:register_mob("nssm:larva", {
type = "monster", type = "monster",
hp_max = 10, hp_max = 12,
hp_min = 8, hp_min = 8,
collisionbox = {-0.3, 0, -0.3, 0.3, 0.41, 0.3}, collisionbox = {-0.3, 0, -0.3, 0.3, 0.41, 0.3},
visual = "mesh", visual = "mesh",
@ -25,8 +25,12 @@ mobs:register_mob("nssm:larva", {
chance = 3, chance = 3,
min = 1, min = 1,
max = 1,}, max = 1,},
{name = "nssm:larva_meat",
chance = 3,
min = 1,
max = 1,},
}, },
armor = 100, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 4, lava_damage = 4,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:lava_titan", { mobs:register_mob("nssm:lava_titan", {
type = "monster", type = "monster",
hp_max = 80, hp_max = 180,
hp_min = 80, hp_min = 180,
collisionbox = {-0.6, -0.05, -0.6, 0.6, 4.0, 0.6}, collisionbox = {-0.6, -0.05, -0.6, 0.6, 4.0, 0.6},
visual = "mesh", visual = "mesh",
mesh = "lava_titan.x", mesh = "lava_titan.x",
@ -17,7 +17,7 @@ mobs:register_mob("nssm:lava_titan", {
sounds = { sounds = {
random = "lava_titan", random = "lava_titan",
}, },
damage = 7, damage = 10,
jump = false, jump = false,
jump_height=0, jump_height=0,
drops = { drops = {
@ -34,7 +34,7 @@ mobs:register_mob("nssm:lava_titan", {
min = 1, min = 1,
max = 3,}, max = 3,},
}, },
armor = 40, armor = 20,
drawtype = "front", drawtype = "front",
water_damage = 4, water_damage = 4,
rotate = 270, rotate = 270,

View File

@ -1,21 +1,21 @@
mobs:register_mob("nssm:manticore", { mobs:register_mob("nssm:manticore", {
type = "monster", type = "monster",
hp_max = 25, hp_max = 55,
hp_min = 24, hp_min = 34,
collisionbox = {-0.8, -0.85, -0.8, 0.8, 1.9, 0.8}, collisionbox = {-0.8, -0.85, -0.8, 0.8, 1.9, 0.8},
visual = "mesh", visual = "mesh",
mesh = "manticore.x", mesh = "manticore.x",
textures = {{"manticore.png"}}, textures = {{"manticore.png"}},
visual_size = {x=4, y=4}, visual_size = {x=4, y=4},
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 25, view_range = 35,
fear_height = 4, fear_height = 4,
walk_velocity = 2, walk_velocity = 2,
run_velocity = 4, run_velocity = 4,
sounds = { sounds = {
random = "manticore", random = "manticore",
}, },
damage = 4, damage = 6,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -26,8 +26,12 @@ mobs:register_mob("nssm:manticore", {
chance = 3, chance = 3,
min = 2, min = 2,
max = 5,}, max = 5,},
{name = "nssm:manticore_fur",
chance = 3,
min = 2,
max = 5,},
}, },
armor = 100, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
rotate = 270, rotate = 270,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:mantis", { mobs:register_mob("nssm:mantis", {
type = "monster", type = "monster",
hp_max = 15, hp_max = 31,
hp_min = 14, hp_min = 24,
collisionbox = {-0.5, 0.00, -0.5, 0.5, 2.30, 0.5}, collisionbox = {-0.5, 0.00, -0.5, 0.5, 2.30, 0.5},
visual = "mesh", visual = "mesh",
mesh = "mantis.x", mesh = "mantis.x",
@ -15,7 +15,7 @@ mobs:register_mob("nssm:mantis", {
sounds = { sounds = {
random = "manti", random = "manti",
}, },
damage = 2, damage = 4,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:mantis_claw", {name = "nssm:mantis_claw",
@ -26,8 +26,16 @@ mobs:register_mob("nssm:mantis", {
chance = 1, chance = 1,
min = 1, min = 1,
max = 2,}, max = 2,},
{name = "nssm:mantis_skin",
chance = 3,
min = 1,
max = 2,},
{name = "nssm:mantis_meat",
chance = 2,
min = 1,
max = 2,},
}, },
armor = 100, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 5, lava_damage = 5,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:mantis_beast", { mobs:register_mob("nssm:mantis_beast", {
type = "monster", type = "monster",
hp_max = 20, hp_max = 30,
hp_min = 17, hp_min = 27,
collisionbox = {-0.65, 0.00, -0.65, 0.65, 1.50, 0.65}, collisionbox = {-0.65, 0.00, -0.65, 0.65, 1.50, 0.65},
visual = "mesh", visual = "mesh",
mesh = "mantis_beast.x", mesh = "mantis_beast.x",
@ -15,7 +15,7 @@ mobs:register_mob("nssm:mantis_beast", {
sounds = { sounds = {
random = "manti", random = "manti",
}, },
damage = 3, damage = 5,
reach = 2, reach = 2,
jump = true, jump = true,
drops = { drops = {
@ -27,8 +27,16 @@ mobs:register_mob("nssm:mantis_beast", {
chance = 1, chance = 1,
min = 2, min = 2,
max = 3,}, max = 3,},
{name = "nssm:mantis_skin",
chance = 3,
min = 1,
max = 2,},
{name = "nssm:mantis_meat",
chance = 2,
min = 1,
max = 2,},
}, },
armor = 100, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 5, lava_damage = 5,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:masticone", { mobs:register_mob("nssm:masticone", {
type = "monster", type = "monster",
hp_max = 15, hp_max = 25,
hp_min = 14, hp_min = 24,
collisionbox = {-0.45, 0.00, -0.45, 0.45, 0.40, 0.45}, collisionbox = {-0.45, 0.00, -0.45, 0.45, 0.40, 0.45},
visual = "mesh", visual = "mesh",
mesh = "masticone.x", mesh = "masticone.x",

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:mese_dragon", { mobs:register_mob("nssm:mese_dragon", {
type = "monster", type = "monster",
hp_max = 333, hp_max = 666,
hp_min = 333, hp_min = 666,
collisionbox = {-1, 0, -1, 1, 5, 1}, collisionbox = {-1, 0, -1, 1, 5, 1},
visual = "mesh", visual = "mesh",
mesh = "mese_dragon.x", mesh = "mese_dragon.x",
@ -18,7 +18,7 @@ mobs:register_mob("nssm:mese_dragon", {
attack = "mese_dragon", attack = "mese_dragon",
distance = 60, distance = 60,
}, },
damage = 16, damage = 18,
jump = true, jump = true,
jump_height = 10, jump_height = 10,
drops = { drops = {
@ -31,7 +31,7 @@ mobs:register_mob("nssm:mese_dragon", {
min = 99, min = 99,
max = 99}, max = 99},
}, },
armor = 60, armor = 30,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 0, lava_damage = 0,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:moonheron", { mobs:register_mob("nssm:moonheron", {
type = "monster", type = "monster",
hp_max = 23, hp_max = 33,
hp_min = 22, hp_min = 22,
collisionbox = {-0.45, -0.3, -0.45, 0.45, 0.3, 0.45}, collisionbox = {-0.45, -0.3, -0.45, 0.45, 0.3, 0.45},
visual = "mesh", visual = "mesh",
@ -17,7 +17,7 @@ mobs:register_mob("nssm:moonheron", {
random = "moonheron", random = "moonheron",
distance =40, distance =40,
}, },
damage = 3, damage = 5,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -29,7 +29,7 @@ mobs:register_mob("nssm:moonheron", {
min = 1, min = 1,
max = 1,}, max = 1,},
}, },
armor = 100, armor = 70,
floats = 1, floats = 1,
drawtype = "front", drawtype = "front",
water_damage = 5, water_damage = 5,

View File

@ -13,9 +13,9 @@ mobs:register_mob("nssm:mordain", {
walk_velocity = 1, walk_velocity = 1,
run_velocity = 3.5, run_velocity = 3.5,
rotate = 270, rotate = 270,
--[[sounds = { sounds = {
random = "bloco", random = "mordain",
},]] },
damage = 4, damage = 4,
jump = true, jump = true,
drops = { drops = {
@ -23,6 +23,10 @@ mobs:register_mob("nssm:mordain", {
chance = 1, chance = 1,
min = 1, min = 1,
max = 1,}, max = 1,},
{name = "nssm:slothful_soul_fragment",
chance = 3,
min = 1,
max = 1,},
}, },
armor = 80, armor = 80,
drawtype = "front", drawtype = "front",

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:morde", { mobs:register_mob("nssm:morde", {
type = "monster", type = "monster",
hp_max = 41, hp_max = 47,
hp_min = 31, hp_min = 37,
collisionbox = {-0.4, -0.1, -0.4, 0.4, 1.6, 0.4}, collisionbox = {-0.4, -0.1, -0.4, 0.4, 1.6, 0.4},
visual = "mesh", visual = "mesh",
rotate= 270, rotate= 270,
@ -13,14 +13,18 @@ mobs:register_mob("nssm:morde", {
walk_velocity = 0.5, walk_velocity = 0.5,
reach =3, reach =3,
run_velocity = 3.5, run_velocity = 3.5,
damage = 4, damage = 5,
jump = true, jump = true,
--[[sounds = { sounds = {
random = "", random = "morde",
},]] },
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 2,
max = 4,},
{name = "nssm:proud_soul_fragment",
chance = 3,
min = 1, min = 1,
max = 1,}, max = 1,},
}, },

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:morgre", { mobs:register_mob("nssm:morgre", {
type = "monster", type = "monster",
hp_max = 23, hp_max = 33,
hp_min = 17, hp_min = 17,
collisionbox = {-0.20, -0.1, -0.20, 0.20, 1.60, 0.20}, collisionbox = {-0.20, -0.1, -0.20, 0.20, 1.60, 0.20},
visual = "mesh", visual = "mesh",
@ -15,17 +15,22 @@ mobs:register_mob("nssm:morgre", {
walk_velocity = 0.5, walk_velocity = 0.5,
run_velocity = 3.5, run_velocity = 3.5,
sounds = { sounds = {
explode = "tnt_explode" explode = "tnt_explode",
random = "morgre1",
}, },
damage = 1.5, damage = 1,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 1, min = 1,
max = 2,} max = 2,},
{name = "nssm:greedy_soul_fragment",
chance = 3,
min = 1,
max = 1,},
}, },
armor = 90, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 0, lava_damage = 0,

View File

@ -16,16 +16,20 @@ mobs:register_mob("nssm:morgut", {
damage = 4, damage = 4,
runaway = true, runaway = true,
jump = true, jump = true,
--[[sounds = { sounds = {
random = "", random = "morgut",
},]] },
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 1, min = 1,
max = 3,},
{name = "nssm:gluttonous_soul_fragment",
chance = 3,
min = 1,
max = 1,}, max = 1,},
}, },
armor = 80, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
fear_height = 4, fear_height = 4,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:morlu", { mobs:register_mob("nssm:morlu", {
type = "monster", type = "monster",
hp_max = 33, hp_max = 36,
hp_min = 26, hp_min = 26,
collisionbox = {-0.3, -0.1, -0.3, 0.3, 0.6, 0.3}, collisionbox = {-0.3, -0.1, -0.3, 0.3, 0.6, 0.3},
visual = "mesh", visual = "mesh",
@ -16,16 +16,21 @@ mobs:register_mob("nssm:morlu", {
damage = 4, damage = 4,
runaway = true, runaway = true,
jump = true, jump = true,
--[[sounds = { sounds = {
random = "", random = "morlu1",
},]] random = "morlu2"
},
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 3,
max = 4,},
{name = "nssm:lustful_soul_fragment",
chance = 3,
min = 1, min = 1,
max = 1,}, max = 1,},
}, },
armor = 50, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
fear_height = 4, fear_height = 4,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:morvy", { mobs:register_mob("nssm:morvy", {
type = "monster", type = "monster",
hp_max = 29, hp_max = 39,
hp_min = 21, hp_min = 21,
collisionbox = {-0.3, -0.1, -0.3, 0.3, 2.3, 0.3}, collisionbox = {-0.3, -0.1, -0.3, 0.3, 2.3, 0.3},
visual = "mesh", visual = "mesh",
@ -14,15 +14,22 @@ mobs:register_mob("nssm:morvy", {
run_velocity = 2, run_velocity = 2,
rotate = 270, rotate = 270,
damage = 4, damage = 4,
sounds = {
random = "morvy",
},
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 5, min = 5,
max = 7,}, max = 7,},
{name = "nssm:envious_soul_fragment",
chance = 3,
min = 1,
max = 1,},
}, },
reach = 8, reach = 8,
armor = 70, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 0, lava_damage = 0,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:morwa", { mobs:register_mob("nssm:morwa", {
type = "monster", type = "monster",
hp_max = 46, hp_max = 56,
hp_min = 39, hp_min = 49,
collisionbox = {-1, -0.1, -1, 1, 3, 1}, collisionbox = {-1, -0.1, -1, 1, 3, 1},
visual = "mesh", visual = "mesh",
mesh = "morwa.x", mesh = "morwa.x",
@ -12,9 +12,9 @@ mobs:register_mob("nssm:morwa", {
fear_height = 4, fear_height = 4,
walk_velocity = 0.5, walk_velocity = 0.5,
run_velocity = 4, run_velocity = 4,
--sounds = { sounds = {
-- random = "morwa", random = "morwa",
--}, },
damage = 6, damage = 6,
jump = true, jump = true,
drops = { drops = {
@ -22,6 +22,10 @@ mobs:register_mob("nssm:morwa", {
chance = 1, chance = 1,
min = 3, min = 3,
max = 4,}, max = 4,},
{name = "nssm:wrathful_soul_fragment",
chance = 3,
min = 1,
max = 1,},
}, },
armor = 50, armor = 50,
drawtype = "front", drawtype = "front",

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:night_master", { mobs:register_mob("nssm:night_master", {
type = "monster", type = "monster",
hp_max = 30, hp_max = 60,
hp_min = 30, hp_min = 60,
collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65}, collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65},
visual = "mesh", visual = "mesh",
mesh = "moonherontrio.x", mesh = "moonherontrio.x",
@ -19,9 +19,9 @@ mobs:register_mob("nssm:night_master", {
random = "night_master", random = "night_master",
distance = 45, distance = 45,
}, },
damage = 8, damage = 10,
jump = false, jump = false,
armor = 70, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 5, lava_damage = 5,
@ -65,8 +65,8 @@ mobs:register_mob("nssm:night_master", {
mobs:register_mob("nssm:night_master_2", { mobs:register_mob("nssm:night_master_2", {
type = "monster", type = "monster",
hp_max = 30, hp_max = 60,
hp_min = 30, hp_min = 60,
collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65}, collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65},
visual = "mesh", visual = "mesh",
mesh = "night_master_2.x", mesh = "night_master_2.x",
@ -84,9 +84,9 @@ mobs:register_mob("nssm:night_master_2", {
random = "night_master", random = "night_master",
distance = 45, distance = 45,
}, },
damage = 8, damage = 10,
jump = false, jump = false,
armor = 70, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 5, lava_damage = 5,
@ -130,8 +130,8 @@ mobs:register_mob("nssm:night_master_2", {
mobs:register_mob("nssm:night_master_1", { mobs:register_mob("nssm:night_master_1", {
type = "monster", type = "monster",
hp_max = 30, hp_max = 70,
hp_min = 30, hp_min = 70,
collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65}, collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65},
visual = "mesh", visual = "mesh",
mesh = "night_master_1.x", mesh = "night_master_1.x",
@ -149,7 +149,7 @@ mobs:register_mob("nssm:night_master_1", {
random = "night_master", random = "night_master",
distance = 45, distance = 45,
}, },
damage = 8, damage = 12,
jump = false, jump = false,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -165,7 +165,7 @@ mobs:register_mob("nssm:night_master_1", {
min = 1, min = 1,
max = 1,}, max = 1,},
}, },
armor = 70, armor = 50,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 5, lava_damage = 5,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:octopus", { mobs:register_mob("nssm:octopus", {
type = "monster", type = "monster",
hp_max = 22, hp_max = 32,
hp_min = 15, hp_min = 25,
collisionbox = {-0.9, -0.5, -0.9, 0.9, 0.92, 0.9}, collisionbox = {-0.9, -0.5, -0.9, 0.9, 0.92, 0.9},
visual = "mesh", visual = "mesh",
mesh = "octopus.x", mesh = "octopus.x",
@ -13,7 +13,7 @@ mobs:register_mob("nssm:octopus", {
fall_speed = -20, fall_speed = -20,
walk_velocity = 1.5, walk_velocity = 1.5,
run_velocity = 3, run_velocity = 3,
damage = 3, damage = 5,
reach = 2, reach = 2,
rotate = 270, rotate = 270,
jump = false, jump = false,
@ -32,7 +32,7 @@ mobs:register_mob("nssm:octopus", {
min = 1, min = 1,
max = 8,}, max = 8,},
}, },
armor = 100, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 10, lava_damage = 10,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:phoenix", { mobs:register_mob("nssm:phoenix", {
type = "monster", type = "monster",
hp_max = 60, hp_max = 160,
hp_min = 60, hp_min = 160,
collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65}, collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65},
visual = "mesh", visual = "mesh",
mesh = "phoenix.x", mesh = "phoenix.x",
@ -39,7 +39,7 @@ mobs:register_mob("nssm:phoenix", {
min = 10, min = 10,
max = 20,}, max = 20,},
}, },
armor = 60, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 5, water_damage = 5,
lava_damage = 0, lava_damage = 0,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:pumpking", { mobs:register_mob("nssm:pumpking", {
type = "monster", type = "monster",
hp_max = 100, hp_max = 220,
hp_min = 100, hp_min = 220,
collisionbox = {-0.4, 0.00, -0.4, 0.4, 3.2, 0.4}, collisionbox = {-0.4, 0.00, -0.4, 0.4, 3.2, 0.4},
visual = "mesh", visual = "mesh",
mesh = "pumpking.x", mesh = "pumpking.x",
@ -18,7 +18,7 @@ mobs:register_mob("nssm:pumpking", {
random = "king", random = "king",
explode = "tnt_explode", explode = "tnt_explode",
}, },
damage = 9, damage = 13,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -30,7 +30,7 @@ mobs:register_mob("nssm:pumpking", {
min = 1, min = 1,
max = 1,}, max = 1,},
}, },
armor =50, armor =40,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 5, lava_damage = 5,

View File

@ -1,149 +0,0 @@
mobs:register_mob("nssm:pupumolle", {
type = "animal",
hp_max = 15,
hp_min = 14,
collisionbox = {-0.56, -2.2, -0.56, 0.56, 1.2, 0.56},
visual = "mesh",
mesh = "pupumolle.x",
textures = {{"pupumolle.png"}},
visual_size = {x=4, y=4},
makes_footstep_sound = true,
view_range = 8,
fear_height = 4,
walk_velocity = 1,
run_velocity = 2.5,
rotate = 270,
sounds = {
random = "pupumolle",
},
damage = 2,
jump = true,
drops = {
{name = "nssm:life_energy",
chance = 1,
min = 1,
max = 1,},
{name = "default:stone",
chance = 1,
min = 2,
max = 3,},
},
armor = 60,
drawtype = "front",
water_damage = 3,
lava_damage = 1,
light_damage = 0,
on_rightclick = nil,
attack_type = "dogfight",
animation = {
speed_normal = 20,
speed_run = 20,
stand_start = 90,
stand_end = 110,
walk_start = 1,
walk_end = 80,
run_start = 120,
run_end = 160,
punch_start = 170,
punch_end = 190,
},
do_custom = function (self)
local pos = self.object:getpos()
--[[
if self.inventory == nil then
minetest.chat_send_all("Inventario non creato")
else
minetest.chat_send_all("Inventario creato")
end
]]--
if self.flag ~= 1 then
self.inventory = {}
for i=1,32 do
self.inventory[i]={name = '', num = 0}
end
end
self.flag = (self.flag or 1)
local objects = minetest.env:get_objects_inside_radius(pos, 10)
local pl = nil
for _,obj in ipairs(objects) do
if (obj:is_player()) then
pl = obj
end
end
if pl ~= nil then
local pname = pl:get_player_name()
local player_inv = minetest.get_inventory({type='player', name = pname})
if player_inv:is_empty('main') then
--minetest.chat_send_all("Inventario vuoto")
else
for i = 1,32 do
--minetest.chat_send_all("Inventario non vuoto")
--local items = ItemStack()
local items = player_inv:get_stack('main', i)
local n = items:get_name()
--minetest.chat_send_all("Primo oggetto dell'inventario: "..n)
if minetest.get_item_group(n, "eatable")==1 then
--minetest.chat_send_all("L'oggetto si può mangiare, te lo rubo!")
--local items2 = items
--items2:set_count(1)
local index
local found = 0
for j = 1,33 do
if found == 0 then
if self.inventory[j].num == 0 then
found = 2
index = j
else
if self.inventory[j].name == n then
self.inventory[j].num = self.inventory[j].num +1
found = 1
end
end
if j == 33 then
found = 4
end
end
end
minetest.chat_send_all("Found = "..found)
if found == 2 then
minetest.chat_send_all("Sto inserendo qualcosa di nuovo nell'iinventario")
self.inventory[index].name = n
self.inventory[index].num = 1
end
items:take_item()
player_inv:set_stack('main', i, items)
end
end
end
end
end,
on_die = function(self)
local pos = self.object:getpos()
if (self.inventory ~= nil) then
local elem
for i = 1,32 do
if self.inventory[i].num~=0 then
local items = ItemStack(self.inventory[i].name.." "..self.inventory[i].num)
local obj = minetest.add_item(pos, items)
obj:setvelocity({
x = math.random(-1, 1),
y = 6,
z = math.random(-1, 1)
})
end
end
if elem ~= nil then
minetest.chat_send_all("Numero di cibi diversi nel mio inventario: "..elem)
else
minetest.chat_send_all("Non ti ho rubato nulla")
end
end
end,
})

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:sand_bloco", { mobs:register_mob("nssm:sand_bloco", {
type = "monster", type = "monster",
hp_max = 23, hp_max = 28,
hp_min = 17, hp_min = 17,
collisionbox = {-0.5, -0.2, -0.5, 0.5, 1.3, 0.5}, collisionbox = {-0.5, -0.2, -0.5, 0.5, 1.3, 0.5},
visual = "mesh", visual = "mesh",
@ -16,7 +16,7 @@ mobs:register_mob("nssm:sand_bloco", {
sounds = { sounds = {
random = "bloco", random = "bloco",
}, },
damage = 1, damage = 4,
reach = 1.5, reach = 1.5,
jump = true, jump = true,
drops = { drops = {
@ -28,8 +28,12 @@ mobs:register_mob("nssm:sand_bloco", {
chance = 1, chance = 1,
min = 2, min = 2,
max = 3,}, max = 3,},
{name = "nssm:sandbloco_skin",
chance = 2,
min = 1,
max = 3,},
}, },
armor = 70, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 10, water_damage = 10,
lava_damage = 1, lava_damage = 1,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:sandworm", { mobs:register_mob("nssm:sandworm", {
type = "monster", type = "monster",
hp_max = 30, hp_max = 40,
hp_min = 25, hp_min = 25,
collisionbox = {-0.4, -0.2, -0.4, 0.4, 1.90, 0.4}, collisionbox = {-0.4, -0.2, -0.4, 0.4, 1.90, 0.4},
visual = "mesh", visual = "mesh",
@ -14,10 +14,14 @@ mobs:register_mob("nssm:sandworm", {
fear_height = 3, fear_height = 3,
walk_velocity = 2, walk_velocity = 2,
run_velocity = 2, run_velocity = 2,
damage = 4, damage = 6,
jump = false, jump = false,
drops = { drops = {
{name = "nssm:worm_flesh", {name = "nssm:worm_flesh",
chance = 2,
min = 1,
max = 3,},
{name = "nssm:sandworm_skin",
chance = 2, chance = 2,
min = 1, min = 1,
max = 3,}, max = 3,},
@ -26,7 +30,7 @@ mobs:register_mob("nssm:sandworm", {
min = 2, min = 2,
max = 3,}, max = 3,},
}, },
armor = 90, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 5, water_damage = 5,
lava_damage = 10, lava_damage = 10,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:scrausics", { mobs:register_mob("nssm:scrausics", {
type = "monster", type = "monster",
hp_max = 23, hp_max = 33,
hp_min = 22, hp_min = 22,
collisionbox = {-0.4, -0.3, -0.4, 0.4, 0.3, 0.4}, collisionbox = {-0.4, -0.3, -0.4, 0.4, 0.3, 0.4},
visual = "mesh", visual = "mesh",
@ -18,7 +18,7 @@ mobs:register_mob("nssm:scrausics", {
random = "scrausic", random = "scrausic",
distance = 40, distance = 40,
}, },
damage = 3, damage = 4,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -30,7 +30,7 @@ mobs:register_mob("nssm:scrausics", {
min = 1, min = 1,
max = 2,}, max = 2,},
}, },
armor = 100, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 5, water_damage = 5,
lava_damage = 5, lava_damage = 5,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:signosigno", { mobs:register_mob("nssm:signosigno", {
type = "monster", type = "monster",
hp_max = 10, hp_max = 20,
hp_min = 8, hp_min = 8,
collisionbox = {-0.2, 0.00, -0.2, 0.2, 1.6, 0.2}, collisionbox = {-0.2, 0.00, -0.2, 0.2, 1.6, 0.2},
visual = "mesh", visual = "mesh",
@ -13,7 +13,7 @@ mobs:register_mob("nssm:signosigno", {
fear_height = 4, fear_height = 4,
run_velocity = 2.5, run_velocity = 2.5,
rotate = 270, rotate = 270,
damage = 3, damage = 4,
reach = 1.5, reach = 1.5,
jump = true, jump = true,
drops = { drops = {
@ -21,8 +21,12 @@ mobs:register_mob("nssm:signosigno", {
chance = 1, chance = 1,
min = 1, min = 1,
max = 2,}, max = 2,},
{name = "nssm:slothful_soul_fragment",
chance = 20,
min = 1,
max = 1,},
}, },
armor = 70, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,
lava_damage = 2, lava_damage = 2,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:snow_biter", { mobs:register_mob("nssm:snow_biter", {
type = "monster", type = "monster",
hp_max = 20, hp_max = 30,
hp_min = 15, hp_min = 15,
collisionbox = {-0.5, 0, -0.5, 0.5, 0.60, 0.5}, collisionbox = {-0.5, 0, -0.5, 0.5, 0.60, 0.5},
visual = "mesh", visual = "mesh",
@ -19,7 +19,7 @@ mobs:register_mob("nssm:snow_biter", {
random = "snow_biter", random = "snow_biter",
}, },
--pathfinding = true, --pathfinding = true,
damage = 5, damage = 6,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -30,12 +30,16 @@ mobs:register_mob("nssm:snow_biter", {
chance = 1, chance = 1,
min = 1, min = 1,
max = 1}, max = 1},
{name = "nssm:amphibian_ribs",
chance = 2,
min = 1,
max = 1},
{name = "nssm:little_ice_tooth", {name = "nssm:little_ice_tooth",
chance = 2, chance = 2,
min = 0, min = 0,
max = 4}, max = 4},
}, },
armor = 100, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 30, lava_damage = 30,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:spiderduck", { mobs:register_mob("nssm:spiderduck", {
type = "monster", type = "monster",
hp_max = 25, hp_max = 35,
hp_min = 24, hp_min = 24,
collisionbox = {-0.6, -0.8, -0.6, 0.6, 0.4, 0.5}, collisionbox = {-0.6, -0.8, -0.6, 0.6, 0.4, 0.5},
visual = "mesh", visual = "mesh",
@ -16,7 +16,7 @@ mobs:register_mob("nssm:spiderduck", {
sounds = { sounds = {
random = "duck", random = "duck",
}, },
damage = 4, damage = 6,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -27,7 +27,7 @@ mobs:register_mob("nssm:spiderduck", {
chance = 1, chance = 1,
min = 1, min = 1,
max = 8,}, max = 8,},
{name = "nssm:web", {name = "nssm:silk_gland",
chance = 2, chance = 2,
min = 1, min = 1,
max = 2,}, max = 2,},
@ -40,7 +40,7 @@ mobs:register_mob("nssm:spiderduck", {
min = 1, min = 1,
max = 1,}, max = 1,},
}, },
armor = 100, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 5, lava_damage = 5,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:stone_eater", { mobs:register_mob("nssm:stone_eater", {
type = "monster", type = "monster",
hp_max = 17, hp_max = 27,
hp_min = 15, hp_min = 19,
collisionbox = {-0.3, -0.05, -0.3, 0.3, 0.65, 0.3}, collisionbox = {-0.3, -0.05, -0.3, 0.3, 0.65, 0.3},
visual = "mesh", visual = "mesh",
mesh = "stone_eater.x", mesh = "stone_eater.x",
@ -15,7 +15,7 @@ mobs:register_mob("nssm:stone_eater", {
jump_height =0, jump_height =0,
walk_velocity = 1, walk_velocity = 1,
run_velocity = 1.5, run_velocity = 1.5,
damage = 3, damage = 5,
reach = 1.5, reach = 1.5,
drops = { drops = {
{name = "default:stone", {name = "default:stone",
@ -31,7 +31,7 @@ mobs:register_mob("nssm:stone_eater", {
min = 1, min = 1,
max = 4,}, max = 4,},
}, },
armor = 50, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,
lava_damage = 1, lava_damage = 1,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:swimming_duck", { mobs:register_mob("nssm:swimming_duck", {
type = "monster", type = "monster",
hp_max = 20, hp_max = 25,
hp_min = 15, hp_min = 15,
collisionbox = {-0.55, -0.30, -0.55, 0.55, 1, 0.55}, collisionbox = {-0.55, -0.30, -0.55, 0.55, 1, 0.55},
visual = "mesh", visual = "mesh",
@ -11,7 +11,7 @@ mobs:register_mob("nssm:swimming_duck", {
floats=1, floats=1,
walk_velocity = 1, walk_velocity = 1,
run_velocity = 1, run_velocity = 1,
damage = 2, damage = 3,
reach = 1.5, reach = 1.5,
jump = false, jump = false,
jump_chance = 0, jump_chance = 0,
@ -37,7 +37,7 @@ mobs:register_mob("nssm:swimming_duck", {
min = 1, min = 1,
max = 2,}, max = 2,},
}, },
armor = 100, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 10, lava_damage = 10,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:tarantula", { mobs:register_mob("nssm:tarantula", {
type = "monster", type = "monster",
hp_max = 30, hp_max = 50,
hp_min = 30, hp_min = 50,
collisionbox = {-0.5, 0.00, -0.5, 0.5, 0.9, 0.5}, collisionbox = {-0.5, 0.00, -0.5, 0.5, 0.9, 0.5},
visual = "mesh", visual = "mesh",
mesh = "tarantula.x", mesh = "tarantula.x",
@ -17,9 +17,9 @@ mobs:register_mob("nssm:tarantula", {
sounds = { sounds = {
random = "tarry", random = "tarry",
}, },
damage = 5, damage = 8,
jump = true, jump = true,
armor = 80, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,
lava_damage = 7, lava_damage = 7,
@ -64,8 +64,8 @@ mobs:register_mob("nssm:tarantula", {
mobs:register_mob("nssm:tarantula_propower", { mobs:register_mob("nssm:tarantula_propower", {
type = "monster", type = "monster",
hp_max = 70, hp_max = 90,
hp_min = 70, hp_min = 90,
collisionbox = {-0.5, 0.00, -0.5, 0.5, 1, 0.5}, collisionbox = {-0.5, 0.00, -0.5, 0.5, 1, 0.5},
visual = "mesh", visual = "mesh",
mesh = "tarantula_propower.x", mesh = "tarantula_propower.x",
@ -80,13 +80,13 @@ mobs:register_mob("nssm:tarantula_propower", {
sounds = { sounds = {
random = "tarry", random = "tarry",
}, },
damage = 10, damage = 12,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 1, min = 16,
max = 2,}, max = 18,},
{name = "nssm:spider_leg", {name = "nssm:spider_leg",
chance = 1, chance = 1,
min = 1, min = 1,
@ -95,8 +95,16 @@ mobs:register_mob("nssm:tarantula_propower", {
chance = 1, chance = 1,
min = 1, min = 1,
max = 1,}, max = 1,},
{name = "nssm:silk_gland",
chance = 2,
min = 1,
max = 3,},
{name = "nssm:spider_meat",
chance = 2,
min = 1,
max = 2,},
}, },
armor = 60, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,
lava_damage = 3, lava_damage = 3,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:uloboros", { mobs:register_mob("nssm:uloboros", {
type = "monster", type = "monster",
hp_max = 18, hp_max = 28,
hp_min = 17, hp_min = 17,
collisionbox = {-0.5, 0.00, -0.5, 0.5, 0.8, 0.5}, collisionbox = {-0.5, 0.00, -0.5, 0.5, 0.8, 0.5},
visual = "mesh", visual = "mesh",
@ -16,24 +16,28 @@ mobs:register_mob("nssm:uloboros", {
sounds = { sounds = {
random = "uloboros", random = "uloboros",
}, },
damage = 3, damage = 5,
reach = 2, reach = 2,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 1, min = 1,
max = 2,}, max = 4,},
{name = "nssm:spider_leg", {name = "nssm:spider_leg",
chance = 2, chance = 2,
min = 1, min = 1,
max = 8,}, max = 8,},
{name = "nssm:web", {name = "nssm:silk_gland",
chance = 2, chance = 4,
min = 1,
max = 3,},
{name = "nssm:spider_meat",
chance = 4,
min = 1, min = 1,
max = 2,}, max = 2,},
}, },
armor = 100, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,
lava_damage = 7, lava_damage = 7,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:werewolf", { mobs:register_mob("nssm:werewolf", {
type = "monster", type = "monster",
hp_max = 30, hp_max = 40,
hp_min = 25, hp_min = 25,
collisionbox = {-0.85, -0.01, -0.85, 0.85, 3.50, 0.85}, collisionbox = {-0.85, -0.01, -0.85, 0.85, 3.50, 0.85},
visual = "mesh", visual = "mesh",
@ -15,7 +15,7 @@ mobs:register_mob("nssm:werewolf", {
sounds = { sounds = {
random = "werewolf", random = "werewolf",
}, },
damage = 4, damage = 5,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -31,7 +31,7 @@ mobs:register_mob("nssm:werewolf", {
min = 1, min = 1,
max = 1}, max = 1},
}, },
armor = 100, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 5, lava_damage = 5,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:white_werewolf", { mobs:register_mob("nssm:white_werewolf", {
type = "monster", type = "monster",
hp_max = 30, hp_max = 40,
hp_min = 25, hp_min = 25,
collisionbox = {-0.85, -0.01, -0.85, 0.85, 3.50, 0.85}, collisionbox = {-0.85, -0.01, -0.85, 0.85, 3.50, 0.85},
visual = "mesh", visual = "mesh",
@ -15,7 +15,7 @@ mobs:register_mob("nssm:white_werewolf", {
sounds = { sounds = {
random = "werewolf", random = "werewolf",
}, },
damage = 4, damage = 5,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -31,7 +31,7 @@ mobs:register_mob("nssm:white_werewolf", {
min = 1, min = 1,
max = 1}, max = 1},
}, },
armor = 100, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 5, lava_damage = 5,

Binary file not shown.

View File

@ -1,290 +0,0 @@
xof 0303txt 0032
template XSkinMeshHeader {
<3cf169ce-ff7c-44ab-93c0-f78f62d172e2>
WORD nMaxSkinWeightsPerVertex;
WORD nMaxSkinWeightsPerFace;
WORD nBones;
}
template SkinWeights {
<6f0d123b-bad2-4167-a0d0-80224f25fabb>
STRING transformNodeName;
DWORD nWeights;
array DWORD vertexIndices[nWeights];
array float weights[nWeights];
Matrix4x4 matrixOffset;
}
Frame Root {
FrameTransformMatrix {
1.000000, 0.000000, 0.000000, 0.000000,
0.000000,-0.000000, 1.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 0.000000, 0.000000, 1.000000;;
}
Frame Armature {
FrameTransformMatrix {
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 0.534085, 1.000000;;
}
Frame Armature_cacca {
FrameTransformMatrix {
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
0.000000,-1.000000, 0.000000, 0.000000,
0.000000, 0.000000, 0.617923, 1.000000;;
}
} // End of Armature_cacca
Frame Armature_Bone {
FrameTransformMatrix {
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
0.000000,-1.000000, 0.000000, 0.000000,
0.000000, 0.000000,-0.534085, 1.000000;;
}
} // End of Armature_Bone
Frame Cube {
FrameTransformMatrix {
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
0.000000, 0.000000, 1.575049, 1.000000;;
}
Mesh { // Cube mesh
48;
0.197559; 0.225245;-2.122665;,
0.197559;-0.225245;-2.122665;,
-0.197559;-0.225245;-2.122665;,
-0.197559; 0.225245;-2.122665;,
0.197559; 0.225245;-1.005895;,
-0.197559; 0.225245;-1.005895;,
-0.197559;-0.225245;-1.005895;,
0.197559;-0.225245;-1.005895;,
0.197559; 0.225245;-2.122665;,
0.197559; 0.225245;-1.005895;,
0.197559;-0.225245;-1.005895;,
0.197559;-0.225245;-2.122665;,
0.197559;-0.225245;-2.122665;,
0.197559;-0.225245;-1.005895;,
-0.197559;-0.225245;-1.005895;,
-0.197559;-0.225245;-2.122665;,
-0.197559;-0.225245;-2.122665;,
-0.197559;-0.225245;-1.005895;,
-0.197559; 0.225245;-1.005895;,
-0.197559; 0.225245;-2.122665;,
0.197559; 0.225245;-1.005895;,
0.197559; 0.225245;-2.122665;,
-0.197559; 0.225245;-2.122665;,
-0.197559; 0.225245;-1.005895;,
1.000000; 1.000000;-1.000000;,
1.000000;-1.000000;-1.000000;,
-1.000000;-1.000000;-1.000000;,
-1.000000; 1.000000;-1.000000;,
1.000000; 0.999999; 1.000000;,
-1.000000; 1.000000; 1.000000;,
-1.000000;-1.000000; 1.000000;,
0.999999;-1.000001; 1.000000;,
1.000000; 1.000000;-1.000000;,
1.000000; 0.999999; 1.000000;,
0.999999;-1.000001; 1.000000;,
1.000000;-1.000000;-1.000000;,
1.000000;-1.000000;-1.000000;,
0.999999;-1.000001; 1.000000;,
-1.000000;-1.000000; 1.000000;,
-1.000000;-1.000000;-1.000000;,
-1.000000;-1.000000;-1.000000;,
-1.000000;-1.000000; 1.000000;,
-1.000000; 1.000000; 1.000000;,
-1.000000; 1.000000;-1.000000;,
1.000000; 0.999999; 1.000000;,
1.000000; 1.000000;-1.000000;,
-1.000000; 1.000000;-1.000000;,
-1.000000; 1.000000; 1.000000;;
12;
4;3,2,1,0;,
4;7,6,5,4;,
4;11,10,9,8;,
4;15,14,13,12;,
4;19,18,17,16;,
4;23,22,21,20;,
4;27,26,25,24;,
4;31,30,29,28;,
4;35,34,33,32;,
4;39,38,37,36;,
4;43,42,41,40;,
4;47,46,45,44;;
MeshTextureCoords { // Cube UV coordinates
48;
0.530892; 0.333333;,
0.530892; 0.258251;,
0.465039; 0.258251;,
0.465039; 0.333333;,
0.465039; 0.258251;,
0.399186; 0.258251;,
0.399186; 0.333333;,
0.465039; 0.333333;,
0.741748; 0.480538;,
0.741748; 0.294410;,
0.666667; 0.294410;,
0.666667; 0.480538;,
0.333333; 0.147205;,
0.333333; 0.333333;,
0.399186; 0.333333;,
0.399186; 0.147205;,
0.666667; 0.480538;,
0.666667; 0.666667;,
0.741748; 0.666667;,
0.741748; 0.480538;,
0.741748; 0.480538;,
0.741749; 0.666667;,
0.807601; 0.666667;,
0.807601; 0.480538;,
0.000000; 0.333333;,
0.333333; 0.333333;,
0.333333; 0.000000;,
0.000000; 0.000000;,
1.000000; 1.000000;,
1.000000; 0.666667;,
0.666667; 0.666667;,
0.666667; 1.000000;,
0.333333; 0.333333;,
0.000000; 0.333333;,
0.000000; 0.666667;,
0.333333; 0.666666;,
0.333333; 0.666667;,
0.333333; 1.000000;,
0.666667; 1.000000;,
0.666667; 0.666667;,
0.333333; 0.666667;,
0.000000; 0.666667;,
0.000000; 1.000000;,
0.333333; 1.000000;,
0.333333; 0.666667;,
0.666667; 0.666667;,
0.666667; 0.333333;,
0.333333; 0.333333;;
} // End of Cube UV coordinates
XSkinMeshHeader {
1;
3;
2;
}
SkinWeights {
"Armature_Bone";
24;
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23;
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000;
1.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.000000,-1.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 2.109134, 0.000000, 1.000000;;
} // End of Armature_Bone skin weights
SkinWeights {
"Armature_cacca";
24;
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47;
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000,
1.000000;
1.000000,-0.000000, 0.000000, 0.000000,
0.000000, 0.000000,-1.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000,
0.000000, 0.957125, 0.000000, 1.000000;;
} // End of Armature_cacca skin weights
} // End of Cube mesh
} // End of Cube
} // End of Armature
} // End of Root

View File

@ -14,11 +14,11 @@ if minetest.get_modpath("3d_armor") then
duck = {name="Duck", armor=1, heal=0, use=2000}, duck = {name="Duck", armor=1, heal=0, use=2000},
black_duck = {name="Black Duck", armor=1, heal=0, use=1800}, black_duck = {name="Black Duck", armor=1, heal=0, use=1800},
mor = {name="Morlu", armor=4, heal=0, use=100}, mor = {name="Morlu", armor=4, heal=0, use=100},
sky = {name="Sky", armor=3, heal=0, use=100}, sky = {name="Sky", armor=3, heal=0, use=500},
sandworm = {name="Sandworm", armor=2.4, heal=0, use=100}, sandworm = {name="Sandworm", armor=2.4, heal=0, use=1000},
sandbloco = {name="Sand Bloco", armor=1.6, heal=0, use=100}, sandbloco = {name="Sand Bloco", armor=2.5, heal=0, use=800},
web = {name="Cobweb String", armor=1.6, heal=0, use=100}, web = {name="Cobweb String", armor=1.3, heal=0, use=1500},
denseweb = {name="Dense Cobweb String", armor=1.6, heal=0, use=100}, denseweb = {name="Dense Cobweb String", armor=2, heal=0, use=600},
} }
local materials = { local materials = {
wolf="nssm:wolf_fur", wolf="nssm:wolf_fur",
@ -105,13 +105,13 @@ if minetest.get_modpath("3d_armor") then
crab = {name="Crab", armor=4, heal=0, use=500}, crab = {name="Crab", armor=4, heal=0, use=500},
ice ={name="Ice Teeth", armor=3, heal=0, use=600}, ice ={name="Ice Teeth", armor=3, heal=0, use=600},
mor ={name="Morlu", armor=5, use=100}, mor ={name="Morlu", armor=5, use=100},
mast ={name="Masticone", armor=4, use=300}, masticone ={name="Masticone", armor=4, use=300},
} }
local materials = { local materials = {
crab="nssm:crab_carapace_fragment", crab="nssm:crab_carapace_fragment",
ice="nssm:little_ice_tooth", ice="nssm:little_ice_tooth",
mor="nssm:lustful_moranga", mor="nssm:lustful_moranga",
mast="nssm:masticone_skull_fragments", masticone="nssm:masticone_skull_fragments",
} }
for k, v in pairs(stats) do for k, v in pairs(stats) do
minetest.register_tool("nssm:shield_"..k, { minetest.register_tool("nssm:shield_"..k, {

View File

@ -336,7 +336,7 @@ local function nssm_register_weapon(name, def)
minetest.register_craft({ minetest.register_craft({
output = 'nssm:'..name.."_hand", output = 'nssm:'..name.."_hand 13",
recipe = { recipe = {
{'nssm:great_energy_globe', 'nssm:great_energy_globe', 'nssm:great_energy_globe'}, {'nssm:great_energy_globe', 'nssm:great_energy_globe', 'nssm:great_energy_globe'},
{'nssm:great_energy_globe', def.material, 'nssm:great_energy_globe'}, {'nssm:great_energy_globe', def.material, 'nssm:great_energy_globe'},
@ -367,7 +367,7 @@ nssm_register_weapon("kienzan", {
end, end,
hit_node = function(self, pos, node) hit_node = function(self, pos, node)
end, end,
material = "nssm:king_duck_crown", material = "default:bronzeblock",
description = "Kienzan from DragonBall", description = "Kienzan from DragonBall",
}) })
@ -381,7 +381,7 @@ nssm_register_weapon("spirit_ball", {
explosion(pos, 4, 0) explosion(pos, 4, 0)
end, end,
material = "nssm:cursed_pumpkin_seed", material = "default:goldblock",
description = "Spirit Ball from DragonBall", description = "Spirit Ball from DragonBall",
}) })
@ -399,11 +399,11 @@ nssm_register_weapon("hellzone_grenade", {
local pos = user:getpos() local pos = user:getpos()
activate_balls(pos) activate_balls(pos)
end, end,
material = "nssm:snake_scute", material = "default:mese",
description = "Hellzone grenade (Press q to activate)", description = "Hellzone grenade (Press q to activate)",
}) })
nssm_register_weapon("particles_ball", { --[[nssm_register_weapon("particles_ball", {
velocity = 25, velocity = 25,
move = 0, move = 0,
@ -628,3 +628,4 @@ nssm_register_weapon("light_ball", {
material = "group:sand", material = "group:sand",
description = "Light Ball", description = "Light Ball",
}) })
]]

BIN
sounds/felucco.ogg Normal file

Binary file not shown.

View File

@ -13,7 +13,7 @@ nssm:spawn_specific("nssm:uloboros", {"default:jungle_grass", "default:jungletre
-- CAVES -- CAVES
nssm:spawn_specific("nssm:bloco", {"default:stone"}, {"default:stone"}, 0, 20, 30, 500, 3, -31000, -20) nssm:spawn_specific("nssm:bloco", {"default:stone"}, {"default:stone"}, 0, 20, 30, 500, 3, -31000, -20)
nssm:spawn_specific("nssm:lava_titan", {"default:stone"}, {"air"}, 0, 120, 12, 8000, 1, -31000, -50) nssm:spawn_specific("nssm:lava_titan", {"default:stone"}, {"air"}, 0, 120, 12, 18000, 1, -31000, -50)
nssm:spawn_specific("nssm:stone_eater", {"default:stone"}, {"default:stone"}, 0, 20, 40, 700, 2, -31000, -20) nssm:spawn_specific("nssm:stone_eater", {"default:stone"}, {"default:stone"}, 0, 20, 40, 700, 2, -31000, -20)
nssm:spawn_specific("nssm:signosigno", {"default:stone"}, {"default:stone"}, 0, 10, 20, 400, 2, -31000, -20) nssm:spawn_specific("nssm:signosigno", {"default:stone"}, {"default:stone"}, 0, 10, 20, 400, 2, -31000, -20)
nssm:spawn_specific("nssm:signosigno", {"bones:bones"}, {"air"}, 0, 15, 3, 1, 5, -31000, 31000) nssm:spawn_specific("nssm:signosigno", {"bones:bones"}, {"air"}, 0, 15, 3, 1, 5, -31000, 31000)
@ -56,7 +56,7 @@ nssm:spawn_specific("nssm:masticone", {"default:dirt_with_grass"}, {"default:tre
-- SKY -- SKY
nssm:spawn_specific("nssm:moonheron", {"air"}, {"air"}, 0, 10, 100, 750000, 1, 10, 40) nssm:spawn_specific("nssm:moonheron", {"air"}, {"air"}, 0, 10, 100, 750000, 1, 10, 40)
nssm:spawn_specific("nssm:night_master", {"air"}, {"air"}, 0, 7, 120, 5200000, 2, 10, 40) nssm:spawn_specific("nssm:night_master", {"air"}, {"air"}, 0, 7, 120, 10200000, 2, 10, 40)
nssm:spawn_specific("nssm:phoenix", {"air"}, {"air"}, 10, 20, 120, 5200000, 1, 10, 40) nssm:spawn_specific("nssm:phoenix", {"air"}, {"air"}, 10, 20, 120, 5200000, 1, 10, 40)
nssm:spawn_specific("nssm:scrausics", {"air"}, {"air"}, 10, 20, 100, 750000, 1, 10, 40) nssm:spawn_specific("nssm:scrausics", {"air"}, {"air"}, 10, 20, 100, 750000, 1, 10, 40)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 645 B