summaryrefslogtreecommitdiff
path: root/devices.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-09-30 09:55:44 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-09-30 10:19:14 -0400
commit43e67b67a1582ba069369a0a8ae5af4ffe444602 (patch)
treefe2f670b50518c29234b3ef2f433215cddca2656 /devices.lua
parent879b4489b21946306004506bea51b32f6d9de6a2 (diff)
new flow sensor model with gaugeorigin/flow-gauge
(prep for infotext pressure readout)
Diffstat (limited to 'devices.lua')
-rw-r--r--devices.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/devices.lua b/devices.lua
index 3b7fc78..70182af 100644
--- a/devices.lua
+++ b/devices.lua
@@ -403,7 +403,10 @@ minetest.register_node("pipeworks:flow_sensor_empty", {
description = "Flow Sensor",
drawtype = "mesh",
mesh = "pipeworks_flow_sensor.obj",
- tiles = { "pipeworks_flow_sensor_off.png" },
+ tiles = {
+ "pipeworks_flow_sensor_off.png",
+ "pipeworks_pressure_gauge_0.png"
+ },
sunlight_propagates = true,
paramtype = "light",
paramtype2 = "facedir",
@@ -441,7 +444,10 @@ minetest.register_node("pipeworks:flow_sensor_loaded", {
description = "Flow sensor (on)",
drawtype = "mesh",
mesh = "pipeworks_flow_sensor.obj",
- tiles = { "pipeworks_flow_sensor_on.png" },
+ tiles = {
+ "pipeworks_flow_sensor_on.png",
+ "pipeworks_pressure_gauge_3.png"
+ },
sunlight_propagates = true,
paramtype = "light",
paramtype2 = "facedir",