mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Adjusted spawn chance and fixed the walls on generation, thanks cora.
This commit is contained in:
parent
84691c393d
commit
70277276b0
1 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ mcl_structures.register_structure("pillager_outpost",{
|
|||
make_foundation = true,
|
||||
sidelen = 18,
|
||||
y_offset = 0,
|
||||
chunk_probability = 200,
|
||||
chunk_probability = 600,
|
||||
y_max = mcl_vars.mg_overworld_max,
|
||||
y_min = 1,
|
||||
biomes = { "Desert", "Plains", "Savanna", "IcePlains", "Taiga" },
|
||||
|
@ -54,9 +54,9 @@ mcl_structures.register_structure("pillager_outpost",{
|
|||
}
|
||||
}}
|
||||
},
|
||||
after_place = function (p,def,pr)
|
||||
local p1 = vector.offset(p,-5,0,-5)
|
||||
local p2 = vector.offset(p,-5,14,-5)
|
||||
after_place = function(p,def,pr)
|
||||
local p1 = vector.offset(p,-7,0,-7)
|
||||
local p2 = vector.offset(p,7,14,7)
|
||||
for _,n in pairs(minetest.find_nodes_in_area(p1,p2,{"group:wall"})) do
|
||||
local def = minetest.registered_nodes[minetest.get_node(n).name:gsub("_%d+$","")]
|
||||
if def and def.on_construct then
|
||||
|
|
Loading…
Reference in a new issue