1
0

kuhrPar 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. # kuhrPar
  2. CLOSE ALL
  3. if fullmorrout = 1:
  4. minut += 2
  5. act '<font color = maroon><b>Leave the apartment and go outside</b></font>':
  6. minut +=1
  7. killvar 'fullmorrout'
  8. gs 'korrPar'
  9. gt'pavResidential'
  10. end
  11. end
  12. act 'Return to the hallway':
  13. killvar 'fullmorrout'
  14. gt 'korrPar'
  15. end
  16. $metka = $ARGS[0]
  17. $loc = $CURLOC
  18. $metka = $ARGS[0]
  19. $loc = $CURLOC
  20. clr
  21. minut += 1
  22. gs 'stat'
  23. if night_mode = 1:
  24. fcolor = rgb(255, 255, 255)
  25. bcolor = rgb(0, 0, 0)
  26. lcolor = rgb(106, 90, 205)
  27. else
  28. fcolor = rgb(0, 0, 0)
  29. bcolor = rgb(255, 255, 255)
  30. lcolor = rgb(106, 90, 205)
  31. end
  32. '<center><b><font color="maroon">Kitchen</font></b></center>'
  33. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/kuhrpar.jpg"></center>'
  34. if hour = 7 and indorf = 0:
  35. !r125
  36. *nl '<a href="exec:gt''father''">Your stepfather</a> and <a href="exec:gt ''brother'', ''start''">Kolka</a> are sitting at the table eating Breakfast. <a href="exec:gt''mother''">Your mother</a> is hard at work to make sure everybody has enough to eat for the rest of the day.'
  37. ! on weekdays Anka here too
  38. if week <= 5: *P ' <a href="exec:gt''sister''">Anya</a> is trying to lose some weight so she is only having a very light breakfast.'
  39. else
  40. 'The kitchen is not very impressive, but it has everything your family needs. Since everyone has the habit of eating at different times, Mom usually pre-cooks the meals and stores them in the fridge. Of course, you could also just have a snack if you''re not that hungry.'
  41. end
  42. gs 'family'
  43. act 'Eat a meal (0:30)':gs 'food', 'm_meal'
  44. act 'Have a snack (0:05)':gs 'food', 'snack'
  45. act 'Have a cup of tea (0:05)':
  46. cls
  47. minut += 5
  48. water += 80
  49. cumspclnt = 2
  50. gs 'cum_cleanup'
  51. pcs_breath = 0
  52. pcs_mood += rand(3, 6)
  53. 'You make a refreshing cup of tea and everything seems a little better.'
  54. gs 'stat'
  55. act 'Get up from the table':gt $loc, $metka
  56. end
  57. if pranik > 0:
  58. 'You have <<pranik>> cookies.'
  59. act 'Drink tea with cookies (0:05)':
  60. cla
  61. *clr
  62. minut += 5
  63. pranik -= 1
  64. pcs_health += 30
  65. pcs_mood += 20
  66. pcs_energy += 80
  67. water += 80
  68. cumspclnt = 2
  69. gs 'cum_cleanup'
  70. pcs_breath = 0
  71. fat += 4
  72. frost = 0
  73. gs 'stat'
  74. '<center><img <<$set_imgh>> src="images/shared/food/food.jpg"></center>'
  75. 'You drank tea and enjoyed the cookies. You know they''re too sweet and can''t be good for your figure, but they taste so good!'
  76. act 'Get up from the table':gt $curloc
  77. end
  78. end
  79. if edaD > 0:
  80. act 'Eat diet food (0:30)':
  81. cla
  82. *clr
  83. frost = 0
  84. minut += 30
  85. pcs_health += 10
  86. pcs_mood += 20
  87. edaD -= 1
  88. '<center><img <<$set_imgh>> src="images/shared/food/food.jpg"></center>'
  89. if pcs_energy >= 100:
  90. 'You prepare a diet meal and try to eat it, but you''re really not hungry at all. You can''t finish the meal.'
  91. elseif pcs_energy >= 80:
  92. pcs_energy += 40
  93. 'You try to enjoy the diet meal, but half-way in you realize you weren''t all that hungry yet. You manage to finish the meal, but feel like it was kind of wasted.'
  94. else
  95. pcs_energy += 80
  96. 'The diet meal is tasty, and you enjoy eating it.'
  97. end
  98. if water >= 80:
  99. 'You don''t need any more tea.'
  100. else
  101. water = 100
  102. cumspclnt = 2
  103. gs 'cum_cleanup'
  104. pcs_breath = 0
  105. 'You have a cup of tea, quenching your thirst.'
  106. end
  107. act 'Get up from the table':gt $curloc
  108. end
  109. end
  110. if fatdel > 0:
  111. act 'Consume fat burners':
  112. cla
  113. *clr
  114. fatdel -= 1
  115. salo -= 20
  116. if salo < 11: salo = 11
  117. gs 'body_shape', 'softreset'
  118. 'You throw the capsule of fat burners in a glass, add some water and drink it. You''re amazed at how fast the capsule works, feeling your body slim down almost immediately.'
  119. act 'Get up from the table':gt $curloc
  120. end
  121. end
  122. if lekarstvo > 0:
  123. 'You have <<lekarstvo>> tablet(s).'
  124. if sick > 0 and lekarday ! daystart:
  125. act 'Take a pill (0:05)':
  126. cla
  127. *clr
  128. minut += 5
  129. lekarday = daystart
  130. lekarstvo -= 1
  131. sick -= sick * 20 / 100
  132. if water < 50 : water += 30 else water +=15
  133. if water > 100: water = 100
  134. picrand = rand(1,9)
  135. '<center><img <<$set_imgh>> src="images/locations/shared/apartment/event/sick/lekr<<picrand>>.jpg"></center>'
  136. 'You swallow the pill, and shortly after you feel a bit better.'
  137. act 'Continue':gt $curloc
  138. end
  139. end
  140. end
  141. if vitamin > 0:
  142. 'You have <<vitamin>> vitamin pills.'
  143. if vitaminday ! daystart:
  144. act 'Take vitamins (0:05)':
  145. cla
  146. *clr
  147. minut += 5
  148. vitaminday = daystart
  149. vitamin -= 1
  150. frost = 0
  151. if water < 50 : water += 30 else water +=15
  152. if water > 100: water = 100
  153. if KandidozOnce = 1:Kandidoz -= 2
  154. if GerpesOnce = 1:Gerpes -= 2
  155. if SifacOnce = 1 and Sifilis >= 10:Sifilis -= rand(0, 1)
  156. pcs_skin += 1
  157. 'You take some vitamins to stay healthy.'
  158. act 'Continue':gt $curloc
  159. end
  160. end
  161. end
  162. --- kuhrPar ---------------------------------