Rewrite mesecon wires. This should increase the efficiency and speed of

large machines.

It also makes the wires.lua code easier to understand and more
maintainable. In case any other mod depends on
mesecon:update_autoconnect, please update it to use
mesecon.update_autoconnect. This should also fix some other minor bugs.
Please report bugs if this commit creates new ones.

This commit changes wire looks and removes some unneccesary textures.
Этот коммит содержится в:
Jeija
2014-11-22 11:37:47 +01:00
родитель 87bfbb4de9
Коммит 194155fff8
33 изменённых файлов: 273 добавлений и 306 удалений

Просмотреть файл

@@ -67,7 +67,7 @@ minetest.register_node("mesecons_movestones:movestone", {
local direction=mesecon:get_movestone_direction(pos)
if not direction then return end
minetest.remove_node(pos)
mesecon:update_autoconnect(pos)
mesecon.update_autoconnect(pos)
minetest.add_entity(pos, "mesecons_movestones:movestone_entity")
end
}}
@@ -146,7 +146,7 @@ minetest.register_node("mesecons_movestones:sticky_movestone", {
local direction=mesecon:get_movestone_direction(pos)
if not direction then return end
minetest.remove_node(pos)
mesecon:update_autoconnect(pos)
mesecon.update_autoconnect(pos)
minetest.add_entity(pos, "mesecons_movestones:sticky_movestone_entity")
end
}}