From 56e10f67849a0c9dc5d74393f31fcd4a5b073796 Mon Sep 17 00:00:00 2001 From: cora Date: Mon, 12 Sep 2022 14:02:46 +0200 Subject: [PATCH] Add more variation to jungle schematics --- .../mcl_core_jungle_bush_oak_leaves_2.mts | Bin 0 -> 150 bytes .../schematics/mcl_core_jungle_tree_2.mts | Bin 0 -> 273 bytes .../schematics/mcl_core_jungle_tree_3.mts | Bin 0 -> 281 bytes .../schematics/mcl_core_jungle_tree_4.mts | Bin 0 -> 278 bytes .../mcl_core_jungle_tree_huge_3.mts | Bin 0 -> 876 bytes .../mcl_core_jungle_tree_huge_4.mts | Bin 0 -> 838 bytes mods/MAPGEN/mcl_biomes/init.lua | 89 +++++++++++++++--- 7 files changed, 76 insertions(+), 13 deletions(-) create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_jungle_bush_oak_leaves_2.mts create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_2.mts create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_3.mts create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_4.mts create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_huge_3.mts create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_huge_4.mts diff --git a/mods/ITEMS/mcl_core/schematics/mcl_core_jungle_bush_oak_leaves_2.mts b/mods/ITEMS/mcl_core/schematics/mcl_core_jungle_bush_oak_leaves_2.mts new file mode 100644 index 0000000000000000000000000000000000000000..55b8dca0f84a26334e4120db8509ecc20cdb0467 GIT binary patch literal 150 zcmeYb3HD`RVPFN}dLRJO%!!#r47|C?Iq}K)MX6S0nR%%U{BUkgYGPSxF@rE%AgeSl zJtwuKC^fZW&e|SFE(Qe-7Tw?F{^n<+T)3=EnqHcDuz1aQwPsGb)~W5h%TMye#qIf1 l^*$}_SI((_FFhwUCpEDw zwU|K&BAlF`SZtM?52WIau!tEl2%~8)DN0SPm~(e>BwvF959{eNzy3>$9|ySvtl(Ov z!gq4By`5SwQ%Jy~&G*iA^|dd5ZdZKyY~o?#uV>~K|4t5iz;=H1bniK_7k{4o_OxPu zy3@Dcw&$NL(>u4H<#th{kn}GL@mD-&h5bJ2?&7R1R{FK}CVT0P&9he-+uUZKoVnRz Ym$G++8G9$+pY3PeHIMS>r`TQt0Md_huK)l5 literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_3.mts b/mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_3.mts new file mode 100644 index 0000000000000000000000000000000000000000..c604a2d9ce32b7f9df25592cdef20716b213cd0c GIT binary patch literal 281 zcmeYb3HD`RVPIq6XJD&G1q`eV%!!#r47|C?Iq}K)MX6S0nR%%UqHu0jX~VO|6)7bW$T{ literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_4.mts b/mods/ITEMS/mcl_core/schematics/mcl_core_jungle_tree_4.mts new file mode 100644 index 0000000000000000000000000000000000000000..7ce8af2fded614fca7fbd55f8289ee7e5c7e0ea7 GIT binary patch literal 278 zcmeYb3HD`RVPIq6XJD&G1q`eV%!!#r45GQoIq}K)MX6RK+d=>3{exmAH$^HJ1YW~%$ zUw?KxU-RX7s?nFve{|pfHOvw)JYBU~*!O96plXZ3UPpo4b-%#%(LLxBHx@{_(zV^!J!9gUQ#w#Dp*PKUc#0Y(4XNg~Qp_(_a7G8pHKB zcEQ?NQ=)G2eQtVxJ-%wsx(#9X%u4GNvNHc|DZab+_mQ9Tr0l-OobAkdyu0Z-Tgm>? zu)}wj{cg3~{mUl%`lC0;=C__dylv?g_uJoQE}OJ=qU!R1?DtWYafgqKr<=cD`~UX( z)*7$uuf?_br`{b@4nAG|;$K{<>Ax7YC1TH7_Q_SeI+ywG8JjKBzuEFNe4eXI=dZuL zK*cv=_UC;_iZ~v@Y^5ne~v*qU8^On=@d`jo_F4fNXceHQOTTA=h zYSGJ5uf)__7p_h3ziu||?z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iXH{xEum+K+FM8pDb0AvY| A+5i9m literal 0 HcmV?d00001 diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 460bd0e15..78b81690a 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -13,9 +13,6 @@ local mod_mcl_crimson = minetest.get_modpath("mcl_crimson") local mod_mcl_blackstone = minetest.get_modpath("mcl_blackstone") local mod_mcl_mangrove = minetest.get_modpath("mcl_mangrove") --- Jungle bush schematic. In PC/Java Edition it's Jungle Wood + Oak Leaves -local jungle_bush_schematic = mod_mcl_core.."/schematics/mcl_core_jungle_bush_oak_leaves.mts" - local deco_id_chorus_plant -- @@ -3266,13 +3263,13 @@ local function register_decorations() -- Jungle tree - -- Huge jungle tree (2 variants) - for i=1, 2 do + -- Huge jungle tree (4 variants) + for i=1, 4 do minetest.register_decoration({ deco_type = "schematic", place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, sidelen = 80, - fill_ratio = 0.00125, + fill_ratio = 0.0008, biomes = {"Jungle"}, y_min = 4, y_max = mcl_vars.mg_overworld_max, @@ -3284,7 +3281,7 @@ local function register_decorations() deco_type = "schematic", place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, sidelen = 80, - fill_ratio = 0.004, + fill_ratio = 0.003, biomes = {"JungleM"}, y_min = 4, y_max = mcl_vars.mg_overworld_max, @@ -3299,7 +3296,55 @@ local function register_decorations() deco_type = "schematic", place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, sidelen = 80, - fill_ratio = 0.045, + fill_ratio = 0.025, + biomes = {"Jungle"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = mod_mcl_core.."/schematics/mcl_core_jungle_tree.mts", + flags = "place_center_x, place_center_z", + rotation = "random", + }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, + sidelen = 80, + fill_ratio = 0.015, + biomes = {"Jungle"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = mod_mcl_core.."/schematics/mcl_core_jungle_tree_2.mts", + flags = "place_center_x, place_center_z", + rotation = "random", + }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, + sidelen = 80, + fill_ratio = 0.005, + biomes = {"Jungle"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = mod_mcl_core.."/schematics/mcl_core_jungle_tree_3.mts", + flags = "place_center_x, place_center_z", + rotation = "random", + }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, + sidelen = 80, + fill_ratio = 0.005, + biomes = {"Jungle"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = mod_mcl_core.."/schematics/mcl_core_jungle_tree_4.mts", + flags = "place_center_x, place_center_z", + rotation = "random", + }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, + sidelen = 80, + fill_ratio = 0.025, biomes = {"Jungle"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, @@ -3328,7 +3373,7 @@ local function register_decorations() biomes = {"JungleM"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, - schematic = mod_mcl_core.."/schematics/mcl_core_jungle_tree.mts", + schematic = mod_mcl_core.."/schematics/mcl_core_jungle_tree_2.mts", flags = "place_center_x, place_center_z", rotation = "random", }) @@ -3928,7 +3973,7 @@ local function register_decorations() sidelen = 80, noise_params = { offset = 0.0196, - scale = 0.025, + scale = 0.015, spread = {x = 250, y = 250, z = 250}, seed = 2930, octaves = 4, @@ -3937,7 +3982,25 @@ local function register_decorations() biomes = {"Jungle"}, y_min = 3, y_max = mcl_vars.mg_overworld_max, - schematic = jungle_bush_schematic, + schematic = mod_mcl_core.."/schematics/mcl_core_jungle_bush_oak_leaves.mts", + flags = "place_center_x, place_center_z", + }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"group:grass_block_no_snow", "mcl_core:dirt"}, + sidelen = 80, + noise_params = { + offset = 0.0196, + scale = 0.005, + spread = {x = 250, y = 250, z = 250}, + seed = 2930, + octaves = 4, + persist = 0.6, + }, + biomes = {"Jungle"}, + y_min = 3, + y_max = mcl_vars.mg_overworld_max, + schematic = mod_mcl_core.."/schematics/mcl_core_jungle_bush_oak_leaves_2.mts", flags = "place_center_x, place_center_z", }) minetest.register_decoration({ @@ -3955,7 +4018,7 @@ local function register_decorations() biomes = {"JungleM"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, - schematic = jungle_bush_schematic, + schematic = mod_mcl_core.."/schematics/mcl_core_jungle_bush_oak_leaves.mts", flags = "place_center_x, place_center_z", }) minetest.register_decoration({ @@ -3973,7 +4036,7 @@ local function register_decorations() biomes = {"JungleEdge", "JungleEdgeM"}, y_min = 3, y_max = mcl_vars.mg_overworld_max, - schematic = jungle_bush_schematic, + schematic = mod_mcl_core.."/schematics/mcl_core_jungle_bush_oak_leaves.mts", flags = "place_center_x, place_center_z", })