|
@@ -30,7 +30,7 @@ end
|
|
|
if $ARGS[0] = 'get_out':
|
|
|
menu_off = 1
|
|
|
sleepVars['time_now'] = daystart * 1440 + hour * 60 + minut
|
|
|
- if slept_in = 1:
|
|
|
+ if sleepVars['slept_in'] = 1:
|
|
|
'You wake up at <<func(''alarmclock'', ''alarm_display'', hour, minut)>>, after sleeping-in a little longer than planned, but at least you''ve had plenty of sleep.'
|
|
|
elseif pcs_sleep >= 100 and alarmVars['alarmOn'] = 1 and sleepVars['time_now'] >= sleepVars['alarm_time']:
|
|
|
'You wake up at <<func(''alarmclock'', ''alarm_display'', hour, minut)>>, just before your alarm goes off. You''ve had plenty of sleep.'
|
|
@@ -90,7 +90,7 @@ if $ARGS[0] = 'get_out':
|
|
|
|
|
|
act 'Get out of bed (0:10)':
|
|
|
minut += 10
|
|
|
- slept_in = 0
|
|
|
+ sleepVars['slept_in'] = 0
|
|
|
xgt 'bed_get_out', 'start'
|
|
|
end
|
|
|
end
|