1
0
Fork 0

Adjusted spawn chance and fixed the walls on generation, thanks cora.

This commit is contained in:
PrairieWind 2022-08-09 10:30:36 -06:00
parent 84691c393d
commit 70277276b0
1 changed files with 4 additions and 4 deletions

View File

@ -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" },
@ -55,8 +55,8 @@ 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)
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