Some modifications

This commit is contained in:
NPXcoot 2017-10-02 22:11:16 +00:00
parent ef07daf266
commit 2653cbe8e8
110 changed files with 103518 additions and 46743 deletions

28
HOWTOSURVIVE.txt Normal file
View File

@ -0,0 +1,28 @@
Brief guide to survive in nssm:
1. Rapidly realize in which biome you are
2. Gather some wood (10)
3. Craft a wooden pickaxe
4. Build a shelter in the side of the mountain and close the door
Some biomes are better than others in order to survive at the beginning... Hills, forest are the best at a low altitude beacuse of presence of weak ducks: source of food and weapons
It is nearly impossible to survive at the beginning in the savannah and in the deserts, pine forest is quite hard too, frozen biomes are great but they lack wood.
5. You are in a safe place! Find some coal mining your shelter or rapidly running near your cave
6. Leave the shelter only in order to gather wood
7. Mine in your house and find the iron, craft an armor and a sword
8. You can't dig under -30, Blocos live under -30 but above nobody should attack you underground
9. Start farming in front of your shelter
10. Kill some weak mobs and run from the stronger, do not challenge any boss! It is possible to fight strong enemies from your shelter, while they can't enter or hit you
11. Craft a wand in order to recover life even whitout food.
12. Always carry with you a sword and a steel pickaxe
13. Start exploring other biomes, run from savannah and deserts from now, and gather other goods from dead mobs in order to make better equipment
14. You can keep going down in the earth and mine more and more challenging underground mobs
15. With a better equipment you should start defeating bosses! Night Master is the most common and the weakest
16. Craft powerful weapons from bosses drops, but keep in mind that defeating the Mese Dragon is your goal!
17. Defeat all the bosses and gather their special drop
18. Craft the Mese Dragon Egg and find an appropriate place to summon it than defeat it.
With nssb:
1. Your adventure doesn't stop! Explore all the buildings and gather more and more experience!
2. Find a portal to Morlendor naturally spawned OR craft a bomb able to summon it from Slothful Soul Fragments: a rare drop of Signosignos.
3. Go to Morlendor throught the portal and bring a chest and flint and steel, place the chest near the portal in Morlendor and place some extra items.
4. Fight Morlendor mobs carefully, they can steal food, your armor, teleport themself, steal your life, explode, summoning bats...
5.

View File

@ -338,9 +338,9 @@ function crystal_gas_explosion(pos)
if minetest.is_protected(pos, "") then if minetest.is_protected(pos, "") then
return return
end end
for dx=-1,1 do for dx= 0,0 do
for dy=-1,2 do for dy=-1,2 do
for dz=-1,1 do for dz= 0,0 do
local p = {x=pos.x+dx, y=pos.y+dy, z=pos.z+dz} local p = {x=pos.x+dx, y=pos.y+dy, z=pos.z+dz}
if minetest.is_protected(p, "") then if minetest.is_protected(p, "") then
return return

View File

@ -1,6 +1,7 @@
default default
mobs mobs
farming? farming?
bows?
nssbombs? nssbombs?
3d_armor? 3d_armor?
fire fire

View File

@ -49,6 +49,7 @@ dofile(path.."/mobs/morvy.lua")
dofile(path.."/mobs/morwa.lua") dofile(path.."/mobs/morwa.lua")
dofile(path.."/mobs/night_master.lua") dofile(path.."/mobs/night_master.lua")
dofile(path.."/mobs/octopus.lua") dofile(path.."/mobs/octopus.lua")
dofile(path.."/mobs/pelagia.lua")
dofile(path.."/mobs/phoenix.lua") dofile(path.."/mobs/phoenix.lua")
dofile(path.."/mobs/pumpboom.lua") dofile(path.."/mobs/pumpboom.lua")
dofile(path.."/mobs/pumpking.lua") dofile(path.."/mobs/pumpking.lua")
@ -59,6 +60,7 @@ dofile(path.."/mobs/sand_bloco.lua")
dofile(path.."/mobs/sandworm.lua") dofile(path.."/mobs/sandworm.lua")
dofile(path.."/mobs/scrausics.lua") dofile(path.."/mobs/scrausics.lua")
dofile(path.."/mobs/signosigno.lua") dofile(path.."/mobs/signosigno.lua")
dofile(path.."/mobs/silversand_dragon.lua")
dofile(path.."/mobs/silver_sandonisc.lua") dofile(path.."/mobs/silver_sandonisc.lua")
dofile(path.."/mobs/snow_biter.lua") dofile(path.."/mobs/snow_biter.lua")
dofile(path.."/mobs/spiderduck.lua") dofile(path.."/mobs/spiderduck.lua")
@ -78,6 +80,9 @@ dofile(path.."/mobs/mese_dragon.lua")
dofile(path.."/rainbow_staff.lua") dofile(path.."/rainbow_staff.lua")
dofile(path.."/darts.lua") dofile(path.."/darts.lua")
dofile(path.."/nssm_materials.lua") dofile(path.."/nssm_materials.lua")
dofile(path.."/nssm_tools.lua")
--dofile(path.."/nssm_bows.lua")
dofile(path.."/nssm_recipes.lua")
dofile(path.."/nssm_spears.lua") dofile(path.."/nssm_spears.lua")
dofile(path.."/nssm_api.lua") dofile(path.."/nssm_api.lua")
dofile(path.."/nssm_weapons.lua") dofile(path.."/nssm_weapons.lua")

View File

@ -1,21 +1,21 @@
mobs:register_mob("nssm:albino_spider", { mobs:register_mob("nssm:albino_spider", {
type = "monster", type = "monster",
hp_max = 28, hp_max = 23,
hp_min = 17, hp_min = 17,
collisionbox = {-0.35, 0.00, -0.35, 0.35, 0.6, 0.35}, collisionbox = {-0.35, 0.00, -0.35, 0.35, 0.6, 0.35},
visual = "mesh", visual = "mesh",
mesh = "albino_spider.x", mesh = "albino_spider.x",
textures = {{"albino_spider.png"}}, textures = {{"albino_spider.png"}},
visual_size = {x=4, y=4}, visual_size = {x=4, y=4},
makes_footstep_sound = true, makes_footstep_sound = false,
view_range = 22, view_range = 22,
walk_velocity = 0.6, walk_velocity = 0.6,
fear_height = 4, fear_height = 3,
run_velocity = 3, run_velocity = 3,
--[[sounds = { --[[sounds = {
random = "albino_spider", random = "albino_spider",
},]] },]]
damage = 2, damage = 3,
reach = 2, reach = 2,
jump = true, jump = true,
drops = { drops = {
@ -36,14 +36,15 @@ mobs:register_mob("nssm:albino_spider", {
min = 1, min = 1,
max = 2,}, max = 2,},
}, },
armor = 80, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 2,
lava_damage = 7, lava_damage = 14,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,
knock_back=2, suffocation = 0,
knock_back=1,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
stepheight=1.1, stepheight=1.1,
on_rightclick = nil, on_rightclick = nil,

View File

@ -2,11 +2,11 @@ mobs:register_mob("nssm:ant_queen", {
type = "monster", type = "monster",
hp_max = 220, hp_max = 220,
hp_min = 220, hp_min = 220,
collisionbox = {-0.6, 0.00, -0.6, 0.6, 1, 0.6}, collisionbox = {-0.4, 0.00, -0.4, 0.4, 0.6, 0.4},
visual = "mesh", visual = "mesh",
mesh = "ant_queen.x", mesh = "ant_queen.x",
textures = {{"ant_queen.png"}}, textures = {{"ant_queen.png"}},
visual_size = {x=6, y=6}, visual_size = {x=4, y=4},
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 30, view_range = 30,
fear_height = 5, fear_height = 5,
@ -23,8 +23,8 @@ mobs:register_mob("nssm:ant_queen", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 5, min = 50,
max = 7,}, max = 70,},
{name = "nssm:ant_queen_abdomen", {name = "nssm:ant_queen_abdomen",
chance = 1, chance = 1,
min = 1, min = 1,
@ -42,7 +42,7 @@ mobs:register_mob("nssm:ant_queen", {
armor = 40, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 7, lava_damage = 5,
light_damage = 0, light_damage = 0,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
blood_amount=50, blood_amount=50,

View File

@ -8,7 +8,7 @@ mobs:register_mob("nssm:ant_soldier", {
textures = {{"ant_soldier.png"}}, textures = {{"ant_soldier.png"}},
visual_size = {x=3, y=3}, visual_size = {x=3, y=3},
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 20, view_range = 30,
fear_height = 4, fear_height = 4,
walk_velocity = 0.5, walk_velocity = 0.5,
run_velocity = 3, run_velocity = 3,
@ -16,7 +16,7 @@ mobs:register_mob("nssm:ant_soldier", {
sounds = { sounds = {
random = "ant", random = "ant",
}, },
damage = 4, damage = 5,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -34,18 +34,18 @@ mobs:register_mob("nssm:ant_soldier", {
{name = "nssm:ant_hard_skin", {name = "nssm:ant_hard_skin",
chance = 3, chance = 3,
min = 1, min = 1,
max = 2,}, max = 3,},
}, },
reach = 2, reach = 2,
armor = 70, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 7, lava_damage = 10,
light_damage = 0, light_damage = 0,
on_rightclick = nil, on_rightclick = nil,
group_attack=true, group_attack=true,
attack_animals=false, attack_animals=false,
knock_back=2, knock_back=1,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
stepheight=1.1, stepheight=1.1,
attack_type = "dogfight", attack_type = "dogfight",

View File

@ -9,7 +9,7 @@ mobs:register_mob("nssm:ant_worker", {
textures = {{"ant_worker.png"}}, textures = {{"ant_worker.png"}},
visual_size = {x=2, y=2}, visual_size = {x=2, y=2},
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 20, view_range = 15,
fear_height = 4, fear_height = 4,
walk_velocity = 0.5, walk_velocity = 0.5,
run_velocity = 2, run_velocity = 2,

View File

@ -21,8 +21,8 @@ mobs:register_mob("nssm:berinhog", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 3, min = 5,
max = 4}, max = 7},
--[[ {name = "nssm:berinhog_steak", --[[ {name = "nssm:berinhog_steak",
chance = 2, chance = 2,
min = 1, min = 1,
@ -38,8 +38,9 @@ mobs:register_mob("nssm:berinhog", {
}, },
armor = 70, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 0,
lava_damage = 5, lava_damage = 15,
suffocation = 4,
reach=3, reach=3,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,

View File

@ -1,12 +1,13 @@
mobs:register_mob("nssm:black_scorpion", { mobs:register_mob("nssm:black_scorpion", {
type = "monster", type = "monster",
hp_max = 24, hp_max = 45,
hp_min = 17, hp_min = 40,
collisionbox = {-0.5, 0.00, -0.5, 0.5, 0.8, 0.5}, docile_by_day = true,
collisionbox = {-0.3, 0.00, -0.3, 0.3, 0.6, 0.3},
visual = "mesh", visual = "mesh",
mesh = "scorpion.x", mesh = "scorpion.x",
textures = {{"scorpion.png"}}, textures = {{"scorpion.png"}},
visual_size = {x=12, y=12}, visual_size = {x=7, y=7},
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 22, view_range = 22,
walk_velocity = 1, walk_velocity = 1,
@ -15,21 +16,23 @@ mobs:register_mob("nssm:black_scorpion", {
--[[ sounds = { --[[ sounds = {
random = "black_scorpion", random = "black_scorpion",
},]] },]]
damage = 4, damage = 6,
reach = 4, reach = 4,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 1, min = 1,
max = 4,}, max = 8,},
}, },
armor = 80, armor = 50,
drawtype = "front", drawtype = "front",
water_damage = 1, follow = {"farming:wheat"},
lava_damage = 7, water_damage = 2,
suffocation = 4,
lava_damage = 10,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=false,
attack_animals=true, attack_animals=true,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
stepheight=1.1, stepheight=1.1,
@ -67,4 +70,85 @@ mobs:register_mob("nssm:black_scorpion", {
}, nil) }, nil)
end end
end, end,
do_custom = function(self, dtime)
-- set needed values if not already present
if not self.v2 then
self.v2 = 0
self.max_speed_forward = 5
self.max_speed_reverse = 2
self.accel = 6
self.terrain_type = 3
self.driver_attach_at = {x = 0, y = 1.65, z = 0}
self.driver_eye_offset = {x = 0, y = -2, z = 0}
self.driver_scale = {x = 0.09, y = 0.09}
end
-- if driver present allow control of horse
if self.driver then
mobs.drive(self, "run", "stand", false, dtime)
return false -- skip rest of mob functions
end
return true
end,
on_die = function(self, pos)
-- drop saddle when horse is killed while riding
-- also detach from horse properly
if self.driver then
minetest.add_item(pos, "mobs:saddle")
mobs.detach(self.driver, {x = 1, y = 0, z = 1})
end
end,
on_rightclick = function(self, clicker)
-- make sure player is clicking
if not clicker or not clicker:is_player() then
return
end
-- feed, tame or heal horse
if mobs:feed_tame(self, clicker, 10, true, true) then
return
end
-- make sure tamed horse is being clicked by owner only
if self.tamed and self.owner == clicker:get_player_name() then
local inv = clicker:get_inventory()
-- detatch player already riding horse
if self.driver and clicker == self.driver then
mobs.detach(clicker, {x = 1, y = 0, z = 1})
-- add saddle back to inventory
if inv:room_for_item("main", "mobs:saddle") then
inv:add_item("main", "mobs:saddle")
else
minetest.add_item(clicker.getpos(), "mobs:saddle")
end
-- attach player to horse
elseif not self.driver
and clicker:get_wielded_item():get_name() == "mobs:saddle" then
self.object:set_properties({stepheight = 1.1})
mobs.attach(self, clicker)
-- take saddle from inventory
inv:remove_item("main", "mobs:saddle")
end
end
-- used to capture horse with magic lasso
mobs:capture_mob(self, clicker, 0, 0, 80, false, nil)
end
}) })

View File

@ -16,7 +16,7 @@ mobs:register_mob("nssm:black_widow", {
sounds = { sounds = {
random = "black_widow", random = "black_widow",
}, },
damage = 4, damage = 3,
reach = 2, reach = 2,
jump = true, jump = true,
drops = { drops = {
@ -37,13 +37,14 @@ mobs:register_mob("nssm:black_widow", {
min = 1, min = 1,
max = 2,}, max = 2,},
}, },
armor = 70, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 2,
lava_damage = 7, lava_damage = 12,
suffocation = 4,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,
knock_back=2, knock_back=3,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
stepheight=1.1, stepheight=1.1,
light_damage = 0, light_damage = 0,

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:bloco", { mobs:register_mob("nssm:bloco", {
type = "monster", type = "monster",
hp_max = 18, hp_max = 16,
hp_min = 14, hp_min = 14,
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",
@ -23,7 +23,7 @@ mobs:register_mob("nssm:bloco", {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 1, min = 1,
max = 1,}, max = 2,},
{name = "default:stone", {name = "default:stone",
chance = 1, chance = 1,
min = 2, min = 2,

View File

@ -8,7 +8,7 @@ mobs:register_mob("nssm:chog", {
textures = {{"chog.png"}}, textures = {{"chog.png"}},
visual_size = {x=4, y=4}, visual_size = {x=4, y=4},
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 10, view_range = 13,
walk_velocity = 1, walk_velocity = 1,
rotate = 270, rotate = 270,
fear_height = 4, fear_height = 4,
@ -16,7 +16,7 @@ mobs:register_mob("nssm:chog", {
--[[sounds = { --[[sounds = {
random = "chog", random = "chog",
},]] },]]
damage = 1, damage = 4,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -24,11 +24,12 @@ mobs:register_mob("nssm:chog", {
min = 3, min = 3,
max = 4}, max = 4},
}, },
armor = 70, armor = 100,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 5, lava_damage = 15,
light_damage = 0, light_damage = 0,
suffocation = 6,
--group_attack=true, --group_attack=true,
--attack_animals=true, --attack_animals=true,
knock_back=2, knock_back=2,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:crab", { mobs:register_mob("nssm:crab", {
type = "monster", type = "monster",
hp_max = 32, hp_max = 15,
hp_min = 19, hp_min = 13,
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",
@ -30,7 +30,7 @@ mobs:register_mob("nssm:crab", {
min = 1, min = 1,
max = 2,}, max = 2,},
{name = "nssm:crab_chela", {name = "nssm:crab_chela",
chance = 4, chance = 5,
min = 1, min = 1,
max = 2,}, max = 2,},
{name = "nssm:crab_carapace_fragment", {name = "nssm:crab_carapace_fragment",
@ -41,10 +41,11 @@ mobs:register_mob("nssm:crab", {
armor = 40, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 10, lava_damage = 15,
light_damage = 0, light_damage = 0,
suffocation = 2,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
knock_back=1, knock_back=1,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
stepheight=1.1, stepheight=1.1,

View File

@ -7,11 +7,11 @@ mobs:register_mob("nssm:crystal_slug", {
mesh = "crystal_slug.x", mesh = "crystal_slug.x",
textures = {{"crystal_slug.png"}}, textures = {{"crystal_slug.png"}},
visual_size = {x=4, y=4}, visual_size = {x=4, y=4},
view_range = 40, view_range = 30,
floats = 1, floats = 1,
rotate = 270, rotate = 270,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
walk_velocity = 0.4, walk_velocity = 0.4,
run_velocity = 0.4, run_velocity = 0.4,
-- fall_speed = 0, -- fall_speed = 0,

View File

@ -16,7 +16,7 @@ mobs:register_mob("nssm:daddy_long_legs", {
sounds = { sounds = {
random = "daddy", random = "daddy",
}, },
damage = 3, damage = 2,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
@ -34,12 +34,13 @@ mobs:register_mob("nssm:daddy_long_legs", {
}, },
armor = 70, armor = 70,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 3,
lava_damage = 7, suffocation = 4,
lava_damage = 17,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
knock_back=2, knock_back= 3,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
stepheight=1.1, stepheight=1.1,
on_rightclick = nil, on_rightclick = nil,

View File

@ -1,3 +1,5 @@
--Remove?
mobs:register_mob("nssm:dolidrosaurus", { mobs:register_mob("nssm:dolidrosaurus", {
type = "monster", type = "monster",
hp_max = 46, hp_max = 46,

View File

@ -41,10 +41,11 @@ mobs:register_mob("nssm:duck", {
water_damage = 0, water_damage = 0,
fear_height = 5, fear_height = 5,
floats = 1, floats = 1,
lava_damage = 5, lava_damage = 15,
light_damage = 0, light_damage = 0,
suffocation = 6,
group_attack = true, group_attack = true,
attack_animals = true, attack_animals = false,
knock_back = 5, knock_back = 5,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
on_rightclick = nil, on_rightclick = nil,

View File

@ -1,15 +1,15 @@
mobs:register_mob("nssm:duckking", { mobs:register_mob("nssm:duckking", {
type = "monster", type = "monster",
hp_max = 180, hp_max = 200,
hp_min = 180, hp_min = 200,
collisionbox = {-1.2, -0.25, -1.2, 1.2, 4, 1.2}, collisionbox = {-0.6, -0.25, -0.6, 0.6, 2, 0.6},
visual = "mesh", visual = "mesh",
mesh = "king_duck.x", mesh = "king_duck.x",
textures = {{"king_duck.png"}}, textures = {{"king_duck.png"}},
visual_size = {x=10, y=10}, visual_size = {x=8, y=8},
lifetimer = 300, lifetimer = 300,
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 30, view_range = 35,
rotate = 270, rotate = 270,
duck_father = true, duck_father = true,
walk_velocity = 1, walk_velocity = 1,
@ -24,8 +24,8 @@ mobs:register_mob("nssm:duckking", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 7, min = 70,
max = 8,}, max = 80,},
{name = "nssm:duck_legs", {name = "nssm:duck_legs",
chance = 1, chance = 1,
min = 40, min = 40,
@ -43,7 +43,7 @@ mobs:register_mob("nssm:duckking", {
min = 20, min = 20,
max = 40,}, max = 40,},
}, },
armor = 50, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
floats = 1, floats = 1,
@ -52,7 +52,7 @@ mobs:register_mob("nssm:duckking", {
on_rightclick = nil, on_rightclick = nil,
attack_type = "dogshoot", attack_type = "dogshoot",
dogshoot_switch = true, dogshoot_switch = true,
dogshoot_count_max = 9, dogshoot_count_max = 4,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
blood_amount=50, blood_amount=50,
stepheight=2.1, stepheight=2.1,

View File

@ -22,8 +22,8 @@ mobs:register_mob("nssm:echidna", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 6, min = 90,
max = 7,}, max = 120,},
{name = "nssm:snake_scute", {name = "nssm:snake_scute",
chance = 1, chance = 1,
min = 1, min = 1,
@ -34,6 +34,7 @@ mobs:register_mob("nssm:echidna", {
water_damage = 0, water_damage = 0,
floats = 1, floats = 1,
lava_damage = 0, lava_damage = 0,
suffocation = 0,
light_damage = 0, light_damage = 0,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
blood_amount=10, blood_amount=10,

View File

@ -1,14 +1,15 @@
mobs:register_mob("nssm:enderduck", { mobs:register_mob("nssm:enderduck", {
type = "monster", type = "monster",
hp_max = 22, docile_by_day = true,
hp_min = 18, hp_max = 18,
hp_min = 16,
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",
mesh = "enderduck.x", mesh = "enderduck.x",
textures = {{"enderduck.png"}}, textures = {{"enderduck.png"}},
visual_size = {x=2, y=2}, visual_size = {x=2, y=2},
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 25, view_range = 35,
walk_velocity = 3, walk_velocity = 3,
fear_height = 4, fear_height = 4,
run_velocity = 3.9, run_velocity = 3.9,
@ -44,8 +45,8 @@ mobs:register_mob("nssm:enderduck", {
lava_damage = 5, lava_damage = 5,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals= false,
knock_back=4, knock_back=3,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
jump_height=12, jump_height=12,
stepheight=2.1, stepheight=2.1,

View File

@ -22,8 +22,8 @@ mobs:register_mob("nssm:felucco", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 3, min = 8,
max = 4}, max = 12},
{name = "nssm:felucco_steak", {name = "nssm:felucco_steak",
chance = 2, chance = 2,
min = 1, min = 1,
@ -37,14 +37,15 @@ mobs:register_mob("nssm:felucco", {
min = 1, min = 1,
max = 2}, max = 2},
}, },
armor = 70, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 0,
lava_damage = 5, lava_damage = 15,
light_damage = 0, light_damage = 0,
suffocation = 4,
-- group_attack=true, -- group_attack=true,
-- attack_animals=true, -- attack_animals=true,
knock_back=2, knock_back=1,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
stepheight=1.1, stepheight=1.1,
on_rightclick = nil, on_rightclick = nil,

View File

@ -1,14 +1,14 @@
mobs:register_mob("nssm:flust", { mobs:register_mob("nssm:flust", {
type = "monster", type = "monster",
hp_max = 20, hp_max = 27,
hp_min = 14, hp_min = 23,
collisionbox = {-0.35, 0, -0.35, 0.35, 1, 0.35}, collisionbox = {-0.35, 0, -0.35, 0.35, 1, 0.35},
visual = "mesh", visual = "mesh",
mesh = "flust.x", mesh = "flust.x",
textures = {{"flust.png"}}, textures = {{"flust.png"}},
visual_size = {x=6, y=6}, visual_size = {x=6, y=6},
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 8, view_range = 16,
fear_height = 4, fear_height = 4,
walk_velocity = 0.8, walk_velocity = 0.8,
run_velocity = 2.4, run_velocity = 2.4,
@ -26,11 +26,12 @@ mobs:register_mob("nssm:flust", {
}, },
armor = 50, armor = 50,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 8,
lava_damage = 2, lava_damage = 8,
light_damage = 0, light_damage = 0,
suffocation = 4,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals= false,
knock_back=1, knock_back=1,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
--Flust is immune to iron weapons --Flust is immune to iron weapons

View File

@ -36,11 +36,12 @@ mobs:register_mob("nssm:flying_duck", {
min = 4, min = 4,
max = 8,}, max = 8,},
}, },
armor = 80, armor = 100,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 5, lava_damage = 15,
light_damage = 0, light_damage = 0,
suffocation = 4,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,
knock_back=5, knock_back=5,

View File

@ -21,13 +21,13 @@ mobs:register_mob("nssm:giant_sandworm", {
min = 20, min = 20,
max = 30,}, max = 30,},
{name = "nssm:sandworm_skin", {name = "nssm:sandworm_skin",
chance = 2, chance = 1,
min = 3, min = 12,
max = 12,}, max = 46,},
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 7, min = 70,
max = 8,}, max = 80,},
{name = "nssm:digested_sand", {name = "nssm:digested_sand",
chance = 1, chance = 1,
min = 1, min = 1,

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:icelamander", { mobs:register_mob("nssm:icelamander", {
type = "monster", type = "monster",
hp_max = 230, hp_max = 190,
hp_min = 230, hp_min = 190,
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",
@ -21,8 +21,8 @@ mobs:register_mob("nssm:icelamander", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 6, min = 60,
max = 8}, max = 80},
{name = "nssm:frosted_amphibian_heart", {name = "nssm:frosted_amphibian_heart",
chance = 1, chance = 1,
min = 1, min = 1,
@ -45,6 +45,7 @@ mobs:register_mob("nssm:icelamander", {
water_damage = 0, water_damage = 0,
lava_damage = 30, lava_damage = 30,
light_damage = 0, light_damage = 0,
suffocation = 0,
on_rightclick = nil, on_rightclick = nil,
attack_type = "dogshoot", attack_type = "dogshoot",
dogshoot_switch = true, dogshoot_switch = true,

View File

@ -44,9 +44,10 @@ mobs:register_mob("nssm:icelizard", {
water_damage = 0, water_damage = 0,
lava_damage = 30, lava_damage = 30,
light_damage = 0, light_damage = 0,
suffocation = 4,
group_attack = true, group_attack = true,
attack_animals=true, attack_animals = false,
knock_back=4, knock_back = 2,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
stepheight=1.1, stepheight=1.1,
on_rightclick = nil, on_rightclick = nil,

View File

@ -23,7 +23,7 @@ mobs:register_mob("nssm:icesnake", {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 1, min = 1,
max = 2}, max = 3},
{name = "nssm:frosted_amphibian_heart", {name = "nssm:frosted_amphibian_heart",
chance = 2, chance = 2,
min = 1, min = 1,
@ -42,6 +42,7 @@ mobs:register_mob("nssm:icesnake", {
water_damage = 0, water_damage = 0,
lava_damage = 20, lava_damage = 20,
light_damage = 0, light_damage = 0,
suffocation = 4,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,
knock_back=2, knock_back=2,

View File

@ -24,14 +24,15 @@ mobs:register_mob("nssm:kele", {
min = 3, min = 3,
max = 4}, max = 4},
}, },
armor = 70, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 0,
lava_damage = 5, lava_damage = 15,
light_damage = 0, light_damage = 0,
suffocation = 4,
--group_attack=true, --group_attack=true,
--attack_animals=true, --attack_animals=true,
knock_back=2, knock_back = 1,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
stepheight=2.1, stepheight=2.1,
on_rightclick = nil, on_rightclick = nil,

View File

@ -26,12 +26,12 @@ mobs:register_mob("nssm:kraken", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 6, min = 80,
max = 7,}, max = 90,},
{name = "nssm:tentacle", {name = "nssm:tentacle",
chance = 1, chance = 1,
min = 30, min = 50,
max = 40,}, max = 80,},
{name = "nssm:tentacle_curly", {name = "nssm:tentacle_curly",
chance = 1, chance = 1,
min = 1, min = 1,

View File

@ -30,13 +30,14 @@ mobs:register_mob("nssm:larva", {
min = 1, min = 1,
max = 2,}, max = 2,},
}, },
armor = 80, armor = 100,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 4, lava_damage = 14,
light_damage = 0, light_damage = 0,
suffocation = 4,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals= false,
knock_back=2, knock_back=2,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
on_rightclick = nil, on_rightclick = nil,

View File

@ -23,8 +23,8 @@ mobs:register_mob("nssm:lava_titan", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 7, min = 90,
max = 9,}, max = 100,},
{name = "nssm:lava_titan_eye", {name = "nssm:lava_titan_eye",
chance = 1, chance = 1,
min = 1, min = 1,

View File

@ -35,7 +35,8 @@ mobs:register_mob("nssm:manticore", {
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
rotate = 270, rotate = 270,
lava_damage = 5, lava_damage = 15,
suffocation = 4,
light_damage = 0, light_damage = 0,
on_rightclick = nil, on_rightclick = nil,
attack_type = "dogshoot", attack_type = "dogshoot",

View File

@ -36,11 +36,12 @@ mobs:register_mob("nssm:mantis", {
min = 1, min = 1,
max = 2,}, max = 2,},
}, },
armor = 70, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 5, lava_damage = 15,
light_damage = 0, light_damage = 0,
suffocation = 4,
on_rightclick = nil, on_rightclick = nil,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,

View File

@ -9,7 +9,7 @@ mobs:register_mob("nssm:masticone", {
visual_size = {x=4, y=4}, visual_size = {x=4, y=4},
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 15, view_range = 15,
lifetimer = 500, lifetimer = 200,
fear_height = 4, fear_height = 4,
rotate = 270, rotate = 270,
walk_velocity = 1.5, walk_velocity = 1.5,
@ -22,8 +22,8 @@ mobs:register_mob("nssm:masticone", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 7, min = 12,
max = 8,}, max = 20,},
{name = "nssm:masticone_fang", {name = "nssm:masticone_fang",
chance = 1, chance = 1,
min = 1, min = 1,

View File

@ -1,5 +1,6 @@
mobs:register_mob("nssm:moonheron", { mobs:register_mob("nssm:moonheron", {
type = "monster", type = "monster",
docile_by_day =true,
hp_max = 25, hp_max = 25,
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},
@ -8,7 +9,6 @@ mobs:register_mob("nssm:moonheron", {
textures = {{"moonheron.png"}}, textures = {{"moonheron.png"}},
visual_size = {x=10, y=10}, visual_size = {x=10, y=10},
view_range = 35, view_range = 35,
rotate = 270,
walk_velocity = 2, walk_velocity = 2,
run_velocity = 3, run_velocity = 3,
fall_speed = 0, fall_speed = 0,
@ -32,10 +32,12 @@ mobs:register_mob("nssm:moonheron", {
armor = 70, armor = 70,
floats = 1, floats = 1,
drawtype = "front", drawtype = "front",
water_damage = 5, water_damage = 0,
lava_damage = 5, lava_damage = 15,
suffocation = 4,
follow = {"farming:wheat"},
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
knock_back=4, knock_back=4,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
on_rightclick = nil, on_rightclick = nil,
@ -52,5 +54,85 @@ mobs:register_mob("nssm:moonheron", {
run_end = 60, run_end = 60,
punch_start = 80, punch_start = 80,
punch_end = 120, punch_end = 120,
} },
do_custom = function(self, dtime)
-- set needed values if not already present
if not self.v2 then
self.v2 = 0
self.max_speed_forward = 10
self.max_speed_reverse = 2
self.accel = 6
self.terrain_type = 3
self.driver_attach_at = {x = 0, y = 1.1, z = -0.4}
self.driver_eye_offset = {x = 0, y = -2, z = 0}
self.driver_scale = {x = 0.09, y = 0.09}
end
-- if driver present allow control of horse
if self.driver then
mobs.drive(self, "run", "stand", true, dtime)
return false -- skip rest of mob functions
end
return true
end,
on_die = function(self, pos)
-- drop saddle when horse is killed while riding
-- also detach from horse properly
if self.driver then
minetest.add_item(pos, "mobs:saddle")
mobs.detach(self.driver, {x = 1, y = 0, z = 1})
end
end,
on_rightclick = function(self, clicker)
-- make sure player is clicking
if not clicker or not clicker:is_player() then
return
end
-- feed, tame or heal horse
if mobs:feed_tame(self, clicker, 10, true, true) then
return
end
-- make sure tamed horse is being clicked by owner only
if self.tamed and self.owner == clicker:get_player_name() then
local inv = clicker:get_inventory()
-- detatch player already riding horse
if self.driver and clicker == self.driver then
mobs.detach(clicker, {x = 1, y = 0, z = 1})
-- add saddle back to inventory
if inv:room_for_item("main", "mobs:saddle") then
inv:add_item("main", "mobs:saddle")
else
minetest.add_item(clicker.getpos(), "mobs:saddle")
end
-- attach player to horse
elseif not self.driver
and clicker:get_wielded_item():get_name() == "mobs:saddle" then
self.object:set_properties({stepheight = 1.1})
mobs.attach(self, clicker)
-- take saddle from inventory
inv:remove_item("main", "mobs:saddle")
end
end
-- used to capture horse with magic lasso
mobs:capture_mob(self, clicker, 0, 0, 80, false, nil)
end
}) })

View File

@ -109,6 +109,7 @@ mobs:register_mob("nssm:morde", {
minetest.register_entity("nssm:mortick", { minetest.register_entity("nssm:mortick", {
textures = {"mortick.png"}, textures = {"mortick.png"},
collisionbox = {-0.05, -0.05, -0.05, 0.05, 0.05, 0.05},
hp_min = 10000, hp_min = 10000,
hp_max = 10000, hp_max = 10000,
armor = 100, armor = 100,

View File

@ -67,8 +67,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 = 60, hp_max = 70,
hp_min = 60, 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_2.x", mesh = "night_master_2.x",
@ -86,7 +86,7 @@ mobs:register_mob("nssm:night_master_2", {
random = "night_master", random = "night_master",
distance = 45, distance = 45,
}, },
damage = 10, damage = 11,
jump = false, jump = false,
armor = 60, armor = 60,
drawtype = "front", drawtype = "front",
@ -156,8 +156,8 @@ mobs:register_mob("nssm:night_master_1", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 6, min = 50,
max = 7,}, max = 60,},
{name = "nssm:heron_leg", {name = "nssm:heron_leg",
chance = 1, chance = 1,
min = 1, min = 1,

51
mobs/pelagia.lua Normal file
View File

@ -0,0 +1,51 @@
mobs:register_mob("nssm:pelagia", {
type = "monster",
hp_max = 44,
hp_min = 42,
collisionbox = {-0.9, -0.5, -0.9, 0.9, 0.92, 0.9},
visual = "mesh",
mesh = "pelagia.x",
textures = {{"pelagia.png"}},
visual_size = {x=4, y=4},
view_range =5,
fly = true,
fly_in = "default:water_source",
fall_speed = -20,
walk_velocity = 0.2,
run_velocity = 1,
damage = 6,
reach = 1,
rotate = 270,
jump = false,
jump_chance = 0,
jump_height = 0,
drops = {
{name = "nssm:life_energy",
chance = 1,
min = 2,
max = 7,},
},
armor = 100,
drawtype = "front",
water_damage = 0,
lava_damage = 10,
light_damage = 0,
group_attack=true,
attack_animals=false,
knock_back=4,
blood_texture="nssm_blood_blue.png",
on_rightclick = nil,
attack_type = "dogfight",
animation = {
speed_normal = 25,
speed_run = 35,
stand_start = 1,
stand_end = 80,
walk_start = 1,
walk_end = 80,
run_start = 100,
run_end = 120,
punch_start = 140,
punch_end = 180,
}
})

View File

@ -7,7 +7,7 @@ mobs:register_mob("nssm:phoenix", {
mesh = "phoenix.x", mesh = "phoenix.x",
textures = {{"phoenix.png"}}, textures = {{"phoenix.png"}},
visual_size = {x=18, y=18}, visual_size = {x=18, y=18},
view_range = 40, view_range = 50,
lifetimer = 500, lifetimer = 500,
floats=1, floats=1,
rotate = 270, rotate = 270,
@ -24,8 +24,8 @@ mobs:register_mob("nssm:phoenix", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 7, min = 70,
max = 8,}, max = 80,},
{name = "nssm:sun_feather", {name = "nssm:sun_feather",
chance = 1, chance = 1,
min = 1, min = 1,
@ -36,8 +36,8 @@ mobs:register_mob("nssm:phoenix", {
max = 6,}, max = 6,},
{name = "nssm:phoenix_nuggets", {name = "nssm:phoenix_nuggets",
chance = 6, chance = 6,
min = 10, min = 20,
max = 20,}, max = 30,},
}, },
armor = 40, armor = 40,
drawtype = "front", drawtype = "front",

View File

@ -1,7 +1,7 @@
mobs:register_mob("nssm:pumpboom_small", { mobs:register_mob("nssm:pumpboom_small", {
type = "monster", type = "monster",
hp_max = 15, hp_max = 10,
hp_min = 14, hp_min = 9,
collisionbox = {-0.30, -0.3, -0.30, 0.30, 0.30, 0.30}, collisionbox = {-0.30, -0.3, -0.30, 0.30, 0.30, 0.30},
visual = "mesh", visual = "mesh",
mesh = "pumpboom.x", mesh = "pumpboom.x",
@ -26,17 +26,18 @@ mobs:register_mob("nssm:pumpboom_small", {
min = 1, min = 1,
max = 2,}, max = 2,},
{name = "nssm:black_powder", {name = "nssm:black_powder",
chance = 2, chance = 3,
min = 1, min = 1,
max = 2,}, max = 1,},
}, },
armor = 100, armor = 100,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 5, lava_damage = 15,
suffocation = 4,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
knock_back=2, knock_back=2,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
stepheight=1.1, stepheight=1.1,
@ -91,11 +92,12 @@ mobs:register_mob("nssm:pumpboom_medium", {
}, },
armor = 100, armor = 100,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 4,
lava_damage = 5, lava_damage = 15,
light_damage = 0, light_damage = 0,
suffocation = 4,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
knock_back=2, knock_back=2,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
stepheight=1.1, stepheight=1.1,
@ -146,15 +148,16 @@ mobs:register_mob("nssm:pumpboom_large", {
{name = "nssm:black_powder", {name = "nssm:black_powder",
chance = 2, chance = 2,
min = 2, min = 2,
max = 4,}, max = 5,},
}, },
armor = 100, armor = 100,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 4,
lava_damage = 5, lava_damage = 15,
light_damage = 0, light_damage = 0,
suffocation = 4,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
knock_back=2, knock_back=2,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
stepheight=1.1, stepheight=1.1,

View File

@ -7,11 +7,11 @@ mobs:register_mob("nssm:pumpkid", {
mesh = "pumpkid.x", mesh = "pumpkid.x",
textures = {{"pump.png"}}, textures = {{"pump.png"}},
visual_size = {x=3, y=3}, visual_size = {x=3, y=3},
view_range = 40, view_range = 30,
floats=0, floats=0,
rotate = 180, rotate = 180,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
walk_velocity = 0.6, walk_velocity = 0.6,
run_velocity = 0.6, run_velocity = 0.6,
-- fall_speed = 0, -- fall_speed = 0,
@ -28,11 +28,12 @@ mobs:register_mob("nssm:pumpkid", {
min = 1, min = 1,
max = 3,}, max = 3,},
}, },
armor = 70, armor = 50,
drawtype = "front", drawtype = "front",
water_damage = 5, water_damage = 5,
lava_damage = 10, lava_damage = 13,
light_damage = 0, light_damage = 0,
suffocation = 4,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
blood_amount=10, blood_amount=10,
on_rightclick = nil, on_rightclick = nil,

View File

@ -23,16 +23,16 @@ mobs:register_mob("nssm:pumpking", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 7, min = 70,
max = 9,}, max = 90,},
{name = "nssm:cursed_pumpkin_seed", {name = "nssm:cursed_pumpkin_seed",
chance = 1, chance = 1,
min = 1, min = 1,
max = 1,}, max = 1,},
{name = "nssm:black_powder", {name = "nssm:black_powder",
chance = 1, chance = 1,
min = 9, min = 40,
max = 12,}, max = 60,},
}, },
armor =40, armor =40,
drawtype = "front", drawtype = "front",

View File

@ -1,14 +1,14 @@
mobs:register_mob("nssm:river_lord", { mobs:register_mob("nssm:river_lord", {
type = "monster", type = "monster",
hp_max = 36, hp_max = 210,
hp_min = 27, hp_min = 210,
collisionbox = {-0.6, 0, -0.6, 0.6, 3, 0.6}, collisionbox = {-0.6, 0, -0.6, 0.6, 3, 0.6},
visual = "mesh", visual = "mesh",
mesh = "river_lord.x", mesh = "river_lord.x",
textures = {{"river_lord.png"}}, textures = {{"river_lord.png"}},
visual_size = {x=4, y=4}, visual_size = {x=4, y=4},
makes_footstep_sound = true, makes_footstep_sound = true,
view_range = 15, view_range = 30,
walk_velocity = 0.6, walk_velocity = 0.6,
rotate = 270, rotate = 270,
fear_height = 4, fear_height = 4,
@ -16,18 +16,18 @@ mobs:register_mob("nssm:river_lord", {
--[[sounds = { --[[sounds = {
random = "river_lord", random = "river_lord",
},]] },]]
damage = 6, damage = 10,
jump = true, jump = true,
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 3, min = 70,
max = 4}, max = 90},
}, },
armor = 70, armor = 50,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 5, lava_damage = 2,
reach = 8, reach = 8,
light_damage = 0, light_damage = 0,
--group_attack=true, --group_attack=true,

View File

@ -4,7 +4,6 @@ mobs:register_mob("nssm:salamander", {
hp_min = 24, hp_min = 24,
collisionbox = {-0.4, 0, -0.4, 0.4, 0.4, 0.4}, collisionbox = {-0.4, 0, -0.4, 0.4, 0.4, 0.4},
visual = "mesh", visual = "mesh",
rotate = 270,
mesh = "salamander.x", mesh = "salamander.x",
textures = {{"salamander.png"}}, textures = {{"salamander.png"}},
visual_size = {x=10, y=10}, visual_size = {x=10, y=10},
@ -26,6 +25,7 @@ mobs:register_mob("nssm:salamander", {
water_damage = 10, water_damage = 10,
lava_damage = 0, lava_damage = 0,
light_damage = 0, light_damage = 0,
follow = {"farming:wheat"},
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,
knock_back=2, knock_back=2,
@ -57,5 +57,129 @@ mobs:register_mob("nssm:salamander", {
swim_start = 260, swim_start = 260,
swim_end = 300, swim_end = 300,
]] ]]
} },
custom_attack = function(self)
local p = self.attack:getpos()
local s = self.object:getpos()
local ss = {x = s.x, y = s.y +0.5, z = s.z}
local pp = {x = p.x, y = p.y +1.5, z = p.z}
local vel = vector.subtract(pp,ss)
set_animation(self, "punch")
if minetest.line_of_sight({x = p.x, y = p.y +1.5, z = p.z}, {x = s.x, y = s.y +1.5, z = s.z}) == true then
-- play attack sound
if self.sounds.attack then
minetest.sound_play(self.sounds.attack, {
object = self.object,
max_hear_distance = self.sounds.distance
})
end
-- punch player
self.attack:punch(self.object, 1.0, {
full_punch_interval=1.0,
damage_groups = {fleshy=self.damage}
}, nil)
end
minetest.add_particlespawner(
25, --amount
0.5, --time
ss, --minpos
ss, --maxpos
vector.multiply(vel, 2), --minvel
vector.multiply(vel, 4), --maxvel
{x=0,y=0,z=0}, --minacc
{x=0,y=0,z=0}, --maxacc
1, --minexptime
1.5, --maxexptime
5, --minsize
10, --maxsize
true, --collisiondetection
"phoenix_fire.png" --texture
)
end,
do_custom = function(self, dtime)
-- set needed values if not already present
if not self.v2 then
self.v2 = 0
self.max_speed_forward = 5
self.max_speed_reverse = 2
self.accel = 6
self.terrain_type = 3
self.driver_attach_at = {x = 0, y = 1.4, z = -0.8}
self.driver_eye_offset = {x = 0, y = -2, z = 0}
self.driver_scale = {x = 0.09, y = 0.09}
end
-- if driver present allow control of horse
if self.driver then
--mobs.fly(self, dtime, 6, true, "nssm:lava_block_bomb", "run", "stand")
mobs.drive(self, "run", "stand", false, dtime)
return false -- skip rest of mob functions
end
return true
end,
on_die = function(self, pos)
-- drop saddle when horse is killed while riding
-- also detach from horse properly
if self.driver then
minetest.add_item(pos, "mobs:saddle")
mobs.detach(self.driver, {x = 1, y = 0, z = 1})
end
end,
on_rightclick = function(self, clicker)
-- make sure player is clicking
if not clicker or not clicker:is_player() then
return
end
-- feed, tame or heal horse
if mobs:feed_tame(self, clicker, 10, true, true) then
return
end
-- make sure tamed horse is being clicked by owner only
if self.tamed and self.owner == clicker:get_player_name() then
local inv = clicker:get_inventory()
-- detatch player already riding horse
if self.driver and clicker == self.driver then
mobs.detach(clicker, {x = 1, y = 0, z = 1})
-- add saddle back to inventory
if inv:room_for_item("main", "mobs:saddle") then
inv:add_item("main", "mobs:saddle")
else
minetest.add_item(clicker.getpos(), "mobs:saddle")
end
-- attach player to horse
elseif not self.driver
and clicker:get_wielded_item():get_name() == "mobs:saddle" then
self.object:set_properties({stepheight = 1.1})
mobs.attach(self, clicker)
-- take saddle from inventory
inv:remove_item("main", "mobs:saddle")
end
end
-- used to capture horse with magic lasso
mobs:capture_mob(self, clicker, 0, 0, 80, false, nil)
end
}) })

View File

@ -23,7 +23,7 @@ mobs:register_mob("nssm:sand_bloco", {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 1, min = 1,
max = 1,}, max = 2,},
{name = "default:sandstone", {name = "default:sandstone",
chance = 1, chance = 1,
min = 2, min = 2,
@ -38,8 +38,9 @@ mobs:register_mob("nssm:sand_bloco", {
water_damage = 10, water_damage = 10,
lava_damage = 1, lava_damage = 1,
light_damage = 0, light_damage = 0,
suffocation = 2,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
knock_back=2, knock_back=2,
blood_texture="stone_blood.png", blood_texture="stone_blood.png",
on_rightclick = nil, on_rightclick = nil,

View File

@ -36,8 +36,8 @@ mobs:register_mob("nssm:sandworm", {
}, },
armor = 60, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 5, water_damage = 12,
lava_damage = 10, lava_damage = 15,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,

View File

@ -1,13 +1,13 @@
mobs:register_mob("nssm:scrausics", { mobs:register_mob("nssm:scrausics", {
type = "monster", type = "monster",
hp_max = 25, hp_max = 21,
hp_min = 22, hp_min = 20,
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",
mesh = "scrausics.x", mesh = "scrausics.x",
textures = {{"scrausics.png"}}, textures = {{"scrausics.png"}},
visual_size = {x=10, y=10}, visual_size = {x=10, y=10},
view_range = 35, view_range = 30,
walk_velocity = 2, walk_velocity = 2,
run_velocity = 3, run_velocity = 3,
fall_speed = 0, fall_speed = 0,
@ -35,8 +35,7 @@ mobs:register_mob("nssm:scrausics", {
lava_damage = 5, lava_damage = 5,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals = false,
follow = {"farming:wheat"},
knock_back=2, knock_back=2,
blood_texture="nssm_blood.png", blood_texture="nssm_blood.png",
on_rightclick = nil, on_rightclick = nil,
@ -58,85 +57,5 @@ mobs:register_mob("nssm:scrausics", {
die_end = 310, die_end = 310,
punch2_start = 60, punch2_start = 60,
punch2_end = 100, punch2_end = 100,
}, }
do_custom = function(self, dtime)
-- set needed values if not already present
if not self.v2 then
self.v2 = 0
self.max_speed_forward = 6
self.max_speed_reverse = 2
self.accel = 6
self.terrain_type = 3
self.driver_attach_at = {x = -0.05, y = 1, z = 0}
self.driver_eye_offset = {x = 0, y = -2, z = 0}
self.driver_scale = {x = 0.09, y = 0.09}
end
-- if driver present allow control of horse
if self.driver then
mobs.drive(self, "punch2", "stand", true, dtime)
return false -- skip rest of mob functions
end
return true
end,
on_die = function(self, pos)
-- drop saddle when horse is killed while riding
-- also detach from horse properly
if self.driver then
minetest.add_item(pos, "mobs:saddle")
mobs.detach(self.driver, {x = 1, y = 0, z = 1})
end
end,
on_rightclick = function(self, clicker)
-- make sure player is clicking
if not clicker or not clicker:is_player() then
return
end
-- feed, tame or heal horse
if mobs:feed_tame(self, clicker, 10, true, true) then
return
end
-- make sure tamed horse is being clicked by owner only
if self.tamed and self.owner == clicker:get_player_name() then
local inv = clicker:get_inventory()
-- detatch player already riding horse
if self.driver and clicker == self.driver then
mobs.detach(clicker, {x = 1, y = 0, z = 1})
-- add saddle back to inventory
if inv:room_for_item("main", "mobs:saddle") then
inv:add_item("main", "mobs:saddle")
else
minetest.add_item(clicker.getpos(), "mobs:saddle")
end
-- attach player to horse
elseif not self.driver
and clicker:get_wielded_item():get_name() == "mobs:saddle" then
self.object:set_properties({stepheight = 1.1})
mobs.attach(self, clicker)
-- take saddle from inventory
inv:remove_item("main", "mobs:saddle")
end
end
-- used to capture horse with magic lasso
mobs:capture_mob(self, clicker, 0, 0, 80, false, nil)
end
}) })

View File

@ -32,7 +32,7 @@ mobs:register_mob("nssm:signosigno", {
lava_damage = 2, lava_damage = 2,
light_damage = 1, light_damage = 1,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
knock_back=4, knock_back=4,
blood_texture="morparticle.png", blood_texture="morparticle.png",
on_rightclick = nil, on_rightclick = nil,

View File

@ -1,14 +1,14 @@
mobs:register_mob("nssm:silver_sandonisc", { mobs:register_mob("nssm:silver_sandonisc", {
type = "monster", type = "monster",
hp_max = 33, hp_max = 23,
hp_min = 25, hp_min = 21,
collisionbox = {-0.4, -0.2, -0.4, 0.4, 1, 0.4}, collisionbox = {-0.4, -0.2, -0.4, 0.4, 1, 0.4},
visual = "mesh", visual = "mesh",
mesh = "silver_sandonisc.x", mesh = "silver_sandonisc.x",
textures = {{"silver_sandonisc.png"}}, textures = {{"silver_sandonisc.png"}},
visual_size = {x=8, y=8}, visual_size = {x=8, y=8},
makes_footstep_sound = false, makes_footstep_sound = false,
view_range = 17, view_range = 24,
rotate = 270, rotate = 270,
reach = 5, reach = 5,
fear_height = 3, fear_height = 3,
@ -26,14 +26,14 @@ mobs:register_mob("nssm:silver_sandonisc", {
min = 2, min = 2,
max = 3,}, max = 3,},
}, },
armor = 60, armor = 30,
drawtype = "front", drawtype = "front",
water_damage = 5, water_damage = 5,
lava_damage = 10, lava_damage = 15,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=false,
knock_back=2, knock_back=1,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
stepheight=1.1, stepheight=1.1,
on_rightclick = nil, on_rightclick = nil,

101
mobs/silversand_dragon.lua Normal file
View File

@ -0,0 +1,101 @@
mobs:register_mob("nssm:silversand_dragon", {
type = "monster",
hp_max = 160,
hp_min = 160,
collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65},
visual = "mesh",
mesh = "silversand_dragon.x",
textures = {{"silversand_dragon.png"}},
visual_size = {x=18, y=18},
view_range = 40,
lifetimer = 500,
rotate = 270,
walk_velocity = 1,
run_velocity = 3,
stepheight = 2.1,
--[[sounds = {
random = "silversand_dragon",
distance = 45,
},]]
damage = 1,
jump = false,
drops = {
{name = "nssm:life_energy",
chance = 1,
min = 70,
max = 80,},
{name = "nssm:sun_feather",
chance = 1,
min = 1,
max = 1,},
},
armor = 40,
drawtype = "front",
water_damage = 3,
lava_damage = 3,
light_damage = 0,
blood_texture="silversand_particle.png",
blood_amount=50,
on_rightclick = nil,
attack_type = "dogfight",
reach = 15,
shoot_interval = 4,
animation = {
speed_normal = 25,
speed_run = 50,
speed_die = 20,
stand_start = 0,
stand_end = 60,
walk_start = 70,
walk_end = 110,
run_start = 70,
run_end = 110,
punch_start = 80,
punch_end = 110,
shoot_start = 80,
shoot_end = 110,
die_start = 120,
die_end = 140,
},
custom_attack = function(self)
local p = self.attack:getpos()
local s = self.object:getpos()
local ss = {x = s.x, y = s.y +0.5, z = s.z}
local pp = {x = p.x, y = p.y +1.5, z = p.z}
local vel = vector.subtract(pp,ss)
set_animation(self, "punch")
if minetest.line_of_sight({x = p.x, y = p.y +1.5, z = p.z}, {x = s.x, y = s.y +1.5, z = s.z}) == true then
-- play attack sound
if self.sounds.attack then
minetest.sound_play(self.sounds.attack, {
object = self.object,
max_hear_distance = self.sounds.distance
})
end
-- punch player
self.attack:punch(self.object, 1.0, {
full_punch_interval=1.0,
damage_groups = {fleshy=self.damage}
}, nil)
end
minetest.add_particlespawner(
225, --amount
0.5, --time
ss, --minpos
ss, --maxpos
vector.multiply(vel, 2), --minvel
vector.multiply(vel, 4), --maxvel
{x=0,y=0,z=0}, --minacc
{x=0,y=0,z=0}, --maxacc
4, --minexptime
5, --maxexptime
5, --minsize
10, --maxsize
true, --collisiondetection
"silversand_particle.png" --texture
)
end
})

View File

@ -44,6 +44,7 @@ mobs:register_mob("nssm:snow_biter", {
water_damage = 0, water_damage = 0,
lava_damage = 30, lava_damage = 30,
light_damage = 0, light_damage = 0,
suffocation = 4,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,
knock_back=4, knock_back=4,

View File

@ -1,5 +1,6 @@
mobs:register_mob("nssm:spiderduck", { mobs:register_mob("nssm:spiderduck", {
type = "monster", type = "monster",
docile_by_day = true,
hp_max = 27, hp_max = 27,
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},
@ -43,7 +44,7 @@ mobs:register_mob("nssm:spiderduck", {
armor = 80, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 2, water_damage = 2,
lava_damage = 5, lava_damage = 15,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,

View File

@ -33,13 +33,13 @@ mobs:register_mob("nssm:stone_eater", {
}, },
armor = 40, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 7,
lava_damage = 1, lava_damage = 1,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,
knock_back=0, knock_back=0,
blood_texture="stone_blood.png", blood_texture="stone_blood.png",
immune_to={{'default:sword_stone', -2},{'default:stone', -2}, {'default:cobble', -2}, {'default:axe_stone', -2}, {'default:shovel_stone', -2}, {'default:pick_stone', -2}}, immune_to={{'default:sword_stone', -5},{'default:stone', -6}, {'default:cobble', -2}, {'default:axe_stone', -5}, {'default:shovel_stone', -2}, {'default:pick_stone', -2}},
light_damage = 0, light_damage = 0,
on_rightclick = nil, on_rightclick = nil,
attack_type = "dogfight", attack_type = "dogfight",

View File

@ -40,7 +40,8 @@ mobs:register_mob("nssm:swimming_duck", {
armor = 80, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 0, water_damage = 0,
lava_damage = 10, lava_damage = 15,
suffocation = 4,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,

View File

@ -1,5 +1,6 @@
mobs:register_mob("nssm:tarantula", { mobs:register_mob("nssm:tarantula", {
type = "monster", type = "monster",
docile_by_day = true,
hp_max = 50, hp_max = 50,
hp_min = 50, 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},
@ -28,7 +29,7 @@ mobs:register_mob("nssm:tarantula", {
armor = 60, armor = 60,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 1,
lava_damage = 7, lava_damage = 4,
reach = 3, reach = 3,
knock_back=0, knock_back=0,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",
@ -79,8 +80,8 @@ mobs:register_mob("nssm:tarantula", {
mobs:register_mob("nssm:tarantula_propower", { mobs:register_mob("nssm:tarantula_propower", {
type = "monster", type = "monster",
hp_max = 90, hp_max = 120,
hp_min = 90, hp_min = 120,
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",
@ -100,8 +101,8 @@ mobs:register_mob("nssm:tarantula_propower", {
drops = { drops = {
{name = "nssm:life_energy", {name = "nssm:life_energy",
chance = 1, chance = 1,
min = 16, min = 80,
max = 18,}, max = 110,},
{name = "nssm:spider_leg", {name = "nssm:spider_leg",
chance = 1, chance = 1,
min = 1, min = 1,
@ -117,12 +118,12 @@ mobs:register_mob("nssm:tarantula_propower", {
{name = "nssm:spider_meat", {name = "nssm:spider_meat",
chance = 2, chance = 2,
min = 1, min = 1,
max = 2,}, max = 23,},
}, },
armor = 40, armor = 40,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 0,
lava_damage = 3, lava_damage = 0,
reach = 4, reach = 4,
knock_back=0, knock_back=0,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood_blue.png",

View File

@ -24,6 +24,10 @@ mobs:register_mob("nssm:tartacacia", {
chance = 1, chance = 1,
min = 33, min = 33,
max = 43}, max = 43},
{name = "nssm:earth_sword",
chance = 1,
min = 1,
max = 1},
}, },
armor = 50, armor = 50,
drawtype = "front", drawtype = "front",

View File

@ -1,6 +1,6 @@
mobs:register_mob("nssm:uloboros", { mobs:register_mob("nssm:uloboros", {
type = "monster", type = "monster",
hp_max = 28, hp_max = 23,
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",
@ -38,8 +38,8 @@ mobs:register_mob("nssm:uloboros", {
}, },
armor = 80, armor = 80,
drawtype = "front", drawtype = "front",
water_damage = 1, water_damage = 2,
lava_damage = 7, lava_damage = 17,
light_damage = 0, light_damage = 0,
group_attack=true, group_attack=true,
attack_animals=true, attack_animals=true,

File diff suppressed because it is too large Load Diff

17033
models/pelagia.x Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

38548
models/silversand_dragon.x Normal file

File diff suppressed because it is too large Load Diff

View File

@ -101,6 +101,24 @@ if minetest.get_modpath("nssbombs") then
particles = true, particles = true,
}, },
}) })
nssbombs:register_throwitem("nssm:portal_bomb", "Morlendor Portal Bomb", {
textures = "portal_bomb.png",
recipe_number = 1,
recipe = {
{'nssm:slothful_soul_fragment', 'nssm:slothful_soul_fragment', 'nssm:slothful_soul_fragment'},
{'nssm:slothful_soul_fragment', 'nssm:black_powder', 'nssm:slothful_soul_fragment'},
{'nssm:slothful_soul_fragment', 'nssm:slothful_soul_fragment', 'nssm:slothful_soul_fragment'},
},
explosion = {
shape = "schematic",
radius = 9,
block = minetest.get_modpath("nssb").."/schems/portal.mts",
particles = true,
}
})
end end
nssbombs:register_throwitem("nssm:water_bomb", "Water Bomb", { nssbombs:register_throwitem("nssm:water_bomb", "Water Bomb", {
@ -306,4 +324,5 @@ if minetest.get_modpath("nssbombs") then
particles = false, particles = false,
} }
}) })
end end

83
nssm_bows.lua Normal file
View File

@ -0,0 +1,83 @@
if minetest.get_modpath("bows") then
bows.register_arrow("arrow_duck",{
description="Duck Arrow",
texture="arrow_duck.png",
damage=10,
craft_count=4,
craft={
{"","",""},
{"nssm:duck_beak","group:stick","nssm:duck_feather"},
{"","",""},
}
})
bows.register_bow("bow_felucco",{
description="Felucco Bow",
texture="bow_felucco.png",
texture_loaded="bow_felucco_loaded.png",
uses=350,
level=12,
shots=2,
craft={
{"","nssm:felucco_horn","nssm:web_string"},
{"group:stick","","nssm:web_string"},
{"","nssm:felucco_horn","nssm:web_string"}
},
})
bows.register_bow("bow_ant",{
description="Ant Bow",
texture="bow_ant.png",
texture_loaded="bow_ant_loaded.png",
uses=200,
level=10,
shots=1,
craft={
{"","nssm:ant_mandible","nssm:web_string"},
{"group:stick","","nssm:web_string"},
{"","nssm:ant_mandible","nssm:web_string"}
},
})
bows.register_bow("bow_berinhog",{
description="Berinhog Bow",
texture="bow_berinhog.png",
texture_loaded="bow_berinhog_loaded.png",
uses=400,
level=16,
shots=1,
craft={
{"","nssm:berinhog_horn","nssm:web_string"},
{"group:stick","","nssm:web_string"},
{"","nssm:berinhog_horn","nssm:web_string"}
},
})
bows.register_arrow("arrow_ice",{
description="Ice Arrow",
texture="arrow_ice.png",
damage=12,
craft_count=4,
craft={
{"","",""},
{"nssm:little_ice_tooth","group:stick","nssm:duck_feather"},
{"","",""},
}
})
bows.register_arrow("arrow_manticore",{
description="Manticore Arrow",
texture="arrow_manticore.png",
damage=15,
craft_count=4,
craft={
{"","",""},
{"nssm:manticore_spine","group:stick","nssm:duck_feather"},
{"","",""},
}
})
end

File diff suppressed because it is too large Load Diff

596
nssm_recipes.lua Normal file
View File

@ -0,0 +1,596 @@
--recipes
minetest.register_craft({
output = 'nssm:web_string',
recipe = {
{'nssm:web', 'nssm:web'},
{'nssm:web', 'nssm:web'},
}
})
minetest.register_craft({
output = 'nssm:dense_web_string',
recipe = {
{'nssm:web_string', 'nssm:web_string', 'nssm:web_string'},
{'nssm:web_string', 'nssm:web_string', 'nssm:web_string'},
{'nssm:web_string', 'nssm:web_string', 'nssm:web_string'},
}
})
minetest.register_craft({
output = 'nssm:mantis_sword',
recipe = {
{'nssm:mantis_claw'},
{'nssm:mantis_claw'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:masticone_fang_sword',
recipe = {
{'nssm:masticone_fang', 'nssm:masticone_fang'},
{'nssm:masticone_fang', ''},
{'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:black_ice_tooth',
type = "shapeless",
recipe = {'nssm:digested_sand', 'nssm:ice_tooth'},
})
minetest.register_craft({
output = 'nssm:web 4',
type = "shapeless",
recipe = {'nssm:silk_gland'},
})
minetest.register_craft({
output = 'nssm:crab_light_mace',
recipe = {
{'nssm:crab_chela'},
{'group:stick'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:crab_heavy_mace',
recipe = {
{'', 'nssm:crab_chela', ''},
{'nssm:crab_chela', 'nssm:crab_chela', 'nssm:crab_chela'},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:energy_globe',
recipe = {
{'nssm:life_energy', 'nssm:life_energy', 'nssm:life_energy'},
{'nssm:life_energy', 'nssm:life_energy', 'nssm:life_energy'},
{'nssm:life_energy', 'nssm:life_energy', 'nssm:life_energy'},
}
})
minetest.register_craft({
output = 'nssm:great_energy_globe',
recipe = {
{'nssm:energy_globe', 'nssm:energy_globe', 'nssm:energy_globe'},
{'nssm:energy_globe', 'nssm:energy_globe', 'nssm:energy_globe'},
{'nssm:energy_globe', 'nssm:energy_globe', 'nssm:energy_globe'},
}
})
minetest.register_craft({
output = 'nssm:superior_energy_globe',
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', 'nssm:great_energy_globe', 'nssm:great_energy_globe'},
}
})
minetest.register_craft({
output = 'nssm:mese_egg',
type = "shapeless",
recipe = {'nssm:tarantula_chelicerae', 'nssm:helmet_masticone_crowned', 'nssm:eyed_tentacle','nssm:black_ice_tooth', 'nssm:superior_energy_globe', 'nssm:sky_feather','nssm:cursed_pumpkin_seed', 'nssm:ant_queen_abdomen', 'nssm:snake_scute'}
})
--[[minetest.register_craft({
output = 'nssm:masticone_skull_crowned',
recipe = {
{'', 'nssm:king_duck_crown', ''},
{'', 'nssm:masticone_skull', ''},
{'', '', ''},
}
})]]
minetest.register_craft({
output = 'nssm:eyed_tentacle',
type = "shapeless",
recipe = {'nssm:lava_titan_eye','nssm:tentacle_curly'}
})
minetest.register_craft({
type = "shapeless",
output = "nssm:life_energy 2",
recipe = {"nssm:life_energy", "nssm:masticone_core"},
replacements = {{ "nssm:masticone_core", "nssm:masticone_core"}},
})
minetest.register_craft({
output = 'nssm:energy_globe 9',
type = "shapeless",
recipe = {'nssm:great_energy_globe'}
})
minetest.register_craft({
output = 'nssm:great_energy_globe 9',
type = "shapeless",
recipe = {'nssm:superior_energy_globe'}
})
--[[
minetest.register_craft({
output = 'nssm:masticone_skull',
recipe = {
{'nssm:masticone_skull_fragments', 'nssm:masticone_skull_fragments', 'nssm:masticone_skull_fragments'},
{'nssm:masticone_skull_fragments', 'nssm:masticone_skull_fragments', 'nssm:masticone_skull_fragments'},
{'nssm:masticone_skull_fragments', 'nssm:masticone_skull_fragments', 'nssm:masticone_skull_fragments'},
}
})]]
minetest.register_craft({
output = 'nssm:rope 12',
recipe = {
{'nssm:web_string'},
{'nssm:web_string'},
{'nssm:web_string'},
}
})
minetest.register_craft({
output = 'nssm:sky_feather',
type = "shapeless",
recipe = {'nssm:sun_feather','nssm:night_feather'}
})
minetest.register_craft({
output = 'nssm:sun_sword',
recipe = {
{'default:diamond'},
{'nssm:sun_feather'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:night_sword',
recipe = {
{'default:diamond'},
{'nssm:night_feather'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:sand_sword',
recipe = {
{'nssm:digested_sand'},
{'default:desert_stone'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:frozing_knife',
recipe = {
{'bucket:bucket_water'},
{'nssm:ice_tooth'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:melting_knife',
recipe = {
{'bucket:bucket_lava'},
{'nssm:ice_tooth'},
{'group:stick'},
}
})
function nssm_register_recip (ingredient, dish, tictac)
minetest.register_craft({
type = "cooking",
output = "nssm:"..dish,
recipe = "nssm:"..ingredient,
cooktime = tictac,
})
end
nssm_register_recip ('worm_flesh', 'roasted_worm_flesh', 12)
nssm_register_recip ('duck_legs', 'roasted_duck_legs', 6)
nssm_register_recip ('spider_leg', 'roasted_spider_leg', 6)
nssm_register_recip ('felucco_steak', 'roasted_felucco_steak', 10)
nssm_register_recip ('werewolf_leg', 'roasted_werewolf_leg', 10)
nssm_register_recip ('brain', 'roasted_brain', 6)
nssm_register_recip ('amphibian_heart', 'roasted_amphibian_heart', 6)
nssm_register_recip ('tentacle', 'roasted_tentacle', 6)
nssm_register_recip ('frosted_amphibian_heart', 'amphibian_heart', 8)
nssm_register_recip ('heron_leg', 'chichibios_heron_leg', 20)
nssm_register_recip ('raw_scrausics_wing', 'spicy_scrausics_wing', 12)
nssm_register_recip ('ant_leg', 'roasted_ant_leg', 6)
nssm_register_recip ('crocodile_tail', 'roasted_crocodile_tail', 16)
nssm_register_recip ('dolidrosaurus_fin', 'roasted_dolidrosaurus_fin', 8)
nssm_register_recip ('amphibian_ribs', 'roasted_amphibian_ribs', 12)
nssm_register_recip ('mantis_meat', 'roasted_mantis_meat', 6)
nssm_register_recip ('spider_meat', 'roasted_spider_meat', 6)
nssm_register_recip ('silk_gland', 'roasted_silk_gland', 4)
nssm_register_recip ('larva_juice', 'larva_soup', 20)
minetest.register_craft({
output = 'nssm:larva_juice',
type = "shapeless",
recipe = {'nssm:larva_meat','bucket:bucket_empty'}
})
minetest.register_craft({
output = 'nssm:ant_sword',
recipe = {
{'nssm:ant_mandible'},
{'nssm:ant_mandible'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:ant_billhook',
recipe = {
{'nssm:ant_mandible', 'nssm:ant_mandible'},
{'nssm:ant_mandible', 'group:stick'},
{'', 'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:ant_shovel',
recipe = {
{'nssm:ant_mandible'},
{'group:stick'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:duck_beak_shovel',
recipe = {
{'nssm:duck_beak'},
{'group:stick'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:duck_beak_pick',
recipe = {
{'nssm:duck_beak', 'nssm:duck_beak', 'nssm:duck_beak'},
{'', 'group:stick', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:stone_club',
recipe = {
{'nssm:bloco_skin', 'nssm:lava_titan_eye', 'nssm:bloco_skin'},
{'nssm:bloco_skin', 'nssm:tentacle_curly', 'nssm:bloco_skin'},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:lava_sword',
recipe = {
{'', 'default:obsidianWow', ''},
{'', 'nssm:lava_titan_eye', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:earth_sword',
recipe = {
{'', 'nssm:earth_heart', ''},
{'', 'default:dirt', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:ice_sword',
recipe = {
{'', 'nssm:ice_tooth', ''},
{'', 'nssm:little_ice_tooth', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:earth_warhammer',
recipe = {
{'nssm:earth_heart', 'default:dirt', 'nssm:earth_heart'},
{'', 'group:stick', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:sky_iron 30',
recipe = {
{'default:steelblock', 'default:steelblock', 'default:steelblock'},
{'default:steelblock', 'nssm:sky_feather', 'default:steelblock'},
{'default:steelblock', 'default:steelblock', 'default:steelblock'},
}
})
minetest.register_craft({
output = 'nssm:stoneater_pick',
recipe = {
{'nssm:stoneater_mandible', 'nssm:stoneater_mandible', 'nssm:stoneater_mandible'},
{'', 'group:stick', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:felucco_knife',
recipe = {
{'nssm:felucco_horn'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:little_ice_tooth_knife',
recipe = {
{'nssm:little_ice_tooth'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:manticore_spine_knife',
recipe = {
{'nssm:manticore_spine'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:ant_pick',
recipe = {
{'nssm:ant_mandible', 'nssm:ant_mandible', 'nssm:ant_mandible'},
{'', 'group:stick', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:mantis_pick',
recipe = {
{'nssm:mantis_claw', 'nssm:mantis_claw', 'nssm:mantis_claw'},
{'', 'group:stick', ''},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:mantis_axe',
recipe = {
{'nssm:mantis_claw', 'nssm:mantis_claw'},
{'nssm:mantis_claw', 'group:stick'},
{'', 'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:tarantula_warhammer',
recipe = {
{'nssm:tarantula_chelicerae'},
{'group:stick'},
{'group:stick'},
}
})
minetest.register_craft({
output = 'nssm:mantis_battleaxe',
recipe = {
{'nssm:mantis_claw', 'nssm:mantis_claw', 'nssm:mantis_claw'},
{'nssm:mantis_claw', 'group:stick', 'nssm:mantis_claw'},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:life_wand',
recipe = {
{'nssm:life_energy', 'nssm:energy_globe', 'nssm:life_energy'},
{'group:wood', 'group:stick', 'group:wood'},
{'', 'group:stick', ''},
}
})
minetest.register_craft({
output = 'nssm:stone_wand',
recipe = {
{'group:stone', 'nssm:energy_globe', 'group:stone'},
{'group:wood', 'group:stick', 'group:wood'},
{'', 'group:stick', ''},
}
})
--[[minetest.register_craft({
output = 'nssm:nature_wand',
recipe = {
{'group:leaves', 'nssm:energy_globe', 'group:leaves'},
{'group:wood', 'group:stick', 'group:wood'},
{'', 'group:stick', ''},
}
})]]
if minetest.get_modpath("nssb") then
minetest.register_craft({
output = 'nssm:axe_of_pride',
recipe = {
{'nssm:proud_moranga', 'nssm:proud_moranga', 'nssm:proud_moranga'},
{'nssm:proud_moranga', 'nssb:moranga_ingot', ''},
{'', 'nssb:moranga_ingot', ''},
}
})
minetest.register_craft({
output = 'nssm:cold_stars',
recipe = {
{'nssm:morelentir_dust', 'nssm:morelentir_dust', 'nssm:morelentir_dust'},
{'nssm:morelentir_dust', 'default:mese_block', 'nssm:morelentir_dust'},
{'nssm:morelentir_dust', 'nssm:morelentir_dust', 'nssm:morelentir_dust'},
}
})
minetest.register_craft({
output = 'nssm:gratuitousness_battleaxe',
recipe = {
{'nssm:greedy_moranga', 'nssm:greedy_moranga', 'nssm:greedy_moranga'},
{'nssm:greedy_moranga', 'nssb:moranga_ingot', 'nssm:greedy_moranga'},
{'', 'nssb:moranga_ingot', ''},
}
})
minetest.register_craft({
output = 'nssm:sword_of_envy',
recipe = {
{'nssm:envious_moranga'},
{'nssm:envious_moranga'},
{'nssb:moranga_ingot'},
}
})
minetest.register_craft({
output = 'nssm:sword_of_eagerness',
recipe = {
{'nssm:slothful_moranga'},
{'nssm:slothful_moranga'},
{'nssb:moranga_ingot'},
}
})
minetest.register_craft({
output = 'nssm:falchion_of_eagerness',
recipe = {
{'nssm:slothful_moranga','nssm:slothful_moranga'},
{'nssm:slothful_moranga', ''},
{'nssb:moranga_ingot',''},
}
})
minetest.register_craft({
output = 'nssm:sword_of_gluttony',
recipe = {
{'nssm:gluttonous_moranga', 'nssm:gluttonous_moranga', 'nssm:gluttonous_moranga'},
{'', 'nssm:gluttonous_moranga', ''},
{'', 'nssb:moranga_ingot', ''},
}
})
function nssm_register_moranga (viz)
minetest.register_craft({
output = 'nssm:'.. viz ..'_moranga',
recipe = {
{'nssm:'.. viz ..'_soul_fragment', 'nssb:moranga_ingot', 'nssm:'.. viz ..'_soul_fragment'},
{'nssb:moranga_ingot', 'nssm:'.. viz ..'_soul_fragment', 'nssb:moranga_ingot'},
{'nssm:'.. viz ..'_soul_fragment', 'nssb:moranga_ingot', 'nssm:'.. viz ..'_soul_fragment'},
}
})
end
nssm_register_moranga ("lustful")
nssm_register_moranga ("greedy")
nssm_register_moranga ("slothful")
nssm_register_moranga ("wrathful")
nssm_register_moranga ("gluttonous")
nssm_register_moranga ("envious")
nssm_register_moranga ("proud")
end
--Eggs recipes
minetest.register_craft({
output = 'nssm:duck',
recipe = {
{'', 'nssm:duck_beak', ''},
{'nssm:duck_feather', 'nssm:energy_globe', 'nssm:duck_feather'},
{'nssm:duck_legs', 'nssm:duck_feather', 'nssm:duck_legs'},
}
})
minetest.register_craft({
output = 'nssm:flying_duck',
recipe = {
{'nssm:duck_feather', 'nssm:duck_beak', 'nssm:duck_feather'},
{'nssm:duck_feather', 'nssm:energy_globe', 'nssm:duck_feather'},
{'nssm:duck_legs', 'nssm:duck_feather', 'nssm:duck_legs'},
}
})
minetest.register_craft({
output = 'nssm:enderduck',
recipe = {
{'nssm:black_duck_feather', 'nssm:duck_beak', 'nssm:black_duck_feather'},
{'nssm:duck_legs', 'nssm:energy_globe', 'nssm:duck_legs'},
{'nssm:duck_legs', '', 'nssm:duck_legs'},
}
})
minetest.register_craft({
output = 'nssm:swimming_duck',
recipe = {
{'nssm:duck_feather', 'nssm:duck_beak', 'nssm:duck_feather'},
{'nssm:duck_legs', 'nssm:energy_globe', 'nssm:duck_legs'},
{'nssm:duck_feather', 'nssm:duck_feather', 'nssm:duck_feather'},
}
})
minetest.register_craft({
output = 'nssm:spiderduck',
recipe = {
{'nssm:duck_legs', 'nssm:duck_beak', 'nssm:duck_legs'},
{'nssm:black_duck_feather', 'nssm:energy_globe', 'nssm:black_duck_feather'},
{'nssm:duck_legs', 'nssm:black_duck_feather', 'nssm:duck_legs'},
}
})
minetest.register_craft({
output = 'nssm:duckking_egg',
recipe = {
{'', 'nssm:helmet_crown', ''},
{'nssm:duck_feather', 'nssm:duck_beak', 'nssm:duck_feather'},
{'nssm:duck_legs', 'nssm:superior_energy_globe', 'nssm:duck_legs'},
}
})
minetest.register_craft({
output = 'nssm:bloco',
recipe = {
{'nssm:bloco_skin', 'nssm:bloco_skin', 'nssm:bloco_skin'},
{'nssm:bloco_skin', 'nssm:energy_globe', 'nssm:bloco_skin'},
{'nssm:bloco_skin', 'nssm:bloco_skin', 'nssm:bloco_skin'},
}
})

1416
nssm_tools.lua Normal file

File diff suppressed because it is too large Load Diff

BIN
sounds/albino_spider.ogg Normal file

Binary file not shown.

BIN
sounds/berinhog.ogg Normal file

Binary file not shown.

BIN
sounds/black_scorpion.ogg Normal file

Binary file not shown.

BIN
sounds/chog.ogg Normal file

Binary file not shown.

BIN
sounds/flust.ogg Normal file

Binary file not shown.

BIN
sounds/kele.ogg Normal file

Binary file not shown.

BIN
sounds/pumpkid.ogg Normal file

Binary file not shown.

BIN
sounds/river_lord.ogg Normal file

Binary file not shown.

BIN
sounds/salamander.ogg Normal file

Binary file not shown.

BIN
sounds/tartacacia.ogg Normal file

Binary file not shown.

View File

@ -40,10 +40,10 @@ if mm ~= 0 then
-- ICE -- ICE
mobs:spawn_specific("nssm:icelamander", {"default:snowblock", "default:ice"}, {"default:snowblock", "default:ice"}, 0, 20, 120, 35000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:icelamander", {"default:snowblock", "default:ice"}, {"default:snowblock", "default:ice"}, 0, 20, 120, 35000000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:icesnake", {"default:snowblock", "default:ice", "default:dirt_with_snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 30, 6000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:icesnake", {"default:snowblock", "default:ice", "default:dirt_with_snow", "default:snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 30, 6000000/mm, 1, -31000, 31000)
--mobs:spawn_specific("nssm:white_werewolf", {"default:dirt_with_snow","default:snowblock"}, {"air"}, 0, 20, 60, 9000000/mm, 1, 20, 31000) --mobs:spawn_specific("nssm:white_werewolf", {"default:dirt_with_snow","default:snowblock"}, {"air"}, 0, 20, 60, 9000000/mm, 1, 20, 31000)
mobs:spawn_specific("nssm:snow_biter", {"default:snowblock", "default:ice", "default:dirt_with_snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 30, 6000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:snow_biter", {"default:snowblock", "default:ice", "default:dirt_with_snow", "default:snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 30, 6000000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:icelizard", {"default:snowblock", "default:ice", "default:dirt_with_snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 30, 6000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:icelizard", {"default:snowblock", "default:ice", "default:dirt_with_snow", "default:snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 30, 6000000/mm, 1, -31000, 31000)
-- FOREST -- FOREST
mobs:spawn_specific("nssm:larva", {"default:dirt_with_grass"}, {"default:tree","default:aspen_tree"}, 0, 20, 40, 200000/mm, 1, -31000, 140) mobs:spawn_specific("nssm:larva", {"default:dirt_with_grass"}, {"default:tree","default:aspen_tree"}, 0, 20, 40, 200000/mm, 1, -31000, 140)
@ -51,11 +51,11 @@ if mm ~= 0 then
mobs:spawn_specific("nssm:crystal_slug", {"default:leaves", "default:aspen_leaves"}, {"air"}, 0, 20, 40, 4000000/mm, 1, -31000, 140) mobs:spawn_specific("nssm:crystal_slug", {"default:leaves", "default:aspen_leaves"}, {"air"}, 0, 20, 40, 4000000/mm, 1, -31000, 140)
-- PINE FOREST -- PINE FOREST
mobs:spawn_specific("nssm:pumpboom_small", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 30, 600000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:pumpboom_small", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock", "default:snow"}, {"default:pine_tree"}, 0, 20, 30, 800000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:pumpboom_medium", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 30, 800000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:pumpboom_medium", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock", "default:snow"}, {"default:pine_tree"}, 0, 20, 30, 1000000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:pumpboom_large", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 30, 1000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:pumpboom_large", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock", "default:snow"}, {"default:pine_tree"}, 0, 20, 30, 1200000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:pumpking", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_needles", "default:pine_tree"}, 0, 12, 120, 8000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:pumpking", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock", "default:snow"}, {"default:pine_needles", "default:pine_tree"}, 0, 12, 120, 8000000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:pumpkid", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 30, 2000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:pumpkid", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock", "default:snow"}, {"default:pine_tree"}, 0, 20, 60, 3000000/mm, 1, -31000, 31000)
else else
minetest.chat_send_all("You are using a "..mm.." multiplier for mobs' spawn rate") minetest.chat_send_all("You are using a "..mm.." multiplier for mobs' spawn rate")
@ -84,10 +84,10 @@ if mm ~= 0 then
-- ICE -- ICE
mobs:spawn_specific("nssm:icelamander", {"default:snowblock", "default:ice"}, {"default:snowblock", "default:ice"}, 0, 20, 180, 220000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:icelamander", {"default:snowblock", "default:ice"}, {"default:snowblock", "default:ice"}, 0, 20, 180, 220000000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:icesnake", {"default:snowblock", "default:ice", "default:dirt_with_snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 40, 20000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:icesnake", {"default:snowblock", "default:ice", "default:dirt_with_snow", "default:snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 40, 20000000/mm, 1, -31000, 31000)
--mobs:spawn_specific("nssm:white_werewolf", {"default:dirt_with_snow","default:snowblock"}, {"air"}, 0, 20, 35, 22000000/mm, 1, 50, 31000) --mobs:spawn_specific("nssm:white_werewolf", {"default:dirt_with_snow","default:snowblock"}, {"air"}, 0, 20, 35, 22000000/mm, 1, 50, 31000)
mobs:spawn_specific("nssm:snow_biter", {"default:snowblock", "default:ice", "default:dirt_with_snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 40, 20000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:snow_biter", {"default:snowblock", "default:ice", "default:dirt_with_snow", "default:snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 40, 20000000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:icelizard", {"default:snowblock", "default:ice", "default:dirt_with_snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 40, 20000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:icelizard", {"default:snowblock", "default:ice", "default:dirt_with_snow", "default:snow"}, {"default:snowblock", "default:ice", "default:dirt_with_snow"}, 0, 20, 40, 20000000/mm, 1, -31000, 31000)
-- FOREST -- FOREST
mobs:spawn_specific("nssm:larva", {"default:dirt_with_grass"}, {"default:tree","default:aspen_tree"}, 0, 20, 40, 800000/mm, 1, -31000, 140) mobs:spawn_specific("nssm:larva", {"default:dirt_with_grass"}, {"default:tree","default:aspen_tree"}, 0, 20, 40, 800000/mm, 1, -31000, 140)
@ -95,21 +95,21 @@ if mm ~= 0 then
mobs:spawn_specific("nssm:crystal_slug", {"default:leaves", "default:aspen_leaves"}, {"air"}, 0, 20, 40, 4000000/mm, 1, -31000, 140) mobs:spawn_specific("nssm:crystal_slug", {"default:leaves", "default:aspen_leaves"}, {"air"}, 0, 20, 40, 4000000/mm, 1, -31000, 140)
-- PINE FOREST -- PINE FOREST
mobs:spawn_specific("nssm:pumpboom_small", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 80, 1400000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:pumpboom_small", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 80, 1600000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:pumpboom_medium", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 80, 1600000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:pumpboom_medium", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 80, 1800000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:pumpboom_large", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 80, 1800000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:pumpboom_large", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 80, 2000000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:pumpking", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_needles", "default:pine_tree"}, 0, 12, 120, 8000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:pumpking", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_needles", "default:pine_tree"}, 0, 12, 120, 8000000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:pumpkid", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 30, 2200000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:pumpkid", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_tree"}, 0, 20, 60, 3300000/mm, 1, -31000, 31000)
-- SAVANNA -- SAVANNA
mobs:spawn_specific("nssm:felucco", {"default:dirt_with_dry_grass"}, {"default:dirt_with_dry_grass"}, 0, 20, 80, 30000000/mm, 1, -200, 31000) mobs:spawn_specific("nssm:felucco", {"default:dirt_with_dry_grass"}, {"default:dirt_with_dry_grass"}, 0, 20, 80, 30000000/mm, 1, -200, 31000)
mobs:spawn_specific("nssm:kele", {"default:dirt_with_dry_grass"}, {"default:dirt_with_dry_grass"}, 0, 20, 80, 30000000/mm, 1, -200, 31000) mobs:spawn_specific("nssm:kele", {"default:dirt_with_dry_grass"}, {"default:dirt_with_dry_grass"}, 0, 20, 80, 30000000/mm, 1, -200, 31000)
mobs:spawn_specific("nssm:tartacacia", {"default:dirt_with_dry_grass"}, {"default:dirt_with_dry_grass"}, 0, 20, 80, 2000000000/mm, 1, -200, 31000) mobs:spawn_specific("nssm:tartacacia", {"default:dirt_with_dry_grass"}, {"default:dirt_with_dry_grass"}, 0, 20, 180, 2000000000/mm, 1, -200, 31000)
--COLD DESERT --COLD DESERT
mobs:spawn_specific("nssm:silver_sandonisc", {"default:silver_sand"}, {"default:silver_sand"}, 0, 20, 80, 300000000/mm, 1, -200, 31000) mobs:spawn_specific("nssm:silver_sandonisc", {"default:silver_sand"}, {"default:silver_sand"}, 0, 20, 80, 300000000/mm, 1, -200, 31000)
mobs:spawn_specific("nssm:black_scorpion", {"default:silver_sand"}, {"default:silver_sand"}, 0, 20, 80, 300000000/mm, 1, -200, 31000) mobs:spawn_specific("nssm:black_scorpion", {"default:silver_sand"}, {"default:silver_sand"}, 0, 20, 80, 300000000/mm, 1, -200, 31000)
--mobs:spawn_specific("nssm:silversand_dragon", {"default:silver_sand"}, {"default:silver_sand"}, 0, 20, 80, 2000000000/mm, 1, -200, 31000) mobs:spawn_specific("nssm:silversand_dragon", {"default:silver_sand"}, {"default:silver_sand"}, 0, 20, 180, 2000000000/mm, 1, -200, 31000)
--RIVER --RIVER
mobs:spawn_specific("nssm:chog", {"default:river_water_source"}, {"default:sand","default:river_water_source"}, 0, 20, 60, 3000000/mm, 1, -31000, 300) mobs:spawn_specific("nssm:chog", {"default:river_water_source"}, {"default:sand","default:river_water_source"}, 0, 20, 60, 3000000/mm, 1, -31000, 300)
@ -123,21 +123,22 @@ if mm ~= 0 then
end end
-- CAVES -- CAVES
mobs:spawn_specific("nssm:bloco", {"default:stone", "default:desert_stone"}, {"default:stone", "default:desert_stone"}, 0, 20, 30, 500000/mm, 3, -31000, -20) mobs:spawn_specific("nssm:bloco", {"default:stone", "default:desert_stone"}, {"default:stone", "default:desert_stone"}, 0, 20, 30, 500000/mm, 3, -31000, -30)
mobs:spawn_specific("nssm:lava_titan", {"default:stone", "default:desert_stone"}, {"air"}, 0, 120, 12, 22000000/mm, 1, -31000, -200) mobs:spawn_specific("nssm:lava_titan", {"default:stone", "default:desert_stone"}, {"air"}, 0, 120, 12, 22000000/mm, 1, -31000, -300)
mobs:spawn_specific("nssm:stone_eater", {"default:stone", "default:desert_stone"}, {"default:stone", "default:desert_stone"}, 0, 20, 40, 700000/mm, 2, -31000, -60) mobs:spawn_specific("nssm:stone_eater", {"default:stone", "default:desert_stone"}, {"default:stone", "default:desert_stone"}, 0, 20, 40, 700000/mm, 2, -31000, -100)
mobs:spawn_specific("nssm:signosigno", {"default:stone", "default:desert_stone"}, {"default:stone", "default:desert_stone"}, 0, 10, 20, 400000/mm, 2, -31000, -40) mobs:spawn_specific("nssm:signosigno", {"default:stone", "default:desert_stone"}, {"default:stone", "default:desert_stone"}, 0, 10, 20, 400000/mm, 2, -31000, -60)
mobs:spawn_specific("nssm:signosigno", {"bones:bones"}, {"air"}, 0, 15, 20, 5000/mm, 5, -31000, 31000) mobs:spawn_specific("nssm:signosigno", {"bones:bones"}, {"air"}, 0, 15, 20, 5000/mm, 5, -31000, 31000)
mobs:spawn_specific("nssm:albino_spider", {"default:stone"}, {"default:stone"}, 0, 20, 30, 500000/mm, 3, -31000, -150) mobs:spawn_specific("nssm:albino_spider", {"default:stone"}, {"default:stone"}, 0, 20, 30, 500000/mm, 3, -31000, -150)
mobs:spawn_specific("nssm:salamander", {"default:lava_source"}, {"default:stone", "default:lava_flowing", "default:lava_source", "air"}, 0, 20, 30, 500000/mm, 3, -31000, -100) mobs:spawn_specific("nssm:salamander", {"default:lava_source"}, {"default:stone", "default:lava_flowing", "default:lava_source", "air"}, 0, 20, 30, 500000/mm, 3, -31000, -200)
mobs:spawn_specific("nssm:flust", {"default:stone", "default:desert_stone"}, {"default:stone", "default:desert_stone"}, 0, 20, 30, 500000/mm, 3, -31000, -64) mobs:spawn_specific("nssm:flust", {"default:stone", "default:desert_stone"}, {"default:stone", "default:desert_stone"}, 0, 20, 30, 500000/mm, 3, -31000, -164)
-- SEA -- SEA
mobs:spawn_specific("nssm:crab", {"default:sand"}, {"default:water_source"}, 0, 20, 60, 4000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:crab", {"default:sand"}, {"default:water_source"}, 0, 20, 60, 4000000/mm, 1, -31000, 31000)
mobs:spawn_specific("nssm:kraken", {"default:water_source"}, {"default:water_source"}, 0, 20, 400, 500000000/mm, 1, -31000, 0) mobs:spawn_specific("nssm:kraken", {"default:water_source"}, {"default:water_source"}, 0, 20, 400, 500000000/mm, 1, -31000, 0)
mobs:spawn_specific("nssm:octopus", {"default:water_source"}, {"default:water_source"}, 0, 20, 80, 38000000/mm, 1, -31000, 0) mobs:spawn_specific("nssm:octopus", {"default:water_source"}, {"default:water_source"}, 0, 20, 80, 40000000/mm, 1, -31000, 0)
mobs:spawn_specific("nssm:pelagia", {"default:water_source"}, {"default:water_source"}, 0, 20, 80, 40000000/mm, 1, -31000, 0)
-- DESERT -- DESERT
mobs:spawn_specific("nssm:sandworm", {"default:desert_sand", "default:desert_stone"}, {"air"}, 0, 20, 100, 28000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:sandworm", {"default:desert_sand", "default:desert_stone"}, {"air"}, 0, 20, 100, 28000000/mm, 1, -31000, 31000)
@ -145,9 +146,9 @@ if mm ~= 0 then
mobs:spawn_specific("nssm:sand_bloco", {"default:desert_sand", "default:desert_stone"}, {"air"}, 0, 20, 90, 20000000/mm, 1, -31000, 31000) mobs:spawn_specific("nssm:sand_bloco", {"default:desert_sand", "default:desert_stone"}, {"air"}, 0, 20, 90, 20000000/mm, 1, -31000, 31000)
-- SKY -- SKY
mobs:spawn_specific("nssm:moonheron", {"air"}, {"air"}, 0, 10, 110, 1500000000/mm, 1, 10, 180) mobs:spawn_specific("nssm:moonheron", {"air"}, {"air"}, 0, 10, 120, 2000000000/mm, 1, 10, 180)
mobs:spawn_specific("nssm:night_master", {"air"}, {"air"}, 0, 7, 400, 50000000000/mm, 2, 10, 180) mobs:spawn_specific("nssm:night_master", {"air"}, {"air"}, 0, 7, 400, 50000000000/mm, 2, 10, 180)
mobs:spawn_specific("nssm:phoenix", {"air"}, {"air"}, 10, 20, 400, 500000000000/mm, 1, 10, 180) mobs:spawn_specific("nssm:phoenix", {"air"}, {"air"}, 10, 20, 400, 500000000000/mm, 1, 10, 180)
mobs:spawn_specific("nssm:scrausics", {"air"}, {"air"}, 10, 20, 110, 1500000000/mm, 1, 10, 180) mobs:spawn_specific("nssm:scrausics", {"air"}, {"air"}, 10, 20, 120, 2000000000/mm, 1, 10, 180)
end end

BIN
textures/arrow_duck.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

BIN
textures/arrow_ice.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

BIN
textures/berinhog_horn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 B

BIN
textures/bow_ant.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

BIN
textures/bow_ant_loaded.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

BIN
textures/bow_berinhog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

BIN
textures/bow_felucco.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

BIN
textures/cold_star.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 798 B

BIN
textures/cold_stars.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

BIN
textures/earth_heart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 B

BIN
textures/earth_sword.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

BIN
textures/frozing_knife.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

BIN
textures/ice_axe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

BIN
textures/ice_sword.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

BIN
textures/lava_sword.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 B

BIN
textures/life_wand.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

BIN
textures/masticone_core.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

BIN
textures/melting_knife.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 728 B

Some files were not shown because too many files have changed in this diff Show More