瀏覽代碼

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

bgkjdgbizgblzdgbr 1 年之前
父節點
當前提交
d1e451b0c6
共有 1 個文件被更改,包括 5 次插入0 次删除
  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