summaryrefslogtreecommitdiff
path: root/plantlife.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-09-14 16:56:37 +0200
committerroot <root@linux-forks.de>2018-09-14 16:56:37 +0200
commit31fe2ff374e72fb8ea44d50cd82d6fc8b9be5463 (patch)
tree87768ea1339a0c838716d8bb3418e35a80b00c46 /plantlife.lua
parentb32bd2d50b685e9f550f1138d3db1ed0c6504d2c (diff)
parent43d62b57428b4738a7e8cee0fae78b1147f9b085 (diff)
Merge branch 'master' of https://notabug.org/TenPlus1/ethereal
Diffstat (limited to 'plantlife.lua')
-rw-r--r--plantlife.lua22
1 files changed, 21 insertions, 1 deletions
diff --git a/plantlife.lua b/plantlife.lua
index 31846e3..2c677ce 100644
--- a/plantlife.lua
+++ b/plantlife.lua
@@ -1,6 +1,26 @@
local S = ethereal.intllib
+-- Firethorn (poisonous when eaten raw, must be crushed and washed in flowing water 1st)
+minetest.register_node("ethereal:firethorn", {
+ description = S("Firethorn Shrub"),
+ drawtype = "plantlike",
+ tiles = {"ethereal_firethorn.png"},
+ inventory_image = "ethereal_firethorn.png",
+ wield_image = "ethereal_firethorn.png",
+ paramtype = "light",
+ sunlight_propagates = true,
+ waving = 1,
+ walkable = false,
+ buildable_to = true,
+ groups = {snappy = 3, flora = 1, attached_node = 1},
+ sounds = default.node_sound_leaves_defaults(),
+ selection_box = {
+ type = "fixed",
+ fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 4 / 16, 5 / 16},
+ },
+})
+
-- Fire Flower
minetest.register_node("ethereal:fire_flower", {
description = S("Fire Flower"),
@@ -162,7 +182,7 @@ minetest.register_node("ethereal:dry_shrub", {
waving = 1,
walkable = false,
buildable_to = true,
- groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 2},
+ groups = {snappy = 3, flora = 1, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",