forked from Mirrorlandia_minetest/mesecons
Fixed some graphic glitches
This commit is contained in:
parent
0dc5c85137
commit
a5fa04cfce
@ -3,6 +3,7 @@ minetest.register_node("jeija:wall_button_off", {
|
|||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
tile_images = {"jeija_wall_button_off.png"},
|
tile_images = {"jeija_wall_button_off.png"},
|
||||||
inventory_image = "jeija_wall_button_off.png",
|
inventory_image = "jeija_wall_button_off.png",
|
||||||
|
wield_image = "jeija_wall_button_off.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
legacy_wallmounted = true,
|
legacy_wallmounted = true,
|
||||||
|
@ -82,6 +82,7 @@ minetest.register_node("jeija:mesecon_off", {
|
|||||||
drawtype = "raillike",
|
drawtype = "raillike",
|
||||||
tile_images = {"jeija_mesecon_off.png", "jeija_mesecon_curved_off.png", "jeija_mesecon_t_junction_off.png", "jeija_mesecon_crossing_off.png"},
|
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",
|
inventory_image = "jeija_mesecon_off.png",
|
||||||
|
wield_image = "jeija_mesecon_off.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
@ -646,6 +647,7 @@ minetest.register_node("jeija:solar_panel", {
|
|||||||
drawtype = "raillike",
|
drawtype = "raillike",
|
||||||
tile_images = {"jeija_solar_panel.png"},
|
tile_images = {"jeija_solar_panel.png"},
|
||||||
inventory_image = "jeija_solar_panel.png",
|
inventory_image = "jeija_solar_panel.png",
|
||||||
|
wield_image = "jeija_solar_panel.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
@ -712,6 +714,7 @@ 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_floor_off.png", "jeija_meselamp_on_ceiling_off.png", "jeija_meselamp_off.png"},
|
||||||
inventory_image = "jeija_meselamp_on_floor_off.png",
|
inventory_image = "jeija_meselamp_on_floor_off.png",
|
||||||
|
wield_image = "jeija_meselamp_on_ceiling_off.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
@ -12,7 +12,7 @@ minetest.register_node("jeija:mesecon_torch_off", {
|
|||||||
drawtype = "torchlike",
|
drawtype = "torchlike",
|
||||||
tile_images = {"jeija_torches_off.png", "jeija_torches_off_ceiling.png", "jeija_torches_off_side.png"},
|
tile_images = {"jeija_torches_off.png", "jeija_torches_off_ceiling.png", "jeija_torches_off_side.png"},
|
||||||
inventory_image = "jeija_torches_off.png",
|
inventory_image = "jeija_torches_off.png",
|
||||||
sunlight_propagates = true,
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
legacy_wallmounted = true,
|
legacy_wallmounted = true,
|
||||||
@ -24,6 +24,7 @@ minetest.register_node("jeija:mesecon_torch_on", {
|
|||||||
drawtype = "torchlike",
|
drawtype = "torchlike",
|
||||||
tile_images = {"jeija_torches_on.png", "jeija_torches_on_ceiling.png", "jeija_torches_on_side.png"},
|
tile_images = {"jeija_torches_on.png", "jeija_torches_on_ceiling.png", "jeija_torches_on_side.png"},
|
||||||
inventory_image = "jeija_torches_on.png",
|
inventory_image = "jeija_torches_on.png",
|
||||||
|
wield_image = "jeija_torches_on.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
@ -43,7 +44,7 @@ end)]]
|
|||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"jeija:mesecon_torch_off","jeija:mesecon_torch_on"},
|
nodenames = {"jeija:mesecon_torch_off","jeija:mesecon_torch_on"},
|
||||||
interval = 0.1,
|
interval = 0.2,
|
||||||
chance = 1,
|
chance = 1,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
local pa = {x=0, y=0, z=0}
|
local pa = {x=0, y=0, z=0}
|
||||||
|
Loading…
Reference in New Issue
Block a user