From 54abd7bf55bdb7b730576974f3758421d5839879 Mon Sep 17 00:00:00 2001 From: Michal Cieslakiewicz Date: Thu, 7 Feb 2019 10:51:45 +0100 Subject: [PATCH] Added new button image for BLOCKED state. Warning image (black exclamation mark on yellow field) added and used for BLOCKED state. Player can now see the difference between BLOCKED and FAULT states while accessing machine panel (formspec). Signed-off-by: Michal Cieslakiewicz --- tubelib/states.lua | 4 ++-- tubelib/textures/tubelib_inv_button_warning.png | Bin 0 -> 361 bytes 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 tubelib/textures/tubelib_inv_button_warning.png diff --git a/tubelib/states.lua b/tubelib/states.lua index bae0b9a..1b9ec19 100644 --- a/tubelib/states.lua +++ b/tubelib/states.lua @@ -30,7 +30,7 @@ tubelib.StatesImg = { "tubelib_inv_button_on.png", "tubelib_inv_button_standby.png", "tubelib_inv_button_error.png", - "tubelib_inv_button_error.png", + "tubelib_inv_button_warning.png", "tubelib_inv_button_off.png", } @@ -86,4 +86,4 @@ function tubelib.statestring(running) else return "fault" end -end \ No newline at end of file +end diff --git a/tubelib/textures/tubelib_inv_button_warning.png b/tubelib/textures/tubelib_inv_button_warning.png new file mode 100644 index 0000000000000000000000000000000000000000..33ec686b4c379659ab21a497af1bd215de54e52d GIT binary patch literal 361 zcmV-v0ha!WP)F3V~S1QYlyMszreR)+IMh&s