Fix Meselamp-Orientation Bug

This commit is contained in:
Jeija 2012-02-04 18:02:51 +01:00
parent 2c05a92897
commit c76070fa27

@ -698,7 +698,7 @@ minetest.register_abm(
-- MESELAMPS -- MESELAMPS
minetest.register_node("jeija:meselamp_on", { minetest.register_node("jeija:meselamp_on", {
drawtype = "torchlike", drawtype = "torchlike",
tile_images = {"jeija_meselamp_on_floor_on.png", "jeija_meselamp_on_ceiling_on.png", "jeija_meselamp_on.png"}, tile_images = {"jeija_meselamp_on_ceiling_on.png", "jeija_meselamp_on_floor_on.png", "jeija_meselamp_on.png"},
inventory_image = "jeija_meselamp_on_floor_on.png", inventory_image = "jeija_meselamp_on_floor_on.png",
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -707,8 +707,8 @@ minetest.register_node("jeija:meselamp_on", {
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
light_source = LIGHT_MAX, light_source = LIGHT_MAX,
selection_box = { selection_box = {
type = "wallmounted", --type = "wallmounted",
type = "fixed", --type = "fixed",
fixed = {-0.38, -0.5, -0.1, 0.38, -0.2, 0.1}, fixed = {-0.38, -0.5, -0.1, 0.38, -0.2, 0.1},
}, },
material = minetest.digprop_constanttime(0.1), material = minetest.digprop_constanttime(0.1),
@ -718,14 +718,14 @@ minetest.register_node("jeija:meselamp_on", {
minetest.register_node("jeija:meselamp_off", { minetest.register_node("jeija:meselamp_off", {
drawtype = "torchlike", drawtype = "torchlike",
tile_images = {"jeija_meselamp_on_floor_off.png", "jeija_meselamp_on_ceiling_off.png", "jeija_meselamp_off.png"}, tile_images = {"jeija_meselamp_on_ceiling_off.png", "jeija_meselamp_on_floor_off.png", "jeija_meselamp_off.png"},
inventory_image = "jeija_meselamp_on_floor_off.png", inventory_image = "jeija_meselamp_on_floor_off.png",
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
wall_mounted = false, wall_mounted = false,
selection_box = { selection_box = {
type = "fixed", --type = "fixed",
fixed = {-0.38, -0.5, -0.1, 0.38, -0.2, 0.1}, fixed = {-0.38, -0.5, -0.1, 0.38, -0.2, 0.1},
}, },
material = minetest.digprop_constanttime(0.1), material = minetest.digprop_constanttime(0.1),