grandpahelp 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742
  1. # grandpahelp
  2. gs'stat'
  3. !gs 'time'
  4. '<center><img src="images/locations/gadukino/grandparents/grandpa1.jpg"></center>'
  5. 'You walk up to your grandfather and ask if he needs any help. Grandpa thinks for a moment and says:'
  6. if month = 1:grandpahelping = RAND(0,5)
  7. if month = 2:grandpahelping = RAND(0,5)
  8. if month = 3:grandpahelping = RAND(0,5)
  9. if month = 4:grandpahelping = RAND(0,5)
  10. if month = 5:grandpahelping = RAND(6,11)
  11. if month = 6:grandpahelping = RAND(12,21)
  12. if month = 7:grandpahelping = RAND(22,32)
  13. if month = 8:grandpahelping = RAND(22,32)
  14. if month = 9:grandpahelping = RAND(12,21)
  15. if month = 10:grandpahelping = RAND(0,4)
  16. if month = 11:grandpahelping = RAND(0,4)
  17. if month = 12:grandpahelping = RAND(0,4)
  18. !month >= 1 and month < 5 and month > 9
  19. if grandpahelping = 0:
  20. '"- Of course <<$pcs_nickname>>, I need your help in the yard. Bring a garden tool with you."'
  21. act 'Clean up the yard (1:00)':
  22. cls
  23. minut += 60
  24. grandmahelp += 1
  25. if month >= 4 and month <= 10:
  26. fat -= RAND(1,3)
  27. else
  28. stren_exp += 1
  29. fat -= RAND(1,5)
  30. end
  31. gs'stat'
  32. if month >= 4 and month <= 10:
  33. '<center><img src="images/locations/gadukino/village/clean_yard1.jpg"></center>'
  34. 'Armed with a rake, you begin cleaning the yard. You''re pleased seeing the yard clean. You return the rake to the shed and continue on with your business.'
  35. else
  36. '<center><img src="images/locations/gadukino/village/clean_yard2.jpg"></center>'
  37. 'Armed with a shovel, you begin clearing the yard from snow. You''re pleased with yourself seeing the courtyard is free from snow. You return the shovel to the shed and continue on with your business.'
  38. end
  39. act 'Go':gt'Gaddvor'
  40. end
  41. end
  42. if grandpahelping = 1:
  43. '"- <<$pcs_nickname>>, could you bring firewood for the stove?"'
  44. act 'Fetch firewood (0:15)':
  45. cls
  46. minut += 15
  47. grandmahelp += 1
  48. gs'stat'
  49. if month >= 4 and month <= 10:
  50. '<center><img src="images/locations/gadukino/village/firewood.jpg"></center>'
  51. else
  52. '<center><img src="images/locations/gadukino/village/firewood_winter.jpg"></center>'
  53. end
  54. 'You put on some warm clothes and run over to the barn to collect some firewood. '
  55. '"- I''ve brought some firewood grandfather," you said to your grandfather.'
  56. '"- You are very quick <<$pcs_nickname>>." he replies with a smile. "- That''s today''s youth for ya. There is no more work today."'
  57. act 'Go':gt'Gadhouse'
  58. end
  59. end
  60. if grandpahelping = 2:
  61. '"- <<$pcs_nickname>>, I need you to go to the barn and feed Desperado."'
  62. act 'Go to the barn (0:15)':
  63. cls
  64. feed_horse = 1
  65. minut += 15
  66. gs'stat'
  67. if month >= 4 and month <= 10:
  68. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  69. else
  70. '<center><img src="images/locations/gadukino/village/go_yard_winter.jpg"></center>'
  71. end
  72. 'You went to the barn and fed the horse.'
  73. act 'Further':gt'Gadsarai'
  74. end
  75. end
  76. if grandpahelping = 3:
  77. '"- <<$pcs_nickname>>, go to the barn to feed the cows."'
  78. act 'Go to the barn (0:15)':
  79. cls
  80. minut += 15
  81. feed_cow = 1
  82. gs'stat'
  83. if month >= 4 and month <= 10:
  84. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  85. else
  86. '<center><img src="images/locations/gadukino/village/go_yard_winter.jpg"></center>'
  87. end
  88. 'You went to the shed and fed the cows.'
  89. act 'Further':gt'Gadsarai'
  90. end
  91. end
  92. if grandpahelping = 4:
  93. '"- Of course <<$pcs_nickname>>, I need your help to groom Desperado."'
  94. act 'Go to the barn (0:15)':
  95. cls
  96. comb_horse = 1
  97. minut += 15
  98. gs'stat'
  99. if month >= 4 and month <= 10:
  100. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  101. else
  102. '<center><img src="images/locations/gadukino/village/go_yard_winter.jpg"></center>'
  103. end
  104. 'You went to the barn, took out a brush and started grooming Desperado.'
  105. act 'Further':gt'Gadsarai'
  106. end
  107. end
  108. if grandpahelping = 5:
  109. '"- <<$pcs_nickname>>, could you go to the barn and feed the hogs."'
  110. act 'Go to the barn (0:15)':
  111. cls
  112. feed_boar = 1
  113. minut += 15
  114. gs'stat'
  115. if month >= 4 and month <= 10:
  116. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  117. else
  118. '<center><img src="images/locations/gadukino/village/go_yard_winter.jpg"></center>'
  119. end
  120. 'You went to the barn and fed the hogs.'
  121. act 'Further':gt'Gadsarai'
  122. end
  123. end
  124. !month = 5
  125. if grandpahelping = 6:
  126. '"- Of course <<$pcs_nickname>>, I need your help cleaning the yard. Bring a garden tool with you."'
  127. act 'Clean up the yard (1:00)':
  128. cls
  129. minut += 60
  130. grandmahelp += 1
  131. if month >= 4 and month <= 10:
  132. fat -= RAND(1,3)
  133. else
  134. stren_exp += 1
  135. fat -= RAND(1,5)
  136. end
  137. gs'stat'
  138. if month >= 4 and month <= 10:
  139. '<center><img src="images/locations/gadukino/village/clean_yard1.jpg"></center>'
  140. 'Armed with a rake, you begin cleaning the yard. You''re pleased seeing the yard clean. You return the rake to the shed and continue on with your business.'
  141. else
  142. '<center><img src="images/locations/gadukino/village/clean_yard2.jpg"></center>'
  143. 'Armed with a shovel, you begin clearing the yard from snow. You''re pleased with yourself seeing the courtyard is free from snow. You return the shovel to the shed and continue on with your business.'
  144. end
  145. act 'Go':gt'Gaddvor'
  146. end
  147. end
  148. if grandpahelping = 7:
  149. '"- <<$pcs_nickname>>, could you go to the barn and feed the hogs."'
  150. act 'Go to the barn (0:15)':
  151. cls
  152. feed_boar = 1
  153. minut += 15
  154. gs'stat'
  155. if month >= 4 and month <= 10:
  156. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  157. else
  158. '<center><img src="images/locations/gadukino/village/go_yard_winter.jpg"></center>'
  159. end
  160. 'You went to the barn and fed the hogs.'
  161. act 'Further':gt'Gadsarai'
  162. end
  163. end
  164. if grandpahelping = 8 and week > 5:
  165. '"- Of course <<$pcs_nickname>>, I need your help to groom Desperado."'
  166. act 'Go to the barn (0:15)':
  167. cls
  168. comb_horse = 1
  169. minut += 15
  170. gs'stat'
  171. if month >= 4 and month <= 10:
  172. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  173. else
  174. '<center><img src="images/locations/gadukino/village/go_yard_winter.jpg"></center>'
  175. end
  176. 'You went to the barn, took out a brush and started grooming Desperado.'
  177. act 'Further':gt'Gadsarai'
  178. end
  179. elseif grandpahelping = 8 and week <= 5:
  180. '"- You don''t need to help out today <<$pcs_nickname>>."'
  181. act 'Go':gt'Gadhouse'
  182. end
  183. if grandpahelping = 9 and hour >= 6 and hour < 9:
  184. '"- <<$pcs_nickname>>, take the horse to the field, my legs hurt so I need to rest for a bit. I`ll retrieve the horse up in the evening."'
  185. act 'Go to the barn (0:15)':
  186. cls
  187. horse_field = 1
  188. minut += 15
  189. gs'stat'
  190. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  191. 'You led the horse to the field.'
  192. act 'Further':& gt'Gadsarai'
  193. end
  194. elseif grandpahelping = 9 and hour >= 9:
  195. '"- You can rest today <<$pcs_nickname>>, you don''t need to help me today."'
  196. act 'Go':gt'Gadhouse'
  197. end
  198. if grandpahelping = 10 and hour >= 6 and hour < 9:
  199. '"- I have sore feet today, <<$pcs_nickname>>. My dear granddaughter could you lead the cows on the field and tell the herders to drive them home at the end of the day."'
  200. act 'Go to the barn (0:15)':
  201. cls
  202. cow_field = 1
  203. minut += 15
  204. gs'stat'
  205. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  206. 'You went to the shed where the cows are and led the herd to the field.'
  207. act 'Further':gt'Gadsarai'
  208. end
  209. elseif grandpahelping = 10 and hour >= 9:
  210. '"- You can rest today child, there is nothing to do."'
  211. act 'Go':gt'Gadhouse'
  212. end
  213. if grandpahelping = 11 and hour >= 6 and hour < 9:
  214. if graze_cow_exp = 0: '"- <<$pcs_nickname>>, we need to let the cows graze on the field today. Grab something to eat, lead the herd to the field. I''ll meet you there."'
  215. if graze_cow_exp > 0: '"- <<$pcs_nickname>>, it''s our turn to look out for the cows grazing on the field today. So grab something to eat quickly, and stop by the field where the herd is. I''ll bring back them back home."'
  216. if graze_cow_exp = 0:
  217. act 'Go to the barn (0:20)':
  218. gs 'food', 'm_meal'&!use current one, cls will clear messages
  219. cls
  220. graze_cow = 1
  221. pcs_mood += 20
  222. pcs_health += 10
  223. minut += 20
  224. bottle += 1
  225. buterbrod += 1
  226. gs'stat'
  227. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  228. 'You took a little nibble of a sandwich and went to the shed where the herd was. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
  229. act 'Further':gt'Gadsarai'
  230. end
  231. else
  232. act 'Go to the field (0:20)':
  233. gs 'food', 'm_meal'&!use current one, cls will clear messages
  234. cls
  235. graze_cow = 1
  236. pcs_mood += 20
  237. pcs_health += 10
  238. minut += 20
  239. bottle += 1
  240. buterbrod += 1
  241. gs'stat'
  242. '<center><img src="images/locations/gadukino/village/cow_go_field.jpg"></center>'
  243. 'You had a quick bite and went to the field where the village herd is. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
  244. act 'Further':gt'gadfield','cow'
  245. end
  246. end
  247. elseif grandpahelping = 11 and hour >= 9:
  248. '"- You can rest today <<$pcs_nickname>>, there is nothing to do."'
  249. act 'Go':gt'Gadhouse'
  250. end
  251. !month = 6 or month = 9
  252. if grandpahelping = 12:
  253. '"– I need your help cleaning the yard, bring the garden tools."'
  254. act 'Clean up the yard (1:00)':
  255. cls
  256. minut += 60
  257. grandmahelp += 1
  258. if month >= 4 and month <= 10:
  259. fat -= RAND(1,3)
  260. else
  261. stren_exp += 1
  262. fat -= RAND(1,5)
  263. end
  264. gs'stat'
  265. if month >= 4 and month <= 10:
  266. '<center><img src="images/locations/gadukino/village/clean_yard1.jpg"></center>'
  267. 'Armed with a rake, you begin cleaning the yard. You''re pleased seeing the yard clean. You return the rake to the shed and continue on with your business.'
  268. else
  269. '<center><img src="images/locations/gadukino/village/clean_yard2.jpg"></center>'
  270. 'Armed with a shovel, you begin clearing the yard from snow. You''re pleased with yourself seeing the courtyard is free from snow. You return the shovel to the shed and continue on with your business.'
  271. end
  272. act 'Go':gt'Gaddvor'
  273. end
  274. end
  275. if grandpahelping = 13:
  276. '"- <<$pcs_nickname>>, could you go to the barn and feed the pigs."'
  277. act 'Go to the barn (0:15)':
  278. cls
  279. feed_boar = 1
  280. minut += 15
  281. gs'stat'
  282. if month >= 4 and month <= 10:
  283. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  284. else
  285. '<center><img src="images/locations/gadukino/village/go_yard_winter.jpg"></center>'
  286. end
  287. 'You went to the barn to fed the pigs.'
  288. act 'Further':gt'Gadsarai'
  289. end
  290. end
  291. if grandpahelping = 14 and week > 5:
  292. '"- <<$pcs_nickname>>, I need your help to groom Desperado."'
  293. act 'Go to the barn (0:15)':
  294. cls
  295. comb_horse = 1
  296. minut += 15
  297. gs'stat'
  298. if month >= 4 and month <= 10:
  299. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  300. else
  301. '<center><img src="images/locations/gadukino/village/go_yard_winter.jpg"></center>'
  302. end
  303. 'You went to the barn, took out a brush and started grooming Desperado.'
  304. act 'Further':gt'Gadsarai'
  305. end
  306. elseif grandpahelping = 14 and week <= 5:
  307. '"- You can take the day off."'
  308. act 'Go':gt'Gadhouse'
  309. end
  310. if grandpahelping = 15 and hour >= 6 and hour < 9:
  311. '"- <<$pcs_nickname>>, take the horse to the field, my legs hurt so I need to rest for a bit. I`ll retrieve the horse up in the evening."'
  312. act 'Go to the barn (0:15)':
  313. cls
  314. horse_field = 1
  315. minut += 15
  316. gs'stat'
  317. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  318. 'You led the horse to the field.'
  319. act 'Further':& gt'Gadsarai'
  320. end
  321. elseif grandpahelping = 15 and hour >= 9:
  322. '"- There''s no work today <<$pcs_nickname>>, go and rest up."'
  323. act 'Go':gt'Gadhouse'
  324. end
  325. if grandpahelping = 16 and hour >= 6 and hour < 9:
  326. '"- I have sore feet today, <<$pcs_nickname>>. My dear granddaughter could you lead the cows on the field and tell the herders to drive them home at the end of the day."'
  327. act 'Go to the barn (0:15)':
  328. cls
  329. cow_field = 1
  330. minut += 15
  331. gs'stat'
  332. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  333. 'You went to the shed where the cows are and led the herd to the field.'
  334. act 'Further':gt'Gadsarai'
  335. end
  336. elseif grandpahelping = 16 and hour >= 9:
  337. '"- You can rest today my dear granddaughter."'
  338. act 'Go':gt'Gadhouse'
  339. end
  340. if grandpahelping = 17 and hour >= 6 and hour < 9:
  341. if graze_cow_exp = 0: '"- <<$pcs_nickname>>, we need to let the cows graze on the field today. Grab something to eat, lead the herd to the field. I''ll meet you there."'
  342. if graze_cow_exp > 0: '"- <<$pcs_nickname>>, it''s our turn to look out for the cows grazing on the field today. So grab something to eat quickly, and stop by the field where the herd is. I''ll bring back them back home."'
  343. if graze_cow_exp = 0:
  344. act 'Go to the barn (0:20)':
  345. gs 'food', 'm_meal'&!use current one, cls will clear messages
  346. cls
  347. graze_cow = 1
  348. pcs_mood += 20
  349. pcs_health += 10
  350. minut += 20
  351. bottle += 1
  352. buterbrod += 1
  353. gs'stat'
  354. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  355. 'You took a little nibble of a sandwich and went to the shed where the herd was. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
  356. act 'Further':gt'Gadsarai'
  357. end
  358. else
  359. act 'Go to the field (0:20)':
  360. gs 'food', 'm_meal'&!use current one, cls will clear messages
  361. cls
  362. graze_cow = 1
  363. pcs_mood += 20
  364. pcs_health += 10
  365. minut += 20
  366. bottle += 1
  367. buterbrod += 1
  368. gs'stat'
  369. '<center><img src="images/locations/gadukino/village/cow_go_field.jpg"></center>'
  370. 'You had a quick bite and went to the field where the village herd is. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
  371. act 'Further':gt'gadfield','field'
  372. end
  373. end
  374. elseif grandpahelping = 17 and hour >= 9:
  375. '"- You can take the day off to rest up."'
  376. act 'Go':gt'Gadhouse'
  377. end
  378. if grandpahelping = 18 and temper >= 15 and sunWeather = 1 and week > 5:
  379. '"- It''s good weather today. Take Desperado to the river and give him a bath."'
  380. act 'Go to the barn (0:10)':
  381. cls
  382. horse_river = 1
  383. minut += 10
  384. gs'stat'
  385. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  386. 'You went and got the horse from the barn and led it to the river.'
  387. act 'Further':gt'Gadsarai'
  388. end
  389. elseif grandpahelping = 18 and week <= 5 or grandpahelping = 18 and temper < 15 or grandpahelping = 18 and sunWeather = 0:
  390. '"- You don''t need to help out today <<$pcs_nickname>>."'
  391. act 'Go':gt'Gadhouse'
  392. end
  393. if grandpahelping = 19 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
  394. grandpa_boletus = rand(2,3)
  395. go_in_boletus = 1
  396. '"- <<$pcs_nickname>>, could you go to the forest and pick mushrooms? I''m craving fried mushrooms."'
  397. '"- How much should I pick, grandpa?", you asked.'
  398. '"- <<grandpa_boletus>> kg will be enough," grandfather replied. "- Be careful so you don''t get lost."'
  399. act 'Go':gt'Gadhouse'
  400. elseif grandpahelping = 19 and go_in_boletus = 1 or grandpahelping = 19 and go_in_bilberry = 1 or grandpahelping = 19 and go_in_boletus_bilberry = 1:
  401. '"- You can rest today <<$pcs_nickname>>, you don''t need to help me today."'
  402. act 'Go':gt'Gadhouse'
  403. end
  404. if grandpahelping = 20 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
  405. grandpa_bilberry = rand(3,5)
  406. go_in_bilberry = 1
  407. '"- <<$pcs_nickname>>, could you go to the forest to pick some berries? Grandma wants to make homemade fruit jam."'
  408. '"- How much should I pick, grandpa?" you asked.'
  409. '"- <<grandpa_bilberry>> kg will be enough," grandfather replied. "- Just be careful so you don''t get lost."'
  410. act 'Go':gt'Gadhouse'
  411. elseif grandpahelping = 20 and go_in_boletus = 1 or grandpahelping = 20 and go_in_bilberry = 1 or grandpahelping = 20 and go_in_boletus_bilberry = 1:
  412. '"- You can take the day off."'
  413. act 'Go':gt'Gadhouse'
  414. end
  415. if grandpahelping = 21 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
  416. grandpa_boletus = rand(2,3)
  417. grandpa_bilberry = rand(2,3)
  418. go_in_boletus_bilberry = 1
  419. '"- <<$pcs_nickname>>, can you go to the forest and pick some berries and mushrooms? Your grandmother wants to make a mushroom soup, and has a craving for some fresh berries."'
  420. '"- How much should I pick, grandpa?"'
  421. '"- <<grandpa_boletus>> kg mushrooms and <<grandpa_bilberry>> kg of berries will be enough," grandfather replied. "- Just don`t get lost."'
  422. act 'Go':gt'Gadhouse'
  423. elseif grandpahelping = 21 and go_in_boletus = 1 or grandpahelping = 21 and go_in_bilberry = 1 or grandpahelping = 21 and go_in_boletus_bilberry = 1:
  424. '"- There''s no work today <<$pcs_nickname>>, go and rest up."'
  425. act 'Go':gt'Gadhouse'
  426. end
  427. !month = 7 or month = 8
  428. if grandpahelping = 22:
  429. '"- Of course <<$pcs_nickname>>, I need your help in the yard. Bring a garden tool with you."'
  430. act 'Clean up the yard (1:00)':
  431. cls
  432. minut += 60
  433. grandmahelp += 1
  434. if month >= 4 and month <= 10:
  435. fat -= RAND(1,3)
  436. else
  437. stren_exp += 1
  438. fat -= RAND(1,5)
  439. end
  440. gs'stat'
  441. if month >= 4 and month <= 10:
  442. '<center><img src="images/locations/gadukino/village/clean_yard1.jpg"></center>'
  443. 'Armed with a rake, you begin cleaning the yard. You''re pleased seeing the yard clean. You return the rake to the shed and continue on with your business.'
  444. else
  445. '<center><img src="images/locations/gadukino/village/clean_yard2.jpg"></center>'
  446. 'Armed with a shovel, you begin clearing the yard from snow. You''re pleased with yourself seeing the courtyard is free from snow. You return the shovel to the shed and continue on with your business.'
  447. end
  448. act 'Go':gt'Gaddvor'
  449. end
  450. end
  451. if grandpahelping = 23:
  452. '"- <<$pcs_nickname>>, could you go to the barn and feed the hogs."'
  453. act 'Go to the barn (0:15)':
  454. cls
  455. feed_boar = 1
  456. minut += 15
  457. gs'stat'
  458. if month >= 4 and month <= 10:
  459. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  460. else
  461. '<center><img src="images/locations/gadukino/village/go_yard_winter.jpg"></center>'
  462. end
  463. 'You went to the barn and fed the hogs.'
  464. act 'Further':gt'Gadsarai'
  465. end
  466. end
  467. if grandpahelping = 24 and week > 5:
  468. '"- Of course <<$pcs_nickname>>, I need your help to groom Desperado."'
  469. act 'Go to the barn (0:15)':
  470. cls
  471. comb_horse = 1
  472. minut += 15
  473. gs'stat'
  474. if month >= 4 and month <= 10:
  475. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  476. else
  477. '<center><img src="images/locations/gadukino/village/go_yard_winter.jpg"></center>'
  478. end
  479. 'You went to the barn, took out a brush and started grooming Desperado.'
  480. act 'Further':gt'Gadsarai'
  481. end
  482. elseif grandpahelping = 24 and week <= 5:
  483. '"- You don''t need to help out today <<$pcs_nickname>>."'
  484. act 'Go':gt'Gadhouse'
  485. end
  486. if grandpahelping = 25 and hour >= 6 and hour < 9:
  487. '"- <<$pcs_nickname>>, take the horse to the field, my legs hurt so I need to rest for a bit. I`ll retrieve the horse up in the evening."'
  488. act 'Go to the barn (0:10)':
  489. cls
  490. horse_field = 1
  491. minut += 10
  492. gs'stat'
  493. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  494. 'You led the horse to the field.'
  495. act 'Further':& gt'Gadsarai'
  496. end
  497. elseif grandpahelping = 25 and hour >= 9:
  498. '"- There''s no work today <<$pcs_nickname>>, go and rest up."'
  499. act 'Go':gt'Gadhouse'
  500. end
  501. if grandpahelping = 26 and hour >= 6 and hour < 9:
  502. '"- I have sore feet today, <<$pcs_nickname>>. My dear granddaughter could you lead the cows on the field and tell the herders to drive them home at the end of the day."'
  503. act 'Go to the barn (0:10)':
  504. cls
  505. cow_field = 1
  506. minut += 10
  507. gs'stat'
  508. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  509. 'You went to the shed where the cows are and led the herd to the field.'
  510. act 'Further':gt'Gadsarai'
  511. end
  512. elseif grandpahelping = 26 and hour >= 9:
  513. '"- You can rest today my dear granddaughter."'
  514. act 'Go':gt'Gadhouse'
  515. end
  516. if grandpahelping = 27 and hour >= 6 and hour < 9:
  517. if graze_cow_exp = 0: '"- <<$pcs_nickname>>, we need to let the cows graze on the field today. Grab something to eat, lead the herd to the field. I''ll meet you there."'
  518. if graze_cow_exp > 0: '"- <<$pcs_nickname>>, it''s our turn to look out for the cows grazing on the field today. So grab something to eat quickly, and stop by the field where the herd is. I''ll bring back them back home."'
  519. if graze_cow_exp = 0:
  520. act 'Go to the barn (0:20)':
  521. gs 'food', 'm_meal'&!use current one, cls will clear messages
  522. cls
  523. graze_cow = 1
  524. pcs_mood += 20
  525. pcs_health += 10
  526. minut += 20
  527. bottle += 1
  528. buterbrod += 1
  529. gs'stat'
  530. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  531. 'You took a little nibble of a sandwich and went to the shed where the herd was. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
  532. act 'Further':gt'Gadsarai'
  533. end
  534. else
  535. act 'Go to the field (0:20)':
  536. gs 'food', 'm_meal'&!use current one, cls will clear messages
  537. cls
  538. graze_cow = 1
  539. pcs_mood += 20
  540. pcs_health += 10
  541. minut += 20
  542. bottle += 1
  543. buterbrod += 1
  544. gs'stat'
  545. '<center><img src="images/locations/gadukino/village/cow_go_field.jpg"></center>'
  546. 'You had a quick bite and went to the field where the village herd is. Your grandmother put a sandwich and a bottle of water in the bag for lunch.'
  547. act 'Further':gt'gadfield','field'
  548. end
  549. end
  550. elseif grandpahelping = 27 and hour >= 9:
  551. '"- You can take the day off to rest up."'
  552. act 'Go':gt'Gadhouse'
  553. end
  554. if grandpahelping = 28 and temper >= 15 and sunWeather = 1 and week > 5:
  555. '"- It''s good weather today. Take Desperado to the river and give him a bath."'
  556. act 'Go to the barn (0:10)':
  557. cls
  558. horse_river = 1
  559. minut += 10
  560. gs'stat'
  561. '<center><img src="images/locations/gadukino/village/go_yard.jpg"></center>'
  562. 'You went and got the horse from the barn and led it to the river.'
  563. act 'Further':gt'Gadsarai'
  564. end
  565. elseif grandpahelping = 28 and week <= 5 or grandpahelping = 28 and temper < 15 or grandpahelping = 28 and sunWeather = 0:
  566. '"- You don''t need to help out today <<$pcs_nickname>>."'
  567. act 'Go':gt'Gadhouse'
  568. end
  569. if grandpahelping = 29 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
  570. grandpa_boletus = rand(2,3)
  571. go_in_boletus = 1
  572. '"- <<$pcs_nickname>>, could you go to the forest and pick mushrooms? I''m craving fried mushrooms."'
  573. '"- How much should I pick, grandpa?", you asked.'
  574. '"- <<grandpa_boletus>> kg will be enough," grandfather replied. "- Be careful so you don''t get lost."'
  575. act 'Go':gt'Gadhouse'
  576. elseif grandpahelping = 29 and go_in_boletus = 1 or grandpahelping = 29 and go_in_bilberry = 1 or grandpahelping = 29 and go_in_boletus_bilberry = 1:
  577. '"- You can rest today <<$pcs_nickname>>, you don''t need to help me today."'
  578. act 'Go':gt'Gadhouse'
  579. end
  580. if grandpahelping = 30 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
  581. grandpa_bilberry = rand(3,5)
  582. go_in_bilberry = 1
  583. '"- <<$pcs_nickname>>, could you go to the forest to pick some berries? Grandma wants to make homemade fruit jam."'
  584. '"- How much should I pick, grandpa?" you asked.'
  585. '"- <<grandpa_bilberry>> kg will be enough," grandfather replied. "- Just be careful so you don''t get lost."'
  586. act 'Go':gt'Gadhouse'
  587. elseif grandpahelping = 30 and go_in_boletus = 1 or grandpahelping = 30 and go_in_bilberry = 1 or grandpahelping = 30 and go_in_boletus_bilberry = 1:
  588. '"- You can take the day off."'
  589. act 'Go':gt'Gadhouse'
  590. end
  591. if grandpahelping = 31 and go_in_boletus = 0 and go_in_bilberry = 0 and go_in_boletus_bilberry = 0:
  592. grandpa_boletus = rand(2,3)
  593. grandpa_bilberry = rand(2,3)
  594. go_in_boletus_bilberry = 1
  595. '"- <<$pcs_nickname>>, can you go to the forest and pick some berries and mushrooms? Your grandmother wants to make a mushroom soup, and has a craving for some fresh berries."'
  596. '"- How much should I pick, grandpa?"'
  597. '"- <<grandpa_boletus>> kg mushrooms and <<grandpa_bilberry>> kg of berries will be enough," grandfather replied. "- Just don`t get lost."'
  598. act 'Go':gt'Gadhouse'
  599. elseif grandpahelping = 31 and go_in_boletus = 1 or grandpahelping = 31 and go_in_bilberry = 1 or grandpahelping = 31 and go_in_boletus_bilberry = 1:
  600. '"- There''s no work today <<$pcs_nickname>>, go and rest up."'
  601. act 'Go':gt'Gadhouse'
  602. end
  603. if grandpahelping = 32 and temper >= 15 and sunWeather = 1 and hour >= 6 and hour < 9:
  604. '"- <<$pcs_nickname>>, we need to help out with hay gathering today. We have to go to the field and help out."'
  605. '"- Okay, grandfather," you replied. You grabed a rake, and started walking towards the field.'
  606. act 'Go to the field (0:40)':
  607. cls
  608. haying_time = 1
  609. minut += 40
  610. gs'stat'
  611. '<center><img src="images/locations/gadukino/village/go_gadfield.jpg"></center>'
  612. 'With the rake in your hand you met up with the other local residents at the field. All the present at the field got assigned to a task. You work hard gathering the hay.'
  613. act 'Further':gt'gadfield','field'
  614. end
  615. elseif grandpahelping = 32 and hour >= 9 or grandpahelping = 32 and temper < 15 or grandpahelping = 32 and sunWeather = 0:
  616. '"- You don''t need to help out today <<$pcs_nickname>>."'
  617. act 'Go':gt'Gadhouse'
  618. end
  619. --- grandpahelp ---------------------------------