Fix schematic placement. Add dragon.
This commit is contained in:
parent
e144b2b300
commit
241fef9f79
2 changed files with 5 additions and 1 deletions
|
@ -72,7 +72,7 @@ fun_caves.cloudgen = function(minp, maxp, data, p2data, area, node)
|
||||||
data[ivm] = node['fun_caves:moon_weed']
|
data[ivm] = node['fun_caves:moon_weed']
|
||||||
write = true
|
write = true
|
||||||
elseif rand(60) == 1 and plant_n[index] > 0.5 then
|
elseif rand(60) == 1 and plant_n[index] > 0.5 then
|
||||||
fun_caves.place_schematic(minp, maxp, data, p2data, area, node, {x=x,y=y-1,z=z}, fun_caves.schematics['lumin_tree'], true)
|
fun_caves.place_schematic(minp, maxp, data, p2data, area, node, {x=x,y=y,z=z}, fun_caves.schematics['lumin_tree'], true)
|
||||||
write = true
|
write = true
|
||||||
elseif rand(10) == 1 then
|
elseif rand(10) == 1 then
|
||||||
data[ivm] = node['default:grass_'..rand(4)]
|
data[ivm] = node['default:grass_'..rand(4)]
|
||||||
|
|
4
mobs.lua
4
mobs.lua
|
@ -91,6 +91,10 @@ if minetest.registered_entities["kpgmobs:horse2"] then
|
||||||
mobs:register_spawn("kpgmobs:horse2", {"fun_caves:cloud", "fun_caves:storm_cloud"}, 20, 8, 11000, 1, 31000)
|
mobs:register_spawn("kpgmobs:horse2", {"fun_caves:cloud", "fun_caves:storm_cloud"}, 20, 8, 11000, 1, 31000)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if minetest.registered_entities["dmobs:dragon"] then
|
||||||
|
mobs:spawn_specific("dmobs:dragon", {"air"}, {"fun_caves:cloud", "fun_caves:storm_cloud"}, 20, 10, 300, 15000, 2, 4000, 31000)
|
||||||
|
end
|
||||||
|
|
||||||
if minetest.registered_entities["mobs_fish:clownfish"] then
|
if minetest.registered_entities["mobs_fish:clownfish"] then
|
||||||
--local l_spawn_near = {"default:sand","default:dirt","group:seaplants","group:seacoral"}
|
--local l_spawn_near = {"default:sand","default:dirt","group:seaplants","group:seacoral"}
|
||||||
mobs:spawn_specific("mobs_fish:clownfish", {"default:water_source", "default:water_flowing"}, {"default:sand","default:dirt", "fun_caves:cloud", "fun_caves:storm_cloud","group:seaplants","group:seacoral"}, 5, 20, 30, 10000, 1, 4000, 31000)
|
mobs:spawn_specific("mobs_fish:clownfish", {"default:water_source", "default:water_flowing"}, {"default:sand","default:dirt", "fun_caves:cloud", "fun_caves:storm_cloud","group:seaplants","group:seacoral"}, 5, 20, 30, 10000, 1, 4000, 31000)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue