Fixed some graphic glitches

This commit is contained in:
sfan5 2012-01-29 19:10:03 +01:00
parent 0dc5c85137
commit a5fa04cfce
3 changed files with 7 additions and 2 deletions

@ -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,

@ -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,

@ -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}