summaryrefslogtreecommitdiff
path: root/extra.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-11-23 20:43:48 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2015-11-23 20:43:48 +0000
commit4a29cc936a239800b5db0bf9b16114ff172666cc (patch)
tree6ca52c96b543315edc633ab9cefec04d559de8ee /extra.lua
parenta3e577a3ec7ac4c559e2e1f19b5a653ced258d26 (diff)
Added wield images
Diffstat (limited to 'extra.lua')
-rw-r--r--extra.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/extra.lua b/extra.lua
index 41d304d..e61cc4c 100644
--- a/extra.lua
+++ b/extra.lua
@@ -61,12 +61,15 @@ minetest.register_craft({
minetest.register_node("ethereal:paper_wall", {
drawtype = "nodebox",
description = ("Paper Wall"),
- tiles = {"paper_wall.png",},
+ tiles = {"paper_wall.png"},
+ inventory_image_image = "paper_wall.png",
+ wield_image = "paper_wall.png",
paramtype = "light",
groups = {snappy = 3},
sounds = default.node_sound_wood_defaults(),
walkable = true,
is_ground_content = false,
+ sunlight_propagates = true,
paramtype2 = "facedir",
selection_box = {
type = "fixed",
@@ -132,6 +135,7 @@ minetest.register_craft({
minetest.register_craftitem("ethereal:charcoal_lump", {
description = "Lump of Charcoal",
inventory_image = "charcoal_lump.png",
+ wield_image = "charcoal_lump.png",
})
minetest.register_craft({
@@ -217,6 +221,7 @@ minetest.register_node("ethereal:illumishroom", {
wield_image = "illumishroom.png",
paramtype = "light",
light_source = 5,
+ sunlight_propagates = true,
walkable = false,
groups = {dig_immediate = 3, attached_node = 1,flammable = 3},
sounds = default.node_sound_leaves_defaults(),
@@ -234,6 +239,7 @@ minetest.register_node("ethereal:illumishroom2", {
wield_image = "illumishroom2.png",
paramtype = "light",
light_source = 5,
+ sunlight_propagates = true,
walkable = false,
groups = {dig_immediate = 3, attached_node = 1,flammable = 3},
sounds = default.node_sound_leaves_defaults(),
@@ -251,6 +257,7 @@ minetest.register_node("ethereal:illumishroom3", {
wield_image = "illumishroom3.png",
paramtype = "light",
light_source = 5,
+ sunlight_propagates = true,
walkable = false,
groups = {dig_immediate = 3, attached_node = 1,flammable = 3},
sounds = default.node_sound_leaves_defaults(),
@@ -264,6 +271,7 @@ minetest.register_node("ethereal:illumishroom3", {
minetest.register_tool("ethereal:light_staff", {
description = "Staff of Light",
inventory_image = "light_staff.png",
+ wield_image = "light_staff.png",
stack_max = 1,
on_use = function(itemstack, user, pointed_thing)