gad_gpyard.qsrc 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. # gad_gpyard
  2. !2024/05/05 - Mira schedule introduced.
  3. !locat['A60'] = Mira''s location. See 'miroslava_schedule'
  4. if $ARGS[0] = 'start':
  5. music_loop = 0
  6. gs 'shortgs', 'setloc', 'gad_gpyard', 'start'
  7. $location_type = 'public_outdoors'
  8. menu_off = 0
  9. killvar '$locclass'
  10. gs 'miroslava_schedule'
  11. gs 'stat'
  12. CLOSE ALL
  13. gs 'gadukino_event', 'sound'
  14. '<center><h4>Your grandparents'' yard</h4></center>'
  15. if month >= 4 and month <= 10:
  16. if hour >= 6 and hour < 22:
  17. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor.jpg"></center>'
  18. else
  19. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_night.jpg"></center>'
  20. end
  21. else
  22. if hour >= 8 and hour < 18:
  23. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_winter.jpg"></center>'
  24. else
  25. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/dvor_winter_night.jpg"></center>'
  26. end
  27. end
  28. *nl
  29. 'A fenced yard behind your grandparents'' house. The yard contains a small barn, garden, root cellar, and banya where you can bathe.'
  30. if $clothingworntype = 'nude':
  31. *nl
  32. 'You are naked and can only go into your grandparent''s house to get dressed or go to the banya.'
  33. act 'Enter your grandparents'' house':minut += 1 & gt 'gad_gphouse', 'start'
  34. act 'Enter the banya': minut += 1 & gt 'gad_gpbath', 'start'
  35. else
  36. if grandmaQW['chore_feed_chickens'] = 1 or (hour >= 6 and hour < 20 and month >= 4 and month <= 10):'In the yard there are several <a href="exec:gt ''gad_gpyard'', ''chickens''">chickens</a> running around.'
  37. if func('homes_properties', 'is_current_home') and hour > 7 and hour < 20 and rex['owned'] = 1:
  38. if $status['dog'] = '':
  39. gt 'pet_dog', 'name'
  40. else
  41. if rex['gadukino_day'] ! daystart:
  42. rex['relationship'] += 2
  43. rex['gadukino_day'] = daystart
  44. end
  45. '<br><a href="exec: gt ''pet_dog'', ''gadukino''"><<$rex[''name'']>></a> is running around in the garden.'
  46. end
  47. end
  48. end
  49. if MiraVars['guest'] = 1: locat['A60'] = 20 & 'Your friend <a href="exec: gt ''miroslava'', ''Start''">Mira</a> stands next to you.'
  50. !if locat['A60'] ! 20: MiraVars['guest'] = 0
  51. act '<b>Leave and go into the village</b>':
  52. if $clothingworntype ! 'nude':
  53. minut += 5
  54. gt 'gadukino'
  55. else
  56. msg'<b><font color = red>You need to get dressed.</font></b>'
  57. gt 'gad_gpyard', 'start'
  58. end
  59. end
  60. if grandpaQW['chore_clean_yard'] = 1:
  61. act 'Clean up the yard for Grandpa (1:00)':
  62. *clr & cla
  63. if month >= 4 and month <= 10:
  64. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/clean_yard1.jpg"></center>'
  65. '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.'
  66. else
  67. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/clean_yard2.jpg"></center>'
  68. 'Armed with a shovel, you begin clearing the yard of snow. You''re pleased with yourself seeing the courtyard is free of snow. You return the shovel to the shed and continue on with your business.'
  69. end
  70. minut += 60
  71. grandpaQW['chore_clean_yard'] = 2
  72. if month >= 4 and month <= 10:
  73. fat -= rand(1,3)
  74. pcs_stam -= 5
  75. gs 'sweat', 'add', 10
  76. else
  77. gs 'exp_gain', 'stren', 1
  78. fat -= rand(1,5)
  79. pcs_stam -= 10
  80. gs 'sweat', 'add', 5
  81. end
  82. gs'stat'
  83. act 'Finish': gt 'gad_gpyard', 'start'
  84. act 'Return back to your grandfather': minut += 1 & gt 'gad_gphouse', 'grandpa'
  85. end
  86. end
  87. act 'Enter your grandparents'' house': minut += 1 & gt 'gad_gphouse', 'start'
  88. act 'Enter the banya': minut += 1 & gt 'gad_gpbath', 'start'
  89. act 'Go to the barn': minut += 1 & gt 'gad_gpbarn'
  90. act 'Go to the root cellar': minut += 1 & gt 'gad_gpyard', 'root_cellar'
  91. act 'Go to the garden': minut += 1 & gt 'gad_gpyard', 'garden'
  92. if grandmaQW['chore_feed_chickens'] = 1 or (hour >= 6 and hour < 20 and month >= 4 and month <= 10):act 'Look at your grandparents'' chickens': gt 'gad_gpyard', 'chickens'
  93. if rand(1,5) = 1 and hour >= 9 and hour <= 19 and npc_rel['A60'] >= 15 and daystart > MiraVars['emb_day'] and sunWeather = 1 and MiraVars['guestday'] ! daystart and (npc_QW['A63'] < 13 or MiraVars['QW'] >= 10 or MiraVars['had_sex'] > 1) and npc_known['A60'] = 1:
  94. *clr & cla
  95. menu_off = 1
  96. gs 'miroslava', 'miraclothes'
  97. 'You went out into the yard and noticed Mira standing there.'
  98. '"Oh, <<$pcs_nickname>>, hi. I hope you don''t mind me visiting. I was bored being home alone," she said, smiling.'
  99. MiraVars['guestday'] = daystart
  100. minut += 5
  101. MiraVars['guest'] = 1
  102. gs 'stat'
  103. act 'Continue': gt 'gad_gpyard', 'start'
  104. end
  105. clothesAtLocation = FUNC('lost_clothes_here',$CURLOC)
  106. if clothesAtLocation = 1:
  107. if $clothingworntype = 'nude':
  108. act 'Get dressed':
  109. gs 'clothing', 'recover_lost_clothes', 'gad_gpyard', 1
  110. gs 'underwear', 'wear'
  111. gt 'gad_gpyard', 'start'
  112. end
  113. else
  114. act 'Pick up your clothes':
  115. gs 'clothing', 'recover_lost_clothes', 'gad_gpyard'
  116. 'You picked up your clothes.'
  117. gt 'gad_gpyard', 'start'
  118. end
  119. end
  120. end
  121. end
  122. if $ARGS[0] = 'root_cellar':
  123. *clr & cla
  124. $loc_arg = 'root_cellar'
  125. '<center><h4>Root Cellar</h4></center>'
  126. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/root_cellar.jpg"></center>'
  127. *nl
  128. if boletus_stored + bilberry_stored >= 20:
  129. 'Your grandparents'' root cellar is full.'
  130. elseif boletus_stored + bilberry_stored > 0:
  131. 'Your grandparents'' root cellar is partially full.'
  132. else
  133. 'Your grandparents'' root cellar is empty.'
  134. end
  135. 'Even though your grandparents allow you to store extra mushrooms and berries you pick, they reserve the right to use them, too, so you aren''t surprised if any go missing.'
  136. if boletus_stored > 0: 'You currently are storing <b><<boletus_stored>></b> kg of raw mushrooms.'
  137. if bilberry_stored > 0: 'You currently are storing <b><<bilberry_stored>></b> kg of raw berries.'
  138. *nl
  139. if boletus + boletus_cooked + bilberry >= 5:
  140. 'Your basket is full and you cannot carry more.'
  141. elseif boletus + boletus_cooked + bilberry > 0:
  142. 'Your basket is partially full.'
  143. else
  144. 'Your basket is empty.'
  145. end
  146. if boletus > 0: 'You currently are carrying <b><<boletus>></b> kg of raw mushrooms.'
  147. if boletus_cooked > 0: 'You currently are carrying <b><<boletus_cooked>></b> kg of cooked mushrooms.'
  148. if bilberry > 0: 'You currently are carrying <b><<bilberry>></b> kg of raw berries.'
  149. act 'Go back to the yard': minut += 1 & gt 'gad_gpyard', 'start'
  150. if (boletus_stored + bilberry_stored < 20) and (boletus > 0 or bilberry > 0):
  151. act 'Store as many raw mushrooms and berries that will fit (Max 20 kgs):':
  152. :store_bb_loop
  153. if boletus > 0:
  154. boletus_stored += 1
  155. boletus -= 1
  156. if boletus_stored + bilberry_stored < 20: jump 'store_bb_loop'
  157. end
  158. if bilberry > 0:
  159. bilberry_stored += 1
  160. bilberry -= 1
  161. if boletus_stored + bilberry_stored < 20: jump 'store_bb_loop'
  162. end
  163. gt 'gad_gpyard', 'root_cellar'
  164. end
  165. if boletus > 0:
  166. act 'Store 1 kg of raw mushrooms':
  167. boletus_stored += 1
  168. boletus -= 1
  169. gt 'gad_gpyard', 'root_cellar'
  170. end
  171. end
  172. if bilberry > 0:
  173. act 'Store 1 kg of raw berries':
  174. bilberry_stored += 1
  175. bilberry -= 1
  176. gt 'gad_gpyard', 'root_cellar'
  177. end
  178. end
  179. end
  180. if (boletus_stored > 0 or bilberry_stored > 0) and (boletus + boletus_cooked + bilberry < 5):
  181. act 'Retrieve as many raw mushrooms and berries as you can carry (Max 5 kgs)':
  182. :retrieve_bb_loop
  183. if boletus_stored > 0:
  184. boletus += 1
  185. boletus_stored -= 1
  186. if boletus + boletus_cooked + bilberry < 5: jump 'retrieve_bb_loop'
  187. end
  188. if bilberry_stored > 0:
  189. bilberry += 1
  190. bilberry_stored -= 1
  191. if boletus + boletus_cooked + bilberry < 5: jump 'retrieve_bb_loop'
  192. end
  193. gt 'gad_gpyard', 'root_cellar'
  194. end
  195. if (boletus_stored > 0 and grandmaQW['chore_can_mushrooms'] ! 1) or (boletus_stored > 5 and grandmaQW['chore_can_mushrooms'] = 1):
  196. act 'Retrieve 1 kg of raw mushrooms':
  197. boletus += 1
  198. boletus_stored -= 1
  199. gt 'gad_gpyard', 'root_cellar'
  200. end
  201. end
  202. if (bilberry_stored > 0 and grandmaQW['chore_can_berries'] ! 1) or (bilberry_stored > 5 and grandmaQW['chore_can_berries'] = 1):
  203. act 'Retrieve 1 kg of raw berries':
  204. bilberry += 1
  205. bilberry_stored -= 1
  206. gt 'gad_gpyard', 'root_cellar'
  207. end
  208. end
  209. end
  210. end
  211. if $ARGS[0] = 'chickens':
  212. *clr & cla
  213. $loc_arg = 'chickens'
  214. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens1.jpg"></center>'
  215. 'Ordinary chickens clucking about their pen.'
  216. minut += 1
  217. gs 'stat'
  218. act 'Leave': gt 'gad_gpyard', 'start'
  219. !job Granny
  220. if grandmaQW['chore_feed_chickens'] = 1:
  221. act 'Feed the chickens':
  222. *clr & cla
  223. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens2.jpg"></center>'
  224. 'You decide to feed the chickens. You pick up a bucket full of bird''s seed and grain mix and toss it on the ground. They immediately rush over and start to greedily eat. You watch them for a bit before you go about your business.'
  225. minut += 30
  226. grandmaQW['chore_feed_chickens'] = 2
  227. gs 'exp_gain', 'hndiwrk', rand(0,3)
  228. gs 'stat'
  229. act 'Finish': gt 'gad_gpyard', 'start'
  230. act 'Return back to your grandmother': minut += 1 & gt 'gad_gphouse', 'grandma'
  231. end
  232. end
  233. end
  234. if $ARGS[0] = 'garden':
  235. $location_type = 'secluded'
  236. gs 'shortgs', 'setloc', 'gad_gpyard', 'garden'
  237. menu_off = 0
  238. gs 'gadukino_event', 'sound'
  239. gs 'miroslava_schedule'
  240. gs 'stat'
  241. !gs'time'
  242. if month >= 4 and month <= 10:
  243. if hour >= 6 and hour < 21:
  244. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/garden.jpg"></center>'
  245. else
  246. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/garden_night.jpg"></center>'
  247. end
  248. else
  249. if hour >= 8 and hour < 18:
  250. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/garden_winter.jpg"></center>'
  251. else
  252. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/garden_winter_night.jpg"></center>'
  253. end
  254. end
  255. 'A large vegetable garden that your grandparents are very proud of.'
  256. if month >= 4 and month <= 10:
  257. 'There is also a small land plot is dedicated to growing <a href="exec: gt ''gad_gpyard'', ''strawberry'' ">strawberries</a> and a <a href="exec: gt ''gad_gpyard'',''fruit_garden'' ">fruit tree orchard</a>.'
  258. else
  259. 'There is also a small plot of land dedicated to growing strawberries and a small fruit tree orchard, but they are not in season right now.'
  260. end
  261. act 'Go back to the yard': minut += 1 & gt 'gad_gpyard', 'start'
  262. !job Granny
  263. if grandmaQW['chore_work_in_garden'] = 1:
  264. act 'Work in the garden (3:00)':
  265. *clr & cla
  266. menu_off = 1
  267. minut += 180
  268. gs 'sweat', 'add', 10
  269. grandmaQW['chore_work_in_garden'] = 2
  270. gs 'exp_gain', 'stren', 1
  271. fat -= rand(1,5)
  272. gs 'exp_gain', 'hndiwrk', rand(3,9)
  273. gs 'stat'
  274. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/work_garden'+rand(1,5)+'.jpg"></center>'
  275. 'You spend some time doing some gardening.'
  276. act 'Finish': gt 'gad_gpyard', 'garden'
  277. act 'Return back to your grandmother': minut += 2 & gt 'gad_gphouse', 'grandma'
  278. end
  279. end
  280. !job Granny
  281. if grandmaQW['chore_water_garden'] = 1:
  282. act 'Water the plants (1:00)':
  283. *clr & cla
  284. menu_off = 1
  285. gs 'sweat', 'add', 10
  286. minut += 60
  287. grandmaQW['chore_water_garden'] = 2
  288. gs 'exp_gain', 'vital', 1
  289. fat -= rand(1,2)
  290. gs 'exp_gain', 'hndiwrk', rand(0,3)
  291. gs 'stat'
  292. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/water_garden.jpg"></center>'
  293. 'You spend an hour watering the garden.'
  294. act 'Finish': gt 'gad_gpyard', 'garden'
  295. act 'Return back to your grandmother': minut += 1 & gt 'gad_gphouse', 'grandma'
  296. end
  297. end
  298. !job Granny
  299. if grandmaQW['chore_harvest_garden'] = 1:
  300. act 'Harvest (3:00)':
  301. *clr & cla
  302. menu_off = 1
  303. minut += 180
  304. gs 'sweat', 'add', 10
  305. grandmaQW['chore_harvest_garden'] = 2
  306. gs 'exp_gain', 'stren', 1
  307. fat -= rand(1,3)
  308. gs 'exp_gain', 'hndiwrk', rand(3,9)
  309. gs 'stat'
  310. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/harvest_garden'+rand(1,5)+'.jpg"></center>'
  311. 'You spend a few hours harvesting vegetables in the garden.'
  312. act 'Finish': gt 'gad_gpyard', 'garden'
  313. act 'Return back to your grandmother': minut += 1 & gt 'gad_gphouse', 'grandma'
  314. end
  315. end
  316. end
  317. if $ARGS[0] = 'strawberry':
  318. gs 'shortgs', 'setloc', 'gad_gpyard', 'strawberry'
  319. menu_off = 0
  320. gs 'gadukino_event', 'sound'
  321. gs 'stat'
  322. !gs'time'
  323. if month = 6 or month = 7:
  324. if hour >= 6 and hour < 21:
  325. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/strawberry1.jpg"></center>'
  326. else
  327. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/strawberry_night.jpg"></center>'
  328. end
  329. else
  330. if hour >= 6 and hour < 21:
  331. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/strawberry2.jpg"></center>'
  332. else
  333. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/strawberry_night.jpg"></center>'
  334. end
  335. end
  336. 'It''s strawberry season, you approach the field where the strawberries grow, searching for some ripe strawberries.'
  337. act 'Go back to the garden': minut += 1 & gt 'gad_gpyard', 'garden'
  338. if month >= 7 and month <= 9 and strawberriesday ! daystart:
  339. act 'Eat some strawberries (1:00)':
  340. *clr & cla
  341. menu_off = 1
  342. strawberriesday = daystart
  343. minut += 60
  344. pcs_mood += 10
  345. pcs_hydra += 40
  346. pcs_energy += 15
  347. cumspclnt = 2 & gs 'cum_cleanup' & pcs_breath = 0
  348. gs 'stat'
  349. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/eat_strawberries.jpg"></center>'
  350. 'You spend some time wandering through the plot searching for ripe strawberries. You walk along, picking off the ones that you find and popping them in your mouth.'
  351. act 'Finish': gt 'gad_gpyard', 'strawberry'
  352. end
  353. end
  354. !job Granny
  355. if grandmaQW['chore_collect_strawberries'] = 1:
  356. act 'Collect strawberries (3:00)':
  357. *clr & cla
  358. menu_off = 1
  359. minut += 180
  360. gs 'sweat', 'add', 10
  361. grandmaQW['chore_collect_strawberries'] = 2
  362. gs 'exp_gain', 'agil', 1
  363. fat -= 1
  364. gs 'exp_gain', 'hndiwrk', rand(3,9)
  365. gs 'stat'
  366. if PCloSkirt = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/village/collect_strawberries.jpg"></center>'
  367. if PCloSkirt > 0 and $pantyworntype ! 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/collect_strawberries_ski.jpg"></center>'
  368. if PCloSkirt > 0 and $pantyworntype = 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/collect_strawberries_tanga.jpg"></center>'
  369. 'You wander through the plot for several hours, collecting ripe strawberries and placing them in the basket.'
  370. act 'Finish': gt 'gad_gpyard', 'strawberry'
  371. act 'Return back to your grandmother': minut += 3 & gt 'gad_gphouse', 'grandma'
  372. end
  373. end
  374. end
  375. if $ARGS[0] = 'fruit_garden':
  376. gs 'shortgs', 'setloc', 'gad_gpyard', 'fruit_garden'
  377. menu_off = 0
  378. gs 'gadukino_event', 'sound'
  379. cls
  380. gs'stat'
  381. !gs'time'
  382. if hour >= 6 and hour < 21:
  383. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_garden.jpg"></center>'
  384. else
  385. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_garden_night.jpg"></center>'
  386. end
  387. 'There are apples and pears growing in the fruit orchard.'
  388. act 'Go back to the garden': minut += 1 & gt 'gad_gpyard', 'garden'
  389. if month >= 7 and month <= 9 and fruitday ! daystart:
  390. act 'Eat the fruit (1:00)':
  391. *clr & cla
  392. menu_off = 1
  393. fruitday = daystart
  394. minut += 60
  395. pcs_mood += 10
  396. pcs_hydra += 20
  397. pcs_energy += 30
  398. cumspclnt = 2 & gs 'cum_cleanup' & pcs_breath = 0
  399. gs 'stat'
  400. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/eat_fruit.jpg"></center>'
  401. 'You spend some time wandering around the orchard munching on the ripe fruit.'
  402. act 'Finish': gt 'gad_gpyard', 'fruit_garden'
  403. end
  404. end
  405. !job Granny
  406. if grandmaQW['chore_collect_fruit'] = 1:
  407. act 'Collect fruit (3:00)':
  408. *clr & cla
  409. menu_off = 1
  410. minut += 180
  411. gs 'sweat', 'add', 10
  412. grandmaQW['chore_collect_fruit'] = 2
  413. gs 'exp_gain', 'agil', 1
  414. fat -= rand(1,3)
  415. gs 'exp_gain', 'hndiwrk', rand(3,9)
  416. gs 'stat'
  417. if PCloSkirt = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_collect.jpg"></center>'
  418. if PCloSkirt > 0 and $pantyworntype ! 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_collect_ski.jpg"></center>'
  419. if PCloSkirt > 0 and $pantyworntype = 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_collect_tanga.jpg"></center>'
  420. 'You walk around the orchard and pick the ripe fruit hanging from the trees.'
  421. act 'Finish': gt 'gad_gpyard', 'fruit_garden'
  422. act 'Return back to your grandmother': minut += 3 & gt 'gad_gphouse', 'grandma'
  423. end
  424. end
  425. end
  426. if $ARGS[0] = 'cikl':
  427. !! vovan, from 1.2.5
  428. hunters_check = 0
  429. mushroom_pickers = 0
  430. mira_go_river = 0
  431. forestpicnic = 0
  432. !! new grandparent chore stuff, for 0.8.0
  433. if gadstay = 1 and lost_girl = 0:
  434. if daystart > (grandmaQW['last_day_helped'] + 3) and daystart > (grandpaQW['last_day_helped'] + 3):
  435. if (daystart - grandmaQW['last_day_helped']) <= (daystart - grandpaQW['last_day_helped']):
  436. 'You haven''t helped your grandparents with any chores in <<daystart - grandmaQW[''last_day_helped'']>> days. You should help out more often to stay on your grandparents'' good side.'
  437. else
  438. 'You haven''t helped your grandparents with any chores in <<daystart - grandpaQW[''last_day_helped'']>> days. You should help out more often to stay on your grandparents'' good side.'
  439. end
  440. grandmaQW['help_amount'] -= 1
  441. end
  442. end
  443. !! disappointing grandma
  444. if grandmaQW['chore_clean_floor'] = 1 or grandmaQW['chore_clean_floor'] = 2:
  445. grandmaQW['chore_clean_floor'] = 0
  446. grandmaQW['disappointment'] = 1
  447. elseif grandmaQW['chore_wash_clothes'] = 1 or grandmaQW['chore_wash_clothes'] = 2:
  448. grandmaQW['chore_wash_clothes'] = 0
  449. grandmaQW['disappointment'] = 1
  450. elseif grandmaQW['chore_milk_cow'] = 1 or grandmaQW['chore_milk_cow'] = 2:
  451. grandmaQW['chore_milk_cow'] = 0
  452. grandmaQW['disappointment'] = 1
  453. elseif grandmaQW['chore_groceries'] = 1 or grandmaQW['chore_groceries'] = 2:
  454. grandmaQW['chore_groceries'] = 0
  455. grandmaQW['disappointment'] = 1
  456. elseif grandmaQW['chore_can_mushrooms'] = 1 or grandmaQW['chore_can_mushrooms'] = 2:
  457. grandmaQW['chore_can_mushrooms'] = 0
  458. grandmaQW['disappointment'] = 1
  459. elseif grandmaQW['chore_can_berries'] = 1 or grandmaQW['chore_can_berries'] = 2:
  460. grandmaQW['chore_can_berries'] = 0
  461. grandmaQW['disappointment'] = 1
  462. elseif grandmaQW['chore_can_veggies'] = 1 or grandmaQW['chore_can_veggies'] = 2:
  463. grandmaQW['chore_can_veggies'] = 0
  464. grandmaQW['disappointment'] = 1
  465. elseif grandmaQW['chore_feed_chickens'] = 1 or grandmaQW['chore_feed_chickens'] = 2:
  466. grandmaQW['chore_feed_chickens'] = 0
  467. grandmaQW['disappointment'] = 1
  468. elseif grandmaQW['chore_work_in_garden'] = 1 or grandmaQW['chore_work_in_garden'] = 2:
  469. grandmaQW['chore_work_in_garden'] = 0
  470. grandmaQW['disappointment'] = 1
  471. elseif grandmaQW['chore_water_garden'] = 1 or grandmaQW['chore_water_garden'] = 2:
  472. grandmaQW['chore_water_garden'] = 0
  473. grandmaQW['disappointment'] = 1
  474. elseif grandmaQW['chore_collect_strawberries'] = 1 or grandmaQW['chore_collect_strawberries'] = 2:
  475. grandmaQW['chore_collect_strawberries'] = 0
  476. grandmaQW['disappointment'] = 1
  477. elseif grandmaQW['chore_collect_fruit'] = 1 or grandmaQW['chore_collect_fruit'] = 2:
  478. grandmaQW['chore_collect_fruit'] = 0
  479. grandmaQW['disappointment'] = 1
  480. elseif grandmaQW['chore_harvest_garden'] = 1 or grandmaQW['chore_harvest_garden'] = 2:
  481. grandmaQW['chore_harvest_garden'] = 0
  482. grandmaQW['disappointment'] = 1
  483. elseif grandmaQW['chore_gather_mushrooms'] = 1 or grandmaQW['chore_gather_mushrooms'] = 2:
  484. grandmaQW['disappointment'] = 2
  485. elseif grandmaQW['chore_gather_mushrooms'] = 1 or grandmaQW['chore_gather_mushrooms'] = 2 and grandmaQW['disappointment'] = 2:
  486. grandmaQW['chore_gather_mushrooms'] = 0
  487. grandmaQW['chore_mushroom_quantity'] = 0
  488. grandmaQW['disappointment'] = 1
  489. elseif grandmaQW['chore_gather_berries'] = 1 or grandmaQW['chore_gather_berries'] = 2:
  490. grandmaQW['disappointment'] = 2
  491. elseif grandmaQW['chore_gather_berries'] = 1 or grandmaQW['chore_gather_berries'] = 2 and grandmaQW['disappointment'] = 2:
  492. grandmaQW['chore_gather_berries'] = 0
  493. grandmaQW['chore_berry_quantity'] = 0
  494. grandmaQW['disappointment'] = 1
  495. elseif grandmaQW['chore_gather_both'] = 1 or grandmaQW['chore_gather_both'] = 2:
  496. grandmaQW['disappointment'] = 2
  497. elseif grandmaQW['chore_gather_both'] = 1 or grandmaQW['chore_gather_both'] = 2 and grandmaQW['disappointment'] = 2:
  498. grandmaQW['chore_gather_both'] = 0
  499. grandmaQW['chore_mushroom_quantity'] = 0
  500. grandmaQW['chore_berry_quantity'] = 0
  501. grandmaQW['disappointment'] = 1
  502. end
  503. !! disappointing grandpa
  504. if grandpaQW['chore_fetch_firewood'] = 1 or grandpaQW['chore_fetch_firewood'] = 2:
  505. grandpaQW['chore_fetch_firewood'] = 0
  506. grandpaQW['disappointment'] = 1
  507. elseif grandpaQW['chore_feed_horse'] = 1 or grandpaQW['chore_feed_horse'] = 2:
  508. grandpaQW['chore_feed_horse'] = 0
  509. grandpaQW['disappointment'] = 1
  510. elseif grandpaQW['chore_feed_cow'] = 1 or grandpaQW['chore_feed_cow'] = 2:
  511. grandpaQW['chore_feed_cow'] = 0
  512. grandpaQW['disappointment'] = 1
  513. elseif grandpaQW['chore_clean_yard'] = 1 or grandpaQW['chore_clean_yard'] = 2:
  514. grandpaQW['chore_clean_yard'] = 0
  515. grandpaQW['disappointment'] = 1
  516. elseif grandpaQW['chore_feed_boar'] = 1 or grandpaQW['chore_feed_boar'] = 2:
  517. grandpaQW['chore_feed_boar'] = 0
  518. grandpaQW['disappointment'] = 1
  519. elseif grandpaQW['chore_bathe_horse'] = 1 or grandpaQW['chore_bathe_horse'] = 2:
  520. grandpaQW['chore_bathe_horse'] = 0
  521. grandpaQW['chore_bathe_horse_prog'] = 0
  522. grandpaQW['disappointment'] = 1
  523. elseif grandpaQW['chore_brush_horse'] = 1 or grandpaQW['chore_brush_horse'] = 2:
  524. grandpaQW['chore_brush_horse'] = 0
  525. grandpaQW['disappointment'] = 1
  526. elseif grandpaQW['chore_lead_horse_to_field'] = 1 or grandpaQW['chore_lead_horse_to_field'] = 2:
  527. grandpaQW['chore_lead_horse_to_field'] = 0
  528. grandpaQW['disappointment'] = 1
  529. elseif grandpaQW['chore_herd_cattle'] = 1 or grandpaQW['chore_herd_cattle'] = 2:
  530. grandpaQW['chore_herd_cattle'] = 0
  531. grandpaQW['disappointment'] = 1
  532. elseif grandpaQW['chore_lead_cow_to_field'] = 1 or grandpaQW['chore_lead_cow_to_field'] = 2:
  533. grandpaQW['chore_lead_cow_to_field'] = 0
  534. grandpaQW['disappointment'] = 1
  535. elseif grandpaQW['chore_gather_mushrooms'] = 1 or grandpaQW['chore_gather_mushrooms'] = 2:
  536. grandpaQW['disappointment'] = 2
  537. elseif grandpaQW['chore_gather_mushrooms'] = 1 or grandpaQW['chore_gather_mushrooms'] = 2 and grandpaQW['disappointment'] = 2:
  538. grandpaQW['chore_gather_mushrooms'] = 0
  539. grandpaQW['chore_mushroom_quantity'] = 0
  540. grandpaQW['disappointment'] = 1
  541. elseif grandpaQW['chore_gather_berries'] = 1 or grandpaQW['chore_gather_berries'] = 2:
  542. grandpaQW['disappointment'] = 2
  543. elseif grandpaQW['chore_gather_berries'] = 1 or grandpaQW['chore_gather_berries'] = 2 and grandpaQW['disappointment'] = 2:
  544. grandpaQW['chore_gather_berries'] = 0
  545. grandpaQW['chore_berry_quantity'] = 0
  546. grandpaQW['disappointment'] = 1
  547. elseif grandpaQW['chore_gather_both'] = 1 or grandpaQW['chore_gather_both'] = 2:
  548. grandpaQW['disappointment'] = 2
  549. elseif grandpaQW['chore_gather_both'] = 1 or grandpaQW['chore_gather_both'] = 2 and grandpaQW['disappointment'] = 2:
  550. grandpaQW['chore_gather_both'] = 0
  551. grandpaQW['chore_mushroom_quantity'] = 0
  552. grandpaQW['chore_berry_quantity'] = 0
  553. grandpaQW['disappointment'] = 1
  554. elseif grandpaQW['chore_bale_hay'] = 1 or grandpaQW['chore_bale_hay'] = 2:
  555. grandpaQW['chore_bale_hay'] = 0
  556. grandpaQW['disappointment'] = 1
  557. end
  558. !! grandparents use root cellar
  559. if boletus_stored > 0: boletus_stored -= rand(0,1)
  560. if bilberry_stored > 0: bilberry_stored -= rand(0,1)
  561. if boletus_stored < 0: boletus_stored = 0
  562. if bilberry_stored < 0: bilberry_stored = 0
  563. !! end of new grandparent chore stuff, for 0.8.0
  564. if catout ! 0: catout = 0
  565. if feedcat ! 0: feedcat = 0
  566. end
  567. --- gad_gpyard ---------------------------------