Browse Source

Gave it unique code as it was sharing too much with Shulgin kitchen

KevinSmarts 7 years ago
parent
commit
cd9b7b0895
1 changed files with 35 additions and 31 deletions
  1. 35 31
      locations/anushapt

+ 35 - 31
locations/anushapt

@@ -1226,36 +1226,41 @@ end
 if $ARGS[0] = 'holodilnik':
 	*clr & cla
 	minut += 1
+	if anushfood_day ! daystart:
+		anushbeer_count = 2
+		anushvodka_count = 3
+		anushsup_count = 1
+	end
 	gs 'stat'
-	if beer_count = 2:
-		$r_beer = ' 2 beers,'
-	elseif beer_count = 1:
-		$r_beer = ' 1 beer,'
+	if anushbeer_count = 2:
+		$anush_beer = ' 2 beers,'
+	elseif anushbeer_count = 1:
+		$anush_beer = ' 1 beer,'
 	else
-		$r_beer = ''
+		$anush_beer = ''
 	end
 
-	if vodka_count = 3:
-		$r_vodka = ' a full bottle of vodka,'
-	elseif vodka_count = 2:
-		$r_vodka = ' a half-empty bottle of vodka,'
-	elseif vodka_count = 1:
-		$r_vodka = ' a nearly empty bottle of vodka,'
+	if anushvodka_count = 3:
+		$anush_vodka = ' a full bottle of vodka,'
+	elseif anushvodka_count = 2:
+		$anush_vodka = ' a half-empty bottle of vodka,'
+	elseif anushvodka_count = 1:
+		$anush_vodka = ' a nearly empty bottle of vodka,'
 	else
-		$r_vodka = ''
+		$anush_vodka = ''
 	end
 
-	if sup_count >= 1:
-		$r_sup = ' a large pot of soup'
+	if anushsup_count >= 1:
+		$anush_sup = ' a large pot of soup'
 	else
-		$r_sup = ''
+		$anush_sup = ''
 	end
 
-	if beer_count = 0 and vodka_count = 0 and sup_count = 0:$r_pusto = '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/kuh/holodpusto.jpg"></center><br><font color = red>empty shelves.</font>'
-	if beer_count > 0 and vodka_count > 0 and sup_count > 0:$r_pusto = '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/kuh/holod'+rand(1,3)+'.jpg"></center>'
-		'You open the fridge and see:<<$r_vodka>><<$r_beer>><<$r_sup>><<$r_pusto>>'
+	if anushbeer_count = 0 and anushvodka_count = 0 and anushsup_count = 0:$r_pusto = '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/kuh/holodpusto.jpg"></center><br><font color = red>empty shelves.</font>'
+	if anushbeer_count > 0 and anushvodka_count > 0 and anushsup_count > 0:$r_pusto = '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/kuh/holod'+rand(1,3)+'.jpg"></center>'
+		'You open the fridge and see:<<$anush_vodka>><<$anush_beer>><<$anush_sup>><<$r_pusto>>'
 	!drink beer
-	if beer_count > 0: 
+	if anushbeer_count > 0: 
 		act 'Have a beer':
 			*clr & cla
 			minut += 5
@@ -1263,8 +1268,8 @@ if $ARGS[0] = 'holodilnik':
 			cumspclnt = 2
 			gs 'cum_cleanup'
 			pcs_breath = 0
-			beer_day = daystart
-			beer_count -= 1
+			anushfood_day = daystart
+			anushbeer_count -= 1
 			gs 'stat'
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/kuh/beer'+rand(1,3)+'.jpg"></center>'
 			'You take a bottle of beer from the fridge and drink it, quenching your thirst.'
@@ -1273,7 +1278,7 @@ if $ARGS[0] = 'holodilnik':
 		end
 	end
 	!drink vodka
-	if vodka_count > 0: 
+	if anushvodka_count > 0: 
 		act 'Drink some vodka':
 			*clr & cla
 			minut += 1
@@ -1281,23 +1286,22 @@ if $ARGS[0] = 'holodilnik':
 			cumspclnt = 2
 			gs 'cum_cleanup'
 			pcs_breath = 0
-			vodka_day = daystart
-			vodka_count -= 1
+			anushfood_day = daystart
+			anushvodka_count -= 1
 			gs 'stat'
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/kuh/vodka'+rand(1,2)+'.jpg"></center>'
 			'You pour some vodka in a glass and drink it. You shiver as you feel the warm, burning sensation slowly slide down your gullet.'
 			act 'Put the bottle back in the fridge': gt 'anushapt', 'holodilnik'
 
 			act 'Drink more vodka': 
-				if vodka_count = 0: '<font color = red>There''s no vodka left, you drank it all!</font><center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/kuh/vodka0.jpg"></center>'
-				if vodka_count > 0:
+				if anushvodka_count = 0: '<font color = red>There''s no vodka left, you drank it all!</font><center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/kuh/vodka0.jpg"></center>'
+				if anushvodka_count > 0:
 					minut += 1
 					alko +=2
 					cumspclnt = 2
 					gs 'cum_cleanup'
 					pcs_breath = 0
-					vodka_day = daystart
-					vodka_count -= 1
+					anushvodka_count -= 1
 					gs 'stat'
 					'You pour yourself another glass and drain it in one gulp. Wow, that stuff is strong!'
 				end
@@ -1305,12 +1309,12 @@ if $ARGS[0] = 'holodilnik':
 		end
 	end
 	!Chava soup
-	if sup_count > 0:
+	if anushsup_count > 0:
 		act 'Eat a bowl of soup': 
 			*clr & cla
 			minut += 5
-			sup_day = daystart
-			sup_count -= 1
+			anushfood_day = daystart
+			anushsup_count -= 1
 			gs 'stat'
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/shulginhome/kuh/sup.jpg"></center>'
 			pcs_health += 10