1
0
Bläddra i källkod

[fixed] $npcGo to $npcGoSchool in gschool_groups

Sicaa 4 år sedan
förälder
incheckning
e3b6076bab
1 ändrade filer med 6 tillägg och 6 borttagningar
  1. 6 6
      locations/gschool_groups.qsrc

+ 6 - 6
locations/gschool_groups.qsrc

@@ -20,7 +20,7 @@ if $ARGS[0] = 'teachers':
 
 		if npc_grupTipe['A<<i>>'] = 6 and schoolenable['A<<i>>'] = 1:
 			teach_count += 1
-			$teach_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''teachers''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGo['A<<i>>'])
+			$teach_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''teachers''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGoSchool['A<<i>>'])
 		end
 		if teach_count< 6 and npc_grupTipe['A<<i>>'] = 6:
 			$teach_text += '</td>'
@@ -45,7 +45,7 @@ if $ARGS[0] = 'nerds':
 
 		if npc_grupTipe['A<<i>>'] = 3 and schoolenable['A<<i>>'] = 1:
 			nerd_count += 1
-			$nerd_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''nerds''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGo['A<<i>>'])
+			$nerd_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''nerds''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGoSchool['A<<i>>'])
 		end
 		if nerd_count< 6 and npc_grupTipe['A<<i>>'] = 3:
 			$nerd_text += '</td>'
@@ -70,7 +70,7 @@ if $ARGS[0] = 'jocks':
 
 		if npc_grupTipe['A<<i>>'] = 2 and schoolenable['A<<i>>'] = 1:
 			jock_count += 1
-			$jock_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''jocks''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGo['A<<i>>'])
+			$jock_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''jocks''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGoSchool['A<<i>>'])
 		end
 		if jock_count< 6 and npc_grupTipe['A<<i>>'] = 2:
 			$jock_text += '</td>'
@@ -95,7 +95,7 @@ if $ARGS[0] = 'popular':
 
 		if npc_grupTipe['A<<i>>'] = 1 and schoolenable['A<<i>>'] = 1:
 			pop_count += 1
-			$pop_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''popular''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGo['A<<i>>'])
+			$pop_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''popular''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGoSchool['A<<i>>'])
 		end
 		if pop_count< 6 and npc_grupTipe['A<<i>>'] = 1:
 			$pop_text += '</td>'
@@ -120,7 +120,7 @@ if $ARGS[0] = 'gopniks':
 
 		if npc_grupTipe['A<<i>>'] = 4 and schoolenable['A<<i>>'] = 1:
 			gop_count += 1
-			$gop_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''gopniks''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGo['A<<i>>'])
+			$gop_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''gopniks''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGoSchool['A<<i>>'])
 		end
 		if gop_count< 6 and npc_grupTipe['A<<i>>'] = 4:
 			$gop_text += '</td>'
@@ -145,7 +145,7 @@ if $ARGS[0] = 'outcasts':
 
 		if npc_grupTipe['A<<i>>'] = 5 and schoolenable['A<<i>>'] = 1:
 			oc_count += 1
-			$oc_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''outcasts''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGo['A<<i>>'])
+			$oc_text += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + iif($ARGS[1] = 'journal', '<a href="exec:gt ''journal'',''outcasts''"><<$npc_usedname[''A<<i>>'']>></a>', $npcGoSchool['A<<i>>'])
 		end
 		if oc_count< 6 and npc_grupTipe['A<<i>>'] = 5:
 			$oc_text += '</td>'