From 1bd6be68e12a82508253cbd4439e33d9fca714be Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 22 Jan 2016 21:06:03 +0000 Subject: [PATCH] Added glowing vines (1x fire dust surrounded by vines) --- plantlife.lua | 31 +++++++++++++++++++++++++++++++ textures/lightstring.png | Bin 0 -> 201 bytes 2 files changed, 31 insertions(+) create mode 100644 textures/lightstring.png 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 0000000000000000000000000000000000000000..285b5abeb5341a2a569c6ec7b4cd537f7916c782 GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPHV5AX?bO)b&gv}NOgL;J5>yY%AK zbN8j9g+M9Bk|4ie28U-i(tw-{PZ!4!j_b0$2YC-0@EmzDnLVI~Z@~`910CWXx8K+Y zKegd|(EOnB$O*^rxkei6s&i}`&n@J3`JiR2$XBy-%VVkA2{)75^f}Dq4Q7YeJOAz2 xwLEwEkDaL}d@jyQinCk(UGK8Fyqx;OXk;vd$@?2>=d7PPPC5 literal 0 HcmV?d00001