Do menu frozen

This commit is contained in:
wanlop run 2025-04-30 10:27:25 +07:00
parent 41acea0711
commit c2e92d0cf9
41 changed files with 320 additions and 128 deletions

View file

@ -173,11 +173,7 @@ EndIf
If BoxID = 201714 Then
Var RedStringOfFatePro = 0
Var OvaltineSchoolPro = 0
Var KingdomThaiTeaPro = 1
Var SongkranSoundCampaign = 1
Var NewMatchaPremiumX3 = 1
EndIf
If BoxID = 201729 Then
@ -197,8 +193,6 @@ EndIf
If BoxID = 123456 Then
Var ToppingNewUINewSystem = 0
Var PepsiXTaobinPro = 1
Var MatchaEveryDayPro = 0
Var BoostEnergyPro = 1
EndIf

View file

@ -1324,7 +1324,7 @@
If BoxID = 123456 Then
Var SpiralOnline = "false"
Var SpiralOnline = "true"
Var InternationalShow = 0
EndIf

View file

@ -1163,7 +1163,8 @@ Volcano" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Yuzu Milk Oreo Volcano" </Value>
<Value> "Yuzu Milk
Oreo Volcano" </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -11,6 +11,7 @@
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
DEBUGVAR BoostEnergyPro
If BoostEnergyPro = 1 Then
Open "ROOT/taobin_project/xml/page_catalog_group_other_other_pro.xml"

View file

@ -8,6 +8,7 @@
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
DEBUGVAR BoostEnergyPro
If BoostEnergyPro = 1 Then
Open "ROOT/taobin_project/xml/page_catalog_group_other_other_pro.xml"

View file

@ -8030,19 +8030,19 @@ Soda & Ice" </Value>
</Text>
</Block>
; ==================> Len = 16
; - - 12-00-07-0001
; - - 12-00-07-0000
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-00-07-0001.Button,$Sum1200070001) </State>
<State> Flag( 12-00-07-0000.Button,$Sum1200070000) </State>
<Button>
<State> $Sum1200070001 </State>
<State> $Sum1200070000 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_frozen_mango.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_frozen_mango.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_frozen_mango.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-00-07-0001, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_.png") </OverlayImage>
<OverlayImage> xmlpro( 12-00-07-0000, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
@ -8054,14 +8054,14 @@ Soda & Ice" </Value>
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD3 = $12-00-07-0001.Price
Var PriceD3 = $12-00-07-0000.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-00-07-0001"
Var PD_CODE3 = "12-00-07-0000"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_3 = $12-00-07-0001.Button
Var OverlayMenuFilter !assigned xmlpro( 12-00-07-0001, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_.png")
Var PD_STAGE_3 = $12-00-07-0000.Button
Var OverlayMenuFilter !assigned xmlpro( 12-00-07-0000, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
@ -8083,7 +8083,7 @@ Soda & Ice" </Value>
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-00-07-0001"
Topping "Load" "12-00-07-0000"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
@ -8096,10 +8096,10 @@ Soda & Ice" </Value>
Var menu_name_thai_cold = $##-##-##-####.Name
Var menu_desc_thai_cold = $##-##-##-####.description
Var menu_name_eng_blender = $12-00-07-0001.NameE
Var menu_desc_eng_blender = $12-00-07-0001.descriptionE
Var menu_name_thai_blender = $12-00-07-0001.Name
Var menu_desc_thai_blender = $12-00-07-0001.description
Var menu_name_eng_blender = $12-00-07-0000.NameE
Var menu_desc_eng_blender = $12-00-07-0000.descriptionE
Var menu_name_thai_blender = $12-00-07-0000.Name
Var menu_desc_thai_blender = $12-00-07-0000.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -8199,7 +8199,7 @@ Soda & Ice" </Value>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-00-07-0001.Button </State>
<State> $12-00-07-0000.Button </State>
</Image>
<Text>
<X> 180 </X>
@ -8209,8 +8209,8 @@ Soda & Ice" </Value>
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-00-07-0001.Button </State>
<Value> StringFmt( $12-00-07-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-00-07-0000.Button </State>
<Value> StringFmt( $12-00-07-0000.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
@ -8235,10 +8235,10 @@ Soda & Ice" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum1200070001 = "Disable" Then
If $Sum1200070000 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-00-07-0001.TAG tag3_is_disable
STRCONTAIN "ERR" $12-00-07-0000.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -8274,7 +8274,7 @@ Soda & Ice" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1200070001 </State>
<State> $Sum1200070000 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>

View file

@ -2430,7 +2430,8 @@ Caramel Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Yuzu Milk Oreo Volcano" </Value>
<Value> "Yuzu Milk
Oreo Volcano" </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -10936,11 +10936,11 @@
Var showdesc = DescLang[1][LanguageShowByIndex]
Else
If show_eng = "true" Then
Var showname = menu_name_eng_blender
Var showdesc = menu_desc_eng_blender
Var showname = menu_name_eng_cold
Var showdesc = menu_desc_eng_cold
Else
Var showname = menu_name_thai_blender
Var showdesc = menu_desc_thai_blender
Var showname = menu_name_thai_cold
Var showdesc = menu_desc_thai_cold
EndIf
EndIf