1
0

dachain.qsrc 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. # dachain
  2. clr
  3. $loc = 'dachain'
  4. $metka = ''
  5. $locM = 'dachain'
  6. $metkaM = ''
  7. gs 'stat'
  8. if night_mode = 1:
  9. fcolor = rgb(255, 255, 255)
  10. bcolor = rgb(0, 0, 0)
  11. lcolor = rgb(106, 90, 205)
  12. elseif night_mode = 2:
  13. fcolor = rgb(255, 255, 255)
  14. bcolor = rgb(20, 20, 20)
  15. lcolor = rgb(106, 90, 205)
  16. else
  17. fcolor = rgb(0, 0, 0)
  18. bcolor = rgb(255, 255, 255)
  19. lcolor = rgb(106, 90, 205)
  20. end
  21. if $args[0] = '':
  22. $location_type = 'private'
  23. $metka = ''
  24. $metkaM = ''
  25. killvar '$locclass'
  26. cls
  27. gs 'stat'
  28. '<center><b><font color="maroon">Cottage</font></b></center>'
  29. if home_owned[3] = 2:
  30. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dacharoom2.jpg"></center>'
  31. else
  32. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dacharoom1.jpg"></center>'
  33. end
  34. 'Your favorite summer residence.'
  35. *nl
  36. 'There is a <a href="exec:gt ''bed'', ''start''">bed</a> against one wall. Next to it is a <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can choose outfits and organize your clothing). On the other side of the bed is a table and a <a href="exec:gt ''mirror'', ''start''">mirror</a>'
  37. *nl
  38. 'There is a sofa in front of the fireplace, a kitchen alcove opposite the bed and the door to the bathroom next to that.'
  39. *nl
  40. if hour >= 6 and hour <= 20 and etoexhib = 11:'Kopashatsya working in the garden, hmm ... maybe sometime <a href="exec:gt ''etoexhib'', ''pos10''">motivate</a> for them to work quicker and smarter.'
  41. if hour >= 6 and hour <= 20 and etoexhib = 12:'Leave in <a href="exec:gt ''etoexhib'', ''pos11''">garden in lingerie and robe.</a>'
  42. if hour >= 6 and hour <= 20 and etoexhib = 13 and temp ! daystart:'I wonder how to <a href="exec:gt ''etoexhib'', ''pos12''">garden</a>'
  43. act 'Lie on the couch': gt 'divan', 'start'
  44. act 'Goto the kitchen alcove': gt 'dachain', 'dachakit'
  45. act 'Goto the Bathroom': gt 'dachain', 'dachavann'
  46. act 'Get in the bed': gt 'bed', 'start'
  47. act 'Go outside':
  48. if $clothingworntype ! 'nude':
  49. minut += 5 & gt 'dachamy'
  50. else
  51. msg'<b><font color = red>You can''t leave the house naked! You need to get dressed first.</font></b>'
  52. gt 'dachain'
  53. end
  54. end
  55. end
  56. if $args[0] = 'dachakit':
  57. $location_type = 'private'
  58. $metka = 'dachakit'
  59. $metkaM = 'dachakit'
  60. $locclass = 'kitr'
  61. cls
  62. gs 'stat'
  63. '<center><b><font color="maroon">Cottage Kitchen</font></b></center>'
  64. if home_owned[3] = 2:
  65. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachakit2.jpg"></center>'
  66. else
  67. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachakit1.jpg"></center>'
  68. end
  69. if cltarelka > 0:
  70. '<b><<cltarelka>></b> clean plates are stored in the cupboard.'
  71. else
  72. '<b><font color="red">You have no clean dishes left.</font></b>'
  73. end
  74. if dirttarelka > 0:'<b><<dirttarelka>></b> dirty dishes are lying in the sink. <a href="exec:dynamic $dirtarm">Wash the dishes</a>.'
  75. if fairy > 0:
  76. 'Next to the sink is dishwashing liquid, enough for <b><<fairy>></b> uses.'
  77. else
  78. '<b><font color="red">You have nothing to wash dishes with, you need to buy dishwashing liquid.</font></b>'
  79. end
  80. if eda > 0:
  81. if cltarelka = 0 or edahot > 0:$edagot = ''
  82. if cltarelka > 0 and edahot = 0:$edagot = '<a href="exec:dynamic $edagotd">Cook meal (0:30)</a>'
  83. 'In the refrigerator there''s food, enough for <b><<eda>></b> servings. <<$edagot>>'
  84. end
  85. if edaD = 0 and eda = 0:'<b><font color="red">The refrigerator is empty, you have nothing to eat.</font></b>'
  86. if edahot > 0: act 'A cooked meal is on the table (0:30).': dynamic $edahotd
  87. if husband > 0 and husbandrink ! 10:
  88. if hour = 7 or hour = 17:'<a href="exec:gt ''husb'', ''start''">Your husband is eating at the table.</a>'
  89. end
  90. if pranik > 0:
  91. if pranik = 1:
  92. 'You only have one more portion of tea biscuits.'
  93. else
  94. 'You have enough tea biscuits for <b><<pranik>></b> more snacks.'
  95. end
  96. dynamic $pranik
  97. end
  98. dynamic $edaD
  99. dynamic $fatdel
  100. dynamic $driwater
  101. dynamic $lekarstvo
  102. dynamic $vitamin
  103. act 'Go into the main room': gt 'dachain', ''
  104. act 'Goto the Bathroom': gt 'dachain', 'dachavann'
  105. end
  106. if $args[0] = 'dachavann':
  107. $metka = 'dachavann'
  108. $metkaM = 'dachavann'
  109. $location_type = 'bathroom'
  110. killvar '$locclass'
  111. cls
  112. gs 'stat'
  113. '<center><b><font color="maroon">Cottage Bathroom</font></b></center>'
  114. if home_owned[3] = 2:
  115. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachavan2.jpg"></center>'
  116. else
  117. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachavan1.jpg"></center>'
  118. end
  119. gs 'din_van', 'private'
  120. act 'Goto the kitchen alcove': gt 'dachain', 'dachakit'
  121. act 'Go into the main room': gt 'dachain', ''
  122. end
  123. --- dachain ---------------------------------