Bladeren bron

[fixed] variable names

rachels 2 jaren geleden
bovenliggende
commit
68ea5f7039
3 gewijzigde bestanden met toevoegingen van 13 en 13 verwijderingen
  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.'
 		act 'Visit the land for sale': minut += 10 & gt 'city_mansion_entrance'
 	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'
-		elseif const_status = 1:
+		elseif constructionstatus = 1:
 			'You mansion is partially built near here.'
 		else
 			'Your mansion is not too far from her'

+ 7 - 7
locations/soniahome.qsrc

@@ -6,9 +6,9 @@
 !! 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
+!! soniaQW['tkachenko'] quest tracker
+!! soniaQW['parshikov'] quest tracker
+!! soniaQW['shulyov'] quest tracker
 
 if $ARGS[0] = 'home':
 	$menu_loc = 'soniahome'
@@ -48,7 +48,7 @@ if $ARGS[0] = 'home':
 		elseif DoorOpenedBy = 1:
 			*clr & cla
 			'<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 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?"'
@@ -58,13 +58,13 @@ if $ARGS[0] = 'home':
 			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."'
 				'"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'
 			end
 		elseif DoorOpenedBy = 2:
 			*clr & cla
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/soniahome/shulyov.jpg"></center>'
-			if soniaQS['shulyov'] = 0:
+			if soniaQW['shulyov'] = 0:
 				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 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
 				act 'Enter':gt 'soniahome','hallway'
 			end
-			soniaQS['shulyov'] = 1
+			soniaQW['shulyov'] = 1
 			act 'Enter': gt 'soniahome','hallway'
 		elseif DoorOpenedBy = 3:
 			'<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>'
 		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.'
-			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:
 			'<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.'
@@ -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'
 		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!'
-			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:
 			'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
 			'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'