1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-24 18:00:22 +01:00

fix non-working water flow sensor, add proper side texture for it

This commit is contained in:
Vanessa Ezekowitz 2013-11-09 13:17:56 -05:00
parent c7e9c7c160
commit 1c7f2722d6
2 changed files with 8 additions and 5 deletions

View File

@ -3,17 +3,20 @@
if mesecon then if mesecon then
pipereceptor_on = { pipereceptor_on = {
receptor = { receptor = {
state = mesecon.state.on state = mesecon.state.on,
rules = mesecons_rules
} }
} }
pipereceptor_off = { pipereceptor_off = {
receptor = { receptor = {
state = mesecon.state.off state = mesecon.state.off,
rules = mesecons_rules
} }
} }
end end
print("pipereceptor_on = "..dump(pipereceptor_on))
print("pipereceptor_off = "..dump(pipereceptor_off))
pipes_devicelist = { pipes_devicelist = {
"pump", "pump",
"valve", "valve",
@ -575,8 +578,8 @@ minetest.register_node("pipeworks:flow_sensor_loaded", {
"pipeworks_plain.png", "pipeworks_plain.png",
"pipeworks_plain.png", "pipeworks_plain.png",
"pipeworks_plain.png", "pipeworks_plain.png",
pipeworks_liquid_texture.."^pipeworks_windowed_loaded.png", "pipeworks_sensor_sides_on.png",
pipeworks_liquid_texture.."^pipeworks_windowed_loaded.png" "pipeworks_sensor_sides_on.png"
}, },
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B