diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-11-09 13:17:56 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-11-09 13:21:19 -0500 |
commit | 1c7f2722d6cedb59cb1d3c1af8698bf1ebff0b38 (patch) | |
tree | fa8c1f846662f532c90331bc0408bc02ee23ae48 | |
parent | c7e9c7c160cb790f89b9ffce1ef6d4986e395948 (diff) | |
download | pipeworks-1c7f2722d6cedb59cb1d3c1af8698bf1ebff0b38.tar pipeworks-1c7f2722d6cedb59cb1d3c1af8698bf1ebff0b38.tar.gz pipeworks-1c7f2722d6cedb59cb1d3c1af8698bf1ebff0b38.tar.bz2 pipeworks-1c7f2722d6cedb59cb1d3c1af8698bf1ebff0b38.tar.xz pipeworks-1c7f2722d6cedb59cb1d3c1af8698bf1ebff0b38.zip |
fix non-working water flow sensor, add proper side texture for it
-rw-r--r-- | devices.lua | 13 | ||||
-rw-r--r-- | textures/pipeworks_sensor_sides_on.png | bin | 0 -> 293 bytes |
2 files changed, 8 insertions, 5 deletions
diff --git a/devices.lua b/devices.lua index 6101a4d..0fa28ec 100644 --- a/devices.lua +++ b/devices.lua @@ -3,17 +3,20 @@ if mesecon then pipereceptor_on = { receptor = { - state = mesecon.state.on + state = mesecon.state.on, + rules = mesecons_rules } } pipereceptor_off = { receptor = { - state = mesecon.state.off + state = mesecon.state.off, + rules = mesecons_rules } } end - +print("pipereceptor_on = "..dump(pipereceptor_on)) +print("pipereceptor_off = "..dump(pipereceptor_off)) pipes_devicelist = { "pump", "valve", @@ -575,8 +578,8 @@ minetest.register_node("pipeworks:flow_sensor_loaded", { "pipeworks_plain.png", "pipeworks_plain.png", "pipeworks_plain.png", - pipeworks_liquid_texture.."^pipeworks_windowed_loaded.png", - pipeworks_liquid_texture.."^pipeworks_windowed_loaded.png" + "pipeworks_sensor_sides_on.png", + "pipeworks_sensor_sides_on.png" }, sunlight_propagates = true, paramtype = "light", diff --git a/textures/pipeworks_sensor_sides_on.png b/textures/pipeworks_sensor_sides_on.png Binary files differnew file mode 100644 index 0000000..3551191 --- /dev/null +++ b/textures/pipeworks_sensor_sides_on.png |