Browse Source

[fixed] Some missing exits for outcast Sveta's and a missing :, also added $loc_arg = '' and $loc = 'pav_disco' to the classmates since other file can lead to here (For example Fyedor's chat)

bgkjdgbizgblzdgbr 2 years ago
parent
commit
5331e53bfa
2 changed files with 6 additions and 1 deletions
  1. 5 1
      locations/pav_disco_coolkids.qsrc
  2. 1 0
      locations/pav_disco_jocks.qsrc

+ 5 - 1
locations/pav_disco_coolkids.qsrc

@@ -4,6 +4,9 @@
 if $ARGS[0] = 'classmates':
 	if hour < 20: gt 'pav_disco'
 	*clr & cla
+	$loc_arg = ''
+	$loc = 'pav_disco'
+	$location_type = 'public_indoors'
 	$menu_loc = 'pav_disco_coolkids'
 	$menu_arg = 'classmates'
 	if music_on = 1:
@@ -295,6 +298,7 @@ if $ARGS[0] = 'dimka':
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/disco/school_kids/dimka_dance.jpg"></center>'
 			if grupTipe = 5:
 				'He ignores you and turns his back on you as you approach, shunning you.'
+				act 'Do something else': gt 'pav_disco_coolkids', 'classmates'
 			elseif npc_rel['A1'] >= 50 and fame['pav_slut'] < 250:
 				if grupTipe = 1:
 					'When Dimka sees you, he smiles warmly, making room for you in the group made up of some of the cool kids and a few others you don''t recognize. "Just the person I was hoping to see!" he says as you walk up and starts dancing with everyone around him, including you.'
@@ -976,7 +980,7 @@ if $ARGS[0] = 'igor':
 				'When Igor sees you, his face lights up and he smiles warmly. He waves you over and when you get to him, he pulls you in for a hug. "I was hoping I''d see you." he says shyly before he starts dancing with you. You can''t help but giggle at him.'
 				act 'Do something else': gt 'pav_disco_coolkids', 'classmates'
 				act 'Dance with him': gt 'pav_disco_coolkids', 'igor_dance'
-			elseif grupTipe = 5
+			elseif grupTipe = 5:
 				'When he sees you coming he walks away, only to stop a short distance away and start dancing again.'
 				act 'Do something else': gt 'pav_disco_coolkids', 'classmates'
 			elseif npc_rel['A4'] <= 20 or fame['pav_slut'] >= 250:

+ 1 - 0
locations/pav_disco_jocks.qsrc

@@ -243,6 +243,7 @@ if $ARGS[0] = 'svyatoslav':
 			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big8.jpg"></center>'
 			if grupTipe = 5:
 				'He gives you a pissed off look as you approach. "I want nothing to do with you, so get lost." Not wanting to cause a scene, you back off.'
+				act 'Do something else': gt 'pav_disco_coolkids', 'classmates'
 			elseif npc_rel['A8'] >= 50 and fame['pav_slut'] < 250:		
 				'"Hey, what''s up Svyatoslav?" you ask as you approach.'
 				'He smiles at you. "Oh you know, same old same old." You start talking about a variety of things, though mostly about how close he comes to beating Ivan or Lazar in different sports or some of the pretty girls in school.'