Browse Source

[added] bare bones Sonia home for her prefall content by nutluck with some code from Hooded Silence

Kevin_Smarts 1 year ago
parent
commit
cc253be85f

+ 1 - 0
glife.qproj

@@ -537,6 +537,7 @@
 	</Folder>
 	<Folder name="Sonia">
 		<Location name="soniadisco"/>
+		<Location name="soniahome"/>
 	</Folder>
 	<Folder name="Generator">
 		<Location name="placer"/>

+ 20 - 0
locations/gschool_coolkid_chats.qsrc

@@ -1503,6 +1503,11 @@ if $ARGS[0] = 'sonia':
 			'"Oh man!" Sonia groans and stretches. "I can''t WAIT for this day to be over!"'
 			'"What''s wrong?" you ask.'
 			'Sonia sighs and looks around. "Just tired of... all this. I just want to have some fun. Is that too much to ask?" The two of you start talking about some of your recent nights out and it seems like Sonia really wants to just cut loose.'
+!!want to add this so it triggers once the first time Sonias rel hits 50
+			if soniaQW['homeinvite'] = 0:
+				soniaQW['homeinvite'] = 1
+				'As you start to head to class Sonia says. "Hey why don''t you come by my house sometime and we can hang out." She quickly tells you her address and you assure her you will stop by sometime.'
+			end
 		elseif npc_rel['A139'] <= 20:
 			'You spend some time talking with Sonia, but she ends up focusing more on the magazine she''s reading, which is a bit disappointing, but at least she stuck around.'
 		else
@@ -1515,6 +1520,11 @@ if $ARGS[0] = 'sonia':
 			'"Oh man!" Sonia groans and stretches. "I can''t WAIT for this day to be over!"'
 			'"What''s wrong?" You ask her.'
 			'Sonia sighs and looks around. "Just tired of... all this. I just want to have some fun. Is that too much to ask?" The two of you start talking about some of your recent nights out and it seems like Sonia really wants to just cut loose.'
+!!want to add this so it triggers once the first time Sonias rel hits 50
+			if soniaQW['homeinvite'] = 0:
+				soniaQW['homeinvite'] = 1
+				'As you start to head to class Sonia says. "Hey why don''t you come by my house sometime and we can hang out." She quickly tells you her address and you assure her you will stop by sometime.'
+			end
 		elseif npc_rel['A139'] <= 20:
 			'"Have you seen the new clothes they''re selling at the garment factory in town?" you ask Sonia, trying to catch her interest, but you manage to do the exact opposite.'
 			'"Garment factory?" she asks with a hurt and slightly annoyed look. "What makes you think I shop at that place?"'
@@ -1528,6 +1538,11 @@ if $ARGS[0] = 'sonia':
 		if npc_rel['A139'] >= 50:
 			'"Hey Sonia!" you greet her with a smile and she gives you a friendly little wave.'
 			'"What''s up neeeeerd?" she asks with a giggle and you tell her you just wanted to hang out for a bit. With Sonia being so friendly, you slip into an easygoing banter with her for the rest of break.'
+!!want to add this so it triggers once the first time Sonias rel hits 50
+			if soniaQW['homeinvite'] = 0:
+				soniaQW['homeinvite'] = 1
+				'As you start to head to class Sonia says. "Hey why don''t you come by my house sometime and we can hang out." She quickly tells you her address and you assure her you will stop by sometime.'
+			end
 		elseif npc_rel['A139'] <= 20:
 			'You spend some time talking with Sonia, but she ends up focusing more on the magazine she''s reading, which is a bit disappointing, but at least she stuck around.'
 		else
@@ -1539,6 +1554,11 @@ if $ARGS[0] = 'sonia':
 		if npc_rel['A139'] >= 50:
 			'"Hey Sonia!" you greet her with a smile and she gives you a friendly little wave.'
 			'"What''s up? Mind if I ask you some questions?" she asks and you shrug. She launches into a barrage of questions about partying with your fellow gopniks. What they''re like, what it''s like to run wild, etc. She seems very interested in what you and the other gopniks do for fun and you talk for a while, mostly sharing some of your favorite stories.'
+!!want to add this so it triggers once the first time Sonias rel hits 50
+			if soniaQW['homeinvite'] = 0:
+				soniaQW['homeinvite'] = 1
+				'As you start to head to class Sonia says. "Hey why don''t you come by my house sometime and we can hang out." She quickly tells you her address and you assure her you will stop by sometime.'
+			end
 		elseif npc_rel['A139'] <= 20:
 			'You spend some time talking with Sonia, but she ends up focusing more on the magazine she''s reading, which is a bit disappointing, but at least she stuck around.'
 		else

+ 9 - 1
locations/pav_disco_coolkids.qsrc

@@ -1377,7 +1377,7 @@ if $ARGS[0] = 'katja_walkhome':
 	katjaQW['drunk_help'] = 1
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/disco/school_kids/walkhome_katja.jpg"></center>'
-	if func('homes_properties', 'has_access', 'parents_home'):
+	if owned_property['parents_home'] = 4:
 		'Katja takes you by the arm and helps you get home.'
 		act 'Go home': gt 'korrPar'
 	else
@@ -1516,6 +1516,13 @@ if $ARGS[0] = 'sonia_dance':
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/disco/school_kids/sonia_sveta_dance.jpg"></center>'
 	'You and Sonia move out onto the dance floor and start dancing together. She seems to be really enjoying herself, laughing and dancing with lots of energy and doesn''t seem to care what anyone thinks. She just wants to have fun.'
+!!want to add this so it triggers once the first time Sonias rel hits 50
+	if npc_rel['A139'] >= 50:
+		if soniaQW['homeinvite'] = 0:
+			soniaQW['homeinvite'] = 1
+			'As you dance together, she moves in until she is real close and leans in and says. "Hey why don''t you come by my house sometime and we can hang out." She quickly tells you her address and you assure her you will stop by sometime, before the two of you go back to dancing together.'
+		end
+	end
 	act 'Do something else': gt 'pav_disco_classmates', 'classmates'
 	if hour >= 20:
 		act 'Keep dancing': gt 'pav_disco_coolkids', 'sonia_dance'
@@ -1699,6 +1706,7 @@ if $ARGS[0] = 'sonia_outcast_dance':
 								'You pull back from her to create space as you stop kissing. "Sorry not tonight..."'
 								'You don''t get time to finish your thought, she looks hurt and angry at your words. "Fine!" Then turns and walks away from you.'
 								!!can we code this so if this happens she leave the disco for the night
+								 discobloc['A139'] = daystart
 								act 'Do something else': gt 'pav_disco_classmates', 'classmates'
 							end
 						else

+ 3 - 1
locations/pav_residential.qsrc

@@ -128,7 +128,8 @@ if Enable_tablemap = 0:
 	if LariskaQW['story'] >= 6: '<a href="exec:minut += 10 & gt ''LariskaHome'', ''front_door''">Lariska</a> lives about 10 minutes away from here.'
 	if christinaQW['subpath'] >= 5: '<br><a href="exec: gt ''Zvereva_house'', ''front_door''">Christina</a> lives in an expensive house near here.'
 	if AlbinaQW['KnowsHouse'] = 1:'<a href="exec:minut += 10 & gt ''albinahome'',''gate''">Albina</a> lives in one of the few luxurious mansions Pavlovsk has to offer.'
-else
+	if soniaQW['homeinvite'] = 1: '<a href="exec:minut += 10 & gt ''soniahome'',''home''">Sonia''s</a> house is up through a garden pathway to a well cared for grey, wooden-clad house'
+
 	st_count=0 & $show_table=''
 	if DimaBeHomeOnce = 1 and DimaRudeBlock = 0: gs'show_table','Fancier house of <a href="exec:minut += 10 & gt ''dimaHome'', ''home''">Dimka Nosov</a>','3'
 	if (igor_history = 1 or IgorLoverQW > 0 or IgorQW['house_open'] = 1) and IdorBlock = 0: gs'show_table','Fancier house of <a href="exec:minut += 10 & gt ''IgorHome'', ''home''">Igor Kruglov</a>', '3'
@@ -136,6 +137,7 @@ else
 	if LariskaQW['story'] >= 6: gs'show_table','House of <a href="exec:minut += 10 & gt ''LariskaHome'', ''front_door''" >Lariska Gruzdev</a> in the richer part of town','3'
 	if christinaQW['subpath'] >= 5: gs'show_table','<br><a href="exec: gt ''Zvereva_house'', ''front_door''">Christina</a> lives in an expensive house near here.','3'
 	if AlbinaQW['KnowsHouse'] = 1: gs'show_table','A luxurious mansion that''s home to <a href="exec:minut += 10 & gt ''albinahome'',''gate''">Albina Barlovskaya</a>','3'
+	if AlbinaQW['KnowsHouse'] = 1: gs'show_table','A grey wooden-clad house that''s home to <a href="exec:minut += 10 & gt ''soniahome'',''home''">Sonia Ivanko</a>','3'
 	if st_count > 0 :'<TABLE BORDER=1><<$show_table>></TR></TABLE>'
 end
 !!end of code changes.

+ 441 - 0
locations/soniahome.qsrc

@@ -0,0 +1,441 @@
+# soniahome
+
+!! Sonia Ivanko
+!! Parshikov Ivanko - father
+!! Shulyov Ivanko - older brother
+!! Tkachenko Ivanko - mother
+
+!! soniaQW['homeinvite'] = 1 - means been invited to her home, which unlocks it in the pav resident file
+!! soniaQS['tkachenko'] quest tracker
+!! soniaQS['parshikov'] quest tracker
+!! soniaQS['shulyov'] quest tracker
+
+
+
+if $ARGS[0] = 'home':
+	$menu_loc = 'soniahome'
+	$menu_arg = 'home'
+	menu_off = 0
+	$track_loop = ''
+	CLOSE ALL
+	if sound = 0:PLAY 'sound/korr.mp3',30
+	$locM_arg = 'home'
+	$locM = 'soniahome'
+	$loc_arg = 'home'
+	$loc = 'soniahome'
+	$location_type = 'private'
+	*clr & cla
+	gs 'stat'
+	gs 'themes', 'indoors'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/house_front.jpg"></center>'
+	'You approach Sonia''s house walking up the pathway through a small well-cared garden with various flowers and shrubs towards a grey, wooden-clad house, which is equally well-cared for.'
+	if hour >= 22:
+		'It would be rude to even knock on the door at this time. Sonia is probably asleep, so you decide against it and lower your hand.'
+		act 'Move away from the door':gt 'pav_residential'
+	elseif hour < 8:
+		'It would be rude to even knock on the door at this time. Sonia is probably asleep, so you decide against it and lower your hand.'
+		act 'Move away from the door':gt 'pav_residential'
+	else
+		menu_off = 1
+		gs 'stat'
+		'You go to Sonia Ivanko''s house and knock of the door.'
+!!During school or disco hours 0 happens, or after Sonia falls 0 will happen.(until I have time to write post fall home events, I want to block her home) the rest of the time it is a even chance of 1-3 happening
+!!for right now until I can write different versions after Sonia''s fall just going to always have her not home at the moment
+		DoorOpenedBy = rand(0,3)
+		if soniaPS > 0 or DoorOpenedBy = 0:
+			*clr & cla
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/tkachenko.jpg"></center>'
+			'You stand outside the Ivanko household, knocking on the door. The door is quickly answered by Sonia''s mother, who has an unfriendly, serious look on her face. "Sonia is not here. She should be home later. You can call her then." She says before politely closing the door, not inviting you in.'
+			act 'Leave': gt 'pav_residential'
+		elseif DoorOpenedBy = 1:
+			*clr & cla
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/tkachenko.jpg"></center>'
+			if soniaQS['tkachenko'] = 0:
+				'You stand outside the Ivanko household, knocking on the door. The door is quickly answered by Sonia''s mother, who has an unfriendly, serious look on her face. "Hello, can I help you?" She says.'
+				'You smile at her. "Hi, I''m <<$pcs_nickname>>, one of Sonia''s classmates. Is she here?"'
+				'She frowns at you. It seems she doesn''t care for your casual attitude. "I am Tkachenko Ivanko, but you can call me Mrs Ivanko; who are you exactly?"'
+				'You keep your smile. "Sorry Mrs Ivanko, <<$pcs_firstname>> <<$pcs_lastname>>." You tell her.'
+				'She nods a little. "Better, young ladies should have proper manners after all. Sonia is in her room." She stands aside to let you in, and once you are inside, she closes the door.'
+			else
+				'You stand outside the Ivanko household, knocking on the door. The door is quickly answered by Sonia''s mother, who has an unfriendly, serious look on her face. "Hello again, <<$pcs_firstname>>. Sonia is in her room." She says.'
+				'"Thank you, Mrs Ivanko." You tell her to keep her happy, and she lets you in, closing the door behind you.'
+				soniaQS['tkachenko'] = 1
+				act 'Enter': gt 'soniahome','hallway'
+			end
+		elseif DoorOpenedBy = 2:
+			*clr & cla
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/shulyov.jpg"></center>'
+			if soniaQS['shulyov'] = 0:
+				if hotcat >= 6:
+					'You stand outside the Ivanko household, knocking on the door. The door is quickly answered by a young, good-looking man about your sister''s age who has a friendly smile. "Hello, can I help you?" He says as he looks you over with hungry eyes.'
+					'You smile at him. "Hi, I''m <<$pcs_nickname>>, one of Sonia''s classmates. Is she here?"'
+					'He nods and stands aside. "I didn''t know my little sister had such beautiful friends. By all means, come in and welcome. My name is Shulyov. Sonia is in her room." Once you come inside, he closes the door behind you. He stands there momentarily, checking you out before he finally walks off.'
+				else
+					'You stand outside the Ivanko household, knocking on the door. The door is quickly answered by a young, good-looking man about your sister''s age who has a friendly smile. "Hello, can I help you?" He says.'
+					'You smile at him. "Hi, I''m <<$pcs_nickname>>, one of Sonia''s classmates. Is she here?"'
+					'He nods and stands aside. "Yeah, she is in her room." Once you enter, he closes the door behind you and walks off.'
+				end
+			else
+				if hotcat >= 6:
+					'You stand outside the Ivanko household, knocking on the door. The door is quickly answered by a young, good-looking man about your sister''s age who has a friendly smile. "Hello again <<$pcs_nickname>>, nice to see you again." He says as he looks you over with hungry eyes.'
+					'You smile at him. "Hi, is Sonia here?"'
+					'He nods and stands aside. "She is in her room. By all means, come in and make yourself comfortable." Once you come inside, he closes the door behind you. He stands there momentarily, checking you out before he finally walks off.'
+				else
+					'You stand outside the Ivanko household, knocking on the door. The door is quickly answered by a young, good-looking man about your sister''s age who has a friendly smile. "She''s in her room." He says, hooking his thumb back over his shoulder. He waits for you to walk in before closing the door and walking off.'
+				end
+			end
+			soniaQS['shulyov'] = 1
+			act 'Enter': gt 'soniahome','hallway'
+		elseif DoorOpenedBy = 3:
+			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big25.jpg"></center>'
+			'You stand outside the Ivanko household, hoping that Sonia will be the one to come open the door.'
+			'Sonia opens the door smiling, "Hi, <<$pcs_nickname>>. Come in." She closes the door and heads for her room as you go inside.'
+			act 'Enter': gt 'soniahome','hallway'
+		end
+	end
+end
+
+if $ARGS[0] = 'hallway':
+	$locM_arg = 'hallway'
+	$locM = 'soniahome'
+	$location_type = 'private'
+	$menu_arg = $ARGS[0]
+	menu_off = 0
+	killvar '$locclass'
+	*clr & cla
+	minut += 1
+	gs 'stat'
+	'<center><b><font color = maroon>Hallway</font></b></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/hall.jpg"></center>'
+	'You enter a small bright hallway with a door to the lounge on your right and a staircase at the end leading to the bedrooms and bathroom upstairs. There''s also a door to the kitchen in front of you.'
+	act 'Go to Sonia''s bedroom': gt 'soniahome','sonia_room'
+	act 'Go to the bathroom': gt 'soniahome','bathroom'
+	act 'Go to the kitchen': gt 'soniahome','kitchen'
+	act 'Living Room': gt 'soniahome','livingroom'
+	act 'Brothers Room': gt 'soniahome','soniabrother'
+	act 'Parents Room': gt 'soniahome','soniaparents'
+	act 'Leave': gt 'pav_residential'
+end
+
+if $ARGS[0] = 'bathroom':
+	$location_type = 'bathroom'
+	$menu_arg = $ARGS[0]
+	menu_off = 0
+	*clr & cla
+	minut += 1
+	gs 'stat'
+	'<center><b><font color = maroon>Bathroom</font></b></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/bathroom.jpg"></center>'
+	'You enter the bathroom, which is fully tiled using a grey-and-white colour scheme. Whilst reasonably small, it''s very tastefully decorated. It is a fairly typical bathroom, but this might be the cleanest bathroom you have ever been in. It looks practically brand new, is so shiny, and smells lovely.'
+	'You can do your hair and makeup in the <a href="exec:gt ''mirror'', ''start''">mirror</a> above the sink.'
+	*nl
+	if pirsA + pirsB + pirsC + pirsD + pirsE + pirsF + pirsN + pirsG > 0:'<a href="exec:dynamic $pirManage">Manage Piercings</a>'
+	act 'Take a shower':
+		*clr & cla
+		menu_off = 1
+		minut += 10
+		dynamic $showerdin
+		gs 'stat'
+		'<center><h4><font color="maroon">Bathroom</font></h4></center>'
+		'<center><video autoplay loop src="images/shared/home/bathroom/dush.mp4"></video></center>'
+		'You take a quick shower.'
+		act 'Take a selfie':
+			gs 'telefon', 'Phone_selfie_image_bathing', 'shower'
+		end
+		act 'Dry off and get dressed again':gt 'soniahome', 'bathroom'
+	end
+	dynamic $bath
+	dynamic $bteeth
+	dynamic $tampon
+	dynamic $basin
+	gs 'din_van', 'prvt_pee'
+	act 'Go to the hallway':gt 'soniahome','hallway'
+end
+
+if $ARGS[0] = 'kitchen':
+	$locM_arg = 'kitchen'
+	$locM = 'soniahome'
+	$menu_arg = $ARGS[0]
+	menu_off = 0
+	*clr & cla
+	minut += 1
+	gs 'stat'
+	'<center><b><font color = maroon>Kitchen</font></b></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/kitchen.jpg"></center>'
+	'As you enter the kitchen, you notice that whilst it isn''t large, it''s very tastefully done and has everything needed. It also has a dining table adjacent to it for family meals.'
+	act 'Go to the hallway':gt 'soniahome','hallway'
+	act 'Look in the fridge': gt 'soniahome', 'fridge'
+	dynamic $fill_bottle
+	dynamic $driwater
+end
+
+if $ARGS[0] = 'fridge':
+	menu_off = 1
+	*clr & cla
+	minut += 1
+	if ivankofood_day ! daystart:
+		ivankosup_count = 1
+		ivankolefto_count = 1
+		ivankowater_count = 1
+		ivankosanw_count = 1
+	end
+	gs 'stat'
+
+	if ivankolefto_count >= 1:
+		$ivanko_lefto = ' some left overs'
+	else
+		$ivanko_lefto = ''
+	end
+	if ivankosup_count >= 1:
+		$ivanko_sup = ' some soup'
+	else
+		$ivanko_sup = ''
+	end
+	if ivankowater_count >= 1:
+		$ivanko_water = ' some bottled water'
+	else
+		$ivanko_water = ''
+	end
+	if ivankosanw_count >= 1:
+		$ivanko_sanw = ' some stuff to make a sandwich'
+	else
+		$ivanko_sanw = ''
+	end
+	'<center><img <<$set_imgh>> src="images/shared/home/kitchen/fridge.jpg"></center>'
+	'You open the fridge and see:<<$Sonia_tea>><<$Sonia_water>><<$Sonia_sup>><<$Sonia_lefto>><<$Sonia_sanw>>'
+	act 'Close the refrigerator': gt 'soniahome','kitchen'
+	if ivankolefto_count > 0:
+		act 'Eat some left overs': 
+			*clr & cla
+			minut += 5
+			ivankofood_day = daystart
+			ivankolefto_count -= 1
+			gs 'stat'
+			'<center><img <<$set_imgh>> src="images/shared/food/leftovers.jpg"></center>'
+			pcs_health += 10
+			pcs_mood += 20
+			fat += 2
+			pcs_energy += 50
+			if pcs_hydra >= 100:
+				pcs_hydra += 20
+			else
+				pcs_hydra += 40
+			end
+			cumspclnt = 2
+			gs 'cum_cleanup'
+			pcs_breath = 0
+			'It seems to be leftovers from last night''s dinner. But, unfortunately, it isn''t very good, even for leftovers. You doubt it was much better when it was fresh.'
+			act 'Continue': gt 'soniahome','kitchen'
+		end
+	elseif ivankowater_count >= 0:
+		act 'Have some water': 
+			*clr & cla
+			minut += 5
+			ivankofood_day = daystart
+			ivankowater_count -= 1
+			gs 'stat'
+			'<center><img <<$set_imgh>> src="images/shared/food/waterbottle1.jpg"></center>'
+			pcs_health += 10
+			pcs_mood += 20
+			fat += 2
+			pcs_energy += 50
+			if pcs_hydra >= 100:
+				pcs_hydra += 20
+			else
+				pcs_hydra += 40
+			end
+			cumspclnt = 2
+			gs 'cum_cleanup'
+			pcs_breath = 0
+			'You drink some bottled water.'
+			act 'Continue': gt 'soniahome','kitchen'
+		end
+	elseif ivankosup_count >= 0:
+		act 'Have some soup': 
+			*clr & cla
+			minut += 5
+			ivankofood_day = daystart
+			ivankosup_count -= 1
+			gs 'stat'
+			'<center><img <<$set_imgh>> src="images/shared/food/soup.jpg"></center>'
+			pcs_health += 10
+			pcs_mood += 20
+			fat += 2
+			pcs_energy += 50
+			if pcs_hydra >= 100:
+				pcs_hydra += 20
+			else
+				pcs_hydra += 40
+			end
+			cumspclnt = 2
+			gs 'cum_cleanup'
+			pcs_breath = 0
+			'You find some soup in the fridge. You spoon out a bowlful to eat. Unfortunately, it isn''t very good, and you feel that it was sitting there too long.'
+			act 'Continue': gt 'soniahome','kitchen'
+		end
+	elseif ivankosanw_count >= 0:
+		act 'Make a sandwich': 
+			*clr & cla
+			minut += 5
+			ivankofood_day = daystart
+			ivankosanw_count -= 1
+			gs 'stat'
+			'<center><img <<$set_imgh>> src="images/shared/food/reuben.jpg"></center>'
+			pcs_health += 10
+			pcs_mood += 20
+			fat += 2
+			pcs_energy += 50
+			if pcs_hydra >= 100:
+				pcs_hydra += 20
+			else
+				pcs_hydra += 40
+			end
+			cumspclnt = 2
+			gs 'cum_cleanup'
+			pcs_breath = 0
+			'You get all the stuff you need from the fridge, get some bread out of the cabinet and make yourself a sandwich.'
+			act 'Continue': gt 'soniahome','kitchen'
+		end
+	end
+end
+
+if $ARGS[0] = 'livingroom':
+	$menu_loc = 'soniahome'
+	$menu_arg = 'livingroom'
+	$locM_arg = 'livingroom'
+	$locM = 'soniahome'
+	$loc_arg = 'livingroom'
+	$loc = 'soniahome'
+	menu_off = 0
+	CLOSE ALL
+	*clr & cla
+	if livingev_day ! daystart:
+		livingev = rand (1, 5)
+	else
+		livingev = 0
+	end
+	$locclass = 'livingr'
+	minut += 1
+	gs 'stat'
+	'<center><b><font color = maroon>Living room</font></b></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/living_room.jpg"></center>'
+	'You walk into a small but comfortable lounge which is very clean and tidy. You see the TV in the corner and a cosy family settee on the opposite wall facing a fireplace, giving the room a warm and comfortable look.'
+end
+
+if $ARGS[0] = 'soniaparents':
+	$menu_loc = 'soniahome'
+	$menu_arg = 'soniaparents'
+	$locM_arg = 'soniaparents'
+	$locM = 'soniahome'
+	$loc_arg = 'soniaparents'
+	$loc = 'soniahome'
+	menu_off = 0
+	CLOSE ALL
+	*clr & cla
+	minut += 1
+	gs 'stat'
+	'<center><b><font color = maroon>Sonia''s parent''s room</font></b></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/parents_bedroom.jpg"></center>'
+	'You look into Sonia''s parents'' bedroom and see that, as with the rest of the house, it''s spotless, tidy, and tastefully decorated, making the most of the available space. There''s a wardrobe to your right and the bed on the left, with a chest of drawers and a beautiful fireplace.'
+	if hour < 6:
+		gt 'soniahome', 'timecheck'
+	elseif hour > 22:
+		gt 'soniahome', 'timecheck'
+	else
+		if hour < 7 or hour > 22:
+			'You look into the bedroom and see Sonia''s parents asleep. Not wanting to disturb them, you close the door and leave.'
+			act 'Leave':gt 'soniahome','hallway'
+		else
+			'Since nobody''s here, you should probably leave, or you could take a look around if you''re that curious.'
+			act 'Leave':gt 'soniahome','hallway'
+			act 'Look around':
+				*clr & cla
+				minut += 10
+				'<center><b><font color = maroon>Sonia''s parent''s room</font></b></center>'
+				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/momsdrawer.jpg"></center>'
+				'You snoop around, opening drawers and looking in the closet. Even though you hope to find something, you don''t see anything interesting. The room is perfectly organized, with each drawer containing a type of clothing neatly folded up. Other than that, there seems to be nothing of interest.'
+				act 'Leave':gt 'soniahome','hallway'
+			end
+		end
+	end
+end
+
+if $ARGS[0] = 'soniabrother':
+	$menu_loc = 'soniahome'
+	$menu_arg = 'soniabrother'
+	$locM_arg = 'soniabrother'
+	$locM = 'soniahome'
+	$loc_arg = 'soniabrother'
+	$loc = 'soniahome'
+	menu_off = 0
+	CLOSE ALL
+	*clr & cla
+	minut += 1
+	gs 'stat'
+	'<center><b><font color = maroon>Shulyov''s room</font></b></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/hall.jpg"></center>'
+	'You try the door but it is locked.'
+	act 'Leave':gt 'soniahome','hallway'
+end
+
+if $ARGS[0] = 'sonia_room':
+	$locM_arg = 'sonia_room'
+	$locM = 'soniahome'
+	$locclass = 'bedr'
+	$menu_arg = $ARGS[0]
+	menu_off = 0
+	*clr & cla
+	minut += 1
+	gs 'stat'
+	'<center><b><font color = maroon>Vitek''s bedroom</font></b></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/sonia_room.jpg"></center>'
+	'The first thing you notice about her room is it is spotless and orderly. Nothing is out of place in the room. There is a dresser against one wall with several things neatly placed on it, with pictures on the wall above it. The bed is near the centre of the room against one wall, and the bed is made with a body pillow leaning against the other pillows. Above the bed is a short string of lights. Along one of the other walls is a small makeup table that is clean, with all the makeup visibly lined up in a very orderly fashion.'
+	'<a href="exec:gt ''soniahome'', ''sonia_chat''">Sonia</a> is lying on her bed relaxing.'
+	act 'Go to the hallway':gt 'soniahome','hallway'
+	if $clothingworntype = 'nude': act 'Dress yourself': gs 'shortgs','dress' & gt 'soniahome','sonia_room'
+end
+
+if $ARGS[0] = 'sonia_chat':
+	menu_off = 1
+	*clr & cla
+	minut += 2
+	gs 'stat'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/sonia_bedroom/sonia_bed.jpg"></center>'
+	'You sit on the bed next to Sonia and look around her room. She is all friendly and nice and starts chatting about something she recently read in a magazine.'
+	act 'Stop talking': gt 'soniahome','sonia_room'
+	act 'Make small talk':
+		*clr & cla
+		minut += 5
+		gs 'npc_relationship', 'modify', 'A25', 'like'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/sonia_bedroom/sonia_bed.jpg"></center>'
+		'You talk with Sonia about various things, mostly about fashion, your mutual friends, or school in general.'
+		act 'Stop talking': gt 'soniahome','sonia_room'
+		act 'Keep talking': gt 'soniahome', 'sonia_chat'
+	end
+	act 'Ask about the future':
+		*clr & cla
+		gs 'npc_relationship', 'modify', 'A25', 'like'
+		minut += 5
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/sonia_bedroom/sonia_bed.jpg"></center>'
+		'"What do you plan to do after school?" you ask.'
+		'She looks at you with a huge smile. "I want to go to the University in the city. How about you?"'
+		'You shrug. "I haven''t decided yet. What do you plan to study?"'
+		'"Fashion, I want to become a fashion designer." Then she launches into a massive rant about what it is like to be in the fashion industry and what it takes to make it. It seems she has really researched this and is very passionate about it.'
+		act 'Stop talking': gt 'soniahome','sonia_room'
+		act 'Keep talking': gt 'soniahome', 'sonia_chat'
+	end
+	
+	act 'Ask what she''s been up to':
+		*clr & cla
+		gs 'npc_relationship', 'modify', 'A25', 'like'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/sonia_bedroom/sonia_bed.jpg"></center>'
+		'You ask her, "So, what have you been up to lately?"'
+		'She sighs dramatically. "Mostly trying to find some fun and avoid my parents. I think I''ll hang myself if I hear one more speech about how a proper young lady has to act." She ends with a giggle.'
+		'You smile at her. "Well, don''t do that. You have too pretty of a neck to bruise." You both laugh at that. "But seriously, I understand. My mom is insanely overbearing as well." Soon the two of you are talking about how bad your mothers are. It seems you have a lot in common with overbearing mothers trying to control every aspect of your lives.'
+		act 'Stop talking': gt 'soniahome','sonia_room'
+		act 'Keep talking': gt 'soniahome', 'sonia_chat'
+	end
+end
+
+--- soniahome ---------------------------------
+