:: katspalnya
<<set $here = 'katspalnya'>>
<<set $ARGS = $location_var[$here]>>
<<set $sexloc = 'katspalnya'>>
<<if $location_var[$here][0] == 'start'>>
	<<set $loc_arg = 'start'>>
	<<set $loc = 'katspalnya'>>
	<<set $location_type = 'private'>>
	<<set $locclass = 'bedr'>>
	<<set $menu_loc = 'katspalnya'>>
	<<set $menu_arg = 'start'>>
	<<set $menu_off = 0>>
	<h2>Katja''s apartment</h2>
	<<image "characters/city/katja/bedroom.jpg">>
	Katja''s apartment. It's mostly just one large room, with a huge bed in it. There''s a small couch to the side.
	<<if $time.hour >= 18 and $time.hour < 23>>
		<<link "Kat">><<gt 'katspalnya' 'kat'>><</link>> is sitting on the couch. She's watching TV.

	<</if>>
	<<if $time.hour >= 23 or $time.hour < 6>>
		<<link "Kat">><<gt 'katspalnya' 'katslip'>><</link>> is sound asleep in her huge bed.

	<</if>>
	<<act 'Leave Kat`s apartment'>>
		<<gt 'city_residential'>>
	<</act>>
<</if>>
<<if $location_var[$here][0] == 'katslip'>>
	<<set $time.minutes += 30>>
	<<if getvar("$katjob") == 0 and $npc('A219').rel > 60>>
		<<gt 'katspalnya' 'katjobs'>>

	<</if>>
	<<image "characters/city/katja/kat.jpg">>
	<p>When you awaken Kat, she rubs her eyes tiredly: "Hey, $pc.name_nick... what's up?"</p>
	<<act 'Chat with her for a while'>>
		<<gt 'katspalnya' 'start'>>
	<</act>>
	<<if $npc('A219').rel > 50>>
		<<act 'Seduce her'>>
	<<gt 'lezbsex' 'start'>>
<</act>>

	<</if>>
<</if>>
<<if $location_var[$here][0] == 'kat'>>
	<<set $time.minutes += 30>>
	<<if getvar("$katjob") == 0 and $npc('A219').rel > 60>>
		<<gt 'katspalnya' 'katjobs'>>

	<</if>>
	<<image "characters/city/katja/kat.jpg">>
	<p>Kat smiles when she sees you approach and says cheerfully: "$pc.name_nick, hi! How's it going? Come, sit with me!"</p>
	<<act 'Make up an excuse and leave'>>
		<<gt 'katspalnya' 'start'>>
	<</act>>
	<<if $npc('A219').rel > 50>>
		<<act 'Seduce her'>>
	<<gt 'lezbsex' 'start'>>
<</act>>

	<</if>>
	<<actCLA 'Chat with Kat'>>
		<<if getvar("$telkat") == 0>>
			<<set $telkat = 1>>

		<</if>>
		<<set $npc('A219').rel += 1>>
		<<set $time.minutes += 30>>
		<<image "characters/city/katja/kat.jpg">>
		You talk with Kat for half an hour, occasionally glancing at the TV. She's a lot of fun to be around.
		<<act 'Finish'>>
			<<gt 'katspalnya' 'start'>>
		<</act>>
	<</actCLA>>
<</if>>
<<if $location_var[$here][0] == 'katjobs'>>
	<<set $katjob = 1>>
	<<set $time.minutes += 30>>
	<<image "characters/city/katja/kat.jpg">>
	<p>Kat talks about her job for a while, and then suggests: "By the way... if you want, I can put in a good word for you! Maybe you could work at the clinic as well!"</p>
	<<actCLA '"But I`m not qualified to work as a nurse!"'>>
		<p>You shrug off the idea at first, saying: "But I'm not a nurse! I wouldn't know what to do!"</p>
		<p>Kat laughs and says: "Oh, come on! Do you think I knew what I was doing when I started? Just wear the fancy coat and be there, you'll learn as you go! It'll be fun, I promise! We could have so much fun, working together!"</p>
		<p>"Well, okay, I'll think about it!" you say, earning you an enthusiastic hug and a "Yay!" cheer from Kat. How bad could it be?</p>
		<<act 'Continue'>>
			<<gt 'katspalnya' 'start'>>
		<</act>>
	<</actCLA>>
<</if>>
