1
0

gad_gpyard.qsrc 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  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/gp_dacha/dvor.jpg"></center>'
  18. else
  19. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/dvor_night.jpg"></center>'
  20. end
  21. else
  22. if hour >= 8 and hour < 18:
  23. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/dvor_winter.jpg"></center>'
  24. else
  25. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/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', 'entry'
  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/gp_dacha/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 + bilberry_stored > 0:
  137. $temp_text = 'You currently are storing '
  138. if boletus_stored > 0:
  139. $temp_text += '<b><<boletus_stored>></b> kg of raw mushrooms'
  140. if bilberry_stored > 0: $temp_text += ' and '
  141. end
  142. if bilberry_stored > 0: $temp_text += '<b><<bilberry_stored>></b> kg of raw berries'
  143. $temp_text += '.'
  144. '<<$temp_text>>'
  145. killvar '$temp_text'
  146. end
  147. if boletus_stored + bilberry_stored >= 20:
  148. 'You can''t store anymore mushrooms and berries.'
  149. else
  150. 'You can still store <b><<20 - boletus_stored - bilberry_stored>></b> kg of mushrooms and berries.'
  151. end
  152. if fish_stored > 0: 'You currently are storing <b><<fish_stored>></b> kg of preserved fish.'
  153. if fish_stored >= 10:
  154. 'You can''t store anymore preserved fish.'
  155. else
  156. 'You can still store <b><<10 - fish_stored>></b> kg of preserved fish.'
  157. end
  158. *nl
  159. if boletus + boletus_cooked + bilberry >= 5:
  160. 'Your basket is full and you cannot carry more.'
  161. elseif boletus + boletus_cooked + bilberry > 0:
  162. 'Your basket is partially full.'
  163. else
  164. 'Your basket is empty.'
  165. end
  166. if boletus > 0: 'You currently are carrying <b><<boletus>></b> kg of raw mushrooms.'
  167. if boletus_cooked > 0: 'You currently are carrying <b><<boletus_cooked>></b> kg of cooked mushrooms.'
  168. if bilberry > 0: 'You currently are carrying <b><<bilberry>></b> kg of raw berries.'
  169. act 'Go back to the yard': minut += 1 & gt 'gad_gpyard', 'start'
  170. if (boletus_stored + bilberry_stored < 20) and (boletus > 0 or bilberry > 0):
  171. act 'Store as many raw mushrooms and berries that will fit (Max 20 kgs):':
  172. :store_bb_loop
  173. if boletus > 0 and boletus_stored + bilberry_stored < 20:
  174. boletus_stored += 1
  175. boletus -= 1
  176. end
  177. if bilberry > 0 and boletus_stored + bilberry_stored < 20:
  178. bilberry_stored += 1
  179. bilberry -= 1
  180. end
  181. if boletus_stored + bilberry_stored < 20 and boletus + bilberry > 0: jump 'store_bb_loop'
  182. gt 'gad_gpyard', 'root_cellar'
  183. end
  184. if boletus > 0:
  185. act 'Store 1 kg of raw mushrooms':
  186. boletus_stored += 1
  187. boletus -= 1
  188. gt 'gad_gpyard', 'root_cellar'
  189. end
  190. end
  191. if bilberry > 0:
  192. act 'Store 1 kg of raw berries':
  193. bilberry_stored += 1
  194. bilberry -= 1
  195. gt 'gad_gpyard', 'root_cellar'
  196. end
  197. end
  198. end
  199. if boletus_stored + bilberry_stored <= 10:
  200. if mc_inventory['mushrooms'] > 0 and boletus_stored + bilberry_stored <= 10:
  201. act 'Store 10 kg of bought mushrooms':
  202. mc_inventory['mushrooms'] -= 1
  203. boletus_stored += 10
  204. gt 'gad_gpyard', 'root_cellar'
  205. end
  206. end
  207. if mc_inventory['berries'] > 0 and boletus_stored + bilberry_stored <= 10:
  208. act 'Store 10 kg of bought berries':
  209. mc_inventory['berries'] -= 1
  210. bilberry_stored += 10
  211. gt 'gad_gpyard', 'root_cellar'
  212. end
  213. end
  214. end
  215. if (boletus_stored > 0 or bilberry_stored > 0) and (boletus + boletus_cooked + bilberry < 5):
  216. act 'Retrieve as many raw mushrooms and berries as you can carry (Max 5 kgs)':
  217. :retrieve_bb_loop
  218. if boletus_stored > 0:
  219. boletus += 1
  220. boletus_stored -= 1
  221. if boletus + boletus_cooked + bilberry < 5: jump 'retrieve_bb_loop'
  222. end
  223. if bilberry_stored > 0:
  224. bilberry += 1
  225. bilberry_stored -= 1
  226. if boletus + boletus_cooked + bilberry < 5: jump 'retrieve_bb_loop'
  227. end
  228. gt 'gad_gpyard', 'root_cellar'
  229. end
  230. if (boletus_stored > 0 and grandmaQW['chore_can_mushrooms'] ! 1) or (boletus_stored > 5 and grandmaQW['chore_can_mushrooms'] = 1):
  231. act 'Retrieve 1 kg of raw mushrooms':
  232. boletus += 1
  233. boletus_stored -= 1
  234. gt 'gad_gpyard', 'root_cellar'
  235. end
  236. end
  237. if (bilberry_stored > 0 and grandmaQW['chore_can_berries'] ! 1) or (bilberry_stored > 5 and grandmaQW['chore_can_berries'] = 1):
  238. act 'Retrieve 1 kg of raw berries':
  239. bilberry += 1
  240. bilberry_stored -= 1
  241. gt 'gad_gpyard', 'root_cellar'
  242. end
  243. end
  244. end
  245. end
  246. if $ARGS[0] = 'chickens':
  247. *clr & cla
  248. $loc_arg = 'chickens'
  249. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens1.jpg"></center>'
  250. 'Ordinary chickens clucking about their pen.'
  251. minut += 1
  252. gs 'stat'
  253. act 'Leave': gt 'gad_gpyard', 'start'
  254. !job Granny
  255. if grandmaQW['chore_feed_chickens'] = 1:
  256. act 'Feed the chickens':
  257. *clr & cla
  258. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/chickens2.jpg"></center>'
  259. '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.'
  260. minut += 30
  261. grandmaQW['chore_feed_chickens'] = 2
  262. gs 'exp_gain', 'hndiwrk', rand(0,3)
  263. gs 'stat'
  264. act 'Finish': gt 'gad_gpyard', 'start'
  265. act 'Return back to your grandmother': minut += 1 & gt 'gad_gphouse', 'grandma'
  266. end
  267. end
  268. end
  269. if $ARGS[0] = 'garden':
  270. $location_type = 'secluded'
  271. gs 'shortgs', 'setloc', 'gad_gpyard', 'garden'
  272. menu_off = 0
  273. gs 'gadukino_event', 'sound'
  274. gs 'miroslava_schedule'
  275. gs 'stat'
  276. if month >= 4 and month <= 10:
  277. if hour >= 6 and hour < 21:
  278. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/garden.jpg"></center>'
  279. else
  280. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/garden_night.jpg"></center>'
  281. end
  282. else
  283. if hour >= 8 and hour < 18:
  284. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/garden_winter.jpg"></center>'
  285. else
  286. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/garden_winter_night.jpg"></center>'
  287. end
  288. end
  289. 'A large vegetable garden that your grandparents are very proud of.'
  290. if month >= 4 and month <= 10:
  291. '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>.'
  292. else
  293. '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.'
  294. end
  295. act 'Go back to the yard': minut += 1 & gt 'gad_gpyard', 'start'
  296. !job Granny
  297. if grandmaQW['chore_work_in_garden'] = 1:
  298. act 'Work in the garden (3:00)':
  299. *clr & cla
  300. menu_off = 1
  301. minut += 180
  302. gs 'sweat', 'add', 10
  303. grandmaQW['chore_work_in_garden'] = 2
  304. gs 'exp_gain', 'stren', 1
  305. fat -= rand(1,5)
  306. gs 'exp_gain', 'hndiwrk', rand(3,9)
  307. gs 'stat'
  308. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/work_garden'+rand(1,5)+'.jpg"></center>'
  309. 'You spend some time doing some gardening.'
  310. act 'Finish': gt 'gad_gpyard', 'garden'
  311. act 'Return back to your grandmother': minut += 2 & gt 'gad_gphouse', 'grandma'
  312. end
  313. end
  314. !job Granny
  315. if grandmaQW['chore_water_garden'] = 1:
  316. act 'Water the plants (1:00)':
  317. *clr & cla
  318. menu_off = 1
  319. gs 'sweat', 'add', 10
  320. minut += 60
  321. grandmaQW['chore_water_garden'] = 2
  322. gs 'exp_gain', 'vital', 1
  323. fat -= rand(1,2)
  324. gs 'exp_gain', 'hndiwrk', rand(0,3)
  325. gs 'stat'
  326. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/water_garden.jpg"></center>'
  327. 'You spend an hour watering the garden.'
  328. act 'Finish': gt 'gad_gpyard', 'garden'
  329. act 'Return back to your grandmother': minut += 1 & gt 'gad_gphouse', 'grandma'
  330. end
  331. end
  332. !job Granny
  333. if grandmaQW['chore_harvest_garden'] = 1:
  334. act 'Harvest (3:00)':
  335. *clr & cla
  336. menu_off = 1
  337. minut += 180
  338. gs 'sweat', 'add', 10
  339. grandmaQW['chore_harvest_garden'] = 2
  340. gs 'exp_gain', 'stren', 1
  341. fat -= rand(1,3)
  342. gs 'exp_gain', 'hndiwrk', rand(3,9)
  343. gs 'stat'
  344. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/harvest_garden'+rand(1,5)+'.jpg"></center>'
  345. 'You spend a few hours harvesting vegetables in the garden.'
  346. act 'Finish': gt 'gad_gpyard', 'garden'
  347. act 'Return back to your grandmother': minut += 1 & gt 'gad_gphouse', 'grandma'
  348. end
  349. end
  350. end
  351. if $ARGS[0] = 'strawberry':
  352. gs 'shortgs', 'setloc', 'gad_gpyard', 'strawberry'
  353. menu_off = 0
  354. gs 'gadukino_event', 'sound'
  355. gs 'stat'
  356. !gs'time'
  357. if month = 6 or month = 7:
  358. if hour >= 6 and hour < 21:
  359. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/strawberry1.jpg"></center>'
  360. else
  361. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/strawberry_night.jpg"></center>'
  362. end
  363. else
  364. if hour >= 6 and hour < 21:
  365. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/strawberry2.jpg"></center>'
  366. else
  367. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/strawberry_night.jpg"></center>'
  368. end
  369. end
  370. 'It''s strawberry season, you approach the field where the strawberries grow, searching for some ripe strawberries.'
  371. act 'Go back to the garden': minut += 1 & gt 'gad_gpyard', 'garden'
  372. if month >= 7 and month <= 9 and strawberriesday ! daystart:
  373. act 'Eat some strawberries (1:00)':
  374. *clr & cla
  375. menu_off = 1
  376. strawberriesday = daystart
  377. minut += 60
  378. pcs_mood += 10
  379. pcs_hydra += 40
  380. pcs_energy += 15
  381. cumspclnt = 2 & gs 'cum_cleanup' & pcs_breath = 0
  382. gs 'stat'
  383. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/eat_strawberries.jpg"></center>'
  384. '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.'
  385. act 'Finish': gt 'gad_gpyard', 'strawberry'
  386. end
  387. end
  388. !job Granny
  389. if grandmaQW['chore_collect_strawberries'] = 1:
  390. act 'Collect strawberries (3:00)':
  391. *clr & cla
  392. menu_off = 1
  393. minut += 180
  394. gs 'sweat', 'add', 10
  395. grandmaQW['chore_collect_strawberries'] = 2
  396. gs 'exp_gain', 'agil', 1
  397. fat -= 1
  398. gs 'exp_gain', 'hndiwrk', rand(3,9)
  399. gs 'stat'
  400. if PCloSkirt = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/village/collect_strawberries.jpg"></center>'
  401. if PCloSkirt > 0 and $pantyworntype ! 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/collect_strawberries_ski.jpg"></center>'
  402. if PCloSkirt > 0 and $pantyworntype = 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/collect_strawberries_tanga.jpg"></center>'
  403. 'You wander through the plot for several hours, collecting ripe strawberries and placing them in the basket.'
  404. act 'Finish': gt 'gad_gpyard', 'strawberry'
  405. act 'Return back to your grandmother': minut += 3 & gt 'gad_gphouse', 'grandma'
  406. end
  407. end
  408. end
  409. if $ARGS[0] = 'fruit_garden':
  410. gs 'shortgs', 'setloc', 'gad_gpyard', 'fruit_garden'
  411. menu_off = 0
  412. gs 'gadukino_event', 'sound'
  413. cls
  414. gs'stat'
  415. !gs'time'
  416. if hour >= 6 and hour < 21:
  417. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/fruit_garden.jpg"></center>'
  418. else
  419. '<center><img <<$set_imgh>> src="images/locations/gadukino/gp_dacha/fruit_garden_night.jpg"></center>'
  420. end
  421. 'There are apples and pears growing in the fruit orchard.'
  422. act 'Go back to the garden': minut += 1 & gt 'gad_gpyard', 'garden'
  423. if month >= 7 and month <= 9 and fruitday ! daystart:
  424. act 'Eat the fruit (1:00)':
  425. *clr & cla
  426. menu_off = 1
  427. fruitday = daystart
  428. minut += 60
  429. pcs_mood += 10
  430. pcs_hydra += 20
  431. pcs_energy += 30
  432. cumspclnt = 2 & gs 'cum_cleanup' & pcs_breath = 0
  433. gs 'stat'
  434. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/eat_fruit.jpg"></center>'
  435. 'You spend some time wandering around the orchard munching on the ripe fruit.'
  436. act 'Finish': gt 'gad_gpyard', 'fruit_garden'
  437. end
  438. end
  439. !job Granny
  440. if grandmaQW['chore_collect_fruit'] = 1:
  441. act 'Collect fruit (3:00)':
  442. *clr & cla
  443. menu_off = 1
  444. minut += 180
  445. gs 'sweat', 'add', 10
  446. grandmaQW['chore_collect_fruit'] = 2
  447. gs 'exp_gain', 'agil', 1
  448. fat -= rand(1,3)
  449. gs 'exp_gain', 'hndiwrk', rand(3,9)
  450. gs 'stat'
  451. if PCloSkirt = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_collect.jpg"></center>'
  452. if PCloSkirt > 0 and $pantyworntype ! 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_collect_ski.jpg"></center>'
  453. if PCloSkirt > 0 and $pantyworntype = 'none':'<center><img <<$set_imgh>> src="images/locations/gadukino/village/fruit_collect_tanga.jpg"></center>'
  454. 'You walk around the orchard and pick the ripe fruit hanging from the trees.'
  455. act 'Finish': gt 'gad_gpyard', 'fruit_garden'
  456. act 'Return back to your grandmother': minut += 3 & gt 'gad_gphouse', 'grandma'
  457. end
  458. end
  459. end
  460. if $ARGS[0] = 'cikl':
  461. !! vovan, from 1.2.5
  462. hunters_check = 0
  463. mushroom_pickers = 0
  464. forestpicnic = 0
  465. !! new grandparent chore stuff, for 0.8.0
  466. if gadstay = 1 and lost_girl = 0:
  467. if daystart > (grandmaQW['last_day_helped'] + 3) and daystart > (grandpaQW['last_day_helped'] + 3):
  468. if (daystart - grandmaQW['last_day_helped']) <= (daystart - grandpaQW['last_day_helped']):
  469. '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.'
  470. else
  471. '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.'
  472. end
  473. grandmaQW['help_amount'] -= 1
  474. end
  475. end
  476. !! disappointing grandma
  477. if grandmaQW['chore_clean_floor'] = 1 or grandmaQW['chore_clean_floor'] = 2:
  478. grandmaQW['chore_clean_floor'] = 0
  479. grandmaQW['disappointment'] = 1
  480. elseif grandmaQW['chore_wash_clothes'] = 1 or grandmaQW['chore_wash_clothes'] = 2:
  481. grandmaQW['chore_wash_clothes'] = 0
  482. grandmaQW['disappointment'] = 1
  483. elseif grandmaQW['chore_milk_cow'] = 1 or grandmaQW['chore_milk_cow'] = 2:
  484. grandmaQW['chore_milk_cow'] = 0
  485. grandmaQW['disappointment'] = 1
  486. elseif grandmaQW['chore_groceries'] = 1 or grandmaQW['chore_groceries'] = 2:
  487. grandmaQW['chore_groceries'] = 0
  488. grandmaQW['disappointment'] = 1
  489. elseif grandmaQW['chore_can_mushrooms'] = 1 or grandmaQW['chore_can_mushrooms'] = 2:
  490. grandmaQW['chore_can_mushrooms'] = 0
  491. grandmaQW['disappointment'] = 1
  492. elseif grandmaQW['chore_can_berries'] = 1 or grandmaQW['chore_can_berries'] = 2:
  493. grandmaQW['chore_can_berries'] = 0
  494. grandmaQW['disappointment'] = 1
  495. elseif grandmaQW['chore_can_veggies'] = 1 or grandmaQW['chore_can_veggies'] = 2:
  496. grandmaQW['chore_can_veggies'] = 0
  497. grandmaQW['disappointment'] = 1
  498. elseif grandmaQW['chore_feed_chickens'] = 1 or grandmaQW['chore_feed_chickens'] = 2:
  499. grandmaQW['chore_feed_chickens'] = 0
  500. grandmaQW['disappointment'] = 1
  501. elseif grandmaQW['chore_work_in_garden'] = 1 or grandmaQW['chore_work_in_garden'] = 2:
  502. grandmaQW['chore_work_in_garden'] = 0
  503. grandmaQW['disappointment'] = 1
  504. elseif grandmaQW['chore_water_garden'] = 1 or grandmaQW['chore_water_garden'] = 2:
  505. grandmaQW['chore_water_garden'] = 0
  506. grandmaQW['disappointment'] = 1
  507. elseif grandmaQW['chore_collect_strawberries'] = 1 or grandmaQW['chore_collect_strawberries'] = 2:
  508. grandmaQW['chore_collect_strawberries'] = 0
  509. grandmaQW['disappointment'] = 1
  510. elseif grandmaQW['chore_collect_fruit'] = 1 or grandmaQW['chore_collect_fruit'] = 2:
  511. grandmaQW['chore_collect_fruit'] = 0
  512. grandmaQW['disappointment'] = 1
  513. elseif grandmaQW['chore_harvest_garden'] = 1 or grandmaQW['chore_harvest_garden'] = 2:
  514. grandmaQW['chore_harvest_garden'] = 0
  515. grandmaQW['disappointment'] = 1
  516. elseif grandmaQW['chore_gather_mushrooms'] = 1 or grandmaQW['chore_gather_mushrooms'] = 2:
  517. grandmaQW['disappointment'] = 2
  518. elseif grandmaQW['chore_gather_mushrooms'] = 1 or grandmaQW['chore_gather_mushrooms'] = 2 and grandmaQW['disappointment'] = 2:
  519. grandmaQW['chore_gather_mushrooms'] = 0
  520. grandmaQW['chore_mushroom_quantity'] = 0
  521. grandmaQW['disappointment'] = 1
  522. elseif grandmaQW['chore_gather_berries'] = 1 or grandmaQW['chore_gather_berries'] = 2:
  523. grandmaQW['disappointment'] = 2
  524. elseif grandmaQW['chore_gather_berries'] = 1 or grandmaQW['chore_gather_berries'] = 2 and grandmaQW['disappointment'] = 2:
  525. grandmaQW['chore_gather_berries'] = 0
  526. grandmaQW['chore_berry_quantity'] = 0
  527. grandmaQW['disappointment'] = 1
  528. elseif grandmaQW['chore_gather_both'] = 1 or grandmaQW['chore_gather_both'] = 2:
  529. grandmaQW['disappointment'] = 2
  530. elseif grandmaQW['chore_gather_both'] = 1 or grandmaQW['chore_gather_both'] = 2 and grandmaQW['disappointment'] = 2:
  531. grandmaQW['chore_gather_both'] = 0
  532. grandmaQW['chore_mushroom_quantity'] = 0
  533. grandmaQW['chore_berry_quantity'] = 0
  534. grandmaQW['disappointment'] = 1
  535. end
  536. !! disappointing grandpa
  537. if grandpaQW['chore_fetch_firewood'] = 1 or grandpaQW['chore_fetch_firewood'] = 2:
  538. grandpaQW['chore_fetch_firewood'] = 0
  539. grandpaQW['disappointment'] = 1
  540. elseif grandpaQW['chore_feed_horse'] = 1 or grandpaQW['chore_feed_horse'] = 2:
  541. grandpaQW['chore_feed_horse'] = 0
  542. grandpaQW['disappointment'] = 1
  543. elseif grandpaQW['chore_feed_cow'] = 1 or grandpaQW['chore_feed_cow'] = 2:
  544. grandpaQW['chore_feed_cow'] = 0
  545. grandpaQW['disappointment'] = 1
  546. elseif grandpaQW['chore_clean_yard'] = 1 or grandpaQW['chore_clean_yard'] = 2:
  547. grandpaQW['chore_clean_yard'] = 0
  548. grandpaQW['disappointment'] = 1
  549. elseif grandpaQW['chore_feed_boar'] = 1 or grandpaQW['chore_feed_boar'] = 2:
  550. grandpaQW['chore_feed_boar'] = 0
  551. grandpaQW['disappointment'] = 1
  552. elseif grandpaQW['chore_bathe_horse'] = 1 or grandpaQW['chore_bathe_horse'] = 2:
  553. grandpaQW['chore_bathe_horse'] = 0
  554. grandpaQW['chore_bathe_horse_prog'] = 0
  555. grandpaQW['disappointment'] = 1
  556. elseif grandpaQW['chore_brush_horse'] = 1 or grandpaQW['chore_brush_horse'] = 2:
  557. grandpaQW['chore_brush_horse'] = 0
  558. grandpaQW['disappointment'] = 1
  559. elseif grandpaQW['chore_lead_horse_to_field'] = 1 or grandpaQW['chore_lead_horse_to_field'] = 2:
  560. grandpaQW['chore_lead_horse_to_field'] = 0
  561. grandpaQW['disappointment'] = 1
  562. elseif grandpaQW['chore_herd_cattle'] = 1 or grandpaQW['chore_herd_cattle'] = 2:
  563. grandpaQW['chore_herd_cattle'] = 0
  564. grandpaQW['disappointment'] = 1
  565. elseif grandpaQW['chore_lead_cow_to_field'] = 1 or grandpaQW['chore_lead_cow_to_field'] = 2:
  566. grandpaQW['chore_lead_cow_to_field'] = 0
  567. grandpaQW['disappointment'] = 1
  568. elseif grandpaQW['chore_gather_mushrooms'] = 1 or grandpaQW['chore_gather_mushrooms'] = 2:
  569. grandpaQW['disappointment'] = 2
  570. elseif grandpaQW['chore_gather_mushrooms'] = 1 or grandpaQW['chore_gather_mushrooms'] = 2 and grandpaQW['disappointment'] = 2:
  571. grandpaQW['chore_gather_mushrooms'] = 0
  572. grandpaQW['chore_mushroom_quantity'] = 0
  573. grandpaQW['disappointment'] = 1
  574. elseif grandpaQW['chore_gather_berries'] = 1 or grandpaQW['chore_gather_berries'] = 2:
  575. grandpaQW['disappointment'] = 2
  576. elseif grandpaQW['chore_gather_berries'] = 1 or grandpaQW['chore_gather_berries'] = 2 and grandpaQW['disappointment'] = 2:
  577. grandpaQW['chore_gather_berries'] = 0
  578. grandpaQW['chore_berry_quantity'] = 0
  579. grandpaQW['disappointment'] = 1
  580. elseif grandpaQW['chore_gather_both'] = 1 or grandpaQW['chore_gather_both'] = 2:
  581. grandpaQW['disappointment'] = 2
  582. elseif grandpaQW['chore_gather_both'] = 1 or grandpaQW['chore_gather_both'] = 2 and grandpaQW['disappointment'] = 2:
  583. grandpaQW['chore_gather_both'] = 0
  584. grandpaQW['chore_mushroom_quantity'] = 0
  585. grandpaQW['chore_berry_quantity'] = 0
  586. grandpaQW['disappointment'] = 1
  587. elseif grandpaQW['chore_bale_hay'] = 1 or grandpaQW['chore_bale_hay'] = 2:
  588. grandpaQW['chore_bale_hay'] = 0
  589. grandpaQW['disappointment'] = 1
  590. end
  591. !! grandparents use root cellar
  592. if boletus_stored > 0: boletus_stored -= rand(0,1)
  593. if bilberry_stored > 0: bilberry_stored -= rand(0,1)
  594. if boletus_stored < 0: boletus_stored = 0
  595. if bilberry_stored < 0: bilberry_stored = 0
  596. !! end of new grandparent chore stuff, for 0.8.0
  597. if catout ! 0: catout = 0
  598. if feedcat ! 0: feedcat = 0
  599. end
  600. --- gad_gpyard ---------------------------------