1
0
Преглед на файлове

[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 преди 5 години
родител
ревизия
0e84cf4d6b
променени са 1 файла, в които са добавени 10 реда и са изтрити 8 реда
  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 NikoVolkovQW = 5 and NikoEv = 7 and NikoDate_Day ! daystart:gt 'NikoDates', 'Disco'
 
 
 	if hour >= 20 and hour <= 23:
 	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 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
 		if soniaslut < 5:soniaslut += 1
 
 
@@ -39,15 +44,14 @@ if $ARGS[0] = '':
 			gt 'dimaRevenge', 5, 'disco'
 			gt 'dimaRevenge', 5, 'disco'
 		end
 		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
 		end
 
 
-		act 'Go outside':gt 'gdk'
-
 		act 'Dance (0:15)':
 		act 'Dance (0:15)':
 			*clr & cla
 			*clr & cla
 			menu_off = 1
 			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.'
 		'The Club closes. The main lights go on, the music fades and everyone beings to leave.'
 		act 'Go outside':gt 'gdk'
 		act 'Go outside':gt 'gdk'
 	end
 	end
-	
-	act 'Go to the toilets': gt 'gdktoilet', 'start'
 end
 end
 
 
 if $ARGS[0] = 'Katja_dance':
 if $ARGS[0] = 'Katja_dance':