Ver Fonte

[changed] Show 6 portraits per line at the disco.

colwyvern há 1 ano atrás
pai
commit
79838e7a91
1 ficheiros alterados com 7 adições e 20 exclusões
  1. 7 20
      locations/pav_disco_classmates.qsrc

+ 7 - 20
locations/pav_disco_classmates.qsrc

@@ -43,7 +43,7 @@ if $ARGS[0] = 'classmates':
 				$table_disco += '<td><table bgcolor=#FFF8DC>'
 			end
 			$table_disco += '<tr><td align=center><a href="exec: i = <<i>> & gt ''pav_disco_classmates'', ''cool_list''"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"></a></td></tr><tr><td align=center><<$npc_usedname[''A<<i>>'']>></td></tr></table></td>'
-			if i2 mod 8 = 0: i2 = 0 & $table_disco += '</tr>'
+			if i2 mod 6 = 0: i2 = 0 & $table_disco += '</tr>'
 		end
 		i += 1
 	if i <= aarraynumber:jump 'discopop_loop'
@@ -59,15 +59,15 @@ if $ARGS[0] = 'classmates':
 				$table_disco += '<td><table bgcolor=#FFF8DC>'
 			end
 			$table_disco += '<tr><td align=center><a href="exec: i = <<i>> & gt ''pav_disco_classmates'', ''jocks_list''"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"></a></td></tr><tr><td align=center><<$npc_usedname[''A<<i>>'']>></td></tr></table></td>'
-			if i2 mod 8 = 0: i2 = 0 & $table_disco += '</tr>'
+			if i2 mod 6 = 0: i2 = 0 & $table_disco += '</tr>'
 		end
 		i += 1
 	if i <= aarraynumber:jump 'discojock_loop'
-	if i2 mod 8 <> 0:
+	if i2 mod 6 <> 0:
 		:disco_loopi21
 		i2 += 1
 		$table_disco += '<td></td>'
-		if i2 mod 8 = 0:
+		if i2 mod 6 = 0:
 			i2 = 0
 			$table_disco += '</tr>'
 		else
@@ -93,28 +93,15 @@ if $ARGS[0] = 'classmates':
 				$table_disco += '<td><table bgcolor=#FFF8DC>'
 			end
 			$table_disco += '<tr><td align=center><a href="exec: i = <<i>> & gt ''pav_disco_classmates'', ''gop_list''"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"></a></td></tr><tr><td align=center><<$npc_usedname[''A<<i>>'']>></td></tr></table></td>'
-			if i2 mod 8 = 0: i2 = 0 & $table_disco += '</tr>'
-		end
-		if i = 144:
-			if i2 mod 8 <> 0:
-				:disco_loopi22
-				i2 += 1
-				$table_disco += '<td></td>'
-				if i2 mod 8 = 0:
-					i2 = 0
-					$table_disco += '</tr>'
-				else
-					jump 'disco_loopi22'
-				end
-			end
+			if i2 mod 6 = 0: i2 = 0 & $table_disco += '</tr>'
 		end
 		i += 1
 	if i <= aarraynumber:jump 'discogop_loop'
-	if i2 mod 8 <> 0:
+	if i2 mod 6 <> 0:
 		:disco_loopi23
 		i2 += 1
 		$table_disco += '<td></td>'
-		if i2 mod 8 = 0:
+		if i2 mod 6 = 0:
 			i2 = 0
 			$table_disco += '</tr>'
 		else