summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-05-20 16:57:17 +0100
committertenplus1 <kinsellaja@yahoo.com>2015-05-20 16:57:17 +0100
commitf438eadeb98c75252fe550ac2366b06db5022406 (patch)
treedc93fe7758bf55f4f87f69a47cc4c07efed5400d
parent57240fe6f540164860b08d0afa6b8d5621d8ceda (diff)
Fixed light_max, added scorched wood recipe
-rw-r--r--crystal.lua4
-rw-r--r--extra.lua2
-rw-r--r--leaves.lua2
-rw-r--r--plantlife.lua2
-rw-r--r--wood.lua9
5 files changed, 14 insertions, 5 deletions
diff --git a/crystal.lua b/crystal.lua
index de704f6..d7ad9b8 100644
--- a/crystal.lua
+++ b/crystal.lua
@@ -6,7 +6,7 @@ minetest.register_node("ethereal:crystal_spike", {
inventory_image = "crystal_spike.png",
wield_image = "crystal_spike.png",
paramtype = "light",
- light_source = LIGHT_MAX - 7,
+ light_source = default.LIGHT_MAX - 7,
walkable = false,
damage_per_second = 1,
groups = {cracky=1,falling_node=1,puts_out_fire=1},
@@ -36,7 +36,7 @@ minetest.register_craft({
minetest.register_node("ethereal:crystal_block", {
description = "Crystal Block",
tiles = {"crystal_block.png"},
- light_source = LIGHT_MAX - 5,
+ light_source = default.LIGHT_MAX - 5,
groups = {cracky=1,level=2,puts_out_fire=1},
sounds = default.node_sound_glass_defaults(),
})
diff --git a/extra.lua b/extra.lua
index 6139ac1..09bdd64 100644
--- a/extra.lua
+++ b/extra.lua
@@ -92,7 +92,7 @@ minetest.register_node("ethereal:glostone", {
description = "Glo Stone",
tiles = {"glostone.png"},
groups = {cracky=3},
- light_source = LIGHT_MAX - 1,
+ light_source = default.LIGHT_MAX - 1,
drop = "ethereal:glostone",
sounds = default.node_sound_stone_defaults(),
})
diff --git a/leaves.lua b/leaves.lua
index 8aa38be..c120d60 100644
--- a/leaves.lua
+++ b/leaves.lua
@@ -241,7 +241,7 @@ minetest.register_node("ethereal:frost_leaves", {
paramtype = "light",
walkable = false,
waving = 1,
- groups = {snappy=3, leafdecay=3, puts_out_fire=1},
+ groups = {snappy=3, leafdecay=3, leaves=1, puts_out_fire=1},
drop = {
max_items = 1,
items = {
diff --git a/plantlife.lua b/plantlife.lua
index 71f55f5..df700e8 100644
--- a/plantlife.lua
+++ b/plantlife.lua
@@ -485,7 +485,7 @@ minetest.register_node("ethereal:candle", {
{name="candle.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.0}},
},
paramtype = "light",
- light_source = LIGHT_MAX-3,
+ light_source = default.LIGHT_MAX-3,
sunlight_propagates = true,
walkable = false,
groups = {dig_immediate=3, attached_node=1},
diff --git a/wood.lua b/wood.lua
index 9c28150..7003b89 100644
--- a/wood.lua
+++ b/wood.lua
@@ -147,6 +147,15 @@ minetest.register_node("ethereal:scorched_tree", { -- Scorched Trunk
paramtype2 = "facedir",
})
+minetest.register_craft({
+ output = "ethereal:scorched_tree 8",
+ recipe = {
+ {"group:tree", "group:tree", "group:tree"},
+ {"group:tree", "default:torch", "group:tree"},
+ {"group:tree", "group:tree", "group:tree"},
+ }
+})
+
minetest.register_node("ethereal:mushroom_trunk", { -- Mushroom Trunk
description = "Mushroom",
tiles = {"mushroom_trunk_top.png", "mushroom_trunk_top.png", "mushroom_trunk.png"},