grandmahelp.tw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. :: grandmahelp[mod mod_gad]
  2. <<set $here = 'grandmahelp'>>
  3. <<set $ARGS = $location_var[$here]>>
  4. <<set $menu_off = 1>>
  5. <<set $pc.frost = 0>>
  6. <<image "locations/gadukino/village/grandmahelp.jpg">>
  7. You ask your grandmother if there is anything you could help out with. Your grandmother turns to you and says:
  8. <<if $location_var[$here][0] == 'start'>>
  9. <<if $time.month <= 4 or $time.month >= 10>>
  10. <<setinit $grandmaQW['chore_type'] = rand(0,6)>>
  11. <<elseif $time.month == 5>>
  12. <<setinit $grandmaQW['chore_type'] = rand(0,9)>>
  13. <<elseif $time.month >= 6 and $time.month <= 9>>
  14. <<setinit $grandmaQW['chore_type'] = rand(0,14)>>
  15. <</if>>
  16. <<if getvar("$grandmaQW['chore_type']") == 0>>
  17. <<gt 'grandmahelp' 'cleanfloor'>>
  18. <<elseif getvar("$grandmaQW['chore_type']") == 1>>
  19. <<gt 'grandmahelp' 'washclothes'>>
  20. <<elseif getvar("$grandmaQW['chore_type']") == 2 and $time.hour < 9 and $time.hour > 20>>
  21. <<gt 'grandmahelp' 'milkcows'>>
  22. <<elseif getvar("$grandmaQW['chore_type']") == 3>>
  23. <<gt 'grandmahelp' 'groceries'>>
  24. <<elseif getvar("$grandmaQW['chore_type']") == 4 and getvar("$boletus_stored") >= 5>>
  25. <<gt 'grandmahelp' 'can_mushrooms'>>
  26. <<elseif getvar("$grandmaQW['chore_type']") == 5 and getvar("$bilberry_stored") >= 5>>
  27. <<gt 'grandmahelp' 'can_berries'>>
  28. <<elseif getvar("$grandmaQW['chore_type']") == 6 and getvar("$grandmaQW['chore_harvest_done']") == 1>>
  29. <<gt 'grandmahelp' 'can_veggies'>>
  30. <<elseif getvar("$grandmaQW['chore_type']") == 7>>
  31. <<gt 'grandmahelp' 'feedchickens'>>
  32. <<elseif getvar("$grandmaQW['chore_type']") == 8 and !$weather.isRaining>>
  33. <<gt 'grandmahelp' 'checkplants'>>
  34. <<elseif getvar("$grandmaQW['chore_type']") == 9 and !$weather.isRaining>>
  35. <<gt 'grandmahelp' 'waterplants'>>
  36. <<elseif getvar("$grandmaQW['chore_type']") == 10 and !$weather.isRaining and $time.month >= 6 and $time.month <= 9>>
  37. <<gt 'grandmahelp' 'harvest'>>
  38. <<elseif getvar("$grandmaQW['chore_type']") == 11 and getvar("$boletus_stored") <= 18>>
  39. <<gt 'grandmahelp' 'pickforest_mushrooms'>>
  40. <<elseif getvar("$grandmaQW['chore_type']") == 12 and getvar("$bilberry_stored") <= 18>>
  41. <<gt 'grandmahelp' 'pickforest_berries'>>
  42. <<elseif getvar("$grandmaQW['chore_type']") == 13 and ($boletus_stored + bilberry_stored)>>
  43. <<gt 'grandmahelp' 'pickforest_both'>>
  44. <<else>>
  45. <p>"There is nothing to do today, $pc.name_nick. take the day off.</p>
  46. <<act 'Continue'>>
  47. <<gt 'gadhouse' 'grandma'>>
  48. <</act>>
  49. <</if>>
  50. <</if>>
  51. <<if $location_var[$here][0] == 'cleanfloor'>>
  52. <p>"There is always something to do, $pc.name_nick. I've gotten quite old, and my strength is not what it used to be. Could you help me out by cleaning the floor?"</p>
  53. <<setinit $grandmaQW['chore_clean_floor'] = 1>>
  54. <<act 'Tell her you will do it soon'>>
  55. <<gt 'gadhouse' 'grandma'>>
  56. <</act>>
  57. <<actCLA 'Agree and start cleaning (1:00)'>>
  58. <<set $time.minutes += 60>>
  59. <<setinit $grandmaQW['chore_clean_floor'] = 2>>
  60. <<setinit $grandmaQW['help_amount'] += 1>>
  61. <<image "locations/gadukino/village/washfloor.jpg">>
  62. You grab a bucket and a rag, get down on your knees and begin scrubbing the floor. Within the hour, the floor shines, and you are satisfied with your work. You put the cleaning supplies into a corner and continue your day.
  63. <<act 'Continue'>>
  64. <<gt 'gadhouse' 'start'>>
  65. <</act>>
  66. <<actCLA 'Return back to your grandmother'>>
  67. <<set $time.minutes += 1>> <<gt 'gadhouse' 'grandma'>>
  68. <</actCLA>>
  69. <</actCLA>>
  70. <</if>>
  71. <<if $location_var[$here][0] == 'washclothes'>>
  72. <p>"Of course, $pc.name_nick, you can help me wash your grandfather's dirty clothes?"</p>
  73. <<setinit $grandmaQW['chore_wash_clothes'] = 1>>
  74. <<act 'Tell her you will wash them in a little bit'>>
  75. <<gt 'gadhouse' 'grandma'>>
  76. <</act>>
  77. <<actCLA 'Agree and start washing (1:00)'>>
  78. <<set $time.minutes += 60>>
  79. <<setinit $grandmaQW['chore_wash_clothes'] = 2>>
  80. <<image "locations/gadukino/village/washclothes1.jpg">>
  81. You pick up grandfather''s dirty clothes and take them with you outside, where you soak them in the metal basin for an hour.
  82. <<actCLA 'Hang the Laundry'>>
  83. <<set $time.minutes += 10>>
  84. <<image "locations/gadukino/village/washclothes2.jpg">>
  85. Once done with the washing, you walk to the clothesline, where you carefully hang the clothes to dry.
  86. <<act 'Continue'>>
  87. <<gt 'gaddvor'>>
  88. <</act>>
  89. <<actCLA 'Return back to your grandmother'>>
  90. <<set $time.minutes += 1>> <<gt 'gadhouse' 'grandma'>>
  91. <</actCLA>>
  92. <</actCLA>>
  93. <</actCLA>>
  94. <</if>>
  95. <<if $location_var[$here][0] == 'milkcows'>>
  96. <p>"$pc.name_nick, go to the barn and milk the cows."</p>
  97. <<setinit $grandmaQW['chore_milk_cow'] = 1>>
  98. <<act 'Tell her you will do it in a bit'>>
  99. <<gt 'gadhouse' 'grandma'>>
  100. <</act>>
  101. <<actCLA 'Agree and go to the barn (0:10)'>>
  102. <<set $time.minutes += 10>>
  103. <<image "locations/gadukino/village/go_yard.jpg">>
  104. You walk over to the barn where the cows are kept.
  105. <<act 'Continue'>>
  106. <<gt 'gadsarai' 'cow'>>
  107. <</act>>
  108. <</actCLA>>
  109. <</if>>
  110. <<if $location_var[$here][0] == 'groceries'>>
  111. <p>"Oh yes, $pc.name_nick. I was going to go down to the store today to buy some groceries, but my knees are aching. Do you think you could go down there and get them for me? I have a list of what we need, and the grocer will come by later to collect the money."</p>
  112. <<setinit $grandmaQW['chore_groceries'] = 1>>
  113. <<act 'Tell her you will go to the store later'>>
  114. <<gt 'gadhouse' 'grandma'>>
  115. <</act>>
  116. <<actCLA 'Agree and go to the store (0:15)'>>
  117. <<set $time.minutes += 15>>
  118. <<image "locations/gadukino/village/izba.jpg">>
  119. Your grandmother shuffles around, looking for her list for a few minutes, finally finding it and giving it to you. You grab a basket and set out for the store.
  120. <<act 'Continue'>>
  121. <<gt 'gadmarket'>>
  122. <</act>>
  123. <</actCLA>>
  124. <</if>>
  125. <<if $location_var[$here][0] == 'can_mushrooms'>>
  126. <p>"I need to get some of these mushrooms canned, $pc.name_nick, so we can store them. Can you please help me prepare them?"</p>
  127. <<setinit $grandmaQW['chore_can_mushrooms'] = 1>>
  128. <<act 'Tell her you will help her in a little while'>>
  129. <<gt 'gadhouse' 'grandma'>>
  130. <</act>>
  131. <<actCLA 'Agree to help her right now (2:00)'>>
  132. <<set $time.minutes += 45>>
  133. <<set $boletus_stored -= 5>>
  134. <<image "locations/gadukino/village/cleaning_mushrooms.jpg">>
  135. Grandma gives you a basket of mushrooms, and you spend a while cleaning them, washing them, and cutting them up in preparation for canning.
  136. <<actCLA 'Continue'>>
  137. <<set $time.minutes += 60>>
  138. <<image "locations/gadukino/village/canning.jpg">>
  139. Once they are prepared, you help put them in glass jars. Once they are ready, Grandma places the jars in her canner and boils them for an hour.
  140. <<actCLA 'Continue'>>
  141. <<set $time.minutes += 15>>
  142. <<setinit $grandmaQW['chore_can_mushrooms'] = 0>>
  143. <<setinit $grandmaQW['help_amount'] += 2>>
  144. <<image "locations/gadukino/village/canned_mushrooms.jpg">>
  145. Finally, you help Grandma take them out of the canner and set them aside to cool.
  146. <p>"Thank you, $pc.name_nick," she says. "It is important to save food up for the hard winter months. Sure, now you can walk to the store and get whatever you want, but it wasn't always that way!"</p>
  147. <<act 'Finish'>>
  148. <<gt 'gadhouse' 'start'>>
  149. <</act>>
  150. <</actCLA>>
  151. <</actCLA>>
  152. <</actCLA>>
  153. <</if>>
  154. <<if $location_var[$here][0] == 'can_berries'>>
  155. <p>"It is time to can these berries, $pc.name_nick. Can you please help me? My fingers aren't as spry as they used to be."</p>
  156. <<setinit $grandmaQW['chore_can_berries'] = 1>>
  157. <<act 'Tell her you will help her in a little while'>>
  158. <<gt 'gadhouse' 'grandma'>>
  159. <</act>>
  160. <<actCLA 'Agree to help her right now (2:00)'>>
  161. <<set $time.minutes += 45>>
  162. <<set $bilberry_stored -= 5>>
  163. <<image "locations/gadukino/village/cleaning_berries.jpg">>
  164. Grandma gives you a basket of berries, and you spend a while cleaning them, removing stems, and picking out any shrivelled or bad ones.
  165. <<actCLA 'Continue'>>
  166. <<set $time.minutes += 60>>
  167. <<image "locations/gadukino/village/canning.jpg">>
  168. Once they are prepared, you help pour them into glass jars. Once they are ready, Grandma places the jars in her canner and boils them for an hour.
  169. <<actCLA 'Continue'>>
  170. <<set $time.minutes += 15>>
  171. <<setinit $grandmaQW['chore_can_berries'] = 0>>
  172. <<setinit $grandmaQW['help_amount'] += 2>>
  173. <<image "locations/gadukino/village/canned_berries.jpg">>
  174. Finally, you help Grandma take them out of the canner and set them aside to cool.
  175. <p>"There, now we will have berries for the winter," she says. "I think your grandfather could live off of these berries alone! He will be very grateful that you helped me."</p>
  176. <<act 'Finish'>>
  177. <<gt 'gadhouse' 'start'>>
  178. <</act>>
  179. <</actCLA>>
  180. <</actCLA>>
  181. <</actCLA>>
  182. <</if>>
  183. <<if $location_var[$here][0] == 'can_veggies'>>
  184. <p>"We have had good luck with the garden this year, $pc.name_nick. But now we need to can these vegetables before they spoil. Can you help me, please?"</p>
  185. <<setinit $grandmaQW['chore_can_veggies'] = 1>>
  186. <<act 'Tell her you will help her in a little while'>>
  187. <<gt 'gadhouse' 'grandma'>>
  188. <</act>>
  189. <<actCLA 'Agree to help her right now (3:00)'>>
  190. <<set $time.minutes += 75>>
  191. <<setinit $grandmaQW['chore_harvest_done'] = 0>>
  192. <<image "locations/gadukino/village/cleaning_veggies.jpg">>
  193. You and Grandma spend some time sorting out all the vegetables from the garden. Once they are sorted, you begin cleaning them, cutting them up, removing stems and leaves, and preparing them for canning.
  194. <<actCLA 'Continue'>>
  195. <<set $time.minutes += 90>>
  196. <<image "locations/gadukino/village/canning.jpg">>
  197. It is a tedious process, but eventually, you finish and help Grandma put them all in jars. Then, you stand by while she boils the jars, helping her remove them from the canner when needed and replacing them with others.
  198. <<actCLA 'Continue'>>
  199. <<set $time.minutes += 15>>
  200. <<setinit $grandmaQW['chore_can_veggies'] = 0>>
  201. <<setinit $grandmaQW['help_amount'] += 3>>
  202. <<image "locations/gadukino/village/canned_veggies.jpg">>
  203. Finally, you help Grandma take the last jars out of the canner and set them aside to cool.
  204. <p>"You know $pc.name_nick, if you know how to can your own food, you can survive years of poor harvests," she says.</p>
  205. <p>"Your grandfather and I had many hard times when we were younger, but saving our crops during the good times kept us from starving to death in the bad times. You would do well to remember that, young lady!"</p>
  206. <<act 'Finish'>>
  207. <<gt 'gadhouse' 'start'>>
  208. <</act>>
  209. <</actCLA>>
  210. <</actCLA>>
  211. <</actCLA>>
  212. <</if>>
  213. <<if $location_var[$here][0] == 'feedchickens'>>
  214. <p>"Of course, $pc.name_nick. Would you be kind and feed the chickens?"</p>
  215. <<setinit $grandmaQW['chore_feed_chickens'] = 1>>
  216. <<act 'Tell her you will do it in a little while'>>
  217. <<gt 'gadhouse' 'grandma'>>
  218. <</act>>
  219. <<actCLA 'Agree and go to the yard (0:10)'>>
  220. <<set $time.minutes += 10>>
  221. <<image "locations/gadukino/village/feed_chickens.jpg">>
  222. You take the grain mix for the chickens and walk to the yard.
  223. <<act 'Continue'>>
  224. <<gt 'gaddvor' 'chickens'>>
  225. <</act>>
  226. <</actCLA>>
  227. <</if>>
  228. <<if $location_var[$here][0] == 'checkplants'>>
  229. <p>"$pc.name_nick, can you please go work in the garden?"</p>
  230. <<setinit $grandmaQW['chore_work_in_garden'] = 1>>
  231. <<act 'Tell her you will get to it later'>>
  232. <<gt 'gadhouse' 'grandma'>>
  233. <</act>>
  234. <<actCLA 'Agree and go to the garden (0:10)'>>
  235. <<set $time.minutes += 10>>
  236. <<image "locations/gadukino/village/go_yard.jpg">>
  237. You go to the garden.
  238. <<act 'Continue'>>
  239. <<gt 'gadgarden' 'garden'>>
  240. <</act>>
  241. <</actCLA>>
  242. <</if>>
  243. <<if $location_var[$here][0] == 'waterplants'>>
  244. <p>"Dear $pc.name_nick, could you go and water the plants in the garden?"</p>
  245. <<setinit $grandmaQW['chore_water_garden'] = 1>>
  246. <<act 'Tell her you will do it after a while'>>
  247. <<gt 'gadhouse' 'grandma'>>
  248. <</act>>
  249. <<actCLA 'Agree and go to the garden (0:10)'>>
  250. <<set $time.minutes += 10>>
  251. <<image "locations/gadukino/village/go_yard.jpg">>
  252. You bring a watering can along with you to the garden.
  253. <<act 'Continue'>>
  254. <<gt 'gadgarden' 'garden'>>
  255. <</act>>
  256. <</actCLA>>
  257. <</if>>
  258. <<if $location_var[$here][0] == 'harvest'>>
  259. <<if $time.month == 7>>
  260. <p>"$pc.name_nick dear, the strawberries are ripe for picking. Could you go over to the plot and pick them today?"</p>
  261. <<setinit $grandmaQW['chore_collect_strawberries'] = 1>>
  262. <<act 'Tell her you will do it in a little bit'>>
  263. <<gt 'gadhouse' 'grandma'>>
  264. <</act>>
  265. <<actCLA 'Agree and go to the strawberry plot (0:10)'>>
  266. <<set $time.minutes += 10>>
  267. <<image "locations/gadukino/village/go_yard.jpg">>
  268. You bring a basket with you and walk to the strawberry plot in the garden.
  269. <<act 'Continue'>>
  270. <<gt 'gadgarden' 'strawberry'>>
  271. <</act>>
  272. <</actCLA>>
  273. <<elseif $time.month == 8 or $time.month == 9>>
  274. <p>"$pc.name_nick dear, the fruits are ripe, and it is time to start collecting them. Could you go and do it today?"</p>
  275. <<setinit $grandmaQW['chore_collect_fruit'] = 1>>
  276. <<act 'Tell her you will do it in a little bit'>>
  277. <<gt 'gadhouse' 'grandma'>>
  278. <</act>>
  279. <<actCLA 'Agree and go to the orchard (0:10)'>>
  280. <<set $time.minutes += 10>>
  281. <<image "locations/gadukino/village/go_yard.jpg">>
  282. You bring a basket with you and walk to the fruit garden.
  283. <<act 'Continue'>>
  284. <<gt 'gadgarden' 'fruit_garden'>>
  285. <</act>>
  286. <</actCLA>>
  287. <<elseif $time.month == 6>>
  288. <p>"$pc.name_nick dear, could you go to the garden today? It's time to collect the harvest."</p>
  289. <<setinit $grandmaQW['chore_harvest_garden'] = 1>>
  290. <<act 'Tell her you will do it in a little bit'>>
  291. <<gt 'gadhouse' 'grandma'>>
  292. <</act>>
  293. <<actCLA 'Agree and go to the garden (0:10)'>>
  294. <<set $time.minutes += 10>>
  295. <<image "locations/gadukino/village/go_yard.jpg">>
  296. You bring the harvest tools with you and go over to the garden.
  297. <<act 'Continue'>>
  298. <<gt 'gadgarden' 'garden'>>
  299. <</act>>
  300. <</actCLA>>
  301. <</if>>
  302. <</if>>
  303. <<if $location_var[$here][0] == 'pickforest_mushrooms'>>
  304. <<setinit $grandmaQW['chore_gather_mushrooms'] = 1>>
  305. <<setinit $grandmaQW['chore_mushroom_quantity'] = rand(1,2)>>
  306. <p>"$pc.name_nick, it's mushroom season. Would you mind going into the forest to pick some for us?"</p>
  307. <p>"How much do we need, Grandma?" you ask.</p>
  308. <p>"Oh, I would say you should be able to find at least grandmaQW['chore_mushroom_quantity'] kilos," Grandma replies.</p>
  309. <<act 'Tell her you will go get some soon'>>
  310. <<gt 'gadhouse' 'grandma'>>
  311. <</act>>
  312. <<actCLA 'Agree and go to the forest (1:00)'>>
  313. <<if $time.hour >= 6 and $time.hour < 22>>
  314. <<image "locations/gadukino/village/gadroad.jpg">>
  315. <<else>>
  316. <<image "locations/gadukino/village/gadroad_night.jpg">>
  317. <</if>>
  318. You decide that now is as good a time as any to do it. You grab a basket and head out, walking to the forest.
  319. <<set $time.minutes += 60>>
  320. <<act 'Continue'>>
  321. <<gt 'gadforest' 'forest_edge'>>
  322. <</act>>
  323. <</actCLA>>
  324. <</if>>
  325. <<if $location_var[$here][0] == 'pickforest_berries'>>
  326. <<setinit $grandmaQW['chore_gather_berries'] = 1>>
  327. <<setinit $grandmaQW['chore_berry_quantity'] = rand(1,2)>>
  328. <p>"$pc.name_nick, the wild berries are ripe for picking. We should gather them now while we can."</p>
  329. <p>"How much do you want, Grandma?" you ask.</p>
  330. <p>"grandmaQW['chore_berry_quantity'] kilos will be a good start," Grandma replies.</p>
  331. <<act 'Tell her you will go get some soon'>>
  332. <<gt 'gadhouse' 'grandma'>>
  333. <</act>>
  334. <<actCLA 'Agree and go to the forest (1:00)'>>
  335. <<if $time.hour >= 6 and $time.hour < 22>>
  336. <<image "locations/gadukino/village/gadroad.jpg">>
  337. <<else>>
  338. <<image "locations/gadukino/village/gadroad_night.jpg">>
  339. <</if>>
  340. You decide now is as good a time as any to do it. So you grab a basket and head out, walking to the forest.
  341. <<set $time.minutes += 60>>
  342. <<act 'Continue'>>
  343. <<gt 'gadforest' 'forest_edge'>>
  344. <</act>>
  345. <</actCLA>>
  346. <</if>>
  347. <<if $location_var[$here][0] == 'pickforest_both'>>
  348. <<setinit $grandmaQW['chore_gather_both'] = 1>>
  349. <<setinit $grandmaQW['chore_mushroom_quantity'] = rand(1,2)>>
  350. <<setinit $grandmaQW['chore_berry_quantity'] = rand(1,2)>>
  351. <p>"This is the time of year that the forest provides us with its gifts, $pc.name_nick. Can you go and harvest some mushrooms and berries for us?"</p>
  352. <p>"How much of each should I get?" you ask.</p>
  353. <p>"If you could, try to find grandmaQW['chore_mushroom_quantity'] kilos of mushrooms and grandmaQW['chore_berry_quantity'] kilos of berries," Grandma replies. "It is important to stock up while we can."</p>
  354. <<act 'Tell her you will go get some soon'>>
  355. <<gt 'gadhouse' 'grandma'>>
  356. <</act>>
  357. <<actCLA 'Agree and go to the forest (1:00)'>>
  358. <<if $time.hour >= 6 and $time.hour < 22>>
  359. <<image "locations/gadukino/village/gadroad.jpg">>
  360. <<else>>
  361. <<image "locations/gadukino/village/gadroad_night.jpg">>
  362. <</if>>
  363. You decide now is as good a time as any to do it. So you grab a basket and head out, walking to the forest.
  364. <<set $time.minutes += 60>>
  365. <<act 'Continue'>>
  366. <<gt 'gadforest' 'forest_edge'>>
  367. <</act>>
  368. <</actCLA>>
  369. <</if>>