From d8be8e78400c93e968e495873b31e7b29c63b7d0 Mon Sep 17 00:00:00 2001 From: NPXcoot Date: Sun, 13 Nov 2016 12:21:28 +0100 Subject: [PATCH] Debug and spawn regulated for valleys mapgen --- mobs/duckking.lua | 2 +- mobs/manticore.lua | 4 +- mobs/phoenix.lua | 2 +- mobs/swimming_duck.lua | 4 +- nssm_armor.lua | 38 +++++----- nssm_materials.lua | 133 +++++++++++++++++----------------- nssm_spears.lua | 2 +- nssm_weapons.lua | 159 +++++++++++++++++++++-------------------- spawn.lua | 44 ++++++------ 9 files changed, 198 insertions(+), 190 deletions(-) diff --git a/mobs/duckking.lua b/mobs/duckking.lua index 10249ca..2780d45 100644 --- a/mobs/duckking.lua +++ b/mobs/duckking.lua @@ -2,7 +2,7 @@ mobs:register_mob("nssm:duckking", { type = "monster", hp_max = 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", mesh = "king_duck.x", textures = {{"king_duck.png"}}, diff --git a/mobs/manticore.lua b/mobs/manticore.lua index 8c01bfe..dee3c79 100644 --- a/mobs/manticore.lua +++ b/mobs/manticore.lua @@ -28,8 +28,8 @@ mobs:register_mob("nssm:manticore", { max = 5,}, {name = "nssm:manticore_fur", chance = 3, - min = 2, - max = 5,}, + min = 1, + max = 2,}, }, armor = 60, drawtype = "front", diff --git a/mobs/phoenix.lua b/mobs/phoenix.lua index 9a7e097..92e25b4 100644 --- a/mobs/phoenix.lua +++ b/mobs/phoenix.lua @@ -44,7 +44,7 @@ mobs:register_mob("nssm:phoenix", { water_damage = 5, lava_damage = 0, light_damage = 0, - blood_texture="nssm_blood_blue.png", + blood_texture="nssm_blood.png", blood_amount=50, on_rightclick = nil, fly = true, diff --git a/mobs/swimming_duck.lua b/mobs/swimming_duck.lua index cd9a2d6..7c02286 100644 --- a/mobs/swimming_duck.lua +++ b/mobs/swimming_duck.lua @@ -2,11 +2,11 @@ mobs:register_mob("nssm:swimming_duck", { type = "monster", hp_max = 25, 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", mesh = "swimming_duck.x", textures = {{"swimming_duck.png"}}, - visual_size = {x=2, y=2}, + visual_size = {x=1.5, y=1.5}, view_range = 25, floats=1, walk_velocity = 1, diff --git a/nssm_armor.lua b/nssm_armor.lua index 96551c8..9c09a91 100644 --- a/nssm_armor.lua +++ b/nssm_armor.lua @@ -3,22 +3,22 @@ if minetest.get_modpath("3d_armor") then --Armors local stats = { - wolf = {name="Werewolf", armor=1.7, heal=0, use=1100}, - whitewolf = {name="White Werewolf", armor=1.7, heal=0, use=1100}, - bloco = {name="Bloco", armor=2.5, heal=0, use=800}, - croco = {name="Crocodile", armor=1.6, heal=0, use=600}, - ant = {name="Ant", armor=2, heal=0, use=500}, - ice = {name="Ice Teeth", armor=2.2, heal=0, use=600}, - felucco = {name="Felucco", armor=1.7, heal=0, use=1000}, - manticore = {name="Manticore", armor=2.2, heal=0, use=900}, - duck = {name="Duck", armor=1, heal=0, use=2000}, - black_duck = {name="Black Duck", armor=1, heal=0, use=1800}, - mor = {name="Morlu", armor=4, heal=0, use=100}, - sky = {name="Sky", armor=3, heal=0, use=500}, - sandworm = {name="Sandworm", armor=2.4, heal=0, use=1000}, - sandbloco = {name="Sand Bloco", armor=2.5, heal=0, use=800}, - web = {name="Cobweb String", armor=1.3, heal=0, use=1500}, - denseweb = {name="Dense Cobweb String", armor=2, heal=0, use=600}, + wolf = {name="Werewolf", armor=2.8, heal=0, use=800}, + whitewolf = {name="White Werewolf", armor=2.8, heal=0, use=800}, + bloco = {name="Bloco", armor=3.2, heal=0, use=500}, + croco = {name="Crocodile", armor=3, heal=0, use=450}, + ant = {name="Ant", armor=3, heal=0, use=400}, + ice = {name="Ice Teeth", armor=3.2, heal=0, use=410}, + felucco = {name="Felucco", armor=2.8, heal=0, use=800}, + manticore = {name="Manticore", armor=3.4, heal=0, use=440}, + duck = {name="Duck", armor=1.5, heal=0, use=1000}, + black_duck = {name="Black Duck", armor=1.5, heal=0, use=900}, + mor = {name="Morlu", armor=5.3, heal=0, use=30}, + sky = {name="Sky", armor=4.2, heal=0, use=100}, + sandworm = {name="Sandworm", armor=3.4, heal=0, use=400}, + sandbloco = {name="Sand Bloco", armor=3.2, heal=0, use=500}, + web = {name="Cobweb String", armor=2.4, heal=0, use=900}, + denseweb = {name="Dense Cobweb String", armor=3.5, heal=0, use=400}, } local materials = { wolf="nssm:wolf_fur", @@ -103,9 +103,9 @@ if minetest.get_modpath("3d_armor") then if minetest.get_modpath("shields") then local stats = { 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}, - masticone ={name="Masticone", armor=4, use=300}, + masticone ={name="Masticone", armor=4.5, use=300}, mantis ={name="Mantis", armor=3, use=500}, } local materials = { @@ -141,7 +141,7 @@ if minetest.get_modpath("3d_armor") then 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}, crown ={name="Dukking Crown", armor=2, heal=0, use=50}, masticone_crowned ={name="Masticone Crowned Head", armor=6, heal=0, use=20}, diff --git a/nssm_materials.lua b/nssm_materials.lua index f9f435b..ce544fd 100644 --- a/nssm_materials.lua +++ b/nssm_materials.lua @@ -753,7 +753,7 @@ minetest.register_tool("nssm:duck_beak_pick",{ full_punch_interval = 0.6, max_drop_level=3, 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}, }, @@ -1720,78 +1720,79 @@ minetest.register_craft({ } }) -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', ''}, - } -}) +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:gratuitnousness_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:gratuitnousness_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_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: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: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', ''}, - } -}) + 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'}, - } -}) + 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 -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 function nssm_register_egg (name, descr) diff --git a/nssm_spears.lua b/nssm_spears.lua index 0f4e70a..dd3b761 100644 --- a/nssm_spears.lua +++ b/nssm_spears.lua @@ -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().name ~= "nssm:spear_" .. kind .. "_entity" and obj:get_luaentity().name ~= "__builtin:item" then local speed = vector.length(self.object:getvelocity()) - minetest.chat_send_all(speed) + --minetest.chat_send_all(speed) local damage = (speed + eq)^1.12-20 obj:punch(self.object, 1.0, { full_punch_interval=1.0, diff --git a/nssm_weapons.lua b/nssm_weapons.lua index 514c485..750dca7 100644 --- a/nssm_weapons.lua +++ b/nssm_weapons.lua @@ -724,34 +724,35 @@ minetest.register_craft({ {'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", { - 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, -}) - -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'}, - } -}) + 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'}, + } + }) +end nssm_register_throwitem("lava", "Lava Bomb", { hit_node = function(self,pos) @@ -825,29 +826,31 @@ minetest.register_craft({ } }) -nssm_register_throwitem("mornar", "Mornar Bomb", { - hit_node = function(self,pos) - for dx = -1,1 do - for dy = 1,1 do - for dz = -1,1 do - local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz} - 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:mornar"}) - end - end - end - end - end, -}) +if minetest.get_modpath("nssb") then + nssm_register_throwitem("mornar", "Mornar Bomb", { + hit_node = function(self,pos) + for dx = -1,1 do + for dy = 1,1 do + for dz = -1,1 do + local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz} + 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:mornar"}) + end + end + end + end + end, + }) -minetest.register_craft({ - output = 'nssm:mornar_bomb', - recipe = { - {'nssm:wrathful_soul_fragment', 'nssm:black_powder', 'nssm:wrathful_soul_fragment'}, - {'nssm:black_powder', 'nssm:wrathful_soul_fragment', 'nssm:black_powder'}, - {'nssm:wrathful_soul_fragment', 'nssm:black_powder', 'nssm:wrathful_soul_fragment'}, - } -}) + minetest.register_craft({ + output = 'nssm:mornar_bomb', + recipe = { + {'nssm:wrathful_soul_fragment', 'nssm:black_powder', 'nssm:wrathful_soul_fragment'}, + {'nssm:black_powder', 'nssm:wrathful_soul_fragment', 'nssm:black_powder'}, + {'nssm:wrathful_soul_fragment', 'nssm:black_powder', 'nssm:wrathful_soul_fragment'}, + } + }) +end nssm_register_throwitem("hole", "Hole Bomb", { hit_node = function(self,pos) @@ -1114,38 +1117,40 @@ minetest.register_craft({ } }) -nssm_register_throwitem("cage", "Cage Bomb", { - hit_node = function(self,pos) - for dx = -2,2 do - for dy = 0,3 do - for dz = -2,2 do - local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz} - 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:morentir"}) - for dx = -1,1 do - for dy = 1,2 do - for dz = -1,1 do - local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz} - minetest.set_node(pos1, {name="air"}) +if minetest.get_modpath("nssb") then + nssm_register_throwitem("cage", "Cage Bomb", { + hit_node = function(self,pos) + for dx = -2,2 do + for dy = 0,3 do + for dz = -2,2 do + local pos1 = {x = pos.x+dx, y=pos.y+dy, z=pos.z+dz} + 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:morentir"}) + for dx = -1,1 do + for dy = 1,2 do + for dz = -1,1 do + 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, -}) - -minetest.register_craft({ - output = 'nssm:cage_bomb 3', - recipe = { - {'nssm:lustful_soul_fragment', 'nssm:black_powder', 'nssm:lustful_soul_fragment'}, - {'nssm:black_powder', 'nssm:lustful_soul_fragment', 'nssm:black_powder'}, - {'nssm:lustful_soul_fragment', 'nssm:black_powder', 'nssm:lustful_soul_fragment'}, - } -}) + end + end + end + end, + }) + minetest.register_craft({ + output = 'nssm:cage_bomb 3', + recipe = { + {'nssm:lustful_soul_fragment', 'nssm:black_powder', 'nssm:lustful_soul_fragment'}, + {'nssm:black_powder', 'nssm:lustful_soul_fragment', 'nssm:black_powder'}, + {'nssm:lustful_soul_fragment', 'nssm:black_powder', 'nssm:lustful_soul_fragment'}, + } + }) +end + nssm_register_throwitem("water_column", "Water Column Bomb", { hit_node = function(self,pos) for dx = 0,0 do diff --git a/spawn.lua b/spawn.lua index 2626467..f837604 100644 --- a/spawn.lua +++ b/spawn.lua @@ -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: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: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:swimming_duck", {"default:water_source"}, {"default:water_source"}, 0, 20, 60, 45000, 1, -31000, 31000) @@ -32,7 +33,7 @@ if mymapgenis == 6 then -- 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: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) -- FOREST @@ -47,31 +48,31 @@ if mymapgenis == 6 then else - -- 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: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:uloboros", {"default:jungle_grass", "default:jungletree", "nssm:web" }, {"air"}, 0, 20, 30, 2200, 1, -31000, 31000) - -- DUCKS 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:enderduck", {"default:dirt_with_grass"}, {"group:flora"}, 0, 10, 60, 1200, 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, 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: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:river_water_source"}, {"default:sand","default:river_water_source"}, 0, 20, 60, 3000, 1, -31000, 31000) -- 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:manticore", {"default:dirt_with_grass"}, {"default:dirt_with_grass"}, 10, 20, 40, 12000, 1, 50, 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: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, 35, 31000) + mobs:spawn_specific("nssm:werewolf", {"default:dirt_with_grass"}, {"default:dirt_with_grass"}, 0, 10, 40, 12000, 1, 35, 31000) -- 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: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) -- 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) -- 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 -- NSSB SPECIAL 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: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: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: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: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: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: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: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: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:morgut", {"nssb:morentir"}, {"nssb:morentir"}, 0, 20, 50, 500, 1, -31000, -93) end -- CAVES @@ -112,6 +113,7 @@ mobs:spawn_specific("nssm:signosigno", {"bones:bones"}, {"air"}, 0, 15, 3, 1, 5, -- SEA 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: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: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)