dachain 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. *nl
  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. 'In the bottom of your wardrobe you have <a href="exec:gt ''shoes'', ''select''">your shoes</a> and next to the wardrobe is a dresser you keep <a href="exec:gt ''underwear'', ''dresser''">your underwear</a> and <a href="exec:gt ''purses'', ''view_purse_list''">purses</a> in.'
  34. *nl
  35. '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>.'
  36. *nl
  37. 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.'
  38. if hour >= 6 and hour <= 20 and etoexhib = 12:'Leave in <a href="exec:gt ''etoexhib'', ''pos11''">garden in lingerie and robe.</a>'
  39. if hour >= 6 and hour <= 20 and etoexhib = 13 and temp ! daystart:'I wonder how to <a href="exec:gt ''etoexhib'', ''pos12''">garden</a>'
  40. act 'Lie on the couch': gt 'divan', 'start'
  41. act 'Goto the kitchen alcove': gt 'dachain', 'dachakit'
  42. act 'Goto the Bathroom': gt 'dachain', 'dachavann'
  43. act 'Get in the bed': gt 'bed', 'start'
  44. act 'Go outside': gt 'dachamy'
  45. end
  46. if $args[0] = 'dachakit':
  47. $location_type = 'private'
  48. $metka = 'dachakit'
  49. $metkaM = 'dachakit'
  50. cls
  51. clr
  52. gs 'stat'
  53. '<center><b><font color="maroon">Cottage Kitchen</font></b></center>'
  54. if dachaest = 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 cookies.'
  83. else
  84. 'You have enough cookies 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. $location_type = 'bathroom'
  100. cls
  101. clr
  102. gs 'stat'
  103. '<center><b><font color="maroon">Cottage Bathroom</font></b></center>'
  104. if dachaest = 2:
  105. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachavan2.jpg"></center>'
  106. else
  107. '<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachavan1.jpg"></center>'
  108. end
  109. gs 'din_van', 'private'
  110. act 'Goto the kitchen alcove': gt 'dachain', 'dachakit'
  111. act 'Go into the main room': gt 'dachain', ''
  112. end
  113. --- dachain ---------------------------------