|
@@ -41,13 +41,15 @@ if $ARGS[0] = 'start':
|
|
|
|
|
|
waiting = input ("How many minutes of sitting? (Not more 120 minutes)")
|
|
|
|
|
|
- if waiting <= 0 or waiting > 120:
|
|
|
+ if waiting > 120:
|
|
|
minut = minut + 15
|
|
|
- elseif waiting > 0 and waiting <= 120:
|
|
|
+ elseif waiting > 0:
|
|
|
minut = minut + waiting
|
|
|
pcs_mood += 10
|
|
|
pcs_willpwr = pcs_willpwr + 10
|
|
|
if pcs_sleep < 90:pcs_sleep += 10
|
|
|
+ else
|
|
|
+ 'Invalid time.'
|
|
|
end
|
|
|
|
|
|
act 'Consult a watch': gt 'parks', 'start'
|