gadforest.qsrc 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709
  1. # gadforest
  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] = '1':
  12. *clr & cla
  13. ! figure out if Sveta came from Mira code or not. events play out differently whether with Mira or not
  14. PC_arrive = iif($loc ! 'Miroslava', 1 , 0)
  15. ! edge of forest
  16. $loc = 'gadforest'
  17. $metka = '1'
  18. $location_type = 'secluded'
  19. $menu_loc = 'gadforest'
  20. $menu_arg = '1'
  21. menu_off = 0
  22. clothesAtLocation = FUNC('lost_clothes_here',$CURLOC)
  23. gs 'gadukino_event', 'sound'
  24. gs'stat'
  25. *clr & cla
  26. ! Add to knowledge of forest
  27. if goforest < 20:goforest += rand(0,1)
  28. ! chance to get lost
  29. lost = 1
  30. lostrand = rand(1,20)
  31. ! Determine where Sveta got lost in the forest
  32. foresteventrand = rand(1,20)
  33. new_boletus = 0
  34. new_bilberry = 0
  35. '<center><H4>Edge of the Forest</H4></center>'
  36. if month >= 4 and month <= 10:
  37. if hour >= 6 and hour < 22:
  38. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest1.jpg"></center>'
  39. 'Your are at the edge of the forest. Mushrooms and berries grow here and you can often find other people picking them.'
  40. else
  41. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_night1.jpg"></center>'
  42. 'You are at the edge of the forest. Night in the woods is scary and uncomfortable.'
  43. end
  44. else
  45. if hour >= 8 and hour < 18:
  46. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter1.jpg"></center>'
  47. 'You are at the edge of the forest. The forest in winter is very beautiful.'
  48. else
  49. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter_night1.jpg"></center>'
  50. 'You are at the edge of the forest. Night in the forest during wintertime is very scary and uncomfortable.'
  51. end
  52. end
  53. if forestpicnic = 1:'On the edge of the forest you see people. Apparently they are having a family <a href="exec:gt ''gadforest_event'',''picnic''">picnic</a>.'
  54. if MiraLoc = 3:'Nearby is <a href="exec: gt ''Miroslava'' ">Mira</a>.'
  55. if clothesAtLocation = 1:'Your clothes are nearby on the ground.'
  56. if findvel = 2:'Leaning up against a tree is your old <a href="exec:gt ''bicycle'',''forest''">bike</a>.'
  57. if goforest < 10:'You don''t know this part of the forest very well, it''s best if you don''t go any deeper into the woods.'
  58. ! Sveta arrive without Mira events
  59. if PC_arrive = 1:
  60. if temper >= 15 and sunWeather = 1 and hour>=6 and hour<=20 and miratalkforest = 1:gt 'gadforest_event', 'nude_event'
  61. if foresteventrand < 3 and month >= 6 and month <= 9 and mushroom_pickersday ! daystart:mushroom_pickers = 1 & gt'gadforest_event', 'mushroom_pickers1'
  62. if foresteventrand = 3 and month >= 5 and month <= 9 and temper >= 15 and sunWeather = 1 and week > 5 and forestpicnic = 0: forestpicnic = 1 & gt 'gadforest_event', 'picnic'
  63. if foresteventrand = 4 and month >= 6 and month <= 9: gt 'gadforest_event', 'mushroom_pickers2'
  64. if foresteventrand = 5 and hour >= 8 and hour <= 15 and month >= 4 and month <= 10 and gadboyday ! daystart and week <= 5: gt 'gadforest_event', 'gopforest_mitka'
  65. if foresteventrand = 6 and hour >= 8 and hour <= 18 and month >= 4 and month <= 10 and gadboyday ! daystart and week <= 5: gt 'gadforest_event', 'gopforest_kolyamba'
  66. if foresteventrand = 7 and hour >= 8 and hour <= 18 and month >= 4 and month <= 10 and gadboyday ! daystart and week <= 5: gt 'gadforest_event', 'gopforest_vasyan'
  67. if foresteventrand = 8 and hour >= 8 and hour <= 15 and month >= 4 and month <= 10 and gadboyday ! daystart and week > 5: gt 'gadforest_event', 'gopforest_2boys'
  68. if foresteventrand = 9 and hour >= 8 and hour <= 15 and month >= 4 and month <= 10 and gadboyday ! daystart and week > 5: gt 'gadforest_event', 'gopforest_3boys'
  69. end
  70. act 'Leave the woods':
  71. if $clothingworntype = 'nude':
  72. *clr & cla
  73. inhib_exp += rand(0,2)
  74. if hour >= 6 and hour < 22:
  75. if rand(0,100) > 50:
  76. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadukino_nude.jpg"></center>'
  77. else
  78. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadukino_back.jpg"></center>'
  79. end
  80. else
  81. if rand(0,100) > 50:
  82. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadukino_nude.jpg"></center>'
  83. else
  84. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadukino_back_night.jpg"></center>'
  85. end
  86. end
  87. if clothesAtLocation = 0:
  88. inhib_exp += rand(0,2)
  89. 'You seem to have misplaced your clothes! You have little choice but to sneak out the woods, hiding your naked body in shadow and moving toward your grandparents house. You wonder where you might have left your clothes.'
  90. elseif gadforest_clothestorn = 1:
  91. ! no clothes here, they must be ripped apart enough times in the woods or swamp to get destroyed.
  92. gadforest_clothestorn = 0
  93. 'Your clothes were torn to shreds in the woods, leaving you with no choice but to head back completely naked, hiding your naked body in shadow and move toward your grandparents house as stealthily as possible.'
  94. elseif clothesAtLocation = 1:
  95. 'You decide to stash your belongings and sneak out the woods completely naked, purely for the thrill of it, hiding your naked body in shadow and moving toward your grandparents house, avoiding any well lit areas.'
  96. end
  97. act 'Run back home naked':
  98. minut += 30
  99. gt'gadforest', 'caught'
  100. end
  101. elseif $clothingworntype = 'cheap' and clothingwornnumber = 414:
  102. if clothesAtLocation = 1:
  103. 'You should pickup your clothes and get dressed before you leave'
  104. end
  105. else
  106. minut += 30
  107. gs 'stat'
  108. gt 'gadroad'
  109. end
  110. end
  111. ! can only be naked if successfully complete Mira gadforest_event, nude_event
  112. if $clothingworntype ! 'nude' and clothesAtLocation = 0 and temper >= 15 and sunWeather = 1 and hour>=6 and hour<=20 and miratalkforest > 1 and MiraLoc ! 3 and (pcs_inhib >= 25 or exhibitionist_lvl > 1):
  113. act'Strip naked':
  114. if forestpicnic = 0:
  115. cla
  116. *clr
  117. menu_off = 1
  118. if pcs_inhib < 50:inhib_exp += rand(1,3)
  119. minut += 5
  120. if CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/nudeforest.jpg"></center>'
  121. if CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/nudeforest1.'+rand(1,2)+'.jpg"></center>'
  122. gs 'underwear', 'remove'
  123. gs 'clothing', 'strip', 'gadforest'
  124. gs 'exhibitionism', 3
  125. gs 'stat'
  126. 'You don''t hesitate and quickly get undressed, your clothes are left laying in a pile.'
  127. act'Continue':gt'gadforest','1'
  128. else
  129. cla
  130. *clr
  131. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/noundress.jpg"></center>'
  132. 'You see a number of people nearby and decide not to undress right now.'
  133. act'Continue':gt'gadforest','1'
  134. end
  135. end
  136. end
  137. if clothesAtLocation = 1 and $clothingworntype = 'nude':
  138. act 'Get dressed':
  139. cla
  140. *clr
  141. menu_off = 1
  142. minut += 5
  143. gs 'clothing', 'swamp_clothes', 0
  144. gs 'underwear', 'wear'
  145. gs 'clothing', 'recover_lost_clothes', 'gadforest', 1
  146. gs 'stat'
  147. if CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/nudeforest.jpg"></center>'
  148. if CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/nudeforest1.'+rand(1,2)+'.jpg"></center>'
  149. 'You change back into your clothes.'
  150. act 'Back': gt 'gadforest','1'
  151. end
  152. end
  153. ! if Sveta left the forest without retrieving her clothes
  154. if clothesAtLocation = 1 and $clothingworntype ! 'nude':
  155. if $clothingworntype = 'cheap' and clothingwornnumber = 414:
  156. act 'Pick up your abandoned clothing':
  157. cla
  158. menu_off = 1
  159. minut += 2
  160. gs 'clothing', 'swamp_clothes', 0
  161. gs 'underwear', 'wear'
  162. gs 'clothing', 'recover_lost_clothes', 'gadforest', 1
  163. gs 'stat'
  164. *nl
  165. 'You pick up your abandoned clothing and change out of the hessian sack the hunters gave you.'
  166. act 'Back': gt 'gadforest','1'
  167. end
  168. else
  169. act 'Pick up your abandoned clothing':
  170. cla
  171. menu_off = 1
  172. minut += 5
  173. gs 'clothing', 'swamp_clothes', 0
  174. gs 'underwear', 'wear'
  175. gs 'clothing', 'recover_lost_clothes', 'gadforest'
  176. gs 'stat'
  177. *nl
  178. 'You pick up your abandoned clothing.'
  179. act 'Back': gt 'gadforest','1'
  180. end
  181. end
  182. end
  183. if hour >= 6 and hour <= 20 and sunWeather = 1:
  184. act 'Go for a walk in the woods':
  185. cla
  186. *clr
  187. menu_off = 1
  188. minut += 60
  189. pcs_mood += 20
  190. if $clothingworntype = 'nude':
  191. pcs_health += healthmax/5 & pcs_horny += 5
  192. inhib_exp += rand(1,5)
  193. end
  194. gs 'stat'
  195. if month >= 4 and month <= 10:
  196. if MiraLoc ! 3:
  197. if ($clothingworntype ! 'nude' and $clothingworntype ! 'swimwear') and CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest0.'+rand(1,2)+'.jpg"></center>'
  198. if ($clothingworntype ! 'nude' and $clothingworntype ! 'swimwear') and $pantyworntype ! 'none' and CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest1.'+rand(1,3)+'.jpg"></center>'
  199. if ($clothingworntype ! 'nude' and $clothingworntype ! 'swimwear') and $pantyworntype = 'none' and CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest_tanga0.'+rand(1,2)+'.jpg"></center>'
  200. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest_nude0.'+rand(1,4)+'.jpg"></center>'
  201. 'You are walking through the woods, enjoying the sounds of the forest and the fresh air.'
  202. else
  203. if $clothingworntype ! 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miraforest'+rand(1,3)+'.jpg"></center>'
  204. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miraforest_nude'+rand(1,3)+'.jpg"></center>'
  205. 'You walk with Mira through the woods, enjoying the sounds of the forest and the fresh air.'
  206. end
  207. else
  208. if MiraLoc ! 3:
  209. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforestwinter0.'+rand(1,2)+'.jpg"></center>'
  210. 'You walk through the snowy woods, enjoying the sounds of the forest and the fresh air.'
  211. else
  212. '<center><img <<$set_imgh>> src="images/characters/village/mira/miraforestwinter.jpg"></center>'
  213. 'You walk with Mira through the snowy woods, enjoying the sounds of the forest and the fresh air.'
  214. end
  215. end
  216. act 'Continue':gt 'gadforest','1'
  217. end
  218. end
  219. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10 and edge_forestday ! daystart:
  220. act 'Look for mushrooms and berries':
  221. cla
  222. *clr
  223. menu_off = 1
  224. minut += 30
  225. temp_gf = rand(1,2)
  226. edge_forestday = daystart
  227. if goforest < 20:goforest += rand(0,1)
  228. gs 'stat'
  229. ! no mushroom pickers or mushroom pickers moved deeper into the forest
  230. if mushroom_pickers = 0 or mushroom_pickers = 2:
  231. cla
  232. new_boletus += rand(0,1)
  233. new_bilberry += 1
  234. boletus += new_boletus
  235. bilberry += new_bilberry
  236. pcs_mood += 5
  237. gs 'stat'
  238. gs 'gadforest', 'clothes1'
  239. if new_boletus = 0 and new_bilberry > 0:'After searching for mushrooms and berries for half an hour you found <<new_bilberry>> kg of berries.'
  240. if new_boletus > 0 and new_bilberry > 0:'After searching for mushrooms and berries for half an hour you found <<new_boletus>> kg of mushrooms and <<new_bilberry>> kg of berries.'
  241. end
  242. ! mushroom pickers are at the edge of the forest
  243. if mushroom_pickers = 1 and temp_gf = 1:
  244. cla
  245. new_bilberry += rand(0,1)
  246. bilberry += new_bilberry
  247. gs 'stat'
  248. if new_bilberry > 0: gs 'gadforest', 'clothes1'
  249. if new_bilberry = 0: gs 'gadforest', 'clothes2'
  250. if new_bilberry > 0:'After searching for mushrooms and berries for half an hour you found <<new_bilberry>> kg of berries.'
  251. if new_bilberry = 0:'After searching for mushrooms and berries for half an hour you found nothing.'
  252. end
  253. if mushroom_pickers = 1 and temp_gf = 2:
  254. cla
  255. pcs_mood -= 5
  256. gs 'stat'
  257. gs 'gadforest', 'clothes2'
  258. 'After searching for mushrooms and berries for half an hour you found nothing.'
  259. end
  260. act 'Continue':gt 'gadforest','1'
  261. end
  262. end
  263. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and MiraLoc ! 3:
  264. act 'Go further into the forest':
  265. if goforest >= lostrand:minut += 30 & gt 'gadforest','2'
  266. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  267. end
  268. end
  269. if goswamp = 1 and MiraLoc ! 3:
  270. ! day time chance to get stuck in swamp. ps. use bike to get there 100% of the time by illume
  271. if hour >= 6 and hour < 20:
  272. act 'Go to the swamp':
  273. minut += 75
  274. if goforest >= lostrand:
  275. gt 'swamp'
  276. else
  277. gt 'gadforestswamp','1'
  278. end
  279. end
  280. ! night time chased by wolves
  281. else
  282. act 'Go to the swamp':gt 'gadforest_event', 'swamp_road'
  283. end
  284. end
  285. if rand(1,10)> 9: gs 'gadforest', 'torncloth'
  286. gs 'stat'
  287. end
  288. if $ARGS[0] = 'caught':
  289. *clr & cla
  290. menu_off = 1
  291. caught_rand = rand(0, 100)
  292. if caught_rand > 90:
  293. inhib_exp += rand(0,3)
  294. grandma_trouble += rand(7,10)
  295. gs 'arousal', 'voyeur', 10, 'exhibitionism'
  296. gs 'arousal', 'end'
  297. gs 'stat'
  298. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadukino_old_woman.jpg"></center>'
  299. 'You''ve been spotted walking home naked by all the women of the village. They are all sitting there scolding you. Your grandparents are definitely going to find out about this.'
  300. elseif caught_rand > 70:
  301. inhib_exp += rand(0,4)
  302. grandma_trouble += rand(1,3)
  303. gs 'arousal', 'voyeur', 10, 'exhibitionism'
  304. gs 'arousal', 'end'
  305. gs 'stat'
  306. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadukino_old_woman'+rand(1,5)+'.jpg"></center>'
  307. 'You''ve been spotted walking home naked by a woman from the village. You want to hope she doesn''t tell your grandparents.'
  308. elseif caught_rand > 50:
  309. inhib_exp += rand(0,3)
  310. grandma_trouble += rand(1,3)
  311. gs 'arousal', 'voyeur', 10, 'exhibitionism'
  312. gs 'arousal', 'end'
  313. gs 'stat'
  314. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadukino_old_man'+rand(1,5)+'.jpg"></center>'
  315. 'You''ve been spotted walking home naked by a man from the village. You want to hope he doesn''t tell your grandparents.'
  316. else
  317. grandma_trouble += rand(0,1)
  318. gs 'arousal', 'voyeur', 10, 'exhibitionism'
  319. gs 'arousal', 'end'
  320. gs 'stat'
  321. '<center><img <<$set_imgh>> src="images/locations/gadukino/grandparents/gaddvor_nude.jpg"></center>'
  322. 'Luckily no one saw you outside naked, but there''s a thrill in almost getting caught.'
  323. end
  324. act 'Continue': gt'Gaddvor'
  325. end
  326. if $ARGS[0] = '2':
  327. *clr & cla
  328. ! slightly inside forest
  329. $loc = 'gadforest'
  330. $metka = '2'
  331. $location_type = 'secluded'
  332. $menu_loc = 'gadforest'
  333. $menu_arg = '2'
  334. menu_off = 0
  335. gs 'gadukino_event', 'sound'
  336. gs'stat'
  337. ! Add to knowledge of forest
  338. if goforest < 40:goforest += rand(0,1)
  339. ! Determine where Sveta got lost in the forest
  340. lost = 2
  341. ! chance to get lost
  342. lostrand = rand(1,60)
  343. foresteventrand = rand(1,10)
  344. new_boletus = 0
  345. new_bilberry = 0
  346. '<center><H4>Forest</H4></center>'
  347. if month >= 4 and month <= 10:
  348. if hour >= 6 and hour < 22:
  349. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest2.jpg"></center>'
  350. 'You are in the forest. The fresh air and singing birds light up your soul with joy.'
  351. else
  352. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_night2.jpg"></center>'
  353. 'You are in the forest. Night in the woods is scary and uncomfortable.'
  354. end
  355. else
  356. if hour >= 8 and hour < 18:
  357. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter2.jpg"></center>'
  358. 'You are in the forest. The forest in the winter is very beautiful, the fresh air makes you happy.'
  359. else
  360. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter_night2.jpg"></center>'
  361. 'You are in the forest. Night in the forest during wintertime is very scary and uncomfortable.'
  362. end
  363. end
  364. if goforest < 20:'You don''t know this part of the forest very well, it''s best if you don''t go any deeper into the woods.'
  365. if foresteventrand = 1 and month >= 6 and month <= 9 and mushroom_pickersday ! daystart:mushroom_pickers = 2 & gt 'gadforest_event', 'mushroom_pickers1'
  366. if foresteventrand = 2 and hour > 8 and hour < 20 and foresteventday ! daystart:gt 'gadforest_event', 'forest_hunters'
  367. if foresteventrand > 7 and month >= 6 and month <= 9 and foresteventday ! daystart:mushroom_pickers = 2 & gt 'gadforest_event', 'mushroom_pickers3'
  368. act 'To the edge of the forest':
  369. lostrand = rand(1,30)
  370. if goforest >= lostrand:minut += 30 & gt 'gadforest','1'
  371. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  372. end
  373. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10 and forestday ! daystart:
  374. act 'Look for mushrooms and berries':
  375. cla
  376. *clr
  377. menu_off = 1
  378. minut += 30
  379. temp_gf = rand(1,2)
  380. forestday = daystart
  381. if goforest < 40:goforest += rand(0,1)
  382. gs 'stat'
  383. ! mushroom_pickers either not seen today or still at the edge of the forest
  384. if mushroom_pickers < 2:
  385. cla
  386. new_boletus += 1
  387. new_bilberry += rand(1,2)
  388. boletus += new_boletus
  389. bilberry += new_bilberry
  390. pcs_mood += 5
  391. gs 'stat'
  392. gs 'gadforest', 'clothes1'
  393. 'After searching for mushrooms and berries for half an hour you found <<new_boletus>> kg of mushrooms and <<new_bilberry>> kg of berries.'
  394. end
  395. if mushroom_pickers = 2 and temp_gf = 1:
  396. cla
  397. new_boletus += rand(0,1)
  398. new_bilberry += 1
  399. boletus += new_boletus
  400. bilberry += new_bilberry
  401. gs 'stat'
  402. if new_boletus > 0 or new_bilberry > 0: gs 'gadforest', 'clothes1'
  403. if new_boletus = 0 and new_bilberry > 0:'After searching for mushrooms and berries for half an hour you found <<new_bilberry>> kg of berries.'
  404. if new_boletus > 0 and new_bilberry > 0:'After searching for mushrooms and berries for half an hour you found <<new_boletus>> kg of mushrooms and <<new_bilberry>> kg of berries.'
  405. end
  406. if mushroom_pickers = 2 and temp_gf = 2:
  407. cla
  408. pcs_mood -= 5
  409. gs 'stat'
  410. gs 'gadforest', 'clothes2'
  411. 'After searching for mushrooms and berries for half an hour you found nothing.'
  412. end
  413. act 'Continue':gt 'gadforest','2'
  414. end
  415. end
  416. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9:
  417. act 'Go further into the forest':
  418. if goforest >= lostrand:minut += 30 & gt 'gadforest','3'
  419. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  420. end
  421. end
  422. if rand(1,10)> 8: gs 'gadforest', 'torncloth'
  423. end
  424. if $ARGS[0] = '3':
  425. *clr & cla
  426. ! deep inside forest
  427. $loc = 'gadforest'
  428. $metka = '3'
  429. $location_type = 'secluded'
  430. $menu_loc = 'gadforest'
  431. $menu_arg = '3'
  432. menu_off = 0
  433. gs 'gadukino_event', 'sound'
  434. gs'stat'
  435. ! Add to knowledge of forest
  436. if goforest < 60:goforest += rand(0,1)
  437. lost = 3
  438. ! Determine where Sveta got lost in the forest
  439. lostrand = rand(1,100)
  440. ! chance to get lost
  441. foresteventrand = rand(1,10)
  442. new_boletus = 0
  443. new_bilberry = 0
  444. '<center><H4>Deep Forest</H4></center>'
  445. if month >= 4 and month <= 10:
  446. if hour >= 6 and hour < 22:
  447. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest3.jpg"></center>'
  448. 'You are deep in the forest. The fresh air and singing birds light up your soul with joy.'
  449. else
  450. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_night3.jpg"></center>'
  451. 'You are deep in the forest. Night in the woods is scary and uncomfortable.'
  452. end
  453. else
  454. if hour >= 8 and hour < 18:
  455. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter3.jpg"></center>'
  456. 'You are deep in the forest. The forest in the winter is very beautiful, the fresh air makes you happy.'
  457. else
  458. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter_night3.jpg"></center>'
  459. 'You are deep in the forest. Night in the forest during wintertime is very scary and uncomfortable.'
  460. end
  461. end
  462. if goforest < 30:'You don''t know this part of the forest very well, it''s best if you don''t go any deeper into the woods.'
  463. if foresteventrand = 1 and month >= 6 and month <= 9 and foresteventday ! daystart: gt 'gadforest_event', 'basket'
  464. if foresteventrand = 2 and month >= 6 and month <= 9 and foresteventday ! daystart: gt 'gadforest_event', 'bilberry'
  465. if foresteventrand = 3 and foresteventday ! daystart: gt 'gadforest_event', 'mushroom'
  466. if foresteventrand = 4 and hour > 8 and hour < 20 and foresteventday ! daystart:gt 'gadforest_event', 'forest_hunters'
  467. act 'Go back to the forest':
  468. lostrand = rand(1,60)
  469. if goforest >= lostrand:minut += 30 & gt 'gadforest','2'
  470. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  471. end
  472. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10 and thicketday ! daystart:
  473. act 'Look for mushrooms and berries':
  474. *clr & cla
  475. menu_off = 1
  476. minut += 30
  477. thicketday = daystart
  478. if goforest < 60:goforest += rand(0,1)
  479. new_boletus += rand(1,2)
  480. new_bilberry += rand(1,2)
  481. boletus += new_boletus
  482. bilberry += new_bilberry
  483. pcs_mood += 5
  484. gs 'stat'
  485. gs 'gadforest', 'clothes1'
  486. 'After searching for mushrooms and berries for half an hour you found <<new_boletus>> kg of mushrooms and <<new_bilberry>> kg of berries.'
  487. act 'Continue':gt 'gadforest','3'
  488. end
  489. end
  490. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9:
  491. act 'Go further into the forest':
  492. if goforest >= lostrand:minut += 30 & gt 'gadforest','4'
  493. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  494. end
  495. end
  496. if rand(1,10)> 6: gs 'gadforest', 'torncloth'
  497. end
  498. if $ARGS[0] = '4':
  499. *clr & cla
  500. ! forest near swamp
  501. $loc = 'gadforest'
  502. $metka = '4'
  503. $location_type = 'secluded'
  504. $menu_loc = 'gadforest'
  505. $menu_arg = '4'
  506. menu_off = 0
  507. gs 'gadukino_event', 'sound'
  508. gs'stat'
  509. ! Add to knowledge of forest
  510. if goforest < 80:goforest += rand(0,1)
  511. lost = 4
  512. ! Determine where Sveta got lost in the forest
  513. lostrand = rand(1,120)
  514. ! chance to get lost
  515. foresteventrand = rand(1,10)
  516. dirty = 0
  517. new_boletus = 0
  518. new_bilberry = 0
  519. '<center><H4>Forest near the Swamp</H4></center>'
  520. if month >= 4 and month <= 10:
  521. if hour >= 6 and hour < 22:
  522. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest4.jpg"></center>'
  523. 'You are in the forest near the swamp. The fresh air and singing birds light up your soul with joy.'
  524. else
  525. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_night4.jpg"></center>'
  526. 'Forest. Night in the woods is scary and uncomfortable.'
  527. end
  528. else
  529. if hour >= 8 and hour < 18:
  530. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter4.jpg"></center>'
  531. 'You are in the forest near the swamp. The forest in the winter is very beautiful, the fresh air makes you happy.'
  532. else
  533. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter_night4.jpg"></center>'
  534. 'You are in the forest near the swamp. Night in the forest during wintertime is very scary and uncomfortable.'
  535. end
  536. end
  537. if goforest < 60:'You don''t know this part of the forest very well, it''s best if you don''t go any deeper into the woods.'
  538. if foresteventrand < 2 and month >= 6 and month <= 9 and foresteventday ! daystart: gt 'gadforest_event', 'bilberry'
  539. if foresteventrand > 7 and month >= 6 and month <= 9 and foresteventday ! daystart: gt 'gadforest_event', 'mushroom'
  540. if foresteventrand = 5 and hour > 8 and hour < 20 and foresteventday ! daystart:gt 'gadforest_event', 'forest_hunters'
  541. act 'Go back to the deep woods':
  542. lostrand = rand(1,100)
  543. if goforest >= lostrand:minut += 30 & gt 'gadforest','3'
  544. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  545. end
  546. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10 and swampforest ! daystart:
  547. act 'Look for mushrooms and berries':
  548. cla
  549. *clr
  550. menu_off = 1
  551. minut += 30
  552. swampforest = daystart
  553. if goforest < 80:goforest += rand(0,1)
  554. new_boletus += rand(1,2)
  555. new_bilberry += rand(2,3)
  556. boletus += new_boletus
  557. bilberry += new_bilberry
  558. pcs_mood += 5
  559. gs 'stat'
  560. gs 'gadforest', 'clothes1'
  561. 'After searching for mushrooms and berries for half an hour you found <<new_boletus>> kg of mushrooms and <<new_bilberry>> kg of berries.'
  562. act 'Continue':gt 'gadforest','4'
  563. end
  564. end
  565. act 'Go further into the swamp':
  566. if goforest >= lostrand and goswamp = 1:minut += 30 & gt 'swamp'
  567. if goforest >= lostrand and goswamp = 0:minut += 30 & gt 'gadforestswamp','1'
  568. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  569. end
  570. if rand(1,10)> 7: gs 'gadforest', 'torncloth'
  571. end
  572. !dynamics to ARGS by illume
  573. if $ARGS[0] = 'clothes1':
  574. if MiraLoc ! 3:
  575. if $clothingworntype ! 'nude' and CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/mushroom1.jpg"></center>'
  576. if $clothingworntype ! 'nude' and $pantyworntype ! 'none' and CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/mushroom2.jpg"></center>'
  577. if $clothingworntype ! 'nude' and $pantyworntype = 'none' and CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/mushroom3.jpg"></center>'
  578. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/mushroom4.'+rand(1,3)+'.jpg"></center>'
  579. else
  580. if $clothingworntype ! 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miramushroom'+rand(1,2)+'.jpg"></center>'
  581. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miramushroom_nude'+rand(1,2)+'.jpg"></center>'
  582. end
  583. end
  584. if $ARGS[0] = 'clothes2':
  585. if MiraLoc ! 3:
  586. if $clothingworntype ! 'nude' and CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest2.jpg"></center>'
  587. if $clothingworntype ! 'nude' and $pantyworntype ! 'none' and CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest3.jpg"></center>'
  588. if $clothingworntype ! 'nude' and $pantyworntype = 'none' and CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest_tanga1.'+rand(1,2)+'.jpg"></center>'
  589. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest_nude1.'+rand(1,4)+'.jpg"></center>'
  590. else
  591. if $clothingworntype ! 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miramushroom3.jpg"></center>'
  592. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miramushroom_nude3.jpg"></center>'
  593. end
  594. end
  595. if $ARGS[0] = 'gadforestloststart':
  596. cla
  597. *clr
  598. menu_off = 1
  599. gs 'stat'
  600. '<center><H4>Somewhere in the woods</H4></center>'
  601. if month >= 5 and month <= 9:
  602. if $clothingworntype ! 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadfear1.jpg"></center>'
  603. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadfear2.jpg"></center>'
  604. else
  605. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadfear3.jpg"></center>'
  606. end
  607. 'You suddenly realize in horror that you are not familiar with the area you are in... you are lost!.'
  608. act 'Look for a way out':
  609. if lost = 1: gt 'gadforestlost','1'
  610. if lost = 2: gt 'gadforestlost','2'
  611. if lost = 3: gt 'gadforestlost','3'
  612. if lost = 4: gt 'gadforestlost','4'
  613. end
  614. ! add for rescue in forest by illume
  615. forest_lost = 1
  616. if StoryLine = 1: forest_lostday = daystart + rand(1,3)
  617. end
  618. if $ARGS[0] = 'torncloth':
  619. menu_off = 1
  620. gs 'stat'
  621. !the withdrawal strength of the garment, if not jeans. moved from gadforest 1 into args, and call in all forest by illume
  622. if $clothingworntype ! 'nude':
  623. if (PCloThinness = 1 or PCloSkirt > 0) and PCloQuality < 5:
  624. !skirts, not fit, and not high-class enough by illume
  625. 'Oops, your clothes get snagged and tear slightly.'
  626. dynamic $clothingworntype + 'H[<<clothingwornnumber>>] -= 1'
  627. !add remove clothes if worn out
  628. if dyneval('RESULT = <<$clothingworntype>>H[<<clothingwornnumber>>]') <= 0:
  629. 'Your ripped clothes were barely holding together, but now they have finally fell apart. You are naked now.'
  630. gadforest_clothestorn = 1
  631. gs 'clothing', 'strip', 'gadforest', 2
  632. end
  633. end
  634. end
  635. end
  636. --- gadforest ---------------------------------