From 70277276b05bf547725a389202ceeff42e3f8874 Mon Sep 17 00:00:00 2001 From: PrairieWind Date: Tue, 9 Aug 2022 10:30:36 -0600 Subject: [PATCH] Adjusted spawn chance and fixed the walls on generation, thanks cora. --- mods/MAPGEN/mcl_structures/pillager_outpost.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/MAPGEN/mcl_structures/pillager_outpost.lua b/mods/MAPGEN/mcl_structures/pillager_outpost.lua index 28c938cff6..596aa66c7d 100644 --- a/mods/MAPGEN/mcl_structures/pillager_outpost.lua +++ b/mods/MAPGEN/mcl_structures/pillager_outpost.lua @@ -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