# uni_cafe

if $ARGS[0] = '':
	CLOSE ALL
	$loc_arg = ''
	$loc = 'uni_cafe'
	$menu_loc = 'uni_cafe'
	$menu_arg = ''
	menu_off = 0
	$location_type = 'public_indoors'
	gs 'stat'
	gs 'katja_meynold_schedule'
	!!gs 'albina_uni_schedule'
	gs 'themes', 'indoors'
	'<center><b><font color="maroon">University Cafe</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/city/island/university/uni_cafe.jpg"></center>'
	*nl
	'The university cafe is a popular spot for students preparing for their exams or just unwinding from their busy schedule.'
	'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.'
	if locat['katja'] = 28:
		'You see '+iif(katjaQW['know_katja_uni'] = 0 and ($start_type['loc'] ! 'sg' and $start_type['magic'] = 'tg'), 'a cute redheaded girl', '<a href="exec:gt ''katja_chat'', ''uni_cafe''">Katja</a>')+' sitting at a table eating her lunch.'
	end
	
	!!if locat['albina'] = 13:
		!!'You see '+iif(AlbinaQW['know_albina_uni'] = 0 and ($start_type['loc'] ! 'sg' and $start_type['magic'] = 'tg'), 'an attractive looking brunette', '<a href="exec:gt ''albina_uni'', ''lunch_chat''">Albina</a>')+' sitting at one of the tables, eating her lunch while texting on her phone.'
	!!end
	
	if week < 5 and hour = 10 and minut >= 30:
!!is this correct for the 30 min lunch break during school days?
		temp_rand = rand(1,10)
		if $start_type['loc'] = 'sg' and yearstart = 2:
			if temp_rand = 1:
				'You see a familiar face sitting at one of the tables having lunch, your former classmate <a href="exec:gt ''uni_cafe'',''lazar''">Lazar.</a>'
			elseif temp_rand = 2:
				'You see a familiar face sitting at one of the tables having lunch, your former classmate <a href="exec:gt ''uni_cafe'',''dimka''">Dimka.</a>'
			elseif temp_rand = 3:
				'You see a familiar face sitting at one of the tables having lunch, your former classmate <a href="exec:gt ''uni_cafe'',''marcus''">Marcus.</a>'
			elseif temp_rand = 4:
				'You see a familiar face sitting at one of the tables having lunch, your former classmate <a href="exec:gt ''uni_cafe'',''artem''">Artem.</a>'
			end
		end
		if temp_rand = 5:
			if meet_kendra = 1:
				'You see <a href="exec:gt ''uni_cafe'', ''kendra''">Kendra</a> sitting at one of the tables having lunch.'
			elseif kendraslave >= 1:
				'You see a familiar face sitting at one of the tables having lunch, your mistress <a href="exec:gt ''uni_cafe'',''kendra''">Kendra.</a>'
			elseif hotcat >= 5:
				'As you look around, you see a pretty young <a href="exec:gt ''uni_cafe'',''kendra''">black woman</a> sitting at one of the tables having lunch. She notices you and gives you a quick once-over before smiling and leaning back. She seems to be watching you with an inviting smile to join her.'
			else
				'As you look around, you see a pretty young black woman sitting at one of the tables. She notices you and gives you a quick once-over before returning to what she was doing. After a few minutes, she finishes her drink before getting up and leaving.'
			end
		elseif temp_rand = 6:
			if DjibrilQW['meet'] = 1:
				'You see a familiar face sitting at one of the tables having lunch, Olu''s nephew <a href="exec:gt ''uni_cafe'',''djibril''">Djibril.</a>'
			elseif hotcat >= 5:
				'As you look around, you see an attractive young <a href="exec:gt ''uni_cafe'',''djibril''">black man</a> sitting at one of the tables having lunch. When he notices you looking at him, he gives you a friendly smile and a wave. It seems he is the friendly sort and seems to be interested in you.'
			else
				'As you look around, you see an attractive young black man sitting at one of the tables having lunch. He notices you and gives you a quick once-over before returning to what he is doing. After a few minutes, he finishes his drink before getting up and leaving.'
			end
		else 
			'As you look around, you don''t see anyone you recognize hanging out today.'
		end
	end
	
	gs 'uni_cafe', 'menu'
	
	act 'Leave': gt 'uni_grounds', 'main'
	if university['semester_week'] > 0 and university['enrolled_in_semester'] > university['semester_passed']: gs 'uni_lessons', 'schedule'
	if university['exam_week'] > 0 and university['enrolled_in_semester'] > university['semester_passed']: gs 'uni_lessons', 'exam_schedule'
end

if $ARGS[0] = 'menu':
	if week < 5 and (university['semester_week'] > 0 or university['exam_week'] > 0) and university['enrolled_in_semester'] > university['semester_passed'] and ((hour = 10 and minut > 30) or (hour = 12 and minut > 45) or (hour = 13 and minut < 15)):
		'You might not have time to eat before your next class.'
		act 'Order from the menu anyway': 
			menu_off = 1
			$loc = 'uni_cafe'
			$loc_arg = ''
			gs 'food_menu'
		end	
	else
		act 'Order from the menu': 
			menu_off = 1
			$loc = 'uni_cafe'
			$loc_arg = ''
			gs 'food_menu'
		end
	end
end

if $ARGS[0] = 'sitting_choice':
	if locat['katja'] = 28 and npc_rel['A14'] > 40 and katjaQW['know_katja_uni'] = 1: 
		$loc = 'uni_cafe'
		$loc_arg = ''
		act 'Eat your lunch with Katja': gt 'katja_chat', 'uni_cafe'
	end
	
	!!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

	act '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.
		*clr & cla
		minut += 15
		uni_lunch_bought = 0
		'<center><b><font color="maroon">University Cafe</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/city/island/university/uni_cafe.jpg"></center>'
		'You sit down and eat your lunch alone and<<$mtxt>>'
		gs 'stat'
		
		act 'Leave': gt 'uni_grounds', 'main'

		if university['semester_week'] > 0 and university['enrolled_in_semester'] > university['semester_passed']: gs 'uni_lessons', 'schedule'
		if university['exam_week'] > 0 and university['enrolled_in_semester'] > university['semester_passed']: gs 'uni_lessons', 'exam_schedule'
	end
end

if $ARGS[0]= 'lazar':
	*clr & cla
	$menu_loc = 'uni_cafe'
	$menu_arg = 'lazar'
	menu_off = 0
	minut += 5
	gs 'npc_relationship', 'modify', 'A149', 'like', 1
	gs 'stat'
	'<center><h4><font color="maroon">University Cafeteria</font></h4></center>'
	'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big149.jpg"></center>'
	if fame['pav_slut'] > 300:
		'You notice Lazar sitting at a table having lunch. As you approach, he says "Well, look who it is; The Queen of Cocks." You sit and talk to him for a few minutes, but all he does is talk about how easy you were back in school. "Sorry, but I need to go. Marcus, Andrey and I are renting a place together. You should come sometime and hang out, so we can have some fun."' 
		'How he says it leaves no doubt about what he means by fun. Even moving to a new city won''t let get away from your reputation as a slut. He tells you where they live before he heads outside and walks away.'
	else
		if npc_rel['A149'] >= 60:
			lazarQW['city_invite'] = 1
			if hotcat >= 6:
				'You notice Lazar sitting at a table having lunch. "What''s up, hottie? You enjoying the city?" he asks as you approach. You sit and talk to him for a few minutes before his phone buzzes. He looks at it and then finishes his drink. "Sorry, but I need to go. Marcus, Andrey and I are renting a place together. You should really come by sometime. We would love to have you over." He tells you where they live before he heads outside and walks away.'
			else
				'You notice Lazar sitting at a table having lunch. "Hey <<$pcs_nickname>>, how have you been?" he asks as you approach. You sit and talk to him for a few minutes before his phone buzzes. He looks at it and then finishes his drink. "Sorry, but I need to go. Marcus, Andrey and I are renting a place together. You should really come by sometime and hang out." He tells you where they live before he heads outside and walks away.'
			end
		elseif npc_rel['A149'] <= 20:
			'You notice Lazar sitting at a table having lunch. As you approach, all he says is "Hey." You sit and talk to him for a few minutes, but he doesn''t say much to you before he checks his phone and finishes his drink. "Sorry, but I need to go." He heads outside and walks away.'
		else
			if hotcat >= 6:
				'You notice Lazar sitting at a table having lunch. "Hey, good looking. What have you been up to?" he asks as you approach. You sit and talk to him for a few minutes before his phone buzzes. He looks at it and then finishes his drink. "I need to get going. Give me your number, and I''ll give you a call sometime. We can go out and have some fun or something sometime." You exchange phone numbers with him before he heads outside and walks away.'
			else
				'You notice Lazar sitting at a table having lunch. "Hey <<$pcs_nickname>>, how have you been?" he asks as you approach. You sit and talk to him for a few minutes before his phone buzzes. He looks at it and then finishes his drink. "I need to get going, but it was nice catching up. Maybe I''ll see you around sometime?" he says before heading outside and walking away.'
			end
		end
	end
	act 'Leave': gt 'uni_grounds', 'main'
end

if $ARGS[0]= 'dimka':
	*clr & cla
	$menu_loc = 'uni_cafe'
	$menu_arg = 'dimka'
	menu_off = 0
	minut += 5
	gs 'npc_relationship', 'modify', 'A1', 'like', 1
	gs 'stat'
	'<center><h4><font color="maroon">University Cafeteria</font></h4></center>'
	'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big1.jpg"></center>'
	if fame['pav_slut'] > 225:
		'You notice Dimka sitting at a table. As you approach, he says "Get away from me, you disgusting slut! I don''t want any of the diseases you have." He starts ignoring you, so you turn and walk away.'
	else
		if npc_rel['A1'] >= 60:
			if grupTipe = 1:
				'You notice Dimka sitting at a table having lunch. He smiles as you approach. "Well well, look who it is. It seems spending some time around me did you good. I always thought you had it in you to make it out of Pavlovsk before you got knocked up and married to some loser. Seems my judgment was as correct as always." You sit and talk to him for a few minutes and he''s relatively nice to you, even asking about what you''ve been up to until he finishes his drink. "I know you love thinking this is like the old days when we could hang out all the time, but now things are different. Maybe I''ll see you around, and if you''re good, I''ll introduce you to the cool crowd at the uni," he says in a haughty tone, as if he''s already the King of the university. He then stands and walks away.'
			else
				'You notice Dimka sitting at a table having lunch. He smiles as you approach. "Well well, look who it is. I always thought you had it in you to make it out of Pavlovsk before you got knocked up and married to some loser. Seems my judgment was as correct as usual." You sit and talk to him for a few minutes, but all he does is give you back-handed compliments until he finishes his drink. "I know you love being seen with me, but I have better things to do. Maybe I''ll see you around?" he says before getting up and walking away.'
			end
		elseif npc_rel['A1'] <= 20:
			'You notice Dimka sitting at a table having lunch. He scowls as you approach. "What the fuck do you want, loser? Never mind, I don''t want to know. Just go away." He starts ignoring you, so you turn and walk away.'
		else
			if grupTipe = 1:
				'You notice Dimka sitting at a table having lunch. He smiles as you approach. "Well well, look who it is. It seems spending some time around on me did you good. You managed to make it out of Pavlovsk before you got knocked up  by some loser." You sit down and talk to him for a few minutes, but all he does is make snide remarks until he finishes his drink. "I know you love being seen with me, but we''re not in Pavlovsk anymore and no longer run in the same social circles." He gets up and walks away, leaving you alone in the cafe.'
			else
				'You notice Dimka sitting at a table having lunch. He smiles as you approach. "Well well, look who it is. I honestly never thought you would make it out of Pavlovsk. I figured you would be knocked up and married to some loser by now." You sit and talk to him for a few minutes, but all he does is berate you until he finishes his drink. "I know you love being seen with me, but I have better things to do," he says before getting up and walking away.'
			end
		end
	end
	act 'Leave': gt 'uni_grounds', 'main'
end

if $ARGS[0] = 'marcus':
	*clr & cla
	$menu_loc = 'uni_cafe'
	$menu_arg = 'marcus'
	menu_off = 0
	minut += 5
	gs 'npc_relationship', 'modify', 'A146', 'like', 1
	gs 'stat'
	'<center><h4><font color="maroon">University Cafeteria</font></h4></center>'
	'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big146.jpg"></center>'
	if fame['pav_slut'] > 250:
		marcusQW['city_invite'] = 1
		'You notice Marcus sitting at a table having lunch. As you approach, he says "Hey you." You sit and talk to him for a few minutes before his phone buzzes. He looks at it and then finishes his drink. "Sorry, but I need to go. Lazar, Andrey and I are renting a place together, you should come by sometime and hang out, so we can have some fun." How he says it leaves no doubt about what he means by fun. Seems that even moving to a new city can''t get you away from your reputation as a slut. He tells you where they live before he heads outside and walks away.'
	else
		if npc_rel['A146'] >= 50:
			marcusQW['city_invite'] = 1
			'You notice Marcus sitting at a table having lunch. He smiles as you approach. "Hey <<$pcs_nickname>>, how have you been?" You sit and talk to him for a few minutes before his phone buzzes. He looks at it and finishes his drink. "Sorry, but I need to go. Lazar, Andrey and I are renting a place together. You should really come by sometime and hang out." He tells you where they live before he heads outside and walks away.'
		elseif npc_rel['A146'] <= 20:
			'You notice Marcus sitting at a table having lunch. As you approach, all he says is "Hey." You sit and talk to him for a few minutes, but he doesn''t say much to you before he checks his phone and finishes his drink. "Sorry, but I need to go." After that, he walks outside and walks away.'
		else
			'You notice Marcus sitting at a table having lunch. "Hey <<$pcs_nickname>>, how have you been?" he asks as you approach. You sit and talk to him for a few minutes before his phone buzzes. He looks at it and finishes his drink. "Sorry, but I need to go. It was nice catching up. Maybe I''ll see you around?" he asks before he heads outside and walks away.'
		end
	end
	act 'Leave': gt 'uni_grounds', 'main'
end

if $ARGS[0] = 'artem':
	*clr & cla
	$menu_loc = 'uni_cafe'
	$menu_arg = 'artem'
	menu_off = 0
	minut += 5
	gs 'npc_relationship', 'modify', 'A2', 'like', 1
	gs 'stat'
	'<center><h4><font color="maroon">University Cafeteria</font></h4></center>'
	'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big2.jpg"></center>'
	if fame['pav_slut'] > 250:
		'You notice Artem sitting at a table having lunch. As you approach, he says "Hey you." You sit and talk to him for a few minutes but he just mutters some responses you can''t understand as he quickly finishes his lunch, then he mutters he has to go, before he gets up and quickly moves away. Seems that even moving to a new city can''t get you away from your reputation as a slut. He tells you where they live before he heads outside and walks away.'
	else
		if npc_rel['A146'] >= 50:
			artemQW['knows_dorm_room_number'] = 1
			'You notice Artem sitting at a table having lunch. He smiles as you approach. "Hey <<$pcs_nickname>>, how have you been?" You sit and talk to him for a few minutes before his phone buzzes. He looks at it and finishes his drink. "Sorry, but I need to go to class. I am in room 209, you should stop by sometime and we can hang out." He tells you before he heads outside and walks away.'
		elseif npc_rel['A146'] <= 20:
			'You notice Artem sitting at a table having lunch. As you approach, all he says is "Hey." You sit and talk to him for a few minutes, but he doesn''t say much to you before he checks his phone and finishes his drink. "Sorry, but I need to go." After that, he walks outside and walks away.'
		else
			'You notice Artem sitting at a table having lunch. "Hey <<$pcs_nickname>>, how have you been?" he asks as you approach. You sit and talk to him for a few minutes before his phone buzzes. He looks at it and finishes his drink. "Sorry, but I need to go. It was nice catching up. Maybe I''ll see you around?" he asks before he heads outside and walks away.'
		end
	end
	act 'Leave': gt 'uni_grounds', 'main'
end

if $ARGS[0]= 'kendra':
	*clr & cla
	$menu_loc = 'uni_cafe'
	$menu_arg = 'kendra'
	menu_off = 0
	minut += 5
	gs 'stat'
	'<center><h4><font color="maroon">University Cafeteria</font></h4></center>'
	'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big84.jpg"></center>'
	if meet_kendra = 1:
		'As you walk  over to her, she invites you to sit down. You talk for a few minutes before she seems to get bored of the idle chit-chat. "You change your mind about serving me?" she asks bluntly.'
		act 'No':
			*clr & cla
			kendrano = 1
			gs 'npc_relationship', 'modify', 'A84', 'dislike', 1
			gs 'stat'
			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big84.jpg"></center>'
			'You smile at her. "Sorry, no. I still don''t belong to anyone."'
			'She sighs softly. "Such a waste. Oh well, there are plenty of pretty little white Russian bitches that love being owned by an ebony Mistress. Perhaps we''ll meet again, and you''ll change your mind. If you change your mind, stop by my dorm room." She gives you directions to her dorm room before she finishes her lunch and leaves.'
			act 'Leave': gt 'uni_grounds', 'main'
		end
		act 'Yes':
			*clr & cla
			gs 'npc_relationship', 'modify', 'A84', 'like', 1
			gs 'stat'
			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big84.jpg"></center>'
			'You look down a little to show your submission to her. "Yes, Mistress Kendra."'
			'She smiles widely. "I think you''re going to make a great little slave. We''re going to have a lot of fun together. I wish I had time to start your training now, but I have things I need to do. Come by my dorm room as soon as you can." With that, she finishes her drink, gets up, and walks out.'
			act 'Leave': gt 'uni_grounds', 'main'
		end
	elseif kendraslave >= 1:
		gs 'npc_relationship', 'modify', 'A84', 'like', 1
		'As you walk over to her, she invites you to sit down. "Who do we have here? My favorite little white slave bitch. Come to service me? I wish I had time for a training session, but unfortunately, I have things to do. Come by my dorm room as soon as you can." With that, she finishes her drink, gets up, and walks out.'
	elseif hotcat >= 5:
		'As you walk over to her, she invites you to sit down and you take a seat opposite her. "You''re a pretty little thing. What is your name?" she asks.'
		'"<<$pcs_firstname>>, but most people call me <<$pcs_nickname>>. What''s your name?" you reply.'
		'She smiles. "<<$pcs_nickname>>, what a pretty name. I am Kendra, but you can call me Mistress Kendra," she says confidently.'
		'"Oh..." you reply. She''s one of those people.'
		act 'Leave': gt 'uni_grounds', 'main'
		act 'Talk to her':
			*clr & cla
			meet_kendra = 1
			npc_rel['A84'] = 45
			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big84.jpg"></center>'
			'You start talking with her and tell her a bit about yourself, and she replies by saying that she''s a student from the Republic of Congo attending the university on a student visa. You talk about a wide range of subjects for a while before she eventually says, "You''re beautiful. I love making pretty little Russian bitches my slaves. Call me Mistress Kendra, <<$pcs_nickname>>, and become mine." Should you call her mistress? You have no doubt where that will lead.'
			act 'Call her Kendra':
				*clr & cla
				kendrano = 1
				gs 'npc_relationship', 'modify', 'A84', 'dislike', 1
				gs 'stat'
				'<center><img <<$set_imgh>> src="images/locations/city/redlight/erotomaniac/sex/shkend.jpg"></center>'
				'You smile at her. "Sorry, but I don''t belong to anyone."'
				'She sighs softly. "Such a waste. Oh well, there are plenty of pretty little white Russian bitches that love being owned by an ebony Mistress. Perhaps we will meet again, and you will change your mind?" She gives you directions to her dorm room, and she returns to browsing.'
				act 'Leave': gt 'uni_grounds', 'main'
			end
			act 'Call her Mistress Kendra':
				*clr & cla
				gs 'npc_relationship', 'modify', 'A84', 'like', 1
				gs 'stat'
				'<center><img <<$set_imgh>> src="images/locations/city/redlight/erotomaniac/sex/shkend.jpg"></center>'
				'You look down a little to show your submission to her. "Yes, Mistress Kendra."'
				'She smiles widely. "I think you are going to make a great little slave. We''re going to have a lot of fun together. I wish I had time to start your training now, but I have things I need to do. Do come by my dorm room as soon as you can." With that, she finishes her drink, gets up, and walks out.'
				act 'Leave': gt 'uni_grounds', 'main'
			end
		end
	elseif npc_rel['A84'] < 40:
		gs 'npc_relationship', 'modify', 'A84', 'like', 1
		'You walk over to her table and stand next to it. "Hi," you smile as you greet her.'
		'She looks up at you with an annoyed look. "I don''t have time for games, and I''m tired of yours. Now get lost." She proceeds to ignore you, so you turn and leave.'
	end
	act 'Leave': gt 'uni_grounds', 'main'
end

if $ARGS[0]= 'djibril':
	*clr & cla
	$menu_loc = 'uni_cafe'
	$menu_arg = 'djibril'
	menu_off = 0
	minut += 5
	DjibrilQW['invite'] = 1
	DjibrilQW['meet'] = 1
	gs 'npc_relationship', 'modify', 'A82', 'like', 1
	gs 'stat'
	'<center><h4><font color="maroon">University Cafeteria</font></h4></center>'
	'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big82.jpg"></center>'
	if DjibrilQW['invite'] = 1:
		'You notice Djibril sitting at a table. He smiles as you approach. "Hello again, <<$pcs_nickname>>." You sit and talk to him for a few minutes before his phone buzzes. He looks at it and then finishes his drink. "Sorry, but I need to go. You should really stop by my dorm room. We could hang out and have some fun." He reminds you which dorm room is his before he heads outside and walks away.'	
	elseif DjibrilQW['meet'] = 1 and DjibrilQW['invite'] = 0:
		'<center><img <<$set_imgh>> src="images/locations/city/centralpark/cafe/djibril_talk.jpg"></center>'
		'You notice Djibril sitting at a table. He smiles as you approach. "Hello again, <<$pcs_nickname>>." You sit and talk to him for a few minutes before his phone buzzes. He looks at it and then finishes his drink. "Sorry, but I need to go. If you like, you should stop by my dorm room sometime, and we can hang out and talk more." He tells you which building it is and which room is his before he heads outside and walks away.'
	elseif hotcat >= 5:
		DjibrilQW['meet'] = 1
		'As you approach him, the young African man sitting at the table introduces himself. "I am Djibril Maina. What''s your name?"'
		'You smile at him. "<<$pcs_firstname>> <<$pcs_lastname>>, but most people just call me <<$pcs_nickname>>."'
		'He looks surprised for a second. "Are you from Pavlovsk?" When you nod your head, he looks even more surprised. "Do you have an Aunt Luda dating a man named Olu?"'
		'Now it''s your turn to look surprised. "Yes, how did you know that?"'
		*nl
		'He shakes his head with a slight laugh. "He is my uncle. They''ve told me about you. Small world, huh?"'
		'You giggle. "Yeah, it really is."'
		'You sit and talk to him for a few minutes before his phone buzzes. He looks at it and then finishes his drink. "Sorry, but I need to go. If you like, you should stop by my dorm room sometime, and we can hang out and talk more." He tells you which building it is and which room is his before he heads outside and walks away.'
	end
	act 'Leave': gt 'uni_grounds', 'main'
end

--- uni_cafe ---------------------------------

