gadforestlost.tw 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970
  1. :: gadforestlost[mod mod_gad]
  2. <<set $here = 'gadforestlost'>>
  3. <<set $ARGS = $location_var[$here]>>
  4. <!-- ! this file holds all the current code and events for player when lost-->
  5. <!-- ! it is structured like the normal gadforest file with similar actions and arguments but with unique events-->
  6. <<if $location_var[$here][0] == 'forest_outskirts'>>
  7. <<set $loc = 'gadforestlost'>>
  8. <<set $loc_arg = 'forest_outskirts'>>
  9. <<set $location_type = 'secluded'>>
  10. <<set $menu_loc = 'gadforestlost'>>
  11. <<set $menu_arg = 'forest_outskirts'>>
  12. <<set $menu_off = 0>>
  13. <<set $forest_args1 = 'forest_outskirts'>>
  14. <<gs 'gadukino_event' 'sound'>>
  15. <<gs 'gadforestlost' 'gadforestlost_picture'>>
  16. <!-- ! having a bonfire increases chances of being rescued and decreases chances of wolves attacking-->
  17. <<set $foresteventrand = rand(1,40)>>
  18. <<if $foresteventrand <= (2+(bonfire*5)) and $time.daystart >= $forest_lostday and $time.month >= 6 and $time.month <= 9 and $time.hour >= 8 and $time.hour <= 16 and $mushroom_pickersday != $time.daystart>>
  19. <<set $mushroom_pickers = 2>> <<gt 'gadforestlost' 'rescue' 'pickers' 'forest_outskirts'>>
  20. <</if>>
  21. <<if $foresteventrand <= (4+(bonfire*5)) and $time.daystart > $forest_lostday and $time.month >= 4 and $time.month <= 10 and (($time.hour >= 8 and $time.hour < 12) or ($time.hour >= 14 and $time.hour < 18)) and $time.daystart > $forest_lostday + 1>>
  22. <<gt 'gadforestlost' 'rescue' 'hunters' 'forest_outskirts'>>
  23. <</if>>
  24. <<if $foresteventrand <= (6+(bonfire*5)) and $time.daystart > $forest_lostday>>
  25. <<gt 'gadforestlost' 'rescue' 'ranger' 'forest_outskirts'>>
  26. <</if>>
  27. <<if $foresteventrand <= (8-(bonfire*5)) and ($time.hour < 6 or $time.hour > 22)>>
  28. <<gt 'gadforestlost' 'wolves' 'forest_outskirts'>>
  29. <</if>>
  30. <<gs 'gadforestlost' 'wander'>>
  31. <<act 'Relax here for a bit'>>
  32. <<gt 'gadforestlost' 'relax'>>
  33. <</act>>
  34. <<gs 'gadforestlost' 'picking'>>
  35. <</if>>
  36. <<if $location_var[$here][0] == 'forest_center'>>
  37. <<set $loc = 'gadforestlost'>>
  38. <<set $loc_arg = 'forest_center'>>
  39. <<set $location_type = 'secluded'>>
  40. <<set $menu_loc = 'gadforestlost'>>
  41. <<set $menu_arg = 'forest_center'>>
  42. <<set $menu_off = 0>>
  43. <<set $forest_args1 = 'forest_center'>>
  44. <<gs 'gadukino_event' 'sound'>>
  45. <<gs 'gadforestlost' 'gadforestlost_picture'>>
  46. <!-- ! having a bonfire increases chances of being rescued and decreases chances of wolves attacking-->
  47. <<set $foresteventrand = rand(1,40)>>
  48. <<if $foresteventrand <= (1+(bonfire*2)) and $time.daystart > $forest_lostday and $time.month >= 4 and $time.month <= 10 and (($time.hour >= 8 and $time.hour < 12) or ($time.hour >= 14 and $time.hour < 18)) and $time.daystart > $forest_lostday>>
  49. <<gt 'gadforestlost' 'rescue' 'hunters' 'forest_center'>>
  50. <</if>>
  51. <<if $foresteventrand <= (3+(bonfire*2)) and $time.daystart > $forest_lostday + 1>>
  52. <<gt 'gadforestlost' 'rescue' 'ranger' 'forest_center'>>
  53. <</if>>
  54. <<if $foresteventrand <= (8-(bonfire*2)) and ($time.hour < 6 or $time.hour > 22)>>
  55. <<gt 'gadforestlost' 'wolves' 'forest_center'>>
  56. <</if>>
  57. <<gs 'gadforestlost' 'wander'>>
  58. <<act 'Relax here for a bit'>>
  59. <<gt 'gadforestlost' 'relax'>>
  60. <</act>>
  61. <<gs 'gadforestlost' 'picking'>>
  62. <</if>>
  63. <!-- ! this gs handles the bushcraft increases, clothing degradation, while lost in the forest-->
  64. <!-- ! $larg(1) - location of forest where this is called from-->
  65. <!-- ! Example: gs 'gadforestlost', 'bushcraft', 'forest_outskirts'-->
  66. <<if $location_var[$here][0] == 'bushcraft'>>
  67. <<if $location_var[$here][1] == 'forest_outskirts'>>
  68. <<set $bushcraft_rand = 2>>
  69. <<set $bushcraft_lost = 20>>
  70. <<set $torncloth_high_bushcraft = 9>>
  71. <<set $torncloth_low_bushcraft = 7>>
  72. <<elseif $location_var[$here][1] == 'forest_center'>>
  73. <<set $bushcraft_rand = 3>>
  74. <<set $bushcraft_lost = 30>>
  75. <<set $torncloth_high_bushcraft = 8>>
  76. <<set $torncloth_low_bushcraft = 5>>
  77. <</if>>
  78. <!-- ! No limit on earning bushcraft while lost but still random-->
  79. <<run $pc.skillExperienceGain('bushcraft',rand(0,bushcraft_rand))>>
  80. <<set $ripclothesrand = rand(1,10)>>
  81. <<if $pc.skillLevel("bushcraft") < $bushcraft_limit>>
  82. <<if $ripclothesrand >= $torncloth_low_bushcraft>>
  83. <<gs 'gadforest' 'torncloth'>>
  84. <</if>>
  85. <<else>>
  86. <<if $ripclothesrand >= $torncloth_high_bushcraft>>
  87. <<gs 'gadforest' 'torncloth'>>
  88. <</if>>
  89. <</if>>
  90. <</if>>
  91. <!-- ! this gs handles Sveta trying to find her way in the forest when lost-->
  92. <!-- ! $forest_args1 - location of forest where this is called from-->
  93. <!-- ! Example: gs 'gadforestlost', 'wander'-->
  94. <<if $location_var[$here][0] == 'wander'>>
  95. <<if $time.dayStage < 4>>
  96. <<actCLA 'Wander trying to get your bearings (1:30)'>>
  97. <<set $menu_off = 1>>
  98. <<set $time.minutes += 90>>
  99. <<gs 'gadforestlost' 'bushcraft' $forest_args1>>
  100. <h2>Somewhere in the forest</h2>
  101. <<if $wardrobe.clothingworntype == 'nude'>>
  102. <<image "locations/gadukino/forest/gadforestsearch_nude0.#.jpg" 1 4>>
  103. <</if>>
  104. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.PCloSkirt == 0>>
  105. <<image "locations/gadukino/forest/gadforestsearch0.#.jpg" 1 4>>
  106. <</if>>
  107. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.PCloSkirt > 0>>
  108. <<image "locations/gadukino/forest/gadforestsearch_ski0.#.jpg" 1 4>>
  109. <</if>>
  110. <<if $pc.skillLevel("bushcraft") < $bushcraft_lost>>
  111. <<set $lostrand = rand(1,bushcraft_lost)>>
  112. <<if $pc.skillLevel("bushcraft") > $lostrand>>
  113. <<gt 'gadforestlost' 'finish' $forest_args1>>
  114. <<else>>
  115. After half an hour wandering around, you feel like all you've accomplished is walking in circles.
  116. <<actCLA 'Continue'>>
  117. <<gt 'gadforestlost' $forest_args1>>
  118. <</actCLA>>
  119. <</if>>
  120. <<else>>
  121. <<gt 'gadforestlost' 'finish' $forest_args1>>
  122. <</if>>
  123. <</actCLA>>
  124. <</if>>
  125. <</if>>
  126. <!-- ! $forest_args1 - location of forest where this is called from-->
  127. <!-- ! Example: gt 'gadforestlost', 'relax'-->
  128. <<if $location_var[$here][0] == 'relax'>>
  129. <<set $loc = 'gadforestlost'>>
  130. <<set $loc_arg = 'relax'>>
  131. <<set $location_type = 'secluded'>>
  132. <<set $menu_loc = 'gadforestlost'>>
  133. <<set $menu_arg = 'relax'>>
  134. <<set $menu_off = 0>>
  135. <<gs 'gadukino_event' 'sound'>>
  136. <<if $forest_args1 == 'forest_outskirts'>>
  137. <!-- ! having a bonfire increases chances of being rescued and decreases chances of wolves attacking-->
  138. <<set $foresteventrand = rand(1,30)>>
  139. <<if $foresteventrand <= (2+(bonfire*5)) and $time.daystart >= $forest_lostday and $time.month >= 6 and $time.month <= 9 and $time.hour >= 8 and $time.hour <= 16 and $mushroom_pickersday != $time.daystart>>
  140. <<set $mushroom_pickers = 2>> <<gt 'gadforestlost' 'rescue' 'pickers' $forest_args1>>
  141. <</if>>
  142. <<if $foresteventrand <= (4+(bonfire*5)) and $time.daystart > $forest_lostday and $time.month >= 4 and $time.month <= 10 and (($time.hour >= 8 and $time.hour < 12) or ($time.hour >= 14 and $time.hour < 18))>>
  143. <<gt 'gadforestlost' 'rescue' 'hunters' $forest_args1>>
  144. <</if>>
  145. <<if $foresteventrand <= (6+(bonfire*5)) and $time.daystart > $forest_lostday + 1>>
  146. <<gt 'gadforestlost' 'rescue' 'ranger' $forest_args1>>
  147. <</if>>
  148. <<elseif $forest_args1 == 'forest_center'>>
  149. <!-- ! having a bonfire increases chances of being rescued and decreases chances of wolves attacking-->
  150. <<set $foresteventrand = rand(1,40)>>
  151. <<if $foresteventrand <= (1+(bonfire*5)) and $time.daystart > $forest_lostday and $time.month >= 4 and $time.month <= 10 and (($time.hour >= 8 and $time.hour < 12) or ($time.hour >= 14 and $time.hour < 18))>>
  152. <<gt 'gadforestlost' 'rescue' 'hunters' $forest_args1>>
  153. <</if>>
  154. <<if $foresteventrand <= (3+(bonfire*5)) and $time.daystart > $forest_lostday + 1>>
  155. <<gt 'gadforestlost' 'rescue' 'ranger' $forest_args1>>
  156. <</if>>
  157. <</if>>
  158. <h2>Somewhere in the forest</h2>
  159. <<if $wardrobe.clothingworntype == 'nude'>>
  160. <<image "locations/gadukino/forest/gadforestrelax_nude#.jpg" 1 3>>
  161. <</if>>
  162. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.PCloSkirt == 0 and getvar("$bonfire") == 0>>
  163. <<image "locations/gadukino/forest/gadforestrelax1.jpg">>
  164. <</if>>
  165. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.PCloSkirt == 0 and getvar("$bonfire") == 1>>
  166. <<image "locations/gadukino/forest/gadforestrelax2.jpg">>
  167. <</if>>
  168. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.PCloSkirt > 0 and getvar("$bonfire") == 0>>
  169. <<image "locations/gadukino/forest/gadforestrelax_ski1.jpg">>
  170. <</if>>
  171. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.PCloSkirt > 0 and $wardrobe.isWearingPanties and getvar("$bonfire") == 1>>
  172. <<image "locations/gadukino/forest/gadforestrelax_ski2.jpg">>
  173. <</if>>
  174. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.PCloSkirt > 0 and !$wardrobe.isWearingPanties and getvar("$bonfire") == 1>>
  175. <<image "locations/gadukino/forest/gadforestrelax_ski3.jpg">>
  176. <</if>>
  177. You decide this is as good of place as any to stop and take a break.
  178. <<if getvar("$bonfire") == 0>>
  179. <font color="red">You should build a bonfire to increase the chance of being rescued and decrease the chance of being attacked by wolves.</font>
  180. <<else>>
  181. <font color="green">Your bonfire burns bright, increasing the chance of being rescued and decreasing the chance of being attacked by wolves.</font>
  182. <</if>>
  183. <<actCLA 'Explore the forest'>>
  184. <<gt 'gadforestlost' $forest_args1>>
  185. <</actCLA>>
  186. <<if getvar("$bonfire") == 0>>
  187. <<actCLA 'Build a fire (0:30)'>>
  188. <<set $menu_off = 1>>
  189. <<set $time.minutes += 30>>
  190. <<set $bonfire = 1>>
  191. <<image "locations/gadukino/forest/gadforestrelax_bonfire1.jpg">>
  192. After a few minutes, you are able to get a nice sized fire started.
  193. <<act 'Continue'>>
  194. <<gt 'gadforestlost' 'relax'>>
  195. <</act>>
  196. <</actCLA>>
  197. <<actCLA 'Sit and relax (1:00)'>>
  198. <<set $menu_off = 1>>
  199. <<set $time.minutes += 60>>
  200. <<if $wardrobe.clothingworntype == 'nude'>>
  201. <<image "locations/gadukino/forest/gadforestrelax_nude#.jpg" 1 2>>
  202. <</if>>
  203. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.PCloSkirt == 0>>
  204. <<image "locations/gadukino/forest/gadforestrelax3.jpg">>
  205. <</if>>
  206. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.isWearingPanties and $wardrobe.PCloSkirt > 0>>
  207. <<image "locations/gadukino/forest/gadforestrelax_ski4.jpg">>
  208. <</if>>
  209. <<if $wardrobe.clothingworntype != 'nude' and !$wardrobe.isWearingPanties and $wardrobe.PCloSkirt > 0>>
  210. <<image "locations/gadukino/forest/gadforestrelax_ski5.jpg">>
  211. <</if>>
  212. You spend half an hour relaxing, trying to pretend this is just like any other walk in the woods you've done.
  213. <<act 'Continue'>>
  214. <<gt 'gadforestlost' 'relax'>>
  215. <</act>>
  216. <</actCLA>>
  217. <<if $pc.pcs_sleep < 40>>
  218. <<actCLA 'Nap on the ground (2:00)'>>
  219. <<set $menu_off = 1>>
  220. <<set $time.minutes += 120>>
  221. <<set $pc.pcs_sleep += 20>>
  222. <<set $pc.pcs_health += 5>>
  223. <<set $pc.mood += 10>>
  224. <<if $wardrobe.clothingworntype == 'nude'>>
  225. <<image "locations/gadukino/forest/gadforestrelax_sleepnude1.#.jpg" 1 2>>
  226. <</if>>
  227. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.PCloSkirt == 0>>
  228. <<image "locations/gadukino/forest/gadforestrelax_sleep.jpg">>
  229. <</if>>
  230. <<if $wardrobe.clothingworntype != 'nude' and $wardrobe.isWearingPanties and $wardrobe.PCloSkirt > 0>>
  231. <<image "locations/gadukino/forest/gadforestrelax_sleepski.jpg">>
  232. <</if>>
  233. <<if $wardrobe.clothingworntype != 'nude' and !$wardrobe.isWearingPanties and $wardrobe.PCloSkirt > 0>>
  234. <<image "locations/gadukino/forest/gadforestrelax_sleepski1.jpg">>
  235. <</if>>
  236. You are able to make youself fall asleep for about 2 hours, but that is it. If you want to get a full nights sleep you will have to find a way out of the forest.
  237. Even though you had to sleep on the ground, you do wake up feeling a bit more hopeful and rested.
  238. <<act 'Continue'>>
  239. <<gt 'gadforestlost' 'relax'>>
  240. <</act>>
  241. <</actCLA>>
  242. <</if>>
  243. <<elseif getvar("$bonfire") == 1>>
  244. <<actCLA 'Warm up by the fire (1:00)'>>
  245. <<set $menu_off = 1>>
  246. <<set $time.minutes += 60>>
  247. <<if $pc.frost > 0>>
  248. <<setn $pc.frost -= 1>>
  249. <</if>>
  250. <<if $time.hour >= 6 and $time.hour < 21>>
  251. <<image "locations/gadukino/forest/gadforestrelax_bonfire2.jpg">>
  252. <<else>>
  253. <<image "locations/gadukino/forest/gadforestrelax_bonfire3.jpg">>
  254. <</if>>
  255. You spend half an hour huddled by the flames
  256. <<act 'Continue'>>
  257. <<gt 'gadforestlost' 'relax'>>
  258. <</act>>
  259. <</actCLA>>
  260. <<if $pc.pcs_sleep < 40>>
  261. <<actCLA 'Nap by the fire (2:00)'>>
  262. <<set $menu_off = 1>>
  263. <<set $time.minutes += 120>>
  264. <<set $pc.pcs_sleep += 20>>
  265. <<set $pc.pcs_health += 10>>
  266. <<set $pc.mood += 20>>
  267. <<set $pc.frost = 0>>
  268. <<image "locations/gadukino/forest/gadforestrelax_bonfiresleep.jpg">>
  269. You are able to make youself fall asleep for about 2 hours, but that is it. If you want to get a full nights sleep you will have to find a way out of the forest.
  270. Even though you had to sleep on the ground, you do wake up feeling a bit more hopeful and rested.
  271. <<act 'Continue'>>
  272. <<gt 'gadforestlost' 'relax'>>
  273. <</act>>
  274. <</actCLA>>
  275. <</if>>
  276. <<if getvar("$boletus") > 0>>
  277. <<actCLA 'Cook some mushrooms in the fire (0:15)'>>
  278. <<set $menu_off = 1>>
  279. <<set $time.minutes += 15>>
  280. <<set $boletus_cooked += 1>>
  281. <<set $boletus -= 1>>
  282. <<set $pc.frost = 0>>
  283. <<image "locations/gadukino/forest/boletushot.jpg">>
  284. You spend 15 minutes grilling some mushrooms in the fire.
  285. <<act 'Continue'>>
  286. <<gt 'gadforestlost' 'relax'>>
  287. <</act>>
  288. <</actCLA>>
  289. <</if>>
  290. <</if>>
  291. <<if getvar("$boletus_cooked") > 0>>
  292. <<actCLA 'Eat cooked mushrooms (0:15)'>>
  293. <<set $menu_off = 1>>
  294. <<set $time.minutes += 15>>
  295. <<set $boletus_cooked -= 1>>
  296. <<set $pc.pcs_health += 10>>
  297. <<set $pc.mood += 10>>
  298. <<set $pc.fat += 1>>
  299. <<set $pc.pcs_energy += 20>>
  300. <<image "locations/gadukino/forest/boletuscook.jpg">>
  301. You eat some cooked mushrooms. They are pretty tasty considering your circumstances.
  302. <<act 'Continue'>>
  303. <<gt 'gadforestlost' 'relax'>>
  304. <</act>>
  305. <</actCLA>>
  306. <</if>>
  307. <<if getvar("$bilberry") > 0>>
  308. <<actCLA 'Eat berries (0:15)'>>
  309. <<set $menu_off = 1>>
  310. <<set $time.minutes += 15>>
  311. <<set $bilberry -= 1>>
  312. <<set $pc.pcs_health += 10>>
  313. <<set $pc.mood += 10>>
  314. <<set $pc.fat += 1>>
  315. <<set $pc.pcs_energy += 10>>
  316. <<set $pc.pcs_hydra += 10>>
  317. <<image "locations/gadukino/forest/bilberry.jpg">>
  318. You eat some berries. These would be great to eat even if you weren''t lost.
  319. <<act 'Continue'>>
  320. <<gt 'gadforestlost' 'relax'>>
  321. <</act>>
  322. <</actCLA>>
  323. <</if>>
  324. <</if>>
  325. <!-- ! this gs handles mushroom and berry picking for Sveta in the various locations of the forest when she is lost-->
  326. <!-- ! $forest_args1 - location of forest where this is called from-->
  327. <!-- ! Example: gs 'gadforestlost', 'picking'-->
  328. <<if $location_var[$here][0] == 'picking'>>
  329. <<if $time.dayStage < 4 and $time.month >= 6 and $time.month <= 9 and $boletus + $boletus_cooked + getvar("$bilberry") < 5>>
  330. <<actCLA 'Look for mushrooms and berries (0:30)'>>
  331. <<set $menu_off = 1>>
  332. <<if $forest_args1 == 'forest_outskirts'>>
  333. <<set $outskirts_pickingday = $time.daystart>>
  334. <<set $mushroom_pickers_check = 2>>
  335. <<set $max_boletus = 2>>
  336. <<set $max_bilberry = 2>>
  337. <<elseif $forest_args1 == 'forest_center'>>
  338. <<set $center_pickingday = $time.daystart>>
  339. <<set $mushroom_pickers_check = 3>>
  340. <<set $max_boletus = 3>>
  341. <<set $max_bilberry = 3>>
  342. <</if>>
  343. <<set $time.minutes += 30>>
  344. <<set $new_boletus = 0>>
  345. <<set $new_bilberry = 0>>
  346. <<gs 'gadforestlost' 'bushcraft' $forest_args1>>
  347. <<if $wardrobe.clothingworntype == 'nude' and $pc.pcs_inhib < 50>>
  348. <<run $pc.skillExperienceGain('inhibition',rand(1,5))>>
  349. <</if>>
  350. <<if $mushroom_pickers != $mushroom_pickers_check>>
  351. <<set $new_boletus += $max_boletus>>
  352. <<set $new_bilberry += $max_bilberry>>
  353. <<set $boletus += $new_boletus>>
  354. <<set $bilberry += $new_bilberry>>
  355. <<set $pc.mood += 10>>
  356. <<gs 'gadforest' 'picking_clothes' $forest_args1 'berry'>>
  357. After searching for mushrooms and berries for half an hour you found <<new_boletus>> kg of mushrooms and <<new_bilberry>> kg of berries.
  358. <<elseif $mushroom_pickers == $mushroom_pickers_check>>
  359. <<set $new_boletus += rand(0,max_boletus)>>
  360. <<set $new_bilberry += rand(0,max_bilberry)>>
  361. <<set $boletus += $new_boletus>>
  362. <<set $bilberry += $new_bilberry>>
  363. <<if getvar("$new_boletus") > 0 and getvar("$new_bilberry") > 0>>
  364. <<set $pc.mood += 10>>
  365. <<gs 'gadforest' 'picking_clothes' $forest_args1 'berry'>>
  366. After searching for mushrooms and berries for half an hour you found <<new_boletus>> kg of mushrooms and <<new_bilberry>> kg of berries.
  367. <<elseif getvar("$new_boletus") == 0 and getvar("$new_bilberry") > 0>>
  368. <<set $pc.mood += 5>>
  369. <<gs 'gadforest' 'picking_clothes' $forest_args1 'berry'>>
  370. After searching for mushrooms and berries for half an hour you found <<new_bilberry>> kg of berries.
  371. <<elseif getvar("$new_boletus") > 0 and getvar("$new_bilberry") == 0>>
  372. <<set $pc.mood += 5>>
  373. <<gs 'gadforest' 'picking_clothes' $forest_args1 'mushroom'>>
  374. After searching for mushrooms and berries for half an hour you found <<new_boletus>> kg of mushrooms
  375. <<elseif getvar("$new_boletus") == 0 and getvar("$new_bilberry") == 0>>
  376. <<set $pc.mood -= 5>>
  377. <<gs 'gadforest' 'picking_clothes_empty' $forest_args1>>
  378. After searching for mushrooms and berries for half an hour you found nothing.
  379. <</if>>
  380. <</if>>
  381. <<actCLA 'Continue'>>
  382. <<gt 'gadforestlost' $forest_args1>>
  383. <</actCLA>>
  384. <</actCLA>>
  385. <</if>>
  386. <</if>>
  387. <!-- ! $larg(1) - location of forest where this is called from-->
  388. <<if $location_var[$here][0] == 'finish'>>
  389. <<set $menu_off = 1>>
  390. <<set $bonfire = 0>>
  391. <<set $pc.mood += 20>>
  392. <<run $pc.skillExperienceGain('bushcraft',rand(1,5))>>
  393. <<gs 'clothing' 'swamp_clothes' 0>>
  394. <h2>Somewhere in the forest</h2>
  395. <<image "locations/gadukino/forest/gadjoy.jpg">>
  396. After half an hour wandering around, you finally see some familiar sights.
  397. <<if $wardrobe.clothingworntype == 'nude'>>
  398. <<if $location_var[$here][1] == 'forest_outskirts'>>
  399. <<actCLA 'Continue'>>
  400. <<if getvar("$meadow") > 0>>
  401. <<set $foresteventrand = rand(1,3)>>
  402. <<else>>
  403. <<set $foresteventrand = rand(1,2)>>
  404. <</if>>
  405. <<if getvar("$foresteventrand") == 1>>
  406. <<setn $time.minutes += 15>> <<gt 'gadforest' 'forest_edge'>>
  407. <</if>>
  408. <<if getvar("$foresteventrand") == 2>>
  409. <<gt 'gadforest' 'forest_outskirts'>>
  410. <</if>>
  411. <<if getvar("$foresteventrand") == 3>>
  412. <<setn $time.minutes += 35>> <<gt 'meadow' 'start'>>
  413. <</if>>
  414. <</actCLA>>
  415. <<elseif $location_var[$here][1] == 'forest_center'>>
  416. <<actCLA 'Continue'>>
  417. <<if getvar("$hunterscabin") == 1 and getvar("$meadow") > 0>>
  418. <<set $foresteventrand = rand(1,5)>>
  419. <<elseif getvar("$meadow") > 0>>
  420. <<set $foresteventrand = rand(1,4)>>
  421. <<else>>
  422. <<set $foresteventrand = rand(1,3)>>
  423. <</if>>
  424. <<if getvar("$foresteventrand") == 1>>
  425. <<setn $time.minutes += 30>> <<gt 'gadforest' 'forest_edge'>>
  426. <</if>>
  427. <<if getvar("$foresteventrand") == 2>>
  428. <<setn $time.minutes += 15>> <<gt 'gadforest' 'forest_outskirts'>>
  429. <</if>>
  430. <<if getvar("$foresteventrand") == 3>>
  431. <<gt 'gadforest' 'forest_center'>>
  432. <</if>>
  433. <<if getvar("$foresteventrand") == 4>>
  434. <<setn $time.minutes += 50>> <<gt 'meadow' 'start'>>
  435. <</if>>
  436. <<if getvar("$foresteventrand") == 5>>
  437. <<setn $time.minutes += 30>> <<gt 'swamp_yard' 'start'>>
  438. <</if>>
  439. <</actCLA>>
  440. <</if>>
  441. <<else>>
  442. <<if $location_var[$here][1] == 'forest_outskirts'>>
  443. <<actCLA 'Continue'>>
  444. <<if getvar("$meadow") > 0>>
  445. <<set $foresteventrand = rand(1,6)>>
  446. <<else>>
  447. <<set $foresteventrand = rand(1,5)>>
  448. <</if>>
  449. <<if getvar("$foresteventrand") == 1>>
  450. <<setn $time.minutes += 15>> <<gt 'gadforest' 'forest_edge'>>
  451. <</if>>
  452. <<if getvar("$foresteventrand") == 2>>
  453. <<gt 'gadforest' 'forest_outskirts'>>
  454. <</if>>
  455. <<if getvar("$foresteventrand") == 3>>
  456. <<setn $time.minutes += 40>> <<gt 'gadfield' 'field'>>
  457. <</if>>
  458. <<if getvar("$foresteventrand") == 4>>
  459. <<setn $time.minutes += 30>> <<gt 'gadroad'>>
  460. <</if>>
  461. <<if getvar("$foresteventrand") == 5>>
  462. <<setn $time.minutes += 40>> <<gt 'gadriver' 'start'>>
  463. <</if>>
  464. <<if getvar("$foresteventrand") == 6>>
  465. <<setn $time.minutes += 35>> <<gt 'meadow' 'start'>>
  466. <</if>>
  467. <</actCLA>>
  468. <<elseif $location_var[$here][1] == 'forest_center'>>
  469. <<actCLA 'Continue'>>
  470. <<if getvar("$hunterscabin") == 1 and getvar("$meadow") > 0>>
  471. <<set $foresteventrand = rand(1,8)>>
  472. <<elseif getvar("$meadow") > 0>>
  473. <<set $foresteventrand = rand(1,7)>>
  474. <<else>>
  475. <<set $foresteventrand = rand(1,6)>>
  476. <</if>>
  477. <<if getvar("$foresteventrand") == 1>>
  478. <<setn $time.minutes += 30>> <<gt 'gadforest' 'forest_edge'>>
  479. <</if>>
  480. <<if getvar("$foresteventrand") == 2>>
  481. <<setn $time.minutes += 15>> <<gt 'gadforest' 'forest_outskirts'>>
  482. <</if>>
  483. <<if getvar("$foresteventrand") == 3>>
  484. <<gt 'gadforest' 'forest_center'>>
  485. <</if>>
  486. <<if getvar("$foresteventrand") == 4>>
  487. <<setn $time.minutes += 55>> <<gt 'gadfield' 'field'>>
  488. <</if>>
  489. <<if getvar("$foresteventrand") == 5>>
  490. <<setn $time.minutes += 45>> <<gt 'gadroad'>>
  491. <</if>>
  492. <<if getvar("$foresteventrand") == 6>>
  493. <<setn $time.minutes += 55>> <<gt 'gadriver' 'start'>>
  494. <</if>>
  495. <<if getvar("$foresteventrand") == 7>>
  496. <<setn $time.minutes += 50>> <<gt 'meadow' 'start'>>
  497. <</if>>
  498. <<if getvar("$foresteventrand") == 8>>
  499. <<setn $time.minutes += 30>> <<gt 'swamp_yard' 'start'>>
  500. <</if>>
  501. <</actCLA>>
  502. <</if>>
  503. <</if>>
  504. <</if>>
  505. <!-- ! $larg(1) - who is rescuing player-->
  506. <!-- ! $larg(2) - location of forest where this is called from-->
  507. <<if $location_var[$here][0] == 'rescue'>>
  508. <<set $menu_off = 1>>
  509. <<set $bonfire = 0>>
  510. <<set $pc.mood += 20>>
  511. <<run $pc.skillExperienceGain('bushcraft',rand(1,5))>>
  512. <<set $lost_girl = 0>>
  513. <<if getvar("$swamp_clothes") == 1>>
  514. You remove the terrible excuse for clothing the hunters gave you. You're sure you can find something better to wear at your grandparents house.
  515. <<gs 'clothing' 'strip' 'gadforest'>>
  516. <<gs 'clothing' 'swamp_clothes' 0>>
  517. <</if>>
  518. <<if $location_var[$here][1] == 'pickers'>>
  519. <<image "locations/gadukino/forest/mushroom_pickers2.jpg">>
  520. Suddenly you hear the sounds of people approaching. A group of pickers from the village appear out of the bushes.
  521. <<if getvar("$bonfire") == 1>>
  522. They notice your fire and praise you, "When lost, it's very smart if you stay in one place and make a fire. It will keep you warm, and make you visible to others."
  523. <</if>>
  524. <<if getvar("$grandmaQW['block']") == 0>>
  525. 'They walk up to you and say, "Your grandparents are very worried about you. They asked us to keep an eye out for you. Follow us, we will lead you back '+iif($wardrobe.clothingworntype ! 'nude','to their house."','to the edge of the forest."')
  526. <<if $wardrobe.clothingworntype != 'nude'>>
  527. <<if $location_var[$here][2] == 'forest_outskirts'>>
  528. <<actCLA 'Continue'>>
  529. <<set $time.minutes += 45>> <<gt 'gadhouse' 'start'>>
  530. <</actCLA>>
  531. <<elseif $location_var[$here][2] == 'forest_center'>>
  532. <<actCLA 'Continue'>>
  533. <<set $time.minutes += 60>> <<gt 'gadhouse' 'start'>>
  534. <</actCLA>>
  535. <</if>>
  536. <<else>>
  537. <<if $location_var[$here][2] == 'forest_outskirts'>>
  538. <<actCLA 'Continue'>>
  539. <<set $time.minutes += 15>> <<gt 'gadforest' 'forest_edge'>>
  540. <</actCLA>>
  541. <<elseif $location_var[$here][2] == 'forest_center'>>
  542. <<actCLA 'Continue'>>
  543. <<set $time.minutes += 30>> <<gt 'gadforest' 'forest_edge'>>
  544. <</actCLA>>
  545. <</if>>
  546. <</if>>
  547. <<else>>
  548. 'They walk up to you and say, "We heard there may have been a missing girl in the forest. Follow us, we will lead you back '+iif($wardrobe.clothingworntype ! 'nude','out of the forest."','to the edge of the forest."')
  549. <<if $wardrobe.clothingworntype != 'nude'>>
  550. <<if $location_var[$here][2] == 'forest_outskirts'>>
  551. <<actCLA 'Continue'>>
  552. <<set $time.minutes += 30>> <<gt 'gadroad'>>
  553. <</actCLA>>
  554. <<elseif $location_var[$here][2] == 'forest_center'>>
  555. <<actCLA 'Continue'>>
  556. <<set $time.minutes += 45>> <<gt 'gadroad'>>
  557. <</actCLA>>
  558. <</if>>
  559. <<else>>
  560. <<if $location_var[$here][2] == 'forest_outskirts'>>
  561. <<actCLA 'Continue'>>
  562. <<set $time.minutes += 15>> <<gt 'gadforest' 'forest_edge'>>
  563. <</actCLA>>
  564. <<elseif $location_var[$here][2] == 'forest_center'>>
  565. <<actCLA 'Continue'>>
  566. <<set $time.minutes += 30>> <<gt 'gadforest' 'forest_edge'>>
  567. <</actCLA>>
  568. <</if>>
  569. <</if>>
  570. <</if>>
  571. <<elseif $location_var[$here][1] == 'hunters'>>
  572. <<image "locations/gadukino/hunters/hanters.jpg">>
  573. <<set 'Suddenly you hear the sounds of people approaching. ' + iif(hunters_were_met = 1,'The hunters from the swamp ','A group of hunters ') + 'appear out of the bushes.'>>
  574. <<if getvar("$bonfire") == 1>>
  575. They notice your fire and praise you, "When lost, it's very smart if you stay in one place and make a fire. It will keep you warm, and make you visible to others."
  576. <</if>>
  577. <<if getvar("$grandmaQW['block']") == 0>>
  578. They walk up to you and say, "Your grandparents are very worried about you. They asked us to keep an eye out for you. Follow us, you can stay at our camp for the time being until someone can take you back."
  579. <<if $location_var[$here][2] == 'forest_outskirts'>>
  580. <<actCLA 'Continue'>>
  581. <<set $time.minutes += 45>> <<gt 'hunter_interactions' 'meet_hunters_after_rescue'>>
  582. <</actCLA>>
  583. <<else>>
  584. <<actCLA 'Continue'>>
  585. <<set $time.minutes += 30>> <<gt 'hunter_interactions' 'meet_hunters_after_rescue'>>
  586. <</actCLA>>
  587. <</if>>
  588. <<else>>
  589. They walk up to you and say, "We heard there may have been a missing girl in the forest. Follow us, you can stay at our camp for the time being until someone can take you back."
  590. <<if $location_var[$here][2] == 'forest_outskirts'>>
  591. <<actCLA 'Continue'>>
  592. <<set $time.minutes += 45>> <<gt 'hunter_interactions' 'meet_hunters_after_rescue'>>
  593. <</actCLA>>
  594. <<else>>
  595. <<actCLA 'Continue'>>
  596. <<set $time.minutes += 30>> <<gt 'hunter_interactions' 'meet_hunters_after_rescue'>>
  597. <</actCLA>>
  598. <</if>>
  599. <</if>>
  600. <<elseif $location_var[$here][1] == 'ranger'>>
  601. <<image "locations/gadukino/hunters/forester.jpg">>
  602. Suddenly you hear the sound of a person approaching. A man you vaguely recognize from the village appears out of the bushes.
  603. <<if getvar("$bonfire") == 1>>
  604. They notice your fire and praise you, "When lost, it's very smart if you stay in one place and make a fire. It will keep you warm, and make you visible to others."
  605. <</if>>
  606. <<if getvar("$grandmaQW['block']") == 0>>
  607. 'He walks up to you and says, "Your grandparents are very worried about you. They asked me to keep an eye out for you. Follow me, I will lead you back '+iif($wardrobe.clothingworntype ! 'nude','to their house."','to the edge of the forest."')
  608. <<if $wardrobe.clothingworntype != 'nude'>>
  609. <<if $location_var[$here][2] == 'forest_outskirts'>>
  610. <<actCLA 'Continue'>>
  611. <<set $time.minutes += 45>> <<gt 'gadhouse' 'start'>>
  612. <</actCLA>>
  613. <<elseif $location_var[$here][2] == 'forest_center'>>
  614. <<actCLA 'Continue'>>
  615. <<set $time.minutes += 60>> <<gt 'gadhouse' 'start'>>
  616. <</actCLA>>
  617. <<elseif $location_var[$here][2] == 'swamp_yard'>>
  618. <<actCLA 'Continue'>>
  619. <<set $time.minutes += 90>> <<gt 'gadhouse' 'start'>>
  620. <</actCLA>>
  621. <</if>>
  622. <<else>>
  623. <<if $location_var[$here][2] == 'forest_outskirts'>>
  624. <<actCLA 'Continue'>>
  625. <<set $time.minutes += 15>> <<gt 'gadforest' 'forest_edge'>>
  626. <</actCLA>>
  627. <<elseif $location_var[$here][2] == 'forest_center'>>
  628. <<actCLA 'Continue'>>
  629. <<set $time.minutes += 30>> <<gt 'gadforest' 'forest_edge'>>
  630. <</actCLA>>
  631. <<elseif $location_var[$here][2] == 'swamp_yard'>>
  632. <<actCLA 'Continue'>>
  633. <<set $time.minutes += 60>> <<gt 'gadforest' 'forest_edge'>>
  634. <</actCLA>>
  635. <</if>>
  636. <</if>>
  637. <<else>>
  638. 'He walks up to you and says, "I heard there may have been a missing girl in the forest. Follow me, I will lead you back '+iif($wardrobe.clothingworntype ! 'nude','out of the forest."','to the edge of the forest."')
  639. <<if $wardrobe.clothingworntype != 'nude'>>
  640. <<if $location_var[$here][2] == 'forest_outskirts'>>
  641. <<actCLA 'Continue'>>
  642. <<set $time.minutes += 30>> <<gt 'gadroad'>>
  643. <</actCLA>>
  644. <<elseif $location_var[$here][2] == 'forest_center'>>
  645. <<actCLA 'Continue'>>
  646. <<set $time.minutes += 45>> <<gt 'gadroad'>>
  647. <</actCLA>>
  648. <<elseif $location_var[$here][2] == 'swamp_yard'>>
  649. <<actCLA 'Continue'>>
  650. <<set $time.minutes += 75>> <<gt 'gadroad'>>
  651. <</actCLA>>
  652. <</if>>
  653. <<else>>
  654. <<if $location_var[$here][2] == 'forest_outskirts'>>
  655. <<actCLA 'Continue'>>
  656. <<set $time.minutes += 15>> <<gt 'gadforest' 'forest_edge'>>
  657. <</actCLA>>
  658. <<elseif $location_var[$here][2] == 'forest_center'>>
  659. <<actCLA 'Continue'>>
  660. <<set $time.minutes += 30>> <<gt 'gadforest' 'forest_edge'>>
  661. <</actCLA>>
  662. <<elseif $location_var[$here][2] == 'swamp_yard'>>
  663. <<actCLA 'Continue'>>
  664. <<set $time.minutes += 60>> <<gt 'gadforest' 'forest_edge'>>
  665. <</actCLA>>
  666. <</if>>
  667. <</if>>
  668. <</if>>
  669. <</if>>
  670. <</if>>
  671. <!-- ! $larg(1) - location of forest where this is called from-->
  672. <<if $location_var[$here][0] == 'wolves'>>
  673. <<set $menu_off = 1>>
  674. <<image "locations/gadukino/forest/howl.jpg">>
  675. Suddenly your hear a terrifying howl nearby.
  676. <<actCLA 'Run away'>>
  677. <<gs 'exercise' 'tier4' 1 'run'>>
  678. <<image "locations/gadukino/forest/run.jpg">>
  679. Instincts take over and you begin running without a second thought.
  680. <<if $location_var[$here][1] == 'forest_edge'>>
  681. <<if $pc.skillLevel("bushcraft") < 80 and $pc.skillLevel("agility") < 70 and $pc.skillLevel("strength") < 70 and getvar("$Enable_nogameover") == 0>>
  682. <<set $foresteventrand = rand(1,7)>>
  683. <<else>>
  684. <<set $foresteventrand = rand(1,6)>>
  685. <</if>>
  686. <<if getvar("$foresteventrand") <= 3>>
  687. <<run $pc.skillExperienceGain('bushcraft',rand(1,3))>>
  688. <<image "locations/gadukino/forest/run_end2.jpg">>
  689. You are successful in escaping the wolves, but unfortunately are still in the forest.
  690. <<elseif getvar("$foresteventrand") <= 6>>
  691. <<run $pc.skillExperienceGain('bushcraft',rand(1,5))>>
  692. <<image "locations/gadukino/forest/run_end1.jpg">>
  693. You are successful in escaping the wolves, and also are no longer in the forest.
  694. <<elseif getvar("$foresteventrand") <= 7>>
  695. <<run $pc.skillExperienceGain('bushcraft',rand(1,2))>>
  696. <<image "locations/gadukino/forest/horror.jpg">>
  697. The wolves are simply too fast and you cannot lose them. Suddenly you feel a sharp pain as a wolf bites your leg.
  698. <</if>>
  699. <<actCLA 'Continue'>>
  700. <<if getvar("$foresteventrand") <= 3>>
  701. <<gt 'gadforest' 'forest_edge'>>
  702. <</if>>
  703. <<if getvar("$foresteventrand") <= 4>>
  704. <<gt 'gadfield' 'field'>>
  705. <</if>>
  706. <<if getvar("$foresteventrand") <= 5>>
  707. <<gt 'gadroad'>>
  708. <</if>>
  709. <<if getvar("$foresteventrand") <= 6>>
  710. <<gt 'gadriver' 'start'>>
  711. <</if>>
  712. <<if getvar("$foresteventrand") <= 7>>
  713. <<set $pc.gameover= 11>> <<gt 'gameover'>>
  714. <</if>>
  715. <</actCLA>>
  716. <<elseif $location_var[$here][1] == 'forest_outskirts'>>
  717. <<if $pc.skillLevel("bushcraft") < 80 and $pc.skillLevel("agility") < 70 and $pc.skillLevel("strength") < 70 and getvar("$Enable_nogameover") == 0>>
  718. <<set $foresteventrand = rand(1,10)>>
  719. <<else>>
  720. <<set $foresteventrand = rand(1,9)>>
  721. <</if>>
  722. <<if getvar("$foresteventrand") <= 5>>
  723. <<run $pc.skillExperienceGain('bushcraft',rand(1,3))>>
  724. <<image "locations/gadukino/forest/run_end2.jpg">>
  725. You are successful in escaping the wolves, but unfortunately are still lost in the forest.
  726. <<elseif getvar("$foresteventrand") <= 9>>
  727. <<run $pc.skillExperienceGain('bushcraft',rand(1,5))>>
  728. <<image "locations/gadukino/forest/run_end1.jpg">>
  729. You are successful in escaping the wolves, and also are no longer lost as you recognize your surroundings.
  730. <<elseif getvar("$foresteventrand") <= 10>>
  731. <<run $pc.skillExperienceGain('bushcraft',rand(1,2))>>
  732. <<image "locations/gadukino/forest/horror.jpg">>
  733. The wolves are simply too fast and you cannot lose them. Suddenly you feel a sharp pain as a wolf bites your leg.
  734. <</if>>
  735. <<actCLA 'Continue'>>
  736. <<if getvar("$foresteventrand") <= 3>>
  737. <<gt 'gadforestlost' 'forest_outskirts'>>
  738. <</if>>
  739. <<if getvar("$foresteventrand") <= 5>>
  740. <<gt 'gadforest' 'forest_edge'>>
  741. <</if>>
  742. <<if getvar("$foresteventrand") <= 6>>
  743. <<gt 'gadforest' 'forest_outskirts'>>
  744. <</if>>
  745. <<if getvar("$foresteventrand") <= 7>>
  746. <<gt 'gadfield' 'field'>>
  747. <</if>>
  748. <<if getvar("$foresteventrand") <= 8>>
  749. <<gt 'gadroad'>>
  750. <</if>>
  751. <<if getvar("$foresteventrand") <= 9>>
  752. <<gt 'gadriver' 'start'>>
  753. <</if>>
  754. <<if getvar("$foresteventrand") <= 10>>
  755. <<set $pc.gameover= 11>> <<gt 'gameover'>>
  756. <</if>>
  757. <</actCLA>>
  758. <<elseif $location_var[$here][1] == 'forest_center'>>
  759. <<if $pc.skillLevel("bushcraft") < 80 and $pc.skillLevel("agility") < 70 and $pc.skillLevel("strength") < 70 and getvar("$Enable_nogameover") == 0>>
  760. <<set $foresteventrand = rand(1,13)>>
  761. <<else>>
  762. <<set $foresteventrand = rand(1,2)>>
  763. <</if>>
  764. <<if getvar("$foresteventrand") <= 6>>
  765. <<run $pc.skillExperienceGain('bushcraft',rand(1,3))>>
  766. <<image "locations/gadukino/forest/run_end2.jpg">>
  767. You are successful in escaping the wolves, but unfortunately are still lost in the forest.
  768. <<elseif getvar("$foresteventrand") <= 12>>
  769. <<run $pc.skillExperienceGain('bushcraft',rand(1,5))>>
  770. <<image "locations/gadukino/forest/run_end1.jpg">>
  771. You are successful in escaping the wolves, and also are no longer lost as you recognize your surroundings.
  772. <<elseif getvar("$foresteventrand") <= 13>>
  773. <<run $pc.skillExperienceGain('bushcraft',rand(1,2))>>
  774. <<image "locations/gadukino/forest/horror.jpg">>
  775. The wolves are simply too fast and you cannot lose them. Suddenly you feel a sharp pain as a wolf bites your leg.
  776. <</if>>
  777. <<actCLA 'Continue'>>
  778. <<if getvar("$foresteventrand") <= 2>>
  779. <<gt 'gadforestlost' 'forest_outskirts'>>
  780. <</if>>
  781. <<if getvar("$foresteventrand") <= 6>>
  782. <<gt 'gadforestlost' 'forest_center'>>
  783. <</if>>
  784. <<if getvar("$foresteventrand") <= 7>>
  785. <<gt 'gadforest' 'forest_edge'>>
  786. <</if>>
  787. <<if getvar("$foresteventrand") <= 8>>
  788. <<gt 'gadforest' 'forest_outskirts'>>
  789. <</if>>
  790. <<if getvar("$foresteventrand") <= 9>>
  791. <<gt 'gadforest' 'forest_center'>>
  792. <</if>>
  793. <<if getvar("$foresteventrand") <= 10>>
  794. <<gt 'gadfield' 'field'>>
  795. <</if>>
  796. <<if getvar("$foresteventrand") <= 11>>
  797. <<gt 'gadroad'>>
  798. <</if>>
  799. <<if getvar("$foresteventrand") <= 12>>
  800. <<gt 'gadriver' 'start'>>
  801. <</if>>
  802. <<if getvar("$foresteventrand") <= 13>>
  803. <<set $pc.gameover= 11>> <<gt 'gameover'>>
  804. <</if>>
  805. <</actCLA>>
  806. <<elseif $location_var[$here][1] == 'swamp'>>
  807. <<if $pc.skillLevel("bushcraft") < 80 and $pc.skillLevel("agility") < 70 and $pc.skillLevel("strength") < 70 and getvar("$Enable_nogameover") == 0>>
  808. <<set $foresteventrand = rand(1,14)>>
  809. <<else>>
  810. <<set $foresteventrand = rand(1,13)>>
  811. <</if>>
  812. <<if getvar("$foresteventrand") <= 8>>
  813. <<run $pc.skillExperienceGain('bushcraft',rand(1,3))>>
  814. <<image "locations/gadukino/forest/run_end2.jpg">>
  815. You are successful in escaping the wolves, but unfortunately are still lost in the forest.
  816. <<elseif getvar("$foresteventrand") <= 13>>
  817. <<run $pc.skillExperienceGain('bushcraft',rand(1,5))>>
  818. <<image "locations/gadukino/forest/run_end1.jpg">>
  819. You are successful in escaping the wolves, and also are no longer in the forest.
  820. <<elseif getvar("$foresteventrand") <= 14>>
  821. <<run $pc.skillExperienceGain('bushcraft',rand(1,2))>>
  822. <<image "locations/gadukino/forest/horror.jpg">>
  823. The wolves are simply too fast and you cannot lose them. Suddenly you feel a sharp pain as a wolf bites your leg.
  824. <</if>>
  825. <<actCLA 'Continue'>>
  826. <<if getvar("$foresteventrand") <= 4>>
  827. <<gt 'gadforest' 'forest_edge'>>
  828. <</if>>
  829. <<if getvar("$foresteventrand") <= 6>>
  830. <<gt 'gadforest' 'forest_outskirts'>>
  831. <</if>>
  832. <<if getvar("$foresteventrand") <= 8>>
  833. <<gt 'gadforest' 'forest_center'>>
  834. <</if>>
  835. <<if getvar("$foresteventrand") <= 9>>
  836. <<gt 'gadfield' 'field'>>
  837. <</if>>
  838. <<if getvar("$foresteventrand") <= 10>>
  839. <<gt 'gadroad'>>
  840. <</if>>
  841. <<if getvar("$foresteventrand") <= 11>>
  842. <<gt 'gadriver' 'start'>>
  843. <</if>>
  844. <<if getvar("$foresteventrand") <= 12>>
  845. <<gt 'swamp_yard' 'start'>>
  846. <</if>>
  847. <<if getvar("$foresteventrand") <= 13>>
  848. <<gt 'swamp_woods' 'start'>>
  849. <</if>>
  850. <<if getvar("$foresteventrand") <= 14>>
  851. <<set $pc.gameover= 11>> <<gt 'gameover'>>
  852. <</if>>
  853. <</actCLA>>
  854. <</if>>
  855. <</actCLA>>
  856. <</if>>
  857. <!-- ! this gs handles images for generic forest locations while lost-->
  858. <!-- ! Example: gs 'gadforestlost', 'gadforestlost_picture'-->
  859. <<if $location_var[$here][0] == 'gadforestlost_picture'>>
  860. <h2>Somewhere in the forest</h2>
  861. <<if $time.month >= 4 and $time.month <= 10>>
  862. <<if $time.dayStage < 4>>
  863. <<image "locations/gadukino/forest/gadforestlost0.#.jpg" 1 6>>
  864. You are lost in the woods. You don't recognize any of your surroundings and there aren''t any good landmarks to help pinpoint where you are.
  865. You would normally consider the woods a relaxing and scenic place, but are too stressed to appreciate the beauty of nature right now.
  866. <<else>>
  867. <<image "locations/gadukino/forest/gadforestlost_night0.#.jpg" 1 4>>
  868. You are lost in the woods. You don't recognize any of your surroundings and there aren''t any good landmarks to help pinpoint where you are.
  869. <font color="red">With nightfall, your chances of finding your way are practically nothing. You should stop and rest until daylight.</font>
  870. <</if>>
  871. <<else>>
  872. <<if $time.dayStage < 4>>
  873. <<image "locations/gadukino/forest/gadforestlost_winter0.#.jpg" 1 5>>
  874. You are lost in the woods. You don't recognize any of your surroundings and there aren''t any good landmarks to help pinpoint where you are.
  875. You would normally consider the woods a relaxing and scenic place, but are too stressed to appreciate the beauty of nature right now.
  876. <<else>>
  877. <<image "locations/gadukino/forest/gadforestlost_winter_night0.#.jpg" 1 4>>
  878. You are lost in the woods. You don't recognize any of your surroundings and there aren''t any good landmarks to help pinpoint where you are.
  879. <font color="red">With nightfall, your chances of finding your way are practically nothing. You should stop and rest until daylight.</font>
  880. <</if>>
  881. <</if>>
  882. <</if>>