1
0
Просмотр исходного кода

[changed] Taking a nap now counts as sleeping for resource use/recovery.

bgkjdgbizgblzdgbr 1 год назад
Родитель
Сommit
e7e1e697e6
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      locations/sleep.qsrc

+ 2 - 1
locations/sleep.qsrc

@@ -124,13 +124,14 @@ if $ARGS[0] = 'nap_bed':
 	act 'Take a nap (1:00)':
 	act 'Take a nap (1:00)':
 		if pcs_sleep >= 10 and pcs_sleep <= 90:
 		if pcs_sleep >= 10 and pcs_sleep <= 90:
 			cla
 			cla
+			InSleep = 1
 			pcs_sleep += 10
 			pcs_sleep += 10
 			pcs_health += 5
 			pcs_health += 5
 			minut += 60
 			minut += 60
 			gs 'stat'
 			gs 'stat'
 			*nl
 			*nl
 			'You sleep about an hour.'
 			'You sleep about an hour.'
-			act 'Get up': gt $loc, $loc_arg
+			act 'Get up': InSleep = 0 & gt $loc, $loc_arg
 		elseif pcs_sleep < 10:
 		elseif pcs_sleep < 10:
 			gt 'sleep', 'sleep'
 			gt 'sleep', 'sleep'
 		else
 		else