mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-05 01:05:05 +00:00
Add chorus plant node
This commit is contained in:
parent
b8708d93e6
commit
3ffb0db6ba
2 changed files with 31 additions and 0 deletions
|
@ -153,6 +153,37 @@ minetest.register_node("mcl_end:chorus_flower_dead", {
|
||||||
groups = { oddly_breakable_by_hand = 3, choppy = 3, deco_block = 1},
|
groups = { oddly_breakable_by_hand = 3, choppy = 3, deco_block = 1},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("mcl_end:chorus_plant", {
|
||||||
|
description = "Chorus Plant",
|
||||||
|
tiles = {
|
||||||
|
"mcl_end_chorus_plant.png",
|
||||||
|
"mcl_end_chorus_plant.png",
|
||||||
|
"mcl_end_chorus_plant.png",
|
||||||
|
"mcl_end_chorus_plant.png",
|
||||||
|
"mcl_end_chorus_plant.png",
|
||||||
|
"mcl_end_chorus_plant.png",
|
||||||
|
},
|
||||||
|
drawtype = "nodebox",
|
||||||
|
paramtype = "light",
|
||||||
|
-- TODO: Maybe improve nodebox a bit to look more “natural”
|
||||||
|
node_box = {
|
||||||
|
type = "connected",
|
||||||
|
fixed = { -0.25, -0.25, -0.25, 0.25, 0.25, 0.25 }, -- Core
|
||||||
|
connect_top = { -0.1875, 0.25, -0.1875, 0.1875, 0.5, 0.1875 },
|
||||||
|
connect_left = { -0.5, -0.1875, -0.1875, -0.25, 0.1875, 0.1875 },
|
||||||
|
connect_right = { 0.25, -0.1875, -0.1875, 0.5, 0.1875, 0.1875 },
|
||||||
|
connect_bottom = { -0.1875, -0.5, -0.25, 0.1875, -0.25, 0.25 },
|
||||||
|
connect_front = { -0.1875, -0.1875, -0.5, 0.1875, 0.1875, -0.25 },
|
||||||
|
connect_back = { -0.1875, -0.1875, 0.25, 0.1875, 0.1875, 0.5 },
|
||||||
|
},
|
||||||
|
connect_sides = { "top", "bottom", "front", "back", "left", "right" },
|
||||||
|
connects_to = {"mcl_end:chorus_plant", "mcl_end:chorus_flower", "mcl_end:chorus_flower_dead", "mcl_end:end_stone"},
|
||||||
|
sounds = mcl_core.node_sound_wood_defaults(),
|
||||||
|
-- TODO: Check drop probability
|
||||||
|
drop = { items = { {items = { "mcl_end:chorus_fruit", rarity = 4 } } } },
|
||||||
|
groups = { oddly_breakable_by_hand = 3, choppy = 3, not_in_creative_inventory = 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_plant.png
Normal file
BIN
mods/mcl_end/textures/mcl_end_chorus_plant.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
Loading…
Reference in a new issue