mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
Add Pink Petals
This commit is contained in:
parent
afc6be0168
commit
56f810f27c
3 changed files with 36 additions and 1 deletions
|
@ -101,3 +101,38 @@ mesecon.register_button(
|
||||||
true,
|
true,
|
||||||
nil,
|
nil,
|
||||||
"mesecons_button_push_wood")
|
"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,
|
||||||
|
})
|
||||||
|
|
BIN
textures/mcl_cherry_blossom_pink_petals.png
Normal file
BIN
textures/mcl_cherry_blossom_pink_petals.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
BIN
textures/mcl_cherry_blossom_pink_petals_stem.png
Normal file
BIN
textures/mcl_cherry_blossom_pink_petals_stem.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
Loading…
Reference in a new issue