forked from MineClone5/MineClone5
Make all flowers buildable_to and dig_by_water
This commit is contained in:
parent
59d735f0b4
commit
af8ce2882a
|
@ -28,6 +28,7 @@ local function add_simple_flower(name, desc, image, color)
|
|||
stack_max = 64,
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,dig_by_water=1,color=1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
buildable_to = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
|
||||
|
@ -50,7 +51,8 @@ minetest.register_node("flowers:tulip_pink", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
stack_max = 64,
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_pink=1},
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_pink=1,dig_by_water=1},
|
||||
buildable_to = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -68,7 +70,8 @@ minetest.register_node("flowers:tulip_red", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
stack_max = 64,
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_red=1},
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_red=1,dig_by_water=1},
|
||||
buildable_to = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -87,7 +90,8 @@ minetest.register_node("flowers:tulip_white", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
stack_max = 64,
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_white=1},
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_white=1,dig_by_water=1},
|
||||
buildable_to = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -108,7 +112,8 @@ minetest.register_node("flowers:allium", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
stack_max = 64,
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_pink=1},
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_pink=1,dig_by_water=1},
|
||||
buildable_to = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -128,7 +133,8 @@ minetest.register_node("flowers:peony", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
stack_max = 64,
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_pink=1},
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_pink=1,dig_by_water=1},
|
||||
buildable_to = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -149,7 +155,8 @@ minetest.register_node("flowers:azure_bluet", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
stack_max = 64,
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_white=1},
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_white=1,dig_by_water=1},
|
||||
buildable_to = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -169,7 +176,8 @@ minetest.register_node("flowers:blue_orchid", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
stack_max = 64,
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_blue=1},
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,color_blue=1,dig_by_water=1},
|
||||
buildable_to = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -189,7 +197,8 @@ minetest.register_node("flowers:fern", {
|
|||
paramtype = "light",
|
||||
walkable = false,
|
||||
stack_max = 64,
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,attached_node=1},
|
||||
groups = {dig_immediate=3,flammable=2,flower=1,attached_node=1,dig_by_water=1},
|
||||
buildable_to = true,
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
|
Loading…
Reference in New Issue