1
0

gadfield.qsrc 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. # gadfield
  2. !MiraLoc tells us where Mira is Located
  3. !----------------------------------------------
  4. !MiraLoc = 0 (Mira at home)
  5. !MiraLoc = 1 (Mira at river)
  6. !MiraLoc = 2 (Mira at meadow)
  7. !MiraLoc = 3 (Mira at forest)
  8. !MiraLoc = 4 (Mira at field)
  9. !MiraLoc = 5 (Mira with gop)
  10. !---------------------------------------------
  11. if $ARGS[0] = 'field':
  12. $loc = 'gadfield'
  13. $loc_arg = 'field'
  14. $location_type = 'secluded'
  15. $menu_loc = 'gadfield'
  16. $menu_arg = 'field'
  17. menu_off = 0
  18. gs 'gadukino_event', 'sound'
  19. gs'stat'
  20. '<center><H4>Field</H4></center>'
  21. if month >= 4 and month <= 10:
  22. if hour >= 6 and hour < 22:
  23. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadfield.jpg"></center>'
  24. else
  25. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadfield_night.jpg"></center>'
  26. end
  27. if hour >= 9 and hour <= 17 and npc_qw['A221'] = 0 and storyline = 1: gs 'grigory', 'meet' & exit
  28. else
  29. if hour >= 8 and hour < 18:
  30. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadfield_winter.jpg"></center>'
  31. else
  32. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/gadfield_winter_night.jpg"></center>'
  33. end
  34. end
  35. 'A field outside the village.'
  36. if grigory_flower > 0 and grigory_flower < 10: gt 'grigory', 'flower5'
  37. if flowerday ! daystart and grigory_flower = 10: gt 'grigory', 'flower6'
  38. if flowerday ! daystart and grigory_flower > 10: gt 'grigory', 'flower8'
  39. if hour >= 9 and hour <= 19 and week < 6:'Grandfather''s horse <a href="exec: gt ''gadfield'',''horse''">Desperado</a> is grazing the field.'
  40. if hour >= 9 and hour <= 19 and grandpaQW['chore_herd_cattle'] = 0:'You notice a large <a href="exec: gt ''gadfield'',''cow''">herd of cows</a> in the middle of the field.'
  41. if hour >= 6 and hour <= 20 and grandpaQW['chore_herd_cattle'] = 1:'You see the <a href="exec: gt ''gadfield'',''cow''">herd of cows</a> out in the middle of the field.'
  42. if hour >= 7 and hour <= 20 and grandpaQW['chore_bale_hay'] = 1:'You see a crowd of people working on the field.'
  43. act 'Head back to the road (0:10)':minut += 10 & gt'gadroad'
  44. if hour >= 7 and hour <= 13 and grandpaQW['chore_bale_hay'] = 1:
  45. act 'Spend the day helping to bale hay (6:00)':
  46. gs 'food', 'm_meal'
  47. *clr & cla
  48. menu_off = 1
  49. if npc_rel['A60'] >= 15:
  50. npc_rel['A60'] += 1
  51. '<center><img <<$set_imgh>> src="images/characters/village/mira/haying_time_mira.jpg"></center>'
  52. 'Most of the village has shown up to help out with the hay. Mira is there too, and you both partake in the activities. You are really enjoying yourself, and working alongside Mira makes the day fly by. By the end of the day, you are both exhausted, but smiling.'
  53. else
  54. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/haying_time.jpg"></center>'
  55. 'Almost all of the villagers have shown up to help out with the fresh cut hay. You spend most of the day working hard and sweating as you help gather the fresh-cut hay. It is difficult, but you get a great workout and end the day feeling exhausted, but quite satisfied.'
  56. end
  57. gs 'exercise', 'tier1', 360, 'stren_exp', 'vital_exp'
  58. if sunWeather = 1:pcs_tan += 1
  59. grandpaQW['chore_bale_hay'] = 2
  60. hndiwrk_exp += rand(0,8)
  61. gs 'stat'
  62. act 'Continue':gt'gadfield','field'
  63. act 'Return back to your grandfather (0:30)': minut += 30 & gt 'gadhouse', 'grandpa'
  64. end
  65. end
  66. end
  67. if $ARGS[0] = 'horse':
  68. $loc = 'gadfield'
  69. $loc_arg = 'horse'
  70. $location_type = 'public_outdoors'
  71. $menu_loc = 'gadfield'
  72. $menu_arg = 'horse'
  73. menu_off = 0
  74. gs 'gadukino_event', 'sound'
  75. gs'stat'
  76. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse.jpg"></center>'
  77. 'Your grandfather''s horse Desperado.'
  78. act 'Go back to the field':gt'gadfield','field'
  79. if hour = 19:
  80. act 'Lead the horse home (1:00)':
  81. *clr & cla
  82. menu_off = 1
  83. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/horse_field.jpg"></center>'
  84. 'You spot your grandfather''s horse wandering loose in the field and decide to help out by taking Desperado home. Reaching for the bridle, you start leading Desperado towards the village.'
  85. minut += 60
  86. grandmaQW['help_amount'] += rand(0,1)
  87. hndiwrk_exp += rand(0,3)
  88. gs 'stat'
  89. act 'Continue':gt'gadfield','horse'
  90. end
  91. end
  92. end
  93. if $ARGS[0] = 'cow':
  94. $loc = 'gadfield'
  95. $loc_arg = 'cow'
  96. $location_type = 'secluded'
  97. $menu_loc = 'gadfield'
  98. $menu_arg = 'cow'
  99. menu_off = 0
  100. gs 'gadukino_event', 'sound'
  101. gs'stat'
  102. temp = rand(1,5)
  103. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow.jpg"></center>'
  104. 'The cattle herd is standing in the middle of the field. Some of the cows are munching on grass, others are just staring idly around.'
  105. if mira = 1: MiraLoc = 41 & '<a href="exec: gt ''miroslava'', ''Start''">Mira</a> is standing next to you.'
  106. if grandpaQW['chore_herd_cattle'] = 0:act 'Leave them be':gt'gadfield','field'
  107. if hour = 19 and grandpaQW['chore_herd_cattle'] = 0:
  108. act 'Lead the cows home (1:00)':
  109. *clr & cla
  110. menu_off = 1
  111. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow_field.jpg"></center>'
  112. 'Seeing the cow herd on the field, you decide to help your grandfather bring the cows home...'
  113. minut += 60
  114. grandmaQW['help_amount'] += 1
  115. hndiwrk_exp += rand(0,3)
  116. gs 'stat'
  117. act 'Continue':gt'gadfield','cow'
  118. end
  119. end
  120. if grandpaQW['chore_herd_cattle'] = 1:
  121. if hour < 10:
  122. act 'Wait until the herd is gathered':
  123. *clr & cla
  124. menu_off = 1
  125. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_wait.jpg"></center>'
  126. if grandpaQW['chore_herd_cattle_experience'] = 0:'Some time flies by while waiting for the locals to finish bringing their cows to the field.'
  127. if grandpaQW['chore_herd_cattle_experience'] = 1:'Some time flies by while waiting for the locals and their children to finish bringing their cows to the field.'
  128. if hour >= 9:minut += 20
  129. if hour < 9:minut += 60
  130. hndiwrk_exp += rand(0,4)
  131. gs 'stat'
  132. act 'Continue':gt'gadfield','cow'
  133. end
  134. end
  135. if hour >= 10 and hour < 13:
  136. act 'Herd cows with your grandfather (1:00)':
  137. *clr & cla
  138. menu_off = 1
  139. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow'+rand(1,4)+'.jpg"></center>'
  140. 'You spend an hour herding the cows, watching out for any stragglers and driving them back to the herd. Instead of letting your grandfather do all the work, you roll up the sleeves and try to do most of the work yourself.'
  141. minut += 60
  142. if temper >= 25 and sunWeather = 1:
  143. pcs_hydra -= 12
  144. pcs_stam -= 8
  145. gs 'sweat', 'add', 10
  146. else
  147. pcs_hydra -= 6
  148. gs 'sweat', 'add', 5
  149. pcs_stam -= 5
  150. end
  151. grandpaQW['chore_herd_cattle_experience'] = 1
  152. if rand(0,1) = 1:grandmaQW['help_amount'] += rand(0,1)
  153. hndiwrk_exp += rand(0,3)
  154. gs 'stat'
  155. act 'Continue':gt'gadfield','cow'
  156. end
  157. if mira = 0:
  158. act 'Go for a run in the field (1:00)':
  159. *clr & cla
  160. menu_off = 1
  161. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_run.jpg"></center>'
  162. 'Since the cows are all behaving, you decide to spend some time jogging around the field.'
  163. frost = 0
  164. minut += 60
  165. fat -= 5
  166. run_exp += 1
  167. gs 'sweat', 'add', 10
  168. pcs_mood += 5
  169. pcs_stam -= 8
  170. if temper >= 25 and sunWeather = 1:
  171. pcs_hydra -= 24
  172. gs 'sweat', 'add', 12
  173. else
  174. pcs_hydra -= 18
  175. gs 'sweat', 'add', 10
  176. end
  177. gs 'stat'
  178. act 'Continue':gt'gadfield','cow'
  179. end
  180. end
  181. if temper >= 15 and sunWeather = 1 and mira = 0:
  182. act 'Tan (1:00)':
  183. *clr & cla
  184. menu_off = 1
  185. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_sun.jpg"></center>'
  186. 'It''s sunny and warm outside, and since the cows are behaving, you decide to work on your tan for an hour.'
  187. minut += 60
  188. pcs_mood += 10
  189. pcs_tan += 1
  190. gs 'sweat', 'add', 5
  191. gs 'stat'
  192. act 'Continue':gt'gadfield','cow'
  193. end
  194. if pcs_sleep < 40:
  195. act 'Take a nap (1:00)':
  196. *clr & cla
  197. menu_off = 1
  198. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_lying.jpg"></center>'
  199. 'You feel drowsy watching the cows stand around, so you lie down on the grass. You doze off and wake up about an hour later.'
  200. minut += 60
  201. pcs_mood += 10
  202. pcs_sleep+= 9
  203. if temper >= 25 and sunWeather = 1:pcs_hydra -= 12
  204. gs 'stat'
  205. act 'Continue':gt'gadfield','cow'
  206. end
  207. end
  208. act 'Pick flowers (1:00)':
  209. *clr & cla
  210. menu_off = 1
  211. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_flowers.jpg"></center>'
  212. 'Keeping one eyes on the cattle, you spend an hour wandering the field, picking flowers.'
  213. minut += 60
  214. pcs_mood += 20
  215. pcs_stam -= 4
  216. if temper >= 25 and sunWeather = 1:
  217. pcs_hydra -= 8
  218. gs 'sweat', 'add', 5
  219. else
  220. pcs_hydra -= 5
  221. gs 'sweat', 'add', 3
  222. end
  223. gs 'stat'
  224. act 'Continue':gt'gadfield','cow'
  225. end
  226. act 'Read a book (1:00)':
  227. *clr & cla
  228. menu_off = 1
  229. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_book'+rand(1,2)+'.jpg"></center>'
  230. minut += 60
  231. if temper >= 25 and sunWeather = 1:pcs_hydra -= 6
  232. if pcs_nerd > 0:
  233. lastread = totminut
  234. lastreadday = daystart
  235. pcs_nerd += 1
  236. blizoruk += 1
  237. pcs_mood = 100
  238. if pcs_stren > 1: stren_deg -= 1
  239. if pcs_vital > 5: vital_deg -= 1
  240. 'You start reading a book you brought with you. You are so engrossed in the story you forget about the time.'
  241. else
  242. blizoruk += 1
  243. pcs_mood += 10
  244. 'While reading the book, time flies by cause you are really engaged in the books'' plot.'
  245. end
  246. gs 'stat'
  247. act 'Close the book':gt'gadfield','cow'
  248. end
  249. end
  250. end
  251. if hour >= 13 and hour < 16:
  252. *clr & cla
  253. menu_off = 1
  254. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow_go.jpg"></center>'
  255. 'Looking at his watch, Grandpa turns to you and says, "It''s about lunchtime, which means it''s time to take the herd to the watering hole." You begin to gather the cows and lead them to the river.'
  256. if temper >= 25 and sunWeather = 1:
  257. pcs_hydra -= 12
  258. pcs_stam -= 8
  259. gs 'sweat', 'add', 10
  260. else
  261. pcs_hydra -= 6
  262. gs 'sweat', 'add', 5
  263. pcs_stam -= 5
  264. end
  265. grandmaQW['help_amount'] += 1
  266. minut += 60
  267. hndiwrk_exp += rand(0,3)
  268. gs 'stat'
  269. act 'Herd the cows nearer to the river (0:15)': minut += 15 & gt'gadfield','cow2'
  270. end
  271. end
  272. end
  273. !MiaLoc tells us where Mira is Located
  274. !----------------------------------------------
  275. !MiraLoc = 0 (Mira at home)
  276. !MiraLoc = 1 (Mira at river)
  277. !MiraLoc = 2 (Mira at meadow)
  278. !MiraLoc = 3 (Mira at forest)
  279. !MiraLoc = 4 (Mira at field)
  280. !MiraLoc = 5 (Mira with gop)
  281. !---------------------------------------------
  282. if grandpaQW['chore_herd_cattle'] = 1 and npc_rel['A60'] >= 15 and mira = 0 and sunWeather = 1 and hour >= 10 and temp = 1 and Mira_no = 0 and(npc_QW['A63'] < 13 or npc_QW['A60'] >= 10 or mirasex > 1):
  283. *clr & cla
  284. menu_off = 1
  285. '<center><img <<$set_imgh>> src="images/characters/village/mira/mira2.jpg"></center>'
  286. 'While keeping an eye on the cow herd, you see Mira in the distance, approaching. You happily wave to her.'
  287. '"Hi, <<$pcs_nickname>>. I wanted to visit you and brought water with me," she says nearing you. "Have you missed me?"'
  288. minut += 5
  289. npc_rel['A60'] += 1
  290. mira = 1
  291. gs 'stat'
  292. act 'Continue':pcs_hydra +=40 & gt'gadfield','cow'
  293. end
  294. if $ARGS[0] = 'cow2':
  295. $loc = 'gadfield'
  296. $loc_arg = 'cow2'
  297. $location_type = 'secluded'
  298. $menu_loc = 'gadfield'
  299. $menu_arg = 'cow2'
  300. menu_off = 0
  301. gs 'gadukino_event', 'sound'
  302. gs'stat'
  303. '<center><H4>River</H4></center>'
  304. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow_river.jpg"></center>'
  305. 'The cattle herd is near the river. Some of the cows are munching on grass, some are drinking from the river, and some are just standing or lying around.'
  306. if mira = 1: MiraLoc = 42 & '<a href="exec: gt ''miroslava'', ''Start''">Mira</a> is sitting next to you.'
  307. if temper >= 15 and sunWeather = 1:'"You can go for a swim if you want, <<$pcs_nickname>>. I''ll keep an eye on the herd," says your grandfather.'
  308. if grandpaQW['chore_herd_cattle'] = 1:
  309. if hour < 16:
  310. act 'Herd cows with your grandfather (1:00)':
  311. *clr & cla
  312. menu_off = 1
  313. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow'+rand(1,4)+'.jpg"></center>'
  314. 'You spend an hour herding the cows, watching out for any stragglers and driving them back to the herd. Instead of letting your grandfather do all the work, you roll up the sleeves and try to do most of the work yourself.'
  315. minut += 60
  316. if temper >= 25 and sunWeather = 1:
  317. pcs_hydra -= 12
  318. pcs_stam -= 8
  319. gs 'sweat', 'add', 10
  320. else
  321. pcs_hydra -= 6
  322. gs 'sweat', 'add', 5
  323. pcs_stam -= 5
  324. end
  325. grandpaQW['chore_herd_cattle_experience'] = 1
  326. if rand(0,1) = 1:grandmaQW['help_amount'] += rand(0,1)
  327. hndiwrk_exp += rand(0,3)
  328. gs 'stat'
  329. act 'Continue':gt'gadfield','cow2'
  330. end
  331. if temper >= 15 and sunWeather = 1 and mira = 0:
  332. act 'Swim (0:15)':
  333. *clr & cla
  334. menu_off = 1
  335. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_river.jpg"></center>'
  336. 'You spend a few minutes spashing around in the river, which feels cool and refreshing.'
  337. if deodorant_on = 1: gs 'sweat', 'remove_deo' & '<br>Your deodorant gets washed away in the water.'
  338. minut += 15
  339. cumspclnt = 4 & gs 'cum_cleanup'
  340. pcs_stam -= 3
  341. pcs_mood += 5
  342. if willday_swim ! daystart: willday_swim = daystart & pcs_willpwr += 1
  343. if pcs_stren < 30:stren_exp += 1
  344. gs 'stat'
  345. act 'Continue':gt'gadfield','cow2'
  346. end
  347. act 'Tan (0:30)':
  348. *clr & cla
  349. menu_off = 1
  350. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_sun.jpg"></center>'
  351. 'You lie down to sunbathe by the river, while Grandpa looks after the herd.'
  352. minut += 30
  353. gs 'sweat', 'add', 10
  354. pcs_mood += 5
  355. pcs_tan += 1
  356. gs 'stat'
  357. act 'Continue':gt'gadfield','cow2'
  358. end
  359. act 'Read a book (1:00)':
  360. *clr & cla
  361. menu_off = 1
  362. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_book'+rand(1,2)+'.jpg"></center>'
  363. minut += 60
  364. if temper >= 25 and sunWeather = 1:pcs_hydra -= 12
  365. if pcs_nerd > 0:
  366. lastread = totminut
  367. lastreadday = daystart
  368. pcs_nerd += 1
  369. blizoruk += 1
  370. pcs_mood = 100
  371. if pcs_stren > 1: stren_deg -= 1
  372. if pcs_vital > 5: vital_deg -= 1
  373. 'You start reading a book you brought with you. You are so engrossed in the story you forget about the time.'
  374. else
  375. blizoruk += 1
  376. pcs_mood += 10
  377. 'While reading the book, time flies by cause you are really engaged in the books'' plot.'
  378. end
  379. gs 'stat'
  380. act 'Close the book':gt 'gadfield','cow2'
  381. end
  382. end
  383. end
  384. if hour >= 16 and hour < 19:
  385. *clr & cla
  386. menu_off = 1
  387. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow_go.jpg"></center>'
  388. 'Looking at his watch, Grandpa says that it''s time to drive the herd over near the forest. The two of you begin to gather the herd and drive them toward the forest.'
  389. minut += 60
  390. if temper >= 25 and sunWeather = 1:
  391. pcs_hydra -= 12
  392. pcs_stam -= 8
  393. gs 'sweat', 'add', 10
  394. else
  395. pcs_hydra -= 6
  396. gs 'sweat', 'add', 5
  397. pcs_stam -= 5
  398. end
  399. if rand(0,1) = 1:grandmaQW['help_amount'] += rand(0,1)
  400. hndiwrk_exp += rand(0,3)
  401. gs 'stat'
  402. act 'Herd the cows nearer to the forest (0:30)': minut += 15 & gt'gadfield','cow3'
  403. end
  404. end
  405. end
  406. if $ARGS[0] = 'cow3':
  407. $loc = 'gadfield'
  408. $loc_arg = 'cow3'
  409. $location_type = 'secluded'
  410. $menu_loc = 'gadfield'
  411. $menu_arg = 'cow3'
  412. menu_off = 0
  413. gs 'gadukino_event', 'sound'
  414. gs'stat'
  415. '<center><H4>Field near the forest</H4></center>'
  416. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow_forest.jpg"></center>'
  417. 'The cattle herd is grazing in a field near the forest.'
  418. if mira = 1: MiraLoc = 43 & '<a href="exec: gt ''miroslava'', ''Start''">Mira</a> is sitting next to you.'
  419. if grandpaQW['chore_herd_cattle'] = 1:
  420. if hour < 19:
  421. act 'Herd cows with your grandfather (1:00)':
  422. *clr & cla
  423. menu_off = 1
  424. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow'+rand(1,4)+'.jpg"></center>'
  425. 'You spend an hour herding the cows, watching out for any stragglers and driving them back to the herd. Instead of letting your grandfather do all the work, you roll up the sleeves and try to do most of the work yourself.'
  426. minut += 60
  427. if temper >= 25 and sunWeather = 1:
  428. pcs_hydra -= 12
  429. pcs_stam -= 8
  430. gs 'sweat', 'add', 10
  431. else
  432. pcs_hydra -= 6
  433. gs 'sweat', 'add', 5
  434. pcs_stam -= 5
  435. end
  436. grandpaQW['chore_herd_cattle_experience'] = 1
  437. if rand(0,1) = 1:grandmaQW['help_amount'] += rand(0,1)
  438. hndiwrk_exp += rand(0,3)
  439. gs 'stat'
  440. act 'Continue':gt'gadfield','cow3'
  441. end
  442. if mira = 0:
  443. act 'Go for a run in the field (1:00)':
  444. *clr & cla
  445. menu_off = 1
  446. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_run.jpg"></center>'
  447. 'Since the cows are all behaving, you decide to spend some time jogging around the field.'
  448. frost = 0
  449. minut += 60
  450. fat -= 5
  451. run_exp += 1
  452. gs 'sweat', 'add', 10
  453. pcs_mood += 5
  454. pcs_stam -= 8
  455. if temper >= 25 and sunWeather = 1:
  456. pcs_hydra -= 24
  457. gs 'sweat', 'add', 12
  458. else
  459. pcs_hydra -= 18
  460. gs 'sweat', 'add', 10
  461. end
  462. gs 'stat'
  463. act 'Continue':gt'gadfield','cow3'
  464. end
  465. end
  466. if temper >= 15 and sunWeather = 1 and mira = 0:
  467. act 'Tan (1:00)':
  468. *clr & cla
  469. menu_off = 1
  470. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_sun.jpg"></center>'
  471. 'It''s sunny and warm outside, and since the cows are behaving, you decide to work on your tan for an hour.'
  472. minut += 60
  473. pcs_mood += 10
  474. pcs_tan += 1
  475. gs 'sweat', 'add', 5
  476. gs 'stat'
  477. act 'Continue':gt'gadfield','cow3'
  478. end
  479. if pcs_sleep < 40:
  480. act 'Take a nap (1:00)':
  481. *clr & cla
  482. menu_off = 1
  483. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_lying.jpg"></center>'
  484. 'You feel drowsy watching the cows stand around, so you lie down on the grass. You doze off and wake up about an hour later.'
  485. minut += 60
  486. pcs_mood += 10
  487. pcs_sleep+= 9
  488. if temper >= 25 and sunWeather = 1:pcs_hydra -= 12
  489. gs 'stat'
  490. act 'Continue':gt'gadfield','cow3'
  491. end
  492. end
  493. act 'Pick flowers (1:00)':
  494. *clr & cla
  495. menu_off = 1
  496. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_flowers.jpg"></center>'
  497. 'Keeping one eyes on the cattle, you spend an hour wandering the field, picking flowers.'
  498. minut += 60
  499. pcs_mood += 20
  500. pcs_stam -= 4
  501. if temper >= 25 and sunWeather = 1:
  502. pcs_hydra -= 8
  503. gs 'sweat', 'add', 5
  504. else
  505. pcs_hydra -= 5
  506. gs 'sweat', 'add', 3
  507. end
  508. gs 'stat'
  509. act 'Continue':gt'gadfield','cow3'
  510. end
  511. act 'Read a book (1:00)':
  512. *clr & cla
  513. menu_off = 1
  514. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/graze_cow_book'+rand(1,2)+'.jpg"></center>'
  515. minut += 60
  516. if temper >= 25 and sunWeather = 1:pcs_hydra -= 6
  517. if pcs_nerd > 0:
  518. lastread = totminut
  519. lastreadday = daystart
  520. pcs_nerd += 1
  521. blizoruk += 1
  522. pcs_mood = 100
  523. if pcs_stren > 1: stren_deg -= 1
  524. if pcs_vital > 5: vital_deg -= 1
  525. 'You start reading a book you brought with you. You are so engrossed in the story you forget about the time.'
  526. else
  527. blizoruk += 1
  528. pcs_mood += 10
  529. 'While reading the book, time flies by cause you are really engaged in the books'' plot.'
  530. end
  531. gs 'stat'
  532. act 'Close the book':gt 'gadfield','cow3'
  533. end
  534. end
  535. end
  536. if hour >= 19:
  537. *clr & cla
  538. menu_off = 1
  539. '<center><img <<$set_imgh>> src="images/locations/gadukino/village/cow_go_home.jpg"></center>'
  540. 'As sunset approaches, Grandpa says that it is late and time to drive the herd home. You hurry and gather up the cows and drive them back towards the village.'
  541. if temper >= 25 and sunWeather = 1:
  542. pcs_hydra -= 12
  543. pcs_stam -= 8
  544. gs 'sweat', 'add', 10
  545. else
  546. pcs_hydra -= 6
  547. gs 'sweat', 'add', 5
  548. pcs_stam -= 5
  549. end
  550. minut += 60
  551. mira = 0
  552. grandpaQW['chore_herd_cattle'] = 0
  553. grandmaQW['help_amount'] += 2
  554. hndiwrk_exp += rand(0,3)
  555. gs 'stat'
  556. act 'Back to the village':gt'gadukino'
  557. end
  558. end
  559. end
  560. --- gadfield ---------------------------------