rachels преди 1 година
родител
ревизия
68ea5f7039
променени са 3 файла, в които са добавени 13 реда и са изтрити 13 реда
  1. 3 3
      locations/city_suburbs.qsrc
  2. 7 7
      locations/soniahome.qsrc
  3. 3 3
      locations/vasilyhome.qsrc

+ 3 - 3
locations/city_suburbs.qsrc

@@ -31,10 +31,10 @@ if $ARGS[0]='start':
 		'There is a vacant piece of land for sale where a large mansion could be constructed.'
 		'There is a vacant piece of land for sale where a large mansion could be constructed.'
 		act 'Visit the land for sale': minut += 10 & gt 'city_mansion_entrance'
 		act 'Visit the land for sale': minut += 10 & gt 'city_mansion_entrance'
 	elseif func('homes_properties', 'is_property_of_status', 'owned', 'matryona_mansion'):
 	elseif func('homes_properties', 'is_property_of_status', 'owned', 'matryona_mansion'):
-		const_status = func('homes_properties', 'get_property_construction_status', 'matryona_mansion')
-		if const_status = 0:
+		constructionstatus = func('homes_properties', 'get_property_construction_status', 'matryona_mansion')
+		if constructionstatus = 0:
 			'Your vacant plot of land is near hear'
 			'Your vacant plot of land is near hear'
-		elseif const_status = 1:
+		elseif constructionstatus = 1:
 			'You mansion is partially built near here.'
 			'You mansion is partially built near here.'
 		else
 		else
 			'Your mansion is not too far from her'
 			'Your mansion is not too far from her'

+ 7 - 7
locations/soniahome.qsrc

@@ -6,9 +6,9 @@
 !! Tkachenko Ivanko - mother
 !! Tkachenko Ivanko - mother
 
 
 !! soniaQW['homeinvite'] = 1 - means been invited to her home, which unlocks it in the pav resident file
 !! 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
+!! soniaQW['tkachenko'] quest tracker
+!! soniaQW['parshikov'] quest tracker
+!! soniaQW['shulyov'] quest tracker
 
 
 if $ARGS[0] = 'home':
 if $ARGS[0] = 'home':
 	$menu_loc = 'soniahome'
 	$menu_loc = 'soniahome'
@@ -48,7 +48,7 @@ if $ARGS[0] = 'home':
 		elseif DoorOpenedBy = 1:
 		elseif DoorOpenedBy = 1:
 			*clr & cla
 			*clr & cla
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/tkachenko.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/tkachenko.jpg"></center>'
-			if soniaQS['tkachenko'] = 0:
+			if soniaQW['tkachenko'] = 0:
 				'You stand outside the Ivanko household, knocking on the door. It''s quickly answered by Sonia''s mother, who has an unfriendly, serious look on her face. "Hello, can I help you?" she asks.'
 				'You stand outside the Ivanko household, knocking on the door. It''s quickly answered by Sonia''s mother, who has an unfriendly, serious look on her face. "Hello, can I help you?" she asks.'
 				'You smile at her. "Hi, I''m <<$pcs_nickname>>, one of Sonia''s classmates. Is she here?"'
 				'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?"'
 				'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?"'
@@ -58,13 +58,13 @@ if $ARGS[0] = 'home':
 			else
 			else
 				'You stand outside the Ivanko household, knocking on the door. It''s quickly answered by Sonia''s mother, who has an unfriendly, serious look on her face. "Hello again, <<$pcs_firstname>>. Sonia is in her room."'
 				'You stand outside the Ivanko household, knocking on the door. It''s quickly answered by Sonia''s mother, who has an unfriendly, serious look on her face. "Hello again, <<$pcs_firstname>>. Sonia is in her room."'
 				'"Thank you, Mrs Ivanko," you politely reply to keep her happy, and she lets you in, closing the door behind you.'
 				'"Thank you, Mrs Ivanko," you politely reply to keep her happy, and she lets you in, closing the door behind you.'
-				soniaQS['tkachenko'] = 1
+				soniaQW['tkachenko'] = 1
 				act 'Enter': gt 'soniahome','hallway'
 				act 'Enter': gt 'soniahome','hallway'
 			end
 			end
 		elseif DoorOpenedBy = 2:
 		elseif DoorOpenedBy = 2:
 			*clr & cla
 			*clr & cla
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/shulyov.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/shulyov.jpg"></center>'
-			if soniaQS['shulyov'] = 0:
+			if soniaQW['shulyov'] = 0:
 				if hotcat >= 6:
 				if hotcat >= 6:
 					'You stand outside the Ivanko household, knocking on the door. It''s quickly answered by a young, good-looking man about your sister''s age who has a friendly smile. "Hello. Can I help you?" he asks as he looks you over with hungry eyes.'
 					'You stand outside the Ivanko household, knocking on the door. It''s quickly answered by a young, good-looking man about your sister''s age who has a friendly smile. "Hello. Can I help you?" he asks 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?"'
 					'You smile at him. "Hi, I''m <<$pcs_nickname>>, one of Sonia''s classmates. Is she here?"'
@@ -84,7 +84,7 @@ if $ARGS[0] = 'home':
 				end
 				end
 				act 'Enter':gt 'soniahome','hallway'
 				act 'Enter':gt 'soniahome','hallway'
 			end
 			end
-			soniaQS['shulyov'] = 1
+			soniaQW['shulyov'] = 1
 			act 'Enter': gt 'soniahome','hallway'
 			act 'Enter': gt 'soniahome','hallway'
 		elseif DoorOpenedBy = 3:
 		elseif DoorOpenedBy = 3:
 			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big25.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big25.jpg"></center>'

+ 3 - 3
locations/vasilyhome.qsrc

@@ -29,7 +29,7 @@ if $ARGS[0] = 'home':
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/aptdoor.jpg"></center>'
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/aptdoor.jpg"></center>'
 		if week < 6 and hour >= 10 and hour < 16:
 		if week < 6 and hour >= 10 and hour < 16:
 			'When you knock on the door, no one comes to answer the door. Apparently, both Vasily and Sergey are not at home.'
 			'When you knock on the door, no one comes to answer the door. Apparently, both Vasily and Sergey are not at home.'
-			if sergey['key'] = 1: 'You could still enter with the key that Sergey gave you.' & act 'Unlock the door and enter':gt 'vasilyhome', 'hallway'
+			if npc_rel['A112'] >=70: 'You could still enter with the key that Sergey gave you.' & act 'Unlock the door and enter':gt 'vasilyhome', 'hallway'
 		elseif hour >= 16 and hour <= 19:
 		elseif hour >= 16 and hour <= 19:
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/serge/serge2.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/serge/serge2.jpg"></center>'
 			'When you knock on the door,<<$serg_obr>> Sergey comes to answer the door.'
 			'When you knock on the door,<<$serg_obr>> Sergey comes to answer the door.'
@@ -42,10 +42,10 @@ if $ARGS[0] = 'home':
 			if npc_rel['A112'] >= 50: 'He offers, "You can come in anyway, if you want and wait for him."' & act 'Enter':gt 'vasilyhome', 'hallway'
 			if npc_rel['A112'] >= 50: 'He offers, "You can come in anyway, if you want and wait for him."' & act 'Enter':gt 'vasilyhome', 'hallway'
 		elseif hour >= 2 and hour < 5:
 		elseif hour >= 2 and hour < 5:
 			'You move your hand to knock on the door, but stop yourself. It''s too late to go visit them. You''d wake everyone up!'
 			'You move your hand to knock on the door, but stop yourself. It''s too late to go visit them. You''d wake everyone up!'
-			if sergey['key'] = 1: 'You could use the key that Sergey gave you to enter the apartment quietly.' & act 'Unlock the door and enter':gt 'vasilyhome', 'hallway'
+			if npc_rel['A112'] >=70: 'You could use the key that Sergey gave you to enter the apartment quietly.' & act 'Unlock the door and enter':gt 'vasilyhome', 'hallway'
 		elseif hour >= 5 and hour < 10:
 		elseif hour >= 5 and hour < 10:
 			'You move your hand to knock on the door, but stop yourself. It''s too early. They won''t be out of bed yet.'
 			'You move your hand to knock on the door, but stop yourself. It''s too early. They won''t be out of bed yet.'
-			if sergey['key'] = 1: 'You could use the key that Sergey gave you to enter the apartment quietly.' & act 'Unlock the door and enter':gt 'vasilyhome', 'hallway'
+			if npc_rel['A112'] >=70: 'You could use the key that Sergey gave you to enter the apartment quietly.' & act 'Unlock the door and enter':gt 'vasilyhome', 'hallway'
 		else
 		else
 			'The door is opened by Vasily, he looks at you a moment, then stands aside so you wan walk in, after you do he closes the door.' 
 			'The door is opened by Vasily, he looks at you a moment, then stands aside so you wan walk in, after you do he closes the door.' 
 			act 'Enter':gt 'vasilyhome', 'hallway'
 			act 'Enter':gt 'vasilyhome', 'hallway'