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 8a5d97244..996560783 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=yDWZuWquFPU(#J2YN>qhj;i(B!0+(BlS|qbD4gm+)=V|K7;db@%1Xz4^k<%FMiz>Emeh z{>==Y(5iXLr)va!{xvMOE$$9ZyE!e=I%CJV#Esc&4_chCGhe1MbCOK(sS~_g?^YWs z_f%f_#nB|FtKIbTa3n*9oMFf8B)dko>+kuq^iwVx%Mb|JokIF}ZlB^SP(d=LC7St`{wS6BfYu{Lalwr87;Q7l~L~Ki^?? zVCsd}T>H;(RZcrHq4=A9>uJm7kHSuDdKzDIZOON;pKH@}^u z&35b9-*ypZ?l*>M=MwY&&H23lJZIC%$Yc3(|Ln?LuBMz@@UBR`Xr9ykm)C0Mzuqt3 zac8)PdvL^kUv{rwTVD8WU`vLoAhCcgcex_GqU-YrAWsU1h%pIAx`yOPGT5`oz zcVPyB^fNB{YS7p0$DM*U{HF0ofyp|oO~+gph_-X+>s zkA>|?xyN2nM>Px u+-IB!UB=JB8RfM?>zyIXMbWi0!v9Tg+I5ZV*qJ>>SNMN@W1hM-#{dBSn>z#m 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..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1392 zcmeYb3HD`RVc=!pXW*?z1q@OQ%!!#r49dC5Iq}6MiJ3*kR$wYVFSR5iwJ1KRC^I=b zKEJdiwTM9$uObF1kaT%sPEN5^QECcAKSaABgE&YIB4mYZG9FE)c;rkVZb?hcOHM6D zF%Tj~$Um8Rd8tKs%r|0?MsjdbY6?nlFo+;Yrsw3B7nkJcr83BXL}6i=lbD362PK5j zW#d!wOOtX^Q4B85FU^TBPRvVTkU+8y8hGW2MJ4eD3<~(Hj4#PAfcOJ@q!{2d*a)W# zG$wQNlZp!x%kxq}$pyk-5X0_Dh*1z1pri>SNTR@$v1E`08I_cin4Ap`Sx8WnZkd*MeFRykiy`{yCXaA|Rq%$F1L4?JhR?>rqilQ(GAn+u zI|OH*_WLufJfCl?gSN%f-4~uOFnha#b*I=n>04!{z5n$bzO&x`yn92q?gMk-wXIeY z#KLcvCNSQ8e4XjowX26deQ!#d;N>#y<;45k;#X>)-2K9T`Td%CRW-&>KE+Ag>pgXf zFMdj|v-!pn8Bfsc8mYH#eNos9+!4-l2X)iM} z`A;6YvT4J!X{>P*wgrpb*|=z%t7r12hI&SCo}>**9qwXxw5G6@r+&~|!$0--kH`b@ zYOAaMZF26|{YGuGK=p57w_A^e>`%IQbnl&b;Pe%f#q&?Q?4Dpaaq@}E$<}xC5^mSp zOXo!IsQ$w6?)OiD3z~_!-N()sFO+a!ez8UED1#q^&1L3!QT^TLo$Vq$j1+e3e3@14 z-S$F0vcl{yf8>Vwt+AUgB)EC5e)QtX)(WqaPLHFzRyZU!E}J+_F=$(FQ|iNFrdwqq S0*fuZvliR@V4wQ_>0AJ(zFc|$