summaryrefslogtreecommitdiff
path: root/jeija
diff options
context:
space:
mode:
Diffstat (limited to 'jeija')
-rw-r--r--jeija/button.lua1
-rw-r--r--jeija/init.lua3
-rw-r--r--jeija/torches.lua5
3 files changed, 7 insertions, 2 deletions
diff --git a/jeija/button.lua b/jeija/button.lua
index 0b1232c..e9f7128 100644
--- a/jeija/button.lua
+++ b/jeija/button.lua
@@ -3,6 +3,7 @@ minetest.register_node("jeija:wall_button_off", {
drawtype = "signlike",
tile_images = {"jeija_wall_button_off.png"},
inventory_image = "jeija_wall_button_off.png",
+ wield_image = "jeija_wall_button_off.png",
paramtype = "light",
paramtype2 = "wallmounted",
legacy_wallmounted = true,
diff --git a/jeija/init.lua b/jeija/init.lua
index afc13b6..2b74808 100644
--- a/jeija/init.lua
+++ b/jeija/init.lua
@@ -82,6 +82,7 @@ minetest.register_node("jeija:mesecon_off", {
drawtype = "raillike",
tile_images = {"jeija_mesecon_off.png", "jeija_mesecon_curved_off.png", "jeija_mesecon_t_junction_off.png", "jeija_mesecon_crossing_off.png"},
inventory_image = "jeija_mesecon_off.png",
+ wield_image = "jeija_mesecon_off.png",
paramtype = "light",
is_ground_content = true,
walkable = false,
@@ -646,6 +647,7 @@ minetest.register_node("jeija:solar_panel", {
drawtype = "raillike",
tile_images = {"jeija_solar_panel.png"},
inventory_image = "jeija_solar_panel.png",
+ wield_image = "jeija_solar_panel.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
@@ -712,6 +714,7 @@ minetest.register_node("jeija:meselamp_off", {
drawtype = "torchlike",
tile_images = {"jeija_meselamp_on_floor_off.png", "jeija_meselamp_on_ceiling_off.png", "jeija_meselamp_off.png"},
inventory_image = "jeija_meselamp_on_floor_off.png",
+ wield_image = "jeija_meselamp_on_ceiling_off.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
diff --git a/jeija/torches.lua b/jeija/torches.lua
index fca051c..ce46436 100644
--- a/jeija/torches.lua
+++ b/jeija/torches.lua
@@ -12,7 +12,7 @@ minetest.register_node("jeija:mesecon_torch_off", {
drawtype = "torchlike",
tile_images = {"jeija_torches_off.png", "jeija_torches_off_ceiling.png", "jeija_torches_off_side.png"},
inventory_image = "jeija_torches_off.png",
- sunlight_propagates = true,
+ paramtype = "light",
walkable = false,
paramtype2 = "wallmounted",
legacy_wallmounted = true,
@@ -24,6 +24,7 @@ minetest.register_node("jeija:mesecon_torch_on", {
drawtype = "torchlike",
tile_images = {"jeija_torches_on.png", "jeija_torches_on_ceiling.png", "jeija_torches_on_side.png"},
inventory_image = "jeija_torches_on.png",
+ wield_image = "jeija_torches_on.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
@@ -43,7 +44,7 @@ end)]]
minetest.register_abm({
nodenames = {"jeija:mesecon_torch_off","jeija:mesecon_torch_on"},
- interval = 0.1,
+ interval = 0.2,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
local pa = {x=0, y=0, z=0}