1
0

dachain.qsrc 4.5 KB

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