1
0
Kaynağa Gözat

[fixed] new content was accessible

julzor 5 yıl önce
ebeveyn
işleme
14b6c7867a
1 değiştirilmiş dosya ile 9 ekleme ve 2 silme
  1. 9 2
      locations/pod_ezd.qsrc

+ 9 - 2
locations/pod_ezd.qsrc

@@ -680,7 +680,14 @@ if $ARGS[0] = 'floor5_events':
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/gopniks.jpg"></center>'
 		'When you walk up the stairs to the fifth floor, you see Vitek, Dan, Vasily, Lena, Lera, along with a few older gopniks you don''t know hanging out. They are smoking, drinking and laughing.'
 		act 'Leave': gt 'pod_ezd', 'etaj_5'
-		act 'Join them': gopnik_rand = rand(1,4) & jump 'gopnik_jump<<gopnik_rand>>'
+		act 'Join them':
+			if rand(0,2) = 2:
+				gopnik_rand = rand(1,4)
+				jump 'gopnik_jump<<gopnik_rand>>'
+			else
+				gt 'pod_ezd', 'gopnik_group_chat'
+			end
+		end
 	elseif floor5 = 7:
 		*clr & cla
 		menu_off = 1
@@ -1258,7 +1265,7 @@ if $ARGS[0] = 'lena_chat':
 	end
 end
 
-if $ARGS[0] = 'lena_chat':
+if $ARGS[0] = 'gopnik_group_chat':
 	*clr & cla
 	menu_off = 1
 	minut += 5