Add blue flower

This commit is contained in:
Pierre-Yves Rollo 2020-04-16 21:08:23 +02:00
parent a2c7ba7db0
commit bb4f94408c
3 changed files with 35 additions and 16 deletions

Binary file not shown.

View File

@ -135,22 +135,6 @@ minetest.register_node("grunds:vine_end", {
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node("grunds:red_plant", {
description = S("Grunds Red Plant"),
drawtype = "plantlike",
tiles = {"grunds_red_plant.png"},
paramtype = "light",
selection_box = {
type = "fixed",
fixed = {
{ -3 / 8, -0.5, -3 / 8, 3 / 8, 0.5, 3 / 8 },
},
},
is_ground_content = false,
sunlight_propagates = true,
groups = {snappy = 3, flammable = 2},
})
minetest.register_node("grunds:red_fruit", {
description = S("Grunds Red Fruit"),
drawtype = "plantlike",
@ -169,3 +153,38 @@ minetest.register_node("grunds:blue_fruit", {
sunlight_propagates = true,
groups = {snappy = 3, flammable = 2},
})
minetest.register_node("grunds:red_plant", {
description = S("Grunds Red Plant"),
drawtype = "plantlike",
tiles = {"grunds_red_plant.png"},
paramtype = "light",
selection_box = {
type = "fixed",
fixed = {
{ -3 / 8, -0.5, -3 / 8, 3 / 8, 0.5, 3 / 8 },
},
},
is_ground_content = false,
sunlight_propagates = true,
groups = {snappy = 3, flammable = 2},
})
minetest.register_node("grunds:blue_plant", {
description = S("Grunds Blue Plant"),
drawtype = "plantlike",
tiles = {"grunds_blue_plant.png"},
paramtype = "light",
paramtype2 = "meshoptions",
place_param2 = 4,
selection_box = {
type = "fixed",
fixed = {
{ -3 / 8, -0.5, -3 / 8, 3 / 8, 0.5, 3 / 8 },
},
},
is_ground_content = false,
sunlight_propagates = true,
groups = {snappy = 3, flammable = 2},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B