gadsarai.qsrc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. # gadsarai
  2. if $ARGS[0] = '':
  3. $metka = ''
  4. $loc = 'gadsarai'
  5. $menu_loc = 'gadsarai'
  6. $menu_arg = ''
  7. menu_off = 0
  8. $location_type = 'secluded'
  9. '<center><h4>Old Barn</h4></center>'
  10. if month >= 4 and month <= 10:
  11. if hour >= 6 and hour < 22:
  12. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/sarai.jpg"></center>'
  13. else
  14. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/sarai_night.jpg"></center>'
  15. end
  16. else
  17. if hour >= 8 and hour < 18:
  18. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/sarai_winter.jpg"></center>'
  19. else
  20. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/sarai_winter_night.jpg"></center>'
  21. end
  22. end
  23. 'An old junk filled barn that could hold some useful items.'
  24. if month > 4 and month < 10:
  25. if hour > 9 and hour < 20:
  26. 'On your right is a cattle barn.'
  27. else
  28. 'On your right is a <a href="exec: gt ''gadsarai'',''cow'' ">cattle</a> barn.'
  29. end
  30. if hour > 9 and hour < 20 and week < 6 or grandpaQW['chore_bathe_horse'] = 2:
  31. 'On your left is a horse stable.'
  32. else
  33. 'On your left is a <a href="exec: gt ''gadsarai'',''horse'' ">horse</a> stable.'
  34. end
  35. else
  36. 'On your right is a <a href="exec: gt ''gadsarai'',''cow'' ">cattle</a> barn.'
  37. 'On your left is a <a href="exec: gt ''gadsarai'',''horse'' ">horse</a> stable.'
  38. end
  39. 'There''s a <a href="exec: gt ''gadsarai'',''boar'' ">boar</a> living in a separate stable.'
  40. gs 'bicycle', 'gadsarai'
  41. clr
  42. gs 'stat'
  43. act 'Go back to the yard':minut += 1 & gt 'gaddvor'
  44. if grandpaQW['chore_fetch_firewood'] = 1:
  45. act 'Gather firewood for Grandpa (0:10)':
  46. *clr & cla
  47. if month >= 4 and month <= 10:
  48. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/firewood.jpg"></center>'
  49. else
  50. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/firewood_winter.jpg"></center>'
  51. end
  52. 'You decide to grab the firewood that your grandfather asked for, loading up as much as you can carry.'
  53. grandpaQW['chore_fetch_firewood'] = 2
  54. minut += 10
  55. grandmaQW['help_amount'] += 1
  56. gs'stat'
  57. act 'Continue':gt 'gadsarai'
  58. end
  59. end
  60. act 'Poke around in the barn':
  61. if npc_qw['A221'] > 0 and grigory_barn ! daystart and hour > 8 and hour < 12: gt 'grigory', 'barn'
  62. *clr & cla
  63. minut += 15
  64. gs 'stat'
  65. if BikeLoc = 0:
  66. *clr & cla
  67. if rand(0,8) >= 7:
  68. gs 'stat'
  69. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/findbike.jpg"></center>'
  70. 'In the far corner of the barn you manage to find an old bicycle. It''s in surprisingly good condition. You pull it out of the barn and clean it up.'
  71. BikeLoc = 1
  72. observ_exp += 3
  73. else
  74. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  75. 'In the barn you find many mouldy magazines, rusty tools and equipment, toys and many dusty, yellowed books. The entire barn reeks of mould and decay.'
  76. end
  77. act 'Leave and get some fresh air':gt 'gadsarai'
  78. elseif vcard = 0 and vcard_trash = 0:
  79. *clr & cla
  80. if rand(0,5) >= 4:
  81. gs 'stat'
  82. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/vcards.jpg"></center>'
  83. '"Hmm, what''s this?" You''ve found an unopened deck of vintage adult playing cards, still in its original cellophone wrapper.'
  84. vcard = 1
  85. observ_exp += 3
  86. else
  87. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  88. 'In the barn you find many mouldy magazines, rusty tools and equipment, toys and many dusty, yellowed books. The entire barn reeks of mould and decay.'
  89. end
  90. act 'Leave and get some fresh air':gt 'gadsarai'
  91. elseif findbag = 0 and bag = 0:
  92. *clr & cla
  93. if rand(0,10) > 9:
  94. findbag = 1
  95. observ_exp += 3
  96. gs 'stat'
  97. '<center><img <<$set_imgh>> src="images/pc/purses/cheap/5.jpg"></center>'
  98. 'In a far corner of the barn you find a hessian sack filled with mostly junk, but at the bottom you find a good quality messenger bag.'
  99. cheap_purses[5] = 1
  100. $currentpursetype = 'cheap'
  101. currentpursenumber = 5
  102. 'You can use this cool looking bag as a handbag.'
  103. else
  104. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  105. 'In the barn you find many mouldy magazines, rusty tools and equipment, toys and many dusty, yellowed books. The entire barn reeks of mould and decay.'
  106. end
  107. act 'Leave and get some fresh air':
  108. if findbag = 1: bag = 1
  109. gt 'gadsarai'
  110. end
  111. elseif findbraclet = 0:
  112. *clr & cla
  113. if rand(0,15) >= 14:
  114. gs 'stat'
  115. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/bracelet.jpg"></center>'
  116. 'While looking through the barn you spot a glint of metal under a pile of wood. Upon closer inspection you see a bracelet made of silver and crafted into the likeness of a snake. Strange, but cool that you would find something this valuable in the barn.'
  117. findbraclet = 1
  118. observ_exp += 3
  119. else
  120. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  121. 'In the barn you find many mouldy magazines, rusty tools and equipment, toys and many dusty, yellowed books. The entire barn reeks of mould and decay.'
  122. end
  123. act 'Leave and get some fresh air':gt 'gadsarai'
  124. elseif findbraclet > 0 and findneck = 0:
  125. *clr & cla
  126. if rand(0,20) >= 19:
  127. gs 'stat'
  128. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/necklace.jpg"></center>'
  129. if altQS = 1:
  130. 'While looking through the barn your foot goes through a rotten floorboard. You suddenly feel the presence of something magical under the floor. You get on your belly and look through the hole in the floor. You find a small box made of a black wood. You pick up the box and see the box is covered in a strange writing and glyphs that look like serpents. The feeling of power is coming from within the box. You lift the lid of the box and see a black metal necklace that looks like a coiled snake with ruby eyes. You feel the power coming from the necklace, but it doesn''t feel like any power you have ever felt.'
  131. else
  132. 'While looking through the barn your foot goes through a rotten floorboard and gets stuck. As you work your foot free, you glimpse something underneath the floor - a box or something. You get on your belly and look through the hole in the floor. You find a small box made of a black wood. You pick up the box and see the box is covered in a strange writing and glyphs that look like serpents. The exotic look of the box gives you gooseflesh and you find yourself holding your breath as you prepare to open the box. You lift the lid of the box and see a black metal necklace that looks like a coiled snake with ruby eyes. You let your breath out slowly as you tilt the necklace from side to side, watching the light sparkle as it is reflected by the facets on the deep red rubies. You cannot begin to guess what this necklace must be worth.'
  133. end
  134. findneck = 1
  135. observ_exp += 3
  136. else
  137. *clr & cla
  138. gs 'stat'
  139. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  140. 'In the barn you find many mouldy magazines, rusty tools and equipment, toys and many dusty, yellowed books. The entire barn reeks of mould and decay.'
  141. end
  142. act 'Leave and get some fresh air':gt 'gadsarai'
  143. else
  144. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  145. 'In the barn you find many mouldy magazines, rusty tools and equipment, toys and many dusty, yellowed books. The entire barn reeks of mould and decay.'
  146. act 'Leave and get some fresh air':gt 'gadsarai'
  147. end
  148. end
  149. if vcard > 0: act 'View your vintage porn cards': $card_loc = 'gadsarai' & card_deck = 0 & gt 'card'
  150. if card > 0: act 'View your new porn cards': $card_loc = 'gadsarai' & card_deck = 1 & gt 'card'
  151. if pcs_horny >= 50: act 'Masturbate':gt 'selfplay', 'start'
  152. !! Serpent is not ready yet, so remarking out til then.
  153. !! if findneck = 1:
  154. !! act 'You hear a scrapping noice above you.':gt 'serpent'
  155. !! end
  156. end
  157. if $ARGS[0] = 'boar':
  158. *clr & cla
  159. minut += 1
  160. gs 'stat'
  161. '<center><H4>The barn</H4></center>'
  162. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/boar.jpg"></center>'
  163. 'One of your grandparents'' dearest possessions: the boar, Nickle.'
  164. act 'Leave':minut += 5 & gt 'gadsarai'
  165. if grandpaQW['chore_feed_boar'] = 1:
  166. act 'Feed the hog':
  167. cla
  168. *clr
  169. minut += 30
  170. grandpaQW['chore_feed_boar'] = 2
  171. hndiwrk_exp += rand(0,3)
  172. gs 'stat'
  173. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_boar.jpg"></center>'
  174. 'You grab the feed bag and fill Nickle''s trough. You stand there and watch for a few minutes as he eats like a... well, like a pig.'
  175. act 'Finish':gt 'gadsarai','boar'
  176. end
  177. end
  178. end
  179. if $ARGS[0] = 'cow':
  180. *clr & cla
  181. minut += 1
  182. gs 'stat'
  183. '<center><H4>The barn</H4></center>'
  184. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow.jpg"></center>'
  185. 'Grandma''s favorite animal, the cow Dawn.'
  186. act 'Leave':minut += 5 & gt 'gadsarai'
  187. if grandmaQW['chore_milk_cow'] = 1:
  188. act 'Milk the cow':
  189. cla
  190. *clr
  191. minut += 30
  192. grandmaQW['chore_milk_cow'] = 2
  193. hndiwrk_exp += rand(0,3)
  194. gs 'stat'
  195. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/milk_cow.jpg"></center>'
  196. 'You start milking Dawn, improving for each time you do it.'
  197. act 'Continue':gt 'gadsarai','cow'
  198. end
  199. end
  200. if grandpaQW['chore_feed_cow'] = 1:
  201. act 'Feed the cow':
  202. cla
  203. *clr
  204. minut += 30
  205. grandpaQW['chore_feed_cow'] = 2
  206. hndiwrk_exp += rand(0,3)
  207. gs 'stat'
  208. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_cow.jpg"></center>'
  209. 'Dawn is obviously excited about feeding time, shaking her head and doing little cow tippy-taps with her feet. You dump a sizable amount of hay in her trough and watch as she digs in.'
  210. act 'Continue':gt 'gadsarai','cow'
  211. end
  212. end
  213. if grandpaQW['chore_lead_cow_to_field'] = 1 or grandpaQW['chore_herd_cattle'] = 1:
  214. act 'Lead the cow to the field':
  215. cla
  216. *clr
  217. minut += 60
  218. hndiwrk_exp += rand(0,3)
  219. gs 'stat'
  220. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow_field.jpg"></center>'
  221. if grandpaQW['chore_lead_cow_to_field'] = 1:
  222. 'You lead Dawn to the field, where you let the shepherds take over.'
  223. grandpaQW['chore_lead_cow_to_field'] = 2
  224. end
  225. if grandpaQW['chore_herd_cattle'] = 1:'You lead Dawn to the field, where you grandfather awaits you. It''s his turn to keep an eye on the cows.'
  226. act 'Continue':gt'gadfield','cow'
  227. end
  228. end
  229. end
  230. if $ARGS[0] = 'horse':
  231. *clr & cla
  232. minut += 1
  233. gs 'stat'
  234. '<center><H4>The barn</H4></center>'
  235. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse.jpg"></center>'
  236. 'Grandfather''s trusted assistant, the horse Desperado.'
  237. if grandpaQW['chore_feed_horse'] = 1:
  238. act 'Feed the horse':
  239. cla
  240. *clr
  241. minut += 30
  242. grandpaQW['chore_feed_horse'] = 2
  243. hndiwrk_exp += rand(0,3)
  244. gs 'stat'
  245. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_horse.jpg"></center>'
  246. 'You grab a sack of grain and fill Desperado''s feed bucket. You hang the bucket from his stall and gently pat his nose as he begins to eat.'
  247. 'You watch him eat for a little while before moving on.'
  248. act 'Continue':gt 'gadsarai','horse'
  249. end
  250. end
  251. if grandpaQW['chore_lead_horse_to_field'] = 1:
  252. act 'Lead the horse to the field':
  253. cla
  254. *clr
  255. minut += 60
  256. grandpaQW['chore_lead_horse_to_field'] = 2
  257. hndiwrk_exp += rand(0,3)
  258. gs 'stat'
  259. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse_field.jpg"></center>'
  260. 'You take Desperado by the bridle and lead him to the field. There, you let him free in the paddock area, and watch him run about for a bit before moving on.'
  261. act 'Continue':gt'gadfield','field'
  262. end
  263. end
  264. if grandpaQW['chore_bathe_horse'] = 1 and sunWeather = 1 and temper >= 15:
  265. act 'Lead the horse to the river':
  266. cla
  267. *clr
  268. minut += 30
  269. grandpaQW['chore_bathe_horse_prog'] = 1
  270. hndiwrk_exp += rand(0,3)
  271. gs 'stat'
  272. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse_field.jpg"></center>'
  273. 'You take Desperado by the bridle and lead him to the river.'
  274. act 'Continue':gt'gadriver', 'gadbitch'
  275. end
  276. end
  277. if grandpaQW['chore_brush_horse'] = 1:
  278. act 'Groom the horse':
  279. cla
  280. *clr
  281. minut += 60
  282. grandpaQW['chore_brush_horse'] = 2
  283. hndiwrk_exp += rand(0,3)
  284. gs 'stat'
  285. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/comb_horse.jpg"></center>'
  286. 'You spend about an hour cleaning and brushing Desperado, scrubbing his coat and brushing his mane and tail. You are satisfied with the result - he is looking as clean and healthy as ever.'
  287. act 'Continue':gt 'gadsarai','horse'
  288. end
  289. end
  290. act 'Go':minut += 5 & gt'gadsarai'
  291. end
  292. --- gadsarai ---------------------------------