Debug and spawn regulated for valleys mapgen

This commit is contained in:
NPXcoot 2016-11-13 12:21:28 +01:00
parent cad3ee625e
commit d8be8e7840
9 changed files with 198 additions and 190 deletions

View File

@ -2,7 +2,7 @@ mobs:register_mob("nssm:duckking", {
type = "monster", type = "monster",
hp_max = 180, hp_max = 180,
hp_min = 180, hp_min = 180,
collisionbox = {-1.5, -0.25, -1.5, 1.5, 4.95, 1.5}, collisionbox = {-1.2, -0.25, -1.2, 1.2, 4, 1.2},
visual = "mesh", visual = "mesh",
mesh = "king_duck.x", mesh = "king_duck.x",
textures = {{"king_duck.png"}}, textures = {{"king_duck.png"}},

View File

@ -28,8 +28,8 @@ mobs:register_mob("nssm:manticore", {
max = 5,}, max = 5,},
{name = "nssm:manticore_fur", {name = "nssm:manticore_fur",
chance = 3, chance = 3,
min = 2, min = 1,
max = 5,}, max = 2,},
}, },
armor = 60, armor = 60,
drawtype = "front", drawtype = "front",

View File

@ -44,7 +44,7 @@ mobs:register_mob("nssm:phoenix", {
water_damage = 5, water_damage = 5,
lava_damage = 0, lava_damage = 0,
light_damage = 0, light_damage = 0,
blood_texture="nssm_blood_blue.png", blood_texture="nssm_blood.png",
blood_amount=50, blood_amount=50,
on_rightclick = nil, on_rightclick = nil,
fly = true, fly = true,

View File

@ -2,11 +2,11 @@ mobs:register_mob("nssm:swimming_duck", {
type = "monster", type = "monster",
hp_max = 25, hp_max = 25,
hp_min = 15, hp_min = 15,
collisionbox = {-0.55, -0.30, -0.55, 0.55, 1, 0.55}, collisionbox = {-0.35, -0.30, -0.35, 0.35, 0.7, 0.35},
visual = "mesh", visual = "mesh",
mesh = "swimming_duck.x", mesh = "swimming_duck.x",
textures = {{"swimming_duck.png"}}, textures = {{"swimming_duck.png"}},
visual_size = {x=2, y=2}, visual_size = {x=1.5, y=1.5},
view_range = 25, view_range = 25,
floats=1, floats=1,
walk_velocity = 1, walk_velocity = 1,

View File

@ -3,22 +3,22 @@ if minetest.get_modpath("3d_armor") then
--Armors --Armors
local stats = { local stats = {
wolf = {name="Werewolf", armor=1.7, heal=0, use=1100}, wolf = {name="Werewolf", armor=2.8, heal=0, use=800},
whitewolf = {name="White Werewolf", armor=1.7, heal=0, use=1100}, whitewolf = {name="White Werewolf", armor=2.8, heal=0, use=800},
bloco = {name="Bloco", armor=2.5, heal=0, use=800}, bloco = {name="Bloco", armor=3.2, heal=0, use=500},
croco = {name="Crocodile", armor=1.6, heal=0, use=600}, croco = {name="Crocodile", armor=3, heal=0, use=450},
ant = {name="Ant", armor=2, heal=0, use=500}, ant = {name="Ant", armor=3, heal=0, use=400},
ice = {name="Ice Teeth", armor=2.2, heal=0, use=600}, ice = {name="Ice Teeth", armor=3.2, heal=0, use=410},
felucco = {name="Felucco", armor=1.7, heal=0, use=1000}, felucco = {name="Felucco", armor=2.8, heal=0, use=800},
manticore = {name="Manticore", armor=2.2, heal=0, use=900}, manticore = {name="Manticore", armor=3.4, heal=0, use=440},
duck = {name="Duck", armor=1, heal=0, use=2000}, duck = {name="Duck", armor=1.5, heal=0, use=1000},
black_duck = {name="Black Duck", armor=1, heal=0, use=1800}, black_duck = {name="Black Duck", armor=1.5, heal=0, use=900},
mor = {name="Morlu", armor=4, heal=0, use=100}, mor = {name="Morlu", armor=5.3, heal=0, use=30},
sky = {name="Sky", armor=3, heal=0, use=500}, sky = {name="Sky", armor=4.2, heal=0, use=100},
sandworm = {name="Sandworm", armor=2.4, heal=0, use=1000}, sandworm = {name="Sandworm", armor=3.4, heal=0, use=400},
sandbloco = {name="Sand Bloco", armor=2.5, heal=0, use=800}, sandbloco = {name="Sand Bloco", armor=3.2, heal=0, use=500},
web = {name="Cobweb String", armor=1.3, heal=0, use=1500}, web = {name="Cobweb String", armor=2.4, heal=0, use=900},
denseweb = {name="Dense Cobweb String", armor=2, heal=0, use=600}, denseweb = {name="Dense Cobweb String", armor=3.5, heal=0, use=400},
} }
local materials = { local materials = {
wolf="nssm:wolf_fur", wolf="nssm:wolf_fur",
@ -103,9 +103,9 @@ if minetest.get_modpath("3d_armor") then
if minetest.get_modpath("shields") then if minetest.get_modpath("shields") then
local stats = { local stats = {
crab = {name="Crab", armor=4, heal=0, use=500}, crab = {name="Crab", armor=4, heal=0, use=500},
ice ={name="Ice Teeth", armor=3, heal=0, use=600}, ice ={name="Ice Teeth", armor=3.5, heal=0, use=600},
mor ={name="Morlu", armor=5, use=100}, mor ={name="Morlu", armor=5, use=100},
masticone ={name="Masticone", armor=4, use=300}, masticone ={name="Masticone", armor=4.5, use=300},
mantis ={name="Mantis", armor=3, use=500}, mantis ={name="Mantis", armor=3, use=500},
} }
local materials = { local materials = {
@ -141,7 +141,7 @@ if minetest.get_modpath("3d_armor") then
local stats = { local stats = {
pumpking = {name="Pumpking Head", armor=3, heal=0, use=100}, pumpking = {name="Pumpking Head", armor=4, heal=0, use=100},
masticone ={name="Masticone Head", armor=4, heal=0, use=100}, masticone ={name="Masticone Head", armor=4, heal=0, use=100},
crown ={name="Dukking Crown", armor=2, heal=0, use=50}, crown ={name="Dukking Crown", armor=2, heal=0, use=50},
masticone_crowned ={name="Masticone Crowned Head", armor=6, heal=0, use=20}, masticone_crowned ={name="Masticone Crowned Head", armor=6, heal=0, use=20},

View File

@ -753,7 +753,7 @@ minetest.register_tool("nssm:duck_beak_pick",{
full_punch_interval = 0.6, full_punch_interval = 0.6,
max_drop_level=3, max_drop_level=3,
groupcaps={ groupcaps={
cracky = {times={[1]=1.0, [2]=0.8, [3]=0.20}, uses=5, maxlevel=3}, cracky = {times={[1]=1.0, [2]=0.8, [3]=0.20}, uses=3, maxlevel=3},
}, },
damage_groups = {fleshy=5}, damage_groups = {fleshy=5},
}, },
@ -1720,78 +1720,79 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({ if minetest.get_modpath("nssb") then
output = 'nssm:axe_of_pride', minetest.register_craft({
recipe = { output = 'nssm:axe_of_pride',
{'nssm:proud_moranga', 'nssm:proud_moranga', 'nssm:proud_moranga'}, recipe = {
{'nssm:proud_moranga', 'nssb:moranga_ingot', ''}, {'nssm:proud_moranga', 'nssm:proud_moranga', 'nssm:proud_moranga'},
{'', 'nssb:moranga_ingot', ''}, {'nssm:proud_moranga', 'nssb:moranga_ingot', ''},
} {'', 'nssb:moranga_ingot', ''},
}) }
})
minetest.register_craft({ minetest.register_craft({
output = 'nssm:gratuitnousness_battleaxe', output = 'nssm:gratuitnousness_battleaxe',
recipe = { recipe = {
{'nssm:greedy_moranga', 'nssm:greedy_moranga', 'nssm:greedy_moranga'}, {'nssm:greedy_moranga', 'nssm:greedy_moranga', 'nssm:greedy_moranga'},
{'nssm:greedy_moranga', 'nssb:moranga_ingot', 'nssm:greedy_moranga'}, {'nssm:greedy_moranga', 'nssb:moranga_ingot', 'nssm:greedy_moranga'},
{'', 'nssb:moranga_ingot', ''}, {'', 'nssb:moranga_ingot', ''},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'nssm:sword_of_envy', output = 'nssm:sword_of_envy',
recipe = { recipe = {
{'nssm:envious_moranga'}, {'nssm:envious_moranga'},
{'nssm:envious_moranga'}, {'nssm:envious_moranga'},
{'nssb:moranga_ingot'}, {'nssb:moranga_ingot'},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'nssm:sword_of_eagerness', output = 'nssm:sword_of_eagerness',
recipe = { recipe = {
{'nssm:slothful_moranga'}, {'nssm:slothful_moranga'},
{'nssm:slothful_moranga'}, {'nssm:slothful_moranga'},
{'nssb:moranga_ingot'}, {'nssb:moranga_ingot'},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'nssm:falchion_of_eagerness', output = 'nssm:falchion_of_eagerness',
recipe = { recipe = {
{'nssm:slothful_moranga','nssm:slothful_moranga'}, {'nssm:slothful_moranga','nssm:slothful_moranga'},
{'nssm:slothful_moranga', ''}, {'nssm:slothful_moranga', ''},
{'nssb:moranga_ingot',''}, {'nssb:moranga_ingot',''},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'nssm:sword_of_gluttony', output = 'nssm:sword_of_gluttony',
recipe = { recipe = {
{'nssm:gluttonous_moranga', 'nssm:gluttonous_moranga', 'nssm:gluttonous_moranga'}, {'nssm:gluttonous_moranga', 'nssm:gluttonous_moranga', 'nssm:gluttonous_moranga'},
{'', 'nssm:gluttonous_moranga', ''}, {'', 'nssm:gluttonous_moranga', ''},
{'', 'nssb:moranga_ingot', ''}, {'', 'nssb:moranga_ingot', ''},
} }
}) })
function nssm_register_moranga (viz) function nssm_register_moranga (viz)
minetest.register_craft({ minetest.register_craft({
output = 'nssm:'.. viz ..'_moranga', output = 'nssm:'.. viz ..'_moranga',
recipe = { recipe = {
{'nssm:'.. viz ..'_soul_fragment', 'nssb:moranga_ingot', 'nssm:'.. viz ..'_soul_fragment'}, {'nssm:'.. viz ..'_soul_fragment', 'nssb:moranga_ingot', 'nssm:'.. viz ..'_soul_fragment'},
{'nssb:moranga_ingot', 'nssm:'.. viz ..'_soul_fragment', 'nssb:moranga_ingot'}, {'nssb:moranga_ingot', 'nssm:'.. viz ..'_soul_fragment', 'nssb:moranga_ingot'},
{'nssm:'.. viz ..'_soul_fragment', 'nssb:moranga_ingot', 'nssm:'.. viz ..'_soul_fragment'}, {'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 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")
--Eggs --Eggs
function nssm_register_egg (name, descr) function nssm_register_egg (name, descr)

View File

@ -225,7 +225,7 @@ spears_register_spear('felucco_horn', 'Felucco Horn', 7, 9, 'nssm:felucco_horn')
if obj:get_luaentity() ~= nil then if obj:get_luaentity() ~= nil then
if obj:get_luaentity().name ~= "nssm:spear_" .. kind .. "_entity" and obj:get_luaentity().name ~= "__builtin:item" then if obj:get_luaentity().name ~= "nssm:spear_" .. kind .. "_entity" and obj:get_luaentity().name ~= "__builtin:item" then
local speed = vector.length(self.object:getvelocity()) local speed = vector.length(self.object:getvelocity())
minetest.chat_send_all(speed) --minetest.chat_send_all(speed)
local damage = (speed + eq)^1.12-20 local damage = (speed + eq)^1.12-20
obj:punch(self.object, 1.0, { obj:punch(self.object, 1.0, {
full_punch_interval=1.0, full_punch_interval=1.0,

View File

@ -724,34 +724,35 @@ minetest.register_craft({
{'nssm:frosted_amphibian_heart', 'nssm:black_powder', 'nssm:frosted_amphibian_heart'}, {'nssm:frosted_amphibian_heart', 'nssm:black_powder', 'nssm:frosted_amphibian_heart'},
} }
}) })
if minetest.get_modpath("nssb") then
nssm_register_throwitem("mantis", "Mantis Clay Bomb", {
hit_node = function(self,pos)
for dx = -1,1 do
for dy = 1,3 do
for dz = -1,1 do
local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz}
local pos2 = {x = pos.x, y=pos.y+1, z=pos.z}
local pos3 = {x = pos.x, y=pos.y+2, z=pos.z}
if not minetest.is_protected(pos1, "") or not minetest.get_item_group(minetest.get_node(pos1).name, "unbreakable") == 1 then
minetest.set_node(pos1, {name="nssb:hardened_mantis_clay"})
minetest.set_node(pos2, {name="air"})
minetest.set_node(pos3, {name="air"})
end
end
end
end
end,
})
nssm_register_throwitem("mantis", "Mantis Clay Bomb", { minetest.register_craft({
hit_node = function(self,pos) output = 'nssm:mantis_bomb 2',
for dx = -1,1 do recipe = {
for dy = 1,3 do {'nssm:mantis_meat', 'nssm:black_powder', 'nssm:mantis_meat'},
for dz = -1,1 do {'nssm:black_powder', 'nssb:hardened_mantis_clay', 'nssm:black_powder'},
local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz} {'nssm:mantis_meat', 'nssm:black_powder', 'nssm:mantis_meat'},
local pos2 = {x = pos.x, y=pos.y+1, z=pos.z} }
local pos3 = {x = pos.x, y=pos.y+2, z=pos.z} })
if not minetest.is_protected(pos1, "") or not minetest.get_item_group(minetest.get_node(pos1).name, "unbreakable") == 1 then end
minetest.set_node(pos1, {name="nssb:hardened_mantis_clay"})
minetest.set_node(pos2, {name="air"})
minetest.set_node(pos3, {name="air"})
end
end
end
end
end,
})
minetest.register_craft({
output = 'nssm:mantis_bomb 2',
recipe = {
{'nssm:mantis_meat', 'nssm:black_powder', 'nssm:mantis_meat'},
{'nssm:black_powder', 'nssb:hardened_mantis_clay', 'nssm:black_powder'},
{'nssm:mantis_meat', 'nssm:black_powder', 'nssm:mantis_meat'},
}
})
nssm_register_throwitem("lava", "Lava Bomb", { nssm_register_throwitem("lava", "Lava Bomb", {
hit_node = function(self,pos) hit_node = function(self,pos)
@ -825,29 +826,31 @@ minetest.register_craft({
} }
}) })
nssm_register_throwitem("mornar", "Mornar Bomb", { if minetest.get_modpath("nssb") then
hit_node = function(self,pos) nssm_register_throwitem("mornar", "Mornar Bomb", {
for dx = -1,1 do hit_node = function(self,pos)
for dy = 1,1 do for dx = -1,1 do
for dz = -1,1 do for dy = 1,1 do
local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz} for dz = -1,1 do
if not minetest.is_protected(pos1, "") or not minetest.get_item_group(minetest.get_node(pos1).name, "unbreakable") == 1 then local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz}
minetest.set_node(pos1, {name="nssb:mornar"}) if not minetest.is_protected(pos1, "") or not minetest.get_item_group(minetest.get_node(pos1).name, "unbreakable") == 1 then
end minetest.set_node(pos1, {name="nssb:mornar"})
end end
end end
end end
end, end
}) end,
})
minetest.register_craft({ minetest.register_craft({
output = 'nssm:mornar_bomb', output = 'nssm:mornar_bomb',
recipe = { recipe = {
{'nssm:wrathful_soul_fragment', 'nssm:black_powder', 'nssm:wrathful_soul_fragment'}, {'nssm:wrathful_soul_fragment', 'nssm:black_powder', 'nssm:wrathful_soul_fragment'},
{'nssm:black_powder', 'nssm:wrathful_soul_fragment', 'nssm:black_powder'}, {'nssm:black_powder', 'nssm:wrathful_soul_fragment', 'nssm:black_powder'},
{'nssm:wrathful_soul_fragment', 'nssm:black_powder', 'nssm:wrathful_soul_fragment'}, {'nssm:wrathful_soul_fragment', 'nssm:black_powder', 'nssm:wrathful_soul_fragment'},
} }
}) })
end
nssm_register_throwitem("hole", "Hole Bomb", { nssm_register_throwitem("hole", "Hole Bomb", {
hit_node = function(self,pos) hit_node = function(self,pos)
@ -1114,37 +1117,39 @@ minetest.register_craft({
} }
}) })
nssm_register_throwitem("cage", "Cage Bomb", { if minetest.get_modpath("nssb") then
hit_node = function(self,pos) nssm_register_throwitem("cage", "Cage Bomb", {
for dx = -2,2 do hit_node = function(self,pos)
for dy = 0,3 do for dx = -2,2 do
for dz = -2,2 do for dy = 0,3 do
local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz} for dz = -2,2 do
if not minetest.is_protected(pos1, "") or not minetest.get_item_group(minetest.get_node(pos1).name, "unbreakable") == 1 then local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz}
minetest.set_node(pos1, {name="nssb:morentir"}) if not minetest.is_protected(pos1, "") or not minetest.get_item_group(minetest.get_node(pos1).name, "unbreakable") == 1 then
for dx = -1,1 do minetest.set_node(pos1, {name="nssb:morentir"})
for dy = 1,2 do for dx = -1,1 do
for dz = -1,1 do for dy = 1,2 do
local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz} for dz = -1,1 do
minetest.set_node(pos1, {name="air"}) local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz}
minetest.set_node(pos1, {name="air"})
end
end end
end end
end end
end end
end end
end end
end end,
end, })
})
minetest.register_craft({ minetest.register_craft({
output = 'nssm:cage_bomb 3', output = 'nssm:cage_bomb 3',
recipe = { recipe = {
{'nssm:lustful_soul_fragment', 'nssm:black_powder', 'nssm:lustful_soul_fragment'}, {'nssm:lustful_soul_fragment', 'nssm:black_powder', 'nssm:lustful_soul_fragment'},
{'nssm:black_powder', 'nssm:lustful_soul_fragment', 'nssm:black_powder'}, {'nssm:black_powder', 'nssm:lustful_soul_fragment', 'nssm:black_powder'},
{'nssm:lustful_soul_fragment', 'nssm:black_powder', 'nssm:lustful_soul_fragment'}, {'nssm:lustful_soul_fragment', 'nssm:black_powder', 'nssm:lustful_soul_fragment'},
} }
}) })
end
nssm_register_throwitem("water_column", "Water Column Bomb", { nssm_register_throwitem("water_column", "Water Column Bomb", {
hit_node = function(self,pos) hit_node = function(self,pos)

View File

@ -20,7 +20,8 @@ if mymapgenis == 6 then
mobs:spawn_specific("nssm:duck", {"default:dirt_with_grass"}, {"group:flora"}, 10, 20, 20, 250, 1, -31000, 31000) mobs:spawn_specific("nssm:duck", {"default:dirt_with_grass"}, {"group:flora"}, 10, 20, 20, 250, 1, -31000, 31000)
mobs:spawn_specific("nssm:duckking", {"default:dirt_with_grass"}, {"group:flora"}, 10, 20, 120, 3000, 1, -31000, 31000) mobs:spawn_specific("nssm:duckking", {"default:dirt_with_grass"}, {"group:flora"}, 10, 20, 120, 3000, 1, -31000, 31000)
mobs:spawn_specific("nssm:enderduck", {"default:dirt_with_grass"}, {"group:flora"}, 0, 10, 45, 900, 1, -31000, 31000) mobs:spawn_specific("nssm:enderduck", {"default:dirt_with_grass"}, {"group:flora"}, 0, 10, 45, 900, 1, -31000, 31000)
mobs:spawn_specific("nssm:flying_duck", {"air"}, {"group:leaves"}, 10, 20, 120, 8000, 1, 1, 31000) mobs:spawn_specific("nssm:flying_duck", {"air"}, {"group:leaves"}, 10, 20, 120, 20000, 1, 1, 31000)
mobs:spawn_specific("nssm:flying_duck", {"air"}, {"group:flora"}, 10, 20, 120, 4000, 1, 1, 31000)
mobs:spawn_specific("nssm:spiderduck", {"default:dirt_with_grass"}, {"group:flora"}, 0, 10, 45, 850, 1, -31000, 31000) mobs:spawn_specific("nssm:spiderduck", {"default:dirt_with_grass"}, {"group:flora"}, 0, 10, 45, 850, 1, -31000, 31000)
mobs:spawn_specific("nssm:swimming_duck", {"default:water_source"}, {"default:water_source"}, 0, 20, 60, 45000, 1, -31000, 31000) mobs:spawn_specific("nssm:swimming_duck", {"default:water_source"}, {"default:water_source"}, 0, 20, 60, 45000, 1, -31000, 31000)
@ -32,7 +33,7 @@ if mymapgenis == 6 then
-- ICE -- ICE
mobs:spawn_specific("nssm:icelamander", {"default:snowblock", "default:ice"}, {"default:snowblock", "default:ice"}, 0, 20, 120, 15000, 1, -31000, 31000) mobs:spawn_specific("nssm:icelamander", {"default:snowblock", "default:ice"}, {"default:snowblock", "default:ice"}, 0, 20, 120, 15000, 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, 6000, 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, 6000, 1, -31000, 31000)
mobs:spawn_specific("nssm:white_werewolf", {"default:dirt_with_snow","default:snowblock"}, {"air"}, 0, 20, 60, 9000, 1, -31000, 31000) mobs:spawn_specific("nssm:white_werewolf", {"default:dirt_with_snow","default:snowblock"}, {"air"}, 0, 20, 60, 9000, 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, 6000, 1, -31000, 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, 6000, 1, -31000, 31000)
-- FOREST -- FOREST
@ -47,31 +48,31 @@ if mymapgenis == 6 then
else else
-- SPIDERS -- SPIDERS
mobs:spawn_specific("nssm:black_widow", {"default:jungle_grass", "default:jungletree", "nssm:web" }, {"air"}, 0, 20, 30, 2200, 2, -31000, 31000) mobs:spawn_specific("nssm:black_widow", {"default:jungle_grass", "default:jungletree", "nssm:web" }, {"air"}, 0, 20, 30, 2200, 2, -31000, 31000)
mobs:spawn_specific("nssm:daddy_long_legs", {"default:jungle_grass", "default:jungletree", "nssm:web" }, {"air"}, 0, 30, 10, 2200, 2, -31000, 31000) mobs:spawn_specific("nssm:daddy_long_legs", {"default:jungle_grass", "default:jungletree", "nssm:web" }, {"air"}, 0, 30, 10, 2200, 2, -31000, 31000)
mobs:spawn_specific("nssm:tarantula", {"default:jungle_grass", "default:jungletree", "nssm:web" }, {"air"}, 0, 14, 120, 5000, 1, -31000, 31000) mobs:spawn_specific("nssm:tarantula", {"default:jungle_grass", "default:jungletree", "nssm:web" }, {"air"}, 0, 14, 120, 5000, 1, -31000, 31000)
mobs:spawn_specific("nssm:uloboros", {"default:jungle_grass", "default:jungletree", "nssm:web" }, {"air"}, 0, 20, 30, 2200, 1, -31000, 31000) mobs:spawn_specific("nssm:uloboros", {"default:jungle_grass", "default:jungletree", "nssm:web" }, {"air"}, 0, 20, 30, 2200, 1, -31000, 31000)
-- DUCKS -- DUCKS
mobs:spawn_specific("nssm:duck", {"default:dirt_with_grass"}, {"group:flora"}, 10, 20, 40, 1000, 1, -31000, 31000) mobs:spawn_specific("nssm:duck", {"default:dirt_with_grass"}, {"group:flora"}, 10, 20, 40, 1000, 1, -31000, 31000)
mobs:spawn_specific("nssm:duckking", {"default:dirt_with_grass"}, {"group:flora"}, 10, 20, 300, 10000, 1, -31000, 31000) mobs:spawn_specific("nssm:duckking", {"default:dirt_with_grass"}, {"group:flora"}, 10, 20, 400, 80000, 1, -31000, 31000)
mobs:spawn_specific("nssm:enderduck", {"default:dirt_with_grass"}, {"group:flora"}, 0, 10, 60, 1200, 1, -31000, 31000) mobs:spawn_specific("nssm:enderduck", {"default:dirt_with_grass"}, {"group:flora"}, 0, 10, 120, 3200, 1, -31000, 31000)
mobs:spawn_specific("nssm:flying_duck", {"air"}, {"group:leaves"}, 10, 20, 120, 8000, 1, 1, 31000) mobs:spawn_specific("nssm:flying_duck", {"air"}, {"group:leaves"}, 10, 20, 120, 8000, 1, 1, 31000)
mobs:spawn_specific("nssm:spiderduck", {"default:dirt_with_grass"}, {"group:flora"}, 0, 10, 80, 1400, 1, -31000, 31000) mobs:spawn_specific("nssm:flying_duck", {"air"}, {"group:flora"}, 10, 20, 120, 20000, 1, 1, 31000)
mobs:spawn_specific("nssm:spiderduck", {"default:dirt_with_grass"}, {"group:flora"}, 0, 10, 120, 3400, 1, -31000, 31000)
mobs:spawn_specific("nssm:swimming_duck", {"default:water_source"}, {"default:water_source"}, 0, 20, 60, 45000, 1, -31000, 31000) mobs:spawn_specific("nssm:swimming_duck", {"default:water_source"}, {"default:water_source"}, 0, 20, 60, 45000, 1, -31000, 31000)
mobs:spawn_specific("nssm:swimming_duck", {"default:river_water_source"}, {"default:sand","default:river_water_source"}, 0, 20, 60, 3000, 1, -31000, 31000)
-- MOUNTAINS -- MOUNTAINS
mobs:spawn_specific("nssm:echidna", {"default:dirt_with_grass"}, {"default:dirt_with_grass"}, 0, 20, 120, 50000, 1, 60, 31000) mobs:spawn_specific("nssm:echidna", {"default:dirt_with_grass"}, {"default:dirt_with_grass"}, 0, 20, 120, 50000, 1, 50, 31000)
mobs:spawn_specific("nssm:manticore", {"default:dirt_with_grass"}, {"default:dirt_with_grass"}, 10, 20, 40, 12000, 1, 50, 31000) mobs:spawn_specific("nssm:manticore", {"default:dirt_with_grass"}, {"default:dirt_with_grass"}, 10, 20, 40, 12000, 1, 35, 31000)
mobs:spawn_specific("nssm:werewolf", {"default:dirt_with_grass"}, {"default:dirt_with_grass"}, 0, 10, 40, 12000, 1, 50, 31000) mobs:spawn_specific("nssm:werewolf", {"default:dirt_with_grass"}, {"default:dirt_with_grass"}, 0, 10, 40, 12000, 1, 35, 31000)
-- ICE -- ICE
mobs:spawn_specific("nssm:icelamander", {"default:snowblock", "default:ice"}, {"default:snowblock", "default:ice"}, 0, 20, 180, 80000, 1, -31000, 31000) mobs:spawn_specific("nssm:icelamander", {"default:snowblock", "default:ice"}, {"default:snowblock", "default:ice"}, 0, 20, 180, 80000, 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, 20000, 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, 20000, 1, -31000, 31000)
mobs:spawn_specific("nssm:white_werewolf", {"default:dirt_with_snow","default:snowblock"}, {"air"}, 0, 20, 60, 22000, 1, -31000, 31000) mobs:spawn_specific("nssm:white_werewolf", {"default:dirt_with_snow","default:snowblock"}, {"air"}, 0, 20, 35, 22000, 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, 20000, 1, -31000, 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, 20000, 1, -31000, 31000)
-- FOREST -- FOREST
@ -85,21 +86,21 @@ else
mobs:spawn_specific("nssm:pumpking", {"default:dirt_with_grass", "default:dirt_with_snow","default:snowblock"}, {"default:pine_needles", "default:pine_tree"}, 0, 12, 120, 8000, 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, 8000, 1, -31000, 31000)
-- SAVANNA -- SAVANNA
mobs:spawn_specific("nssm:felucco", {"default:dirt_with_dry_grass"}, {"default:dirt_with_dry_grass"}, 0, 20, 80, 20000, 1, -200, 31000) mobs:spawn_specific("nssm:felucco", {"default:dirt_with_dry_grass"}, {"default:dirt_with_dry_grass"}, 0, 20, 80, 20000, 1, -200, 31000)
end end
-- NSSB SPECIAL -- NSSB SPECIAL
if minetest.get_modpath("nssb") then if minetest.get_modpath("nssb") then
mobs:spawn_specific("nssm:xgaloctopus", {"default:water_source"}, {"nssb:marine_brick"}, 0, 20, 20, 800, 1, -31000, 0) mobs:spawn_specific("nssm:xgaloctopus", {"default:water_source"}, {"nssb:marine_brick"}, 0, 20, 20, 800, 1, -31000, 0)
mobs:spawn_specific("nssm:morbat1", {"air"}, {"nssb:morelentir"}, 0, 20, 100, 1000, 1, -31000, 0) mobs:spawn_specific("nssm:morbat1", {"air"}, {"nssb:morelentir"}, 0, 20, 100, 1000, 1, -31000, 0)
mobs:spawn_specific("nssm:morbat2", {"air"}, {"nssb:morelentir"}, 0, 20, 100, 1000, 1, -31000, 0) mobs:spawn_specific("nssm:morbat2", {"air"}, {"nssb:morelentir"}, 0, 20, 100, 1000, 1, -31000, 0)
mobs:spawn_specific("nssm:morbat3", {"air"}, {"nssb:morelentir"}, 0, 20, 100, 1000, 1, -31000, 0) mobs:spawn_specific("nssm:morbat3", {"air"}, {"nssb:morelentir"}, 0, 20, 100, 1000, 1, -31000, 0)
mobs:spawn_specific("nssm:morvy", {"nssb:morentir"}, {"nssb:morentir"}, 0, 20, 120, 1200, 1, -31000, -93) mobs:spawn_specific("nssm:morvy", {"nssb:morentir"}, {"nssb:morentir"}, 0, 20, 120, 1200, 1, -31000, -93)
mobs:spawn_specific("nssm:morlu", {"nssb:morentir"}, {"nssb:mornen"}, 0, 20, 80, 700, 1, -31000, -93) mobs:spawn_specific("nssm:morlu", {"nssb:morentir"}, {"nssb:mornen"}, 0, 20, 80, 700, 1, -31000, -93)
mobs:spawn_specific("nssm:morde", {"nssb:morenrir"}, {"nssb:mornar"}, 0, 20, 50, 500, 1, -31000, -93) mobs:spawn_specific("nssm:morde", {"nssb:morenrir"}, {"nssb:mornar"}, 0, 20, 50, 500, 1, -31000, -93)
mobs:spawn_specific("nssm:mordain", {"nssb:morentir"}, {"nssb:morentir"}, 0, 20, 90, 900, 1, -31000, .93) mobs:spawn_specific("nssm:mordain", {"nssb:morentir"}, {"nssb:morentir"}, 0, 20, 90, 900, 1, -31000, .93)
mobs:spawn_specific("nssm:morgut", {"nssb:morentir"}, {"nssb:morentir"}, 0, 20, 50, 500, 1, -31000, -93) mobs:spawn_specific("nssm:morgut", {"nssb:morentir"}, {"nssb:morentir"}, 0, 20, 50, 500, 1, -31000, -93)
end end
-- CAVES -- CAVES
@ -112,6 +113,7 @@ mobs:spawn_specific("nssm:signosigno", {"bones:bones"}, {"air"}, 0, 15, 3, 1, 5,
-- SEA -- SEA
mobs:spawn_specific("nssm:crab", {"default:sand"}, {"default:water_source"}, 0, 20, 60, 4000, 1, -31000, 31000) mobs:spawn_specific("nssm:crab", {"default:sand"}, {"default:water_source"}, 0, 20, 60, 4000, 1, -31000, 31000)
mobs:spawn_specific("nssm:crocodile", {"default:sand","default:water_source"}, {"default:water_source"}, 0, 20, 100, 35000, 1, -31000, 31000) mobs:spawn_specific("nssm:crocodile", {"default:sand","default:water_source"}, {"default:water_source"}, 0, 20, 100, 35000, 1, -31000, 31000)
mobs:spawn_specific("nssm:crocodile", {"default:sand","default:river_water_source"}, {"default:river_water_source"}, 0, 20, 60, 12000, 1, -31000, 31000)
mobs:spawn_specific("nssm:dolidrosaurus", {"default:water_source"}, {"default:water_source"}, 0, 20, 100, 35000, 1, -31000, -1) mobs:spawn_specific("nssm:dolidrosaurus", {"default:water_source"}, {"default:water_source"}, 0, 20, 100, 35000, 1, -31000, -1)
mobs:spawn_specific("nssm:kraken", {"default:water_source"}, {"default:water_source"}, 0, 20, 400, 500000, 1, -31000, 0) mobs:spawn_specific("nssm:kraken", {"default:water_source"}, {"default:water_source"}, 0, 20, 400, 500000, 1, -31000, 0)
mobs:spawn_specific("nssm:octopus", {"default:water_source"}, {"default:water_source"}, 0, 20, 80, 38000, 1, -31000, 0) mobs:spawn_specific("nssm:octopus", {"default:water_source"}, {"default:water_source"}, 0, 20, 80, 38000, 1, -31000, 0)