322_ykuh 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. # ykuh
  2. $metkaM = $ARGS[0]
  3. $locM = $CURLOC
  4. $metka = $ARGS[0]
  5. $loc = $CURLOC
  6. '<center><B><font color = maroon>House</font></B></center>'
  7. '<center>Kitchen</center>'
  8. if ymanrem[6] = 0: '<center><img src="images\etogame\ynill.jpg"></center>'
  9. if ymanrem[6] = 1: '<center><img src="images\etogame\yrem.jpg"></center>'
  10. if ymanrem[6] = 2: '<center><img src="images\etogame\ykun.jpg"></center>'
  11. if ymanrem[6] = 2: ''
  12. clr
  13. gs 'stat'
  14. if dirttarelka > 0 and fairy >= dirttarelka:
  15. cltarelka += dirttarelka
  16. fairy -= dirttarelka
  17. dirttarelka = 0
  18. 'Dishwasher washed your dirty dishes.'
  19. elseif fairy<dirttarelka:
  20. 'Tou have no more dishwashing detergent.'
  21. end
  22. if cltarelka > 0:
  23. 'In the cabinet you have <B><<cltarelka>></B> clean plates'
  24. else
  25. '<B><font color = red>You don´t have any clean plates left.</font></B>'
  26. end
  27. if dirttarelka > 0: 'In the sink are <B><<dirttarelka>></B> dirty dishes. <a href="exec: dynamic $dirtarm ">Wash the dishes</a>.'
  28. if fairy > 0:
  29. 'Under the sink is some dishwashing detergent, which is enough for <B><<fairy>></B> times.'
  30. else
  31. '<B><font color = red>You have nothing to wash dishes with. You should buy some dishwashing detergent.</font></B>'
  32. end
  33. if eda > 0:
  34. if cltarelka = 0 or edahot > 0:$edagot = ''
  35. if cltarelka > 0 and edahot = 0:$edagot = '<a href="exec: dynamic $edagotd ">Cook meal (0:30)</a>'
  36. 'In the refrigerator is enough food for <B><<eda>></B> servings. <<$edagot>>'
  37. elseif edaD = 0 and eda = 0:
  38. '<B><font color = red>The fridge is empty, you have nothing to eat.</font></B>'
  39. end
  40. if edaD > 0:
  41. 'In the refrigerator is some healthy meals that´s good for <B><<edaD>></B> servings.'
  42. end
  43. act 'Leave the room': minut += 1 & gt 'ymans'
  44. if edahot > 0: '<a href="exec: dynamic $edahotd ">On the table is a cooked meal (0:30).</a>'
  45. if pranik > 0:
  46. 'You have <<pranik>> cookies.'
  47. act 'Drink tea with cookies (0:15)':
  48. cla
  49. *clr
  50. minut += 15
  51. pranik -= 1
  52. set health += 30
  53. set manna += 100
  54. energy += 20
  55. water += 20
  56. fat += 50
  57. frost = 0
  58. gs 'stat'
  59. '<center><img src="images\pics\food.jpg"></center>'
  60. 'You drank tea with cookies, sweet and very bad for your figure, but so good.'
  61. act 'Get up from the table': gt $curloc
  62. end
  63. end
  64. if edaD > 0:
  65. act 'Cook some dietary food (0:30)':
  66. cla
  67. *clr
  68. frost = 0
  69. '<center><img src="images\pics\food.jpg"></center>'
  70. set minut += 30
  71. set health += 10
  72. set manna += 20
  73. set edaD -= 1
  74. if energy >= 30:
  75. 'You are full.'
  76. end
  77. if energy >= 20 and energy < 30:
  78. set energy += 10
  79. 'You are not hungry but you ate it anyway.'
  80. end
  81. if energy < 20:
  82. set energy += 20
  83. 'You gladly ate some cooked food.'
  84. end
  85. if water >= 20:
  86. 'You don´t want to drink anymore.'
  87. end
  88. if water < 20:
  89. 'You gladly drank a mug of tea.'
  90. set water += 20
  91. end
  92. act 'Get up from the table': gt $curloc
  93. end
  94. end
  95. if fatdel > 0:
  96. act 'Consume fat burners':
  97. cla
  98. *clr
  99. set fatdel -= 1
  100. set fat -= 25
  101. if fat < 0: fat = 0
  102. 'You drank fat burning capsule. These capsules operate gradually and results will not be seen immediately.'
  103. act 'Get up from the table': gt $curloc
  104. end
  105. end
  106. act 'Drink':
  107. cla
  108. set minut += 5
  109. if water >= 20:
  110. 'You are not thirsty.'
  111. end
  112. if water < 20:
  113. 'You gladly drank a glass of water.'
  114. set water += 20
  115. end
  116. act 'Get up from the table': gt $curloc
  117. end
  118. if husband > 0 and husbanday > 0 and huseatday ! day and eda >= 2:
  119. act 'Cook a meal for your husband, 2 servings (1:00)':
  120. cla
  121. *clr
  122. husband += 5
  123. set eda -= 2
  124. set minut += 60
  125. huseatday = day
  126. manna -= 25
  127. '<center><img src="images\pics\cook.jpg"></center>'
  128. 'You cooked some food for your husband.'
  129. act 'Put the food on the table': gt $curloc
  130. end
  131. end
  132. if lekarstvo > 0:
  133. 'You have <<lekarstvo>> tablets.'
  134. if sick > 0 and lekarday ! day:
  135. act 'Take a pill':
  136. cla
  137. *clr
  138. set minut += 5
  139. lekarday = day
  140. lekarstvo -= 1
  141. sick -= sick * 20/100
  142. set lekrand = RAND(0,8)
  143. if lekrand = 0: '<center><img src="images\inBed\lekr1.jpg"></center>'
  144. if lekrand = 1: '<center><img src="images\inBed\lekr2.jpg"></center>'
  145. if lekrand = 2: '<center><img src="images\inBed\lekr3.jpg"></center>'
  146. if lekrand = 3: '<center><img src="images\inBed\lekr4.jpg"></center>'
  147. if lekrand = 4: '<center><img src="images\inBed\lekr5.jpg"></center>'
  148. if lekrand = 5: '<center><img src="images\inBed\lekr6.jpg"></center>'
  149. if lekrand = 6: '<center><img src="images\inBed\lekr7.jpg"></center>'
  150. if lekrand = 7: '<center><img src="images\inBed\lekr8.jpg"></center>'
  151. if lekrand = 8: '<center><img src="images\inBed\lekr9.jpg"></center>'
  152. 'You took the pill'
  153. act 'Move away': gt $curloc
  154. end
  155. end
  156. end
  157. if vitamin > 0:
  158. 'You have <<vitamin>> vitamins.'
  159. if vitaminday ! day:
  160. act 'Take some vitamins':
  161. cla
  162. *clr
  163. set minut += 5
  164. vitaminday = day
  165. vitamin -= 1
  166. frost = 0
  167. if KandidozOnce = 1: Kandidoz -= 2
  168. if GerpesOnce = 1: Gerpes -= 2
  169. if SifacOnce = 1 and Sifilis >= 10: Sifilis -= RAND(0,1)
  170. set skinvan += 1
  171. if skinvan = 20: set skinvan = 0 & set skin += 1
  172. 'You took vitamins'
  173. act 'Move away': gt $curloc
  174. end
  175. end
  176. end
  177. --- ykuh ---------------------------------