From 99f0e7e88d2495ca3f2eb0b0382f554b29e41c27 Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Tue, 4 Apr 2023 23:29:19 -0400 Subject: [PATCH] Update some textures, nodes and mapgen params for crystal forest --- LICENSE.txt | 2 + mapgen_crystal_forest.lua | 43 ++++++++++---------- mapgen_crystal_forest_under.lua | 3 +- nodes.lua | 6 ++- textures/everness_crystal_grass.png | Bin 486 -> 588 bytes textures/everness_crystal_grass_side.png | Bin 477 -> 656 bytes textures/everness_crystal_mushrooms.png | Bin 159 -> 237 bytes textures/everness_twisted_crystal_grass.png | Bin 232 -> 232 bytes 8 files changed, 31 insertions(+), 23 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index c53933f..cb77dc3 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -855,6 +855,8 @@ GNU Lesser General Public License v2.1 or later (see included LICENSE file) - everness_coral_forest_deep_ocean_lantern_animated.png - everness_coral_forest_deep_ocean_lantern_bottom.png - everness_coral_forest_deep_ocean_lantern_top.png +- everness_coral_bones_block.png +- everness_coral_bones_brick.png **CC-BY-SA-4.0, Pixel Perfection by XSSheep**, https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated diff --git a/mapgen_crystal_forest.lua b/mapgen_crystal_forest.lua index ecae77f..2c4647e 100644 --- a/mapgen_crystal_forest.lua +++ b/mapgen_crystal_forest.lua @@ -63,6 +63,7 @@ minetest.register_decoration({ y_max = y_max, y_min = y_min, decoration = 'everness:crystal_mushrooms', + param2 = 40 }) minetest.register_decoration({ @@ -109,6 +110,27 @@ minetest.register_decoration({ rotation = 'random', }) +minetest.register_decoration({ + name = 'everness:crystal_forest_crystal_bush', + deco_type = 'schematic', + place_on = { 'everness:dirt_with_crystal_grass' }, + sidelen = 16, + place_offset_y = 1, + noise_params = { + offset = -0.004, + scale = 0.01, + spread = { x = 100, y = 100, z = 100 }, + seed = 137, + octaves = 3, + persist = 0.7, + }, + biomes = { 'everness_crystal_forest' }, + y_max = y_max, + y_min = y_min, + schematic = minetest.get_modpath('everness') .. '/schematics/everness_crystal_bush.mts', + flags = 'place_center_x, place_center_z', +}) + local function register_crystal_grass_decoration(offset, scale, length) minetest.register_decoration({ name = 'everness:crystal_forest_crystal_grass_' .. length, @@ -135,24 +157,3 @@ end register_crystal_grass_decoration(-0.03, 0.09, 3) register_crystal_grass_decoration(-0.015, 0.075, 2) register_crystal_grass_decoration(0, 0.06, 1) - -minetest.register_decoration({ - name = 'everness:crystal_forest_crystal_bush', - deco_type = 'schematic', - place_on = { 'everness:dirt_with_crystal_grass' }, - sidelen = 16, - place_offset_y = 1, - noise_params = { - offset = -0.004, - scale = 0.01, - spread = { x = 100, y = 100, z = 100 }, - seed = 137, - octaves = 3, - persist = 0.7, - }, - biomes = { 'everness_crystal_forest' }, - y_max = y_max, - y_min = y_min, - schematic = minetest.get_modpath('everness') .. '/schematics/everness_crystal_bush.mts', - flags = 'place_center_x, place_center_z', -}) diff --git a/mapgen_crystal_forest_under.lua b/mapgen_crystal_forest_under.lua index d9ec365..884a07c 100644 --- a/mapgen_crystal_forest_under.lua +++ b/mapgen_crystal_forest_under.lua @@ -198,7 +198,8 @@ minetest.register_decoration({ y_max = y_max - 500 > y_min and y_max - 500 or y_max, y_min = y_min, decoration = 'everness:twisted_crystal_grass', - flags = 'all_floors' + flags = 'all_floors', + param2 = 40 }) minetest.register_decoration({ diff --git a/nodes.lua b/nodes.lua index 4540c20..4d3c320 100644 --- a/nodes.lua +++ b/nodes.lua @@ -5406,6 +5406,8 @@ Everness:register_node('everness:crystal_mushrooms', { wield_image = 'everness_crystal_mushrooms.png', drawtype = 'plantlike', paramtype = 'light', + paramtype2 = 'meshoptions', + place_param2 = 40, sunlight_propagates = true, walkable = false, buildable_to = true, @@ -5437,7 +5439,7 @@ Everness:register_node('everness:crystal_mushrooms', { on_use = minetest.item_eat(1), selection_box = { type = 'fixed', - fixed = { -3 / 16, -0.5, -3 / 16, 3 / 16, -2 / 16, 3 / 16 }, + fixed = { -6 / 16, -0.5, -6 / 16, 6 / 16, -3 / 16, 6 / 16 }, }, light_source = 3, }) @@ -5450,6 +5452,8 @@ Everness:register_node('everness:twisted_crystal_grass', { inventory_image = 'everness_twisted_crystal_grass.png', wield_image = 'everness_twisted_crystal_grass.png', paramtype = 'light', + paramtype2 = 'meshoptions', + place_param2 = 40, sunlight_propagates = true, walkable = false, buildable_to = true, diff --git a/textures/everness_crystal_grass.png b/textures/everness_crystal_grass.png index 73cda81449d844d49545beaa8d38e31f2cd081cb..b7345caa67574267c7b6efba47fee0ec60e7f023 100644 GIT binary patch delta 564 zcmV-40?Ym81Iz@FBYy%DNkl7+WQ}Eg~JWi6}Eq( zh)j=WGdVZ`u@vpGBgT>v0EnX6l2aaNRE4aW5NPi<+cq7xvz*kzdOyO;MBLqZdW7tQBQ{4NDA^35>gw*vDIVS+0$EQ|cgJaP{ zQzgk2?0tC6IZ4SP2r5gny6jM~@|<<*rZ(r=ES1XPPPW_tneXT4%%dTG>0SVEF|&|{ zmPC;(z&tf~#c=cD&jMQv)MuS>}8QtkTI2Mpn#NoNx z)kv!VD!O$WAO!D?#f|q6T*{@ADUx|@x13UnNv%%M_v7FX|MmO=fO_H<9$DgI_8L{n z$HW_p0HJy9U$5@E*zxoBX&XEAqm delta 461 zcmV;;0W$u~1m**fBYy#{Nklmn0o`L#`|@hePT=)r;lhE)`)xG-F<4iGuH;#Mu-h4)M&FqQQd0z*I$1E z&}Kw{f&#=}>N0>})>(Tgbj1{0A8(J(kMH0EK+@i;ssYZJLx15i>=>i!Fs7t26r z3=-Y-cD;Xmd}UVy)dj?y??8qo(PQ2F&+M6SWjo018ZGgU8|R$2_p8g|TXntm8h^x7 zjI7;uASC{k#|AS~^trc2oV}jUC$b0N?n5Xv%15|JI~K&ncR`12x0RI}apz6A#V)Y|ns>c&l1BJWIh00000NkvXXu0mjf Dr0C-Z diff --git a/textures/everness_crystal_grass_side.png b/textures/everness_crystal_grass_side.png index 29f5df422e2f485d9cbc56d5acf5181cc9714fed..a0f91f8ee6f55131082cf6850f12a36db853fe5d 100644 GIT binary patch delta 632 zcmV-;0*C$G1CRxfBYy%{Nkl{p&ivk^)0X&lH-(Hg_;fvnj&~T4U=U<5=@DH|b4HVB4Syk%9fo%$Cha8)2S^V8 zXe$C8+<>GStD+m`=!M4BKHp5x^$jwT2^p>N{aztY|KjW2#4TqJM~qt)CSHy2ElG1gr3VM5NNQ*?e>g*!bdUF!LlloENU|CZeQ!%Aaq_rD$CI=|Rh}Y|=6{2ESffWf zHWxAT7?i)FPk$$s%@tYaP+S_u1-ev3-;};V`ErJ#Isy_%LlTo$))%WCq#N-8;N9OsMhU9f70-Xj-T#1g^`=@6t{U2l=l^1Fmljmg| z1jdtq76n;E<%IynrlkQBl8-~a&BbOh~N S3QQ>g0000FOXBYy#;Nklu8Pg6#wW`EvD;J#JJ5?O_7NJJ-A;Z3I_4BHB;#0?{8W}QxV5B3-ZOx+})cXdp7 zM;P0w|H2hChQ`(zHJ=t|_P#()kKg&zv=B>+up^zg)=0V-xuJ0@2PhNj*q(dI|_IJ00000004WQchC#z2-^+3c;~m305Y4k2NP)oK`yd7Y X>S7+YdSc*M00000NkvXXu0mjfbFx_!@pqobaGHAtAvamO*8Wn7M(0!DqdM4aK(e4iuCxyerhUs&$gS#0^PF teg@7oc9o{-k{WDkHxyYsm^>I5>VEQZ^cr3>1RBP`;pyt@BTE)Dq+JQ3_l STg;>Y0000n3`zf8n^*9B?7zj S!Mth!0000