From 1c7f2722d6cedb59cb1d3c1af8698bf1ebff0b38 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 9 Nov 2013 13:17:56 -0500 Subject: [PATCH] fix non-working water flow sensor, add proper side texture for it --- devices.lua | 13 ++++++++----- textures/pipeworks_sensor_sides_on.png | Bin 0 -> 293 bytes 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 textures/pipeworks_sensor_sides_on.png 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 new file mode 100644 index 0000000000000000000000000000000000000000..3551191b7a4e7fed2ca73af7c68ef0537c499d66 GIT binary patch literal 293 zcmV+=0owkFP)TrR422=%jNUWXtkfQ;=NPFwZo~yfI7$k15&j8k7GA`koR`n_G)==Wm{|y+T+J*5 zGc&Uoqg?5H)|;@Sz4x+lJG@AXh^org`)9VOHYDXXi3JPGZ10r{0D!yAy`viv1j+e@ zD?N^*b1vs@lmJPP1Ry7mA%qy?$LCkqRX?xqx~_qFI)K9;!V)E>*mc$WT>)^;Wp1r? z+qQk*@13NSa_{+ko@kP;;QR6L-WO>A2d%SjHre2nCMnnL09c)z>ZUcuD9h~JDAIGJ rWjnfV=Z*#-DgAoyRTVt=F4H1^(=d|9(wba}00000NkvXXu0mjfWIKb> literal 0 HcmV?d00001 -- 2.30.2