Преглед изворни кода

[fixed] Shouldn't be able to ask for help with Niko once the problem ahs been solved

Kevin_Smarts пре 2 година
родитељ
комит
0ca3dfcc13

+ 1 - 1
locations/IvanEv.qsrc

@@ -124,7 +124,7 @@ if $ARGS[0] = 'School Chat':
 		act 'Move away': gt $loc, $loc_arg
 	end
 	
-	if npc_rel['A3'] >= 80 and NikoPayback > 1 and IvanVsNiko = 0:act 'Ask for help with Niko': gt 'NikoPayback', 'Ivan Help'
+	if npc_rel['A3'] >= 80 and NikoPayback = 2 and IvanVsNiko = 0:act 'Ask for help with Niko': gt 'NikoPayback', 'Ivan Help'
 	
 	act 'Chat':
 		cla

+ 1 - 1
locations/albina_chat.qsrc

@@ -413,7 +413,7 @@ end
 !!	end
 !!end
 
-if NikoPayback > 1 and AlbVsNiko = 0:
+if NikoPayback = 2 and AlbVsNiko = 0:
 	act 'Ask for help with Niko':
 	*clr & cla
 	AlbVsNiko = 1

+ 1 - 1
locations/anushkachat.qsrc

@@ -252,7 +252,7 @@ if $ARGS[0] = 'chat':
 			act 'Keep talking': gt 'anushkachat', 'chat'
 		end
 	end
-	if npc_rel['A144'] >= 60 and NikoPayback > 1 and NushVsNiko = 0:
+	if npc_rel['A144'] >= 60 and NikoPayback = 2 and NushVsNiko = 0:
 		act 'Ask for help with Niko':
 			*clr & cla
 			NushVsNiko = 1

+ 3 - 3
locations/gschool_jock_chats.qsrc

@@ -1037,7 +1037,7 @@ if $ARGS[0] = 'ivan':
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big3.jpg"></center>'
 	!!this is story arc stuff I think it is coded correct but not sure.
-	if npc_rel['A3'] >= 80 and NikoPayback > 1 and IvanVsNiko = 0:act 'Ask for help with Niko': gt 'NikoPayback', 'Ivan Help'
+	if npc_rel['A3'] >= 80 and NikoPayback = 2 and IvanVsNiko = 0:act 'Ask for help with Niko': gt 'NikoPayback', 'Ivan Help'
 	if fame['pav_slut'] < 225 and IvanShowerQW = 1:
 		IvanShowerQW = 11
 		'Ivan thinks for a moment before he speaks. "<<$pcs_nickname>>, I would like to talk to you about what happened in the shower. You''re a great girl, and I had a great time, but I''m not ready for a relationship. I need to put all my energy into my athletics. I think I have a good shot at getting to the Russian National Championships this year. I really can''t afford to be distracted by girls, even girls as attractive as you. So how about we just stick to fooling around a little?"'
@@ -1048,14 +1048,14 @@ if $ARGS[0] = 'ivan':
 			'He gives you a one armed hug. "<<$pcs_nickname>>, you''re the best! Not only are you smoking hot, but you''re a super cool chick too! If you want to hang out some time, you can stop by my place." He pauses and looks around before leaning in close. "Or if you get a little bored during lunch break, you can let me know too..." he says with a suggestive tone and waggled eyebrows.'
 			'You laugh at his silly antics. It''s nice to have found a fun guy to hang out with. Perhaps you will stop by his place, or maybe even take him up on his offer to make lunch break less boring. "Sure Ivan, I''ll think about it."'
 
-			if npc_rel['A3'] >= 80 and NikoPayback > 1 and IvanVsNiko = 0:act 'Ask for help with Niko': gt 'NikoPayback', 'Ivan Help'
+			if npc_rel['A3'] >= 80 and NikoPayback = 2 and IvanVsNiko = 0:act 'Ask for help with Niko': gt 'NikoPayback', 'Ivan Help'
 
 			act 'Time for the next class': gt 'gschool_lessons', 'short_break'
 			act 'Tell him you''re bored right now':gt 'gdksport', 'Ivan_bored'
 		end
 	elseif IvanShowerQW = 11 and IvanShowerYes = 1:
 		act 'Time for the next class': gt 'gschool_lessons', 'short_break'
-		if npc_rel['A3'] >= 80 and NikoPayback > 1 and IvanVsNiko = 0:act 'Ask for help with Niko': gt 'NikoPayback', 'Ivan Help'
+		if npc_rel['A3'] >= 80 and NikoPayback = 2 and IvanVsNiko = 0:act 'Ask for help with Niko': gt 'NikoPayback', 'Ivan Help'
 
 		if rand(0,4) = 0:
 			'<center><b><h4><font color="green"><<"Ivan Prokhorov">></font></h4></b></center>'

+ 5 - 5
locations/gschool_lunch.qsrc

@@ -146,15 +146,15 @@ if $ARGS[0] = 'break':
 		elseif NikoVolkovQW = 5 and NikoEv = 4 and NikoDate = 0:
 			lunch_event = daystart
 			gt 'NikoDates', 'Cafeteria'
-		elseif NikoPayback > 1 and FedorVsNiko = 1:
+		elseif NikoPayback = 2 and FedorVsNiko = 1:
 			gt 'NikoPayback', 'Fedor Help 2'
-		elseif NikoPayback > 1 and FyodorVsNiko = 1:
+		elseif NikoPayback = 2 and FyodorVsNiko = 1:
 			gt 'NikoPayback', 'Fyodor Help'
-		elseif NikoPayback > 1 and IvanVsNiko = 1:
+		elseif NikoPayback = 2 and IvanVsNiko = 1:
 			gt 'NikoPayback', 'Ivan Help 2'
-		elseif NikoPayback > 1 and NushVsNiko = 1:
+		elseif NikoPayback = 2 and NushVsNiko = 1:
 			gt 'NikoPayback', 'Nush Help'
-		elseif NikoPayback > 1 and AlbVsNiko = 1:
+		elseif NikoPayback = 2 and AlbVsNiko = 1:
 			gt 'NikoPayback', 'Albina Help'
 		elseif NikoPayback = 1 and NikoPayback_Day ! daystart:
 			gt 'NikoPayback', 'Payback'