grandmahelp.qsrc 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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 was something you could help out with something here at home. Your grandmother turns to you and says:'
  7. if $ARGS[0] = 'start':
  8. if month <= 4 or month >= 10:
  9. grandmahelping = rand(0,2)
  10. elseif month = 5 or month = 6:
  11. grandmahelping = rand(0,5)
  12. else
  13. grandmahelping = rand(0,6)
  14. end
  15. if grandmahelping = 0:
  16. gt 'grandmahelp', 'cleanfloor'
  17. elseif grandmahelping = 1:
  18. gt 'grandmahelp', 'washclothes'
  19. elseif grandmahelping = 2 and hour < 9 and hour > 20:
  20. gt 'grandmahelp', 'milkcows'
  21. elseif grandmahelping = 3:
  22. gt 'grandmahelp', 'feedchickens'
  23. elseif grandmahelping = 4 and sunWeather = 1:
  24. gt 'grandmahelp', 'checkplants'
  25. elseif grandmahelping = 5 and sunWeather = 1:
  26. gt 'grandmahelp', 'waterplants'
  27. elseif grandmahelping = 6 and sunWeather = 1:
  28. gt 'grandmahelp', 'harvest'
  29. else
  30. '"There is nothing to do today <<$pcs_nickname>>, take a day off.'
  31. act 'Go':gt'Gadhouse'
  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. act 'Clean the floor (1:00)':
  37. *clr & cla
  38. minut += 60
  39. grandmahelp += 1
  40. gs'stat'
  41. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/washfloor.jpg"></center>'
  42. '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.'
  43. act 'Go':gt'Gadhouse'
  44. end
  45. end
  46. if $ARGS[0] = 'washclothes':
  47. '"Of course, <<$pcs_nickname>>, you can help me wash your grandfathers dirty clothes."'
  48. act 'Wash clothes (1:00)':
  49. *clr & cla
  50. minut += 60
  51. grandmahelp += 1
  52. gs'stat'
  53. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/washclothes1.jpg"></center>'
  54. 'You pick up grandfathers dirty clothes and take it with you outside where you soak them in the metal basin for an hour.'
  55. act 'Hang the Laundry':
  56. *clr & cla
  57. minut += 10
  58. gs'stat'
  59. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/washclothes2.jpg"></center>'
  60. 'You are done with the washing and walk over to the yard where you carefully hang the clothes to dry.'
  61. act 'Go':gt'Gaddvor'
  62. end
  63. end
  64. end
  65. if $ARGS[0] = 'feedchickens':
  66. '"Of course <<$pcs_nickname>>, would you be kind and feed the chickens?"'
  67. act 'Go to the yard (0:10)':
  68. *clr & cla
  69. feed_chickens = 1
  70. minut += 10
  71. gs'stat'
  72. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/feed_chickens.jpg"></center>'
  73. 'You take the grain mix for the chickens with you and walk over to the yard.'
  74. act 'Go':gt'Gaddvor'
  75. end
  76. end
  77. if $ARGS[0] = 'milkcows':
  78. ' "<<$pcs_nickname>>, go to the barn and milk the cows."'
  79. act 'Go to the barn (0:10)':
  80. *clr & cla
  81. minut += 10
  82. milk_cow = 1
  83. gs'stat'
  84. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  85. 'You walk over to the barn where the cows are kept.'
  86. act 'Further':gt'Gadsarai'
  87. end
  88. end
  89. if $ARGS[0] = 'checkplants':
  90. '"<<$pcs_nickname>>, go to the garden and check on the plants."'
  91. act 'Go to garden (0:10)':
  92. *clr & cla
  93. work_garden = 1
  94. minut += 10
  95. gs'stat'
  96. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  97. 'You go to the garden.'
  98. act 'Further':gt'Gadgarden','garden'
  99. end
  100. end
  101. if $ARGS[0] = 'waterplants':
  102. '"Dear <<$pcs_nickname>>, could you go and water the planted field in the garden?"'
  103. act 'Go to the garden (0:10)':
  104. *clr & cla
  105. water_garden = 1
  106. minut += 10
  107. gs'stat'
  108. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  109. 'You bring a bucket along with you to the garden.'
  110. act 'Further':gt'Gadgarden','garden'
  111. end
  112. end
  113. if $ARGS[0] = 'harvest':
  114. if month = 7:
  115. '"<<$pcs_nickname>> dear, the strawberries are ripe to pick. Could you go over to the plot and pick them today?"'
  116. act 'Go to the garden (0:10)':
  117. *clr & cla
  118. collect_strawberries = 1
  119. minut += 10
  120. gs'stat'
  121. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  122. 'You bring a basket with you and walk to the strawberry plot in the garden.'
  123. act 'Further':gt'Gadgarden','strawberry'
  124. end
  125. elseif month = 8:
  126. '"<<$pcs_nickname>> dear, the fruits are ripe and it is time to start collecting them, could you go and do it today?"'
  127. act 'Go to the garden (0:10)':
  128. *clr & cla
  129. fruit_collect = 1
  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 fruit garden.'
  134. act 'Further':gt'Gadgarden','fruit_garden'
  135. end
  136. elseif month = 9:
  137. '"<<$pcs_nickname>> dear, could you go to the garden today, it''s time to collect the harvest."'
  138. act 'Go to garden (0:10)':
  139. *clr & cla
  140. harvest_garden = 1
  141. minut += 10
  142. gs'stat'
  143. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/go_yard.jpg"></center>'
  144. 'You bring the harvest tools with you and go over to the garden.'
  145. act 'Further':gt'Gadgarden','garden'
  146. end
  147. end
  148. end
  149. --grandmahelp ---------------------------------