1
0

dachain 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. cls
  22. clr
  23. gs 'stat'
  24. '<center><b><font color="maroon">Cottage</font></b></center>'
  25. if dachaest = 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. ''
  32. 'There is a <a href="exec:gt ''bed'', ''start''">bed</a> against one wall. Next to it is a wardrobe(where you can <a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe''">organize your clothes</a> or <a href="exec:gt ''clothing_QV'', ''list''">pick something to wear</a>). You have a <a href="exec:gt ''clothing'', ''view_clothing_list'', ''store''">chest</a> at the end of your bed where you can store some clothes. On the other side of the bed is a table and a <a href="exec:gt ''mirror'', ''start''">mirror</a>'
  33. ''
  34. 'There is a sofa in front of the fireplace, a kitchen alcove oppsite the bed, the door to the bathroom next to it and beside the entrance is the <a href="exec:gt ''cloakroom'', ''view_coat_list''">coat closet</a>.'
  35. ''
  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': gt 'dachamy'
  44. end
  45. if $args[0] = 'dachakit':
  46. $location_type = 'private'
  47. $metka = 'dachakit'
  48. $metkaM = 'dachakit'
  49. cls
  50. clr
  51. gs 'stat'
  52. '<center><b><font color="maroon">Cottage Kitchen</font></b></center>'
  53. if dachaest = 2:
  54. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachakit2.jpg"></center>'
  55. else
  56. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachakit1.jpg"></center>'
  57. end
  58. if cltarelka > 0:
  59. '<b><<cltarelka>></b> clean plates are stored in the cupboard.'
  60. else
  61. '<b><font color="red">You have no clean dishes left.</font></b>'
  62. end
  63. if dirttarelka > 0:'<b><<dirttarelka>></b> dirty dishes are lying in the sink. <a href="exec:dynamic $dirtarm">Wash the dishes</a>.'
  64. if fairy > 0:
  65. 'Next to the sink is dishwashing liquid, enough for <b><<fairy>></b> uses.'
  66. else
  67. '<b><font color="red">You have nothing to wash dishes with, you need to buy dishwashing liquid.</font></b>'
  68. end
  69. if eda > 0:
  70. if cltarelka = 0 or edahot > 0:$edagot = ''
  71. if cltarelka > 0 and edahot = 0:$edagot = '<a href="exec:dynamic $edagotd">Cook meal (0:30)</a>'
  72. 'In the refrigerator there''s food, enough for <b><<eda>></b> servings. <<$edagot>>'
  73. end
  74. if edaD = 0 and eda = 0:'<b><font color="red">The refrigerator is empty, you have nothing to eat.</font></b>'
  75. if edahot > 0: act 'A cooked meal is on the table (0:30).': dynamic $edahotd
  76. if husband > 0 and husbandrink ! 10:
  77. if hour = 7 or hour = 17:'<a href="exec:gt ''husb'', ''start''">Your husband is eating at the table.</a>'
  78. end
  79. if pranik > 0:
  80. if pranik = 1:
  81. 'You only have one more portion of cookies.'
  82. else
  83. 'You have enough cookies for <b><<pranik>></b> more snacks.'
  84. end
  85. dynamic $pranik
  86. end
  87. dynamic $edaD
  88. dynamic $fatdel
  89. dynamic $driwater
  90. dynamic $lekarstvo
  91. dynamic $vitamin
  92. act 'Go into the main room': gt 'dachain', ''
  93. act 'Goto the Bathroom': gt 'dachain', 'dachavann'
  94. end
  95. if $args[0] = 'dachavann':
  96. $metka = 'dachavann'
  97. $metkaM = 'dachavann'
  98. $location_type = 'bathroom'
  99. cls
  100. clr
  101. gs 'stat'
  102. '<center><b><font color="maroon">Cottage Bathroom</font></b></center>'
  103. if dachaest = 2:
  104. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachavan2.jpg"></center>'
  105. else
  106. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachavan1.jpg"></center>'
  107. end
  108. gs 'din_van', 'private'
  109. act 'Goto the kitchen alcove': gt 'dachain', 'dachakit'
  110. act 'Go into the main room': gt 'dachain', ''
  111. end
  112. --- dachain ---------------------------------