This commit is contained in:
wanlop run 2023-10-14 09:04:22 +07:00
parent a5387a6b00
commit 193849cf35
28 changed files with 6533 additions and 11767 deletions

View file

@ -1 +1 @@
/event/promotion_mystery_cup_35.xml
/event/promotion_pepween.xml

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,320 +1,2 @@
Var BigButtonEnable = "Invisible"
DEBUGVAR BigButtonEnable
DEBUGVAR OreoGuarantee
; Enable all 4 buttons
Var SubRandMilkButtonEnable = "Enable"
DEBUGVAR SubRandMilkButtonEnable
Var SubRandTeaButtonEnable = "Enable"
DEBUGVAR SubRandTeaButtonEnable
Var SubRandCoffButtonEnable = "Enable"
DEBUGVAR SubRandCoffButtonEnable
Var SubRandAllButtonEnable = "Enable"
DEBUGVAR SubRandAllButtonEnable
; For real, yeah for real
; All random cup
Var IndexOfAllRandom = 0
Var IndexOfMilk = 0
Var IndexOfTea = 0
Var IndexOfCoffee = 0
Var IndexOfRateupOreoAll = 0
Var IndexOfRateupOreoMilk = 0
Var IndexOfRateupOreoTea = 0
Var IndexOfRateupOreoCoffee = 0
; Oreo smoothie volcano
If $12-99-03-0020.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0020"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0020"
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0020"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0020"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Pink milk oreo volcano
If $12-99-03-0021.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0021"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0021"
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0021"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0021"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Choco oreo volcano
If $12-99-03-0022.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0022"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0022"
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0022"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0022"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Caramel milk oreo volcano
If $12-99-03-0023.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0023"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0023"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0023"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0023"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Thai milk tea oreo smoothie
If $12-99-03-0024.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0024"
Var ListOfTea[IndexOfTea] = "12-99-03-0024"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0024"
Var ListOfOreoTea[IndexOfRateupOreoTea] = "12-99-03-0024"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoTea = IndexOfRateupOreoTea + 1
EndIf
; Cafe late oreo smoothie
If $12-99-03-0025.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0025"
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0025"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfCoffee = IndexOfCoffee + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0025"
Var ListOfOreoCoffee[IndexOfRateupOreoCoffee] = "12-99-03-0025"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoCoffee = IndexOfRateupOreoCoffee + 1
EndIf
; Strawberry milk oreo volcano
If $12-99-03-0026.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0026"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0026"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0026"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0026"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Melon milk oreo volcano
If $12-99-03-0027.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0027"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0027"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0027"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0027"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Bana^2 milk oreo volcano
If $12-99-03-0028.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0028"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0028"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0028"
Var ListOfOreoMilk[IndexOfRateupOreoMilk] = "12-99-03-0028"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Hojicha oreo volcano
If $12-99-03-0028.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0029"
Var ListOfTea[IndexOfTea] = "12-99-03-0029"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0029"
Var ListOfOreoTea[IndexOfRateupOreoTea] = "12-99-03-0029"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk + 1
EndIf
; Thai milk tea smoothie
If $12-99-03-0030.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0030"
Var ListOfTea[IndexOfTea] = "12-99-03-0030"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
EndIf
; Melon milk smoothie
If $12-99-03-0031.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0031"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0031"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
EndIf
; Taiwanese tea smoothie
If $12-99-03-0032.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0032"
Var ListOfTea[IndexOfTea] = "12-99-03-0032"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
EndIf
; THAI MILK TEA OREO SMOOTHIE
If $12-99-03-0040.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0040"
Var ListOfTea[IndexOfTea] = "12-99-03-0040"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
Var ListOfOreoAll[IndexOfRateupOreoAll] = "12-99-03-0040"
Var ListOfOreoTea[IndexOfRateupOreoTea] = "12-99-03-0040"
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll + 1
Var IndexOfRateupOreoTea = IndexOfRateupOreoTea + 1
EndIf
; THAI MILK TEA SMOOTHIE
If $12-99-03-0041.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0041"
Var ListOfTea[IndexOfTea] = "12-99-03-0041"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
EndIf
; Tokyo bana^2 milk smoothie
If $12-99-03-0033.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0033"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0033"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
EndIf
; Hojicha smoothie
If $12-99-03-0034.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0034"
Var ListOfTea[IndexOfTea] = "12-99-03-0034"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfTea = IndexOfTea + 1
EndIf
; Cocoa bana^2 smoothie
If $12-99-03-0035.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0035"
Var ListOfMilk[IndexOfMilk] = "12-99-03-0035"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfMilk = IndexOfMilk + 1
EndIf
; Taiwanese tea cafe latte smoothie
If $12-99-03-0036.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0036"
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0036"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfCoffee = IndexOfCoffee + 1
EndIf
; Melon cafe latte smoothie
If $12-99-03-0037.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0037"
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0037"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfCoffee = IndexOfCoffee + 1
EndIf
; Taiwanese tea cafe latte smoothie v2
If $12-99-03-0038.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0038"
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0038"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfCoffee = IndexOfCoffee + 1
EndIf
; Melon cafe latte smoothie v2
If $12-99-03-0039.Button = "Enable" Then
Var ListOfAllRandom[IndexOfAllRandom] = "12-99-03-0039"
Var ListOfCoffee[IndexOfCoffee] = "12-99-03-0039"
Var IndexOfAllRandom = IndexOfAllRandom + 1
Var IndexOfCoffee = IndexOfCoffee + 1
EndIf
DEBUGVAR IndexOfAllRandom
DEBUGVAR IndexOfCoffee
DEBUGVAR IndexOfMilk
DEBUGVAR IndexOfTea
DEBUGVAR IndexOfRateupOreoAll
DEBUGVAR IndexOfRateupOreoCoffee
DEBUGVAR IndexOfRateupOreoMilk
DEBUGVAR IndexOfRateupOreoTea
If IndexOfAllRandom = 0 Then
Var SubRandAllButtonEnable = "Disable"
EndIf
If IndexOfCoffee = 0 Then
Var SubRandCoffButtonEnable = "Disable"
EndIf
If IndexOfMilk = 0 Then
Var SubRandMilkButtonEnable = "Disable"
EndIf
If IndexOfTea = 0 Then
Var SubRandTeaButtonEnable = "Disable"
EndIf
If IndexOfRateupOreoAll = 0 Then
Var SubRandAllButtonEnable = "Disable"
EndIf
If IndexOfRateupOreoCoffee = 0 Then
Var SubRandCoffButtonEnable = "Disable"
EndIf
If IndexOfRateupOreoMilk = 0 Then
Var SubRandMilkButtonEnable = "Disable"
EndIf
If IndexOfRateupOreoTea = 0 Then
Var SubRandTeaButtonEnable = "Disable"
EndIf
Var ResultRandomIndex = 0
Refresh

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,298 +1,85 @@
;
;
;
; Sub-button for 4 random menu
;
;
;
<Button>
<X> 43 </X>
<Y> 519 </Y>
<State> SubRandMilkButtonEnable </State>
<Filename>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_milk.png"
)
</Filename>
<FilenamePress>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_milk.png"
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = "ROOT/taobin_project/image/event/bd_random_milk.png"
)
</FilenameDisable>
<EventClick>
Var OreoGuarantee = OreoGuarantee + 1
Var ResultRandomIndex = 0
DEBUGVAR OreoGuarantee
If OreoGuarantee > 4 Then
Var IndexOfMilk = IndexOfMilk - 1
Random2 0 IndexOfMilk ResultRandomIndex
Var ProductCodeRandom = ListOfMilk[ResultRandomIndex]
DEBUGVAR ListOfMilk[ResultRandomIndex]
Var OreoGuarantee = 0
Else
Var IndexOfRateupOreoMilk = IndexOfRateupOreoMilk - 1
Random2 0 IndexOfRateupOreoMilk ResultRandomIndex
Var ProductCodeRandom = ListOfOreoMilk[ResultRandomIndex]
DEBUGVAR ListOfOreoMilk[ResultRandomIndex]
EndIf
DEBUGVAR ResultRandomIndex
Topping "Load" ProductCodeRandom
Var OpenFromXML = CurrentXMLFileName2
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
</EventClick>
</Button>
<Text>
<X> 91</X>
<Y> 635 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> SubRandMilkButtonEnable </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Button>
<X> 301 </X>
<Y> 519 </Y>
<State> SubRandTeaButtonEnable </State>
<Filename>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_tea.png"
)
</Filename>
<FilenamePress>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_tea.png"
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = "ROOT/taobin_project/image/event/bd_random_tea.png"
)
</FilenameDisable>
<EventClick>
Var OreoGuarantee = OreoGuarantee + 1
Var ResultRandomIndex = 0
DEBUGVAR OreoGuarantee
DEBUGVAR IndexOfTea
DEBUGVAR IndexOfRateupOreoTea
If OreoGuarantee > 4 Then
Var IndexOfTea = IndexOfTea - 1
Random2 0 IndexOfTea ResultRandomIndex
Var ProductCodeRandom = ListOfTea[ResultRandomIndex]
DEBUGVAR ListOfTea[ResultRandomIndex]
Var OreoGuarantee = 0
Else
Var IndexOfRateupOreoTea = IndexOfRateupOreoTea - 1
Random2 0 IndexOfRateupOreoTea ResultRandomIndex
Var ProductCodeRandom = ListOfOreoTea[ResultRandomIndex]
DEBUGVAR ListOfOreoTea[ResultRandomIndex]
EndIf
DEBUGVAR ResultRandomIndex
Topping "Load" ProductCodeRandom
Var OpenFromXML = CurrentXMLFileName2
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
</EventClick>
</Button>
<Text>
<X> 349 </X>
<Y> 635 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> SubRandTeaButtonEnable </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Button>
<X> 43 </X>
<Y> 837 </Y>
<State> SubRandCoffButtonEnable </State>
<Filename>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_coffee.png"
)
</Filename>
<FilenamePress>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_coffee.png"
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = "ROOT/taobin_project/image/event/bd_random_coffee.png"
)
</FilenameDisable>
<EventClick>
Var OreoGuarantee = OreoGuarantee + 1
Var ResultRandomIndex = 0
DEBUGVAR OreoGuarantee
DEBUGVAR IndexOfCoffee
DEBUGVAR IndexOfRateupOreoCoffee
If OreoGuarantee > 4 Then
Var IndexOfCoffee = IndexOfCoffee - 1
Random2 0 IndexOfCoffee ResultRandomIndex
Var ProductCodeRandom = ListOfCoffee[ResultRandomIndex]
DEBUGVAR ListOfCoffee[ResultRandomIndex]
Var OreoGuarantee = 0
Else
Var IndexOfRateupOreoCoffee = IndexOfRateupOreoCoffee - 1
Random2 0 IndexOfRateupOreoCoffee ResultRandomIndex
Var ProductCodeRandom = ListOfOreoCoffee[ResultRandomIndex]
DEBUGVAR ListOfOreoCoffee[ResultRandomIndex]
EndIf
DEBUGVAR ResultRandomIndex
Topping "Load" ProductCodeRandom
Var OpenFromXML = CurrentXMLFileName2
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
</EventClick>
</Button>
<Text>
<X> 91</X>
<Y> 953 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> SubRandCoffButtonEnable </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
<Button>
<X> 301 </X>
<Y> 837 </Y>
<State> SubRandAllButtonEnable </State>
<Filename>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_all.png"
)
</Filename>
<FilenamePress>
eval(
Var return = "ROOT/taobin_project/image/event/bn_random_all.png"
)
</FilenamePress>
<FilenameDisable>
eval(
Var return = "ROOT/taobin_project/image/event/bd_random_all.png"
)
</FilenameDisable>
<EventClick>
Var OreoGuarantee = OreoGuarantee + 1
Var ResultRandomIndex = 0
DEBUGVAR OreoGuarantee
If OreoGuarantee > 4 Then
Var IndexOfAllRandom = IndexOfAllRandom - 1
Random2 0 IndexOfAllRandom ResultRandomIndex
Var ProductCodeRandom = ListOfAllRandom[ResultRandomIndex]
DEBUGVAR ListOfAllRandom[ResultRandomIndex]
Var OreoGuarantee = 0
Else
Var IndexOfRateupOreoAll = IndexOfRateupOreoAll - 1
Random2 0 IndexOfRateupOreoAll ResultRandomIndex
Var ProductCodeRandom = ListOfOreoAll[ResultRandomIndex]
DEBUGVAR ListOfOreoAll[ResultRandomIndex]
EndIf
DEBUGVAR ResultRandomIndex
Topping "Load" ProductCodeRandom
Var OpenFromXML = CurrentXMLFileName2
Open "ROOT/taobin_project/xml/page_topping_select_35.xml"
</EventClick>
</Button>
<Text>
<X> 349</X>
<Y> 953 </Y>
<Size> 32 </Size>
<Width>128</Width>
<Height>64</Height>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> SubRandAllButtonEnable </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
;
;
;
;
; Big button for mys event
;
;
;
<Button>
<X> 42 </X>
<Y> 518 </Y>
<State> BigButtonEnable </State>
<Filename>
<Y> 520 </Y>
<State> BigButtonEnable </State>
<Filename>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_en.png"
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_en.png"
Else
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_th.png"
EndIf
)
</Filename>
<FilenamePress>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_en.png"
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_en.png"
Else
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_th.png"
EndIf
)
</FilenamePress>
<FilenameDisable>
eval(
If show_eng = "true" Then
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_en.png"
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_en.png"
Else
Var return = "ROOT/taobin_project/image/event/pro_mystery_cup_th.png"
Var return = "ROOT/taobin_project/image/event/pepween/pro_pepween_th.png"
EndIf
)
</FilenameDisable>
<EventOnClick>
###EventOnClick
Open "ROOT/taobin_project/xml/page_catalog_group_pro_pepween.xml"
; test random page
;Open "ROOT/taobin_project/xml/event/pepween/page_pepween_random.xml"
</EventOnClick>
<Video>
<X> 42 </X>
<Y> 520 </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/pepween/bn_pepween_videoTH.mp4" </Filename>
</Video>
<Video>
<X> 42 </X>
<Y> 520 </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/pepween/bn_pepween_videoEN.mp4" </Filename>
</Video>
</Button>
<EventUnitTest1>

View file

@ -63,6 +63,14 @@ EndIf
If SystemDateMonthInt = 11 Then
Var PepweenEnable = 0
If SystemDateDayInt = 1 Then
If SystemTimeHourInt < 5 Then
Var PepweenEnable = 1
EndIf
EndIf
EndIf
@ -108,7 +116,7 @@ If BoxID = 33170 Then
Var OreoWelcomeDrinkEnable = 0
EndIf
; This var for overide video play when brew
Var adver_brewing_video_full_file_name = ""

View file

@ -1369,7 +1369,9 @@
Var adver_brewing_play_index = 1
Var adver_brewing_count_down = 0
TRY "ROOT/taobin_project/video/script3_brew.ev"
; Next video follow script.
TRY "ROOT/taobin_project/video/script3_brew.ev"
EndIf
EndIf

File diff suppressed because it is too large Load diff