1
0

gadsarai.qsrc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. # gadsarai
  2. if $ARGS[0] = '':
  3. $loc_arg = ''
  4. $loc = 'gadsarai'
  5. $menu_loc = 'gadsarai'
  6. $menu_arg = ''
  7. menu_off = 0
  8. $location_type = 'secluded'
  9. '<center><h4>Grandparents'' 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. 'Your grandparents old barn that could hold some useful items if you spend some time searching.'
  24. 'The right side of the barn is piled high with various boxes, barrels, and chests of items.'
  25. 'You can store some extra mushrooms and berries here if you don''t want to carry them around all the time.'
  26. 'The left side of the barn has the stalls for your grandparents horse, cow, and boar.'
  27. clr
  28. gs 'stat'
  29. act 'Go back to the yard':minut += 1 & gt 'gaddvor'
  30. if grandpaQW['chore_fetch_firewood'] = 1:
  31. act 'Gather firewood for Grandpa (0:10)':
  32. *clr & cla
  33. if month >= 4 and month <= 10:
  34. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/firewood.jpg"></center>'
  35. else
  36. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/firewood_winter.jpg"></center>'
  37. end
  38. 'You decide to grab the firewood that your grandfather asked for, loading up as much as you can carry.'
  39. grandpaQW['chore_fetch_firewood'] = 2
  40. minut += 10
  41. gs'stat'
  42. act 'Finish':gt 'gadsarai'
  43. act 'Return back to your grandfather': minut += 2 & gt 'gadhouse', 'grandpa'
  44. end
  45. end
  46. gs 'bicycle', 'gadsarai'
  47. if (month < 4 or month > 10) or (hour < 9 or hour > 20) or (grandpaQW['chore_feed_horse'] = 1 or grandpaQW['chore_brush_horse'] = 1 or grandpaQW['chore_lead_horse_to_field'] = 1 or grandpaQW['chore_bathe_horse'] = 1):
  48. act 'Enter the horses stall': gt 'gadsarai', 'horse'
  49. end
  50. if (month < 4 or month > 10) or (hour < 9 or hour > 20) or (grandpaQW['chore_feed_cow'] = 1 or grandmaQW['chore_milk_cow'] or grandpaQW['chore_lead_cow_to_field'] = 1 or grandpaQW['chore_herd_cattle'] = 1):
  51. act 'Enter the cows stall': gt 'gadsarai', 'cow'
  52. end
  53. act 'Enter the boars stall': gt 'gadsarai', 'boar'
  54. act 'Search around in the barn (0:15)': gt 'gadsarai', 'search'
  55. if vcard > 0: act 'View your vintage porn cards': $card_loc = 'gadsarai' & card_deck = 0 & gt 'card'
  56. if card > 0: act 'View your new porn cards': $card_loc = 'gadsarai' & card_deck = 1 & gt 'card'
  57. if pcs_horny >= 50: act 'Masturbate':gt 'selfplay', 'start'
  58. !! Serpent is not ready yet, so remarking out til then.
  59. !! if findneck = 1: act 'You hear a scraping noice above you.':gt 'serpent'
  60. end
  61. if $ARGS[0] = 'search':
  62. if npc_qw['A221'] > 0 and grigory_barn ! daystart and hour > 8 and hour < 12: gt 'grigory', 'barn'
  63. *clr & cla
  64. minut += 15
  65. gs 'stat'
  66. if BikeLoc = 0 and rand(0,10) >= 6:
  67. *clr & cla
  68. BikeLoc = 1
  69. observ_exp += 3
  70. gs 'stat'
  71. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/findbike.jpg"></center>'
  72. *nl
  73. '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.'
  74. elseif findbag = 0 and bag = 0 and rand(0,10) >= 7:
  75. *clr & cla
  76. findbag = 1
  77. if findbag = 1: bag = 1
  78. observ_exp += 3
  79. gs 'stat'
  80. '<center><img <<$set_imgh>> src="images/pc/purses/cheap/5.jpg"></center>'
  81. *nl
  82. '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.'
  83. 'You can use this cool looking bag as a handbag.'
  84. gm_purses[5] = 1
  85. $currentpursetype = 'gm'
  86. currentpursenumber = 5
  87. elseif vcard = 0 and vcard_trash = 0 and rand(0,10) >= 8:
  88. *clr & cla
  89. vcard = 1
  90. observ_exp += 3
  91. gs 'stat'
  92. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/vcards.jpg"></center>'
  93. *nl
  94. '"Hmm, what''s this?" You''ve found an unopened deck of vintage adult playing cards, still in its original cellophone wrapper.'
  95. elseif findbraclet = 0 and rand(0,10) >= 9:
  96. *clr & cla
  97. findbraclet = 1
  98. observ_exp += 3
  99. gs 'stat'
  100. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/bracelet.jpg"></center>'
  101. *nl
  102. '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.'
  103. elseif findbraclet > 0 and findneck = 0 and rand(0,10) >= 10:
  104. *clr & cla
  105. findneck = 1
  106. observ_exp += 3
  107. gs 'stat'
  108. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/necklace.jpg"></center>'
  109. *nl
  110. if altQS = 1:
  111. '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.'
  112. else
  113. '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.'
  114. end
  115. else
  116. observ_exp += rand(0,1)
  117. gs 'stat'
  118. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/junk_barn.jpg"></center>'
  119. *nl
  120. '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.'
  121. end
  122. act 'Finish':gt 'gadsarai'
  123. end
  124. if $ARGS[0] = 'horse':
  125. *clr & cla
  126. minut += 1
  127. gs 'stat'
  128. '<center><h4>Grandparents'' Barn</h4></center>'
  129. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse.jpg"></center>'
  130. 'Grandfather''s trusted workhorse, Desperado.'
  131. act 'Leave':minut += 1 & gt 'gadsarai'
  132. if grandpaQW['chore_feed_horse'] = 1:
  133. act 'Feed the horse (0:30)':
  134. *clr & cla
  135. minut += 30
  136. grandpaQW['chore_feed_horse'] = 2
  137. hndiwrk_exp += rand(1,3)
  138. gs 'stat'
  139. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_horse.jpg"></center>'
  140. '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.'
  141. 'You watch him eat for a little while before moving on.'
  142. act 'Finish':gt 'gadsarai','horse'
  143. act 'Return back to your grandfather': minut += 3 & gt 'gadhouse', 'grandpa'
  144. end
  145. end
  146. if grandpaQW['chore_lead_horse_to_field'] = 1:
  147. act 'Lead the horse to the field (1:00)':
  148. *clr & cla
  149. minut += 60
  150. grandpaQW['chore_lead_horse_to_field'] = 2
  151. hndiwrk_exp += rand(1,3)
  152. gs 'stat'
  153. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse_field.jpg"></center>'
  154. '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.'
  155. act 'Continue':gt'gadfield','field'
  156. act 'Return back to your grandfather (0:30)': minut += 30 & gt 'gadhouse', 'grandpa'
  157. end
  158. end
  159. if grandpaQW['chore_bathe_horse'] = 1:
  160. act 'Lead the horse to the river (0:30)':
  161. *clr & cla
  162. minut += 30
  163. grandpaQW['chore_bathe_horse_prog'] = 1
  164. hndiwrk_exp += rand(1,3)
  165. gs 'stat'
  166. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse_field.jpg"></center>'
  167. 'You take Desperado by the bridle and lead him to the river.'
  168. act 'Continue':gt'gadriver', 'gadbitch'
  169. end
  170. end
  171. if grandpaQW['chore_bathe_horse'] = 2:
  172. act 'Return back to your grandfather': minut += 3 & gt 'gadhouse', 'grandpa'
  173. end
  174. if grandpaQW['chore_brush_horse'] = 1:
  175. act 'Groom the horse (1:00)':
  176. *clr & cla
  177. minut += 60
  178. grandpaQW['chore_brush_horse'] = 2
  179. hndiwrk_exp += rand(1,3)
  180. gs 'stat'
  181. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/comb_horse.jpg"></center>'
  182. '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.'
  183. act 'Finish':gt 'gadsarai','horse'
  184. act 'Return back to your grandfather': minut += 3 & gt 'gadhouse', 'grandpa'
  185. end
  186. end
  187. end
  188. if $ARGS[0] = 'cow':
  189. *clr & cla
  190. minut += 1
  191. gs 'stat'
  192. '<center><h4>Grandparents'' Barn</h4></center>'
  193. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow.jpg"></center>'
  194. *nl
  195. 'Grandma''s favorite animal, the cow, Dawn.'
  196. act 'Leave':minut += 1 & gt 'gadsarai'
  197. if grandmaQW['chore_milk_cow'] = 1:
  198. act 'Milk the cow (0:30)':
  199. *clr & cla
  200. minut += 30
  201. grandmaQW['chore_milk_cow'] = 2
  202. hndiwrk_exp += rand(1,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. act 'Return back to your grandmother': minut += 3 & gt 'gadhouse', 'grandma'
  208. end
  209. end
  210. if grandpaQW['chore_feed_cow'] = 1:
  211. act 'Feed the cow (0:30)':
  212. *clr & cla
  213. minut += 30
  214. grandpaQW['chore_feed_cow'] = 2
  215. hndiwrk_exp += rand(1,3)
  216. gs 'stat'
  217. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_cow.jpg"></center>'
  218. '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.'
  219. act 'Finish':gt 'gadsarai','cow'
  220. act 'Return back to your grandfather': minut += 3 & gt 'gadhouse', 'grandpa'
  221. end
  222. end
  223. if grandpaQW['chore_lead_cow_to_field'] = 1 or grandpaQW['chore_herd_cattle'] = 1:
  224. act 'Lead the cow to the field (1:00)':
  225. *clr & cla
  226. minut += 60
  227. hndiwrk_exp += rand(1,3)
  228. gs 'stat'
  229. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow_field.jpg"></center>'
  230. if grandpaQW['chore_lead_cow_to_field'] = 1:
  231. 'You lead Dawn to the field, where you let the shepherds take over.'
  232. grandpaQW['chore_lead_cow_to_field'] = 2
  233. end
  234. 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.'
  235. act 'Continue':gt'gadfield','cow'
  236. if grandpaQW['chore_lead_cow_to_field'] = 2: act 'Return back to your grandfather (0:30)': minut += 30 & gt 'gadhouse', 'grandpa'
  237. end
  238. end
  239. end
  240. if $ARGS[0] = 'boar':
  241. *clr & cla
  242. minut += 1
  243. gs 'stat'
  244. '<center><h4>Grandparents'' Barn</h4></center>'
  245. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/boar.jpg"></center>'
  246. 'One of your grandparents'' dearest possessions, the boar, Nickle.'
  247. act 'Leave':minut += 1 & gt 'gadsarai'
  248. if grandpaQW['chore_feed_boar'] = 1:
  249. act 'Feed the hog (0:30)':
  250. *clr & cla
  251. minut += 30
  252. grandpaQW['chore_feed_boar'] = 2
  253. hndiwrk_exp += rand(1,3)
  254. gs 'stat'
  255. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_boar.jpg"></center>'
  256. '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.'
  257. act 'Finish':gt 'gadsarai','boar'
  258. act 'Return back to your grandfather': minut += 3 & gt 'gadhouse', 'grandpa'
  259. end
  260. end
  261. end
  262. --- gadsarai ---------------------------------