From a5fa04cfceb64448d666cb98125465b23bede7bf Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 29 Jan 2012 19:10:03 +0100 Subject: Fixed some graphic glitches --- jeija/torches.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'jeija/torches.lua') 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} -- cgit v1.2.3 From f4fa9dec32d7debe1a8aa058f2b0a413193a43aa Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 5 Feb 2012 10:28:32 +0100 Subject: Made Torches faster --- jeija/torches.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jeija/torches.lua') diff --git a/jeija/torches.lua b/jeija/torches.lua index 3f92f1e..28e9985 100644 --- a/jeija/torches.lua +++ b/jeija/torches.lua @@ -46,7 +46,7 @@ end)]] minetest.register_abm({ nodenames = {"jeija:mesecon_torch_off","jeija:mesecon_torch_on"}, - interval = 0.2, + interval = 0.1, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) local pa = {x=0, y=0, z=0} -- cgit v1.2.3