gadgarden.qsrc 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. # gadgarden
  2. if $ARGS[0] = 'garden':
  3. $location_type = 'secluded'
  4. $loc_arg = 'garden'
  5. $loc = 'gadgarden'
  6. $menu_loc = 'gadgarden'
  7. $menu_arg = 'garden'
  8. menu_off = 0
  9. gs 'gadukino_event', 'sound'
  10. cls
  11. gs'stat'
  12. !gs'time'
  13. if month >= 4 and month <= 10:
  14. if hour >= 6 and hour < 21:
  15. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/garden.jpg"></center>'
  16. else
  17. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/garden_night.jpg"></center>'
  18. end
  19. else
  20. if hour >= 8 and hour < 18:
  21. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/garden_winter.jpg"></center>'
  22. else
  23. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/garden_winter_night.jpg"></center>'
  24. end
  25. end
  26. 'A large vegetable garden that your grandparents are very proud of.'
  27. if month >= 4 and month <= 10:
  28. 'There is also a small land plot is dedicated to growing <a href="exec: gt ''gadgarden'',''strawberry'' ">strawberries</a> and a <a href="exec: gt ''gadgarden'',''fruit_garden'' ">fruit tree orchard</a>.'
  29. else
  30. 'There is also a small plot of land dedicated to growing strawberries and a small fruit tree orchard, but they are not in season right now.'
  31. end
  32. act 'Go back to the yard':minut += 1 & gt 'gaddvor'
  33. !job Granny
  34. if grandmaQW['chore_work_in_garden'] = 1:
  35. act 'Work in the garden (3:00)':
  36. cla
  37. *clr
  38. menu_off = 1
  39. minut += 180
  40. gs 'sweat', 'add', 10
  41. grandmaQW['chore_work_in_garden'] = 2
  42. gs 'exp_gain', 'stren', 1
  43. fat -= rand(1,5)
  44. gs 'exp_gain', 'hndiwrk', rand(3,9)
  45. gs 'stat'
  46. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/work_garden'+rand(1,5)+'.jpg"></center>'
  47. 'You spend some time doing some gardening.'
  48. act 'Finish':gt'gadgarden','garden'
  49. act 'Return back to your grandmother': minut += 2 & gt 'gadhouse', 'grandma'
  50. end
  51. end
  52. !job Granny
  53. if grandmaQW['chore_water_garden'] = 1:
  54. act 'Water the plants (1:00)':
  55. cla
  56. *clr
  57. menu_off = 1
  58. gs 'sweat', 'add', 10
  59. minut += 60
  60. grandmaQW['chore_water_garden'] = 2
  61. gs 'exp_gain', 'vital', 1
  62. fat -= rand(1,2)
  63. gs 'exp_gain', 'hndiwrk', rand(0,3)
  64. gs 'stat'
  65. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/water_garden.jpg"></center>'
  66. 'You spend an hour watering the garden.'
  67. act 'Finish':gt'gadgarden','garden'
  68. act 'Return back to your grandmother': minut += 1 & gt 'gadhouse', 'grandma'
  69. end
  70. end
  71. !job Granny
  72. if grandmaQW['chore_harvest_garden'] = 1:
  73. act 'Harvest (3:00)':
  74. cla
  75. *clr
  76. menu_off = 1
  77. minut += 180
  78. gs 'sweat', 'add', 10
  79. grandmaQW['chore_harvest_garden'] = 2
  80. gs 'exp_gain', 'stren', 1
  81. fat -= rand(1,3)
  82. gs 'exp_gain', 'hndiwrk', rand(3,9)
  83. gs 'stat'
  84. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/harvest_garden'+rand(1,5)+'.jpg"></center>'
  85. 'You spend a few hours harvesting vegetables in the garden.'
  86. act 'Finish':gt'gadgarden','garden'
  87. act 'Return back to your grandmother': minut += 1 & gt 'gadhouse', 'grandma'
  88. end
  89. end
  90. end
  91. if $ARGS[0] = 'strawberry':
  92. $loc_arg = 'strawberry'
  93. $loc = 'gadgarden'
  94. $menu_loc = 'gadgarden'
  95. $menu_arg = 'strawberry'
  96. menu_off = 0
  97. gs 'gadukino_event', 'sound'
  98. cls
  99. gs'stat'
  100. !gs'time'
  101. if month = 6 or month = 7:
  102. if hour >= 6 and hour < 21:
  103. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/strawberry1.jpg"></center>'
  104. else
  105. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/strawberry_night.jpg"></center>'
  106. end
  107. else
  108. if hour >= 6 and hour < 21:
  109. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/strawberry2.jpg"></center>'
  110. else
  111. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/strawberry_night.jpg"></center>'
  112. end
  113. end
  114. 'It''s strawberry season, you approach the field where the strawberries grow, searching for some ripe strawberries.'
  115. act 'Go back to the garden':minut += 1 & gt'gadgarden','garden'
  116. if month >= 7 and month <= 9 and strawberriesday ! daystart:
  117. act 'Eat some strawberries (1:00)':
  118. cla
  119. *clr
  120. menu_off = 1
  121. strawberriesday = daystart
  122. minut += 60
  123. pcs_mood += 10
  124. pcs_hydra += 40
  125. pcs_energy += 15
  126. cumspclnt = 2 & gs 'cum_cleanup' & pcs_breath = 0
  127. gs 'stat'
  128. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/eat_strawberries.jpg"></center>'
  129. 'You spend some time wandering through the plot searching for ripe strawberries. You walk along, picking off the ones that you find and popping them in your mouth.'
  130. act 'Finish':gt'gadgarden','strawberry'
  131. end
  132. end
  133. !job Granny
  134. if grandmaQW['chore_collect_strawberries'] = 1:
  135. act 'Collect strawberries (3:00)':
  136. cla
  137. *clr
  138. menu_off = 1
  139. minut += 180
  140. gs 'sweat', 'add', 10
  141. grandmaQW['chore_collect_strawberries'] = 2
  142. gs 'exp_gain', 'agil', 1
  143. fat -= 1
  144. gs 'exp_gain', 'hndiwrk', rand(3,9)
  145. gs 'stat'
  146. if PCloSkirt = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/village/collect_strawberries.jpg"></center>'
  147. if PCloSkirt > 0 and $pantyworntype ! 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/collect_strawberries_ski.jpg"></center>'
  148. if PCloSkirt > 0 and $pantyworntype = 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/collect_strawberries_tanga.jpg"></center>'
  149. 'You wander through the plot for several hours, collecting ripe strawberries and placing them in the basket.'
  150. act 'Finish':gt'gadgarden','strawberry'
  151. act 'Return back to your grandmother': minut += 3 & gt 'gadhouse', 'grandma'
  152. end
  153. end
  154. end
  155. if $ARGS[0] = 'fruit_garden':
  156. $loc_arg = 'fruit_garden'
  157. $loc = 'gadgarden'
  158. $menu_loc = 'gadgarden'
  159. $menu_arg = 'fruit_garden'
  160. menu_off = 0
  161. gs 'gadukino_event', 'sound'
  162. cls
  163. gs'stat'
  164. !gs'time'
  165. if hour >= 6 and hour < 21:
  166. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_garden.jpg"></center>'
  167. else
  168. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_garden_night.jpg"></center>'
  169. end
  170. 'There are apples and pears growing in the fruit orchard.'
  171. act 'Go back to the garden':minut += 1 & gt'gadgarden','garden'
  172. if month >= 7 and month <= 9 and fruitday ! daystart:
  173. act 'Eat the fruit (1:00)':
  174. cla
  175. *clr
  176. menu_off = 1
  177. fruitday = daystart
  178. minut += 60
  179. pcs_mood += 10
  180. pcs_hydra += 20
  181. pcs_energy += 30
  182. cumspclnt = 2 & gs 'cum_cleanup' & pcs_breath = 0
  183. gs 'stat'
  184. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/eat_fruit.jpg"></center>'
  185. 'You spend some time wandering around the orchard munching on the ripe fruit.'
  186. act 'Finish':gt 'gadgarden','fruit_garden'
  187. end
  188. end
  189. !job Granny
  190. if grandmaQW['chore_collect_fruit'] = 1:
  191. act 'Collect fruit (3:00)':
  192. cla
  193. *clr
  194. menu_off = 1
  195. minut += 180
  196. gs 'sweat', 'add', 10
  197. grandmaQW['chore_collect_fruit'] = 2
  198. gs 'exp_gain', 'agil', 1
  199. fat -= rand(1,3)
  200. gs 'exp_gain', 'hndiwrk', rand(3,9)
  201. gs 'stat'
  202. if PCloSkirt = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_collect.jpg"></center>'
  203. if PCloSkirt > 0 and $pantyworntype ! 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_collect_ski.jpg"></center>'
  204. if PCloSkirt > 0 and $pantyworntype = 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_collect_tanga.jpg"></center>'
  205. 'You walk around the orchard and pick the ripe fruit hanging from the trees.'
  206. act 'Finish':gt 'gadgarden','fruit_garden'
  207. act 'Return back to your grandmother': minut += 3 & gt 'gadhouse', 'grandma'
  208. end
  209. end
  210. end
  211. --- gadgarden ---------------------------------