gadsarai.qsrc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  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['horse_river'] = 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. if findvel = 1:'You see an old <a href="exec:gt ''bicycle'',''sarai''">bike</a> in the corner.'
  41. clr
  42. gs 'stat'
  43. act 'Go back to the yard':minut += 1 & gt 'gaddvor'
  44. if grandpaQW['fetch_firewood'] = 1:
  45. act 'Fetch firewood for Grandpa (0:20)':
  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 and walking back to the house.'
  53. '"I''ve brought some firewood grandfather," you said to your grandfather.'
  54. '"Thank you very much, <<$pcs_nickname>>," he replies with a smile. "There is no more work for today."'
  55. grandpaQW['fetch_firewood'] = 0
  56. minut += 20
  57. grandmaQW['help'] += 1
  58. gs'stat'
  59. act 'Continue':gt 'gadhouse', 'start'
  60. end
  61. end
  62. act 'Poke around in the barn':
  63. if npc_qw['A221'] > 0 and grigory_barn ! daystart and hour > 8 and hour < 12: gt 'grigory', 'barn'
  64. *clr & cla
  65. minut += 15
  66. gs 'stat'
  67. if vcard = 0 and vcard_trash = 0:
  68. *clr & cla
  69. if rand(0,5) >= 4:
  70. gs 'stat'
  71. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/vcards.jpg"></center>'
  72. '"Hmm, what''s this?" You''ve found an unopened deck of vintage adult playing cards, still in its original cellophone wrapper.'
  73. vcard = 1
  74. observ_exp += 3
  75. else
  76. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  77. '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.'
  78. end
  79. act 'Leave and get some fresh air':gt 'gadsarai'
  80. elseif findvel = 0:
  81. *clr & cla
  82. if rand(0,8) >= 7:
  83. gs 'stat'
  84. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/findbike.jpg"></center>'
  85. '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.'
  86. findvel = 1
  87. observ_exp += 3
  88. else
  89. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  90. '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.'
  91. end
  92. act 'Leave and get some fresh air':gt 'gadsarai'
  93. elseif findbag = 0 and bag = 0:
  94. *clr & cla
  95. if rand(0,10) > 9:
  96. findbag = 1
  97. observ_exp += 3
  98. gs 'stat'
  99. '<center><img <<$set_imgh>> src="images/pc/purses/cheap/5.jpg"></center>'
  100. '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.'
  101. cheap_purses[5] = 1
  102. $currentpursetype = 'cheap'
  103. currentpursenumber = 5
  104. 'You can use this cool looking bag as a handbag.'
  105. else
  106. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  107. '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.'
  108. end
  109. act 'Leave and get some fresh air':
  110. if findbag = 1: bag = 1
  111. gt 'gadsarai'
  112. end
  113. elseif findbraclet = 0:
  114. *clr & cla
  115. if rand(0,15) >= 14:
  116. gs 'stat'
  117. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/bracelet.jpg"></center>'
  118. '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.'
  119. findbraclet = 1
  120. observ_exp += 3
  121. else
  122. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  123. '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.'
  124. end
  125. act 'Leave and get some fresh air':gt 'gadsarai'
  126. elseif findbraclet > 0 and findneck = 0:
  127. *clr & cla
  128. if rand(0,20) >= 19:
  129. gs 'stat'
  130. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/necklace.jpg"></center>'
  131. if altQS = 1:
  132. '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.'
  133. else
  134. '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.'
  135. end
  136. findneck = 1
  137. observ_exp += 3
  138. else
  139. *clr & cla
  140. gs 'stat'
  141. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  142. '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.'
  143. end
  144. act 'Leave and get some fresh air':gt 'gadsarai'
  145. else
  146. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  147. '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.'
  148. act 'Leave and get some fresh air':gt 'gadsarai'
  149. end
  150. end
  151. if vcard > 0: act 'View your vintage porn cards': $card_loc = 'gadsarai' & card_deck = 0 & gt 'card'
  152. if card > 0: act 'View your new porn cards': $card_loc = 'gadsarai' & card_deck = 1 & gt 'card'
  153. if pcs_horny >= 50: act 'Masturbate':gt 'selfplay', 'start'
  154. !! Serpent is not ready yet, so remarking out til then.
  155. !! if findneck = 1:
  156. !! act 'You hear a scrapping noice above you.':gt 'serpent'
  157. !! end
  158. !! if sunWeather = 1:
  159. !! if findvel = 1 and velday ! daystart:
  160. !! 'You decide to spend awhile riding the <a href="exec: gt ''events'', ''cycling''">bicycle</a> around.'
  161. !! end
  162. !! end
  163. end
  164. if $ARGS[0] = 'boar':
  165. *clr & cla
  166. minut += 1
  167. gs 'stat'
  168. '<center><H4>The barn</H4></center>'
  169. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/boar.jpg"></center>'
  170. 'One of your grandparents dearest possessions, the boar Nickle.'
  171. act 'Leave':minut += 5 & gt 'gadsarai'
  172. if grandpaQW['feed_boar'] = 1:
  173. act 'Feed the boar':
  174. cla
  175. *clr
  176. minut += 30
  177. grandmaQW['help'] += 1
  178. grandpaQW['feed_boar'] = 0
  179. hndiwrk_exp += rand(0,3)
  180. gs 'stat'
  181. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_boar.jpg"></center>'
  182. 'You fed Nickle and went on about your business.'
  183. act 'Finish':gt 'gadsarai','boar'
  184. end
  185. end
  186. end
  187. if $ARGS[0] = 'cow':
  188. *clr & cla
  189. minut += 1
  190. gs 'stat'
  191. '<center><H4>The barn</H4></center>'
  192. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow.jpg"></center>'
  193. 'Grandma''s favorite animal, the cow Dawn.'
  194. act 'Leave':minut += 5 & gt 'gadsarai'
  195. if grandmaQW['milk_cow'] = 1:
  196. act 'Milk the cow':
  197. cla
  198. *clr
  199. minut += 30
  200. grandmaQW['milk_cow'] = 0
  201. grandmaQW['help'] += 1
  202. hndiwrk_exp += rand(0,3)
  203. gs 'stat'
  204. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/milk_cow.jpg"></center>'
  205. 'You start milking Dawn, improving for each time you do it.'
  206. act 'Finish':gt 'gadsarai','cow'
  207. end
  208. end
  209. if grandpaQW['feed_cow'] = 1:
  210. act 'Feed the cow':
  211. cla
  212. *clr
  213. minut += 30
  214. grandpaQW['feed_cow'] = 0
  215. grandmaQW['help'] += 1
  216. hndiwrk_exp += rand(0,3)
  217. gs 'stat'
  218. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_cow.jpg"></center>'
  219. 'You fed Dawn and continued on with your day.'
  220. act 'Finish':gt 'gadsarai','cow'
  221. end
  222. end
  223. if grandpaQW['cow_field'] = 1 or grandpaQW['graze_cow'] = 1:
  224. act 'Lead the cow to the field':
  225. cla
  226. *clr
  227. minut += 60
  228. grandmaQW['help'] += 1
  229. hndiwrk_exp += rand(0,3)
  230. gs 'stat'
  231. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow_field.jpg"></center>'
  232. if grandpaQW['cow_field'] = 1:
  233. 'You lead Dawn to the field, where you let the shepherds take over.'
  234. grandpaQW['cow_field'] = 0
  235. end
  236. if grandpaQW['graze_cow'] = 1:'You lead Dawn to the field, where you grandfather awaits you. It''s his turn to keep an eye on the cows.'
  237. act 'Continue':gt'gadfield','cow'
  238. end
  239. end
  240. end
  241. if $ARGS[0] = 'horse':
  242. *clr & cla
  243. minut += 1
  244. gs 'stat'
  245. '<center><H4>The barn</H4></center>'
  246. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse.jpg"></center>'
  247. 'Grandfather''s trusted assistant, the horse Desperado.'
  248. if grandpaQW['feed_horse'] = 1:
  249. act 'Feed the horse':
  250. cla
  251. *clr
  252. minut += 30
  253. grandpaQW['feed_horse'] = 0
  254. grandmaQW['help'] += 1
  255. hndiwrk_exp += rand(0,3)
  256. gs 'stat'
  257. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_horse.jpg"></center>'
  258. 'You fed Desperado and went on about your business.'
  259. act 'Finish':gt 'gadsarai','horse'
  260. end
  261. end
  262. if grandpaQW['horse_field'] = 1:
  263. act 'Lead the horse to the field':
  264. cla
  265. *clr
  266. minut += 60
  267. grandpaQW['horse_field'] = 0
  268. grandmaQW['help'] += 1
  269. hndiwrk_exp += rand(0,3)
  270. gs 'stat'
  271. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse_field.jpg"></center>'
  272. 'You took Desperado by the bridle and led it to the field. There, you let it run free in the paddock area, and went on with your business.'
  273. act 'Continue':gt'gadfield','field'
  274. end
  275. end
  276. if grandpaQW['horse_river'] = 1 and sunWeather = 1 and temper >= 15:
  277. act 'Lead the horse to the river':
  278. cla
  279. *clr
  280. minut += 30
  281. grandpaQW['horse_river'] = 2
  282. hndiwrk_exp += rand(0,3)
  283. gs 'stat'
  284. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse_field.jpg"></center>'
  285. 'You took Desperado by the bridle and led it to the river.'
  286. act 'Continue':gt'gadriver', 'gadbitch'
  287. end
  288. end
  289. if grandpaQW['comb_horse'] = 1:
  290. act 'Groom the horse':
  291. cla
  292. *clr
  293. minut += 60
  294. grandpaQW['comb_horse'] = 0
  295. grandmaQW['help'] += 1
  296. hndiwrk_exp += rand(0,3)
  297. gs 'stat'
  298. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/comb_horse.jpg"></center>'
  299. 'You groom Desperado for an hour. When finished, you''re satisfied with the result. Desperado is looking as healthy as ever.'
  300. act 'Continue':gt 'gadsarai','horse'
  301. end
  302. end
  303. act 'Go':minut += 5 & gt'gadsarai'
  304. end
  305. --- gadsarai ---------------------------------