Bladeren bron

[changed/added] Missing important file from the last update. Wiht out this file you would not be able to reduc the penelty ever.

bgkjdgbizgblzdgbr 2 jaren geleden
bovenliggende
commit
d1e451b0c6
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. 5 0
      locations/bed2.qsrc

+ 5 - 0
locations/bed2.qsrc

@@ -366,6 +366,11 @@ if $ARGS[0] = 'dream':
 	if stime >= 60:
 		stime = 0
 		pcs_sleep += 15
+		if pcs_sleep >= 100:
+			pcs_condition['lack_of_sleep'] = 0
+		elseif pcs_condition['lack_of_sleep'] > 0:
+			pcs_condition['lack_of_sleep'] -= 1
+		end
 		gs 'stat'
 	end