SGP: postpone event season_pass

This commit is contained in:
Pakin 2024-07-26 08:49:55 +07:00
parent 0ad55e86d9
commit 8d0133c6b3
4 changed files with 15 additions and 12 deletions

2
inter/sgp/animation01/push.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/zsh
adb push play_list.tsv /sdcard/coffeevending/taobin_project/animation01/

View file

@ -8,22 +8,24 @@ Var SeasonTrick = CountryRootPath + "xml/event/season_pass/"
If SystemDateMonthInt = 7 Then
If SystemDateDayInt >= 22 Then
If SystemDateDayInt >= 29 Then
Var Season1 = "true"
Else
Var Season1 = "false"
EndIf
EndIf
If SystemDateMonthInt = 8 Then
If SystemDateDayInt <= 4 Then
If SystemDateDayInt <= 11 Then
Var Season1 = "true"
Else
Var Season1 = "false"
EndIf
If SystemDateDayInt > 4 Then
If SystemDateDayInt < 19 Then
If SystemDateDayInt > 11 Then
If SystemDateDayInt < 26 Then
Var Season2 = "true"
Else
Var Season2 = "false"
@ -36,7 +38,7 @@ EndIf
If SystemDateMonthInt = 9 Then
If SystemDateDayInt = 1 Then
If SystemDateDayInt < 9 Then
Var Season3 = "true"
EndIf
EndIf
@ -68,5 +70,3 @@ Else
EndIf
EndIf
EndIf

View file

@ -1,4 +1,4 @@
; Singapore
; Singapore
;DEBUGVAR SystemDateMonthInt
@ -10,7 +10,7 @@
Var SeasonPassMode = 0
If SystemDateMonthInt = 7 Then
If SystemDateDayInt > 21 Then
If SystemDateDayInt > 28 Then
Var SeasonPassMode = 1
Else
Var SeasonPassMode = 0
@ -23,7 +23,7 @@ EndIf
If SystemDateMonthInt = 9 Then
Var SeasonPassMode = 1
If SystemDateDayInt > 1 Then
If SystemDateDayInt > 8 Then
Var SeasonPassMode = 0
EndIf
EndIf
@ -36,4 +36,4 @@ EndIf
If SeasonPassMode = 1 Then
Var SeasonPassFile = CountryRootPath + "xml/event/season_pass/season_pass.ev"
TRY SeasonPassFile
EndIf
EndIf

View file

@ -589,6 +589,7 @@
If MOVE_CUP_TO_DOOR = "true" Then
Var MOVE_CUP_TO_DOOR = "false"
Var SetPercent100 = 1
EndIf
If BREW_COUNT_DOWN_FROM_APP = "on" Then
@ -1478,7 +1479,7 @@
If MachineStage = "drink-success" Then
Var MachineState_Result = 1
Var SetPercent100 = 1
;Var SetPercent100 = 1
EndIf