瀏覽代碼

[Fixes] I was using arrays as strings... I'm learning.

VioletKitten 4 年之前
父節點
當前提交
7f9272b2bc
共有 2 個文件被更改,包括 13 次插入12 次删除
  1. 2 1
      locations/NikoDates.qsrc
  2. 11 11
      locations/NikoSlut.qsrc

+ 2 - 1
locations/NikoDates.qsrc

@@ -113,6 +113,7 @@ end
 
 if $ARGS[0] =  'Stranger Danger':
 	*clr & cla
+	YurikEv['Stranger'] = 1
 	minut += 5
 	gs'stat'
 	'<center><b><h4><font color=#E400FF><<"Nikolai [Niko] Volkov">></font></h4></b></center>'
@@ -911,7 +912,7 @@ if $ARGS[0] = 'Yurik Intro':
 		act 'See what Niko does':
 			*clr & cla
 			minut += 5
-			YurikEv['Name'] = 'Yurik'
+			$YurikEv['Name'] = 'Yurik'
 			gs'stat'
 			'<center><b><h4><font color="blue"><<"Yurik Volkov">></font></h4></b></center>'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/Niko/yurikev/avatars/yurik1.jpg"></center>'			

+ 11 - 11
locations/NikoSlut.qsrc

@@ -1309,7 +1309,7 @@ end
 
 if $ARGS[0] = 'Diner Interior':
 	*clr & cla
-	if YurikEv['Name'] = '':YurikEv['Name'] = 'a burly bearded man'
+	if $YurikEv['Name'] = '':$YurikEv['Name'] = 'a burly bearded man'
 	gs'stat'
 	'<center><img <<$set_imgh>> src="images/locations/highway/borisdiner/interior1.jpg"></center>'
 	if hour >= 7 and hour <= 17 and BorisDiner_Trucker_Daystart ! daystart:
@@ -1323,7 +1323,7 @@ if $ARGS[0] = 'Diner Interior':
 	end
 
 	if hour = 18:
-		if YurikEv['Name'] = 'Yurik':
+		if $YurikEv['Name'] = 'Yurik':
 			'You can see <a href="exec:gt ''NikoSlut'', ''Yurik In''">Yurik</a> sitting in the corner of the bar. eating some dinner.'
 		else
 			'You can see <a href="exec:gt ''NikoSlut'', ''Yurik In''">a burly bearded man</a> sitting in the corner of the bar, eating some dinner.'
@@ -1571,11 +1571,11 @@ if $ARGS[0] = 'Friendly Meal':
 	pcs_energy += 60
 	pcs_hydra += 60
 	cumspclnt = 2
-	if VKPartner = 1:VKPartner = 'trucker'
-	if VKPartner = 2:VKPartner = 'biker'
+	if VKPartner = 1:$VKPartner = 'trucker'
+	if VKPartner = 2:$VKPartner = 'biker'
 	gs'stat'
 	'<center><img <<$set_imgh>> src="images/locations/highway/borisdiner/food/Meal 2.jpg"></center>'
-	'The <<VKPartner>> orders you a burger then you both chat until the food arrives. You get a plate with a large burger and fries along with a cup tea. You and the <<VKPartner>> spend the next few minutes, eating while discussing current events until you both finish your meals.'
+	'The <<$VKPartner>> orders you a burger then you both chat until the food arrives. You get a plate with a large burger and fries along with a cup tea. You and the <<$VKPartner>> spend the next few minutes, eating while discussing current events until you both finish your meals.'
 	
 	act 'Finish':gt 'NikoSlut', 'Diner Interior'
 end
@@ -1585,16 +1585,16 @@ if $ARGS[0] = 'Yurik In':
 	minut += 5
 	gs'stat'
 	VK = rand (1,4)
-	if YurikEv['Name'] ! 'Yurik':
+	if $YurikEv['Name'] ! 'Yurik':
 		'<center><b><h4><font color="red"><<"Burly Bearded Man">></font></h4></b></center>'
 	else
 		'<center><b><h4><font color="blue"><<"Yurik Volkov">></font></h4></b></center>'
 	end
 	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/niko/yurikev/avatars/yurik2.jpg"></center>'
 
-	if YurikEv['Name'] ! 'Yurik' and NikoEv < 21:
+	if $YurikEv['Name'] ! 'Yurik' and NikoEv < 21:
 		'You approach the burly bearded man and he slowly glances at you before turning away to continue eating his food. He obviously has nothing to say to you.'
-	elseif YurikEv['Name'] = 'Yurik' and NikoEv <= 21:
+	elseif $YurikEv['Name'] = 'Yurik' and NikoEv <= 21:
 		'You approach the Yurik and he slowly glances at you before saying, "You shouldn''t be in here girl. Now get lost." He then turns away from you to continue eating his food. He obviously has nothing more to say to you.'
 	elseif NikoEv > 21 and YurikEv['Romance'] = 1:
 		'You approach Yurik and he turns to face you before giving you a smile and saying, "<<$pcs_firstname>> the love of my life. Did you stop by to pay me a visit or do you need something? Anything my kitten wants, she gets."'
@@ -1613,16 +1613,16 @@ if $ARGS[0] = 'Yurik Out':
 	minut += 5
 	gs'stat'
 	VK = rand (1,4)
-	if YurikEv['Name'] ! 'Yurik':
+	if $YurikEv['Name'] ! 'Yurik':
 		'<center><b><h4><font color="red"><<"Burly Bearded Man">></font></h4></b></center>'
 	else
 		'<center><b><h4><font color="blue"><<"Yurik Volkov">></font></h4></b></center>'
 	end
 	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/niko/yurikev/events/highway.jpg"></center>'
 	
-	if YurikEv['Name'] ! 'Yurik' and YurikEv['Stranger'] = 0:
+	if $YurikEv['Name'] ! 'Yurik' and YurikEv['Stranger'] = 0:
 		'You see a burly bearded man sticking out his thumb at the incoming vehicles. He seems to be hitchhiking. He doesn''t seem to care at you staring at him.'
-	elseif YurikEv['Name'] ! 'Yurik' and YurikEv['Stranger'] = 1:
+	elseif $YurikEv['Name'] ! 'Yurik' and YurikEv['Stranger'] = 1:
 		'You see a burly bearded man sticking out his thumb at the incoming vehicles. He seems to be hitchhiking. You can''t help but feel like he looks familir but can''t quite put you finger on it and he is too far away to tell for sure if you met him or not.'
 	else	
 		'You can see Yurik sticking out his thumb at the incoming vehicles. He seems to be hitchhiking. He notices you then says, "So if it isn''t Niko''s little whore. Get lost girl. I don''t need my dick sucked right now."'