grandmahelp.qsrc 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. # grandmahelp
  2. menu_off = 1
  3. gs 'stat'
  4. frost = 0
  5. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/grandmahelp.jpg"></center>'
  6. 'You ask your grandmother if you there is anything you could help out with. Your grandmother turns to you and says:'
  7. if $ARGS[0] = 'start':
  8. if month <= 4 or month >= 10:
  9. grandmaQW['help_type'] = rand(0,2)
  10. elseif month = 5 or month = 6:
  11. grandmaQW['help_type'] = rand(0,5)
  12. else
  13. grandmaQW['help_type'] = rand(0,6)
  14. end
  15. if grandmaQW['help_type'] = 0:
  16. gt 'grandmahelp', 'cleanfloor'
  17. elseif grandmaQW['help_type'] = 1:
  18. gt 'grandmahelp', 'washclothes'
  19. elseif grandmaQW['help_type'] = 2 and hour < 9 and hour > 20:
  20. gt 'grandmahelp', 'milkcows'
  21. elseif grandmaQW['help_type'] = 3:
  22. gt 'grandmahelp', 'feedchickens'
  23. elseif grandmaQW['help_type'] = 4 and sunWeather = 1:
  24. gt 'grandmahelp', 'checkplants'
  25. elseif grandmaQW['help_type'] = 5 and sunWeather = 1:
  26. gt 'grandmahelp', 'waterplants'
  27. elseif grandmaQW['help_type'] = 6 and sunWeather = 1:
  28. gt 'grandmahelp', 'harvest'
  29. else
  30. '"There is nothing to do today <<$pcs_nickname>>, take the day off.'
  31. act 'Continue':gt 'gadhouse', 'grandma'
  32. end
  33. end
  34. if $ARGS[0] = 'cleanfloor':
  35. '"There is always something to do, <<$pcs_nickname>>. I''ve gotten quite old and my strength is not what it used to be. Could you help me out by cleaning the floor?"'
  36. grandmaQW['cleanfloor'] = 1
  37. act 'Tell her you will do it soon':gt 'gadhouse', 'grandma'
  38. act 'Agree and start cleaning (1:00)':
  39. *clr & cla
  40. minut += 60
  41. grandmaQW['cleanfloor'] = 0
  42. grandmaQW['help'] += 1
  43. gs'stat'
  44. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/washfloor.jpg"></center>'
  45. 'You grab a bucket and a rag, and get down on your knees and begin scrubbing the floor. Within the hour the floor shines and you are satisfied with the work you''ve done. You put the cleaning supplies into a corner and continue on with your day.'
  46. act 'Continue':gt 'gadhouse', 'start'
  47. end
  48. end
  49. if $ARGS[0] = 'washclothes':
  50. '"Of course, <<$pcs_nickname>>, you can help me wash your grandfathers dirty clothes?"'
  51. grandmaQW['washclothes'] = 1
  52. act 'Tell her you will wash them in a little bit':gt 'gadhouse', 'grandma'
  53. act 'Agree and start washing (1:00)':
  54. *clr & cla
  55. minut += 60
  56. grandmaQW['washclothes'] = 0
  57. grandmaQW['help'] += 1
  58. gs'stat'
  59. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/washclothes1.jpg"></center>'
  60. 'You pick up grandfather''s dirty clothes and take them with you outside, where you soak them in the metal basin for an hour.'
  61. act 'Hang the Laundry':
  62. *clr & cla
  63. minut += 10
  64. gs'stat'
  65. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/washclothes2.jpg"></center>'
  66. 'Once you are done with the washing, you walk over to the clothesline where you carefully hang the clothes to dry.'
  67. act 'Continue':gt'gaddvor'
  68. end
  69. end
  70. end
  71. if $ARGS[0] = 'feedchickens':
  72. '"Of course <<$pcs_nickname>>, would you be kind and feed the chickens?"'
  73. grandmaQW['feed_chickens'] = 1
  74. act 'Tell her you will do it in a little while':gt 'gadhouse', 'grandma'
  75. act 'Agree and go to the yard (0:10)':
  76. *clr & cla
  77. minut += 10
  78. gs'stat'
  79. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_chickens.jpg"></center>'
  80. 'You take the grain mix for the chickens with you and walk over to the yard.'
  81. act 'Continue':gt'gaddvor','chickens'
  82. end
  83. end
  84. if $ARGS[0] = 'milkcows':
  85. ' "<<$pcs_nickname>>, go to the barn and milk the cows."'
  86. grandmaQW['milk_cow'] = 1
  87. act 'Tell her you will do it in a bit':gt 'gadhouse', 'grandma'
  88. act 'Agree and go to the barn (0:10)':
  89. *clr & cla
  90. minut += 10
  91. gs'stat'
  92. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  93. 'You walk over to the barn where the cows are kept.'
  94. act 'Continue':gt'gadsarai','cow'
  95. end
  96. end
  97. if $ARGS[0] = 'checkplants':
  98. '"<<$pcs_nickname>>, can you please go work in the garden?"'
  99. grandmaQW['work_garden'] = 1
  100. act 'Tell her you will get to it later':gt 'gadhouse', 'grandma'
  101. act 'Agree and go to the garden (0:10)':
  102. *clr & cla
  103. minut += 10
  104. gs'stat'
  105. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  106. 'You go to the garden.'
  107. act 'Further':gt'gadgarden','garden'
  108. end
  109. end
  110. if $ARGS[0] = 'waterplants':
  111. '"Dear <<$pcs_nickname>>, could you go and water the plants in the garden?"'
  112. grandmaQW['water_garden'] = 1
  113. act 'Tell her you will do it after a while':gt 'gadhouse', 'grandma'
  114. act 'Agree and go to the garden (0:10)':
  115. *clr & cla
  116. minut += 10
  117. gs'stat'
  118. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  119. 'You bring a watering can along with you to the garden.'
  120. act 'Continue':gt'gadgarden','garden'
  121. end
  122. end
  123. if $ARGS[0] = 'harvest':
  124. if month = 7:
  125. '"<<$pcs_nickname>> dear, the strawberries are ripe to pick. Could you go over to the plot and pick them today?"'
  126. grandmaQW['collect_strawberries'] = 1
  127. act 'Tell her you will do it in a little bit':gt 'gadhouse', 'grandma'
  128. act 'Agree and go to the strawberry plot (0:10)':
  129. *clr & cla
  130. minut += 10
  131. gs'stat'
  132. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  133. 'You bring a basket with you and walk to the strawberry plot in the garden.'
  134. act 'Continue':gt'gadgarden','strawberry'
  135. end
  136. elseif month = 8:
  137. '"<<$pcs_nickname>> dear, the fruits are ripe and it is time to start collecting them, could you go and do it today?"'
  138. grandmaQW['fruit_collect'] = 1
  139. act 'Tell her you will do it in a little bit':gt 'gadhouse', 'grandma'
  140. act 'Agree and go to the orchard (0:10)':
  141. *clr & cla
  142. minut += 10
  143. gs'stat'
  144. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  145. 'You bring a basket with you and walk to the fruit garden.'
  146. act 'Continue':gt'gadgarden','fruit_garden'
  147. end
  148. elseif month = 9:
  149. '"<<$pcs_nickname>> dear, could you go to the garden today? It''s time to collect the harvest."'
  150. grandmaQW['harvest_garden'] = 1
  151. act 'Tell her you will do it in a little bit':gt 'gadhouse', 'grandma'
  152. act 'Agree and go to the garden (0:10)':
  153. *clr & cla
  154. minut += 10
  155. gs'stat'
  156. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  157. 'You bring the harvest tools with you and go over to the garden.'
  158. act 'Continue':gt'gadgarden','garden'
  159. end
  160. end
  161. end
  162. --- grandmahelp ---------------------------------