Update 'mods/flowers/init.lua'
This commit is contained in:
parent
3c812572a2
commit
e0b034262e
|
@ -44,9 +44,9 @@ local function add_simple_flower(name, desc, box, f_groups)
|
||||||
description = desc,
|
description = desc,
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
tiles = {"flowers_" .. name .. ".png"},
|
tiles = {.. name .. ".png"},
|
||||||
inventory_image = "flowers_" .. name .. ".png",
|
inventory_image = .. name .. ".png",
|
||||||
wield_image = "flowers_" .. name .. ".png",
|
wield_image = .. name .. ".png",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
@ -62,50 +62,50 @@ end
|
||||||
|
|
||||||
flowers.datas = {
|
flowers.datas = {
|
||||||
{
|
{
|
||||||
"rose",
|
"plom_bloom",
|
||||||
S("Red Rose"),
|
S("Plom Bloom"),
|
||||||
{-2 / 16, -0.5, -2 / 16, 2 / 16, 5 / 16, 2 / 16},
|
{-2 / 16, -0.5, -2 / 16, 2 / 16, 5 / 16, 2 / 16},
|
||||||
{color_red = 1, flammable = 1}
|
{color_red = 1, flammable = 1}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"tulip",
|
"hai-ka_flower",
|
||||||
S("Orange Tulip"),
|
S("Hai-ka flower"),
|
||||||
{-2 / 16, -0.5, -2 / 16, 2 / 16, 3 / 16, 2 / 16},
|
{-2 / 16, -0.5, -2 / 16, 2 / 16, 3 / 16, 2 / 16},
|
||||||
{color_orange = 1, flammable = 1}
|
{color_orange = 1, flammable = 1}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dandelion_yellow",
|
"delia_pavorum",
|
||||||
S("Yellow Dandelion"),
|
S("Delia Pavorum"),
|
||||||
{-4 / 16, -0.5, -4 / 16, 4 / 16, -2 / 16, 4 / 16},
|
{-4 / 16, -0.5, -4 / 16, 4 / 16, -2 / 16, 4 / 16},
|
||||||
{color_yellow = 1, flammable = 1}
|
{color_yellow = 1, flammable = 1}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"chrysanthemum_green",
|
"jade_rose",
|
||||||
S("Green Chrysanthemum"),
|
S("Jade Rose"),
|
||||||
{-4 / 16, -0.5, -4 / 16, 4 / 16, -1 / 16, 4 / 16},
|
{-4 / 16, -0.5, -4 / 16, 4 / 16, -1 / 16, 4 / 16},
|
||||||
{color_green = 1, flammable = 1}
|
{color_green = 1, flammable = 1}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"geranium",
|
"starflower",
|
||||||
S("Blue Geranium"),
|
S("Starflower"),
|
||||||
{-2 / 16, -0.5, -2 / 16, 2 / 16, 2 / 16, 2 / 16},
|
{-2 / 16, -0.5, -2 / 16, 2 / 16, 2 / 16, 2 / 16},
|
||||||
{color_blue = 1, flammable = 1}
|
{color_blue = 1, flammable = 1}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"viola",
|
"purple_passion",
|
||||||
S("Viola"),
|
S("Purple passion"),
|
||||||
{-5 / 16, -0.5, -5 / 16, 5 / 16, -1 / 16, 5 / 16},
|
{-5 / 16, -0.5, -5 / 16, 5 / 16, -1 / 16, 5 / 16},
|
||||||
{color_violet = 1, flammable = 1}
|
{color_violet = 1, flammable = 1}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dandelion_white",
|
"lily_white",
|
||||||
S("White Dandelion"),
|
S("White Lily"),
|
||||||
{-5 / 16, -0.5, -5 / 16, 5 / 16, -2 / 16, 5 / 16},
|
{-5 / 16, -0.5, -5 / 16, 5 / 16, -2 / 16, 5 / 16},
|
||||||
{color_white = 1, flammable = 1}
|
{color_white = 1, flammable = 1}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"tulip_black",
|
"zinthorn",
|
||||||
S("Black Tulip"),
|
S("Zinthorn"),
|
||||||
{-2 / 16, -0.5, -2 / 16, 2 / 16, 3 / 16, 2 / 16},
|
{-2 / 16, -0.5, -2 / 16, 2 / 16, 3 / 16, 2 / 16},
|
||||||
{color_black = 1, flammable = 1}
|
{color_black = 1, flammable = 1}
|
||||||
},
|
},
|
||||||
|
@ -186,9 +186,9 @@ minetest.register_abm({
|
||||||
|
|
||||||
minetest.register_node("flowers:mushroom_red", {
|
minetest.register_node("flowers:mushroom_red", {
|
||||||
description = S("Red Mushroom"),
|
description = S("Red Mushroom"),
|
||||||
tiles = {"flowers_mushroom_red.png"},
|
tiles = {"mushroom_red.png"},
|
||||||
inventory_image = "flowers_mushroom_red.png",
|
inventory_image = "mushroom_red.png",
|
||||||
wield_image = "flowers_mushroom_red.png",
|
wield_image = "mushroom_red.png",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
@ -205,9 +205,9 @@ minetest.register_node("flowers:mushroom_red", {
|
||||||
|
|
||||||
minetest.register_node("flowers:mushroom_brown", {
|
minetest.register_node("flowers:mushroom_brown", {
|
||||||
description = S("Brown Mushroom"),
|
description = S("Brown Mushroom"),
|
||||||
tiles = {"flowers_mushroom_brown.png"},
|
tiles = {"mushroom_brown.png"},
|
||||||
inventory_image = "flowers_mushroom_brown.png",
|
inventory_image = "mushroom_brown.png",
|
||||||
wield_image = "flowers_mushroom_brown.png",
|
wield_image = "mushroom_brown.png",
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
@ -257,16 +257,6 @@ minetest.register_abm({
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
-- These old mushroom related nodes can be simplified now
|
|
||||||
|
|
||||||
minetest.register_alias("flowers:mushroom_spores_brown", "flowers:mushroom_brown")
|
|
||||||
minetest.register_alias("flowers:mushroom_spores_red", "flowers:mushroom_red")
|
|
||||||
minetest.register_alias("flowers:mushroom_fertile_brown", "flowers:mushroom_brown")
|
|
||||||
minetest.register_alias("flowers:mushroom_fertile_red", "flowers:mushroom_red")
|
|
||||||
minetest.register_alias("mushroom:brown_natural", "flowers:mushroom_brown")
|
|
||||||
minetest.register_alias("mushroom:red_natural", "flowers:mushroom_red")
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Waterlily
|
-- Waterlily
|
||||||
--
|
--
|
||||||
|
@ -276,9 +266,9 @@ local waterlily_def = {
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
tiles = {"flowers_waterlily.png", "flowers_waterlily_bottom.png"},
|
tiles = {"waterlily.png", "waterlily_bottom.png"},
|
||||||
inventory_image = "flowers_waterlily.png",
|
inventory_image = "waterlily.png",
|
||||||
wield_image = "flowers_waterlily.png",
|
wield_image = "waterlily.png",
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
|
|
Loading…
Reference in New Issue