瀏覽代碼

Merge branch 'master' of http://git.tfgamessite.com/Malen/girllife-ecv

KevinSmarts 8 年之前
父節點
當前提交
a11e76ec0e
共有 2 個文件被更改,包括 32 次插入28 次删除
  1. 16 14
      locations/loadg
  2. 16 14
      locations/start

+ 16 - 14
locations/loadg

@@ -41,20 +41,22 @@ if menoage = 0:
 	end
 end
 
-monthsEnd[0] = 31
-monthsEnd[1] = 31
-monthsEnd[2] = 28
-monthsEnd[3] = 31
-monthsEnd[4] = 30
-monthsEnd[5] = 31
-monthsEnd[6] = 30
-monthsEnd[7] = 31
-monthsEnd[8] = 31
-monthsEnd[9] = 30
-monthsEnd[10] = 31
-monthsEnd[11] = 30
-monthsEnd[12] = 31
-monthsEnd[13] = 31
+monthsend[1] = 31
+if year = 2016 or year = 2020 or year = 2024 or year = 2028 or year = 2032:
+	monthsend[2] = 29
+else
+	monthsend[2] = 28
+end
+monthsend[3] = 31
+monthsend[4] = 30
+monthsend[5] = 31
+monthsend[6] = 30
+monthsend[7] = 31
+monthsend[8] = 31
+monthsend[9] = 30
+monthsend[10] = 31
+monthsend[11] = 30
+monthsend[12] = 31
 
 !MJ: Months names.
 $monthName[1] = 'January'

+ 16 - 14
locations/start

@@ -180,20 +180,22 @@ ashrink = 1
 ashrinkdays = 3
 
 !MJ: The day the month ends. Including possible rollover months 0 and 13.
-monthEnd[0] = 31
-monthEnd[1] = 31
-monthEnd[2] = 28
-monthEnd[3] = 31
-monthEnd[4] = 30
-monthEnd[5] = 31
-monthEnd[6] = 30
-monthEnd[7] = 31
-monthEnd[8] = 31
-monthEnd[9] = 30
-monthEnd[10] = 31
-monthEnd[11] = 30
-monthEnd[12] = 31
-monthEnd[13] = 31
+monthsend[1] = 31
+if year = 2016 or year = 2020 or year = 2024 or year = 2028 or year = 2032:
+	monthsend[2] = 29
+else
+	monthsend[2] = 28
+end
+monthsend[3] = 31
+monthsend[4] = 30
+monthsend[5] = 31
+monthsend[6] = 30
+monthsend[7] = 31
+monthsend[8] = 31
+monthsend[9] = 30
+monthsend[10] = 31
+monthsend[11] = 30
+monthsend[12] = 31
 
 !MJ: Months names.
 $monthName[1] = 'January'