Răsfoiți Sursa

[fixed] start and end triggers for christinas revenge

julzor 5 ani în urmă
părinte
comite
0a339d39e8
2 a modificat fișierele cu 12 adăugiri și 10 ștergeri
  1. 4 5
      locations/LariskaStart.qsrc
  2. 8 5
      locations/gdksport.qsrc

+ 4 - 5
locations/LariskaStart.qsrc

@@ -3,10 +3,12 @@
 !!Lariska = A13
 
 if $ARGS[0] = 'start':
+	*clr & cla
 	numnpc = 13
 	minut += 5
 	$static_num = 'A13'
 	menu_off = 1
+	lariskaQwestDay = daystart + 1
 	gs'stat'
 
 	'<center><b><font color = maroon><<$npc_firstname[''A13'']>> <<$npc_lastname[''A13'']>></font></b></center>'
@@ -31,8 +33,8 @@ if $ARGS[0] = 'start':
 	'As you leave the sports section, you notice Lariska Gruzdev, she looks nervous and is looking for someone. Her gaze stops on you and she waves her hand, calling you over to her.'
 	'Well this is interesting, she had never shown that much interest in you before, always stuck in Christina''s stranglehold she had always been distant and you could barely get a full sentence from her.'
 	'Now that you have beaten Christina, she suddenly wants to talk. She does look more confident, happier and more active. Maybe she wants to thank you for beating up the bully?'
-	lariskaQwestDay = daystart + 1
-
+	
+	act 'Leave':gt'gdk'
 	act 'Follow Lariska':
 		cls
 		minut += 5
@@ -60,7 +62,6 @@ if $ARGS[0] = 'start':
 				'You are totally numb now. "What junkies?"'
 				'"Well, she didn''t only give blow jobs to the trainer, but she also blew the junkies, who are selling drugs here. She also bought some super steroids and she wants to contaminate you with them! Tomorrow after the section, they want to catch and rape you!"'
 				'As soon as she said it, she runs away.'
-				lariskaHelp = 1
 
 				if kotovLoveQW > 0:
 					act 'Call Kotov':
@@ -156,8 +157,6 @@ if $ARGS[0] = 'start':
 			end
 		end
 	end
-
-	act 'Leave':gt'gdk'
 end
 
 if $ARGS[0] = 'end':

+ 8 - 5
locations/gdksport.qsrc

@@ -39,10 +39,11 @@ if $ARGS[0] = 'start':
 		if $clothingworntype = 'nude':
 			msg'<b><font color = red>You need to get dressed before leaving.</font></b>'
 			gt 'gdksport', 'start'
-		elseif lariskaQwestStart <= daystart and lariskaQwestStart ! 0 and lariskaHelp ! 1:
+		elseif lariskaQwestStart <= daystart and lariskaQwestStart ! 0 and lariskaHelp = 0:
+			lariskaHelp = 1
 			gt 'LariskaStart', 'start'
-		elseif zverSlutQW ! 0 and lariskaQwestDay >= daystart and AlbZverHelp = 0 and AlbEnemy = 0 and AlbinaInPrison = 0:
-			!ask Albina for help, and she or her father is still in charge
+		elseif lariskaHelp = 1 and lariskaHelp_end = 0 and lariskaQwestDay <= daystart and AlbZverHelp = 0 and AlbEnemy = 0 and AlbinaInPrison = 0:
+			lariskaHelp_end = 1
 			gt 'LariskaStart', 'end'
 		else
 			gt 'gdk'
@@ -53,9 +54,11 @@ if $ARGS[0] = 'start':
 		if $clothingworntype = 'nude':
 			msg'<b><font color = red>You need to get dressed before leaving.</font></b>'
 			gt 'gdksport', 'start'
-		elseif lariskaQwestStart <= daystart and lariskaQwestStart ! 0 and lariskaHelp ! 1:
+		elseif lariskaQwestStart <= daystart and lariskaQwestStart ! 0 and lariskaHelp = 0:
+			lariskaHelp = 1
 			gt 'LariskaStart', 'start'
-		elseif lariskaQwestDay = daystart:
+		elseif lariskaHelp = 1 and lariskaHelp_end = 0 and lariskaQwestDay <= daystart and AlbZverHelp = 0 and AlbEnemy = 0 and AlbinaInPrison = 0:
+			lariskaHelp_end = 1
 			gt 'LariskaStart', 'end'
 		else
 			gt 'gdktoilet', 'start'