Explorar o código

[fixed] gdkin disco exit and moved to the top.
[fixed] soniaDisco event to only show once per day once complete.
[changed] soniaDisco event to be a 1/3 chance to show up.

3xpurt %!s(int64=5) %!d(string=hai) anos
pai
achega
0e84cf4d6b
Modificáronse 1 ficheiros con 10 adicións e 8 borrados
  1. 10 8
      locations/gdkin.qsrc

+ 10 - 8
locations/gdkin.qsrc

@@ -32,6 +32,11 @@ if $ARGS[0] = '':
 	if NikoVolkovQW = 5 and NikoEv = 7 and NikoDate_Day ! daystart:gt 'NikoDates', 'Disco'
 
 	if hour >= 20 and hour <= 23:
+
+		act 'Go outside':gt 'gdk'
+
+		act 'Go to the toilets': gt 'gdktoilet', 'start'
+
 		if StoryLine = 1 and SchoolAtestat = 0:'At the disco you see a few of your <a href="exec:gs ''SgrupDisco''">classmates</a>. Some of them dancing, while others stick to their own groups and talk.'
 		if soniaslut < 5:soniaslut += 1
 
@@ -39,15 +44,14 @@ if $ARGS[0] = '':
 			gt 'dimaRevenge', 5, 'disco'
 		end
 
-		if npc_grupTipe['A25'] ! 5 and StoryLine = 1 and BeInSchool > 0 and soniaslut >= 5 and hour < 23:
-			'You notice Sonia from your class. She is talking to Victor about something.'
+		if rand(1,3) = 2 and soniaDisco ! daystart :
+			if npc_grupTipe['A25'] ! 5 and StoryLine = 1 and BeInSchool > 0 and soniaslut >= 5 and hour < 23:
+				'You notice Sonia from your class. She is talking to Victor about something.'
 
-			act 'View Sonya':gt 'soniaDisco'
-			exit
+				act 'View Sonya':soniaDisco = daystart & gt 'soniaDisco'
+			end
 		end
 
-		act 'Go outside':gt 'gdk'
-
 		act 'Dance (0:15)':
 			*clr & cla
 			menu_off = 1
@@ -201,8 +205,6 @@ if $ARGS[0] = '':
 		'The Club closes. The main lights go on, the music fades and everyone beings to leave.'
 		act 'Go outside':gt 'gdk'
 	end
-	
-	act 'Go to the toilets': gt 'gdktoilet', 'start'
 end
 
 if $ARGS[0] = 'Katja_dance':