:: uni_cafe
<<set $here = 'uni_cafe'>>
<<set $ARGS = $location_var[$here]>>
<<if !$location_var[$here][0]>>
	<<set $loc_arg = ''>>
	<<set $loc = 'uni_cafe'>>
	<<set $menu_loc = 'uni_cafe'>>
	<<set $menu_arg = ''>>
	<<set $menu_off = 0>>
	<<set $location_type = 'public_indoors'>>
	<<gs 'katja_meynold_schedule'>>
	<!-- !!gs 'albina_uni_schedule'-->
	
	<h2>University Cafe</h2>
	<<image "locations/city/island/university/uni_cafe.jpg">>
	The university cafe is a popular spot for students preparing for their exams or just unwinding from their busy schedule.
	<p>It offers a rich variation of reasonably priced food and beverages. You can often overhear students complaining about the free, yet somewhat sub-par quality wi-fi.</p>
	<<if getvar("$locat['katja']") == 28>>
		<!-- FAILED TO CONVERT
			'You see '+iif(katjaQW['know_katja_uni'] = 0 and ($start_type = 'city_tg' or $start_type = 'uni_tg'), 'a cute redheaded girl', '<a href="exec:gt ''katja_chat'', ''uni_cafe''">Katja</a>')+' sitting at a table eating her lunch.'
		-----
			<<set 'You see ' + iif(katjaQW['know_katja_uni'] = 0 and ($start_type = 'city_tg' or $start_type = 'uni_tg') , 'a cute redheaded girl' , '<a href="exec:gt 'katja_chat' , ERROR: FAILED TO CONVERT LITERAL: """''uni_cafe''">Katja<""" / a>') + ' sitting at a table eating her lunch.'>>

		-->
		<<warn "CONVERSION ERROR feca3b4917f2d987c41d65e4a60a19d4">>
	<</if>>
	<!-- !!if locat['albina'] = 13:-->
	<!-- !!'You see '+iif(AlbinaQW['know_albina_uni'] = 0 and ($start_type = 'city_tg' or $start_type = 'uni_tg'), 'an attractive looking brunette', '<<link "Albina">><<gt 'albina_uni' 'lunch_chat'>><</link>>')+' sitting at one of the tables, eating her lunch while texting on her phone.'-->
	<!-- !!end-->
	<<gs 'uni_cafe' 'menu'>>
	<<act 'Leave'>>
		<<gt 'uni_grounds' 'main'>>
	<</act>>
	<<if getvar("$university['semester_week']") > 0 and $university['enrolled_in_semester'] > $university['semester_passed']>>
		<<gs 'uni_lessons' 'schedule'>>

	<</if>>
	<<if getvar("$university['exam_week']") > 0 and $university['enrolled_in_semester'] > $university['semester_passed']>>
		<<gs 'uni_lessons' 'exam_schedule'>>

	<</if>>
<</if>>
<<if $location_var[$here][0] == 'menu'>>
	<<if $time.weekday < 5 and (getvar("$university['semester_week']") > 0 or getvar("$university['exam_week']") > 0) and $university['enrolled_in_semester'] > $university['semester_passed'] and (($time.hour == 10 and $time.minutes > 30) or ($time.hour == 12 and $time.minutes > 45) or ($time.hour == 13 and $time.minutes < 15))>>
		You might not have time to eat before your next class.
		<<actCLA 'Order from the menu anyway'>>
			<<set $menu_off = 1>>
			<<set $loc = 'uni_cafe'>>
			<<set $loc_arg = ''>>
			<<gs 'food_menu'>>
		<</actCLA>>
	<<else>>
		<<actCLA 'Order from the menu'>>
			<<set $menu_off = 1>>
			<<set $loc = 'uni_cafe'>>
			<<set $loc_arg = ''>>
			<<gs 'food_menu'>>
		<</actCLA>>
	<</if>>
<</if>>
<<if $location_var[$here][0] == 'sitting_choice'>>
	<<if getvar("$locat['katja']") == 28 and $npc('A14').rel > 40 and getvar("$katjaQW['know_katja_uni']") == 1>>
		<<set $loc = 'uni_cafe'>>
		<<set $loc_arg = ''>>
		<<act 'Eat your lunch with Katja'>>
			<<gt 'katja_chat' 'uni_cafe'>>
		<</act>>
	<</if>>
	<!-- !!if locat['albina'] = 13 and npc_rel['A23'] >= 70 or AlbinaQW['know_albina_uni'] = 2:-->
	<!-- !!$loc = 'uni_cafe'-->
	<!-- !!$loc_arg = ''-->
	<!-- !!act 'Eat your lunch with Albina': gt 'albina_uni', 'lunch_chat'-->
	<!-- !!end-->
	<<actCLA 'Eat your lunch alone'>>
		<!-- !!this is a variable to use in npc''s chats to see if you have lunch to eat together with them. Should be set to zero after it is checked in their chat.-->
		<<set $time.minutes += 15>>
		<<set $uni_lunch_bought = 0>>
		<h2>University Cafe</h2>
		<<image "locations/city/island/university/uni_cafe.jpg">>
		<p>You sit down and eat your lunch alone and $mtxt</p>
		<<act 'Leave'>>
			<<gt 'uni_grounds' 'main'>>
		<</act>>
		<<if getvar("$university['semester_week']") > 0 and $university['enrolled_in_semester'] > $university['semester_passed']>>
			<<gs 'uni_lessons' 'schedule'>>

		<</if>>
		<<if getvar("$university['exam_week']") > 0 and $university['enrolled_in_semester'] > $university['semester_passed']>>
			<<gs 'uni_lessons' 'exam_schedule'>>

		<</if>>
	<</actCLA>>
<</if>>
