summaryrefslogtreecommitdiff
path: root/compat-furnaces.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-11 18:52:39 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-11 18:52:39 -0400
commit5e26aa5f91dafb16f62a43daa688a33b6216e0b6 (patch)
tree8d7b53dc3ca0f08494b81e68475de376b3573dd9 /compat-furnaces.lua
parenta7c3908b6134b01e1447568d20e6801a373f1af8 (diff)
downloadpipeworks-5e26aa5f91dafb16f62a43daa688a33b6216e0b6.tar
pipeworks-5e26aa5f91dafb16f62a43daa688a33b6216e0b6.tar.gz
pipeworks-5e26aa5f91dafb16f62a43daa688a33b6216e0b6.tar.bz2
pipeworks-5e26aa5f91dafb16f62a43daa688a33b6216e0b6.tar.xz
pipeworks-5e26aa5f91dafb16f62a43daa688a33b6216e0b6.zip
cache on/off button image refs and commonly-used label for same
Diffstat (limited to 'compat-furnaces.lua')
-rw-r--r--compat-furnaces.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/compat-furnaces.lua b/compat-furnaces.lua
index c2c5df4..492332a 100644
--- a/compat-furnaces.lua
+++ b/compat-furnaces.lua
@@ -33,8 +33,8 @@ local function active_formspec(fuel_percent, item_percent, pos, meta)
"image_button[0,3.5;1,0.6",
"split_material_stacks",
{
- {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"}
+ pipeworks.button_off,
+ pipeworks.button_on
}
).."label[0.9,3.51;Allow splitting incoming material (not fuel) stacks from tubes]"
return formspec
@@ -64,8 +64,8 @@ local function inactive_formspec(pos, meta)
"image_button[0,3.5;1,0.6",
"split_material_stacks",
{
- {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"}
+ pipeworks.button_off,
+ pipeworks.button_on
}
).."label[0.9,3.51;Allow splitting incoming material (not fuel) stacks from tubes]"
return formspec