From 56f810f27c6a9294b6a8e37a8da75947c57aa9dd Mon Sep 17 00:00:00 2001 From: cora Date: Wed, 19 Jul 2023 23:10:26 +0200 Subject: [PATCH] Add Pink Petals --- mods/ITEMS/mcl_cherry_blossom/nodes.lua | 37 +++++++++++++++++- textures/mcl_cherry_blossom_pink_petals.png | Bin 0 -> 5953 bytes .../mcl_cherry_blossom_pink_petals_stem.png | Bin 0 -> 5350 bytes 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 textures/mcl_cherry_blossom_pink_petals.png create mode 100644 textures/mcl_cherry_blossom_pink_petals_stem.png diff --git a/mods/ITEMS/mcl_cherry_blossom/nodes.lua b/mods/ITEMS/mcl_cherry_blossom/nodes.lua index 403982872..38001d96b 100644 --- a/mods/ITEMS/mcl_cherry_blossom/nodes.lua +++ b/mods/ITEMS/mcl_cherry_blossom/nodes.lua @@ -14,7 +14,7 @@ mcl_core.register_stripped_trunk("stripped_cherrytree", S("Stripped Cherry Log") mcl_core.register_wooden_planks("cherrywood", S("Cherry Wood Planks"), {"mcl_cherry_blossom_planks.png"}) -- Leaves -mcl_core.register_leaves("cherryleaves", S("Cherry Leaves"), +mcl_core.register_leaves("cherryleaves", S("Cherry Leaves"), S("Cherry blossom leaves are grown from cherry blossom trees."), {"mcl_cherry_blossom_leaves.png"}, nil, "none", nil, "mcl_cherry_blossom:cherrysapling", false, {20, 16, 12, 10}) @@ -101,3 +101,38 @@ mesecon.register_button( true, nil, "mesecons_button_push_wood") + + +-- petals +minetest.register_node("mcl_cherry_blossom:pink_petals",{ + description = S("Pink Petals"), + doc_items_longdesc = S("Pink Petals are ground decoration of cherry grove biomes"), + doc_items_hidden = false, + paramtype = "light", + paramtype2 = "facedir", + walkable = false, + sunlight_propagates = true, + buildable_to = true, + floodable = true, + pointable = true, + drawtype = "nodebox", + node_box = {type = "fixed", fixed = {-1/2, -1/2, -1/2, 1/2, -7.9/16, 1/2}}, + collision_box = {type = "fixed", fixed = {-1/2, -1/2, -1/2, 1/2, -7.9/16, 1/2}}, + groups = { + shearsy=1, + handy=1, + flammable=3, + attached_node=1, + dig_by_piston=1, + --not_in_creative_inventory=1, + }, + use_texture_alpha = "clip", + sounds = mcl_sounds.node_sound_leaves_defaults(), + tiles = { + "mcl_cherry_blossom_pink_petals.png", + "mcl_cherry_blossom_pink_petals.png^[transformFY", -- mirror + "blank.png" -- empty + }, + _mcl_hardness = 0, + _mcl_blast_resistance = 0, +}) diff --git a/textures/mcl_cherry_blossom_pink_petals.png b/textures/mcl_cherry_blossom_pink_petals.png new file mode 100644 index 0000000000000000000000000000000000000000..f3b60dbb8354646bed125f852f4aa096d92843d6 GIT binary patch literal 5953 zcmeHLX;c%*7H(WXSwuk*5G4jdgvlNti3!L~ln4R>qbPPdounb1^mH1M;OHPCDDFF( ziVM!*Hi#SOAnLdw?kmr2K)`WFaNI@S>41pu`JCsE`R6^S&q-H(_q$bJ-FxeF=0%PV zwK8`!2LQlI92OJ>06>58>0=52fb+9<5CD2@N{fjnqCg!5!!>e51ycwE22)@?A_oBd z_3g3Wr#|BKX}ji;);B{*>EDJeWPeWx@KT##x9=w}zD595d$@*{a{|ZCWR;eY7U-uEWat8+}?wM)K4Zv+7uREgKR~ zjS^N{&z2XzQY&^`JG;15bxF(nQxsy$3Hjp!?7Z}%zE?_C8PDBrQ{gqm0MGhY+~4T#ctc!vHeOdTQ9p`DmthvHXmI1kUmQgHv*nfgskb*pm+GLKJ~|g)V}L`k5Lw; z42;b<_xwjmfy|uUOE=1+K}Ug2|4yqlPUOIQLf_rvQm9t8`pXE6RIDqU^&eWk$7y$ z=XjqfEo@223OIXg5dC1L%{Y&!-Hkb|B?q${leb8>T)mmlkj1|s9Vf}(d$VNYiv7*& zPpsWfJT??vHnsLUGS|h*LC`wKG0*B@%^N2#!33>ENl7mK@>68&&wcY7MueYE&wbYG z=%pZ__hUDC?8)g0H^P>))n1#6K4phvj*_G4Ma_*ziYyKc!L7?3n%m8NbX0{KQ8lYD z?|h~IlR^6!k;%_?m#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