grandmahelp.qsrc 5.2 KB

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