Browse Source

Revert "Max grades linked to intelligence."

This reverts commit 1fb24088d6ca898ac868711697abfebb6708f454.
KevinSmarts 3 years ago
parent
commit
ac6817ea42
3 changed files with 2 additions and 24 deletions
  1. 0 14
      locations/_difficulty.qsrc
  2. 2 1
      locations/gschool_lessons.qsrc
  3. 0 9
      locations/stat.qsrc

+ 0 - 14
locations/_difficulty.qsrc

@@ -61,19 +61,5 @@ if $ARGS[0] = 'spendmoneystring':
 end &! --- spendmoneystring ---
 
 
-!! following function returns the basic adjustment for max_grades.
-!! hardcore: (115 * pcs_intel)/100
-!! realistic: 133
-!! relaxed: 155
-!! easy peasy: 185
-!! use func('_difficulty','getmaxgrades')
-if $ARGS[0] = 'getmaxgrades':
-	if difficulty = 1 : max_grades = (pcs_intel * 185) / 100
-	if difficulty = 2 : max_grades = (pcs_intel * 155) / 100
-	if difficulty = 3 : max_grades = (pcs_intel * 133) / 100
-	if difficulty = 4 : max_grades = (pcs_intel * 115) / 100
-
-end &! --- getexpadj ---
-
 --- _difficulty ---------------------------------
 

+ 2 - 1
locations/gschool_lessons.qsrc

@@ -21,7 +21,8 @@ if $ARGS[0] = 'morning':
 			missing_class -= 6
 			pcs_grades -= 2
 		end
-
+		if pcs_grades > 100: pcs_grades = 100
+		if pcs_grades < 0: pcs_grades = 0
 		lernSkill += 1
 		lernHome += 1
 		if schoolSorev = 1: schoolSorev = 0

+ 0 - 9
locations/stat.qsrc

@@ -1151,14 +1151,5 @@ else
 end
 
 
-!!-------------------------School grades and other checks----------------------
-
-!! Having this for just the mornings means it is not always correct.
-func('_difficulty','getmaxgrades')		
-if pcs_grades > max_grades: pcs_grades = max_grades
-
-if pcs_grades < 0: pcs_grades = 0
-
-
 --- stat ---------------------------------