From b992100106100f3b693481f3995851a2311a1608 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 13 May 2018 18:03:57 +0200 Subject: [PATCH] More variations of mega spruces and large oaks --- mods/ITEMS/mcl_core/functions.lua | 8 ++++---- .../schematics/mcl_core_oak_large_3.mts | Bin 0 -> 207 bytes .../schematics/mcl_core_oak_large_4.mts | Bin 0 -> 250 bytes .../schematics/mcl_core_spruce_huge_1.mts | Bin 256 -> 282 bytes .../schematics/mcl_core_spruce_huge_2.mts | Bin 208 -> 227 bytes .../schematics/mcl_core_spruce_huge_3.mts | Bin 281 -> 270 bytes .../schematics/mcl_core_spruce_huge_4.mts | Bin 0 -> 295 bytes mods/MAPGEN/mcl_biomes/init.lua | 15 ++++++++------- 8 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_oak_large_3.mts create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_oak_large_4.mts create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_spruce_huge_4.mts diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index d8eea101f2..a518bd37df 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -345,11 +345,11 @@ function mcl_core.generate_oak_tree(pos) offset = { x = -2, y = -1, z = -2 } else -- Large balloon oak - local t = math.random(1, 2) + local t = math.random(1, 4) path = minetest.get_modpath("mcl_core") .. "/schematics/mcl_core_oak_large_"..t..".mts" - if t == 1 then + if t == 1 or t == 3 then offset = { x = -3, y = -1, z = -3 } - elseif t == 2 then + elseif t == 2 or t == 4 then offset = { x = -4, y = -1, z = -4 } end end @@ -484,7 +484,7 @@ end mcl_core.generate_huge_spruce_tree = function(pos) local r1 = math.random(1, 2) - local r2 = math.random(1, 3) + local r2 = math.random(1, 4) local path local offset = { x = -4, y = -1, z = -5 } if r1 <= 2 then diff --git a/mods/ITEMS/mcl_core/schematics/mcl_core_oak_large_3.mts b/mods/ITEMS/mcl_core/schematics/mcl_core_oak_large_3.mts new file mode 100644 index 0000000000000000000000000000000000000000..bddcaefd4b08d988359f6f1c8f8a202c8c78a258 GIT binary patch literal 207 zcmeYb3HD`RVPI$AV_>hhuLpzVWDv!`%)p$OS;WAfo17D$oL`h`m6MuSmRiif3l}IU zN=>bp^EM=!uR(z)IcAT$`(uuqO2#LGg?IHYODW3^m^+)rNHjLJbY1J-S>DxQAHhz A&j0`b literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_core/schematics/mcl_core_oak_large_4.mts b/mods/ITEMS/mcl_core/schematics/mcl_core_oak_large_4.mts new file mode 100644 index 0000000000000000000000000000000000000000..d3f345ffd3e0bc46859e89327f90b8150978a691 GIT binary patch literal 250 zcmeYb3HD`RVc=xoX5g&1uZIB!W(MZO%pwN<+~l12QEF<% zoVQb7^Bq>;Xgzv=-{;DbYb95el5)gL^IoRUVlsU0@aE`F)dfoGi?@lbou|3>mz;OH z8junF4am@0vZ?C4RsYr1#g@;xzuSr4(o!+9(yBZkSMqeT>oK|NbsJ;syEpCMoo?8F zzeeBd-$UutkAMHOK9UWXdhb+2$F7RZRE6#-*KJ=uQJ6CMuvk>wbBjBC2P|YPv_9({ q&7YukX!UWC4BwA}%;z6{Sy6GeqUyJ%y^c3W;(ocXXRPZ=vLXTYl5j8p literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_core/schematics/mcl_core_spruce_huge_1.mts b/mods/ITEMS/mcl_core/schematics/mcl_core_spruce_huge_1.mts index c7d220deedfa737b85f080fc4f1fb6ca730aedb8..d78e2fa673fcd90d6e979078a14cc8b9ed43c18d 100644 GIT binary patch delta 235 zcmZo*n#H8#8xrixz{0@AAj!a0Z=X^R1Rx?M1xTiVm?;yLEbFJeC;3P6g|n|3po*dm;N@cV$+M>7|HY4v)%JuTDB&_3io```4e1 zuKoP%=xO@=^83JD)mptF-gde1wa@CWbsMg|8ufc=ZFcmh0Pml79E*2{+DB=6znEP6 z*!B@fP1@h8Tc3~5v(I-p|2tvH?$|Qfw|Vbd|IG2WyH{X(ZS{H6V!O%5F0mKRC=QKd j_+aqt=f3#LThFt6O)AswSKZ=TBYReff^C zcXho2HWezWU>tdZg7&wD?eT{7eD#p=I&y+)@uOB(l| zuPA-C`Jvj~yzjqEuk}Rv-CcaW`(k=ay20XAtPBhcmtX$n*-H-ci_aa=%lls^H9NA=S#tBYx6JI{9Luz6zgE*PXm2E%_F?d* hI{?e$oW-kB`rm2I-2<==2EG6F0002M>>RRN&VI2KRgwSz delta 159 zcmaFNc!5#MHze4XfrWvKL6Cu~9tBL4v8uVq)u6z`u)S_i{Q3^1(#cAJn|JS(eRI$` zaEWutTx-6ZM`2Yn=WH&s{jPo~Ose;J#{0nKE5j|aI{H)^RKTQg=tg^3{ z30a)9u$;^C&bNBjwESC57w^|`zcP_sd{ualw9D#EHG8h|Ffd%uT>IaHfq|i)b(W#8 F835C;MPC2_ diff --git a/mods/ITEMS/mcl_core/schematics/mcl_core_spruce_huge_3.mts b/mods/ITEMS/mcl_core/schematics/mcl_core_spruce_huge_3.mts index 9204f3c9dec6e6a43249c24a384687192f9eed82..d3b80b1933587caacdb131c61d64ab2106ac34b5 100644 GIT binary patch delta 225 zcmbQq)W@Xe8xrixz{0@AAjQB{Z*Om34+aVK^$8#dqbDkw*T3aEq`>1E9e>AtzHyhL zQ=)v9_MFT1r+wdN?C>?4$a!IFg5Ie!UnBSKGfsEVId#T#by$2*cK(~WiIv}d-aeF_ zYE)dSy;?s!J3j{~WWPUr|BaKUqyDe8&3m$L>F$e8m$TxF)O~$&cZbK#GTEA6(f>Yl ziq83rH;#6XFWO2l?la=vR<4)ybX$5B|N9dz=Xw7qY}X5CXwW)s^zL%lAN8;MnHgqC SzW*P>00bQ;c~3T2NB{uRGh@mC delta 236 zcmeBUn#rW-8xrixz{0@AAj-g1j}1&zGq1lb)U3ec;#t3E|GK>vVVfpOglu_p^0uEx z0&}0{T^7m5r@sDj+P84(o$D*kS6`2Q{h423{wtZTGbV_6h#` ztN!-936EU${QJ(D>jm?+-|IduaXjnOwIX)ATbEXPPBxiedX42-}pT i<>MR2!)LvIZJj*5MSwr%?|WAc#TJ1gHUC$6^AiAr!;dxq literal 0 HcmV?d00001 diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 48de5335e9..f97cdca989 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -1737,16 +1737,16 @@ local function register_decorations() -- Oak -- Large oaks - for i=1, 2 do + for i=1, 4 do minetest.register_decoration({ deco_type = "schematic", place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, sidelen = 80, noise_params = { - offset = 0.00075, + offset = 0.000545, scale = 0.0011, spread = {x = 250, y = 250, z = 250}, - seed = 3, + seed = 3 + 5 * i, octaves = 3, persist = 0.66 }, @@ -1763,7 +1763,7 @@ local function register_decorations() place_on = {"group:grass_block", "mcl_core:dirt", }, sidelen = 80, noise_params = { - offset = -0.0004, + offset = -0.0008, scale = 0.001, spread = {x = 250, y = 250, z = 250}, seed = 3, @@ -2057,9 +2057,10 @@ local function register_decorations() end -- Huge spruce - quick_spruce(3000, 0.005, "mcl_core_spruce_huge_1.mts", {"MegaSpruceTaiga"}) - quick_spruce(4000, 0.005, "mcl_core_spruce_huge_2.mts", {"MegaSpruceTaiga"}) - quick_spruce(6000, 0.005, "mcl_core_spruce_huge_3.mts", {"MegaSpruceTaiga"}) + quick_spruce(3000, 0.00205, "mcl_core_spruce_huge_1.mts", {"MegaSpruceTaiga"}) + quick_spruce(4000, 0.00245, "mcl_core_spruce_huge_2.mts", {"MegaSpruceTaiga"}) + quick_spruce(6000, 0.00245, "mcl_core_spruce_huge_3.mts", {"MegaSpruceTaiga"}) + quick_spruce(6600, 0.00245, "mcl_core_spruce_huge_4.mts", {"MegaSpruceTaiga"}) quick_spruce(3000, 0.0008, "mcl_core_spruce_huge_up_1.mts", {"MegaTaiga"}) quick_spruce(4000, 0.0008, "mcl_core_spruce_huge_up_2.mts", {"MegaTaiga"})