THAI: Add 7up double lucky draw
This commit is contained in:
parent
d58a1e5d00
commit
608a32f328
14 changed files with 15853 additions and 100 deletions
|
|
@ -1 +1 @@
|
|||
/event/promotion_coffee_drink_1_bath.xml
|
||||
/event/promotion_7up_lucky_draw_x2.xml
|
||||
12912
xml/event/promotion_7up_lucky_draw_x2.xml
Normal file
12912
xml/event/promotion_7up_lucky_draw_x2.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -12806,91 +12806,6 @@ LIMENADE SODA" </Value>
|
|||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
|
||||
<State> BigButtonEnable </State>
|
||||
<Filename>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
EndIf
|
||||
)
|
||||
</Filename>
|
||||
<FilenamePress>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenamePress>
|
||||
<FilenameDisable>
|
||||
eval(
|
||||
If show_eng = "true" Then
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
Else
|
||||
Var return = "ROOT/taobin_project/image/event/cocoa77/cocoa77.png"
|
||||
EndIf
|
||||
)
|
||||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_cocoa_77_ignore.xml"
|
||||
|
||||
</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/cocoa77/cocoa77.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/cocoa77/cocoa77.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 780 </X>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
</FilenameDisable>
|
||||
<EventOnClick>
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_coffee_drink_1_bath.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_7up_lucky_draw_x2.xml"
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/event/coffee_drink_1_bath/coffee_drink_1_bath_th.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/7up_lucky_draw_x2/7up_lucky_draw_x2_th.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Video>
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
)
|
||||
</State>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/coffee_drink_1_bath/coffee_drink_1_bath_en.mp4" </Filename>
|
||||
<Filename> "ROOT/taobin_project/image/event/7up_lucky_draw_x2/7up_lucky_draw_x2_en.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -50,10 +50,16 @@ Else
|
|||
EndIf
|
||||
Else
|
||||
|
||||
If 7UpLuckyDrawX2Pro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_7up_lucky_draw_x2.xml"
|
||||
EndIf
|
||||
|
||||
If NamHomCoconutPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/ignore_gen_promotion_nam_hom_coconut.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -112,6 +112,9 @@ Var NamHomCoconutRewardOutOfStock = 0
|
|||
Var Cocoa77Pro = 0
|
||||
Var FromCocoa77Pro = 0
|
||||
|
||||
; Enable 7UpLuckyDrawX2 promotion, 22 Jul - 9 Aus
|
||||
Var 7UpLuckyDrawX2Pro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var ShouldCollectPromotionPoint = 0
|
||||
|
||||
|
|
@ -201,6 +204,10 @@ If SystemDateMonthInt = 7 Then
|
|||
Var Cocoa77Pro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateDayInt >= 22 Then
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt >= 7 Then
|
||||
|
|
@ -208,13 +215,19 @@ If SystemDateMonthInt >= 7 Then
|
|||
EndIf
|
||||
|
||||
|
||||
If SystemDateMonthInt = 8 Then
|
||||
If SystemDateDayInt <= 9 Then
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If BoxID = 173149 Then
|
||||
Var ProBadValentineEnable = 0
|
||||
Var NewFlowPaymentCode = 1
|
||||
Var NamHomCoconutPro = 1
|
||||
Var EnergyDrink1BathPro = 1
|
||||
Var CoffeeDrink1BathPro = 0
|
||||
Var NamHomCoconutPro = 0
|
||||
Var Cocoa77Pro = 0
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -226,8 +239,9 @@ EndIf
|
|||
|
||||
If BoxID = 105005 Then
|
||||
Var NewFlowPaymentCode = 1
|
||||
Var NamHomCoconutPro = 1
|
||||
Var Cocoa77Pro = 1
|
||||
Var NamHomCoconutPro = 0
|
||||
Var Cocoa77Pro = 0
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -358,6 +372,12 @@ Else
|
|||
Var Cocoa77Pro = 0
|
||||
EndIf
|
||||
|
||||
If 7UpSyrupEnable = "true" Then
|
||||
|
||||
Else
|
||||
Var 7UpLuckyDrawX2Pro = 1
|
||||
EndIf
|
||||
|
||||
|
||||
Var CurrentMainVideoTemp = 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue