From 68039e0fb6e55a8b6e113a8e6520e3f32782607c Mon Sep 17 00:00:00 2001 From: cora Date: Sun, 23 Oct 2022 17:02:54 +0200 Subject: [PATCH] Fix nether outpost schematic voids (air inside now) --- mods/MAPGEN/mcl_nether_fortresses/init.lua | 18 ++++++------------ .../mcl_nether_fortresses_nether_outpost.mts | Bin 0 -> 1322 bytes .../schematics/nether_outpost.mts | Bin 1392 -> 0 bytes 3 files changed, 6 insertions(+), 12 deletions(-) create mode 100644 mods/MAPGEN/mcl_nether_fortresses/schematics/mcl_nether_fortresses_nether_outpost.mts delete mode 100644 mods/MAPGEN/mcl_nether_fortresses/schematics/nether_outpost.mts diff --git a/mods/MAPGEN/mcl_nether_fortresses/init.lua b/mods/MAPGEN/mcl_nether_fortresses/init.lua index 8a5d972440..9965607837 100644 --- a/mods/MAPGEN/mcl_nether_fortresses/init.lua +++ b/mods/MAPGEN/mcl_nether_fortresses/init.lua @@ -3,27 +3,21 @@ local modpath = minetest.get_modpath(modname) 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"}, - noise_params = { - offset = 0, - scale = 0.00022, - spread = {x = 250, y = 250, z = 250}, - seed = 333, - octaves = 1, - persist = 0.0001, - flags = "absvalue", - }, + fill_ratio = 0.001, + chunk_probability = 600, flags = "all_floors", biomes = {"Nether","SoulsandValley","WarpedForest","CrimsonForest","BasaltDelta"}, - sidelen = 15, + sidelen = 24, solid_ground = true, make_foundation = true, y_min = mcl_vars.mg_lava_nether_max - 1, 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, after_place = function(pos) local sp = minetest.find_nodes_in_area(pos,vector.offset(pos,0,20,0),{"mcl_mobspawners:spawner"}) 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 }) diff --git a/mods/MAPGEN/mcl_nether_fortresses/schematics/mcl_nether_fortresses_nether_outpost.mts b/mods/MAPGEN/mcl_nether_fortresses/schematics/mcl_nether_fortresses_nether_outpost.mts new file mode 100644 index 0000000000000000000000000000000000000000..4fa3f19353ea65f06fe9ce68780e0c5fe179624e GIT binary patch literal 1322 zcmeYb3HD`RVc=yDWZl|cq13Jb%W#3WQbC?Sk4 z8=sP2nv|1@VsLSODbTpYyc7lrBIKvkthL@=RQT}a^5 z^);TSmrOX=9U8B`QL%Y$XmV0Z=y8L~(Gw2LOZc|we{W>!y8H6x-h5$aWoF*V^l>zL z|7HeHXw^LB(=`G<{~DIt7Iz1y-JBL_ow4Iw;>PT?2Q5z6nJ-hBIY}n?)Cu0LcdHGR zdn&K|;%E}o)o%KEIFcbl&ah*4l3gR)_4oW)`Y9I;X7;SuyZ-$jKXJv+eV5B-9oUwB zawn7FPE)n|g5$xze{GN9m|VQm`P|d!bAmiu*NYav2@7C+e&^<;(wQdDi$tugpYJd` zF!jP~uKj1YDyJQpQ2fol^|a;kM`0&6J&n0Bhr9CJ)J+$j%WP5qbnD#CrA2)Ao8QjS zX1jIlZ@UOH_Z!2sbBTHX=6v3Np0nv>V z@*%9hWuwAG&MimzBJQ7OSC572 zEeqsQ;Jcr3rOm{yEW1O-CiBS@-&4ozlA@pd5k1rXyf3EwjH}d6F7Br4ESXE&dfaE6 r2wld{!5QVXLhGF&%SF+(Gs6E(Z`yT@>)4q+MpyWMePf=wHOBw|{+l}l literal 0 HcmV?d00001 diff --git a/mods/MAPGEN/mcl_nether_fortresses/schematics/nether_outpost.mts b/mods/MAPGEN/mcl_nether_fortresses/schematics/nether_outpost.mts deleted file mode 100644 index 7fba741bffc627745bed98dad8e688552a64664e..0000000000000000000000000000000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