added unknown
This commit is contained in:
parent
3033f5dcdc
commit
bafcdb7ff6
@ -57,9 +57,12 @@ function draw_screen()
|
|||||||
if redstone_toggle_state == true then
|
if redstone_toggle_state == true then
|
||||||
term.setBackgroundColor(colors.green)
|
term.setBackgroundColor(colors.green)
|
||||||
term.write('On')
|
term.write('On')
|
||||||
else
|
elseif redstone_toggle_state == false then
|
||||||
term.setBackgroundColor(colors.red)
|
term.setBackgroundColor(colors.red)
|
||||||
term.write('Off')
|
term.write('Off')
|
||||||
|
elseif redstone_toggle_state == nil then
|
||||||
|
term.setBackgroundColor(colors.purple)
|
||||||
|
term.write('Unknown')
|
||||||
end
|
end
|
||||||
print()
|
print()
|
||||||
term.setBackgroundColor(colors.black)
|
term.setBackgroundColor(colors.black)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user