MYS: Add promotion thai tea

This commit is contained in:
Pakin 2024-05-20 09:58:10 +07:00
parent 7db308b662
commit 6641363473
16 changed files with 15925 additions and 25 deletions

View file

@ -11,25 +11,27 @@ Var Propepsi99Enable = 0
; FruityRaya Promo
Var FruityRayaEnable = 0
Var FromFruityRaya = 0
Var DisableUntilServerPartOK = 1
; ThaiTea Promo
Var ProThaiTeaEnable = 0
Var FromProThaiTea = 0
If SystemDateMonthInt = 3 Then
If SystemDateDayInt >= 27 Then
Var FruityRayaEnable = 1
EndIf
EndIf
If SystemDateMonthInt = 4 Then
Var FruityRayaEnable = 1
EndIf
If SystemDateMonthInt = 5 Then
If SystemDateDayInt < 10 Then
Var FruityRayaEnable = 1
If SystemDateMonthInt = 6 Then
If SystemDateDayInt >= 15 Then
Var ProThaiTeaEnable = 1
Else
Var FruityRayaEnable = 0
Var ProThaiTeaEnable = 0
EndIf
EndIf
If SystemDateMonthInt = 7 Then
If SystemDateDayInt < 16 Then
Var ProThaiTeaEnable = 1
Else
Var ProThaiTeaEnable = 0
EndIf
EndIf
If BoxID = 177746 Then
Var ProThaiTeaEnable = 1
EndIf