Browse Source

[fixed] The display for the kids at the disco was lacking names so had to put everything in tables

Kevin_Smarts 3 years ago
parent
commit
7f01d4d568
1 changed files with 17 additions and 18 deletions
  1. 17 18
      locations/pav_disco_coolkids.qsrc

+ 17 - 18
locations/pav_disco_coolkids.qsrc

@@ -24,58 +24,57 @@ if $ARGS[0] = 'classmates':
 	end
 
 	'<center><b><font color="maroon">Disco</font></b></center>'
-	'Most the cool kids and a few of the jocks are mostly gathered around some tables and couches near the dance floor, while many are out dancing. Sometimes some of the other students can be found hanging around near them or out dancing.'
+	'<table><TR><TD>Most the cool kids and a few of the jocks are mostly gathered around some tables and couches near the dance floor, while many are out dancing. Sometimes some of the other students can be found hanging around near them or out dancing.</TD></table>'
 
-	*nl
+	'<table border=0 cellspacing=0 cellpadding=5><TR>'
 	i = 1
 	:discopop_loop
 		if (npc_grupTipe['A<<i>>'] = 1 or npc_grupTipe['A<<i>>'] = 2 or $npc_nickname['A<<i>>'] = 'Natasha') and discoenable['A<<i>>'] = 1:
 			if npc_grupTipe['A<<i>>'] = 2:
-				*p '<a href="exec: i = <<i>> & gt ''pav_disco_coolkids'', ''jocks_list''"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"></a>'
+				*p '<TD><a href="exec: i = <<i>> & gt ''pav_disco_coolkids'', ''jocks_list''"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"></a></br><<$npc_firstname[''A<<i>>'']>></TD>'
 			else
-				*p '<a href="exec: i = <<i>> & gt ''pav_disco_coolkids'', ''cool_list''"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"></a>'
+				*p '<TD><a href="exec: i = <<i>> & gt ''pav_disco_coolkids'', ''cool_list''"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"></a></br><<$npc_firstname[''A<<i>>'']>></TD>'
 			end
 		end
 		i += 1
 	if i <= aarraynumber:jump 'discopop_loop'
+	'</table>'
+
+	'<table><TR><TD>Gopniks are lounging in the darkest corner of the room, mostly keeping to themselves, with a few of them out dancing.</TD></table>'
 	
-	*nl
-	'Gopniks are lounging in the darkest corner of the room, mostly keeping to themselves, with a few of them out dancing.'
-	
-	*nl
+	'<table border=0 cellspacing=0 cellpadding=5><TR>'
 	i = 1
 	:discogop_loop
 		if npc_grupTipe['A<<i>>'] = 4 and discoenable['A<<i>>'] = 1:
 			$loopname = $npc_nickname['A<<i>>']
 			$loopname = $lcase($loopname)
-			*p '<a href="exec: i = <<i>> & gt ''pav_disco_coolkids'', ''gop_list''"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"></a>'
+			*p '<TD><a href="exec: i = <<i>> & gt ''pav_disco_coolkids'', ''gop_list''"><img  height="100" src="images/characters/shared/headshots_main/<<i>>.jpg"></a></br><<$npc_firstname[''A<<i>>'']>></TD>'
 		end
 		i += 1
 	if i <= aarraynumber:jump 'discogop_loop'
 	
 	if soniaPS > 0 and discoenable['A25'] = 1: *p '<a href="exec:gt ''pav_disco_coolkids'', ''sonia''"><img  height="100" src="images/characters/shared/headshots_main/25.jpg"></a><br>'
-	
+	'</table>'
 	*nl
 	
 	!!display of their headshots in a table like the above $args has.
 !!if you click the head shot it goes to there args for the disco to interact with them.
 	
 	
-!!(also a more advanced version of the above, can we not only give them a chance to be present, but split the images in two. One them sitting around and one of the ones dancing? SO something like this. 
-	'Most the cool kids and a few of the jocks are mostly gathered around some tables and couches near the dance floor.'
+!!also a more advanced version of the above, can we not only give them a chance to be present, but split the images in two. One them sitting around and one of the ones dancing? SO something like this. 
+!!	'Most the cool kids and a few of the jocks are mostly gathered around some tables and couches near the dance floor.'
 	!!display of their headshots in a table like the above $args has of those sitting around
-	'While several of the cool kids and jocks are out on the dance floor dancing.'
+!!	'While several of the cool kids and jocks are out on the dance floor dancing.'
 	!!display of their headshots in a table like the above $args has of those dancing
-	'Gopniks are lounging in the darkest corner of the room, mostly keeping to themselves.'
+!!	'Gopniks are lounging in the darkest corner of the room, mostly keeping to themselves.'
 	!!display of their headshots in a table like the above $args has of those sitting around
-	'While a few of the gopniks are out on the dance floor dancing.'
+!!	'While a few of the gopniks are out on the dance floor dancing.'
 	!!display of their headshots in a table like the above $args has of those dancing
-	'Occasionally you see some of your other classmates here'
-	!!Natasha and Sonia_outcast are the only ones that can show up here)
+!!	'Occasionally you see some of your other classmates here'
+	!!Natasha and Sonia_outcast are the only ones that can show up here
 	
 	act 'Move away': gt $loc, $loc_arg
 	if hour >= 21 and hour < 23 and week=5: '<center>At the entrance of the disco hall stands <a href="exec: gt ''VolleyTrenerSpeak''">Coach Mikhail Nikolayevich</a></center>'
-	'</table><center>'
 end
 
 if $ARGS[0] = 'jocks_list':