mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 05:51:05 +01:00
Fix nether outpost schematic voids (air inside now)
This commit is contained in:
parent
d866b61d1c
commit
68039e0fb6
3 changed files with 6 additions and 12 deletions
|
@ -3,27 +3,21 @@ local modpath = minetest.get_modpath(modname)
|
||||||
|
|
||||||
mcl_structures.register_structure("nether_outpost",{
|
mcl_structures.register_structure("nether_outpost",{
|
||||||
place_on = {"mcl_nether:netherrack","mcl_crimson:crimson_nylium","mcl_crimson:warped_nylium","mcl_blackstone:basalt","mcl_blackstone:soul_soil"},
|
place_on = {"mcl_nether:netherrack","mcl_crimson:crimson_nylium","mcl_crimson:warped_nylium","mcl_blackstone:basalt","mcl_blackstone:soul_soil"},
|
||||||
noise_params = {
|
fill_ratio = 0.001,
|
||||||
offset = 0,
|
chunk_probability = 600,
|
||||||
scale = 0.00022,
|
|
||||||
spread = {x = 250, y = 250, z = 250},
|
|
||||||
seed = 333,
|
|
||||||
octaves = 1,
|
|
||||||
persist = 0.0001,
|
|
||||||
flags = "absvalue",
|
|
||||||
},
|
|
||||||
flags = "all_floors",
|
flags = "all_floors",
|
||||||
biomes = {"Nether","SoulsandValley","WarpedForest","CrimsonForest","BasaltDelta"},
|
biomes = {"Nether","SoulsandValley","WarpedForest","CrimsonForest","BasaltDelta"},
|
||||||
sidelen = 15,
|
sidelen = 24,
|
||||||
solid_ground = true,
|
solid_ground = true,
|
||||||
make_foundation = true,
|
make_foundation = true,
|
||||||
y_min = mcl_vars.mg_lava_nether_max - 1,
|
y_min = mcl_vars.mg_lava_nether_max - 1,
|
||||||
y_max = mcl_vars.mg_nether_max - 30,
|
y_max = mcl_vars.mg_nether_max - 30,
|
||||||
filenames = { modpath.."/schematics/nether_outpost.mts" },
|
filenames = { modpath.."/schematics/mcl_nether_fortresses_nether_outpost.mts" },
|
||||||
y_offset = 0,
|
y_offset = 0,
|
||||||
after_place = function(pos)
|
after_place = function(pos)
|
||||||
local sp = minetest.find_nodes_in_area(pos,vector.offset(pos,0,20,0),{"mcl_mobspawners:spawner"})
|
local sp = minetest.find_nodes_in_area(pos,vector.offset(pos,0,20,0),{"mcl_mobspawners:spawner"})
|
||||||
if not sp[1] then return end
|
if not sp[1] then return end
|
||||||
mcl_mobspawners.setup_spawner(sp[1], "mobs_mc:blaze", 0, minetest.LIGHT_MAX+1, 10, 3, -1)
|
table.shuffle(sp)
|
||||||
|
mcl_mobspawners.setup_spawner(sp[1], "mobs_mc:blaze", 0, minetest.LIGHT_MAX+1, 10, 8, 0)
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue