1
0

kuhrPar.qsrc 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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. clr
  19. minut += 1
  20. gs 'stat'
  21. if night_mode = 1:
  22. fcolor = rgb(255, 255, 255)
  23. bcolor = rgb(0, 0, 0)
  24. lcolor = rgb(106, 90, 205)
  25. else
  26. fcolor = rgb(0, 0, 0)
  27. bcolor = rgb(255, 255, 255)
  28. lcolor = rgb(106, 90, 205)
  29. end
  30. '<center><b><font color="maroon">Kitchen</font></b></center>'
  31. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/kuhrpar.jpg"></center>'
  32. if hour = 7 and indorf = 0:
  33. !r125
  34. *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.'
  35. ! on weekdays Anka here too
  36. 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.'
  37. else
  38. '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.'
  39. end
  40. gs 'family'
  41. act 'Eat a meal (0:30)':gs 'food', 'm_meal'
  42. act 'Have a snack (0:15)':gs 'food', 'snack'
  43. act 'Drink some water (0:05)':gs 'beverage', 'bev_wat'
  44. act 'Have a cup of tea (0:05)':
  45. cls
  46. minut += 5
  47. if pcs_hydra >= 100:
  48. 'You don''t need any more tea.'
  49. else
  50. pcs_hydra += 80
  51. cumspclnt = 2
  52. gs 'cum_cleanup'
  53. pcs_breath = 0
  54. pcs_mood += rand(3, 6)
  55. 'You make a refreshing cup of tea and everything seems a little better.'
  56. end
  57. gs 'stat'
  58. act 'Get up from the table':gt $loc, $metka
  59. end
  60. if pranik > 0:
  61. 'You have <<pranik>> cookies.'
  62. act 'Drink tea with cookies (0:05)':
  63. cla
  64. *clr
  65. minut += 5
  66. pranik -= 1
  67. pcs_health += 30
  68. pcs_mood += 20
  69. pcs_energy += 20
  70. if pcs_hydra >= 100:
  71. pcs_hydra += 30
  72. else
  73. pcs_hydra += 60
  74. end
  75. cumspclnt = 2
  76. gs 'cum_cleanup'
  77. pcs_breath = 0
  78. fat += 4
  79. frost = 0
  80. gs 'stat'
  81. '<center><img <<$set_imgh>> src="images/shared/food/food.jpg"></center>'
  82. '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!'
  83. act 'Get up from the table':gt $curloc
  84. end
  85. end
  86. if edaD > 0:
  87. act 'Eat diet food (0:30)':
  88. cla
  89. *clr
  90. frost = 0
  91. minut += 30
  92. pcs_health += 10
  93. pcs_mood += 20
  94. edaD -= 1
  95. '<center><img <<$set_imgh>> src="images/shared/food/food.jpg"></center>'
  96. if pcs_energy >= 100:
  97. 'You prepare a diet meal and try to eat it, but you''re really not hungry at all. You can''t finish the meal.'
  98. elseif pcs_energy >= 80:
  99. pcs_energy += 40
  100. '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.'
  101. else
  102. pcs_energy += 80
  103. 'The diet meal is tasty, and you enjoy eating it.'
  104. end
  105. if pcs_hydra >= 80:
  106. 'You don''t need any more tea.'
  107. else
  108. pcs_hydra += 100
  109. cumspclnt = 2
  110. gs 'cum_cleanup'
  111. pcs_breath = 0
  112. 'You have a cup of tea, quenching your thirst.'
  113. end
  114. act 'Get up from the table':gt $curloc
  115. end
  116. end
  117. if fatdel > 0:
  118. act 'Consume fat burners':
  119. cla
  120. *clr
  121. fatdel -= 1
  122. if pcs_hydra >= 100:
  123. pcs_hydra += 25
  124. else
  125. pcs_hydra += 50
  126. end
  127. salo -= 20
  128. if salo < 11: salo = 11
  129. gs 'body_shape', 'softreset'
  130. '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.'
  131. act 'Get up from the table':gt $curloc
  132. end
  133. end
  134. if lekarstvo > 0:
  135. 'You have <<lekarstvo>> tablet(s).'
  136. if sick > 0 and lekarday ! daystart:
  137. act 'Take a pill (0:05)':
  138. cla
  139. *clr
  140. minut += 5
  141. lekarday = daystart
  142. lekarstvo -= 1
  143. sick -= sick * 20 / 100
  144. if pcs_hydra >= 100:
  145. pcs_hydra += 25
  146. else
  147. pcs_hydra += 50
  148. end
  149. picrand = rand(1,9)
  150. '<center><img <<$set_imgh>> src="images/locations/shared/apartment/event/sick/lekr<<picrand>>.jpg"></center>'
  151. 'You swallow the pill, and shortly after you feel a bit better.'
  152. act 'Continue':gt $curloc
  153. end
  154. end
  155. end
  156. if vitamin > 0:
  157. 'You have <<vitamin>> vitamin pills.'
  158. if vitaminday ! daystart:
  159. act 'Take vitamins (0:05)':
  160. cla
  161. *clr
  162. minut += 5
  163. vitaminday = daystart
  164. vitamin -= 1
  165. frost = 0
  166. if pcs_hydra >= 100:
  167. pcs_hydra += 25
  168. else
  169. pcs_hydra += 50
  170. end
  171. if KandidozOnce = 1:Kandidoz -= 2
  172. if GerpesOnce = 1:Gerpes -= 2
  173. if SifacOnce = 1 and Sifilis >= 10:Sifilis -= rand(0, 1)
  174. pcs_skin += 1
  175. 'You take some vitamins to stay healthy.'
  176. act 'Continue':gt $curloc
  177. end
  178. end
  179. end
  180. --- kuhrPar ---------------------------------