gadforest.qsrc 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  1. # gadforest
  2. if $ARGS[0] = '1':
  3. PC_arrive = iif($loc ! 'Miroslava', 1 , 0)
  4. !out skirt
  5. $location_type = 'secluded'
  6. $metka = $ARGS[0]
  7. $loc = $CURLOC
  8. clothesAtLocation = FUNC('lost_clothes_here',$CURLOC)
  9. gs 'gadukino_event', 'sound'
  10. *clr & cla
  11. gs'stat'
  12. !gs'time'
  13. !MiaLoc tells us where Mira is Located
  14. !----------------------------------------------
  15. !MiraLoc = 0 (Mira at home)
  16. !MiraLoc = 1 (Mira at river)
  17. !MiraLoc = 2 (Mira at meadow)
  18. !MiraLoc = 3 (Mira at forest)
  19. !MiraLoc = 4 (Mira at field)
  20. !MiraLoc = 5 (Mira with gop)
  21. !---------------------------------------------
  22. if goforest < 20:goforest += rand(0,1)
  23. lost = 1
  24. !to determine the continuation of the way if he got lost
  25. lostrand = rand(1,30)
  26. !the chance to get lost
  27. foresteventrand = rand(1,20)
  28. new_boletus = 0
  29. new_bilberry = 0
  30. '<center><H4>Forest</H4></center>'
  31. if month >= 4 and month <= 10:
  32. if hour >= 6 and hour < 22:
  33. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest1.jpg"></center>'
  34. 'The edge of the forest. There are a few mushrooms and you can often see mushroom pickers.'
  35. else
  36. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_night1.jpg"></center>'
  37. 'The edge of the forest. Night in the woods is scary and uncomfortable.'
  38. end
  39. else
  40. if hour >= 8 and hour < 18:
  41. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter1.jpg"></center>'
  42. 'The edge of the forest. The forest in the winter is very beautiful.'
  43. else
  44. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter_night1.jpg"></center>'
  45. 'The edge of the forest. Night in the winter forest is very scary and uncomfortable.'
  46. end
  47. end
  48. 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>.'
  49. if MiraLoc = 3:'Near you wandering in the forest is <a href="exec: gt ''Miroslava'' ">Mira</a>.'
  50. if clothesAtLocation = 1:'On the ground lay your clothes.'
  51. if findvel = 2:'Near the tree is your old <a href="exec:gt ''bicycle'',''forest''">bike</a>.'
  52. if goforest < 10:'You don''t know this forest very well, it''s best if you don''t wander too far.'
  53. if PC_arrive = 1:
  54. if temper >= 15 and sunWeather = 1 and hour>=6 and hour<=20 and miratalkforest = 1:gt 'gadforest_event', 'nude_event'
  55. if foresteventrand < 3 and month >= 6 and month <= 9 and mushroom_pickersday ! daystart:mushroom_pickers = 1 & gt'gadforest_event', 'mushroom_pickers1'
  56. 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'
  57. if foresteventrand = 4 and month >= 6 and month <= 9: gt 'gadforest_event', 'mushroom_pickers2'
  58. 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'
  59. 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'
  60. 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'
  61. 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'
  62. 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'
  63. end
  64. 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 (inhib > 50 or exhibitionist_lvl > 1):
  65. act'Strip naked':
  66. if forestpicnic = 0:
  67. inhib_exp += rand(1,3)
  68. cla
  69. *clr
  70. minut+=5
  71. if CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/nudeforest.jpg"></center>'
  72. if CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/nudeforest1.'+rand(1,2)+'.jpg"></center>'
  73. gs 'underwear', 'remove'
  74. gs 'clothing', 'strip', 'gadforest'
  75. 'You don''t hesitate and quickly get undressed, your clothes are left laying in a pile.'
  76. act'Back':gt'gadforest','1'
  77. else
  78. cla
  79. *clr
  80. '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/noundress.jpg"></center>'
  81. 'You see a number of people you are ashamed of.'
  82. act'Back':gt'gadforest','1'
  83. end
  84. end
  85. end
  86. if clothesAtLocation = 1 and $clothingworntype = 'nude':
  87. act 'Dress':
  88. cla
  89. *clr
  90. minut += 5
  91. gs 'clothing', 'swamp_clothes', 0
  92. gs 'underwear', 'wear'
  93. gs 'clothing', 'recover_lost_clothes', 'gadforest', 1
  94. gs 'stat'
  95. if CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/nudeforest.jpg"></center>'
  96. if CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/nudeforest1.'+rand(1,2)+'.jpg"></center>'
  97. 'You change back into your clothes.'
  98. act 'Back': gt 'gadforest','1'
  99. end
  100. end
  101. !if he had gone from the forest and put in another place
  102. if clothesAtLocation = 1 and $clothingworntype ! 'nude':
  103. if $clothingworntype = 'cheap' and clothingwornnumber = 414:
  104. act 'Pick up the abandoned clothing':
  105. cla
  106. minut += 2
  107. gs 'clothing', 'swamp_clothes', 0
  108. gs 'clothing', 'recover_lost_clothes', 'gadforest', 1
  109. gs 'stat'
  110. *nl
  111. 'You pick up your abandoned clothing and change out of the hessian sack the hunters gave you.'
  112. act 'Back': gt 'gadforest','1'
  113. end
  114. else
  115. act 'Pick up the abandoned clothing':
  116. cla
  117. minut += 5
  118. gs 'clothing', 'swamp_clothes', 0
  119. gs 'clothing', 'recover_lost_clothes', 'gadforest'
  120. gs 'stat'
  121. *nl
  122. 'You pick up your abandoned clothing.'
  123. act 'Back': gt 'gadforest','1'
  124. end
  125. end
  126. end
  127. if hour >= 6 and hour <= 20 and sunWeather = 1:
  128. act 'Walking in the woods':
  129. cla
  130. *clr
  131. minut += 60
  132. pcs_mood += 20
  133. pcs_willpwr += willpowermax/5
  134. if $clothingworntype = 'nude':
  135. pcs_health += healthmax/5 & pcs_horny += 5
  136. inhib_exp += rand(1,5)
  137. end
  138. gs 'stat'
  139. if month >= 4 and month <= 10:
  140. if MiraLoc ! 3:
  141. if ($clothingworntype ! 'nude' and $clothingworntype ! 'swimwear') and CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest0.'+rand(1,2)+'.jpg"></center>'
  142. 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>'
  143. 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>'
  144. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest_nude0.'+rand(1,4)+'.jpg"></center>'
  145. 'You are walking through the woods, enjoying the sounds of forest and the fresh air.'
  146. else
  147. if $clothingworntype ! 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miraforest'+rand(1,3)+'.jpg"></center>'
  148. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miraforest_nude'+rand(1,3)+'.jpg"></center>'
  149. 'You walk with Mira through the woods, enjoying the sounds of the forest and the fresh air.'
  150. end
  151. else
  152. if MiraLoc ! 3:
  153. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforestwinter0.'+rand(1,2)+'.jpg"></center>'
  154. 'You walk through the winter woods, enjoying the sounds of the forest and the fresh air.'
  155. else
  156. '<center><img <<$set_imgh>> src="images/characters/village/mira/miraforestwinter.jpg"></center>'
  157. 'You walk with Mira through the winter woods, enjoying the sounds of the forest and the fresh air.'
  158. end
  159. end
  160. act 'Further':gt 'gadforest','1'
  161. end
  162. end
  163. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10 and edge_forestday ! daystart:
  164. act 'Look for mushrooms and berries':
  165. cla
  166. *clr
  167. minut += 30
  168. temp_gf = rand(1,2)
  169. edge_forestday = daystart
  170. if goforest < 20:goforest += rand(0,1)
  171. gs 'stat'
  172. if mushroom_pickers = 0 or mushroom_pickers = 2:
  173. cla
  174. new_boletus += rand(0,1)
  175. new_bilberry += 1
  176. boletus += new_boletus
  177. bilberry += new_bilberry
  178. pcs_mood += 5
  179. gs 'stat'
  180. gs 'gadforest', 'clothes1'
  181. if new_boletus = 0 and new_bilberry > 0:'You`re in for hours of wandering through the woods in search of mushrooms or berries and you found <<new_bilberry>> kg of berries.'
  182. if new_boletus > 0 and new_bilberry > 0:'You`re in for hours of wandering through the woods in search of mushrooms or berries and you found <<new_boletus>> kg mushrooms and <<new_bilberry>> kg of berries.'
  183. end
  184. if mushroom_pickers = 1 and temp_gf = 1:
  185. cla
  186. new_bilberry += rand(0,1)
  187. bilberry += new_bilberry
  188. gs 'stat'
  189. if new_bilberry > 0: gs 'gadforest', 'clothes1'
  190. if new_bilberry = 0: gs 'gadforest', 'clothes2'
  191. if new_bilberry > 0:'Within half an hour of wandering through the woods in search of mushrooms or berries, you found <<new_bilberry>> kg of berries.'
  192. if new_bilberry = 0:'You are wandering through the woods in search of mushrooms or berries for half an hour, but you found nothing.'
  193. end
  194. if mushroom_pickers = 1 and temp_gf = 2:
  195. cla
  196. pcs_mood -= 5
  197. gs 'stat'
  198. gs 'gadforest', 'clothes2'
  199. 'You are wandering through the woods in search of mushrooms or berries for half an hour, but found nothing.'
  200. end
  201. act 'Further':gt 'gadforest','1'
  202. end
  203. end
  204. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and MiraLoc ! 3:
  205. act 'Go further into the forest':
  206. if goforest >= lostrand:minut += 30 & gt 'gadforest','2'
  207. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  208. end
  209. end
  210. if goswamp = 1 and MiraLoc ! 3:
  211. if hour >= 6 and hour < 20:
  212. act 'Go to the swamp':
  213. minut += 75
  214. !random chance to swamp road. It a pity to use it only in lost. ps. use bike to 100% there by illume
  215. if goforest >= lostrand:
  216. gt 'swamp'
  217. else
  218. gt 'gadforestswamp','1'
  219. end
  220. end
  221. else
  222. act 'Go to the swamp':gt 'gadforest_event', 'swamp_road'
  223. end
  224. end
  225. act 'Out of the woods':
  226. dirtyclothes = 0
  227. gs 'clothing', 'swamp_clothes', 0
  228. if $clothingworntype = 'nude':
  229. if $CloLosTyp[$CURLOC] = '' or gadforest_clothestorn = 1:
  230. !no cloth here, it must be broken. There may be a good exhibi or rape event entry point.
  231. inhib_exp += rand(0,2)
  232. gadforest_clothestorn = 0
  233. 'You sneak out the woods, hiding your naked body in shadow and moving toward grandparents house.'
  234. 'You Successfully reach home without witness.'
  235. cla
  236. act 'Further':gt'Gadhouse'
  237. else
  238. '<B>You should dress before leave</B>'
  239. end
  240. else
  241. minut += 30 & gt'gadroad'
  242. end
  243. end
  244. if rand(1,10)> 9: gs 'gadforest', 'torncloth'
  245. gs 'stat'
  246. end
  247. if $ARGS[0] = '2':
  248. $location_type = 'secluded'
  249. !inside
  250. $metka = $ARGS[0]
  251. $loc = $CURLOC
  252. gs 'gadukino_event', 'sound'
  253. *clr & cla
  254. gs'stat'
  255. !gs'time'
  256. if goforest < 40:goforest += rand(0,1)
  257. lost = 2
  258. !to determine the continuation of the path YY lost
  259. lostrand = rand(1,60)
  260. !the chance to get lost
  261. foresteventrand = rand(1,10)
  262. new_boletus = 0
  263. new_bilberry = 0
  264. '<center><H4>Forest</H4></center>'
  265. if month >= 4 and month <= 10:
  266. if hour >= 6 and hour < 22:
  267. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest2.jpg"></center>'
  268. 'Forest. The intoxicating fresh air and singing birds light up your soul with joy.'
  269. else
  270. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_night2.jpg"></center>'
  271. 'Forest. Night in the woods is scary and uncomfortable.'
  272. end
  273. else
  274. if hour >= 8 and hour < 18:
  275. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter2.jpg"></center>'
  276. 'Forest. The forest in the winter is very beautiful, the fresh air makes you happy.'
  277. else
  278. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter_night2.jpg"></center>'
  279. 'Forest. Night in the winter forest is very scary and uncomfortable.'
  280. end
  281. end
  282. if goforest < 20:'You do not know this part of the forest, it''s better not to wander too far.'
  283. if foresteventrand = 1 and month >= 6 and month <= 9 and mushroom_pickersday ! daystart:mushroom_pickers = 2 & gt 'gadforest_event', 'mushroom_pickers1'
  284. if foresteventrand = 2 and hour > 8 and hour < 20 and foresteventday ! daystart:gt 'gadforest_event', 'forest_hanters'
  285. if foresteventrand > 7 and month >= 6 and month <= 9 and foresteventday ! daystart:mushroom_pickers = 2 & gt 'gadforest_event', 'mushroom_pickers3'
  286. act 'Back':
  287. lostrand = rand(1,30)
  288. if goforest >= lostrand:minut += 30 & gt 'gadforest','1'
  289. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  290. end
  291. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10 and forestday ! daystart:
  292. act 'Look for mushrooms and berries':
  293. cla
  294. *clr
  295. minut += 30
  296. temp_gf = rand(1,2)
  297. forestday = daystart
  298. if goforest < 40:goforest += rand(0,1)
  299. gs 'stat'
  300. if mushroom_pickers < 2:
  301. cla
  302. new_boletus += 1
  303. new_bilberry += rand(1,2)
  304. boletus += new_boletus
  305. bilberry += new_bilberry
  306. pcs_mood += 5
  307. gs 'stat'
  308. gs 'gadforest', 'clothes1'
  309. 'Within half an hour of wandering through the woods in search of mushrooms or berries, you found <<new_boletus>> kg mushrooms and <<new_bilberry>> kg of berries.'
  310. end
  311. if mushroom_pickers = 2 and temp_gf = 1:
  312. cla
  313. new_boletus += rand(0,1)
  314. new_bilberry += 1
  315. boletus += new_boletus
  316. bilberry += new_bilberry
  317. gs 'stat'
  318. if new_boletus > 0 or new_bilberry > 0: gs 'gadforest', 'clothes1'
  319. if new_boletus = 0 and new_bilberry > 0:'Within half an hour of wandering through the woods in search of mushrooms or berries, you found <<new_bilberry>> kg of berries.'
  320. if new_boletus > 0 and new_bilberry > 0:'Within half an hour of wandering through the woods in search of mushrooms or berries, you found <<new_boletus>> kg mushrooms and <<new_bilberry>> kg of berries.'
  321. end
  322. if mushroom_pickers = 2 and temp_gf = 2:
  323. cla
  324. pcs_mood -= 5
  325. gs 'stat'
  326. gs 'gadforest', 'clothes2'
  327. 'You are wandering through the woods in search of mushrooms or berries for half an hour, but found nothing.'
  328. end
  329. act 'Further':gt 'gadforest','2'
  330. end
  331. end
  332. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9:
  333. act 'Go further into the forest':
  334. if goforest >= lostrand:minut += 30 & gt 'gadforest','3'
  335. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  336. end
  337. end
  338. if rand(1,10)> 8: gs 'gadforest', 'torncloth'
  339. end
  340. if $ARGS[0] = '3':
  341. !deep forest
  342. $location_type = 'secluded'
  343. $metka = $ARGS[0]
  344. $loc = $CURLOC
  345. gs 'gadukino_event', 'sound'
  346. *clr & cla
  347. gs'stat'
  348. !gs'time'
  349. if goforest < 60:goforest += rand(0,1)
  350. lost = 3
  351. !to determine the continuation of the path YY lost
  352. lostrand = rand(1,100)
  353. !the chance to get lost
  354. foresteventrand = rand(1,10)
  355. new_boletus = 0
  356. new_bilberry = 0
  357. '<center><H4>Thicket</H4></center>'
  358. if month >= 4 and month <= 10:
  359. if hour >= 6 and hour < 22:
  360. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest3.jpg"></center>'
  361. 'Forest. The intoxicating fresh air and singing birds light up your soul with joy.'
  362. else
  363. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_night3.jpg"></center>'
  364. 'Forest. Night in the woods is scary and uncomfortable.'
  365. end
  366. else
  367. if hour >= 8 and hour < 18:
  368. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter3.jpg"></center>'
  369. 'Forest. The forest in the winter is very beautiful, the fresh air makes you happy.'
  370. else
  371. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter_night3.jpg"></center>'
  372. 'Forest. Night in the winter forest is very scary and uncomfortable.'
  373. end
  374. end
  375. if goforest < 30:'You do not know this part of the forest, it''s better not to wander too far.'
  376. if foresteventrand = 1 and month >= 6 and month <= 9 and foresteventday ! daystart: gt 'gadforest_event', 'basket'
  377. if foresteventrand = 2 and month >= 6 and month <= 9 and foresteventday ! daystart: gt 'gadforest_event', 'bilberry'
  378. if foresteventrand = 3 and foresteventday ! daystart: gt 'gadforest_event', 'mushroom'
  379. if foresteventrand = 4 and hour > 8 and hour < 20 and foresteventday ! daystart:gt 'gadforest_event', 'forest_hanters'
  380. act 'Back':
  381. lostrand = rand(1,60)
  382. if goforest >= lostrand:minut += 30 & gt 'gadforest','2'
  383. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  384. end
  385. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10 and thicketday ! daystart:
  386. act 'Look for mushrooms and berries':
  387. *clr & cla
  388. minut += 30
  389. thicketday = daystart
  390. if goforest < 60:goforest += rand(0,1)
  391. new_boletus += rand(1,2)
  392. new_bilberry += rand(1,2)
  393. boletus += new_boletus
  394. bilberry += new_bilberry
  395. pcs_mood += 5
  396. gs 'stat'
  397. gs 'gadforest', 'clothes1'
  398. 'Within half an hour of wandering through the woods in search of mushrooms or berries, you found <<new_boletus>> kg mushrooms and <<new_bilberry>> kg of berries.'
  399. act 'Further':gt 'gadforest','3'
  400. end
  401. end
  402. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9:
  403. act 'Go further into the forest':
  404. if goforest >= lostrand:minut += 30 & gt 'gadforest','4'
  405. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  406. end
  407. end
  408. if rand(1,10)> 6: gs 'gadforest', 'torncloth'
  409. end
  410. if $ARGS[0] = '4':
  411. !near swamp
  412. $location_type = 'secluded'
  413. $metka = $ARGS[0]
  414. $loc = $CURLOC
  415. gs 'gadukino_event', 'sound'
  416. *clr & cla
  417. gs'stat'
  418. !gs'time'
  419. if goforest < 80:goforest += rand(0,1)
  420. lost = 4
  421. !to determine the continuation of the path YY lost
  422. lostrand = rand(1,120)
  423. !the chance to get lost
  424. foresteventrand = rand(1,10)
  425. dirty = 0
  426. new_boletus = 0
  427. new_bilberry = 0
  428. '<center><H4>Woods near swamps</H4></center>'
  429. if month >= 4 and month <= 10:
  430. if hour >= 6 and hour < 22:
  431. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest4.jpg"></center>'
  432. 'Forest. The intoxicating fresh air and singing birds light up your soul with joy.'
  433. else
  434. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_night4.jpg"></center>'
  435. 'Forest. Night in the woods is scary and uncomfortable.'
  436. end
  437. else
  438. if hour >= 8 and hour < 18:
  439. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter4.jpg"></center>'
  440. 'Forest. The forest in the winter is very beautiful, the fresh air makes you happy.'
  441. else
  442. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforest_winter_night4.jpg"></center>'
  443. 'Forest. Night in the winter forest is very scary and uncomfortable.'
  444. end
  445. end
  446. if goforest < 60:'You do not know this part of the forest. It is better not to go too far in.'
  447. if foresteventrand < 2 and month >= 6 and month <= 9 and foresteventday ! daystart: gt 'gadforest_event', 'bilberry'
  448. if foresteventrand > 7 and month >= 6 and month <= 9 and foresteventday ! daystart: gt 'gadforest_event', 'mushroom'
  449. if foresteventrand = 5 and hour > 8 and hour < 20 and foresteventday ! daystart:gt 'gadforest_event', 'forest_hanters'
  450. act 'Back':
  451. lostrand = rand(1,100)
  452. if goforest >= lostrand:minut += 30 & gt 'gadforest','3'
  453. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  454. end
  455. if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10 and swampforest ! daystart:
  456. act 'Look for mushrooms and berries':
  457. cla
  458. *clr
  459. minut += 30
  460. swampforest = daystart
  461. if goforest < 80:goforest += rand(0,1)
  462. new_boletus += rand(1,2)
  463. new_bilberry += rand(2,3)
  464. boletus += new_boletus
  465. bilberry += new_bilberry
  466. pcs_mood += 5
  467. gs 'stat'
  468. gs 'gadforest', 'clothes1'
  469. 'Within half an hour of wandering through the woods in search of mushrooms or berries, you found <<new_boletus>> kg mushrooms and <<new_bilberry>> kg of berries.'
  470. act 'Further':gt 'gadforest','4'
  471. end
  472. end
  473. act 'Go further into the forest':
  474. if goforest >= lostrand and goswamp = 1:minut += 30 & gt 'swamp'
  475. if goforest >= lostrand and goswamp = 0:minut += 30 & gt 'gadforestswamp','1'
  476. if goforest < lostrand:gt 'gadforest', 'gadforestloststart'
  477. end
  478. if rand(1,10)> 7: gs 'gadforest', 'torncloth'
  479. end
  480. !dynamics to ARGS by illume
  481. if $ARGS[0] = 'clothes1':
  482. if MiraLoc ! 3:
  483. if $clothingworntype ! 'nude' and CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/mushroom1.jpg"></center>'
  484. if $clothingworntype ! 'nude' and $pantyworntype ! 'none' and CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/mushroom2.jpg"></center>'
  485. if $clothingworntype ! 'nude' and $pantyworntype = 'none' and CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/mushroom3.jpg"></center>'
  486. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/mushroom4.'+rand(1,3)+'.jpg"></center>'
  487. else
  488. if $clothingworntype ! 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miramushroom'+rand(1,2)+'.jpg"></center>'
  489. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miramushroom_nude'+rand(1,2)+'.jpg"></center>'
  490. end
  491. end
  492. if $ARGS[0] = 'clothes2':
  493. if MiraLoc ! 3:
  494. if $clothingworntype ! 'nude' and CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest2.jpg"></center>'
  495. if $clothingworntype ! 'nude' and $pantyworntype ! 'none' and CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest3.jpg"></center>'
  496. 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>'
  497. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gulforest_nude1.'+rand(1,4)+'.jpg"></center>'
  498. else
  499. if $clothingworntype ! 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miramushroom3.jpg"></center>'
  500. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/characters/village/mira/miramushroom_nude3.jpg"></center>'
  501. end
  502. end
  503. if $ARGS[0] = 'gadforestloststart':
  504. cla
  505. *clr
  506. !gs'time'
  507. gs 'stat'
  508. '<center><H4>Somewhere in the woods</H4></center>'
  509. if month >= 5 and month <= 9:
  510. if $clothingworntype ! 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadfear1.jpg"></center>'
  511. if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadfear2.jpg"></center>'
  512. else
  513. '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadfear3.jpg"></center>'
  514. end
  515. 'You suddenly realize in horror that you are not familiar with the area you are in... you get lost.'
  516. act 'Further':
  517. if lost = 1: gt 'gadforestlost','1'
  518. if lost = 2: gt 'gadforestlost','2'
  519. if lost = 3: gt 'gadforestlost','3'
  520. if lost = 4: gt 'gadforestlost','4'
  521. end
  522. !add for realistic, rescue in forest! by illume
  523. forest_lost = 1
  524. if StoryLine = 1: forest_lostday = daystart + rand(1,3)
  525. end
  526. if $ARGS[0] = 'torncloth':
  527. !the withdrawal strength of the garment, if not jeans. moved from gadforest 1 into args, and call in all forest by illume
  528. if $clothingworntype ! 'nude':
  529. if (PCloThinness = 1 or PCloSkirt > 0) and PCloQuality < 5:
  530. !skirts, not fit, and not high-class enough by illume
  531. 'Oops, your clothes get snagged and tears slightly.'
  532. dynamic $clothingworntype + 'H[<<clothingwornnumber>>] -= 1'
  533. !add remove cloth if worn out, need better texting by illume.
  534. if dyneval('RESULT = <<$clothingworntype>>H[<<clothingwornnumber>>]') <= 0:
  535. 'Your raggedy clothes have finally had enough and fall apart. You are naked now.'
  536. gadforest_clothestorn = 1
  537. gs 'clothing', 'strip', 'gadforest', 2
  538. end
  539. end
  540. end
  541. end
  542. --- gadforest ---------------------------------