Browse Source

[Changed] Updated the Mansion to use the dynamic kitchen code to keep things consistent.

Alaratt 3 years ago
parent
commit
1b605c3aaa
1 changed files with 9 additions and 86 deletions
  1. 9 86
      locations/ykuh.qsrc

+ 9 - 86
locations/ykuh.qsrc

@@ -53,51 +53,6 @@ act 'Leave the room':minut += 1 & gt 'ymans'
 
 if edahot > 0:'<a href="exec:dynamic $edahotd">There''s a warm meal on the table.</a>'
 
-if pranik > 0:
-	'You have <<pranik>> tea biscuits.'
-	act 'Drink tea with biscuits (0:05)':
-		cla
-		*clr
-		minut += 5
-		pranik -= 1
-		pcs_health += 30
-		pcs_mood += 20
-		pcs_energy += 20
-		pcs_hydra += 60
-		cumspclnt = 2
-		gs 'cum_cleanup'
-		pcs_breath = 0
-		fat += 4
-		frost = 0
-		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/shared/food/food.jpg"></center>'
-		'You drank tea with tea biscuits, it''s sweet and very bad for your figure, but they''re so good you can''t resist.'
-
-		act 'Get up from the table':gt $curloc
-	end
-end
-
-dynamic $edaD
-
-dynamic $fatdel
-
-act 'Drink':
-	cla
-	minut += 5
-
-	if pcs_hydra >= 100:
-		'You are not thirsty.'
-	elseif pcs_hydra < 80:
-		pcs_hydra += 30
-		cumspclnt = 2
-		gs 'cum_cleanup'
-		pcs_breath = 0
-		'You gladly drink a glass of water.'
-	end
-
-	act 'Get up from the table':gt $curloc
-end
-
 if husband > 0 and husbanday > 0 and huseatday ! daystart and eda >= 2:
 	act 'Cook a meal for your husband, 2 servings (1:00)':
 		cla
@@ -114,48 +69,16 @@ if husband > 0 and husbanday > 0 and huseatday ! daystart and eda >= 2:
 	end
 end
 
-if lekarstvo > 0:
-	if lekarstvo > 1:'You have <<lekarstvo>> pills left.' else 'You have one pill left.'
-	if sick > 0 and lekarday ! daystart:
-		act 'Take a pill':
-			cla
-			*clr
-			minut += 5
-			lekarday = daystart
-			lekarstvo -= 1
-			sick -= sick * 20 / 100
-			'<center><img <<$set_imgh>> src="images/locations/shared/apartment/event/sick/lekr1.jpg"></center>'
-			'You took a pill.'
-
-			act 'Move away':gt $curloc
-		end
-	end
-end
-
-if vitamin > 0:
-	if vitamin > 1:'You have <<vitamin>> vitamin pills left.' else 'You have one vitamin pill left.'
-
-	if vitaminday ! daystart:
-		act 'Take a vitamin pill':
-			cla
-			*clr
-			minut += 5
-			vitaminday = daystart
-			vitamin -= 1
-			frost = 0
-
-			if KandidozOnce = 1:Kandidoz -= 2
-			if GerpesOnce = 1:Gerpes -= 2
-			if SifacOnce = 1 and Sifilis >= 10:Sifilis -= rand(0, 1)
-
-			pcs_skin += 1
-
-			'You took a vitamin pill.'
+dynamic $sandwich
+dynamic $driwater
+dynamic $dritea
+dynamic $fill_bottle
+dynamic $edaD
+dynamic $pranik
+dynamic $fatdel
+dynamic $lekarstvo
+dynamic $vitamin
 
-			act 'Move away':gt $curloc
-		end
-	end
-end
 
 --- ykuh ---------------------------------