From: Ralf Jung Date: Sat, 7 Dec 2013 09:55:56 +0000 (+0100) Subject: Wait a bit more before starting to complain X-Git-Url: https://git.ralfj.de/saartuer.git/commitdiff_plain/0644bed139c320b03b54f1e5a4fecadc96fa67c8 Wait a bit more before starting to complain --- diff --git a/statemachine.py b/statemachine.py index 4fccee4..0fa485a 100644 --- a/statemachine.py +++ b/statemachine.py @@ -39,7 +39,7 @@ FALLBACK_LEAVE_DELAY_LOCK = 5 # seconds # StateAboutToOpen constants SWITCH_PRAISE_PROBABILITY = 0.5 -ABOUTOPEN_NERVLIST = nervlist_abs2rel([(5, lambda : play_sound("flipswitch")), (10, lambda:play_sound("flipswitch")),\ +ABOUTOPEN_NERVLIST = nervlist_abs2rel([(10, lambda:play_sound("flipswitch")),\ (20, lambda:play_sound("flipswitch")), (30, lambda:play_sound("flipswitch")), (30, lambda:logger.error("Space open but switch not flipped for 30 seconds")),\ (40, lambda:play_sound("flipswitch")), (50, lambda:play_sound("flipswitch")), (60, lambda:play_sound("mail_sent")), (60, lambda:logger.critical("Space open but switch not flipped for 60 seconds")), (120, lambda:play_sound("mail_sent")),