# swamp

$location_type = 'secluded'
$metka = $ARGS[0]
$loc = $CURLOC
gs 'gadukino_event', 'sound'
cls
new_boletus = 0
new_bilberry = 0
gs'stat'
!gs'time'
goswamp = 1
	
'<center><H4>Swamp</H4></center>'
if month >= 4 and month <= 10:
	if hour >= 6 and hour < 22:
		'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp.jpg"></center>'
	else
		'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp_night.jpg"></center>'
	end
else
	if hour >= 8 and hour < 18:
		'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp_winter.jpg"></center>'
	else
		'<center><img <<$set_imgh>> src="images/locations/gadukino/hunters/swamp_winter_night.jpg"></center>'
	end
end

'The forest, the swamp in which it is dangerous to climb in the afternoon, not that night. But in the woods near the swamp you can find a lot of mushrooms and berries.'
'A little way visible dry <a href="exec: gt ''swamp_yard'' ">glade</a> the old hut, it is probably a hunting Lodge.'

if hour >= 6 and hour <= 21 and month >= 6 and month <= 9:
	act 'To enter the forest':swamp_clothes = 0 & minut += 30 & gt 'gadforest','4'
end
if hour >= 6 and hour < 21:	
    act 'Return to the edge of the forest':swamp_clothes = 0 & hanters = 0 & minut += 150 & gt 'gadforest','1'
else
    act 'Return to the edge of the forest':swamp_clothes = 0 & hanters = 0 & gt 'gadforest_event', 'forest_road'
end

if hour >= 6 and hour <= 20 and month >= 6 and month <= 9 and boletus + bilberry < 10 and swamp_day ! daystart:
   	act 'Looking for berries':
   	    cla
        *clr
		minut += 30
		temp = RAND(1,2)
		swamp_day = daystart
		if goforest < 20:goforest += rand(0,1)		
		new_bilberry += rand(4,5)
		bilberry += new_bilberry
		pcs_mood += 5
		gs 'stat'

		gs 'gadforest', 'clothes1'
		'You within half an hour of wandering through the woods in search of mushrooms or berries and found <<new_bilberry>> kg of berries.'
		act 'Further': gt'swamp'
 	end
end

--- swamp ---------------------------------

