THAI: Added more menu Robinson promotion
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
BIN
image/event/robinson_beauty/point_10.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
image/event/robinson_beauty/point_10_en.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
BIN
image/page_drink_n/bn_iced_7UP_Lychee_SODA_robinson_beauty.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
|
@ -182,6 +182,7 @@
|
|||
SPLIT Ext1a "/" 7 MenuPoint[6]
|
||||
SPLIT Ext1a "/" 8 MenuPoint[7]
|
||||
SPLIT Ext1a "/" 9 MenuPoint[8]
|
||||
SPLIT Ext1a "/" 10 MenuPoint[9]
|
||||
|
||||
|
||||
INT MenuPoint[0]
|
||||
|
|
@ -193,6 +194,7 @@
|
|||
INT MenuPoint[6]
|
||||
INT MenuPoint[7]
|
||||
INT MenuPoint[8]
|
||||
INT MenuPoint[9]
|
||||
|
||||
DEBUGVAR MenuPoint[0]
|
||||
DEBUGVAR MenuPoint[1]
|
||||
|
|
@ -203,6 +205,7 @@
|
|||
DEBUGVAR MenuPoint[6]
|
||||
DEBUGVAR MenuPoint[7]
|
||||
DEBUGVAR MenuPoint[8]
|
||||
DEBUGVAR MenuPoint[9]
|
||||
|
||||
; Menu 1
|
||||
If Seeker.selected_a_drink = "12-05-03-0064" Then
|
||||
|
|
@ -238,6 +241,14 @@
|
|||
|
||||
|
||||
; Menu 4
|
||||
If Seeker.selected_a_drink = "12-01-02-0073" Then
|
||||
If MenuPoint[3] = 1 then
|
||||
|
||||
Else
|
||||
Var MenuPoint[3] = 1
|
||||
Var newPointIndex = 3
|
||||
EndIf
|
||||
EndIf
|
||||
If Seeker.selected_a_drink = "12-21-02-0073" Then
|
||||
If MenuPoint[3] = 1 then
|
||||
|
||||
|
|
@ -282,6 +293,14 @@
|
|||
|
||||
|
||||
; Menu 8
|
||||
If Seeker.selected_a_drink = "12-01-02-0074" Then
|
||||
If MenuPoint[7] = 1 then
|
||||
|
||||
Else
|
||||
Var MenuPoint[7] = 1
|
||||
Var newPointIndex = 7
|
||||
EndIf
|
||||
EndIf
|
||||
If Seeker.selected_a_drink = "12-21-02-0074" Then
|
||||
If MenuPoint[7] = 1 then
|
||||
|
||||
|
|
@ -302,6 +321,16 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
; Menu 10
|
||||
If Seeker.selected_a_drink = "12-05-03-0115" Then
|
||||
If MenuPoint[9] = 1 then
|
||||
|
||||
Else
|
||||
Var MenuPoint[9] = 1
|
||||
Var newPointIndex = 9
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var CurrentIndexPoint = -1
|
||||
|
||||
|
|
@ -359,6 +388,12 @@
|
|||
Var PointNameIndex[CurrentIndexPoint] = 8
|
||||
EndIf
|
||||
|
||||
If MenuPoint[9] = 1 Then
|
||||
Var CurrentIndexPoint = CurrentIndexPoint + 1
|
||||
Var PointState[CurrentIndexPoint] = 1
|
||||
Var PointNameIndex[CurrentIndexPoint] = 9
|
||||
EndIf
|
||||
|
||||
DEBUGVAR Seeker.selected_a_drink
|
||||
DEBUGVAR newPointIndex
|
||||
|
||||
|
|
|
|||
|
|
@ -133,12 +133,20 @@
|
|||
EndIf
|
||||
If PointState[8] = 1 Then
|
||||
Var PointCount = PointCount + 1
|
||||
If MenuPoint[9] = 1 Then
|
||||
If show_eng = "true" Then
|
||||
Var taobinImgPoint[8] = "/point_10_en.png"
|
||||
Else
|
||||
Var taobinImgPoint[8] = "/point_10.png"
|
||||
EndIf
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
Var taobinImgPoint[8] = "/point_9_en.png"
|
||||
Else
|
||||
Var taobinImgPoint[8] = "/point_9.png"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var PointDiff = 9 - PointCount
|
||||
|
||||
|
|
|
|||
|
|
@ -55,6 +55,9 @@
|
|||
|
||||
|
||||
; Menu 4
|
||||
If Seeker.selected_a_drink = "12-01-02-0073" Then
|
||||
Var newPointIndex = 3
|
||||
EndIf
|
||||
If Seeker.selected_a_drink = "12-21-02-0073" Then
|
||||
Var newPointIndex = 3
|
||||
EndIf
|
||||
|
|
@ -79,6 +82,9 @@
|
|||
|
||||
|
||||
; Menu 8
|
||||
If Seeker.selected_a_drink = "12-01-02-0074" Then
|
||||
Var newPointIndex = 7
|
||||
EndIf
|
||||
If Seeker.selected_a_drink = "12-21-02-0074" Then
|
||||
Var newPointIndex = 7
|
||||
EndIf
|
||||
|
|
@ -89,6 +95,10 @@
|
|||
Var newPointIndex = 8
|
||||
EndIf
|
||||
|
||||
; Menu 10
|
||||
If Seeker.selected_a_drink = "12-05-03-0115" Then
|
||||
Var newPointIndex = 8
|
||||
EndIf
|
||||
|
||||
Var CurrentPointSlot = newPointIndex + 1
|
||||
Var CurrentPointCheck = "check"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
</Script>
|
||||
; menu_new_list 9
|
||||
; menu_new_list 10
|
||||
; ==================> Len = 12
|
||||
; - - 12-05-03-0064
|
||||
<Block>
|
||||
|
|
@ -2816,6 +2816,258 @@ CHEE TEA" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 12
|
||||
; - - 12-05-03-0115
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-03-0115.Button,$Sum1205030115) </State>
|
||||
<Button>
|
||||
<State> $Sum1205030115 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_7UP_Lychee_SODA_robinson_beauty.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_7UP_Lychee_SODA_robinson_beauty.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_7UP_Lychee_SODA_robinson_beauty.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-03-0115, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "ROBINSON UP CHEE SMOOTHIE"
|
||||
Var NameDrinkTH = "โรบินสันอัพชี่"
|
||||
Var DrinkDescriptionTH = "เซเว่น อัพ ลิ้นจี่ มะนาว โซดา "
|
||||
Var DrinkDescription = "7Up Lychee Lime Soda"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_7UP_Lychee_SODA_robinson_beauty.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0115.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0115"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-05-03-0115.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0115, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-05-03-0115"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-05-03-0115.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0115.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0115.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0115.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
Var FromRobinsonBeautyPro = 1
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โรบินสันอัพชี่" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "เซเว่น อัพ ลิ้นจี่ มะนาว โซดา " </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "ROBINSON UP CHEE SMOOTHIE" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "7Up Lychee Lime Soda" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-05-03-0115.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-05-03-0115.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0115.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205030115 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0115.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205030115 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
</FrameScroll>
|
||||
|
|
|
|||