# family
!!!!!!!!!!!!
if day!m_day:
m_day=day
father_go=rand(0,1)
mother_go=rand(0,1)
end
indorf=0

if indorf_month!month:
!monthly
indorf_month=month
dostupindorf=1
end
if week=1 and dostupindorf=1:
dostupindorf=0
end

if week=6 and hour>=12 and dostupindorf=1:
!go to the village
indorf=1
father_go=0
mother_go=0
end
if week=7 and hour<20 and dostupindorf=1:
!go to the village
indorf=1
father_go=0
mother_go=0
end

if indorf=1 and sister_opr_indorf=0:
sister_opr_indorf=1
sister_indorf=rand(0,1)
end
if indorf=0:
sister_opr_indorf=0
sister_indorf=0
end
if sister_indorf=1:sisterHere=0
''
''
if StoryLine>0:
     if sister_indorf=0:
		if $loc='bedrPar':
		sisterHere=0
			 if hour<7:
			 sisterHere=1
			 'Your sister <a href="exec:GT ''sistersleep''">Anya</a> asleep in bed.'
			 end
			 
			 if week<6:
				 if hour=7:
				 sisterHere=2
				 'Your sister <a href="exec:GT ''sistersobir''">Anya</a> going to work.'
				 end
			 end
			 if week>=6:
				 if hour>=7 and hour<10:
				 sisterHere=1
				 'Your sister <a href="exec:GT ''sistersleep''">Anya</a> asleep in bed.'
				 end
				 if hour=10:
				 sisterHere=2
				 'Your sister <a href="exec:GT ''sisterprogulka''">Anya</a> going for a walk.'
				 end
				 
			 end
			 if hour>=18:
			 sisterHere=2
			 'Your sister <a href="exec:GT ''sister''">Anya</a> sitting on the bed and reading a book.'
			 end
		end
	end
	 if indorf=0:
		if $loc='bedrPar2':
			 if hour<6 or hour>=21:
			 'On the bed sleeping mother and stepfather.'
			     if hour=21:
			     parsexrand=rand(0,5)
			     
			     end
			 end
			 if week<6:
			 end
			 if week>=6:
			 end
		end
		if $loc='sitrPar':
			 if hour<7 or hour>=21:
			 'Sleeping on the couch your younger brother Kolka.'
			 end
			 if week<6:
				 if father_go=0:
					 if hour>=16 and hour<21:
					 'Sitting on the couch <a href="exec:GT ''father''">stepfather</a> watching TV.'
					 end
				 end
				 if hour>=18 and hour<20:
				 'Sitting at the table your younger brother <a href="exec:GT ''brother''">Kolka</a> and teaches lessons.'
				 end
				 if hour=20:
				 'Sitting on the couch your younger brother <a href="exec:GT ''brother''">Kolka</a> watching TV.'
				 end
			 end
			 if week>=6:
				 if father_go=0:
					 if hour>=7 and hour<21:
					 'Sitting on the couch <a href="exec:GT ''father''">stepfather</a> watching TV.'
					 end
				 end
				 if father_go=1:
					 if hour>=7 and hour<16:
					 'Sitting on the couch <a href="exec:GT ''father''">stepfather</a> watching TV.'
					 end
				 end
				 if hour>=18 and hour<=20:
				 'Sitting on the couch your younger brother <a href="exec:GT ''brother''">Kolka</a> watching TV.'
				 end
			 end
		end
		if $loc='kuhrPar':
			 if week<6:
				 if mother_go=0:
					 if hour>=16 and hour<21:
					 'Near the stove stands <a href="exec:GT ''mother''">mom</a> and that it is preparing.'
					 end
				 end
				 if mother_go=1:
					 if hour>=17 and hour<21:
					 'Near the stove stands <a href="exec:GT ''mother''">mom</a> and that it is preparing.'
					 end
				 end
			 end
			 if week>=6:
				 if mother_go=0:
					 if hour>=7 and hour<21:
					 'Near the stove stands <a href="exec:GT ''mother''">mom</a> and that it is preparing.'
					 end
				 end
				 if mother_go=1:
					 if hour>=7 and hour<16:
					 'Near the stove stands <a href="exec:GT ''mother''">mom</a> and that it is preparing.'
					 end
					 if hour>=17 and hour<21:
					 'Near the stove stands <a href="exec:GT ''mother''">mom</a> and that it is preparing.'
					 end
				 end
			 end
		end
		if $loc='korrPar':
			 if week<6:
			 end
			 if week>=6:
			 end
		end

		if $loc='vokzalG':
			 if week<6:
			 end
			 if week>=6:
			 end
		end

		if $loc='gdk':
			 if week<6:
				 if hour>=16 and hour<18:
				 'Your sister <a href="exec:GT ''sister''">Anya</a> sitting in the company of boys and devchenok and drinks beer.'
				 end
			 end
			 if week>=6:
				 if hour>=11 and hour<18:
				 'Your sister <a href="exec:GT ''sister''">Anya</a> sitting in the company of boys and devchenok and drinks beer.'
				 end
			 end
			 
		end

		if $loc='gschool':
			 if week<6:
				 if hour>=15 and hour<=17:
				 'On the football field near the school your <a href="exec:GT ''brother''">brother</a> drove in football.'
				 end
			 end
			 if week>=6:
				 if hour>=7 and hour<=17:
				 'On the football field near the school your <a href="exec:GT ''brother''">brother</a> drove in football.'
				 end
			 end
		 end
	 end
end




--- family ---------------------------------

