Make all flowers buildable_to and dig_by_water

This commit is contained in:
Wuzzy 2017-01-05 06:37:07 +01:00
parent 59d735f0b4
commit af8ce2882a

View file

@ -28,6 +28,7 @@ local function add_simple_flower(name, desc, image, color)
stack_max = 64, stack_max = 64,
groups = {dig_immediate=3,flammable=2,flower=1,flora=1,attached_node=1,dig_by_water=1,color=1}, 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(), sounds = default.node_sound_leaves_defaults(),
buildable_to = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 }, 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", paramtype = "light",
walkable = false, walkable = false,
stack_max = 64, 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(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -68,7 +70,8 @@ minetest.register_node("flowers:tulip_red", {
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
stack_max = 64, 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(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -87,7 +90,8 @@ minetest.register_node("flowers:tulip_white", {
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
stack_max = 64, 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(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -108,7 +112,8 @@ minetest.register_node("flowers:allium", {
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
stack_max = 64, 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(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -128,7 +133,8 @@ minetest.register_node("flowers:peony", {
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
stack_max = 64, 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(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -149,7 +155,8 @@ minetest.register_node("flowers:azure_bluet", {
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
stack_max = 64, 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(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -169,7 +176,8 @@ minetest.register_node("flowers:blue_orchid", {
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
stack_max = 64, 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(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
@ -189,7 +197,8 @@ minetest.register_node("flowers:fern", {
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
stack_max = 64, 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(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",