diff --git a/app/game/game01.apk b/app/game/game01.apk index 7f70aeee..23481350 100644 Binary files a/app/game/game01.apk and b/app/game/game01.apk differ diff --git a/image/page_drink_disable_n2/bn_HOW TO PLAY.png b/image/page_drink_disable_n2/bn_HOW TO PLAY.png new file mode 100644 index 00000000..ff835c94 Binary files /dev/null and b/image/page_drink_disable_n2/bn_HOW TO PLAY.png differ diff --git a/image/page_drink_n/bn_HOW TO PLAY.png b/image/page_drink_n/bn_HOW TO PLAY.png new file mode 100644 index 00000000..ef8e9f99 Binary files /dev/null and b/image/page_drink_n/bn_HOW TO PLAY.png differ diff --git a/image/page_drink_press_n/bn_HOW TO PLAY.png b/image/page_drink_press_n/bn_HOW TO PLAY.png new file mode 100644 index 00000000..a5662834 Binary files /dev/null and b/image/page_drink_press_n/bn_HOW TO PLAY.png differ diff --git a/menu/new-layout.tsv b/menu/new-layout.tsv index 84aff22f..53ebd1ed 100644 --- a/menu/new-layout.tsv +++ b/menu/new-layout.tsv @@ -350,7 +350,7 @@ Name=Melon,file=page_catalog_group_pro_melon.skt เมโบซ่า MEBOZA น้ำเชื่อมเมล่อน น้ำเชื่อมบ๊วย โซดา และน้ำแข็ง melon, Ume , soda and ice - 12-99-02-0015 - bn_Melon_PLUM_Soda.png - - - ล่อนจูนาว LONJUNAO น้ำเชื่อมเมล่อน ผงมะนาว โซดา และน้ำแข็ง melon, Limenade, soda and ice - 12-99-02-0016 - bn_Melon_LIME_Soda.png - - - มิวกี้ล่อน MILKYLON น้ำเชื่อมเมล่อน นม ชามะลิ และน้ำแข็ง melon , milk, jasmint tea - 12-99-02-0018 - bn_Melon_Jasmine.png - - - - + None None None None - 12-99-02-0015 - bn_HOW TO PLAY.png - - - Name=Momday,file=page_catalog_momday.skt diff --git a/menu/page_catalog_group_pro_melon.skt b/menu/page_catalog_group_pro_melon.skt index 5cfd2fd4..441a25f7 100644 --- a/menu/page_catalog_group_pro_melon.skt +++ b/menu/page_catalog_group_pro_melon.skt @@ -1,7 +1,3 @@ - - "Enable" 1080 @@ -11,32 +7,28 @@ ; On open - + Var Timeout = 0 - - - - - - + \ No newline at end of file diff --git a/video/brewing_adv4.mp4 b/video/brewing_adv4.mp4 new file mode 100755 index 00000000..d93ec965 Binary files /dev/null and b/video/brewing_adv4.mp4 differ diff --git a/video/script3_brew.ev b/video/script3_brew.ev index 216b2b6f..cc2a5127 100644 --- a/video/script3_brew.ev +++ b/video/script3_brew.ev @@ -1,9 +1,27 @@ -GetFileSizeK "taobin_project/video/brewing_adv3.mp4" brewing_adv_size -DEBUGVAR brewing_adv_size -If brewing_adv_size = 9526548 Then - If TamatianEnable = 1 Then +If MayDayRunEnable = 1 Then + GetFileSizeK "taobin_project/video/brewing_adv3.mp4" brewing_adv_size + DEBUGVAR brewing_adv_size + If brewing_adv_size = 9526548 Then Var adver_brewing_play_index = 1 Var adver_brewing_count_down = 16 + + Var brew_vdo2 = "taobin_project/video/brewing_adv3.mp4" + Var brew_txt2 = "taobin_project/video/brewing_txt_adv3.png" + EndIf +EndIf + +; comment for change this file size + +If TamatianEnable = 1 Then + GetFileSizeK "taobin_project/video/brewing_adv4.mp4" brewing_adv_size + DEBUGVAR brewing_adv_size + If brewing_adv_size = 9693030 Then + + Var adver_brewing_play_index = 1 + Var adver_brewing_count_down = 16 + + Var brew_vdo2 = "taobin_project/video/brewing_adv4.mp4" + Var brew_txt2 = "taobin_project/video/brewing_txt_adv4.png" EndIf EndIf diff --git a/xml/event/tricker.ev b/xml/event/tricker.ev index 985cfd7b..1d05eb9d 100644 --- a/xml/event/tricker.ev +++ b/xml/event/tricker.ev @@ -82,7 +82,6 @@ EndIf - If BoxID = 200001 Then Var TamatianEnable = 1 Var GameEnableFromTrickerEv = 1 @@ -91,7 +90,7 @@ EndIf If BoxID = 173149 Then - Var TamatianEnable = 1 + Var TamatianEnable = 0 Var GameEnableFromTrickerEv = 1 Var MayDayRunEnable = 1 EndIf @@ -99,7 +98,7 @@ EndIf If BoxID = 172053 Then Var TamatianEnable = 1 Var GameEnableFromTrickerEv = 1 - Var MayDayRunEnable = 1 + Var MayDayRunEnable = 0 EndIf If BoxID = 172644 Then @@ -130,6 +129,12 @@ If BoxID = 200580 Then EndIf +If SystemDateMonthInt = 9 Then + If SystemDateDayInt > 15 Then + + Var MayDayRunEnable = 0 + EndIf +EndIf If BoxID = 33170 Then diff --git a/xml/menu_new_layout_gen.py b/xml/menu_new_layout_gen.py index 2135c5cb..3eb0ee3d 100644 --- a/xml/menu_new_layout_gen.py +++ b/xml/menu_new_layout_gen.py @@ -161,6 +161,7 @@ out_xml( '\t SoundVolume \r\n') out_xml( '\t \r\n') + # Default out_xml( '\t\tVar NameDrink = "' + spl[1].replace("\\n", " ") + '"\r\n') out_xml( '\t\tVar NameDrinkTH = "' + spl[0].replace("\\n", " ") + '"\r\n') @@ -251,7 +252,8 @@ out_xml( '\t\t\r\n') out_xml( '\t\t\r\n') - out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select5.xml"\r\n') + if spl[1] != "None": + out_xml( '\t\tOpen "ROOT/taobin_project/xml/page_topping_select5.xml"\r\n') out_xml( '\t\t\r\n') @@ -259,276 +261,276 @@ out_xml( '\t\r\n') out_xml( '\t\r\n') - - - out_xml( '\t\r\n') - out_xml( '\t 16 \r\n') - out_xml( '\t 164 \r\n') - out_xml( '\t 24 \r\n') - out_xml( '\t220\r\n') - out_xml( '\t "multi2" \r\n') - out_xml( '\t KanitMediumTTF \r\n') - out_xml( '\t 0x322B26 \r\n') - out_xml( '\t showthaiText \r\n') - out_xml( '\t "' + spl[0].replace("\\n", "\n") + '" \r\n') - out_xml( '\t\r\n') + + if spl[1] != "None": + out_xml( '\t\r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 164 \r\n') + out_xml( '\t 24 \r\n') + out_xml( '\t220\r\n') + out_xml( '\t "multi2" \r\n') + out_xml( '\t KanitMediumTTF \r\n') + out_xml( '\t 0x322B26 \r\n') + out_xml( '\t showthaiText \r\n') + out_xml( '\t "' + spl[0].replace("\\n", "\n") + '" \r\n') + out_xml( '\t\r\n') - out_xml( '\t\r\n') - out_xml( '\t 16 \r\n') - out_xml( '\t 220 \r\n') - out_xml( '\t 14 \r\n') - out_xml( '\t220\r\n') - out_xml( '\t KanitMediumTTF \r\n') - out_xml( '\t 0x6F5F51 \r\n') - out_xml( '\t showthaiText \r\n') - out_xml( '\t "' + spl[2].replace("\\n", "\n") + '" \r\n') - out_xml( '\t\r\n') + out_xml( '\t\r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 220 \r\n') + out_xml( '\t 14 \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitMediumTTF \r\n') + out_xml( '\t 0x6F5F51 \r\n') + out_xml( '\t showthaiText \r\n') + out_xml( '\t "' + spl[2].replace("\\n", "\n") + '" \r\n') + out_xml( '\t\r\n') - out_xml( '\t\r\n') - out_xml( '\t 16 \r\n') - out_xml( '\t 164 \r\n') - out_xml( '\t 22 \r\n') - out_xml( '\t220\r\n') - out_xml( '\t "multi2" \r\n') - out_xml( '\t KanitMediumTTF \r\n') - out_xml( '\t 0x322B26 \r\n') - out_xml( '\t showengText \r\n') - out_xml( '\t "' + spl[1].replace("\\n", "\n") + '" \r\n') - out_xml( '\t\r\n') - - out_xml( '\t\r\n') - out_xml( '\t 16 \r\n') - out_xml( '\t 220 \r\n') - out_xml( '\t 14 \r\n') - out_xml( '\t220\r\n') - out_xml( '\t KanitMediumTTF \r\n') - out_xml( '\t 0x6F5F51 \r\n') - out_xml( '\t showengText \r\n') - out_xml( '\t "' + spl[3].replace("\\n", "\n") + '" \r\n') - out_xml( '\t\r\n') - - out_xml( '\t\r\n') - out_xml( '\t 16 \r\n') - out_xml( '\t 264 \r\n') - out_xml( '\t Var( DirImage2 + "option_deactive.png" ) \r\n') - out_xml( '\t\r\n') - - ice_tab_hot_show = True - shw = "$" + spl[4] + ".Button" - if spl[4] == "-" : - shw = '"Invisible"' - ice_tab_hot_show = False - - if len(spl[4]) == 0 : - shw = '"Invisible"' - ice_tab_hot_show = False - - out_xml( '\t\r\n') - out_xml( '\t 16 \r\n') - out_xml( '\t 264 \r\n') - out_xml( '\t ' + shw + ' \r\n') - out_xml( '\t Var( DirImage2 + "hot.png" ) \r\n') - out_xml( '\t Var( DirImage2 + "hot_db.png" ) \r\n') - out_xml( '\t\r\n') - if "inter" in param: out_xml( '\t\r\n') - out_xml( '\t 50 \r\n') - out_xml( '\t TextPriceMenuY \r\n') - out_xml( '\t TextPriceMenuSize \r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 164 \r\n') + out_xml( '\t 22 \r\n') out_xml( '\t220\r\n') + out_xml( '\t "multi2" \r\n') out_xml( '\t KanitMediumTTF \r\n') - else: + out_xml( '\t 0x322B26 \r\n') + out_xml( '\t showengText \r\n') + out_xml( '\t "' + spl[1].replace("\\n", "\n") + '" \r\n') + out_xml( '\t\r\n') + out_xml( '\t\r\n') - out_xml( '\t 50 \r\n') - out_xml( '\t 265 \r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 220 \r\n') out_xml( '\t 14 \r\n') out_xml( '\t220\r\n') out_xml( '\t KanitMediumTTF \r\n') - - out_xml( '\t 0x6F5F51 \r\n') - out_xml( '\t 0xEAE6E1 \r\n') - out_xml( '\t ' + shw + ' \r\n') - - #out_xml( '\t Var( "฿" + $' + spl[4] + '.Price ) \r\n') - - if "inter" in param: - if "free" in param: - out_xml( '\t "Free" \r\n') - else: - out_xml( '\t StringFmt( $' + spl[4] + '.Price , DisplayFormat, PreScaleConvertShow) ; test\r\n') - else: - out_xml( '\t Var( "฿" + $' + spl[4] + '.Price ) \r\n') - out_xml( '\t\r\n') - - ice_tab_ice_show = True + out_xml( '\t 0x6F5F51 \r\n') + out_xml( '\t showengText \r\n') + out_xml( '\t "' + spl[3].replace("\\n", "\n") + '" \r\n') + out_xml( '\t\r\n') - shw = "$" + spl[5] + ".Button" - if spl[5] == "-" : - shw = '"Invisible"' - ice_tab_ice_show = False - - if len(spl[5]) == 0 : - shw = '"Invisible"' - ice_tab_ice_show = False - - out_xml( '\t\r\n') - out_xml( '\t 81 \r\n') - out_xml( '\t 264 \r\n') - out_xml( '\t Var( DirImage2 + "cold.png" ) \r\n') - out_xml( '\t Var( DirImage2 + "cold_db.png" ) \r\n') - out_xml( '\t ' + shw + ' \r\n') - out_xml( '\t\r\n') - if "inter" in param: - out_xml( '\t\r\n') - out_xml( '\t 115 \r\n') - out_xml( '\t TextPriceMenuY \r\n') - out_xml( '\t TextPriceMenuSize \r\n') - out_xml( '\t220\r\n') - out_xml( '\t KanitMediumTTF \r\n') - else: - out_xml( '\t\r\n') - out_xml( '\t 115 \r\n') - out_xml( '\t 265 \r\n') - out_xml( '\t 14 \r\n') - out_xml( '\t220\r\n') - out_xml( '\t KanitMediumTTF \r\n') - - out_xml( '\t 0x6F5F51 \r\n') - out_xml( '\t 0xEAE6E1 \r\n') - out_xml( '\t ' + shw + ' \r\n') - if "inter" in param: - if "free" in param: - out_xml( '\t "Free" \r\n') - else: - out_xml( '\t StringFmt( $' + spl[5] + '.Price , DisplayFormat, PreScaleConvertShow) ; test\r\n') - else: - out_xml( '\t Var( "฿" + $' + spl[5] + '.Price ) \r\n') - out_xml( '\t\r\n') - - ice_tab_blend_show = True - - shw = "$" + spl[6] + ".Button" - if spl[6] == "-" : - shw = '"Invisible"' - ice_tab_blend_show = False - - if len(spl[6]) == 0 : - shw = '"Invisible"' - ice_tab_blend_show = False - - out_xml( '\t\r\n') - out_xml( '\t 146 \r\n') - out_xml( '\t 264 \r\n') - out_xml( '\t Var( DirImage2 + "blend.png" ) \r\n') - out_xml( '\t Var( DirImage2 + "blend_db.png" ) \r\n') - out_xml( '\t ' + shw + ' \r\n') - out_xml( '\t\r\n') - - out_xml( '\t\r\n') - if "inter" in param: - out_xml( '\t 180 \r\n') - out_xml( '\t TextPriceMenuY \r\n') - out_xml( '\t TextPriceMenuSize \r\n') - out_xml( '\t220\r\n') - out_xml( '\t KanitRegularTTF \r\n') - #out_xml( '\t end \r\n') - - else: - out_xml( '\t 183 \r\n') + out_xml( '\t\r\n') + out_xml( '\t 16 \r\n') out_xml( '\t 264 \r\n') - out_xml( '\t 14 \r\n') - out_xml( '\t220\r\n') - out_xml( '\t KanitMediumTTF \r\n') - - out_xml( '\t 0x6F5F51 \r\n') - out_xml( '\t 0xEAE6E1 \r\n') - out_xml( '\t ' + shw + ' \r\n') - if "inter" in param: - if "free" in param: - out_xml( '\t "Free" \r\n') + out_xml( '\t Var( DirImage2 + "option_deactive.png" ) \r\n') + out_xml( '\t\r\n') + + ice_tab_hot_show = True + shw = "$" + spl[4] + ".Button" + if spl[4] == "-" : + shw = '"Invisible"' + ice_tab_hot_show = False + + if len(spl[4]) == 0 : + shw = '"Invisible"' + ice_tab_hot_show = False + + out_xml( '\t\r\n') + out_xml( '\t 16 \r\n') + out_xml( '\t 264 \r\n') + out_xml( '\t ' + shw + ' \r\n') + out_xml( '\t Var( DirImage2 + "hot.png" ) \r\n') + out_xml( '\t Var( DirImage2 + "hot_db.png" ) \r\n') + out_xml( '\t\r\n') + if "inter" in param: + out_xml( '\t\r\n') + out_xml( '\t 50 \r\n') + out_xml( '\t TextPriceMenuY \r\n') + out_xml( '\t TextPriceMenuSize \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitMediumTTF \r\n') else: - out_xml( '\t StringFmt( $' + spl[6] + '.Price , DisplayFormat, PreScaleConvertShow) ; test\r\n') - else: - out_xml( '\t Var( "฿" + $' + spl[6] + '.Price ) \r\n') - out_xml( '\t\r\n') - - out_xml( '\t\r\n') - out_xml( '\t 81 \r\n') - out_xml( '\t 264 \r\n') - out_xml( '\t \r\n') - out_xml( '\t\teval( \r\n') - out_xml( '\t\tIf ICE_PROCESS_STATUS = 2 Then\r\n') - out_xml( '\t\t\r\n') - if ice_tab_hot_show == True: + out_xml( '\t\r\n') + out_xml( '\t 50 \r\n') + out_xml( '\t 265 \r\n') + out_xml( '\t 14 \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitMediumTTF \r\n') + + out_xml( '\t 0x6F5F51 \r\n') + out_xml( '\t 0xEAE6E1 \r\n') + out_xml( '\t ' + shw + ' \r\n') + + #out_xml( '\t Var( "฿" + $' + spl[4] + '.Price ) \r\n') + + if "inter" in param: + if "free" in param: + out_xml( '\t "Free" \r\n') + else: + out_xml( '\t StringFmt( $' + spl[4] + '.Price , DisplayFormat, PreScaleConvertShow) ; test\r\n') + else: + out_xml( '\t Var( "฿" + $' + spl[4] + '.Price ) \r\n') + out_xml( '\t\r\n') + + ice_tab_ice_show = True - #out_xml( '\t\t\tDEBUGVAR $Sum' + str_con_var +'\r\n') - out_xml( '\t\t\tIf $Sum' + str_con_var +' = "Disable" Then\r\n') - out_xml( '\t\t\t\tVar ice_tab_process_show = "Disable"\r\n') - out_xml( '\t\t\tElse\r\n') - out_xml( '\t\t\t\tVar ice_tab_process_show = "Enable"\r\n') - out_xml( '\t\t\tEndIf\r\n') - else: + shw = "$" + spl[5] + ".Button" + if spl[5] == "-" : + shw = '"Invisible"' + ice_tab_ice_show = False + + if len(spl[5]) == 0 : + shw = '"Invisible"' + ice_tab_ice_show = False + + out_xml( '\t\r\n') + out_xml( '\t 81 \r\n') + out_xml( '\t 264 \r\n') + out_xml( '\t Var( DirImage2 + "cold.png" ) \r\n') + out_xml( '\t Var( DirImage2 + "cold_db.png" ) \r\n') + out_xml( '\t ' + shw + ' \r\n') + out_xml( '\t\r\n') + if "inter" in param: + out_xml( '\t\r\n') + out_xml( '\t 115 \r\n') + out_xml( '\t TextPriceMenuY \r\n') + out_xml( '\t TextPriceMenuSize \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitMediumTTF \r\n') + else: + out_xml( '\t\r\n') + out_xml( '\t 115 \r\n') + out_xml( '\t 265 \r\n') + out_xml( '\t 14 \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitMediumTTF \r\n') + + out_xml( '\t 0x6F5F51 \r\n') + out_xml( '\t 0xEAE6E1 \r\n') + out_xml( '\t ' + shw + ' \r\n') + if "inter" in param: + if "free" in param: + out_xml( '\t "Free" \r\n') + else: + out_xml( '\t StringFmt( $' + spl[5] + '.Price , DisplayFormat, PreScaleConvertShow) ; test\r\n') + else: + out_xml( '\t Var( "฿" + $' + spl[5] + '.Price ) \r\n') + out_xml( '\t\r\n') + + ice_tab_blend_show = True + + shw = "$" + spl[6] + ".Button" + if spl[6] == "-" : + shw = '"Invisible"' + ice_tab_blend_show = False + + if len(spl[6]) == 0 : + shw = '"Invisible"' + ice_tab_blend_show = False + + out_xml( '\t\r\n') + out_xml( '\t 146 \r\n') + out_xml( '\t 264 \r\n') + out_xml( '\t Var( DirImage2 + "blend.png" ) \r\n') + out_xml( '\t Var( DirImage2 + "blend_db.png" ) \r\n') + out_xml( '\t ' + shw + ' \r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + if "inter" in param: + out_xml( '\t 180 \r\n') + out_xml( '\t TextPriceMenuY \r\n') + out_xml( '\t TextPriceMenuSize \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitRegularTTF \r\n') + #out_xml( '\t end \r\n') + + else: + out_xml( '\t 183 \r\n') + out_xml( '\t 264 \r\n') + out_xml( '\t 14 \r\n') + out_xml( '\t220\r\n') + out_xml( '\t KanitMediumTTF \r\n') + + out_xml( '\t 0x6F5F51 \r\n') + out_xml( '\t 0xEAE6E1 \r\n') + out_xml( '\t ' + shw + ' \r\n') + if "inter" in param: + if "free" in param: + out_xml( '\t "Free" \r\n') + else: + out_xml( '\t StringFmt( $' + spl[6] + '.Price , DisplayFormat, PreScaleConvertShow) ; test\r\n') + else: + out_xml( '\t Var( "฿" + $' + spl[6] + '.Price ) \r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + out_xml( '\t 81 \r\n') + out_xml( '\t 264 \r\n') + out_xml( '\t \r\n') + out_xml( '\t\teval( \r\n') + out_xml( '\t\tIf ICE_PROCESS_STATUS = 2 Then\r\n') + out_xml( '\t\t\r\n') + if ice_tab_hot_show == True: + + #out_xml( '\t\t\tDEBUGVAR $Sum' + str_con_var +'\r\n') + out_xml( '\t\t\tIf $Sum' + str_con_var +' = "Disable" Then\r\n') + out_xml( '\t\t\t\tVar ice_tab_process_show = "Disable"\r\n') + out_xml( '\t\t\tElse\r\n') + out_xml( '\t\t\t\tVar ice_tab_process_show = "Enable"\r\n') + out_xml( '\t\t\tEndIf\r\n') + else: + out_xml( '\t\t\tVar ice_tab_process_show = "Invisible"\r\n') + + out_xml( '\t\t\r\n') + out_xml( '\t\tElse\r\n') out_xml( '\t\t\tVar ice_tab_process_show = "Invisible"\r\n') - - out_xml( '\t\t\r\n') - out_xml( '\t\tElse\r\n') - out_xml( '\t\t\tVar ice_tab_process_show = "Invisible"\r\n') - out_xml( '\t\tEndIf\r\n') - out_xml( '\t\tVar return = ice_tab_process_show\r\n') - out_xml( '\t\t)\r\n') - out_xml( '\t\r\n') - out_xml( '\t "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" \r\n') - out_xml( '\t "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" \r\n') - out_xml( '\t\r\n') - - - out_xml( '\t\r\n') - out_xml( '\t 49 \r\n') - out_xml( '\t 117 \r\n') - out_xml( '\t \r\n') - out_xml( '\t\teval( \r\n') - out_xml( '\t\t\tIf $Sum' + str_con_var +' = "Disable" Then\r\n') - out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_1 + '.TAG tag1_is_disable\r\n') - out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_2 + '.TAG tag2_is_disable\r\n') - out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_3 + '.TAG tag3_is_disable\r\n') - #out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_1 + '.TAG\r\n') - #out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_2 + '.TAG\r\n') - #out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_3 + '.TAG\r\n') - out_xml( '\t\t\t\tVar return = "Invisible"\r\n') - out_xml( '\t\t\t\tIf tag1_is_disable = "true" Then\r\n') - out_xml( '\t\t\t\t\tVar return = "Enable"\r\n') - out_xml( '\t\t\t\tEndIf\r\n') - out_xml( '\t\t\t\tIf tag2_is_disable = "true" Then\r\n') - out_xml( '\t\t\t\t\tVar return = "Enable"\r\n') - out_xml( '\t\t\t\tEndIf\r\n') - out_xml( '\t\t\t\tIf tag3_is_disable = "true" Then\r\n') - out_xml( '\t\t\t\t\tVar return = "Enable"\r\n') - out_xml( '\t\t\t\tEndIf\r\n') - out_xml( '\t\t\tElse\r\n') - out_xml( '\t\t\t\t\tVar return = "Invisible"\r\n') - - out_xml( '\t\t\tEndIf\r\n') - - out_xml( '\t\t)\r\n') - if param == "old": + out_xml( '\t\tEndIf\r\n') + out_xml( '\t\tVar return = ice_tab_process_show\r\n') + out_xml( '\t\t)\r\n') out_xml( '\t\r\n') - out_xml( '\t "ROOT/taobin_project/image//img_menu_err.png" \r\n') + out_xml( '\t "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" \r\n') + out_xml( '\t "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" \r\n') out_xml( '\t\r\n') - else: - out_xml( '\t\r\n') - out_xml( '\t "ROOT/taobin_project/image//img_menu_err2.png" \r\n') - out_xml( '\t\r\n') - - out_xml( '\t\r\n') - out_xml( '\t 84 \r\n') - out_xml( '\t 266 \r\n') - out_xml( '\t 10 \r\n') - out_xml( '\t OpunMediumTTF \r\n') - out_xml( '\t 0xDE794E \r\n') - out_xml( '\t ice_tab_process_show \r\n') - out_xml( '\t ice_show_open \r\n') - out_xml( '\t\r\n') + + + out_xml( '\t\r\n') + out_xml( '\t 49 \r\n') + out_xml( '\t 117 \r\n') + out_xml( '\t \r\n') + out_xml( '\t\teval( \r\n') + out_xml( '\t\t\tIf $Sum' + str_con_var +' = "Disable" Then\r\n') + out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_1 + '.TAG tag1_is_disable\r\n') + out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_2 + '.TAG tag2_is_disable\r\n') + out_xml( '\t\t\t\tSTRCONTAIN "ERR" $' + pd_code_3 + '.TAG tag3_is_disable\r\n') + #out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_1 + '.TAG\r\n') + #out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_2 + '.TAG\r\n') + #out_xml( '\t\t\t\tDEBUGVAR $' + pd_code_3 + '.TAG\r\n') + out_xml( '\t\t\t\tVar return = "Invisible"\r\n') + out_xml( '\t\t\t\tIf tag1_is_disable = "true" Then\r\n') + out_xml( '\t\t\t\t\tVar return = "Enable"\r\n') + out_xml( '\t\t\t\tEndIf\r\n') + out_xml( '\t\t\t\tIf tag2_is_disable = "true" Then\r\n') + out_xml( '\t\t\t\t\tVar return = "Enable"\r\n') + out_xml( '\t\t\t\tEndIf\r\n') + out_xml( '\t\t\t\tIf tag3_is_disable = "true" Then\r\n') + out_xml( '\t\t\t\t\tVar return = "Enable"\r\n') + out_xml( '\t\t\t\tEndIf\r\n') + out_xml( '\t\t\tElse\r\n') + out_xml( '\t\t\t\t\tVar return = "Invisible"\r\n') + + out_xml( '\t\t\tEndIf\r\n') + + out_xml( '\t\t)\r\n') + if param == "old": + out_xml( '\t\r\n') + out_xml( '\t "ROOT/taobin_project/image//img_menu_err.png" \r\n') + out_xml( '\t\r\n') + else: + out_xml( '\t\r\n') + out_xml( '\t "ROOT/taobin_project/image//img_menu_err2.png" \r\n') + out_xml( '\t\r\n') + + out_xml( '\t\r\n') + out_xml( '\t 84 \r\n') + out_xml( '\t 266 \r\n') + out_xml( '\t 10 \r\n') + out_xml( '\t OpunMediumTTF \r\n') + out_xml( '\t 0xDE794E \r\n') + out_xml( '\t ice_tab_process_show \r\n') + out_xml( '\t ice_show_open \r\n') + out_xml( '\t\r\n') if param == "old": diff --git a/xml/page_brewing3.xml b/xml/page_brewing3.xml index 4a8ba1b5..2e5bc672 100644 --- a/xml/page_brewing3.xml +++ b/xml/page_brewing3.xml @@ -1343,8 +1343,11 @@ If adver_brewing_count_down > 0 Then Var adver_brewing_count_down = adver_brewing_count_down - 1 - Var VideoPlayFile = "ROOT/taobin_project/video/brewing_adv3.mp4" - + If brew_vdo2 = "" Then + Var VideoPlayFile = "ROOT/taobin_project/video/brewing_adv3.mp4" + Else + Var brew_vdo2 = VideoPlayFile + EndIf Var PictureFile = brew_txt2 EndIf diff --git a/xml/page_catalog_group_pro_melon.xml b/xml/page_catalog_group_pro_melon.xml index b88170f6..dbb15a9b 100644 --- a/xml/page_catalog_group_pro_melon.xml +++ b/xml/page_catalog_group_pro_melon.xml @@ -532,7 +532,7 @@ Var block_index_override = 0 Var block_index_move = 0 -; menu_new_list 6 +; menu_new_list 7 ; ==================> Len = 11 ; - 12-99-02-0011 - @@ -2019,6 +2019,99 @@ text_unavailable center-vertical-horizontal + + ; - - - + ; ==================> Len = 11 + ; - 12-99-02-0015 - + + 33 + 22 + 225 + 296 + Flag( 12-99-02-0015.Button,$Sum1299020015) + + + 48 + 116 + 32 + 128 + 64 + MITRegularTTF + 0x5A5A5A + "disable-show" + $Sum1299020015 + text_unavailable + center-vertical-horizontal + ; - - -