From 5e26aa5f91dafb16f62a43daa688a33b6216e0b6 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 11 Apr 2017 18:52:39 -0400 Subject: cache on/off button image refs and commonly-used label for same --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 7b0efd3..c87bfe2 100644 --- a/init.lua +++ b/init.lua @@ -41,6 +41,10 @@ pipeworks.mesecons_rules={{x=0,y=0,z=1},{x=0,y=0,z=-1},{x=1,y=0,z=0},{x=-1,y=0,z pipeworks.liquid_texture = "default_water.png" +pipeworks.button_off = {text="", texture="pipeworks_button_off.png", addopts="false;false;pipeworks_button_interm.png"} +pipeworks.button_on = {text="", texture="pipeworks_button_on.png", addopts="false;false;pipeworks_button_interm.png"} +pipeworks.button_label = "label[0.9,4.31;Allow splitting incoming stacks from tubes]" + -- Helper functions function pipeworks.fix_image_names(table, replacement) -- cgit v1.2.3