dachain.qsrc 4.4 KB

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