SGP: add season pass mode at recommend page

This commit is contained in:
Pakin 2024-07-15 17:29:43 +07:00
parent 86d9c4683f
commit b57750e134
380 changed files with 17810 additions and 3933 deletions

View file

@ -0,0 +1,72 @@
Var Season1 = "false"
Var Season2 = "false"
Var Season3 = "false"
Var BigButtonEnable = "Enable"
Var SeasonTrick = CountryRootPath + "xml/event/season_pass/"
If SystemDateMonthInt = 7 Then
If SystemDateDayInt >= 22 Then
Var Season1 = "true"
EndIf
EndIf
If SystemDateMonthInt = 8 Then
If SystemDateDayInt <= 4 Then
Var Season1 = "true"
Else
Var Season1 = "false"
EndIf
If SystemDateDayInt > 4 Then
If SystemDateDayInt < 19 Then
Var Season2 = "true"
Else
Var Season2 = "false"
Var Season3 = "true"
EndIf
EndIf
EndIf
If SystemDateMonthInt = 9 Then
If SystemDateDayInt = 1 Then
Var Season3 = "true"
EndIf
EndIf
If BoxID = "177746" Then
Var Season1 = "false"
Var Season2 = "false"
Var Season3 = "false"
EndIf
DEBUGVAR Season1
DEBUGVAR Season2
DEBUGVAR Season3
DEBUGVAR SeasonTrick
If Season1 = "true" Then
Var SeasonTrick = SeasonTrick + "set1.ev"
TRY SeasonTrick
Else
If Season2 = "true" Then
Var SeasonTrick = SeasonTrick + "set2.ev"
TRY SeasonTrick
Else
If Season3 = "true" Then
Var SeasonTrick = SeasonTrick + "set3.ev"
TRY SeasonTrick
EndIf
EndIf
EndIf

View file

@ -0,0 +1,24 @@
; Define
Var SeasonPass = 1
Var SeasonFile = CountryRootPath + "xml/event/triple_promotion_s1topleft_and_s1topright_and_s1botleft.lxml"
DEBUGVAR SeasonPass
DEBUGVAR SeasonFile
Var CountEnablePromotion = 0
If $Sum522101000752210200045221030004 = "Enable" Then
Var CountEnablePromotion = CountEnablePromotion + 1
EndIf
If $Sum5203030009 = "Enable" Then
Var CountEnablePromotion = CountEnablePromotion + 1
EndIf
If $Sum520201002652020200265202030026 = "Enable" Then
Var CountEnablePromotion = CountEnablePromotion + 1
EndIf
DEBUGVAR CountEnablePromotion

View file

@ -0,0 +1,10 @@
; Define
Var SeasonPass = 2
Var SeasonFile = CountryRootPath + "xml/event/triple_promotion_s2topleft_and_s2topright_and_s2botleft.lxml"
DEBUGVAR SeasonPass
DEBUGVAR SeasonFile

View file

@ -0,0 +1,10 @@
; Define
Var SeasonPass = 1
Var SeasonFile = CountryRootPath + "xml/event/triple_promotion_s3topleft_and_s3topright_and_s3botleft.lxml"
DEBUGVAR SeasonPass
DEBUGVAR SeasonFile