# sleep_reflections

if $ARGS[0] = 'event_check':
	if test_var = 1: $sleep_events_priority[] = 'gs ''sleep_reflections'', ''test_reflection'' '
!!check I did the code correct for these two
	if daystart >= anushkaQW['sleep_reflection_day'] + 7:
		if anushkaQW['sveta_love'] = 10: $sleep_events_priority[] = 'gs ''sleep_reflections'', ''anushka_love'' '
	end
	if daystart >= artemQW['sleep_reflection_day'] + 7:
		if artemQW['bf'] >= 1 and artemQW['love'] <= 0: $sleep_events_priority[] = 'gs ''sleep_reflections'', ''artem_love'' '
	end
end

if $ARGS[0] = 'end':
	sleepVars['sleep_reflection_day'] = daystart
	gs 'pre_sleep_events', 'event_end'
end

if $ARGS[0] = 'test_reflection':
	if ARGS[1] = 0: gt 'sleep_reflections', $ARGS[0], 1

	'This is a test reflection!'
	'Sveta is thinking deeply about "TEST_PERSON"'
	'Wow, what interesting thoughts'

	act 'positive':
		*clr & cla
		test_var = 2
		'You think positive things about "TEST_PERSON"!'

		act 'Go to sleep': killvar 'test_var' & gs 'sleep_reflections', 'end'
	end
	act 'negative':
		*clr & cla
		test_var = -1
		'You think negative things about "TEST_PERSON"!'

		act 'Go to sleep': killvar 'test_var' & gs 'sleep_reflections', 'end'
	end
	act 'ignore': killvar 'test_var' & gs 'sleep_reflections', 'end'

end

!!check I did the code correctly for these two and at the top
if $ARGS[0] = 'anushka_love':
	if ARGS[1] = 0: gt 'sleep_reflections', $ARGS[0], 1
	anushkaQW['sleep_reflection_day'] = daystart

	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/anushka/nush_model/sveta_photographer/set1/pose4.jpg"></center>'
	'As you drift off to sleep you start thinking about all the time you have been spending with Anushka and how you feel around her. She is one of your best friends but something tugs at you that it might be something more. Perhaps you are falling in love with her?'
	act 'Yes you love her':
		*clr & cla
		anushkaQW['sveta_love'] += 1
		gs 'stat'
		'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big144.jpg"></center>'
		'The more you think about your time with Anushka the more you think about how her hair smells, the sound of her soft laugh, or how cute she looks when she has that trouble making smirk on her lips, how soft her skin feels under your touch... You suddenly realize that you have fallen in love with her, but what does this mean for the future? You know she has made it pretty clear she is not interested in being romantically involved with anyone, but maybe you can change her mind? Finally you drift off to sleep wonder what your future with Anushka will hold.'
		act 'Go to sleep': gs 'sleep_reflections', 'end'
	end
	act 'You are just friends':
		*clr & cla
		anushkaQW['sveta_love'] = -20
		gs 'stat'
		'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big144.jpg"></center>'
		'The more you think about your time with Anushka, the more you realize you are not in love with her. You love spending time with her, but she is just one of your best friends, that''s all.'
		act 'Go to sleep': gs 'sleep_reflections', 'end'
	end
	act 'ignore': gs 'sleep_reflections', 'end'
end

if $ARGS[0] = 'artem_love':
	if ARGS[1] = 0: gt 'sleep_reflections', $ARGS[0], 1
	artemQW['sleep_reflection_day'] = daystart

	'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big2.jpg"></center>'
	'As you drift off to sleep you start thinking about all the time you have been spending with Artem and how you agreed to be his girl friend. You have no doubts he is in love with you, but you are not sure how you feel about him. You like him, you care about him, but do you love him?'
	act 'Yes you love him':
		*clr & cla
		artemQW['love'] = 1
		gs 'stat'
		'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big2.jpg"></center>'
		'The more you think about your time with Artem the more you realize you have fallen in love with him. You finally drift off to sleep imagining your life with Artem.'
		act 'Go to sleep': gs 'sleep_reflections', 'end'
	end
	act 'No you don''t love him':
		*clr & cla
		artemQW['love'] = -1
		gs 'stat'
		'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big2.jpg"></center>'
		'The more you think about your time with Artem, the more you realize you are not in love with him. You love spending time with him and he is a great guy, but you just don''t love him. You finally drift off to sleep wonder what the future will hold for you and Artem.'
		act 'Go to sleep': gs 'sleep_reflections', 'end'
	end
	act 'ignore': gs 'sleep_reflections', 'end'
end

--- sleep_reflections ---------------------------------
