:: journal
<<set $here = 'journal'>>
<<set $ARGS = $location_var[$here]>>
<!-- ! 2021/05/02 Initial code-->
<!-- ! Refactored 24 Aug 22-->
<!-- ! Amended by Hooded Silence-->
<!-- ! Game Character Journal - central core game data area for players.-->
<!-- ! V .01 Refactored to enable menu bar navigation for UI consistency.-->
<!-- ! V .02 Redesign and integration of content areas.-->
<!-- ! V .03 Bug fixes.-->
<!-- !-->
<!-- ! Sections:-->
<!-- ! 0 Magic (if enabled)-->
<!-- ! 1 Housing-->
<!-- ! 2 Work - calls in journal_work-->
<!-- ! 3 Quests - calls in journal_quest section-->
<!-- ! 4 Relations / Current Group - pulls in various elements refactored from other areas to make tracking relationships easier. To be expanded on.-->
<!-- ! 5 General Information-->
<!-- ! 6 User Notes - custom function-->
<!-- !-->
<!-- ! Menu Variables-->
<!-- ! menutrack = tracks current menu position-->
<!-- ! jumploc = call in the active menu section-->
<!-- ! $tablebody = Container to create the menu body to work around QSP deadspace display issues.-->
<!-- ! Section Variables-->
<!-- ! employed[$qw] = Work tracker if employed. To be set on starting or leaving a job.-->
<!-- ! Header section start-->
<<if $location_var[$here][0] == 'records'>>
	<<gs 'housing' 'rent'>>
	<<gs 'journal' 'journalmenu'>>
	<!-- ! records-->
<</if>>
<<if $location_var[$here][0] == 'journalmenu'>>
	<<if setup.startingCharacterTagsIncludes('magic')>>
		<!-- FAILED TO CONVERT
			$tablebody = '<tr><th><a href="exec:menutrack = 0 & gs ''journal'', ''magictab''">Magic</a></th><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th></tr>'
		-----
			<<set $tablebody = ERROR: FAILED TO CONVERT LITERAL: """'<tr><th><a href="exec:menutrack = 0""">> <<set gs ''journal'' , ERROR: FAILED TO CONVERT LITERAL: """''magictab''">Magic<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 1""">> <<set gs ''Journal'' , ERROR: FAILED TO CONVERT LITERAL: """''housingtab''">Housing<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 2""">> <<set gs ''journal_work'' , ERROR: FAILED TO CONVERT LITERAL: """''start''">Work<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 2""">> <<set gs ''journal_quests'' , ERROR: FAILED TO CONVERT LITERAL: """''start''">Quests<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 4""">> <<set gs ''journal'' , ERROR: FAILED TO CONVERT LITERAL: """''relationstab''">Relations<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 5""">> <<set gs ''journal'' , ERROR: FAILED TO CONVERT LITERAL: """''generaltab''">Game Information<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 6""">> <<gs 'journal' 'notestab'">Notes</a></th></tr>'>>

		-->
		<<warn "CONVERSION ERROR 25fb5644bf03b8cd59783852131ca162">>
	<<else>>
		<!-- FAILED TO CONVERT
			$tablebody ='<tr><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th></tr>'
		-----
			<<set $tablebody = ERROR: FAILED TO CONVERT LITERAL: """'<tr><th><a href="exec:menutrack = 1""">> <<set gs ''Journal'' , ERROR: FAILED TO CONVERT LITERAL: """''housingtab''">Housing<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 2""">> <<set gs ''journal_work'' , ERROR: FAILED TO CONVERT LITERAL: """''start''">Work<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 2""">> <<set gs ''journal_quests'' , ERROR: FAILED TO CONVERT LITERAL: """''start''">Quests<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 4""">> <<set gs ''journal'' , ERROR: FAILED TO CONVERT LITERAL: """''relationstab''">Relations<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 5""">> <<set gs ''journal'' , ERROR: FAILED TO CONVERT LITERAL: """''generaltab''">Game Information<""" / ERROR: FAILED TO CONVERT LITERAL: """a><""" / ERROR: FAILED TO CONVERT LITERAL: """th><th><a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:menutrack = 6""">> <<gs 'journal' 'notestab'">Notes</a></th></tr>'>>

		-->
		<<warn "CONVERSION ERROR 052749e90a80ac1fc643daa120fa1256">>
		<!-- ! menu-->
	<</if>>
	<!-- !display the table here.-->
	<center><table width="90%" align="center" width="90%" cellspacing="0" cellpadding="0" valign="top"><tr><<$tablebody>></tr></table></center>
	<<if $jumploc == '' or getvar("$jclose") == 1>>
		<<if setup.startingCharacterTagsIncludes('magic')>>
			<<set $menutrack = 0>>
			<<set $jclose = 0>>
			<<gt 'journal' 'magictab'>>
		<<else>>
			<<set $menutrack = 1>>
			<<set $jclose = 0>>
			<<gt 'journal' 'housingtab'>>
		<</if>>
	<</if>>
	<<gs 'journal' 'leaveactions'>>
	<!-- ! Journal Menu-->
<</if>>
<<if $location_var[$here][0] == 'magictab'>>
	<<set $jumploc = 'magictab'>>
	<<gs 'journal' 'journalmenu'>>
	<center><h2>Spells</h2></center><br>
	<center><h2>Spells to Cast</h2></center><br>
	<<set setup.func('spellBook' , 'cast' , '$nonComSpells' , 'gt 'journal' , 'magictab'' , 'jclose = 1')>>
	<!-- !!''''-->
	<br><center><h2>Spell Learning</h2></center><br>
	<br><center><h3>Combat</h3></center><br>
	setup.func('spellBook','learn','$combatSpells')
	<br><center><h3>Non-Combat</h3></center><br>
	setup.func('spellBook','learn','$nonComSpells')
	delact 'Never mind'
	<!-- ! magic-->
<</if>>
<<if $location_var[$here][0] == 'housingtab'>>
	<<set $jumploc = 'housingtab'>>
	<<gs 'journal' 'journalmenu'>>
	<center><h2>Housing</h2></center>
	<<if getvar("$accessible_property['shared_apartment']") == 4>>
		You share an apartment with three others in Pavlovsk. Your bills are paid by the other tenants in exchange for your house services

	<</if>>
	<<if getvar("$accessible_property['city_apartment']") == 1>>
		<p>You rent a two room apartment in the city residential area. Your rent for the apartment is subtracted automatically in sum of accessible_property['city_apartment-rent'] <b>₽</b> us electric bill on 25th of each month. You are currently paid up for <b>accessible_property['city_apartment-days-left']</b> days</p>

	<</if>>
	<<if getvar("$accessible_property['city_apartment']") == 2>>
		You own a two room apartment in the city residential area. Your utility bills are due on the 25th of each month.

	<</if>>
	<<if getvar("$accessible_property['city_apartment']") == 3>>
		You own a two room apartment in the city residential area. It's currently occupied by your tenants.

	<</if>>
	<<if getvar("$accessible_property['homeParents']") == 4>>
		You live with your parents and siblings in a two room apartment in Pavlovsk.

	<</if>>
	<<if getvar("$accessible_property['village_cottage']") == 2>>
		You own a small holiday cottage with an adjacent allotment in the communal village.

	<</if>>
	<<if getvar("$accessible_property['old_town_apartment']") == 1>>
		<p>You rent a two room apartment in Pushkin. Your rent for the apartment is subtracted automatically in the sum of accessible_property['old_town_apartment-rent'] <b>₽</b> us electric bill on the 25th of each month. You are currently paid up for <b>accessible_property['old_town_apartment-days-left']</b> days</p>

	<</if>>
	<<if getvar("$accessible_property['matryona_mansion']") == 2 and getvar("$constructionstatus") == 0>>
		You own a vacant block in the city suburbs.

	<</if>>
	<<if getvar("$accessible_property['matryona_mansion']") == 2 and getvar("$constructionstatus") == 1>>
		<<set 'You own a plot of land in the city suburbs upon which you are building a house.' + iif(banaMansion = 1, 'Your utility bills are due on the 25th of each month.', '')>>

	<</if>>
	<<if getvar("$accessible_property['matryona_mansion']") == 2 and getvar("$constructionstatus") == 2>>
		<<set 'You own an impressive mansion in the city suburbs. ' + iif(banaMansion = 1, 'Your utility bills are due on the 25th of each month.', '')>>

	<</if>>
	<<if getvar("$accessible_property['city_house']") == 2>>
		You own a nice house on the edge of the city residential district. Your utility bills are due on the 25th of each month.

	<</if>>
	<<if getvar("$accessible_property['meynold_household']") == 4>>
		You live with Vicky, Katja and Tamara Meynold. You have your own room and get an allowance based on helping out around the house and/or studying with Tamara.

	<</if>>
	<<if getvar("$car") > 0>>
		<center><h2>Car</h2></center>
		<<if getvar("$cardrive") == 1>>
			Your car is parked in St. Petersburg''s residential area.

		<</if>>
		<<if getvar("$cardrive") == 2>>
			Your car is parked in St. Petersburg''s city center.

		<</if>>
		<<if getvar("$cardrive") == 3>>
			Your car is parked in St. Petersburg''s industrial region.

		<</if>>
		<<if getvar("$cardrive") == 4>>
			Your car is parked at St. Petersburg''s Lake.

		<</if>>
		<<if getvar("$cardrive") == 5>>
			Your car is parked at St. Petersburg''s Park.

		<</if>>
		<<if getvar("$cardrive") == 6>>
			Your car is parked at the gas station in St. Petersburg''s industrial region.

		<</if>>
		<<if getvar("$cardrive") == 7>>
			Your car is parked at the Car Repair Shop in St. Petersburg.

		<</if>>
		<<if getvar("$cardrive") == 8>>
			Your car is parked at your house in St. Petersburg''s residential area.

		<</if>>
		<<if getvar("$cardrive") == 9>>
			Your car is parked at the Car Dealership in St. Petersburg.

		<</if>>
		<<if getvar("$cardrive") == 10>>
			Your car is parked at St. Petersburg''s Park.

		<</if>>
		<<if getvar("$cardrive") == 11>>
			Your car is parked at St. Petersburg''s Sauna.

		<</if>>
		<<if getvar("$cardrive") == 12>>
			Your car is parked at the construction site.

		<</if>>
		<<if getvar("$cardrive") == 13>>
			Your car is parked in the Suburban Cooperative.

		<</if>>
		<<if getvar("$cardrive") == 14>>
			Your car is parked in Old Town district of Pavlovsk.

		<</if>>
		<<if getvar("$cardrive") == 18>>
			Your car is parked at Matryona Mansion.

		<</if>>
		<<if getvar("$cardrive") == 19>>
			Your car is parked at St. Petersburg''s industrial train station.

		<</if>>
		<<if getvar("$cardrive") == 20>>
			Your car is parked in Pavlovsk''s residential area.

		<</if>>
		<<if getvar("$cardrive") == 21>>
			Your car is parked at the gas station near Pavlovsk.

		<</if>>
		<<if getvar("$cardrive") == 22>>
			Your car is parked on the highway.

		<</if>>
		<<if getvar("$cardrive") == 23>>
			Your car is parked in Gadukino.

		<</if>>
		<<if getvar("$cardrive") == 24>>
			Your car is parked in Pavlovsk''s commercial region.

		<</if>>
		<<if getvar("$cardrive") == 25>>
			Your car is parked in Vasilyevsky Island

		<</if>>
		<<if getvar("$cardrive") == 26>>
			Your car is parked in Pavlovsk''s industrial region.

		<</if>>
		<<if getvar("$cardrive") == 27>>
			Your car is parked in St. Petersburg''s red light district.

		<</if>>
		<<if getvar("$cardrive") == 28>>
			Your car is parked in St. Petersburg''s suburbs.

		<</if>>
	<</if>>
	<!-- ! housing-->
<</if>>
<<if $location_var[$here][0] == 'relationstab'>>
	<<set $jumploc = 'relationstab'>>
	<<gs 'journal' 'journalmenu'>>
	<center><h2>Relationships</h2></center>
	<h2>Family</h2>
	Mother:
	<<gs 'journal' 'relindex' 'A29'>>
	Stepfather:
	<<gs 'journal' 'relindex' 'A28'>>
	Sister:
	<<gs 'journal' 'relindex' 'A33'>>
	Brother:
	<<gs 'journal' 'relindex' 'A34'>>
	<<if $pc.isSchoolStudent>>
		<center><h2>Standings by Social Group</h2></center>
		<<if getvar("$grupTipe") < 5 and getvar("$grupvalue["+$grupTipe+"]") > 700>>
			<<set $journal_school_standing = ' You are well respected and liked within your clique.'>>
		<<elseif getvar("$grupTipe") < 5 and getvar("$grupvalue["+$grupTipe+"]") > 300>>
			<<set $journal_school_standing = ' You are in good standing with your clique.'>>
		<<elseif getvar("$grupTipe") < 5>>
			<<set $journal_school_standing = '<font color="red"> You have to work on your clique standing. You're in danger of being cast out.</font>'>>
		<</if>>
		<<if getvar("$grupTipe") == 0>>
			'You are not a member of any particular school social group.' + $journal_school_standing
		<<elseif $quest('school').func('isGroupMember','cool')>>
			'Your school social group consists of the popular, cool and beautiful.' + $journal_school_standing
		<<elseif $quest('school').func('isGroupMember','jocks')>>
			'Your school social group consists of jocks and natural athletes.' + $journal_school_standing
		<<elseif $quest('school').func('isGroupMember','nerds')>>
			'Your school social group consists of nerds, geeks and good students.' + $journal_school_standing
			<<if $nerd_game['game_day'] > $time.daystart>>
				<p>You have been invited to a games night on $time.weekday_name[(week + (nerd_game['game_day']  - daystart))] at 20:00 in the community center library.</p>

			<</if>>
			<<if $nerd_game['game_day'] == $time.daystart>>
				You have been invited to a games night tonight at 20:00 in the community center library.

			<</if>>
		<<elseif $quest('school').func('isGroupMember','gopniks')>>
			'Your school social group consists of gopniks, rebels, punks or troublemakers.' + $journal_school_standing
		<<elseif $quest('school').func('isGroupMember','outcasts')>>
			Your school social group consists of losers, teacher''s pets, sluts and the ugly.
		<</if>>
		Cool Kids
		<<gs 'indik' '4' $quest('school').groups['cool'].rel / 10 $quest('school').groups['cool'].rel 1>> 
		Jocks
		<<gs 'indik' '4' $quest('school').groups['jocks'].rel / 10 $quest('school').groups['jocks'].rel 2>> 
		Nerds
		<<gs 'indik' '4' $quest('school').groups['nerds'].rel / 10 $quest('school').groups['nerds'].rel 3>> 
		Gopnik
		<<gs 'indik' '4' $quest('school').groups['gopniks'].rel / 10 $quest('school').groups['gopniks'].rel 4>> 
		<center><h2>Popular Kids Relations</h2></center>
		<<if $npc('A1').rel > 0>>
			 <<gs 'journal' 'relindex' 'A1'>>

		<</if>>
		<<if $npc('A4').rel > 0>>
			 <<gs 'journal' 'relindex' 'A4'>>

		<</if>>
		<<if $npc('A14').rel > 0>>
			 <<gs 'journal' 'relindex' 'A14'>>

		<</if>>
		<<if $npc('A15').rel > 0>>
			 <<gs 'journal' 'relindex' 'A15'>>

		<</if>>
		<<if $npc('A17').rel > 0>>
			 <<gs 'journal' 'relindex' 'A17'>>

		<</if>>
		<<if $npc('A22').rel > 0>>
			 <<gs 'journal' 'relindex' 'A22'>>

		<</if>>
		<<if $npc('A146').rel > 0>>
			 <<gs 'journal' 'relindex' 'A146'>>

		<</if>>
		<<if $npc('A147').rel > 0>>
			 <<gs 'journal' 'relindex' 'A147'>>

		<</if>>
		<<if $npc('A148').rel > 0>>
			 <<gs 'journal' 'relindex' 'A148'>>

		<</if>>
		<<if $npcs.get('A25','slutStatus',0) == 0 and $npc('A25').rel > 0>>
			 <<gs 'journal' 'relindex' 'A25'>>

		<</if>>
		<<if $npc('A139').rel > 0>>
			 <<gs 'journal' 'relindex' 'A139'>>

		<</if>>
		<<if $npc('A140').rel > 0>>
			 <<gs 'journal' 'relindex' 'A140'>>

		<</if>>
		<center><h2>Jocks Relations</h2></center>
		<<if $npc('A3').rel > 0>>
			 <<gs 'journal' 'relindex' 'A3'>>

		<</if>>
		<<if getvar("$fedormasha") == 0 and $npc('A5').rel > 0>>
			 <<gs 'journal' 'relindex' 'A5'>>

		<</if>>
		<<if $npc('A8').rel > 0>>
			 <<gs 'journal' 'relindex' 'A8'>>

		<</if>>
		<<if $npc('A13').rel > 0>>
			 <<gs 'journal' 'relindex' 'A13'>>

		<</if>>
		<<if $npc('A18').rel > 0>>
			 <<gs 'journal' 'relindex' 'A18'>>

		<</if>>
		<<if $npc('A19').rel > 0>>
			 <<gs 'journal' 'relindex' 'A19'>>

		<</if>>
		<<if $npc('A23').rel > 0>>
			 <<gs 'journal' 'relindex' 'A23'>>

		<</if>>
		<<if $npc('A149').rel > 0>>
			 <<gs 'journal' 'relindex' 'A149'>>

		<</if>>
		<<if $npc('A150').rel > 0>>
			 <<gs 'journal' 'relindex' 'A150'>>

		<</if>>
		<<if $npc('A141').rel > 0>>
			 <<gs 'journal' 'relindex' 'A141'>>

		<</if>>
		<<if $npc('A165').rel > 0>>
			 <<gs 'journal' 'relindex' 'A165'>>

		<</if>>
		<center><h2>Nerds Relations</h2></center>
		<<if $npc('A2').rel > 0>>
			 <<gs 'journal' 'relindex' 'A2'>>

		<</if>>
		<<if $npc('A6').rel > 0>>
			 <<gs 'journal' 'relindex' 'A6'>>

		<</if>>
		<<if $npc('A12').rel > 0>>
			 <<gs 'journal' 'relindex' 'A12'>>

		<</if>>
		<<if $npc('A16').rel > 0>>
			 <<gs 'journal' 'relindex' 'A16'>>

		<</if>>
		<<if $npc('A151').rel > 0>>
			 <<gs 'journal' 'relindex' 'A151'>>

		<</if>>
		<<if $npc('A152').rel > 0>>
			 <<gs 'journal' 'relindex' 'A152'>>

		<</if>>
		<<if $npc('A153').rel > 0>>
			 <<gs 'journal' 'relindex' 'A153'>>

		<</if>>
		<<if $npc('A142').rel > 0>>
			 <<gs 'journal' 'relindex' 'A142'>>

		<</if>>
		<<if $npc('A240').rel > 0>>
			 <<gs 'journal' 'relindex' 'A240'>>

		<</if>>
		<center><h2>Gopnik Relations</h2></center>
		<<if $npc('A9').rel > 0>>
			 <<gs 'journal' 'relindex' 'A9'>>

		<</if>>
		<<if $npc('A10').rel > 0>>
			 <<gs 'journal' 'relindex' 'A10'>>

		<</if>>
		<<if $npc('A11').rel > 0>>
			 <<gs 'journal' 'relindex' 'A11'>>

		<</if>>
		<<if $npc('A20').rel > 0>>
			 <<gs 'journal' 'relindex' 'A20'>>

		<</if>>
		<<if $npc('A21').rel > 0>>
			 <<gs 'journal' 'relindex' 'A21'>>

		<</if>>
		<<if $npc('A24').rel > 0>>
			 <<gs 'journal' 'relindex' 'A24'>>

		<</if>>
		<<if $npc('A154').rel > 0>>
			 <<gs 'journal' 'relindex' 'A154'>>

		<</if>>
		<<if $npc('A155').rel > 0>>
			 <<gs 'journal' 'relindex' 'A155'>>

		<</if>>
		<<if $npc('A156').rel > 0>>
			 <<gs 'journal' 'relindex' 'A156'>>

		<</if>>
		<<if $npc('A157').rel > 0>>
			 <<gs 'journal' 'relindex' 'A157'>>

		<</if>>
		<<if $npc('A158').rel > 0>>
			 <<gs 'journal' 'relindex' 'A158'>>

		<</if>>
		<<if $npc('A143').rel > 0>>
			 <<gs 'journal' 'relindex' 'A143'>>

		<</if>>
		<<if $npc('A144').rel > 0>>
			 <<gs 'journal' 'relindex' 'A144'>>

		<</if>>
		<<if $npc('A145').rel > 0>>
			 <<gs 'journal' 'relindex' 'A145'>>

		<</if>>
		<<if $npc('A189').rel > 0>>
			 <<gs 'journal' 'relindex' 'A189'>>

		<</if>>
		<center><h2>Outcast/Loner Relations</h2></center>
		<<if $npc('A7').rel > 0>>
			 <<gs 'journal' 'relindex' 'A7'>>

		<</if>>
		<<if $npc('A159').rel > 0>>
			 <<gs 'journal' 'relindex' 'A159'>>

		<</if>>
		<<if $npcs.get('A25','slutStatus',0) > 0 and $npc('A25').rel > 0>>
			 <<gs 'journal' 'relindex' 'A25'>>

		<</if>>
		<<if getvar("$fedormasha") == 1 and $npc('A5').rel > 0>>
			 <<gs 'journal' 'relindex' 'A5'>>

		<</if>>
		<center><h2>Teachers/Coaches/School Staff Relations</h2></center>
		<<if $npc('A26').rel > 0>>
			 <<gs 'journal' 'relindex' 'A26'>>

		<</if>>
		<<if $npc('A69').rel > 0>>
			 <<gs 'journal' 'relindex' 'A69'>>

		<</if>>
		<<if $npc('A128').rel > 0>>
			 <<gs 'journal' 'relindex' 'A128'>>

		<</if>>
		<<if $npc('A129').rel > 0>>
			 <<gs 'journal' 'relindex' 'A129'>>

		<</if>>
		<<if $npc('A130').rel > 0>>
			 <<gs 'journal' 'relindex' 'A130'>>

		<</if>>
		<<if $npc('A131').rel > 0>>
			 <<gs 'journal' 'relindex' 'A131'>>

		<</if>>
		<<if $npc('A132').rel > 0>>
			 <<gs 'journal' 'relindex' 'A132'>>

		<</if>>
		<<if $npc('A133').rel > 0>>
			 <<gs 'journal' 'relindex' 'A133'>>

		<</if>>
		<<if $npc('A134').rel > 0>>
			 <<gs 'journal' 'relindex' 'A134'>>

		<</if>>
		<<if $npc('A135').rel > 0>>
			 <<gs 'journal' 'relindex' 'A135'>>

		<</if>>
		<<if $npc('A136').rel > 0>>
			 <<gs 'journal' 'relindex' 'A136'>>

		<</if>>
		<<if $npc('A137').rel > 0>>
			 <<gs 'journal' 'relindex' 'A137'>>

		<</if>>
		<<if $npc('A138').rel > 0>>
			 <<gs 'journal' 'relindex' 'A138'>>

		<</if>>
		<!-- !!!WD: Formatting-->
		<<if ($npc('A93').rel + $npc('A41').rel + $npc('A42').rel + $npc('A43').rel + $gosh + $npc('A220').rel + $npc('A219').rel + $npc('A192').QW + $npc('A218').rel) > 0>>
		<</if>>
	<</if>>
	<center><h2>Pavlovsk Relations</h2></center>
	<<if $npc('A54').rel > 0>>
		 <<gs 'journal' 'relindex' 'A54'>>

	<</if>>
	<<if $npc('A57').rel > 0>>
		 <<gs 'journal' 'relindex' 'A57'>>

	<</if>>
	<<if $npc('A217').rel > 0>>
		 <<gs 'journal' 'relindex' 'A217'>>

	<</if>>
	<<if $npc('A112').rel > 0>>
		 <<gs 'journal' 'relindex' 'A112'>>

	<</if>>
	<<if $npc('A119').rel > 0>>
		 <<gs 'journal' 'relindex' 'A119'>>

	<</if>>
	<center><h2>Gadukino Relations</h2></center>
	<<if $npc('A31').rel > 0>>
		 <<gs 'journal' 'relindex' 'A31'>>

	<</if>>
	<<if $npc('A32').rel > 0>>
		 <<gs 'journal' 'relindex' 'A32'>>

	<</if>>
	<<if $npc('A60').rel > 0>>
		 <<gs 'journal' 'relindex' 'A60'>>

	<</if>>
	<<if $npc('A61').rel > 0>>
		 <<gs 'journal' 'relindex' 'A61'>>

	<</if>>
	<<if $npc('A62').rel > 0>>
		 <<gs 'journal' 'relindex' 'A62'>>

	<</if>>
	<<if $npc('A63').rel > 0>>
		 <<gs 'journal' 'relindex' 'A63'>>

	<</if>>
	<<if $npc('A64').rel > 0>>
		 <<gs 'journal' 'relindex' 'A64'>>

	<</if>>
	<<if $npc('A65').rel > 0>>
		 <<gs 'journal' 'relindex' 'A65'>>

	<</if>>
	<<if $npc('A221').rel > 0>>
		 <<gs 'journal' 'relindex' 'A221'>>

	<</if>>
	<<if $npc('A172').rel > 0>>
		 <<gs 'journal' 'relindex' 'A172'>>

	<</if>>
	<<if $npc('A173').rel > 0>>
		 <<gs 'journal' 'relindex' 'A173'>>

	<</if>>
	<<if $npc('A174').rel > 0>>
		 <<gs 'journal' 'relindex' 'A174'>>

	<</if>>
	<center><h2>Saint Petersburg Relations</h2></center>
	<<if $npc('A192').QW > 0>>
		 <<gs 'journal' 'relindex' 'A192'>>

	<</if>>
	<<if $npc('A218').rel > 0>>
		 <<gs 'journal' 'relindex' 'A218'>>

	<</if>>
	<<if $npc('A219').rel > 0>>
		 <<gs 'journal' 'relindex' 'A219'>>

	<</if>>
	<<if $npc('A220').rel > 0>>
		 <<gs 'journal' 'relindex' 'A220'>>

	<</if>>
	<<if $npc('A93').rel > 0>>
		 <<gs 'journal' 'relindex' 'A93'>>

	<</if>>
	<<if $npc('A43').rel > 0>>
		 <<gs 'journal' 'relindex' 'A43'>>

	<</if>>
	<<if $npc('A35').rel > 0>>
		 <<gs 'journal' 'relindex' 'A35'>>

	<</if>>
	<<if $npc('A169').rel > 0>>
		 <<gs 'journal' 'relindex' 'A169'>>

	<</if>>
	<<if $npc('A89').rel > 0>>
		 <<gs 'journal' 'relindex' 'A89'>>

	<</if>>
	<<if $npc('A216').rel > 0>>
		 <<gs 'journal' 'relindex' 'A216'>>

	<</if>>
	<!-- ! '<center><h2>Other Relations</h2></center>'-->
	<!-- ! Uncomment if re-introduced into the game ensure you use NPC ID to update them-->
	<!-- ! if alla > 0: 'Friendship with Alla <<alla>>'-->
	<!-- ! if masha > 0: 'Friendship with Masha <<masha>>'-->
	<!-- ! if npc_rel['A41'] > 0: 'Friendship with Givi K. <<npc_rel[''A41'']>>'-->
	<!-- ! if npc_rel['A42'] > 0: 'Friendship with Ashot <<npc_rel[''A42'']>>'-->
	<<if getvar("$husband") > 0>>
		<p>You have been married for husbanday days. Your husband $husName $husBody $husFat $husHair. Member husDick Relationship husband.</p>

	<</if>>
	<<if getvar("$kid") > 0>>
		<<set $i = 0>>
		<<if getvar("$kid") == 1>>
			<p>You have a child, a $polreb[0] named $kidname[0]. Born daykid[0]-monthkid[0]-yearkid[0]. Aged kidage[0].</p>
		<<else>>
			You have children:
			<<warn 'JUMP MARKER ENCOUNTERED: :LoopKidCounter'>>
			<<if $i < $kid>>
				<p><br> a $polreb[$i] named $kidname[$i]. Born daykid[$i]-monthkid[$i]-yearkid[$i]. Aged kidage[$i].</p>
				<<set $i += 1>>
				<<warn 'JUMP COMMAND ENCOUNTERED: jump LoopKidCounter'>>
			<</if>>
		<</if>>
	<</if>>
	<!-- !! This has some sex info but also weirdness like npc number and smilie face is dick the right length. Its about first time with a random lover-->
	<!-- !!	if getvar("$bfsex") > 0:'<<$bfsex>>'-->
	<<if $loverGender[0] == 0>>
		<<set $obj_loverintro = 'Your boyfriend'>>
		<<set $obj_loverpron = 'He'>>
	<<else>>
		<<set $obj_loverintro = 'Your girlfriend'>>
		<<set $obj_loverpron = 'She'>>
	<</if>>
	<<if $pcs_lovers[0] == 1>>
		<p>$obj_loverintro $loverdesc[0] is $loverbody[0] height and $loverbod[0] build with $loverface[0] hair. $loverdesc[0] is $loverClo[0]. Your relationship is loverrelation[0] after loverdays[0] days dating.</p>

	<</if>>
	<<if $haraklover[0] == 0 and $loverrelation[0] > 1>>
		<p>$obj_loverpron's timid and lacks confidence.</p>

	<</if>>
	<<if $haraklover[0] == 1 and $loverrelation[0] > 1>>
		<p>$obj_loverpron has a cheerful and sociable personality.</p>

	<</if>>
	<<if $haraklover[0] == 2 and $loverrelation[0] > 1>>
		<p>$obj_loverpron's short-tempered and strict.</p>

	<</if>>
	<<if $loverGender[1] == 0>>
		<<set $obj_loverintro = 'Your boyfriend'>>
		<<set $obj_loverpron = 'He'>>
	<<else>>
		<<set $obj_loverintro = 'Your girlfriend'>>
		<<set $obj_loverpron = 'She'>>
	<</if>>
	<<if $pcs_lovers[1] == 1>>
		<p>$obj_loverintro $loverdesc[1] is $loverbody[1] height and $loverbod[1] build with $loverface[1] hair. $loverdesc[1] is $loverClo[1]. Your relationship is loverrelation[1] after loverdays[1] days dating.</p>

	<</if>>
	<<if $haraklover[1] == 0 and $loverrelation[1] > 1>>
		<p>$obj_loverpron's timid and lacks confidence.</p>

	<</if>>
	<<if $haraklover[1] == 1 and $loverrelation[1] > 1>>
		<p>$obj_loverpron has a cheerful and sociable personality.</p>

	<</if>>
	<<if $haraklover[1] == 2 and $loverrelation[1] > 1>>
		<p>$obj_loverpron's short-tempered and strict.</p>

	<</if>>
	<<if $loverGender[2] == 0>>
		<<set $obj_loverintro = 'Your boyfriend'>>
		<<set $obj_loverpron = 'He'>>
	<<else>>
		<<set $obj_loverintro = 'Your girlfriend'>>
		<<set $obj_loverpron = 'She'>>
	<</if>>
	<<if $pcs_lovers[2] == 1>>
		<p>$obj_loverintro $loverdesc[2] is $loverbody[2] height and $loverbod[2] build with $loverface[2] hair. $loverdesc[2] is $loverClo[2]. Your relationship is loverrelation[2] after loverdays[2] days dating.</p>

	<</if>>
	<<if $haraklover[2] == 0 and $loverrelation[2] > 1>>
		<p>$obj_loverpron's timid and lacks confidence.</p>

	<</if>>
	<<if $haraklover[2] == 1 and $loverrelation[2] > 1>>
		<p>$obj_loverpron has a cheerful and sociable personality.</p>

	<</if>>
	<<if $haraklover[2] == 2 and $loverrelation[2] > 1>>
		<p>$obj_loverpron's short-tempered and strict.</p>

	<</if>>
	<!-- ! relations-->
<</if>>
<<if $location_var[$here][0] == 'generaltab'>>
	<<set $jumploc = 'generaltab'>>
	<<gs 'journal' 'journalmenu'>>
	<!-- ! generaltab-->
	<center><h2>General Information</h2></center>
	<<if ARRSIZE('$portfolio_locations') > 0 or ARRSIZE('$portfolio_people') > 0>>
		<<act 'View your photography portfolio'>>
			<<gt 'journal_portfolio'>>
		<</act>>
	<</if>>
	<br><center><<link "Locations">><<gs 'journal' 'locations'>><</link>></center>
	<br><center><<link "Friends & Family">><<gs 'journal' 'friends_family'>><</link>></center>
	<<if $pc.isSchoolStudent and setup.startingCharacterTagsIncludes('sg') and getvar("$SchoolBlock") == 0>>
		<br><center><<link "School">><<gs 'journal_school' 'school'>><</link>></center><br><center><<link "School Courses and Grades">><<gs 'journal_school' 'coursesinfo'>><</link>></center>

	<</if>>
	<<if getvar("$university['student']") == 1>>
		<br><center><<link "University">><<gs 'journal' 'uni'>><</link>></center>

	<</if>>
	<br><center><<link "Clothing information">><<gs 'journal' 'clothing'>><</link>></center>
<</if>>
<<if $location_var[$here][0] == 'notestab'>>
	<<set $jumploc = 'notestab'>>
	<<gs 'journal' 'journalmenu'>>
	<center><h2>Notes</h2></center>
	Create notes to keep track of any information you need.
	<<link "Make a note">><<set $zapis[] = input(''What do you want to record?'')>> <<gt 'journal' 'notestab'>><</link>>
	<<set $jur_temp = 0>>
	<<warn 'JUMP MARKER ENCOUNTERED: :jur_loop'>>
	<<if $jur_temp < arrsize('$zapis')>>
		<<$zapis[$jur_temp]>>  <<link "Delete">> <<gt ''journal'' ''notestab'''>><</link>>
		<<set $jur_temp += 1>>
		<<warn 'JUMP COMMAND ENCOUNTERED: jump jur_loop'>>
	<</if>>
	<<set $jur_temp to null>>
	<!-- ! notes-->
<</if>>
<!-- ! ---- Other Sections ------>
<<if $location_var[$here][0] == 'clothing'>>
	<<set $jumploc = 'generalsub'>>
	<<gs 'journal' 'journalmenu'>>
	<center>Clothing information</center>
	Clothing has a strength value, which decreases by 1 for every day you wear that outfit. At 0 it is ruined and you will have to throw it away.
	You can attempt to fix outfits when their strength is very low and you have a high enough sewing skill. Clothes you throw away will appear back in the shop.
	Quality of clothing is ranked in this order:
		Crappy quality outfit
		Very low quality outfit
		Low quality outfit
		Average quality outfit
		Reasonable quality outfit
		Good quality outfit
		Outstanding quality outfit
	<<gs 'journal' 'leaveactions'>>
<</if>>
<<if $location_var[$here][0] == 'uni'>>
	<<set $jumploc = 'generalsub'>>
	<<gs 'journal' 'journalmenu'>>
	<center><h2>University</h2></center>
	<<if getvar("$university['diploma']") > 0>>
		<p>You have graduated from the University of St. Petersburg with a degree in '+setup.func('uni_programs', 'program_name')+'.</p>
	<<else>>
		<p>You have are enrolled in the '+trim(MID('first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth', university['enrolled_in_semester']*8-7,7))+' semester of the '+setup.func('uni_programs', 'program_name')+' at the University of St. Petersburg.</p>
	<</if>>
	<<if $university['elective1'] != '' or $university['elective2'] != '' or $university['elective3'] != ''>>
		<p>This semester, you are taking the following elective classes: $university['elective1'], $university['elective2'], $university['elective1'].</p>
	<</if>>
	<<set $j = 1>>
	<<warn 'JUMP MARKER ENCOUNTERED: :semester_loop'>>
	<<if $university['semester_passed'] >= $j>>
		<<gs 'grades' 'assing_grade_description' 'uni_$university['enrolled_in']_semester_j'>>
		<p>You passed the'+trim(MID('first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth', j*8-7,7))+' semester with the following grades:</p>
		<<set $k = 0>>
		<<warn 'JUMP MARKER ENCOUNTERED: :class_loop'>>
		<<if $class_list_institution[$k] == 'uni_>>
			<<$class_list_name[$k]>>: <<$class['''+$$class_list_institution[$k]+'_<<$class_list_name[$k]>>_grade'']>>
		<</if>>
		<<set $k += 1>>
		<<if ARRSIZE('class_list_institution') >= $k>>
			<<warn 'JUMP COMMAND ENCOUNTERED: jump class_loop'>>

		<</if>>
		<<set $k to null>>
	<</if>>
	<<set $j += 1>>
	<<if getvar("$j") < 8>>
		<<warn 'JUMP COMMAND ENCOUNTERED: jump semester_loop'>>

	<</if>>
	<<set $j to null>>
	<<if $university['semester_passed'] == $university['enrolled_in_semester'] and getvar("$university['diploma']") == 0>>
		You need to register for your next semester at the university administration
	<<elseif getvar("$university['semester_week']") <= 0 and getvar("$university['exam_week']") == 0>>
		You currently have a break between semesters.
		<<if getvar("$university['semester_week']") == -1>>
			The next semester will start next week
		<</if>>
		<center><h2>Class schedule for Next Semester</h2></center>
		'Monday: '+setup.func('uni_programs', 'uni_period_first', 'monday')+' '+setup.func('uni_programs', 'uni_period_second', 'monday')+' '+setup.func('uni_programs', 'uni_period_third', 'monday')
		'Tuesday: '+setup.func('uni_programs', 'uni_period_first', 'tuesday')+' '+setup.func('uni_programs', 'uni_period_second', 'tuesday')+' '+setup.func('uni_programs', 'uni_period_third', 'tuesday')
		'Wednesday: '+setup.func('uni_programs', 'uni_period_first', 'wednesday')+' '+setup.func('uni_programs', 'uni_period_second', 'wednesday')+' '+setup.func('uni_programs', 'uni_period_third', 'wednesday')
		'Thursday: '+setup.func('uni_programs', 'uni_period_first', 'thursday')+' '+setup.func('uni_programs', 'uni_period_second', 'thursday')+' '+setup.func('uni_programs', 'uni_period_third', 'thursday')
	<<elseif getvar("$university['semester_week']") > 0>>
		<<if getvar("$university['semester_week']") < 11>>
			<p>You are in the '+trim(MID('first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth', university['semester_week']*8-7,7))+' week of the semester, which last 15 weeks.</p>
		<<else>>
			<p>You are in the '+str(university['semester_week'])+'th week of the semester which last 15 weeks.</p>
		<</if>>
		<center><h2>Class schedule</h2></center>
		'Monday: '+setup.func('uni_programs', 'uni_period_first', 'monday')+' '+setup.func('uni_programs', 'uni_period_second', 'monday')+' '+setup.func('uni_programs', 'uni_period_third', 'monday')
		'Tuesday: '+setup.func('uni_programs', 'uni_period_first', 'tuesday')+' '+setup.func('uni_programs', 'uni_period_second', 'tuesday')+' '+setup.func('uni_programs', 'uni_period_third', 'tuesday')
		'Wednesday: '+setup.func('uni_programs', 'uni_period_first', 'wednesday')+' '+setup.func('uni_programs', 'uni_period_second', 'wednesday')+' '+setup.func('uni_programs', 'uni_period_third', 'wednesday')
		'Thursday: '+setup.func('uni_programs', 'uni_period_first', 'thursday')+' '+setup.func('uni_programs', 'uni_period_second', 'thursday')+' '+setup.func('uni_programs', 'uni_period_third', 'thursday')
		<center><h2>Grades</h2></center>
		<<gs 'grades' 'assing_grade_description' 'uni_$university['enrolled_in']_semester_university['enrolled_in_semester']'>>
		<<set $j = 0>>
		<<warn 'JUMP MARKER ENCOUNTERED: :grade_loop'>>
		<<if $class_list_institution[$j] == 'uni_>>
			<<if $class['+$class_list_institution[$j]+'_'+$class_list_name[$j]+'_grade'] >= $(4*'+university['semester_week']+' + 32)>>
				<p>You think you are doing great in $class_list_name[$j] and will probably pass with a top grade if you keep this up.</p>
			<<elseif $class['+$class_list_institution[$j]+'_'+$class_list_name[$j]+'_grade'] > $(2*'+university['semester_week']+' + 32)>>
				<p>You are following the $class_list_name[$j] class well and will probably pass with a good grade if you keep this up, but to get the top mark you need to put in some more effort.</p>
			<<elseif $class['+$class_list_institution[$j]+'_'+$class_list_name[$j]+'_grade'] >= $(1*'+university['semester_week']+' + 32)>>
				<p>You have trouble following the $class_list_name[$j] class, but will probably still pass. If you want a good grade, then you'll really need to do something about it.</p>
			<<elseif $class['+$class_list_institution[$j]+'_'+$class_list_name[$j]+'_grade'] < 40>>
				<p>You will fail your $class_list_name[$j] class unless you do something about it right now. It might even be too late to catch up.</p>
			<<else>>
				<p>You are hopelessly behind in your $class_list_name[$j] class, but can probably still pass. Any hope of getting a good grade will require that you start doing something about it right now.</p>
			<</if>>
		<</if>>
		<<set $j += 1>>
		<<if ARRSIZE('class_list_institution') >= $j>>
			<<warn 'JUMP COMMAND ENCOUNTERED: jump grade_loop'>>

		<</if>>
		<<set $j to null>>
	<<elseif getvar("$university['exam_week']") > 0>>
		<<set 'You are in the ' + iif(university['exam_week'] = 1,'first','second')+' of the two weeks of exams. '+setup.func('uni_programs', 'exam', 'schedule')>>
		<<gs 'grades' 'assing_grade_description' 'uni_$university['enrolled_in']_semester_university['enrolled_in_semester']'>>
		<<set $j = 0>>
		<<warn 'JUMP MARKER ENCOUNTERED: :exam_loop'>>
		<<if $class_list_institution[$j] == 'uni_>>
			<<if $class['+$class_list_institution[$j]+'_'+$class_list_name[$j]+'_exam_done'] == 1>>
				<p>You did your $class_list_name[$j] exam and think you will get an $class[''+$$class_list_institution[$j]+'_$class_list_name[$j]_grade'].</p>
			<<elseif setup.func('uni_programs', 'exam', 'is_over', $class_list_name[$j]) == 1>>
				<p>Your exam $class_list_name[$j] is over and you did not go. This means you will fail the class and thefore also the semester.</p>
			<<elseif $class['+$class_list_institution[$j]+'_'+$class_list_name[$j]+'_grade'] >= 100>>
				<p>You think you are well prepared in your $class_list_name[$j] exam and will probably pass with the highest mark possible.</p>
			<<elseif $class['+$class_list_institution[$j]+'_'+$class_list_name[$j]+'_grade'] >= 90>>
				<p>You think you are well prepared in your $class_list_name[$j] exam and will probably pass with a 5, but a little more studying never hurts.</p>
			<<elseif $class['+$class_list_institution[$j]+'_'+$class_list_name[$j]+'_grade'] >= 70>>
				<p>You think that you are prepared pretty well for your $class_list_name[$j] exam and will probably get a 4. With some more studying, you might get a 5.</p>
			<<elseif $class['+$class_list_institution[$j]+'_'+$class_list_name[$j]+'_grade'] >= 40>>
				<p>You think you are prepared enough to pass your $class_list_name[$j] exam, but if you want a good grade, then you need to do some serious studying.</p>
			<<else>>
				<p>If your $class_list_name[$j] exam was today, then you would fail. Time to hit the books if you don't want to fail the semester.</p>
			<</if>>
		<</if>>
		<<set $j += 1>>
		<<if ARRSIZE('class_list_institution') >= $j>>
			<<warn 'JUMP COMMAND ENCOUNTERED: jump exam_loop'>>

		<</if>>
		<<set $j to null>>
	<</if>>
	<<act 'Go back'>>
		<<gt 'journal' 'generaltab'>>
	<</act>>
	<<gs 'journal' 'leaveactions'>>
<</if>>
<<if $location_var[$here][0] == 'locations'>>
	<<set $jumploc = 'generalsub'>>
	<<gs 'journal' 'journalmenu'>>
	<center><h2>Pavlovsk</h2></center>
	Pavlovsk is a small town. It is somewhat of a tourist trap thanks to the Catharina Palace and the former palace grounds, which have been converted into a large park centered around the train station. There is an open air market near the train station that is open year round where many bargains can be found. The cafe where your mother works can also be found near the train station. It caters to the visitors coming in by train. The downtown area contains businesses and some middle class housing, while the residential area is a mixture of houses and old Soviet era apartment blocks.
	<p>The wealthier families live in large houses near the park on the outskirts of town, while the poorest homes are found near the old industrial area where several factories have long since been abandoned. The only factory still open is the G&M clothing factory, which also has a local store front and a tailor that can adjust your clothing. The industrial area is now mostly home to prostitutes and drug dealers and is not considered a safe area to walk around at night. Despite being a tourist destination, the area is seen as fairly poor and without many jobs.</p>
	<center><h2>Gadukino</h2></center>
	You've spent several summers at your grandparents'' village. It's a small village where everyone is very tightly knit together. You remember spending your days playing with the local children at the river or visiting the little shop that had everything a kid needed. When your great grandparents were younger, they used to take you out into the woods where you picked mushrooms and berries. Your great grandfather also showed you around the hunting grounds and told you all kind of stories about the hunters that visit the area.
	<center><h2>St. Petersburg</h2></center>
	You've heard many rumors about the city from both family members and school friends. They all say it's both a great and bad place. The few memories you have are connected to the big park that you and your family visited once, which had a large amusement park with lots of rides. You also know about the University because you've overheard Anya and your mother argue about it. Sometimes, your mother would drag you and Anya along to the city mall while she was visiting the beauty salon. You remember running through the stores asking your mother to buy you clothes.
	<<act 'Go back'>>
		<<gt 'journal' 'generaltab'>>
	<</act>>
	<<gs 'journal' 'leaveactions'>>
<</if>>
<<if $location_var[$here][0] == 'friends_family'>>
	<<set $jumploc = 'generalsub'>>
	<<gs 'journal' 'journalmenu'>>
	<<image 'characters/shared/headshots_main/29.jpg'>>
	<p>Natasha (Mother) - Your mother was born in Gadukino. She is still quite young and attractive, but you have done the math and know she had Anya when she was only sixteen years old. Your grandmother died in child birth with your mother and your grandfather was killed a few years later in the Afghanistan war. She works at the cafe near the train station.</p>
	<<image 'characters/shared/headshots_main/35.jpg'>>
	<p>Mikhail Kuznetsov (Father) - You've never seen your biological father since your parents divorced, so you have no real memory of him.</p>
	<<image 'characters/shared/headshots_main/28.jpg'>>
	<p>Vladimir (Stepfather) - Your stepfather is a greying, slightly flabby man who works as a truck driver. Your mother divorced your biological father and married Vladimir when you were less than a year old. One year after being married, your parents welcomed your little brother Kolka, Vladimir's first born child. Kolka is his only child that you know of. When not working, your stepfather can often be found working on his cars in the garage. He gets some time alone to watch TV on Monday evenings.</p>
	<<image 'characters/shared/headshots_main/33.jpg'>>
	<p>Anya (Sister) - Anya is your older sister, two years your senior, but she still lives at home and shares a bedroom with you. She chose to work at the local supermarket instead of going to university like your mother wanted and spends most of her free time either partying, hanging out with her friends or with her boyfriend Roma.</p>
	<<image 'characters/shared/headshots_main/34.jpg'>>
	<p>Kolka (Brother) - Kolka is your younger brother, born about a year after you. While you share the same mother, Kolka's father is your stepfather. He is a student at the same school as you and enjoys football. When he is not playing football or doing homework, he spends much of his free time hanging out with his friends.</p>
	<<image 'characters/shared/headshots_main/30.jpg'>>
	<p>Lyudmila Knavs (Aunt) - Your mother's older sister, who works at the local pharmacy and has a live in boyfriend called Olu whom she met while traveling. He is an African man, which has caused more than a few rumors and sour looks at your aunt. Your aunt doesn't seem to care though, and if anything, seems to enjoy flaunting her boyfriend in front of others.</p>
	<<image 'characters/shared/headshots_main/55.jpg'>>
	<p>Oluuosegun "Olu" Maina - You don't know much about your aunt's live-in boyfriend, only that he is from Africa and doesn't speak Russian very well. He's a very large and muscular man and you know many people in the area that find it disgraceful that your aunt lives with him.</p>
	<<image 'characters/shared/headshots_main/31.jpg'>>
	<p>Zlatek Knavs (Great Grandfather) - Your great grandfather is a grumpy old man who is always complaining about the village elders and how they have neglected the village to the point where it is now barely fit to live in. He can walk, but requires a cane, so doesn't leave the house unless he has to. Your mother and aunt were raised by your great grandparents.</p>
	<<image 'characters/shared/headshots_main/32.jpg'>>
	<p>Elena Knavs (Great Grandmother) - Your great grandma is extremely old and almost never leaves the house. Most of the time, she just sits on her bed watching TV or slowly cleans the house. Having raised your mother and aunt Luda, she is like a grandmother to you and a mother to your mother. She has raised two generations of children and is now content with the peace and quiet of the village.</p>
	<<image 'characters/shared/headshots_main/54.jpg'>>
	<p>Mikhail "Misha" - Your neighbor's name is Mikhail, but everyone calls him "Uncle Misha". He lives in the apartment across the hall from you, but your mother always forbade you from talking to him by warning you that he used to be a local crime lord and that you shouldn't get involved with him. However, he has always been polite and nice to you. He is close friends with your stepfather, but both have been evasive about how they met and became friends.</p>
	<<image 'characters/shared/headshots_main/112.jpg'>>
	<p>Sergey Shulgin - Sergey lives in the same building as you with his son, your childhood friend Vasily. He has gray hair and a small beer belly, but is still hearty looking. His wife, Vasily's mother, left when Vasily was young. He has been close friends with your stepfather and mother for as long as you can remember. Oddly enough, he never re-married after being abandoned by his ex-wife.</p>
	<<act 'Go back'>>
		<<gt 'journal' 'generaltab'>>
	<</act>>
	<<gs 'journal' 'leaveactions'>>
<</if>>
<!-- ! Helper functions-->
<<if $location_var[$here][0] == 'relindex'>>
	<<gs 'indik' '1' $npc($$ARGS[1).rel] $npc($$ARGS[1).rel] 100>> 
<</if>>
<<if $location_var[$here][0] == 'leaveactions'>>
	<<actCLA 'Put your notebook down'>>
		<<set $jumploc to null>>
		<<set $jclose = 1>>
		<<gt $location>>
	<</actCLA>>
<</if>>
