THAI: Added Ovaltine school and Red string of fate
This commit is contained in:
parent
47def2ae71
commit
c1c8c69b62
61 changed files with 46956 additions and 352 deletions
14989
xml/event/double_promotion_ovaltine_and_red_string.xml
Normal file
14989
xml/event/double_promotion_ovaltine_and_red_string.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,30 @@
|
|||
[
|
||||
{
|
||||
"name": "ovaltine",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/ovaltine_school/ovaltine_school.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_ovaltine_school.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "red_string",
|
||||
"template": "/event/promotion_video_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.png",
|
||||
"video_eng": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.mp4",
|
||||
"video_thai": "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.mp4",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_red_string_of_fate.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_thick_tea_by_brewer.xml
|
||||
/event/promotion_ovaltine_school.xml
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_happy_trios.xml
|
||||
/event/promotion_red_string_of_fate.xml
|
||||
|
|
@ -1 +1 @@
|
|||
Var BigButtonEnable = "Invisible"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_ovaltine_school.xml"
|
||||
|
|
|
|||
14903
xml/event/promotion_ovaltine_school.xml
Normal file
14903
xml/event/promotion_ovaltine_school.xml
Normal file
File diff suppressed because it is too large
Load diff
14937
xml/event/promotion_red_string_of_fate.xml
Normal file
14937
xml/event/promotion_red_string_of_fate.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
|
|
@ -32,46 +33,10 @@
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_thick_tea_by_brewer.xml"
|
||||
###EventOnClick
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/thick_tea_by_brewer/thick_tea_by_brewer.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
|
|
|
|||
|
|
@ -4,42 +4,78 @@
|
|||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = ###normal_eng
|
||||
Else
|
||||
Var return = ###normal_thai
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
<EventOnClick>
|
||||
|
||||
###EventOnClick
|
||||
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Invisible"
|
||||
Else
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<State>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/red_string_of_fate/red_string_of_fate.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ DEBUGVAR PayOfflineMode
|
|||
DEBUGVAR CocktailShow
|
||||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
DEBUGVAR ThickTeaByBrewerBanner
|
||||
DEBUGVAR ThickTeaByBrewerPro
|
||||
DEBUGVAR StrawberrySeriesPro
|
||||
DEBUGVAR OvaltineSchoolPro
|
||||
DEBUGVAR RedStringOfFatePro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
|
@ -28,14 +28,28 @@ Else
|
|||
|
||||
; zone promote
|
||||
|
||||
|
||||
If StrawberrySeriesPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_strawberry_series.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_strawberry_series.xml"
|
||||
Else
|
||||
If ThickTeaByBrewerBanner = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_thick_tea_by_brewer.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If OvaltineSchoolPro = 1 Then
|
||||
If RedStringOfFatePro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_ovaltine_and_red_string.xml"
|
||||
Else
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_ovaltine_school.xml"
|
||||
EndIf
|
||||
Else
|
||||
If RedStringOfFatePro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_red_string_of_fate.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
DEBUGVAR FreeEnergyDrink
|
||||
|
|
|
|||
|
|
@ -175,6 +175,12 @@ Var ThickTeaByBrewerBanner = 0
|
|||
Var StrawberrySeriesPro = 0
|
||||
Var StrawberrySeriesMenu = 0
|
||||
|
||||
; Ovaltine school, 1 - 28 Feb
|
||||
Var OvaltineSchoolPro = 0
|
||||
|
||||
; Red string of fate, 10 - 23 Feb
|
||||
Var RedStringOfFatePro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var PaymentCodeShouldCollectPromotionPoint = 0
|
||||
|
||||
|
|
@ -200,10 +206,22 @@ If SystemDateMonthInt = 1 Then
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
; Clean flag start Feb
|
||||
If SystemDateMonthInt >= 2 Then
|
||||
Var CleanFeedbackFlag = 1
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 2 Then
|
||||
Var OvaltineSchoolPro = 1
|
||||
|
||||
If SystemDateDayInt >= 10 Then
|
||||
If SystemDateDayInt <= 23 Then
|
||||
Var RedStringOfFatePro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var JemilaToppingFlag = 1
|
||||
If SystemDateDayOfWeek = "Wednesday" Then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue