1
0

ykuh.qsrc 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. # ykuh
  2. $metka = ''
  3. $loc = 'ykuh'
  4. $locclass = 'kitr'
  5. clr
  6. gs 'stat'
  7. '<center><b><font color="maroon">Kitchen</font></b></center>'
  8. '<center>A well stacked kitchen containing all the necessities to make whatever meal you please.</center>'
  9. if ymanrem[6] = 0:'<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/ynill.jpg"></center>'
  10. if ymanrem[6] = 1:'<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/yrem.jpg"></center>'
  11. if ymanrem[6] = 2:'<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/ykun.jpg"></center>'
  12. if ymanrem[6] = 2:''
  13. if dirttarelka > 0 and fairy >= dirttarelka:
  14. cltarelka += dirttarelka
  15. fairy -= dirttarelka
  16. dirttarelka = 0
  17. 'You washed the dirty dishes in the dishwasher.'
  18. elseif fairy < dirttarelka:
  19. 'You can''t use the dishwasher. You have no detergent.'
  20. end
  21. if cltarelka > 0:
  22. 'You have <b><<cltarelka>></b> clean plates left.'
  23. else
  24. '<b><font color="red">You don''t have any clean plates left.</font></b>'
  25. end
  26. if dirttarelka > 0:'There are <b><<dirttarelka>></b> dirty dishes in the sink. <a href="exec:dynamic $dirtarm">Wash the dishes</a>.'
  27. if fairy > 0:
  28. 'Under the sink is some dishwashing detergent, which is enough for <b><<fairy>></b> times.'
  29. else
  30. '<b><font color="red">You have nothing to wash dishes with. You should buy some detergent.</font></b>'
  31. end
  32. if eda > 0:
  33. if cltarelka = 0 or edahot > 0:$edagot = ''
  34. if cltarelka > 0 and edahot = 0:$edagot = '<a href="exec:dynamic $edagotd">Cook a meal (0:30)</a>'
  35. 'There''s enough food for <b><<eda>></b> servings. <<$edagot>>'
  36. elseif edaD = 0 and eda = 0:
  37. '<b><font color="red">The fridge is empty, you have nothing to eat.</font></b>'
  38. end
  39. act 'Leave the room':minut += 1 & gt 'ymans'
  40. if edahot > 0:'<a href="exec:dynamic $edahotd">There''s a warm meal on the table.</a>'
  41. if pranik > 0:
  42. 'You have <<pranik>> tea biscuits.'
  43. act 'Drink tea with biscuits (0:05)':
  44. cla
  45. *clr
  46. minut += 5
  47. pranik -= 1
  48. pcs_health += 30
  49. pcs_mood += 20
  50. pcs_energy += 20
  51. pcs_hydra += 60
  52. cumspclnt = 2
  53. gs 'cum_cleanup'
  54. pcs_breath = 0
  55. fat += 4
  56. frost = 0
  57. gs 'stat'
  58. '<center><img <<$set_imgh>> src="images/shared/food/food.jpg"></center>'
  59. 'You drank tea with tea biscuits, it''s sweet and very bad for your figure, but they''re so good you can''t resist.'
  60. act 'Get up from the table':gt $curloc
  61. end
  62. end
  63. dynamic $edaD
  64. dynamic $fatdel
  65. act 'Drink':
  66. cla
  67. minut += 5
  68. if pcs_hydra >= 100:
  69. 'You are not thirsty.'
  70. elseif pcs_hydra < 80:
  71. pcs_hydra += 30
  72. cumspclnt = 2
  73. gs 'cum_cleanup'
  74. pcs_breath = 0
  75. 'You gladly drink a glass of water.'
  76. end
  77. act 'Get up from the table':gt $curloc
  78. end
  79. if husband > 0 and husbanday > 0 and huseatday ! daystart and eda >= 2:
  80. act 'Cook a meal for your husband, 2 servings (1:00)':
  81. cla
  82. *clr
  83. husband += 5
  84. eda -= 2
  85. minut += 60
  86. huseatday = daystart
  87. pcs_mood -= 15
  88. '<center><img <<$set_imgh>> src="images/shared/home/kitchen/cook.jpg"></center>'
  89. 'You made some delicious food for your husband.'
  90. act 'Put the food on the table':gt $curloc
  91. end
  92. end
  93. if lekarstvo > 0:
  94. if lekarstvo > 1:'You have <<lekarstvo>> pills left.' else 'You have one pill left.'
  95. if sick > 0 and lekarday ! daystart:
  96. act 'Take a pill':
  97. cla
  98. *clr
  99. minut += 5
  100. lekarday = daystart
  101. lekarstvo -= 1
  102. sick -= sick * 20 / 100
  103. '<center><img <<$set_imgh>> src="images/locations/shared/apartment/event/sick/lekr1.jpg"></center>'
  104. 'You took a pill.'
  105. act 'Move away':gt $curloc
  106. end
  107. end
  108. end
  109. if vitamin > 0:
  110. if vitamin > 1:'You have <<vitamin>> vitamin pills left.' else 'You have one vitamin pill left.'
  111. if vitaminday ! daystart:
  112. act 'Take a vitamin pill':
  113. cla
  114. *clr
  115. minut += 5
  116. vitaminday = daystart
  117. vitamin -= 1
  118. frost = 0
  119. if KandidozOnce = 1:Kandidoz -= 2
  120. if GerpesOnce = 1:Gerpes -= 2
  121. if SifacOnce = 1 and Sifilis >= 10:Sifilis -= rand(0, 1)
  122. pcs_skin += 1
  123. 'You took a vitamin pill.'
  124. act 'Move away':gt $curloc
  125. end
  126. end
  127. end
  128. --- ykuh ---------------------------------