소스 검색

add schedule variables for starlets and cheerleaders

rachels 4 년 전
부모
커밋
e8005f678d
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      locations/cikl.qsrc

+ 5 - 4
locations/cikl.qsrc

@@ -1872,11 +1872,15 @@ if rand(0,1) = 0:
 else
 	momclean2 = 25
 end
+!!------------------------------------------------------------------------------------------------------------
 
-
+!!---------- School related schedule -------------------------------------------------------------------------
+starlets_on     = iif( ( (week = 5 and odd_week = 0) or (week = 1 or week = 3 or week >= 6) ) and natholi = 0,1,0)
+cheerleaders_on = iif( ( (week = 5 and odd_week = 1) or (week = 2 or week = 4) ) and (natholi = 0 and (month >9 or month <6)) ,1,0)
 
 !!------------------------------------------------------------------------------------------------------------
 
+
 !!-------------Music career related variables and calculations------------------------------------------------
 
 !! How many hours a day can Sveta perform. It maxes out at 3.
@@ -1949,8 +1953,5 @@ end
 !! Repertoire quality decay if no practice is done
 if ml_performance['set_lastpracticeday'] ! (daystart-1): repertoire_quality -= 2
 
-
-
-
 --- cikl ---------------------------------