THAI: Added Coconut Tank Ice cream + banner & Oliang & remove new from strawberry menus

This commit is contained in:
Kenta420 2025-02-19 17:35:02 +07:00
parent 4531e405ab
commit 1f190ab4d8
70 changed files with 22367 additions and 699 deletions

View file

@ -1 +1 @@
/event/promotion_strawberry_series.xml
/event/promotion_coconut_milk.xml

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
Open "ROOT/taobin_project/xml/page_catalog_group_pro_strawberry_series.xml"
Open "ROOT/taobin_project/xml/page_catalog_group_pro_coconut_milk.xml"

View file

@ -4,33 +4,9 @@
<Y> 518 </Y>
<State> BigButtonEnable </State>
<Filename>
eval(
If show_eng = "true" Then
Var return = ###normal_eng
Else
Var return = ###normal_thai
EndIf
)
</Filename>
<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
Var return = ###normal_eng
Else
Var return = ###normal_thai
EndIf
)
</FilenameDisable>
<Filename> ###normal_thai </Filename>
<FilenamePress> ###press_thai </FilenamePress>
<FilenameDisable> ###disable_thai </FilenameDisable>
<EventOnClick>
###EventOnClick
@ -43,36 +19,8 @@
<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/strawberry_series/strawberry_series.mp4" </Filename>
<Filename> "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.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/strawberry_series/strawberry_series.mp4" </Filename>
</Video>
</Button>
<EventUnitTest1>

View file

@ -7,6 +7,7 @@ DEBUGVAR OpenFromPageBoard
DEBUGVAR StrawberrySeriesPro
DEBUGVAR OvaltineSchoolPro
DEBUGVAR RedStringOfFatePro
DEBUGVAR CoconutMilkPro
Var PromotionState1 = "Invisible"
Var PromotionState2 = "Invisible"
@ -27,15 +28,6 @@ Else
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
; zone promote
If StrawberrySeriesPro = 1 Then
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
If OvaltineSchoolPro = 1 Then
If RedStringOfFatePro = 1 Then
Var PromotionState1 = "Enable"
@ -50,9 +42,13 @@ Else
EndIf
EndIf
If CoconutMilkPro = 1 Then
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_coconut_milk.xml"
EndIf
If OpenFromPageBoard = 1 Then
DEBUGVAR FreeEnergyDrink
DEBUGVAR BigButtonEnable
OpenInst 2 FileRecommendToOpen

View file

@ -65,6 +65,9 @@ Var RedStringOfFatePro = 0
; Swensen, 21 Feb - 20 Mar
Var SwensenPro = 0
; Coconut Milk, 1 Mar - 31 Mar
Var CoconutMilkPro = 0
Var NewCollectPoint = 1
Var PaymentCodeShouldCollectPromotionPoint = 0
@ -117,6 +120,8 @@ If SystemDateMonthInt = 3 Then
If SystemDateDayInt >= 3 Then
Var SwensenPro = 1
EndIf
Var CoconutMilkPro = 1
EndIf