ykuh 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. # ykuh
  2. $metkaM = $ARGS[0]
  3. $locM = $CURLOC
  4. $metka = $ARGS[0]
  5. $loc = $CURLOC
  6. clr
  7. gs 'stat'
  8. '<center><b><font color="maroon">Mansion</font></b></center>'
  9. '<center>Kitchen</center>'
  10. if ymanrem[6] = 0:'<center><img src="images/etogame/ynill.jpg"></center>'
  11. if ymanrem[6] = 1:'<center><img src="images/etogame/yrem.jpg"></center>'
  12. if ymanrem[6] = 2:'<center><img src="images/etogame/ykun.jpg"></center>'
  13. if ymanrem[6] = 2:''
  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. act 'Leave the room':minut += 1 & gt 'ymans'
  41. if edahot > 0:'<a href="exec:dynamic $edahotd">On the table is a cooked meal.</a>'
  42. if pranik > 0:
  43. 'You have <<pranik>> cookies.'
  44. act 'Drink tea with cookies (0:05)':
  45. cla
  46. *clr
  47. minut += 5
  48. pranik -= 1
  49. health += 30
  50. manna += 100
  51. energy += 20
  52. water += 20
  53. fat += 50
  54. frost = 0
  55. gs 'stat'
  56. '<center><img src="images/pics/food.jpg"></center>'
  57. 'You drank tea with cookies, sweet and very bad for your figure, but so good.'
  58. act 'Get up from the table':gt $curloc
  59. end
  60. end
  61. if edaD > 0:
  62. 'In the refrigerator is some healthy meals that''s good for <b><<edaD>></b> servings.'
  63. act 'Cook some dietary food (0:30)':
  64. cla
  65. *clr
  66. frost = 0
  67. minut += 30
  68. health += 10
  69. manna += 20
  70. edaD -= 1
  71. '<center><img src="images/pics/food.jpg"></center>'
  72. if energy >= 30:
  73. 'You can no longer eat.'
  74. elseif energy >= 20 and energy < 30:
  75. energy += 10
  76. 'You are not hungry but you ate it anyway.'
  77. elseif energy < 20:
  78. energy += 20
  79. 'You gladly ate some cooked food.'
  80. end
  81. if water >= 20:
  82. 'You don''t want to drink anymore.'
  83. elseif water < 20:
  84. water += 20
  85. 'You gladly drank a mug of tea.'
  86. end
  87. act 'Get up from the table':gt $curloc
  88. end
  89. end
  90. if fatdel > 0:
  91. act 'Consume fat burners':
  92. cla
  93. *clr
  94. fatdel -= 1
  95. fat -= 25
  96. if fat < 0:fat = 0
  97. 'You drank fat burning capsule. These capsules operate gradually and results will not be seen immediately.'
  98. act 'Get up from the table':gt $curloc
  99. end
  100. end
  101. act 'Drink':
  102. cla
  103. minut += 5
  104. if water >= 20:
  105. 'You are not thirsty.'
  106. elseif water < 20:
  107. water += 20
  108. 'You gladly drank a glass of water.'
  109. end
  110. act 'Get up from the table':gt $curloc
  111. end
  112. if husband > 0 and husbanday > 0 and huseatday ! daystart and eda >= 2:
  113. act 'Cook a meal for your husband, 2 servings (1:00)':
  114. cla
  115. *clr
  116. husband += 5
  117. eda -= 2
  118. minut += 60
  119. huseatday = daystart
  120. manna -= 25
  121. '<center><img src="images/pics/cook.jpg"></center>'
  122. 'You cooked some food for your husband.'
  123. act 'Put the food on the table':gt $curloc
  124. end
  125. end
  126. if lekarstvo > 0:
  127. 'You have <<lekarstvo>> tablets.'
  128. if sick > 0 and lekarday ! daystart:
  129. act 'Take a pill':
  130. cla
  131. *clr
  132. minut += 5
  133. lekarday = daystart
  134. lekarstvo -= 1
  135. sick -= sick * 20 / 100
  136. lekrand = rand(1, 9)
  137. '<center><img src="images/inBed/lekr1.jpg"></center>'
  138. 'You took the pill'
  139. act 'Move away':gt $curloc
  140. end
  141. end
  142. end
  143. if vitamin > 0:
  144. 'You have <<vitamin>> vitamins.'
  145. if vitaminday ! daystart:
  146. act 'Take some vitamins':
  147. cla
  148. *clr
  149. minut += 5
  150. vitaminday = daystart
  151. vitamin -= 1
  152. frost = 0
  153. if KandidozOnce = 1:Kandidoz -= 2
  154. if GerpesOnce = 1:Gerpes -= 2
  155. if SifacOnce = 1 and Sifilis >= 10:Sifilis -= rand(0, 1)
  156. skinvan += 1
  157. if skinvan = 20:skinvan = 0 & skin += 1
  158. 'You took vitamins'
  159. act 'Move away':gt $curloc
  160. end
  161. end
  162. end
  163. --- ykuh ---------------------------------