소스 검색

[added] Stat bars showing standing with school social groups to the journal school page.

KevinSmarts 4 년 전
부모
커밋
90193f6ec4
2개의 변경된 파일74개의 추가작업 그리고 0개의 파일을 삭제
  1. 58 0
      locations/indik.qsrc
  2. 16 0
      locations/journal.qsrc

+ 58 - 0
locations/indik.qsrc

@@ -220,6 +220,64 @@ else
 			end
 		end
 	end
+
+	if $ARGS[0] = '4':
+		if Enable_Android = 1:
+			if a  >= 65:
+				$ind = '<font color="green"><<a1>></font>'
+			elseif a >= 35:
+				$ind = '<font color="blue"><<a1>></font>'
+			else
+				$ind = '<font color="red"><<a1>></font>'
+			end
+		else
+			j = a/5
+			$ind = '<font face="courier new" size = <<i>>> </font>'
+			indik_counter = 0
+			:indik
+			if indik_counter < j:
+				$ind += '<font face="courier new" size = <<i>>>█</font>'
+				indik_counter += 1
+				jump 'indik'
+			elseif indik_counter < 20:
+				$ind += '<font face="courier new" size = <<i>>>_</font>'
+				indik_counter += 1
+				jump 'indik'
+			end
+			killvar 'indik_counter'
+			killvar 'j'
+			$ind += '<font face="courier new" size = <<i>>> </font>'
+			if grupTipe = ARGS[3]:
+				if a >= 85:
+					$ind = '<font color="green">' + $ind + 'Popular member</font>'
+				elseif a >= 60:
+					$ind = '<font color=#b3b300>' + $ind + 'Member</font>'
+				elseif a >= 40:
+					$ind = '<font color=#00CED1>' + $ind + 'Barely a member</font>'
+				elseif a >= 30:
+					$ind = '<font color="blue">' + $ind + 'Tolerated</font>'
+				elseif a >= 20:
+					$ind = '<font color=#ff6600>' + $ind + 'On last warning</font>'
+				else
+					$ind = '<font color="red">' + $ind + 'You will be kicked out</font>'
+				end
+			else
+				if a >= 80:
+					$ind = '<font color="green">' + $ind + 'Will be ask to join unless you are a slut</font>'
+				elseif a >= 70:
+					$ind = '<font color=#b3b300>' + $ind + 'Really Liked</font>'
+				elseif a >= 50:
+					$ind = '<font color=#00CED1>' + $ind + 'Liked</font>'
+				elseif a >= 20:
+					$ind = '<font color="blue">' + $ind + 'Tolerated</font>'
+				elseif a >= 10:
+					$ind = '<font color=#ff6600>' + $ind + 'Disliked</font>'
+				else
+					$ind = '<font color="red">' + $ind + 'Hated</font>'
+				end
+			end
+		end
+	end
 end
 
 --- indik ---------------------------------

+ 16 - 0
locations/journal.qsrc

@@ -372,6 +372,22 @@ if $ARGS[0] = 'school':
 		'<font color="red">You are on the outs with your clique. You''re in danger of being outcast.</font>'
 	end
 	
+	*nl
+	'<center><h2>Standings by Social Group</h2></center>'
+	
+	'Cool Kids'
+
+	gs 'indik', '4', grupvalue[1]/10, grupvalue[1], 1 & '<<$ind>>'
+	
+	'Jocks'
+	gs 'indik', '4', grupvalue[2]/10, grupvalue[2], 2 & '<<$ind>>'
+	
+	'Nerds'
+	gs 'indik', '4', grupvalue[3]/10, grupvalue[3], 3 & '<<$ind>>'
+	
+	'Gopnik'
+	gs 'indik', '4', grupvalue[4]/10, grupvalue[4], 4 & '<<$ind>>'
+	
 	'<center><h2>Class schedule</h2></center>'
 	
 	'Monday: Math, Russian, Literature, Art, Biology, P.E'