Browse Source

[fixed] menu variables in rolanapt, drinking water and [added] refillable bottle

julzor 5 years ago
parent
commit
351e995e58
1 changed files with 11 additions and 15 deletions
  1. 11 15
      locations/rolanapt.qsrc

+ 11 - 15
locations/rolanapt.qsrc

@@ -193,7 +193,12 @@ if $ARGS[0] = 'kitchen':
 	*clr
 	minut += 1
 	$locclass = 'kitr'
-	menu_off = 1
+	$loc = 'rolanapt'
+	$metka = 'kitchen'
+	$menu_loc = 'rolanapt'
+	$menu_arg = 'kitchen'
+	menu_off = 0
+	gs 'kit_din'
 	gs 'stat'
 	'<center><b><font color = maroon>Kitchen</font></b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/aptrolan/kitchen.jpg"></center>'
@@ -219,6 +224,7 @@ if $ARGS[0] = 'kitchen':
 			act 'Approach Rolan':
 				*clr & cla
 				minut += 5
+				menu_off = 1
 				rolancooklesson = 1
 				rolan_cooklesson_day = daystart
 				gs 'stat'
@@ -255,6 +261,7 @@ if $ARGS[0] = 'kitchen':
 		elseif rolancooklesson = 2 and rolan_cooklesson_day ! daystart and $wornpantytype ! 'none':
 			act 'Approach Rolan':
 				*clr & cla
+				menu_off = 1
 				minut += 5
 				gs 'stat'
 				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/aptrolan/kitch/lesson/intro3.jpg"></center>'
@@ -268,6 +275,7 @@ if $ARGS[0] = 'kitchen':
 		elseif rolancooklesson > 2 and rolancooklesson <= 6 and rolan_cooklesson_day ! daystart and $wornpantytype ! 'none':
 			act 'Approach Rolan':
 				*clr & cla
+				menu_off = 1
 				minut += 5
 				gs 'stat'
 				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/aptrolan/kitch/lesson/intro3.jpg"></center>'
@@ -278,20 +286,8 @@ if $ARGS[0] = 'kitchen':
 	end
 !!	elseif rolancooklesson = 6:
 	act 'Look in the fridge': gt 'rolanapt', 'holodil'
-	act 'Drink water (0:05)':
-		cla
-		minut += 5
-		if water >= 80:
-			'You don''t need any more water.'
-		else
-			water += 80
-			cumspclnt = 2
-			gs 'cum_cleanup'
-			pcs_breath = 0
-			'You gladly drink a glass of water.'
-		end
-		act 'Get up from the table':gt 'rolanapt','kitchen'
-	end
+	dynamic $driwater
+	dynamic $fill_bottle
 	!!FRIDGE!!
 	!!filling the refrigerator:
 	!!count-bottles of beer in a day