|
@@ -395,27 +395,22 @@ if $ARGS[0] = 'dream':
|
|
|
|
|
|
varsleep['time_now'] = daystart*1440 + hour * 60 + minut
|
|
varsleep['time_now'] = daystart*1440 + hour * 60 + minut
|
|
|
|
|
|
|
|
+ $waketext = ''
|
|
|
|
+ gs 'stat'
|
|
if slept_in = 1:
|
|
if slept_in = 1:
|
|
- gs 'stat'
|
|
|
|
$waketext = 'You wake up at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, after sleeping-in a little longer than planned, but at least you''ve had plenty of sleep.'
|
|
$waketext = 'You wake up at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, after sleeping-in a little longer than planned, but at least you''ve had plenty of sleep.'
|
|
- gs 'bed2', 'wake'
|
|
|
|
elseif pcs_sleep >= 100 and budilnikOn = 0:
|
|
elseif pcs_sleep >= 100 and budilnikOn = 0:
|
|
- gs 'stat'
|
|
|
|
$waketext = 'You wake up at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, no longer tired and ready to start the day with plenty of sleep.'
|
|
$waketext = 'You wake up at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, no longer tired and ready to start the day with plenty of sleep.'
|
|
- gs 'bed2', 'wake'
|
|
|
|
elseif pcs_sleep >= 100 and budilnikOn = 1 and varsleep['time_now'] >= varsleep['alarm_time']:
|
|
elseif pcs_sleep >= 100 and budilnikOn = 1 and varsleep['time_now'] >= varsleep['alarm_time']:
|
|
- gs 'stat'
|
|
|
|
$waketext = 'You wake up at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, just before your alarm goes off. You''ve had plenty of sleep.'
|
|
$waketext = 'You wake up at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, just before your alarm goes off. You''ve had plenty of sleep.'
|
|
- gs 'bed2', 'wake'
|
|
|
|
elseif budilnikOn = 1 and varsleep['time_now'] = varsleep['alarm_time']:
|
|
elseif budilnikOn = 1 and varsleep['time_now'] = varsleep['alarm_time']:
|
|
pcs_mood -= 10
|
|
pcs_mood -= 10
|
|
- gs 'stat'
|
|
|
|
$waketext = 'Your alarm goes off at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, '+iif(pcs_sleep < 90, 'but you could do with some extra sleep.', 'and you''ve had plenty of sleep.')+''
|
|
$waketext = 'Your alarm goes off at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, '+iif(pcs_sleep < 90, 'but you could do with some extra sleep.', 'and you''ve had plenty of sleep.')+''
|
|
gs 'bed2', 'extra'
|
|
gs 'bed2', 'extra'
|
|
- gs 'bed2', 'wake'
|
|
|
|
end
|
|
end
|
|
- *nl
|
|
|
|
|
|
|
|
|
|
+ gs 'bed2', 'wake'
|
|
|
|
+ *nl
|
|
'<<$waketext>>'
|
|
'<<$waketext>>'
|
|
end
|
|
end
|
|
|
|
|