123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327 |
- # gadforestlost
- !make this trigger after 2 days in swamp house, minus a countdown per hour
- if $ARGS[0] = 'forestrescue':
- !rescue in forest by illume. I think we need good texts.
- cls
- minut += 150
- lost_girl = 0
- dirtyclothes = 0 & swamp_clothes = 0
- forest_lostday = 0
- hanters = 0
- gs 'stat'
- '<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/forester.jpg"></center>'
- 'You wander in the forest trying to find your way out, suddenly you spot a man dressed as a forest ranger.'
- '"And here is our lost girl." he said wearily, "Your grandfather and grandmother are very worried about you. They asked me to help find you. Follow me, I will take you home."'
- if $loc = 'gadforestrelax':
- !rescued during rest
- if bonfire = 1:
- !have fire
- 'When lost, it''s very smart if you stay in one place and make a fire. It will keep you warm, and make you visable to others.'
- else
- 'Staying in one place is a good idea when you are lost.'
- end
- end
- 'You get ready quickly and you follow the forest ranger out of the woods.'
- if $clothingworntype ! 'nude':
- act 'Further':gt'Gadhouse'
- elseif $clothingworntype = 'nude':
- act 'Further':gt'gadforest', '1'
- end
- end
- if $ARGS[0] = '1':
- if StoryLine = 1 and forest_lostday > 0 and daystart > forest_lostday and rand(1,10)> 7: gt 'gadforestlost', 'forestrescue' & !add rescue by illume
- $location_type = 'secluded'
- $metka = $ARGS[0]
- $loc = $CURLOC
- gs 'gadukino_event', 'sound'
- cla
- *clr
- wolfrand = rand(1,10)
- hantrand = rand(1,10)
- gs'stat'
- !gs'time'
- gs 'gadforestlost', 'gadforestlost'
- if wolfrand = 1 and (hour = 23 or hour >= 0 and hour < 6):gt 'gadforest_event', 'lost'
- act 'Look for the road':
- cla
- *clr
- minut += 60
- pcs_mood -= 5
- goforest += rand(0,1)
- lostrand = rand(1,40)
- gs 'stat'
- gs 'gadforestlost', 'lostclothes'
- if goforest > lostrand:
- act 'Look for the road':gs 'gadforestlost', 'gadforestlostfinish1'
- else
- act 'Look for the road':gt 'gadforestlost','1'
- end
- act 'To take a break':gt 'gadforestrelax'
- end
- if rand(1,10)> 8: gs 'gadforest', 'torncloth'
- gs 'gadforestlost', 'searchfood'
- end
- if $ARGS[0] = '2':
- if StoryLine = 1 and forest_lostday > 0 and daystart > forest_lostday and rand(1,10)> 8: gt 'gadforestlost', 'forestrescue' & !add rescue by illume
- $location_type = 'secluded'
- $metka = $ARGS[0]
- $loc = $CURLOC
- gs 'gadukino_event', 'sound'
- cls
- wolfrand = rand(1,10)
- gs'stat'
- !gs'time'
- gs 'gadforestlost', 'gadforestlost'
- if wolfrand <= 2 and (hour = 23 or hour >= 0 and hour < 6):gt 'gadforest_event', 'lost'
- if hantrand = 1 and hour > 8 and hour < 20 :forest_lost = 1 & gt 'gadforest_event', 'forest_hanters'
- act 'Look for the road':
- cla
- *clr
- minut += 60
- pcs_mood -= 5
- goforest += rand(0,1)
- lostrand = rand(1,120)
- gs 'stat'
- gs 'gadforestlost', 'lostclothes'
- if goforest > lostrand:
- act 'Look for the road ':gs 'gadforestlost', 'gadforestlostfinish2'
- else
- act 'Look for the road':gt 'gadforestlost','2'
- end
- act 'To take a break':gt 'gadforestrelax'
- end
- if rand(1,10)> 7: gs 'gadforest', 'torncloth'
- gs 'gadforestlost', 'searchfood'
- end
- if $ARGS[0] = '3':
- if StoryLine = 1 and forest_lostday > 0 and daystart > forest_lostday and rand(1,10)> 9: gt 'gadforestlost', 'forestrescue' & !add rescue by illume
- $location_type = 'secluded'
- $metka = $ARGS[0]
- $loc = $CURLOC
- gs 'gadukino_event', 'sound'
- cls
- wolfrand = rand(1,10)
- gs'stat'
- !gs'time'
- gs 'gadforestlost', 'gadforestlost'
- if wolfrand <= 3 and (hour = 23 or hour >= 0 and hour < 6):gt 'gadforest_event', 'lost'
- if hantrand = 1 and hour > 8 and hour < 20 :forest_lost = 1 & gt 'gadforest_event', 'forest_hanters'
- act 'Look for the road':
- cla
- *clr
- minut += 60
- pcs_mood -= 5
- goforest += rand(0,1)
- lostrand = rand(1,180)
- gs 'stat'
- gs 'gadforestlost', 'lostclothes'
- if goforest > lostrand:
- act 'Look for the road ':gs 'gadforestlost', 'gadforestlostfinish3'
- else
- act 'Look for the road':gt 'gadforestlost','3'
- end
- act 'To take a break':gt 'gadforestrelax'
- end
- if rand(1,10)> 6: gs 'gadforest', 'torncloth'
- gs 'gadforestlost', 'searchfood'
- end
- if $ARGS[0] = '4':
- if StoryLine = 1 and forest_lostday > 0 and daystart > forest_lostday and rand(1,10)> 9: gt 'gadforestlost', 'forestrescue' & !add rescue by illume
- $location_type = 'secluded'
- $metka = $ARGS[0]
- $loc = $CURLOC
- gs 'gadukino_event', 'sound'
- cls
- wolfrand = rand(1,10)
- gs'stat'
- !gs'time'
- gs 'gadforestlost', 'gadforestlost'
- if wolfrand <= 4 and (hour = 23 or hour >= 0 and hour < 6):gt 'gadforest_event', 'lost'
- if hantrand = 1 and hour > 8 and hour < 20 :forest_lost = 1 & gt 'gadforest_event', 'forest_hanters'
- act 'Look for the road':
- cla
- *clr
- minut += 60
- pcs_mood -= 5
- goforest += rand(0,1)
- lostrand = rand(1,300)
- temp = rand(1,10)
- gs 'stat'
- gs 'gadforestlost', 'lostclothes'
- act 'Look for the road ':
- if goforest > lostrand: gs 'gadforestlost', 'gadforestlostfinish4'
- if goforest < lostrand and temp > 7:gt 'gadforestswamp','1'
- if goforest < lostrand and temp <= 7:gt 'gadforestlost','4'
- end
- act 'To take a break':gt 'gadforestrelax'
- end
- if rand(1,10)> 7: gs 'gadforest', 'torncloth'
- gs 'gadforestlost', 'searchfood'
- end
- if $ARGS[0] = 'gadforestlost':
- '<center><H4>Forest</H4></center>'
- if month >= 4 and month <= 10:
- if hour >= 6 and hour < 22:
- '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforestlost0.'+rand(1,6)+'.jpg"></center>'
- 'You get lost in the woods. All around, you see unfamiliar places, you are too stressed to appreciate the beauty of nature right now.'
- else
- '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforestlost_night0.'+rand(1,4)+'.jpg"></center>'
- 'You get lost in the woods. The situation becomes even worse, because it''s now night time.'
- end
- else
- if hour >= 8 and hour < 18:
- '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforestlost_winter0.'+rand(1,5)+'.jpg"></center>'
- 'You get lost in the winter woods. All around, you see unfamiliar places, you are too stressed to appreciate the beauty of nature right now.'
- else
- '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforestlost_winter_night0.'+rand(1,4)+'.jpg"></center>'
- 'You get lost in the winter woods. The situation becomes even worse, because it''s now night time.'
- end
- end
- end
- if $ARGS[0] = 'lostclothes':
- if $clothingworntype ! 'nude' and CloSkirtShortness = 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforestsearch0.'+rand(1,4)+'.jpg"></center>'
- if $clothingworntype ! 'nude' and CloSkirtShortness > 0:'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforestsearch_ski0.'+rand(1,4)+'.jpg"></center>'
- if $clothingworntype = 'nude':'<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadforestsearch_nude0.'+rand(1,4)+'.jpg"></center>'
- 'Within an hour of wandering through the woods you decide....'
- end
- if $ARGS[0] = 'gadforestlostfinish':
- '<center><H4>Somewhere in the woods</H4></center>'
- '<center><img <<$set_imgh>> src="images/locations/gadukino/forest/gadjoy.jpg"></center>'
- 'You look over and realize that you finally see lights shining from distnat houses, glad to get out of this alive you rush forward.'
- !clear lost flags by illume, clear dirtyclothes flag by rachels
- lost_girl = 0
- dirtyclothes = 0 & swamp_clothes = 0
- forest_lostday = 0
- hanters = 0
- if $clothingworntype = 'nude':
- act 'Out of the woods':
- minut += 25
- 'You find your way out of the woods, hiding your naked body in shadow and moving toward the edge of the forest, where you left your clothes.'
- cla
- act 'Continue':gt'gadforest', '1'
- end
- temp=0
- !disable further act add.
- end
- end
- if $ARGS[0] = 'gadforestlostfinish1':
- cls
- *clr
- temp = RAND(1,3)
- lost = 0
- pcs_mood += 20
- !gs'time'
- gs 'stat'
- gs 'gadforestlost', 'gadforestlostfinish'
- ''
- if temp = 1:act 'Out of the woods':minut += 15 & gt'gadforest','1'
- if temp = 2:act 'Out of the woods':minut += 15 & gt'gadfield','field'
- if temp = 3:act 'Out of the woods':minut += 15 & gt'gadroad'
- end
- if $ARGS[0] = 'gadforestlostfinish2':
- cls
- *clr
- temp = RAND(1,5)
- lost = 0
- pcs_mood += 20
- !gs'time'
- gs 'stat'
- gs 'gadforestlost', 'gadforestlostfinish'
- ''
- if temp = 1:act 'Out of the woods':minut += 15 & gt'gadforest','1'
- if temp = 2:act 'Out of the woods':minut += 15 & gt'gadfield','field'
- if temp = 3:act 'Out of the woods':minut += 15 & gt'gadroad'
- if temp = 4:act 'Out of the woods':minut += 15 & gt'Gadriver','start'
- if temp = 5:act 'Out of the woods':minut += 15 & gt'Meadow'
- end
- if $ARGS[0] = 'gadforestlostfinish3':
- cls
- *clr
- temp = RAND(1,7)
- lost = 0
- pcs_mood += 20
- !gs'time'
- gs 'stat'
- gs 'gadforestlost', 'gadforestlostfinish'
- ''
- if temp = 1:act 'Out of the woods':minut += 15 & gt'gadforest','1'
- if temp = 2:act 'Out of the woods':minut += 15 & gt'gadfield','field'
- if temp = 3:act 'Out of the woods':minut += 15 & gt'gadroad'
- if temp = 4:act 'Out of the woods':minut += 15 & gt'Gadriver','start'
- if temp = 5:act 'Out of the woods':minut += 15 & gt'Meadow'
- if temp = 6:act 'Out of the woods':minut += 15 & nroad = 15 & gt'road'
- if temp = 7:act 'Out of the woods':minut += 15 & nroad = 10 & gt'road'
- end
- if $ARGS[0] = 'gadforestlostfinish4':
- cls
- *clr
- temp = RAND(1,9)
- lost = 0
- pcs_mood += 20
- !gs'time'
- gs 'stat'
- gs 'gadforestlost', 'gadforestlostfinish'
- ''
- if temp = 1:act 'Out of the woods':minut += 15 & gt'gadforest','1'
- if temp = 2:act 'Out of the woods':minut += 15 & gt'gadfield','field'
- if temp = 3:act 'Out of the woods':minut += 15 & gt'gadroad'
- if temp = 4:act 'Out of the woods':minut += 15 & gt'Gadriver','start'
- if temp = 5:act 'Out of the woods':minut += 15 & gt'Meadow'
- if temp = 6:act 'Out of the woods':minut += 15 & nroad = 15 & gt'road'
- if temp = 7:act 'Out of the woods':minut += 15 & nroad = 10 & gt'road'
- if temp = 8:act 'Out of the woods':minut += 15 & nroad = 10 & gt'road'
- if temp = 9 and goswamp = 0:act 'Out of the woods':minut += 15 & gt 'gadforestswamp','1'
- if temp = 9 and goswamp = 1:act 'Out of the woods':minut += 15 & gt 'swamp'
- end
- if $ARGS[0] = 'searchfood':
- if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10:
- act 'Look for mushrooms and berries':
- cla
- *clr
- minut += 30
- new_boletus += rand(1,2)
- new_bilberry += rand(1,2)
- if new_boletus + new_bilberry > 0:
- boletus += new_boletus
- bilberry += new_bilberry
- pcs_mood += 5
- gs 'stat'
- gs 'gadforest', 'clothes1'
- '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.'
- else
- pcs_mood -= 5
- gs 'gadforest', 'clothes2'
- 'After half an hour of wandering through the woods in search of mushrooms or berries, you found nothing.'
- end
- gs 'stat'
- act 'Further':gt $loc, $metka
- end
- end
- end
- --- gadforestlost ---------------------------------
|