From 61859e5c0e1516b35dd42d7fd80d9024964c0b8d Mon Sep 17 00:00:00 2001 From: Mark Tearle Date: Sat, 13 Dec 2014 21:06:39 +0800 Subject: [PATCH] Reorganise list of idlers --- VendServer/VendServer.py | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/VendServer/VendServer.py b/VendServer/VendServer.py index 0962697..2759c6f 100755 --- a/VendServer/VendServer.py +++ b/VendServer/VendServer.py @@ -252,28 +252,34 @@ idler = None def setup_idlers(v): global idlers, idler idlers = [ - GrayIdler(v), + # + GrayIdler(v), + GrayIdler(v,one="*",zero="-"), + GrayIdler(v,one="/",zero="\\"), + GrayIdler(v,one="X",zero="O"), + GrayIdler(v,one="*",zero="-",reorder=1), + GrayIdler(v,one="/",zero="\\",reorder=1), + GrayIdler(v,one="X",zero="O",reorder=1), + # + ClockIdler(v), + ClockIdler(v), + ClockIdler(v), + # + StringIdler(v), # Hello Cruel World StringIdler(v, text="Kill 'em all", repeat=False), - GrayIdler(v,one="*",zero="-"), StringIdler(v, text=CREDITS), - GrayIdler(v,one="/",zero="\\"), - ClockIdler(v), - GrayIdler(v,one="X",zero="O"), - FileIdler(v, '/usr/share/common-licenses/GPL-2',affinity=2), - GrayIdler(v,one="*",zero="-",reorder=1), StringIdler(v, text=str(math.pi) + " "), - ClockIdler(v), - GrayIdler(v,one="/",zero="\\",reorder=1), StringIdler(v, text=str(math.e) + " "), - GrayIdler(v,one="X",zero="O",reorder=1), StringIdler(v, text=" I want some pizza - please call Broadway Pizza on +61 8 9389 8500 - and order as Quinn - I am getting really hungry", repeat=False), - PipeIdler(v, "/usr/bin/getent", "passwd"), - FortuneIdler(v), - ClockIdler(v), - StringIdler(v), - TrainIdler(v), # "Hello World" in brainfuck StringIdler(v, text=">+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++."), + # + TrainIdler(v), + # + FileIdler(v, '/usr/share/common-licenses/GPL-2',affinity=2), + # + PipeIdler(v, "/usr/bin/getent", "passwd"), + FortuneIdler(v), ] disabled = [ ] -- 2.20.1