Parcourir la source

[fixed] Few more events from school blocked if not there (in journal) from Julzor

KevinSmarts il y a 3 ans
Parent
commit
42d321cb34
1 fichiers modifiés avec 10 ajouts et 9 suppressions
  1. 10 9
      locations/journal.qsrc

+ 10 - 9
locations/journal.qsrc

@@ -127,20 +127,21 @@ if $ARGS[0] = 'records':
 	
 	$tab_text += '<br><center><a href="exec: gt ''journal'', ''locations''">Locations</a></center>'
 	$tab_text += '<br><center><a href="exec: gt ''journal'', ''friends_family''">Friends & Family</a></center>'
-	if SchoolAtestat = 0 and storyline = 1: $tab_text += '<br><center><a href="exec: gt ''journal'', ''school''">School</a></center>'
+	if SchoolAtestat = 0 and storyline = 1 and SchoolBlock = 0:: $tab_text += '<br><center><a href="exec: gt ''journal'', ''school''">School</a></center>'
 	$tab_text += '<br><center><a href="exec: gt ''journal'', ''clothing''">Clothing information</a></center>'
 	
 	$tab_text += '<center><h2>Relationships</h2></center>'
-
-	if grupTipe < 5 and grupvalue[grupTipe] > 700:
-		$journal_school_standing = ' You are well respected and liked within your clique.'
-	elseif grupTipe < 5 and grupvalue[grupTipe] > 300:
-		$journal_school_standing = ' You are in good standing with your clique.'
-	elseif grupTipe < 5:
-		$journal_school_standing = '<font color="red"> You are on the outs with your clique. You''re in danger of being cast out.</font>'
-	end
 	
 	if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0:
+	
+		if grupTipe < 5 and grupvalue[grupTipe] > 700:
+			$journal_school_standing = ' You are well respected and liked within your clique.'
+		elseif grupTipe < 5 and grupvalue[grupTipe] > 300:
+			$journal_school_standing = ' You are in good standing with your clique.'
+		elseif grupTipe < 5:
+			$journal_school_standing = '<font color="red"> You are on the outs with your clique. You''re in danger of being cast out.</font>'
+		end		
+		
 		if grupTipe = 0:
 			$tab_text += dyneval($NoteBookLine,'You are not a member of any particular school social group.'+$journal_school_standing)
 		elseif grupTipe = 1: