minetest.register_node("pink_flower:pink_flower", {
- description = "Pink carnation",
- drawtype = "plantlike",
- waving = 1,
- tiles = {"pink_flower.png"},
- inventory_image = "pink_flower.png",
- wield_image = "pink_flower.png",
- sunlight_propagates = true,
- paramtype = "light",
- walkable = false,
- buildable_to = true,
- stack_max = 99,
- groups = {
- attached_node = 1,
+ description = "Pink carnation",
+ drawtype = "plantlike",
+ waving = 1,
+ tiles = {"pink_flower.png"},
+ inventory_image = "pink_flower.png",
+ wield_image = "pink_flower.png",
+ sunlight_propagates = true,
+ paramtype = "light",
+ walkable = false,
+ buildable_to = true,
+ stack_max = 99,
+ groups = {
+ attached_node = 1,
color_pink = 1,
flammable = 1,
- flora = 1,
- flower = 1,
- snappy = 3
+ flora = 1,
+ flower = 1,
+ snappy = 3
},
- sounds = default.node_sound_leaves_defaults(),
- selection_box = {
- type = "fixed",
- fixed = {-2 / 16, -0.5, -2 / 16, 2 / 16, 4 / 16, 2 / 16}
- }
+ sounds = default.node_sound_leaves_defaults(),
+ selection_box = {
+ type = "fixed",
+ fixed = {-2 / 16, -0.5, -2 / 16, 2 / 16, 4 / 16, 2 / 16}
+ }
})