Ver Fonte

[changed] sgrup files have been merged into gschool_groups, and updated glife.gproj
[fixed] old links to sgrups in gschool_lunch and gdkin
[changed] school groups now once again display as thumbnails in gschool_chats

3xpurt há 5 anos atrás
pai
commit
5630eca36e

+ 1 - 7
glife.qproj

@@ -628,6 +628,7 @@
 		<Location name="gschool_office"/>
 		<Location name="gschool_events"/>
 		<Location name="gschool_gossip"/>
+		<Location name="gschool_groups"/>
 		<Location name="gschool_boys_bathroom"/>
 		<Location name="gschool_girls_bathroom"/>
 		<Location name="gschool_sex"/>
@@ -640,12 +641,6 @@
 		<Location name="gschool_chats1"/>
 		<Location name="gschool_chats2"/>
 		<Location name="gschool_chats3"/>
-		<Location name="Sgrup1"/>
-		<Location name="Sgrup2"/>
-		<Location name="Sgrup3"/>
-		<Location name="Sgrup4"/>
-		<Location name="Sgrup5"/>
-		<Location name="Sgrup"/>
 		<Location name="nogorslut"/>
 		<Location name="yesgorslut"/>
 	</Folder>
@@ -678,7 +673,6 @@
 		<Location name="cumreaction"/>
 		<Location name="izdevat"/>
 		<Location name="kotovtalker"/>
-		<Location name="SgrupDisco"/>
 	</Folder>
 	<Folder name="Event gym town">
 		<Location name="danceGev"/>

+ 0 - 40
locations/Sgrup.qsrc

@@ -1,40 +0,0 @@
-# Sgrup
-!! Obsolete?
-*clr & cla
-gs 'themes', 'food_menu'
-gs 'stat'
-$textgrup = ''
-
-act 'Leave':gt 'gschool_lessons', 'short_break'
-
-if $loc = 'gschool_grounds' or $loc = 'gschool_lunch':
-	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/lunch.jpg"></center>'
-	'You stay in the cafeteria where some of the teachers are eating or watching over the kids making sure there is no trouble.'
-end
-*nl
-!!Can probably be removed
-!!gs 'gschool_lessons', 'npc_data'
-
-$textgrup = ''
-count1 = 0
-i = 1
-'<center><table cellspacing="3">'
-:gruploop	
-	if count1 = 6 : $textgrup += '<tr>'
-
-	if npc_grupTipe['A<<i>>'] = 6 and schoolenable['A<<i>>'] = 1:
-		count1 += 1
-		$textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo['A<<i>>']
-	end
-	if count1< 6 and npc_grupTipe['A<<i>>'] = 6:
-		$textgrup += '</td>'
-	elseif count1 = 6 and npc_grupTipe['A<<i>>'] = 6:
-		$textgrup +='</td></tr><tr>' & count1 = 0
-	end
-	i += 1
-if i <= aarraynumber:jump 'gruploop'
-
-'<<$textgrup>>'
-
---- Sgrup ---------------------------------
-

+ 0 - 41
locations/Sgrup1.qsrc

@@ -1,41 +0,0 @@
-# Sgrup1
-!! Obsolete?
-*clr & cla
-gs 'themes', 'food_menu'
-gs 'stat'
-$textgrup = ''
-
-act 'Leave':gt 'gschool_lessons', 'short_break'
-
-if $loc = 'gschool_grounds' or $loc = 'gschool_lunch':
-	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/peremena<<urand>>.jpg"></center>'
-	'You decide to spend your break in a classroom. As you enter, you find several of your classmates already sitting there: the smart kids decided to get an early start on their homework assignments, while the outcasts are mostly hiding away from everyone else, hoping that no one will pick on them today.'
-end
-*nl
-
-!!Can probably be removed
-!!gs 'gschool_lessons', 'npc_data'
-
-$textgrup = ''
-count1 = 0
-i = 1
-'<center><table cellspacing="3">'
-:gruploop	
-	if count1 = 6 : $textgrup += '<tr>'
-
-	if npc_grupTipe['A<<i>>'] = 3 and schoolenable['A<<i>>'] = 1:
-		count1 += 1
-		$textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo['A<<i>>']
-	end
-	if count1< 6 and npc_grupTipe['A<<i>>'] = 3:
-		$textgrup += '</td>'
-	elseif count1 = 6 and npc_grupTipe['A<<i>>'] = 3:
-		$textgrup +='</td></tr><tr>' & count1 = 0
-	end
-	i += 1
-if i <= aarraynumber:jump 'gruploop'
-
-'<<$textgrup>>'
-
---- Sgrup1 ---------------------------------
-

+ 0 - 41
locations/Sgrup2.qsrc

@@ -1,41 +0,0 @@
-# Sgrup2
-!! Obsolete?
-*clr & cla
-gs 'themes', 'food_menu'
-gs 'stat'
-$textgrup = ''
-
-act 'Leave':gt 'gschool_lessons', 'short_break'
-
-if $loc = 'gschool_grounds' or $loc = 'gschool_lunch':
-	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/school.jpg"></center>'
-	'When the break finally comes, the girls wander through the hallways of the school, gossiping about pretty much everyone they know. The guys are standing around in small groups, some of them sneaking off to have a smoke behind the school building. The cool kids are hanging out in one area, and on the other side of the hallway the sporty kids are talking about their upcoming competitions.'
-end
-*nl
-
-!!Can probably be removed
-!!gs 'gschool_lessons', 'npc_data'
-
-$textgrup = ''
-count1 = 0
-i = 1
-'<center><table cellspacing="3">'
-:gruploop	
-	if count1 = 6 : $textgrup += '<tr>'
-
-	if npc_grupTipe['A<<i>>'] = 2 and schoolenable['A<<i>>'] = 1:
-		count1 += 1
-		$textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo['A<<i>>']
-	end
-	if count1< 6 and npc_grupTipe['A<<i>>'] = 2:
-		$textgrup += '</td>'
-	elseif count1 = 6 and npc_grupTipe['A<<i>>'] = 2:
-		$textgrup +='</td></tr><tr>' & count1 = 0
-	end
-	i += 1
-if i <= aarraynumber:jump 'gruploop'
-
-'<<$textgrup>>'
-
---- Sgrup2 ---------------------------------
-

+ 0 - 41
locations/Sgrup3.qsrc

@@ -1,41 +0,0 @@
-# Sgrup3
-!! Obsolete?
-*clr & cla
-gs 'themes', 'food_menu'
-gs 'stat'
-$textgrup = ''
-
-act 'Leave':gt 'gschool_lessons', 'short_break'
-
-if $loc = 'gschool_grounds' or $loc = 'gschool_lunch':
-	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/school.jpg"></center>'
-	'When the break finally comes, the girls wander through the hallways of the school, gossiping about pretty much everyone they know. The guys are standing around in small groups, some of them sneaking off to have a smoke behind the school building. The cool kids are hanging out in one area, and on the other side of the hallway the sporty kids are talking about their upcoming competitions.'
-end
-*nl
-
-!!Can probably be removed
-!!gs 'gschool_lessons', 'npc_data'
-
-$textgrup = ''
-count1 = 0
-i = 1
-'<center><table cellspacing="3">'
-:gruploop	
-	if count1 = 6 : $textgrup += '<tr>'
-
-	if npc_grupTipe['A<<i>>'] = 1 and schoolenable['A<<i>>'] = 1:
-		count1 += 1
-		$textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo['A<<i>>']
-	end
-	if count1< 6 and npc_grupTipe['A<<i>>'] = 1:
-		$textgrup += '</td>'
-	elseif count1 = 6 and npc_grupTipe['A<<i>>'] = 1:
-		$textgrup +='</td></tr><tr>' & count1 = 0
-	end
-	i += 1
-if i <= aarraynumber:jump 'gruploop'
-
-'<<$textgrup>>'
-
---- Sgrup3 ---------------------------------
-

+ 0 - 41
locations/Sgrup4.qsrc

@@ -1,41 +0,0 @@
-# Sgrup4
-!! Obsolete?
-*clr & cla
-gs 'themes', 'food_menu'
-gs 'stat'
-$textgrup = ''
-
-act 'Leave':gt 'gschool_lessons', 'short_break'
-
-if $loc = 'gschool_grounds' or $loc = 'gschool_lunch':
-	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/toilet.jpg"></center>'
-	'You need to use the restroom and as you enter you notice a lot of beautiful girls from your school there. They check their make-up, doing minor touch-ups while they gossip about their classmates who happen to not be there. Some people are standing by the windows, smoking. The Gopniks from your class are standing near the toilets.'
-end
-*nl
-
-!!Can probably be removed
-!!gs 'gschool_lessons', 'npc_data'
-
-$textgrup = ''
-count1 = 0
-i = 1
-'<center><table cellspacing="3">'
-:gruploop	
-	if count1 = 6 : $textgrup += '<tr>'
-
-	if npc_grupTipe['A<<i>>'] = 4 and schoolenable['A<<i>>'] = 1:
-		count1 += 1
-		$textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo['A<<i>>']
-	end
-	if count1< 6 and npc_grupTipe['A<<i>>'] = 4:
-		$textgrup += '</td>'
-	elseif count1 = 6 and npc_grupTipe['A<<i>>'] = 4:
-		$textgrup +='</td></tr><tr>' & count1 = 0
-	end
-	i += 1
-if i <= aarraynumber:jump 'gruploop'
-
-'<<$textgrup>>'
-
---- Sgrup4 ---------------------------------
-

+ 0 - 41
locations/Sgrup5.qsrc

@@ -1,41 +0,0 @@
-# Sgrup5
-!! Obsolete?
-*clr & cla
-gs 'themes', 'food_menu'
-gs 'stat'
-$textgrup = ''
-
-act 'Leave':gt 'gschool_lessons', 'short_break'
-
-if $loc = 'gschool_grounds' or $loc = 'gschool_lunch':
-	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/peremena<<urand>>.jpg"></center>'
-	'You decide to spend your break in a classroom. As you enter, you find several of your classmates already sitting there: the smart kids decided to get an early start on their homework assignments, while the outcasts are mostly hiding away from everyone else, hoping that no one will pick on them today.'
-end
-*nl
-
-!!Can probably be removed
-!!gs 'gschool_lessons', 'npc_data'
-
-$textgrup = ''
-count1 = 0
-i = 1
-'<center><table cellspacing="3">'
-:gruploop	
-	if count1 = 6 : $textgrup += '<tr>'
-
-	if npc_grupTipe['A<<i>>'] = 5 and schoolenable['A<<i>>'] = 1:
-		count1 += 1
-		$textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo['A<<i>>']
-	end
-	if count1< 6 and npc_grupTipe['A<<i>>'] = 5:
-		$textgrup += '</td>'
-	elseif count1 = 6 and npc_grupTipe['A<<i>>'] = 5:
-		$textgrup +='</td></tr><tr>' & count1 = 0
-	end
-	i += 1
-if i <= aarraynumber:jump 'gruploop'
-
-'<<$textgrup>>'
-
---- Sgrup5 ---------------------------------
-

+ 0 - 65
locations/SgrupDisco.qsrc

@@ -1,65 +0,0 @@
-# SgrupDisco
-
-*clr & cla
-gs 'themes', 'food_menu'
-gs 'stat'
-
-act 'Move away':gt $loc, $metka
-
-'<center><b><font color="maroon">Disco</font></b></center>'
-
-!!Can probably be removed
-!!gs 'gschool_lessons', 'npc_data'
-
-!! First string for popular kids
-$textgrup = ''
-count1 = 0
-i = 1
-'<center><table cellspacing="3">'
-:gruploop	
-	if count1 = 6 : $textgrup += '<tr>'
-
-	if npc_grupTipe['A<<i>>'] = 1 and discoenable['A<<i>>'] = 1:
-		count1 += 1
-		$textgrup += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo['A<<i>>']
-	end
-	if count1< 6 and npc_grupTipe['A<<i>>'] = 1:
-		$textgrup += '</td>'
-	elseif count1 = 6 and npc_grupTipe['A<<i>>'] = 1:
-		$textgrup +='</td></tr><tr>' & count1 = 0
-	end
-	i += 1
-if i <= aarraynumber:jump 'gruploop'
-
-!! Force new line for gopniks
-$textgrup +='</td></tr><tr>'
-
-!! Second string for gopniks
-$textgrup2 = ''
-count1 = 0
-i = 1
-'<center><table cellspacing="3">'
-:gruploop2
-	if count1 = 6 : $textgrup2 += '<tr>'
-
-	if npc_grupTipe['A<<i>>'] = 4 and discoenable['A<<i>>'] = 1:
-		count1 += 1
-		$textgrup2 += '' + '<td bgcolor=<<$bcolor2>> align="center"><img  height="100" src="images/pc/npc_headshots/<<i>>.jpg"><br>' + $npcGo['A<<i>>']
-	end
-	if count1< 6 and npc_grupTipe['A<<i>>'] = 4:
-		$textgrup2 += '</td>'
-	elseif count1 = 6 and npc_grupTipe['A<<i>>'] = 4:
-		$textgrup2 +='</td></tr><tr>' & count1 = 0
-	end
-	i += 1
-if i <= aarraynumber:jump 'gruploop2'
-
-'<<$textgrup>>'
-*nl
-'<<$textgrup2>>'
-'<center>Most the cool kids are dancing, while the gopnics are standing in the corner of the room, keeping to themselves.</center>'
-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>'
-
---- SgrupDisco ---------------------------------
-

+ 19 - 2
locations/gdkin.qsrc

@@ -37,7 +37,7 @@ if $ARGS[0] = '':
 
 		act 'Go to the toilets': gt 'gdktoilet', 'start'
 
-		if StoryLine = 1 and SchoolAtestat = 0:'At the disco you see a few of your <a href="exec:gs ''SgrupDisco''">classmates</a>. Some of them dancing, while others stick to their own groups and talk.'
+		if StoryLine = 1 and SchoolAtestat = 0:'At the disco you see a few of your <a href="exec:gt ''gdkin'', ''classmates''">classmates</a>. Some of them dancing, while others stick to their own groups and talk.'
 		if soniaslut < 5:soniaslut += 1
 
 		if dimaRevenge = 7 and dimaRevChoice = 4 and dimadisco = 0:
@@ -200,7 +200,7 @@ if $ARGS[0] = '':
 
 			act 'Continue':gt 'gdkin'
 		end
-		if StoryLine = 1 and SchoolAtestat = 0: act 'Look for your classmates': gs 'SgrupDisco'
+		if StoryLine = 1 and SchoolAtestat = 0: act 'Look for your classmates': gt 'gdkin', 'classmates'
 	elseif hour < 20:
 		'The Club closes. The main lights go on, the music fades and everyone beings to leave.'
 		act 'Go outside':gt 'gdk'
@@ -635,5 +635,22 @@ if $ARGS[0] = 'too_drunk_dance':
 	end
 end
 
+if $ARGS[0] = 'classmates':
+	*clr & cla
+	$menu_loc = 'gschool_groups'
+	$menu_arg = 'disco'
+	menu_off = 1
+	gs 'themes', 'food_menu'
+
+	'<center><b><font color="maroon">Disco</font></b></center>'
+	*nl
+	gs 'gschool_groups', 'popular'
+	gs 'gschool_groups', 'gopniks'
+	act 'Move away':gt $loc, $metka
+
+	'<center>Most the cool kids are dancing, while the gopnics are standing in the corner of the room, keeping to themselves.</center>'
+	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
 --- gdkin ---------------------------------
 

+ 20 - 8
locations/gschool_chats.qsrc

@@ -5,35 +5,43 @@ if $ARGS[0] = 'nerds':
 	minut += 5
 	if rand(1,6) = 1 and pcs_vag > 12 and mesec <= 0 and gschool_ignore = 0:
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/events/boysex_tualet.jpg"></center>'
+		*nl
 		'When you enter the class, you feel someone moving in behind you and quickly pulling your skirt up. Your skirt is barely in the air, before you feel hands pawing at your ass. As you move to turn around, the hand quickly pulls away. By the time you can see who''s behind you, you find half the guys in your class standing there, all looking in different directions and trying to act inconspicuous, a few of them even having the gall to whistle innocently. You try to tell from their faces which one of them just touched you.'
-		
+
 		act 'Ignore it': gschool_ignore = 1 & gt 'gschool_chats', 'nerds'
 		act 'Identify the perpetrator': gt 'gschool_events', 'rand_scoolboy'
 	else
 		killvar 'gschool_ignore'
 		if grupTipe = 3:
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/chat/nerd' + rand(1,3) + '.jpg"></center>'
-			'You go to the classrooms that you and your fellow nerds like to gather in. You find them all clustered around a table talking and engaged in a variety of pet projects, as usual.'
-		else	
+			*nl
+			'You go to the classrooms that you and your fellow nerds like to gather in. You find them all clustered around a table talking and engaged in a variety of pet projects, as usual, while the outcasts are mostly hiding away from everyone else, hoping that no one will pick on them today.'
+		else
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/chat/nerd' + rand(1,3) + '.jpg"></center>'
-			'You go to one of the classrooms that the nerds like to gather in. You find them all clustered around a table talking and engaged in a variety of pet projects.'
+			*nl
+			'You go to one of the classrooms that the nerds like to gather in. You find them all clustered around a table talking and engaged in a variety of pet projects, while the outcasts are mostly hiding away from everyone else, hoping that no one will pick on them today.'
 		end
-		'Sitting around the table is <a href="exec:gt ''gschool_chats2'',''artem''">Artem</a>, <a href="exec:gt ''gschool_chats2'',''feofan''">Feofan</a>, <a href="exec:gt ''gschool_chats2'',''gerasim''">Gerasim</a>, <a href="exec:gt ''gschool_chats2'',''evgeny''">Evgeny</a>, <a href="exec:gt ''gschool_chats2'',''petka''">Petka</a>, <a href="exec:gt ''gschool_chats2'',''zinaida''">Zinaida</a>, <a href="exec:gt ''gschool_chats2'',''natasha''">Natasha</a>, and <a href="exec:gt ''gschool_chats2'',''julia''">Julia</a>. The outcasts are mostly hiding away from everyone else, hoping that no one will pick on them today. <a href="exec:gt ''gschool_chats2'',''petia''">Petia</a> is roaming around, like is is about to approach someone. Meanwhile <a href="exec:gt ''gschool_chats2'',''lesco''">Lesco</a> sits at a desk and reads a book.'+iif(soniaPS = 0, '', ' <a href="exec:gt ''gschool_chats2'',''sonia''">Sonia</a> is sitting at a desk typing on her phone.')+iif (fedormasha = 0, '', ' <a href="exec:gt ''gschool_chats2'',''fedor''">Fedor</a> is sitting at a window sill looking outside, looking lonely and depressed.')+iif (zverSlutQW < 2, '', ' While <a href="exec:gt ''gschool_chats2'',''christina''">Christina</a> is sitting at a desk looking forlorn.')+'.'
+		*nl
+		gs 'gschool_groups', 'nerds'
+		gs 'gschool_groups', 'outcasts'
 		act 'Leave': gt 'gschool_lessons', 'short_break'
 	end
 end
-	
+
 if $ARGS[0] = 'gopniks':
 	*clr & cla
 	minut += 5
 	if grupTipe = 4:
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/chat/gopnik.jpg"></center>'
+		*nl
 		'You go to the stairwell that you and your fellow gopnik''s like to gather in. You find them leaning against the wall, sitting on the steps, or even just sitting on the landing of the stairs, engaged in a variety of conversations, as usual.'
 	else
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/chat/gopnik.jpg"></center>'
+		*nl
 		'You go to the stairwell that the gopnik''s like to gather in. You find them leaning against the wall, sitting on the steps, or even just sitting on the landing of the stairs, engaged in a variety of conversations.'
 	end
-	'Hanging around is <a href="exec:gt ''gschool_chats3'',''vitek''">Vitek</a>, <a href="exec:gt ''gschool_chats3'',''dan''">Dan</a>, <a href="exec:gt ''gschool_chats3'',''vasily''">Vasily</a>, <a href="exec:gt ''gschool_chats3'',''radomir''">Radomir</a>, <a href="exec:gt ''gschool_chats3'',''roman''">Roman</a>, <a href="exec:gt ''gschool_chats3'',''niko''">Niko</a>, <a href="exec:gt ''gschool_chats3'',''valentin''">Valentin</a>, <a href="exec:gt ''gschool_chats3'',''arkadi''">Arkadi</a>, <a href="exec:gt ''gschool_chats3'',''lavrenti''">Lavrenti</a>, <a href="exec:gt ''gschool_chats3'',''pauline''">Pauline</a>, <a href="exec:gt ''gschool_chats3'',''lena''">Lena</a>, <a href="exec:gt ''gschool_chats3'',''lera''">Lera</a>, <a href="exec:gt ''gschool_chats3'',''anushka''">Anushka</a>, <a href="exec:gt ''gschool_chats3'',''alyona''">Alyona</a>, and <a href="exec:gt ''gschool_chats3'',''ekaterina''">Ekaterina</a>.'
+	*nl
+	gs 'gschool_groups', 'gopniks'
 	act 'Leave': gt 'gschool_lessons', 'short_break'
 end
 
@@ -42,7 +50,11 @@ if $ARGS[0] = 'cooljocks':
 	minut += 5
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/chat/cooljocks.jpg"></center>'
-	'When the break finally comes, the girls wander through the hallways of the school, gossiping about pretty much everyone they know. The guys are standing around in small groups, some of them sneaking off to have a smoke behind the school building. Around the lockers is <a href="exec:gt ''gschool_chats1'',''dimka''">Dimka</a>, <a href="exec:gt ''gschool_chats1'',''igor''">Igor</a>, <a href="exec:gt ''gschool_chats1'',''marcus''">Marcus</a>, <a href="exec:gt ''gschool_chats1'',''andrey''">Andrey</a>, <a href="exec:gt ''gschool_chats1'',''mefodiy''">Mefodiy</a>, <a href="exec:gt ''gschool_chats1'',''albina''">Albina</a>, <a href="exec:gt ''gschool_chats1'',''viktoriya''">Viktoriya</a>, <a href="exec:gt ''gschool_chats1'',''katja''">Katja</a>, <a href="exec:gt ''gschool_chats1'',''stasya''">Stasya</a>, <a href="exec:gt ''gschool_chats1'',''irina''">Irina</a>, <a href="exec:gt ''gschool_chats1'',''lizaveta''">Lizaveta</a>, <a href="exec:gt ''gschool_chats1'',''lazar''">Lazar</a>, <a href="exec:gt ''gschool_chats1'',''ivan''">Ivan</a>, <a href="exec:gt ''gschool_chats1'',''svyatoslav''">Svyatoslav</a>, <a href="exec:gt ''gschool_chats1'',''vanya''">Vanya</a>, <a href="exec:gt ''gschool_chats1'',''erast''">Erast</a>, <a href="exec:gt ''gschool_chats1'',''bella''">Bella</a>, <a href="exec:gt ''gschool_chats1'',''veronika''">Veronika</a>, <a href="exec:gt ''gschool_chats1'',''lariska''">Lariska</a>, <a href="exec:gt ''gschool_chats1'',''lina''">Lina</a>'+iif(soniaPS = 0, ', <a href="exec:gt ''gschool_chats1'',''sonia''">Sonia</a>', '')+iif (fedormasha = 0, ', <a href="exec:gt ''gschool_chats1'',''fedor''">Fedor</a>', '')+iif (zverSlutQW < 2, ' and <a href="exec:gt ''gschool_chats1'',''christina''">Christina</a>', '')+'.'
+	*nl
+	'When the break finally comes, the girls wander through the hallways of the school, gossiping about pretty much everyone they know. The guys are standing around in small groups, some of them sneaking off to have a smoke behind the school building, but some are still hanging around the lockers.'
+	*nl
+	gs 'gschool_groups', 'popular'
+	gs 'gschool_groups', 'jocks'
 	act 'Leave': gt 'gschool_lessons', 'short_break'
 end
 

+ 158 - 0
locations/gschool_groups.qsrc

@@ -0,0 +1,158 @@
+# gschool_groups
+
+gs 'themes', 'food_menu'
+
+!npc_grupTipe[i] - social group
+!1 - popular
+!2 - jocks
+!3 - nerds
+!4 - Gopnik
+!5 - outcasts
+!6 - teachers
+
+if $ARGS[0] = 'teachers':
+	killvar '$teach_text'
+	killvar 'teach_count'
+	i = 1
+	'<center><table cellspacing="3">'
+	:teach_loop
+		if teach_count = 6 : $teach_text += '<tr>'
+
+		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>' + $npcGo['A<<i>>']
+		end
+		if teach_count< 6 and npc_grupTipe['A<<i>>'] = 6:
+			$teach_text += '</td>'
+		elseif teach_count = 6 and npc_grupTipe['A<<i>>'] = 6:
+			$teach_text +='</td></tr><tr>' & teach_count = 0
+		end
+		i += 1
+	if i <= aarraynumber:jump 'teach_loop'
+
+	'<<$teach_text>>'
+	'</table></center>'
+end
+
+if $ARGS[0] = 'nerds':
+	killvar '$nerd_text'
+	killvar 'nerd_count'
+	i = 1
+	'<center><table cellspacing="3">'
+	:nerd_loop
+		if nerd_count = 6 : $nerd_text += '<tr>'
+
+		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>' + $npcGo['A<<i>>']
+		end
+		if nerd_count< 6 and npc_grupTipe['A<<i>>'] = 3:
+			$nerd_text += '</td>'
+		elseif nerd_count = 6 and npc_grupTipe['A<<i>>'] = 3:
+			$nerd_text +='</td></tr><tr>' & nerd_count = 0
+		end
+		i += 1
+	if i <= aarraynumber:jump 'nerd_loop'
+
+	'<<$nerd_text>>'
+	'</table></center>'
+end
+
+if $ARGS[0] = 'jocks':
+	killvar '$jock_text'
+	killvar 'jock_count'
+	i = 1
+	'<center><table cellspacing="3">'
+	:jock_loop
+		if jock_count = 6 : $jock_text += '<tr>'
+
+		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>' + $npcGo['A<<i>>']
+		end
+		if jock_count< 6 and npc_grupTipe['A<<i>>'] = 2:
+			$jock_text += '</td>'
+		elseif jock_count = 6 and npc_grupTipe['A<<i>>'] = 2:
+			$jock_text +='</td></tr><tr>' & jock_count = 0
+		end
+		i += 1
+	if i <= aarraynumber:jump 'jock_loop'
+
+	'<<$jock_text>>'
+	'</table></center>'
+end
+
+if $ARGS[0] = 'popular':
+	killvar '$pop_text'
+	killvar 'pop_count'
+	i = 1
+	'<center><table cellspacing="3">'
+	:pop_loop
+		if pop_count = 6 : $pop_text += '<tr>'
+
+		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>' + $npcGo['A<<i>>']
+		end
+		if pop_count< 6 and npc_grupTipe['A<<i>>'] = 1:
+			$pop_text += '</td>'
+		elseif pop_count = 6 and npc_grupTipe['A<<i>>'] = 1:
+			$pop_text +='</td></tr><tr>' & pop_count = 0
+		end
+		i += 1
+	if i <= aarraynumber:jump 'pop_loop'
+
+	'<<$pop_text>>'
+	'</table></center>'
+end
+
+if $ARGS[0] = 'gopniks':
+	killvar '$gop_text'
+	killvar 'gop_count'
+	i = 1
+	'<center><table cellspacing="3">'
+	:gop_loop
+		if gop_count = 6 : $gop_text += '<tr>'
+
+		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>' + $npcGo['A<<i>>']
+		end
+		if gop_count< 6 and npc_grupTipe['A<<i>>'] = 4:
+			$gop_text += '</td>'
+		elseif gop_count = 6 and npc_grupTipe['A<<i>>'] = 4:
+			$gop_text +='</td></tr><tr>' & gop_count = 0
+		end
+		i += 1
+	if i <= aarraynumber:jump 'gop_loop'
+
+	'<<$gop_text>>'
+	'</table></center>'
+end
+
+if $ARGS[0] = 'outcasts':
+	killvar '$oc_text'
+	killvar 'oc_count'
+	i = 1
+	'<center><table cellspacing="3">'
+	:oc_loop
+		if oc_count = 6 : $oc_text += '<tr>'
+
+		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>' + $npcGo['A<<i>>']
+		end
+		if oc_count< 6 and npc_grupTipe['A<<i>>'] = 5:
+			$oc_text += '</td>'
+		elseif oc_count = 6 and npc_grupTipe['A<<i>>'] = 5:
+			$oc_text +='</td></tr><tr>' & oc_count = 0
+		end
+		i += 1
+	if i <= aarraynumber:jump 'oc_loop'
+
+	'<<$oc_text>>'
+	'</table></center>'
+end
+
+--- gschool_groups ---------------------------------
+

+ 6 - 2
locations/gschool_lunch.qsrc

@@ -65,7 +65,10 @@ if $ARGS[0] = 'cafeteria':
 		'As you wait in line for your meal, you hear the other students talking about a girl you don''t know. None of them are talking about you anymore. Dimka works quick. You enjoy the rest of your lunch break.'
 	else
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/lunch.jpg"></center>'
-		'During the break, students and some of the <a href="exec:gt ''Sgrup''">teachers</a> are standing in line near the kitchen, waiting for their food.'
+		*nl
+		'During the break, students and some of the teachers are standing in line near the kitchen, waiting for their food.'
+		*nl
+		gs 'gschool_groups', 'teachers'
 	end
 
 	act 'Skip lunch':
@@ -163,7 +166,8 @@ if $ARGS[0] = 'break':
 			minut += 5
 			gs 'stat'
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/lunch/lunch.jpg"></center>'
-			'You stay in the cafeteria where some of the <a href="exec:gt ''Sgrup''">teachers</a> are eating or watching over the kids making sure there is no trouble.'
+			'You stay in the cafeteria where some of the teachers are eating or watching over the kids making sure there is no trouble.'
+			gs 'gschool_groups', 'teachers'
 			act 'Leave': gt 'gschool_lessons', 'short_break'
 			if rolanmeet < 1:
 				'Rolan is sitting with his head on the table, he seems lonely.'