Gadhouse 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. # Gadhouse
  2. $metkaM = ''
  3. $locM = 'Gadhouse'
  4. $metka = ''
  5. $loc = 'Gadhouse'
  6. frost = 0
  7. CLOSE ALL
  8. $grandma = {
  9. cls
  10. minut += 2
  11. if grandmatalkday ! daystart:grandmatalk = 0
  12. gs 'stat'
  13. '<center><img src="images/qwest/gadukino/grandma.jpg"></center>'
  14. 'Your grandma is very old, and almost never leaves her house. Most of the time she just sits on her bed watching TV, or is somewhere else inside her house.'
  15. if hour >= grandmatalk + 3:
  16. act 'Chat with your grandmother':
  17. cla
  18. *clr
  19. grandmatalk = hour
  20. grandmatalkday = daystart
  21. minut += 10
  22. manna += mannamax/RAND(10,15)
  23. gs 'stat'
  24. '<center><img src="images/qwest/gadukino/grandma.jpg"></center>'
  25. 'You spend some time talking with your grandmother. Sometimes she''s difficult to understand; her nearly toothless mouth makes the pronunciation of words difficult for her. Most of what she says boils down to the same thing: life is much more fun when you''re young!'
  26. act 'Continue':gt 'Gadhouse'
  27. end
  28. end
  29. if grandmastory ! daystart:
  30. act 'Ask her to tell you a story':
  31. cla
  32. *clr
  33. grandmastory = daystart
  34. minut += 20
  35. manna += mannamax/RAND(5,10)
  36. temp = RAND(0,3)
  37. gs 'stat'
  38. '<center><img src="images/qwest/gadukino/babushka.jpg"></center>'
  39. 'When you ask your grandmother to tell you a story, she grumbles a little. Nevertheless, after a brief second to decide on which story she decides to share today, she readily begins to talk.'
  40. if temp = 0:
  41. '"One time, my parents allowed me to stay at my friend''s home for the night. During the night, a lot of snow fell... and we heard a soft knock on the wall!" she says in an ominous voice.'
  42. '"We listened more closely, but heard only the wind whistling... so we tried to go back to sleep. Then we heard the knocking again!"'
  43. '"We both ran to the window, but couldn''t see anything because of the snow. The knocking became more insistent, and the voice of a small girl begged us to open the door! My friends and I gathered in the middle of the room, all tightly hugging one another... we were terrified!"'
  44. '"The knocking continued into the morning, even when the blizzard stopped. It sounded like someone was panicking, but when we told her parents in the morning, they didn''t believe us. When we went outside... there was no trace of the snow! As if it never happened at all!"'
  45. '"We never heard the voice or the knocking again after that, but I still feel bad for not going downstairs to answer the door. What if some girl was actually there, begging for our help? I hope she''s okay..."'
  46. elseif temp = 1:
  47. '"I had a friend back then", she says, in an ominous voice. "Her husband died at her house, he was a drunkard. He got drunk one day and died of alcohol poisoning in her very house."'
  48. '"One day she came home from work, and the floor boards were creaking! And through the glass panes in the door in the hallway, she could see the silhouette of a man. It looked remarkably like her late husband, she said!"'
  49. '"She was terrified! She quickly left her house, and only went back when I promised to go with her... but of course, we found nothing. Do you believe in ghosts, <<$nickname>>? Because ever since that moment, I do..."'
  50. elseif temp = 2:
  51. '"I wasn''t born in Gadyukino, I grew up in a different village", your grandmother begins. "This is a true story, by the way!"'
  52. '"When I was still a little girl, one of our neighbors died. Then, less than two weeks later, one of his brothers died too! And as the legend goes, death comes in threes..."'
  53. '"His one surviving sister was terrified. She was a friend of mine, but her parents wouldn''t let her leave the house."'
  54. '"It was well into the winter season then, and people could only go to other towns by sleigh. For forty days, they waited... just when they were about to accept that the legend might not be true, they found one of her relatives. Dead. Muzhik I believe his name was, he was found frozen solid, basically a block of ice! He''d tried to attend his cousin''s funeral, but it cost him his life!"'
  55. '"Death is not to be trifled with, <<$nickname>>... her parents were smart to hide her, otherwise she might''ve died instead!"'
  56. elseif temp = 3:
  57. '"This really happened!" your grandmother reassures you. "When I was young, basically your age... it was just after the war. No one believed in superstition or anything like that. They were tough times, all anyone cared about is how to get their next meal on the table for their family."'
  58. '"We all went to bed, but our cat kept haunting me! It just wouldn''t let me sleep, for hours and hours!"'
  59. 'When I finally caught some sleep and woke up the next morning, my father was next to my bed. He said when he cleaned out the furnace of ashes, he found the remains of our dead cat in there!"'
  60. 'You see her eyes tear up. "No one knew how she got there... no one noticed anything! Except for me. To this day I believe she was trying to warn me, asking for my help..."'
  61. 'Your grandmother shrugs, wiping a tear from her eye. You put your hand on her knee reassuringly, but don''t really know what to say to comfort her.'
  62. end
  63. act 'Continue':gt 'Gadhouse'
  64. end
  65. end
  66. act 'Leave her alone':gt 'Gadhouse'
  67. }
  68. $grandpa = {
  69. cls
  70. minut += 2
  71. if grandpatalkday ! daystart:grandpatalk = 0
  72. gs 'stat'
  73. '<center><img src="images/qwest/gadukino/grandpa.jpg"></center>'
  74. 'Your grandfather is very old, and can barely walk even with his cane. He doesn''t really leave the house any more, unless he really has to.'
  75. if hour >= grandpatalk + 3:
  76. act 'Chat with your grandfather':
  77. cla
  78. *clr
  79. grandpatalk = hour
  80. grandpatalkday = daystart
  81. minut += 10
  82. manna += mannamax/RAND(10,15)
  83. gs 'stat'
  84. '<center><img src="images/qwest/gadukino/grandpa.jpg"></center>'
  85. 'Your grandfather has lived a rich and eventful life, and you enjoy talking to him. He mostly reminisces about his past, and reflects on his earlier life.'
  86. act 'Continue':gt 'Gadhouse'
  87. end
  88. end
  89. act 'Leave him alone':gt 'Gadhouse'
  90. }
  91. $villagecat = {
  92. cls
  93. minut += 2
  94. gs 'stat'
  95. '<center><img src="images/qwest/gadukino/villcat.jpg"></center>'
  96. 'Your grandparents'' fat cat Boniface is very aware of you approaching him, but simply ignores you.'
  97. act 'Pet Boniface':
  98. cla
  99. *clr
  100. minut += 5
  101. manna += mannamax/RAND(30,50)
  102. gs 'stat'
  103. '<center><img src="images/qwest/gadukino/villcat1.jpg"></center>'
  104. 'You gently pet Boniface and scratch behind his ears, and he begins to purr. As soon as you stop scratching him, the purring stops too. That lazy bastard... he''s living the easy life!'
  105. act 'Continue':minut += 2 & gt 'Gadhouse'
  106. end
  107. act 'Leave Boniface alone':minut += 2 & gt 'Gadhouse'
  108. }
  109. '<center><H4>Your grandparents'' cottage</H4></center>'
  110. '<center><img src="images/qwest/gadukino/izba.jpg"></center>'
  111. 'A fairly simple home in the village of Gadyukino, but your grandparents call it home. Inside if 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>) and a <a href="exec:gad = 1 & gt ''bed2''">bed</a> where you can sleep. It''s more comfortable than it looks. In the living room they have a <a href="exec:gt ''tvPar''">television</a>. It''s positioned next to a body length <a href="exec:gt ''mirror'', ''start''">mirror</a>.'
  112. if catday = daystart:
  113. 'On the table by the window <a href="exec: dynamic $villagecat ">Boniface</a> lies lazily, soaking up some rays of sunshine.'
  114. else
  115. if hour < 8:
  116. temp = RAND(0,30)
  117. if temp = 15:catday = daystart & 'On the table by the window <a href="exec: dynamic $villagecat ">Boniface</a> lies lazily, soaking up some rays of sunshine.'
  118. elseif hour >= 8 and hour < 12:
  119. temp = RAND(0,2)
  120. if temp = 1:catday = daystart & 'On the table by the window <a href="exec: dynamic $villagecat ">Boniface</a> lies lazily, soaking up some rays of sunshine.'
  121. elseif hour >= 12 and hour < 18:
  122. temp = RAND(0,5)
  123. if temp = 3:catday = daystart & 'On the table by the window <a href="exec: dynamic $villagecat ">Boniface</a> lies lazily, soaking up some rays of sunshine.'
  124. elseif hour >= 18 and hour < 22:
  125. temp = RAND(0,10)
  126. if temp = 5:catday = daystart & 'On the table by the window <a href="exec: dynamic $villagecat ">Boniface</a> lies lazily, soaking up some rays of sunshine.'
  127. elseif hour >= 22:
  128. temp = RAND(0,20)
  129. if temp = 10:catday = daystart & 'On the table by the window <a href="exec: dynamic $villagecat ">Boniface</a> lies lazily, soaking up some rays of sunshine.'
  130. end
  131. end
  132. if hour >= 6 and hour < 22:
  133. 'Your <a href="exec: dynamic $grandma ">grandmother</a> is sitting on her bed. She looks a bit confused, as if she''s not sure where to go.'
  134. 'Your <a href="exec: dynamic $grandpa ">grandpa</a> slowly shuffles across the room, using his cane for support.'
  135. else
  136. 'Your grandparents sleep in their separate beds.'
  137. end
  138. clr
  139. gs 'stat'
  140. fcolor = rgb(0, 0, 0)
  141. bcolor = rgb(255, 255, 255)
  142. lcolor = rgb(106, 90, 205)
  143. act 'Go outside':
  144. if $clothingworntype ! 'nude':
  145. minut += 5 & gt'Gaddvor'
  146. else
  147. msg'<b><font color = red>You need to get dressed first.</font></b>'
  148. gt $curloc
  149. end
  150. end
  151. act 'Eat a full meal (0:30)':gs 'food', 'm_meal'
  152. act 'Eat a light meal (0:20)':gs 'food', 's_meal'
  153. act 'Have a snack (0:15)':gs 'food', 'snack'
  154. act 'Have a cup of tea (0:05)':
  155. cls
  156. minut += 5
  157. if water >= 20:
  158. 'You''re not thirsty.'
  159. else
  160. water += 20
  161. cumspclnt = 2
  162. gs 'cum_cleanup'
  163. fbreath = 0
  164. 'You have a cup of tea, quenching your thirst.'
  165. end
  166. gs 'stat'
  167. act 'Get up from the table':gt 'Gadhouse'
  168. end
  169. if pranik > 0:
  170. 'You brought your <<pranik>> cookies with you.'
  171. act 'Drink tea with cookies (0:05)':
  172. cla
  173. *clr
  174. minut += 5
  175. pranik -= 1
  176. health += 30
  177. manna += 100
  178. energy += 20
  179. water += 20
  180. cumspclnt = 2
  181. gs 'cum_cleanup'
  182. fbreath = 0
  183. fat += 4
  184. frost = 0
  185. gs 'stat'
  186. '<center><img src="images/pics/food.jpg"></center>'
  187. 'You enjoy a cup of tea while you eat some cookies. You know they''re too sweet and can''t be good for your figure, but they taste so good!'
  188. act 'Get up from the table':gt 'Gadhouse'
  189. end
  190. end
  191. if edaD > 0:
  192. act 'Eat diet food (0:30)':
  193. cla
  194. *clr
  195. frost = 0
  196. minut += 30
  197. health += 10
  198. manna += 20
  199. edaD -= 1
  200. '<center><img src="images/pics/food.jpg"></center>'
  201. if energy >= 100:
  202. 'You prepare a diet meal and try to eat it, but you''re really not hungry at all. You can''t finish the meal.'
  203. elseif energy >= 80:
  204. energy += 40
  205. 'You try to enjoy the diet meal, but half-way in you realize you weren''t all that hungry yet. You manage to finish the meal, but feel like it was kind of a waste to prepare it.'
  206. else
  207. energy += 80
  208. 'The diet meal is tasty, and you enjoy eating it.'
  209. end
  210. if water >= 80:
  211. 'You don''t need any more tea.'
  212. else
  213. water = 100
  214. cumspclnt = 2
  215. gs 'cum_cleanup'
  216. fbreath = 0
  217. 'You have a cup of tea, quenching your thirst.'
  218. end
  219. act 'Get up from the table':gt 'Gadhouse'
  220. end
  221. end
  222. if fatdel > 0:
  223. act 'Consume fat burners':
  224. cla
  225. *clr
  226. if fat > salo:fat = salo
  227. fatdel -= 1
  228. fat -= 25
  229. if fat < 0:fat = 0
  230. 'You throw the capsule of fat burners in a glass, add some water and drink it. You''re amazed at how fast the capsule works, feeling your body slim down almost immediately.'
  231. act 'Get up from the table':gt 'Gadhouse'
  232. end
  233. end
  234. if lekarstvo > 0:
  235. 'You have <<lekarstvo>> tablet(s).'
  236. if sick > 0 and lekarday ! daystart:
  237. act 'Take a pill (0:05)':
  238. cla
  239. *clr
  240. minut += 5
  241. lekarday = daystart
  242. lekarstvo -= 1
  243. sick -= sick * 20 / 100
  244. '<center><img src="images/inbed/lekr<<picrand>>.jpg"></center>'
  245. 'You swallow the pill, and shortly after you feel a bit better.'
  246. act 'Continue':gt 'Gadhouse'
  247. end
  248. end
  249. end
  250. if vitamin > 0:
  251. 'You have <<vitamin>> vitamin pills.'
  252. if vitaminday ! daystart:
  253. act 'Take vitamins (0:05)':
  254. cla
  255. *clr
  256. if fat > salo:fat = salo
  257. minut += 5
  258. vitaminday = daystart
  259. vitamin -= 1
  260. frost = 0
  261. if KandidozOnce = 1:Kandidoz -= 2
  262. if GerpesOnce = 1:Gerpes -= 2
  263. if SifacOnce = 1 and Sifilis >= 10:Sifilis -= rand(0, 1)
  264. skinvan += 1
  265. 'You take some vitamins to stay healthy.'
  266. act 'Continue':gt 'Gadhouse'
  267. end
  268. end
  269. end
  270. gs 'events', 'read'
  271. if indorf = 1:
  272. 'Your parents are relaxing.'
  273. if week = 7:
  274. if hour >= 20:gt 'farmhomeride'
  275. end
  276. end
  277. if monthbabkapay ! month:
  278. monthbabkapay = month
  279. money += 2000
  280. gs 'stat'
  281. 'Out of nowhere, your grandmother gives you 2,000 <b>₽</b>. Wow!'
  282. end
  283. if rand (0,2) ! 0:gs 'din_bad' & dynamic $mobile_check
  284. --- Gadhouse ---------------------------------