summaryrefslogtreecommitdiff
path: root/node_defs.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-21 20:52:04 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-01-21 21:08:11 -0500
commit71e0fce57ae1b5c84c822afe289cf048fa30687b (patch)
treedfb9a33e91d4335aa623769b23984ca558ab0233 /node_defs.lua
parent466fb89ec1e071c4018528bb2e67d2e3541c75b0 (diff)
Added fir cones, more tweaks to weed out old conifer/jungletree refs.
Changed fir models so that they include the new cones.
Diffstat (limited to 'node_defs.lua')
-rw-r--r--node_defs.lua16
1 files changed, 15 insertions, 1 deletions
diff --git a/node_defs.lua b/node_defs.lua
index 38ed950..4036a48 100644
--- a/node_defs.lua
+++ b/node_defs.lua
@@ -324,7 +324,21 @@ minetest.register_node("moretrees:fir_sapling", {
sounds = default.node_sound_defaults(),
})
-
+minetest.register_node("moretrees:fir_cone", {
+ description = "Fir cone",
+ drawtype = "plantlike",
+ visual_scale = 0.8,
+ tiles = {"moretrees_fir_cone.png"},
+ paramtype = "light",
+ sunlight_propagates = true,
+ walkable = false,
+ groups = {fleshy=3,dig_immediate=3,flammable=2},
+ sounds = default.node_sound_defaults(),
+ selection_box = {
+ type = "fixed",
+ fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
+ },
+})
-- Backward compatbility with old mods/nodes: