From fefb15f2a833b7a1e1e7576c4f82895fad8053f3 Mon Sep 17 00:00:00 2001 From: cora Date: Sat, 18 Jun 2022 14:28:05 +0200 Subject: [PATCH] Add new fungus tree schematics --- mods/ITEMS/mcl_crimson/init.lua | 4 +- .../schematics/crimson_fungus_1.mts | Bin 0 -> 200 bytes .../schematics/crimson_fungus_2.mts | Bin 0 -> 208 bytes .../schematics/crimson_fungus_3.mts | Bin 0 -> 273 bytes .../schematics/crimson_mushroom.mts | Bin 169 -> 0 bytes .../schematics/warped_fungus_1.mts | Bin 0 -> 209 bytes .../schematics/warped_fungus_2.mts | Bin 0 -> 193 bytes .../schematics/warped_fungus_3.mts | Bin 0 -> 223 bytes .../schematics/warped_mushroom.mts | Bin 167 -> 0 bytes mods/MAPGEN/mcl_biomes/init.lua | 96 ++++++++++++++---- mods/MAPGEN/mcl_geodes/init.lua | 2 - 11 files changed, 81 insertions(+), 21 deletions(-) create mode 100644 mods/ITEMS/mcl_crimson/schematics/crimson_fungus_1.mts create mode 100644 mods/ITEMS/mcl_crimson/schematics/crimson_fungus_2.mts create mode 100644 mods/ITEMS/mcl_crimson/schematics/crimson_fungus_3.mts delete mode 100644 mods/ITEMS/mcl_crimson/schematics/crimson_mushroom.mts create mode 100644 mods/ITEMS/mcl_crimson/schematics/warped_fungus_1.mts create mode 100644 mods/ITEMS/mcl_crimson/schematics/warped_fungus_2.mts create mode 100644 mods/ITEMS/mcl_crimson/schematics/warped_fungus_3.mts delete mode 100644 mods/ITEMS/mcl_crimson/schematics/warped_mushroom.mts diff --git a/mods/ITEMS/mcl_crimson/init.lua b/mods/ITEMS/mcl_crimson/init.lua index 9b2a33bb9..a7fe33f71 100644 --- a/mods/ITEMS/mcl_crimson/init.lua +++ b/mods/ITEMS/mcl_crimson/init.lua @@ -212,7 +212,7 @@ minetest.register_node("mcl_crimson:stripped_warped_hyphae", { description = S("Stripped warped hyphae"), _doc_items_longdesc = S("The stripped hyphae of a warped fungus"), _doc_items_hidden = false, - tiles = {"warped_stem_stripped_top.png", "crimson_stem_warped_top.png", "warped_stem_stripped_side.png"}, + tiles = {"warped_stem_stripped_top.png", "warped_stem_stripped_top.png", "warped_stem_stripped_side.png"}, paramtype2 = "facedir", on_place = mcl_util.rotate_axis, groups = {handy = 1, axey = 1, tree = 1, building_block = 1, material_wood = 1}, @@ -349,7 +349,7 @@ minetest.register_node("mcl_crimson:crimson_hyphae", { sounds = mcl_sounds.node_sound_wood_defaults(), _mcl_blast_resistance = 2, _mcl_hardness = 2, - _mcl_stripped_variant = stripped_variant, + _mcl_stripped_variant = "mcl_crimson:stripped_crimson_hyphae", }) --Stem bark, stripped stem and bark diff --git a/mods/ITEMS/mcl_crimson/schematics/crimson_fungus_1.mts b/mods/ITEMS/mcl_crimson/schematics/crimson_fungus_1.mts new file mode 100644 index 0000000000000000000000000000000000000000..a61712fef3802fbc332eacdf57d548af07641d55 GIT binary patch literal 200 zcmeYb3HD`RVPIw8U|_9>0wA9`F|&w4CO0`JJ}V)4Gf07C zlZ!HQi}UlWpmcmjWkE(_DuXz(TyaKGetvFFW_m_R#hj}Fj(iOYJlS6#{@vB~V9lYH zmdUEOr7lfnQ(*Ppn$FtexqD~rZ~Yw2XD!v6UOBrLJ0wA9`F|&w4CO0`JJ}V)4Gf07C zlZ!HQi}UlWpmcmjWkE(_DuXz(TyaKGetvFFW_m_R#hkkn0=W(ta5$G*SFE#}^XO8h z_xIf*mmCf&honr{H|g2LJ(jgopWR(5`E!O^?~+`pO6%_5wbRZ&d296J`>ScD?1=_5 kyKk@RKfZ&<>`s2>#nlOqDz}Hs@%TOK9DfO8(l$9x05MouxBvhE literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_crimson/schematics/crimson_fungus_3.mts b/mods/ITEMS/mcl_crimson/schematics/crimson_fungus_3.mts new file mode 100644 index 0000000000000000000000000000000000000000..84f8fa791e276979db2eb451e3e57b3d39f0d6db GIT binary patch literal 273 zcmeYb3HD`RVPI$AWniyI20%gP#LOZFncU=@_`KATjMO442o+zRSX2_9l#`#F%^(Gm zO)kpJEzZxgg3|FBl?54zsSM)Ca>W@%`T4mynduoN6?5K(yya_9;FwZX5V!Z{mC_%b zm;OB7T6#}m!R4YnrYoUS*3CPm{f6mal$Ma7kma7jO}&n`ZfGk)c-pcm{a@9NsB z_xMYZ{gdjf1%&Guz-TbEzi@apT6yk$l9b0;)2C)=cdwC@H0>@Il{ literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_crimson/schematics/crimson_mushroom.mts b/mods/ITEMS/mcl_crimson/schematics/crimson_mushroom.mts deleted file mode 100644 index ff2ba058cbd97a106d1cba951d4918f4845a6b6d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 169 zcmeYb3HD`RVPIw8U|_9>0wA9`F|&w4CO0`JJ}V)4Gl+v^ zlZ!HQi}UlWiZhDx^K)}D(=$pKq>v?`3gR;=3o;T@E9N989N?B%IDzwA(vkIz3<*b= uBqy9Xn#XMHC+1;ld`Bg1&ojZtMW61tud1wY_-nwZ(sFSD8-w$<0wA9`F|&w4Ha9sZKDj6}w>Uq~sywl%AT=c(NR`AV<>V)4 zGe}~Q&ZsQNNK9oAN0utiD9X>z&B;v9D5;opHNcVYfC9(j+lPODP4!?|HsS4#SqaTs zLtMoaHrzcmEC0Y9L92`6((f0i7_=R+(UhC~>2=n&XV$Z8OuzmAeyll4=33^JD@xAZ f#}-GfXj-_-bc=W7)n89{&RZYwM@IbUMMVw(i1b?F literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_crimson/schematics/warped_fungus_2.mts b/mods/ITEMS/mcl_crimson/schematics/warped_fungus_2.mts new file mode 100644 index 0000000000000000000000000000000000000000..564731158990f9d900c96f316339d095f18c9513 GIT binary patch literal 193 zcmeYb3HD`RVPIuoV_>ZZ10at%F|&w4Ha9sZKDj6}w>Uq~sywl%AT=c(NR`AV<>V)4 zGl(Ng7iSdZ=jY~Rre~BeNFqx>^<`8RWF)3m%sK1l$albiW75}$HMQPXv?8~cY)@=j z!nkTC!y*MP!&kQ%Z`q}_-<;8x-Wrhc`P*@?t6%T0Yco-K;i4YbvEBNG-=?HqBfqRg R8k<+Y()z3HCnPA$0|1@?P6Ge{ literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_crimson/schematics/warped_fungus_3.mts b/mods/ITEMS/mcl_crimson/schematics/warped_fungus_3.mts new file mode 100644 index 0000000000000000000000000000000000000000..079631a20b410fd6061f69c6bdceea7384102ca6 GIT binary patch literal 223 zcmeYb3HD`RVPIw8VPLIC0zfh5#LOZF+1%uu_~fF@+~WK^tMbI6g4C3FAXO5dl#`#F z%^;2}U7S&rpP!qPnVwO?Ac-si)t6COkdc^LG3V`sK)wSC9L|Z>7UA)30g4=_{>1uv z*sod75g?$(_cMb1RBh-nmg5J{?T?wh@b`^{79vT?Xa7I&sk&Vee}3)$dDiDOE}!60 rn#5@HZSn=9FVB8!U-Y%^2o{p%-NvPICpCU+zQpgX7nrNAst5r9BnVpb literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_crimson/schematics/warped_mushroom.mts b/mods/ITEMS/mcl_crimson/schematics/warped_mushroom.mts deleted file mode 100644 index 76d59be0e899614f8677c054383fc31d78296928..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 167 zcmeYb3HD`RVPIw8U|_9>0wA9`F|&w4JU2NfKDj6}w>Uq~syL%4KR-7oGd-h(K^9q} zJh7-CH6 -26900 then return end @@ -4341,11 +4404,10 @@ if mg_name ~= "singlenode" then end end if minp.y > mcl_vars.mg_nether_max then return end - for _, pos in ipairs(gennotify["decoration#"..deco_id_crimson_tree] or {}) do - minetest.fix_light(vector.offset(pos,-8,-8,-8),vector.offset(pos,8,8,8)) - end - for _, pos in ipairs(gennotify["decoration#"..deco_id_warped_tree] or {}) do - minetest.fix_light(vector.offset(pos,-8,-8,-8),vector.offset(pos,8,8,8)) + for _,f in pairs(deco_ids_fungus) do + for _, pos in ipairs(gennotify["decoration#"..f] or {}) do + minetest.fix_light(vector.offset(pos,-8,-8,-8),vector.offset(pos,8,8,8)) + end end end) end diff --git a/mods/MAPGEN/mcl_geodes/init.lua b/mods/MAPGEN/mcl_geodes/init.lua index 84acd973b..c03173367 100644 --- a/mods/MAPGEN/mcl_geodes/init.lua +++ b/mods/MAPGEN/mcl_geodes/init.lua @@ -76,10 +76,8 @@ mcl_structures.register_structure("geode",{ flags = "absvalue", }, flags = "place_center_x, place_center_z, force_placement", - biomes = ocean_biomes, y_max = -24, y_min = mcl_vars.mg_overworld_min, - filenames = schems, y_offset = function(pr) return pr:next(-4,-2) end, place_func = function(pos,def,pr) local p = vector.new(pos.x + pr:next(-30,30),pos.y,pos.z + pr:next(-30,30))