summaryrefslogtreecommitdiff
path: root/tubes.lua
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-01-27 23:14:05 +0100
committerest31 <MTest31@outlook.com>2015-01-27 23:17:10 +0100
commit52cfe9f2779df9c15a931fec33507ccc355964f3 (patch)
tree857cea97a1f64e65f255902db9d15c3bce9105a9 /tubes.lua
parent8b22593f5528e2d493d5dcb577634d3f7a1ce967 (diff)
Add intermediate button state for sorttube enabler
Image supplied by VanessaE.
Diffstat (limited to 'tubes.lua')
-rwxr-xr-xtubes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tubes.lua b/tubes.lua
index 39323a2..1afe237 100755
--- a/tubes.lua
+++ b/tubes.lua
@@ -253,7 +253,7 @@ if pipeworks.enable_mese_tube then
for i = 0, 5 do
buttons_formspec = buttons_formspec .. fs_helpers.cycling_button(meta,
"image_button[7,"..(i)..";1,1", "l"..(i+1).."s",
- {{text="",texture="pipeworks_button_off.png"}, {text="",texture="pipeworks_button_on.png"}})
+ {{text="",texture="pipeworks_button_off.png", addopts="false;false;pipeworks_button_interm.png"}, {text="",texture="pipeworks_button_on.png", addopts="false;false;pipeworks_button_interm.png"}})
end
meta:set_string("formspec",
"size[8,11]"..