summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-01-22 21:06:03 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-01-22 21:06:03 +0000
commit1bd6be68e12a82508253cbd4439e33d9fca714be (patch)
tree56890163a2e8d65063df295bac5d8def8c04cb03
parentc378e96af877976dade868a4fe4b19eeb7d66fe0 (diff)
Added glowing vines (1x fire dust surrounded by vines)
-rw-r--r--plantlife.lua31
-rw-r--r--textures/lightstring.pngbin0 -> 201 bytes
2 files changed, 31 insertions, 0 deletions
diff --git a/plantlife.lua b/plantlife.lua
index 713b5ec..e0e5978 100644
--- a/plantlife.lua
+++ b/plantlife.lua
@@ -50,6 +50,37 @@ minetest.register_craft({
burntime = 20,
})
+
+-- light strings (glowing vine)
+minetest.register_node("ethereal:lightstring", {
+ description = "Light String Vine",
+ drawtype = "signlike",
+ tiles = {"lightstring.png"},
+ inventory_image = "lightstring.png",
+ wield_image = "lightstring.png",
+ paramtype = "light",
+ paramtype2 = "wallmounted",
+ light_source = 10,
+ walkable = false,
+ climbable = true,
+ is_ground_content = false,
+ selection_box = {
+ type = "wallmounted",
+ },
+ groups = {choppy = 3, oddly_breakable_by_hand = 1},
+ legacy_wallmounted = true,
+ sounds = default.node_sound_leaves_defaults(),
+})
+
+minetest.register_craft({
+ output = "ethereal:lightstring 8",
+ recipe = {
+ {"ethereal:vine", "ethereal:vine", "ethereal:vine"},
+ {"ethereal:vine", "ethereal:fire_dust", "ethereal:vine"},
+ {"ethereal:vine", "ethereal:vine", "ethereal:vine"},
+ },
+})
+
-- Fern (boston)
minetest.register_node("ethereal:fern", {
description = "Fern",
diff --git a/textures/lightstring.png b/textures/lightstring.png
new file mode 100644
index 0000000..285b5ab
--- /dev/null
+++ b/textures/lightstring.png
Binary files differ