diff --git a/README.md b/README.md index 5ad59a5..eea2c66 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,7 @@ who helped make this mod bigger and better throughout it's release :) - Make stairs and doors a soft dependency, fix willow recipes (thanks sangeet) - Added 'ethereal.flightpotion_duration' setting, potion also works on 0.4.x clients - Added olive wood fences, gates, mese posts + - Added lilac to sakura biome (can be crafted into magenta dye) #### 1.28 diff --git a/decor.lua b/decor.lua index 5b782de..63a230f 100644 --- a/decor.lua +++ b/decor.lua @@ -274,6 +274,9 @@ add_node({"ethereal:bamboo_dirt"}, 0.35, {"sakura"}, 1, 100, {"default:grass_2", "default:grass_3", "default:grass_4", "default:grass_5"}, nil, nil, nil, ethereal.sakura) +add_node({"ethereal:bamboo_dirt"}, 0.025, {"sakura"}, 1, 100, + {"ethereal:lilac"}, nil, nil, nil, ethereal.sakura) + -- grass on sand if minetest.registered_nodes["default:marram_grass_1"] then diff --git a/plantlife.lua b/plantlife.lua index 09a36d2..4853da9 100644 --- a/plantlife.lua +++ b/plantlife.lua @@ -240,6 +240,33 @@ minetest.register_node("ethereal:crystalgrass", { }) +-- lilac +minetest.register_node("ethereal:lilac", { + description = S("Fern"), + drawtype = "plantlike", + visual_scale = 1.9, + tiles = {"ethereal_lilac.png"}, + inventory_image = "ethereal_lilac.png", + wield_image = "ethereal_lilac.png", + paramtype = "light", + sunlight_propagates = true, + waving = 1, + walkable = false, + buildable_to = true, + groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 2}, + sounds = default.node_sound_leaves_defaults(), + selection_box = { + type = "fixed", + fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 0.67, 5 / 16} + } +}) + +minetest.register_craft({ + output = "dye:magenta 2", + recipe = {{"ethereal:lilac"}} +}) + + -- Define Moss Types (Has grass textures on all sides) local add_moss = function(typ, descr, texture, receipe_item) diff --git a/textures/ethereal_lilac.png b/textures/ethereal_lilac.png new file mode 100644 index 0000000..bfc72bf Binary files /dev/null and b/textures/ethereal_lilac.png differ