mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-25 04:13:44 +01:00
Add basic chorus flower node
This commit is contained in:
parent
a8429bde8e
commit
3195ba738e
@ -107,6 +107,51 @@ minetest.register_node("mcl_end:dragon_egg", {
|
|||||||
-- TODO: Make dragon egg teleport on punching
|
-- TODO: Make dragon egg teleport on punching
|
||||||
})
|
})
|
||||||
|
|
||||||
|
local chorus_flower_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {
|
||||||
|
{-0.5, -0.375, -0.375, 0.5, 0.375, 0.375},
|
||||||
|
{-0.375, -0.375, 0.375, 0.375, 0.375, 0.5},
|
||||||
|
{-0.375, -0.375, -0.5, 0.375, 0.375, -0.375},
|
||||||
|
{-0.375, 0.375, -0.375, 0.375, 0.5, 0.375},
|
||||||
|
{-0.375, -0.5, -0.375, 0.375, -0.375, 0.375},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
minetest.register_node("mcl_end:chorus_flower", {
|
||||||
|
description = "Chorus Flower",
|
||||||
|
tiles = {
|
||||||
|
"mcl_end_chorus_flower.png",
|
||||||
|
"mcl_end_chorus_flower.png",
|
||||||
|
"mcl_end_chorus_flower.png",
|
||||||
|
"mcl_end_chorus_flower.png",
|
||||||
|
"mcl_end_chorus_flower.png",
|
||||||
|
"mcl_end_chorus_flower.png",
|
||||||
|
},
|
||||||
|
drawtype = "nodebox",
|
||||||
|
paramtype = "light",
|
||||||
|
node_box = chorus_flower_box,
|
||||||
|
sounds = mcl_core.node_sound_wood_defaults(),
|
||||||
|
groups = { oddly_breakable_by_hand = 3, choppy = 3, deco_block = 1 },
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("mcl_end:chorus_flower_dead", {
|
||||||
|
description = "Dead Chorus Flower",
|
||||||
|
tiles = {
|
||||||
|
"mcl_end_chorus_flower_dead.png",
|
||||||
|
"mcl_end_chorus_flower_dead.png",
|
||||||
|
"mcl_end_chorus_flower_dead.png",
|
||||||
|
"mcl_end_chorus_flower_dead.png",
|
||||||
|
"mcl_end_chorus_flower_dead.png",
|
||||||
|
"mcl_end_chorus_flower_dead.png",
|
||||||
|
},
|
||||||
|
drawtype = "nodebox",
|
||||||
|
paramtype = "light",
|
||||||
|
node_box = chorus_flower_box,
|
||||||
|
sounds = mcl_core.node_sound_wood_defaults(),
|
||||||
|
groups = { oddly_breakable_by_hand = 3, choppy = 3, deco_block = 1},
|
||||||
|
})
|
||||||
|
|
||||||
-- Craftitems
|
-- Craftitems
|
||||||
minetest.register_craftitem("mcl_end:chorus_fruit", {
|
minetest.register_craftitem("mcl_end:chorus_fruit", {
|
||||||
description = "Chorus Fruit",
|
description = "Chorus Fruit",
|
||||||
|
BIN
mods/mcl_end/textures/mcl_end_chorus_flower.png
Normal file
BIN
mods/mcl_end/textures/mcl_end_chorus_flower.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
BIN
mods/mcl_end/textures/mcl_end_chorus_flower_dead.png
Normal file
BIN
mods/mcl_end/textures/mcl_end_chorus_flower_dead.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
Loading…
Reference in New Issue
Block a user