diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-09-08 16:22:34 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-09-08 16:22:34 -0400 |
commit | 64f4eaa5bee3124e771a105ed60664aac564157a (patch) | |
tree | a704c67c7284813cbbf428280d2de6fcabec38c5 | |
parent | aaed0a2ea81a51f36a7eb35cb30c57ddf646fe1b (diff) | |
download | dreambuilder_modpack-64f4eaa5bee3124e771a105ed60664aac564157a.tar dreambuilder_modpack-64f4eaa5bee3124e771a105ed60664aac564157a.tar.gz dreambuilder_modpack-64f4eaa5bee3124e771a105ed60664aac564157a.tar.bz2 dreambuilder_modpack-64f4eaa5bee3124e771a105ed60664aac564157a.tar.xz dreambuilder_modpack-64f4eaa5bee3124e771a105ed60664aac564157a.zip |
update pipeworks
-rw-r--r-- | pipeworks/devices.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/pipeworks/devices.lua b/pipeworks/devices.lua index 07cf6fe..2ace81f 100644 --- a/pipeworks/devices.lua +++ b/pipeworks/devices.lua @@ -738,21 +738,3 @@ new_flow_logic_register.directional_horizonal_rotate(nodename_sp_loaded, true) minetest.register_alias("pipeworks:valve_off_loaded", "pipeworks:valve_off_empty") minetest.register_alias("pipeworks:entry_panel", "pipeworks:entry_panel_empty") -minetest.register_lbm({ - name = "pipeworks:rotate_valves_flowsensors", - label = "Flip pipeworks valves and flow sensors around X/Z", - run_at_every_load = false, - nodenames = { - "pipeworks:flow_sensor_empty", - "pipeworks:flow_sensor_loaded", - "pipeworks:valve_off_empty", - "pipeworks:valve_on_empty", - "pipeworks:valve_off_loaded", - }, - action = function(pos, node) - local dir = minetest.facedir_to_dir(node.param2) - local newdir = { x=dir.z, y=dir.y, z=dir.x } - local newfdir = minetest.dir_to_facedir(newdir) - minetest.swap_node(pos, { name = node.name, param2 = newfdir }) - end -}) |