# npc_3501_init
!! Maya Semionova 

!! locations:
	!! Generic - 1 bedroom, 2 living room, 3 kitchen, 4 bathroom, 5 hall, 6 changing room, 7 dressing room, 8 class
	!! Locations: 1 home, 2 dance school, 3 theatre, 4 Pushkin Sq, 5 City, 6 Canals, 7 shops (random), 8 uni, 9 public eaterie
	!! Locations are built locat[maya] to point to a major location and then locat[maya_room] to determine sub-location
!! scheduler
if $ARGS[0] = 'scheduler':
	!! School week - Summer school
	if ballet_first_visit = 1:
		if hour = 6:
			locat['maya'] = 1
			locat['maya_room'] = 3
		elseif hour >= 8 and hour <= 16:
			maya['home'] = 0
			if hour = 12: 
				locat['maya'] = 2
				locat['maya_room'] = 8
			else
				locat['maya_room'] = 7
			end
		elseif hour= 17 and hour < 18:
			locat['maya'] = 1
			locat['maya'] = 3
		elseif hour = 18 and hour < 22:
			locat['maya'] = rand(0,1)
			if locat['maya'] = 1:
				locat['maya'] = 1
				locat['maya_room'] = rand(1,2)
			end
		end
	!! Summer Break
	!! School year

	!! Uni years
	!! Corp De Ballet
	end	
end
!! Init first event - triggered from pushkin_ballet_res, bedroom

if $ARGS[0] = 'grave':
	*clr & cla
	minut += 5
	gs 'stat'
	'<center><img <<$set_imgh>> src="images/characters/ballet/3501-1.jpg"></center>'
	'<<$npc_firstname[''A3501'']>> enters your room, "<<$pcs_nickname>>, do you have some free time?"'
	'"Sure, what do you need, <<$npc_firstname[''A3501'']>>? Some more practice?"' 
	'"I need to go somewhere, but I don''t want to go alone," <<$npc_firstname[''A3501'']>> says, avoiding the question, her eyes looking at the floor.'
	'"Are you okay?" you ask, concerned about her. You briefly think you saw the pain in her eyes before she looked away, but you remain unsure.'
	'"I just need to go to the graveyard tonight. It''s something I need to do. I understand if you don''t want to come." Something in her voice leaves you puzzled, but you''re not sure what it is.'
	
	act 'Go to the graveyard' : mayaqw['grave'] = 2 & gt 'npc_3501_init', 'graveyard_memorial' 
	act 'Say sorry, you''re studying' : mayaqw['grave'] = 1 & npc_trust['A3501'] -= 5 & gt 'pushkin_ballet_res', 'bedroom' 
	
end

if $ARGS[0] = 'graveyard_memorial':
	*clr & cla
	$setloc['StageTitle'] = 'Pushkin Graveyard'
	$setloc['StageImage'] = '<<$default_img_path>>ballet_events/graveyard'
	minut += 45
	gs 'stat'
	gs 'core_library', 'stage_title'
	'You agree to <<$npc_firstname[''A3501'']>>''s strange request. You grab your coat before the two of you head out of your bedroom. You take the short walk from your residence to the graveyard, a quiet location. <<$npc_firstname[''A3501'']>> has been quiet during your walk, totally unlike her usual boisterous self. However, you''re unsure how to break the silence when she touches your arm.'
	'You pause and look towards her. "Thank you, <<$pcs_nickname>>, for coming with me. You''re probably wondering why we''re here." Grief fills her eyes, showing the pain that she''s been holding back. <<$npc_firstname[''A3501'']>> starts to walk again until you come to a grave.'
	*nl
	'Standing at the grave, you see the name Anitchka Semionova engraved on the gravestone. You realize that this must be her mother who died 6 years ago, looking at the dates. You look at <<$npc_firstname[''A3501'']>> and see the tears start to form in her eyes.'
	act 'Hug <<$npc_firstname[''A3501'']>>':
		*clr & cla
		gs 'npc_relationship', 'modify', 'A3501', 'like'
		npc_trust['A3501'] += 5
		gs 'stat'
		gs 'core_library', 'stage_title'
		'You step in, pulling her close to you. You smell the soft, floral fragrance she wears, and she starts to cry. You just hold her waiting for the storm of tears to pass. You reach into your purse to take out a tissue and hand it to <<$npc_firstname[''A3501'']>>.'
		act 'Talk to <<$npc_firstname[''A3501'']>>':
			*clr & cla
			gs 'core_library', 'stage_title'
			'<<$npc_firstname[''A3501'']>> gives you a warm smile as she takes the tissue. "Sorry for being such a mess, <<$pcs_nickname>>. This is why I dance. I owe it to my mum. She was a ballet dancer herself, and I inherited her talent."'
			*nl
			'You squeeze her hand to encourage her. Then, you put your coat on the ground for both of you to sit on. "Take your time, <<$npc_firstname[''A3501'']>>", you coax her softly.'
			'"I''m not usually this bad," <<$npc_firstname[''A3501'']>> replies. "It''s just that getting a place on this course is a major achievement for me. Do you mind and give me a moment alone, please?" She looks vulnerable as she makes the request.'
			'"Sure, <<$npc_firstname[''A3501'']>>. I''ll be beside those trees."'
			act 'Wait':
				*clr & cla
				gs 'core_library', 'stage_title'
				'You pick up your coat and start walking to the bench near the main entrance, brushing the grass and leaves from your coat. You sit down and look towards <<$npc_firstname[''A3501'']>> but can''t see her. You pull out your phone and play a game to distract yourself.'
				*nl
				'You look up, hearing footsteps, and it''s <<$npc_firstname[''A3501'']>> coming back. Her eyes were red and puffy from crying. You stand up to meet her, "You look a fright, <<$npc_firstname[''A3501'']>>. Let me fix your makeup."'
				'Before she can say anything, you pull her to the bench and start cleaning her up. As you quickly finish the touch-up, <<$npc_firstname[''A3501'']>> just sits there, lost in her own world.'
				*nl
				'"There, that''s better. I don''t have all my makeup with me, but at least you''re presentable now," you give a small laugh and smile to show you''re joking, and she laughs with you. The first genuine sign all evening that she''s coming out of whatever bothers her is, "Thank you, <<$pcs_nickname>>. I don''t know if I could have done this without you.'
				'"Don''t worry about it," you reply. "Come on, we need to get back, or we''ll get into trouble with Bronya!" <<$npc_firstname[''A3501'']>> gives you a quick hug in gratitude, and somehow her hand finds yours as you make your way back to your residence.'
				
				act 'Head back' : gt 'npc_3501_init', 'post_grave' 
			end
		end
	end

	act 'Talk to <<$npc_firstname[''A3501'']>>':
		*clr & cla
		gs 'core_library', 'stage_title'
		'<<$npc_firstname[''A3501'']>> gives you a warm smile as she takes the tissue. "Sorry for being such a mess, <<$pcs_nickname>>. This is why I dance. I owe it to my mum. She was a ballet dancer herself, and I inherited her talent."'
		'You squeeze her hand to encourage her. Then, you put your coat on the ground for both of you to sit on. "Take your time, <<$npc_firstname[''A3501'']>>", you coax her softly.'
		'"I''m not usually this bad," <<$npc_firstname[''A3501'']>> replies. "It''s just that getting a place on this course is a major achievement for me. Do you mind and give me a moment alone, please?" She looks vulnerable as she makes the request.'
		'"Sure, <<$npc_firstname[''A3501'']>>. I''ll be beside those trees."'
		act 'Wait':
			'You pick up your coat and start walking to the bench near the main entrance brushing the grass and leaves from your coat. You sit down and look towards <<$npc_firstname[''A3501'']>> but can''t see her. You pull out your phone and play a game to distract yourself.'
			*nl
			'You look up, hearing footsteps, and it''s <<$npc_firstname[''A3501'']>> coming back. Her eyes were red and puffy from crying. You stand up to meet her, "You look a fright, <<$npc_firstname[''A3501'']>>. Let me fix your makeup."'
			'Before she can say anything, you pull her to the bench and start cleaning her up. As you quickly finish the touch-up, <<$npc_firstname[''A3501'']>> just sits there, lost in her own world.'
			*nl
			'"There, that''s better. I don''t have all my makeup with me, but at least you''re presentable now," you give a small laugh and smile to show you''re joking, and she laughs with you. The first genuine sign all evening that she''s coming out of whatever bothers her is, "Thank you, <<$pcs_nickname>>. I don''t know if I could have done this without you.'
			'"Don''t worry about it," you reply. "Come on, we need to get back, or we''ll get into trouble with Bronya!"'
			act 'Head back' : gt 'npc_3501_init', 'post_grave'
		end
	end
end

!! Init second event - triggered from pushkin_ballet_res, bedroom decides if Maya helps at quest point.

if $ARGS[0] = 'post_grave':
	if mayaqw['grave'] = 1:
		*clr & cla
		minut += 15
		'<center><h2>Residental Bedroom</h2></center>'
		'<center><img <<$set_imgh>> src="images/locations/pushkin/ballet_residence/bedroom.jpg"></center>'
		'<<$npc_firstname[''A3501'']>> enters your room, and you can see she''s been crying. "<<$pcs_nickname>>, do you have a moment?"'
		'"Sure," you reply, wondering if you will get answers as to why she''s has been crying. She sits on your bed and stays silent for a few moments.'
		'"<<$pcs_nickname>>, how much do you know about me?"'
		'"Nothing, we only just met this week!" you say.'

		act 'Continue talking': mayaqw['grave'] = 3 & gt 'npc_3501_init', 'post_grave'
	end
	if mayaqw['grave'] = 2:
		gs 'npc_relationship', 'modify', 'A3501', 'like'
		minut += 20
		gs 'stat'
		'<center><h2>Residental Bedroom</h2></center>'
		'<center><img <<$set_imgh>> src="images/locations/pushkin/ballet_residence/bedroom.jpg"></center>'
		'You enter your room together and see that <<$npc_firstname[''A3501'']>> is still subdued. "You want some tea <<$npc_firstname[''A3501'']>>?" she looks up and nods before she starts dabbing her eyes with the handkerchief. '
		act 'Go to the kitchen':
			*clr & cla
			'<center><img <<$set_imgh>> src="images/locations/pushkin/ballet_events/gasha_raid.jpg"></center>'
			'You quickly leave the room and bump into Gasha doing a snack raid. She jumps as she sees you, almost dropping her loot. She has a guilty expression. You''re about to say something, but she''s off before you can get a word out, leaving you to shake your head in amusement.' 
			act 'Make tea':
				*clr & cla
				'<center><h2>Residental Kitchen</h2></center>'
				'<center><img <<$set_imgh>> src="images/locations/pushkin/ballet_residence/kitchen.jpg"></center>'
				'You make some strong tea and head back to your room. <<$npc_firstname[''A3501'']>> is laying on your bed with her eyes closed.'
				'You approach her and lead down to touch her hand. "<<$npc_firstname[''A3501'']>>, you awake?"'
				'She opens her eyes and gives you a small smile, "Yes, <<$pcs_nickname>>. You brought the tea, thank you. You''ve been too good to me tonight."'
				'<<$npc_firstname[''A3501'']>> settles down and starts to talk. "<<$pcs_nickname>>, how much do you know about me?"'
				'"Nothing, we only just meet this week!" you reply, giving a small laugh.'
				
				act 'Continue talking': mayaqw['grave'] = 4 & gt 'npc_3501_init', 'post_grave'
			end
		end
	end
	if mayaqw['grave'] >= 3: 
		minut += 20
		gs 'stat'
		if mayaqw['grave'] = 3:
			*clr & cla
			'<center><h2>Residental Bedroom</h2></center>'
			'<center><img <<$set_imgh>> src="images/locations/pushkin/ballet_residence/bedroom.jpg"></center>'
		else
			*clr & cla
			'<center><h2>Residental Bedroom</h2></center>'
			'<center><img <<$set_imgh>> src="images/locations/pushkin/ballet_events/tea_bed.jpg"></center>'
		end

		'"Yeah, that''s true. Sorry, I''m used to everyone knowing who I am. You''re the first person that treats me like a person rather than some fragile piece of China."'
		'"Why?" you ask.'
		'"I''m the daughter of Anitchka Semionova."'
		'"Wait," you ask in surprise. "<i>THAT</i> Anitchka Semionova?" You remember the stories you heard when you attended dance school about her career and how wonderful she was as a dancer and that she was a local celebrity.' 
		'"Yes, <<$pcs_nickname>>. That Anitchka Semionova, she was my mother. Now you understand, I''ve always had to live in her shadow."'
		'"My mother was a freelance ballet coryphée and was touring when she was given the news of terminal cancer." she starts crying again. You draw her into your arms, comforting her, and she rests her head on your shoulder.'
		'"It''s okay, she''s been dead six years, but being at this school reminded me of how much she''d have been proud of me and getting a place on this course." She dabs the tears from her face, looking down at the floor.'
		'"It''s getting late, and we''ve got a lot to prepare for. I should be going," she says in a soft voice.'
		'"Are you sure, <<$npc_firstname[''A3501'']>>?"'
		'"Yes, thank you for the tea." She gives you the first warm smile of the evening.'
		'"Any time. You know where you can find me if you need to talk."'
		'"Thank you, <<$pcs_nickname>>." With that, she slips quietly out of the room, lost in her thoughts, leaving you to your own about the evening''s events.'


		act 'Watch' : gt 'pushkin_ballet_res', 'bedroom'
	end
end

!! Summer School 

if $ARGS[0] = 'summer_school':
	if $balletEv['trigger'] = 'late':
		*clr & cla
		if mayaqw['grave'] = 4:
			mood += 10
			'<center><img <<$set_imgh>> src="images/characters/ballet/3501_1.jpg"></center>'
			'<<$npc_firstname[''A3501'']>> is bubbling with enthuasism when she finds you running behind schedule, "Come on <<$pcs_nickname>> you''re going to be late!"'
			'Her mood is infectious and soon you quickly grab your dance bag and head to school with <<$npc_firstname[''A3501'']>>.'

			act 'Go to School': gt 'pushkin_ballet_class', 'start'
		else
			'<center><img <<$set_imgh>> src="images/characters/ballet/warden.jpg"></center>'
			'Bronya finds you running late in your morning preperations, "Come on <<$pcs_nickname>>, you''re going to be late!"'

			act 'Go to School': gt 'pushkin_ballet_class', 'start'
		end
	end
end

!! Career Events - highlights of career, initialise show, joining the Corp de Ballet.

!! Maya Path multiple join points

!! Rudolph Path - init if received discipline points or failed course

--- npc_3501_init ---------------------------------
