Jelajahi Sumber

[fixed] Some bugs with saying Sveta is drunk even if she is not, and pictures not showing corectly.

bgkjdgbizgblzdgbr 2 tahun lalu
induk
melakukan
ada7b2cf10
1 mengubah file dengan 22 tambahan dan 22 penghapusan
  1. 22 22
      locations/pav_disco.qsrc

+ 22 - 22
locations/pav_disco.qsrc

@@ -321,34 +321,34 @@ if $ARGS[0] = '':
 				act 'Leave': gt 'pav_commcenter'
 				exit
 			end
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/disco/wallflower.jpg"></center>'
 			if alko > 0:
-				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/disco/wallflower.jpg"></center>'
-			elseif alko = 1:
+				if alko = 1:
 					'You''re buzzed and stand against the wall, watching the others dance.'
-			elseif alko < 4:
+				elseif alko < 4:
 					'You''re tipsy and stand against the wall, watching the others dance.'
-			elseif alko < 6:
-				if StoryLine = 1 and meynoldQW >= 2 and rand(1,10) = 1: 
-					gt 'pav_disco', 'katja_too_drunk'
-				elseif npc_rel['A25'] >= 50 and rand(1,10) = 1:
-					gt 'pav_disco', 'sonia_too_drunk' 
-				elseif npc_rel['A144'] >= 50 and rand(1,10) = 1: 
-					gt 'pav_disco', 'anushka_too_drunk'
-				else
-					'You''re pretty drunk and stand against the wall, for support, as you watch the others dance.'
-				end	
-			elseif alko < 10:
-				if StoryLine = 1 and meynoldQW >= 2 and rand(1,5) = 1: 
-					gt 'pav_disco', 'katja_too_drunk'
-				elseif npc_rel['A25'] >= 50 and rand(1,7) = 1:
-					gt 'pav_disco', 'sonia_too_drunk' 
-				elseif npc_rel['A144'] >= 50 and rand(1,7) = 1: 
-					gt 'pav_disco', 'anushka_too_drunk'
+				elseif alko < 6:
+					if StoryLine = 1 and meynoldQW >= 2 and rand(1,10) = 1: 
+						gt 'pav_disco', 'katja_too_drunk'
+					elseif npc_rel['A25'] >= 50 and rand(1,10) = 1:
+						gt 'pav_disco', 'sonia_too_drunk' 
+					elseif npc_rel['A144'] >= 50 and rand(1,10) = 1: 
+						gt 'pav_disco', 'anushka_too_drunk'
+					else
+						'You''re pretty drunk and stand against the wall, for support, as you watch the others dance.'
+					end	
 				else
-					'You''re too drunk to dance and you lean against the wall for support to stop yourself from falling.'
+					if StoryLine = 1 and meynoldQW >= 2 and rand(1,5) = 1: 
+						gt 'pav_disco', 'katja_too_drunk'
+					elseif npc_rel['A25'] >= 50 and rand(1,7) = 1:
+						gt 'pav_disco', 'sonia_too_drunk' 
+					elseif npc_rel['A144'] >= 50 and rand(1,7) = 1: 
+						gt 'pav_disco', 'anushka_too_drunk'
+					else
+						'You''re too drunk to dance and you lean against the wall for support to stop yourself from falling.'
+					end
 				end
 			else
-				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/disco/wallflower.jpg"></center>'
 				'You are standing next to the wall while watching the others dance.'
 			end
 			if alko < 6: