This commit is contained in:
wanlop run 2024-02-08 13:26:40 +07:00
commit 89339bb12c
113 changed files with 13642 additions and 129 deletions

View file

@ -0,0 +1,165 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Volume> SoundVolume </Volume>
;<Background> "0xeae6e1" </Background>
<EventOpen>
Var Timeout = 0
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/display_point_en"
Else
Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/display_point"
EndIf
Var couponList[0] = "glass"
Var couponList[1] = "dis50"
; Random coupon
Var randResult = 0
Random2 0 1 randResult
DEBUGVAR randResult
Var CodeType = ""
Var var2 = "X"
Var var3 = "X"
If Seeker.IsAlreadyHadGlass = 1 Then
Var CodeType = "123"
Else
Var UserCouponReward = couponList[randResult]
If UserCouponReward = "glass" then
Var CodeType = "124"
else
Var CodeType = "123"
EndIf
EndIf
AddData 38 TelephoneNumber CodeType var2 var3
If CodeType = "123" Then
Var CouponResultImage = DirImage + "/discount_50.png"
Else
If CodeType = "124" Then
Var CouponResultImage = DirImage + "/get_glass.png"
EndIf
EndIf
; pattern
Var patternList[0] = "/randome_pattern_1.png"
Var patternList[1] = "/randome_pattern_2.png"
Var patternList[2] = "/randome_pattern_3.png"
If show_eng = "true" Then
Var patternList[0].X = 482
Var patternList[0].Y = 1130
Var patternList[1].X = 207
Var patternList[1].Y = 1239
Var patternList[2].X = 489
Var patternList[2].Y = 1213
Var patternList[0].Text1 = "ทำทุกอย่างเหมือนแฟน
แต่เป็นได้แค่คนคุย"
Var patternList[0].Text2 = "รับทุกฟังก์ชั่นแบบฟีลแฟน พอขอเป็นแฟนเธอบอกแคนนอท"
Var patternList[1].Text1 = "เธอขอไปอาบน้ำ เดี๋ยวมา
3 เดือนผ่านมายังไม่ตอบเลย"
Var patternList[1].Text2 = "เราว่าเธอคงจะรักสะอาดจนไม่มีเวลาตอบ อาบน้ำตั้ง 3 เดือน ตัวคงเปื่อยน่าดูเลย"
Var patternList[2].Text1 = "เปย์เป็นแสน แขนไม่ได้จับ"
Var patternList[2].Text2 = "เปย์แทบตาย แต่สุดท้ายก็โดนทิ้ง ไม่เป็นไรนะ เก็บตังค์ไว้เปย์คนใหม่"
Else
Var patternList[0].X = 125
Var patternList[0].Y = 1154
Var patternList[1].X = 126
Var patternList[1].Y = 1170
Var patternList[2].X = 277
Var patternList[2].Y = 1238
Var patternList[0].Text1 = "Act like a lover,
but it's just casual chatter."
Var patternList[0].Text2 = "Get all the lover-fell functions. When I asked to be
my girlfriend, she said NO"
Var patternList[1].Text1 = "She went for a shower, BRB.
Three months later, still no word."
Var patternList[1].Text2 = "She loves cleanliness, maybe too much for a reply."
Var patternList[2].Text1 = "Paid for it all, yet stuck in the friend zone."
Var patternList[2].Text2 = "Almost paid the price of life, but in the end, left alone.
No worries, keep your cash, invest in a new unknown."
EndIf
; Random pattern
Var pattern = 0
Random2 0 2 pattern
Var RewardDisplay = patternList[pattern]
Var RewardDisplay.X = patternList[pattern].X
Var RewardDisplay.Y = patternList[pattern].Y
DEBUGVAR UserCouponReward
DEBUGVAR RewardDisplay
DEBUGVAR RewardDisplay
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
DEBUGVAR Timeout
If Timeout > 5 Then
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
Var Timeout = Timeout + 1
TimerReset
</EventTimeout>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
; Background
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/event/bad_valentine/display_point/bg.png" </Filename>
</Image>
<Image>
<X> 193 </X>
<Y> 464 </Y>
<Filename> CouponResultImage </Filename>
</Image>
<Image>
<X> RewardDisplay.X </X>
<Y> RewardDisplay.Y </Y>
<Filename> RewardDisplay </Filename>
</Image>
</Popup>

View file

@ -0,0 +1,391 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
SAVELOG UnitTestType
Var TaobinLevel = 0
Var Point2X = 0
Var Seeker.TaobinErrorNetwork = 0
DEBUGVAR show_eng
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/collectiing_en"
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
Else
Var DirImage = "ROOT/taobin_project/image/collectiing"
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
If PayOfflineMode = 1 Then
Var Seeker.TaobinErrorNetwork = 1
Var Seeker.PointTaobinStr = ParamCP
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember= TelephoneNumber
Var CollectPointError = "collect"
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml"
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = BREW_CNT
Var ShowCountDownBrewing = CountDownBrewing
Var Timeout = Timeout + 1
If Timeout > 30 Then
Var TaobinLevel = 0
Var CoffeePoint = 1
Var Seeker.TaobinErrorNetwork = 1
Var Seeker.PointTaobinStr = ParamCP
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember= TelephoneNumber
Var CollectPointError = "collect"
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventActionOk>
If Ext1a = "" Then
Var Seeker.TaobinErrorNetwork = 1
Var Seeker.PointTaobinStr = ParamCP
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember = TelephoneNumber
Var CollectPointError = "collect"
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml"
Else
Var TaobinName = Ext1b
Var TelephoneNumber = TelephoneNumberX
Var TNumberTaobinMemberXXX = TelephoneNumber
Var Seeker.IsAlreadyHadGlass = Ext1c
Var Seeker.PointTaobinStr = ParamCP
Var Seeker.TNumberTaobinMember = TelephoneNumberX
Var PointState[0] = 0
Var PointState[1] = 0
Var PointState[2] = 0
Var PointState[3] = 0
Var PointState[4] = 0
Var PointState[5] = 0
Var PointState[6] = 0
Var PointState[7] = 0
Var PointState[8] = 0
DEBUGVAR Ext1a
SPLIT Ext1a "/" 1 PointState[0]
SPLIT Ext1a "/" 2 PointState[1]
SPLIT Ext1a "/" 3 PointState[2]
SPLIT Ext1a "/" 4 PointState[3]
SPLIT Ext1a "/" 5 PointState[4]
SPLIT Ext1a "/" 6 PointState[5]
SPLIT Ext1a "/" 7 PointState[6]
SPLIT Ext1a "/" 8 PointState[7]
SPLIT Ext1a "/" 9 PointState[8]
INT PointState[0]
INT PointState[1]
INT PointState[2]
INT PointState[3]
INT PointState[4]
INT PointState[5]
INT PointState[6]
INT PointState[7]
INT PointState[8]
DEBUGVAR PointState[0]
DEBUGVAR PointState[1]
DEBUGVAR PointState[2]
DEBUGVAR PointState[3]
DEBUGVAR PointState[4]
DEBUGVAR PointState[5]
DEBUGVAR PointState[6]
DEBUGVAR PointState[7]
DEBUGVAR PointState[8]
Var newPointIndex = ""
; Point 1
If Seeker.selected_a_drink = "12-01-02-0061" Then
If PointState[0] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 0
EndIf
Var PointState[0] = 1
EndIf
If Seeker.selected_a_drink = "12-01-03-0061" Then
If PointState[0] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 0
EndIf
Var PointState[0] = 1
EndIf
If Seeker.selected_a_drink = "12-21-02-0061" Then
If PointState[0] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 0
EndIf
Var PointState[0] = 1
EndIf
If Seeker.selected_a_drink = "12-21-03-0061" Then
If PointState[0] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 0
EndIf
Var PointState[0] = 1
EndIf
If Seeker.selected_a_drink = "12-21-02-0057" Then
If PointState[0] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 0
EndIf
Var PointState[0] = 1
EndIf
; Point 2
If Seeker.selected_a_drink = "12-01-02-0062" Then
If PointState[1] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 1
EndIf
Var PointState[1] = 1
EndIf
If Seeker.selected_a_drink = "12-21-02-0062" Then
If PointState[1] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 1
EndIf
Var PointState[1] = 1
EndIf
; Point 3
If Seeker.selected_a_drink = "12-03-03-0044" Then
If PointState[2] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 2
EndIf
Var PointState[2] = 1
EndIf
; Point 4
If Seeker.selected_a_drink = "12-03-03-0045" Then
If PointState[3] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 3
EndIf
Var PointState[3] = 1
EndIf
; Point 5
If Seeker.selected_a_drink = "12-03-03-0029" Then
If PointState[4] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 4
EndIf
Var PointState[4] = 1
EndIf
; Point 6
If Seeker.selected_a_drink = "12-02-02-0053" Then
If PointState[5] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 5
EndIf
Var PointState[5] = 1
EndIf
; Point 7
If Seeker.selected_a_drink = "12-02-02-0054" Then
If PointState[6] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 6
EndIf
Var PointState[6] = 1
EndIf
; Point 8
If Seeker.selected_a_drink = "12-02-02-0055" Then
If PointState[7] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 7
EndIf
Var PointState[7] = 1
EndIf
; Point 9
If Seeker.selected_a_drink = "12-05-02-0078" Then
If PointState[8] = 1 Then
Var newPointIndex = ""
Else
Var newPointIndex = 8
EndIf
Var PointState[8] = 1
EndIf
DEBUGVAR Seeker.selected_a_drink
DEBUGVAR newPointIndex
DEBUGVAR Seeker.PointTaobinStr
DEBUGVAR Seeker.TNumberTaobinMember
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_3.xml"
EndIf
</EventActionOk>
<EventActionError>
Var Seeker.TaobinErrorNetwork = 1
Var Seeker.PointTaobinStr = ParamCP
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember= TelephoneNumber
Var CollectPointError = "collect"
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_error.xml"
</EventActionError>
<EventMachine>
If MachineStage = "drink-success" Then
Var MachineState_Result = 1
EndIf
If MachineStage = "drink-failed" Then
Var MachineState_Result = 2
EndIf
</EventMachine>
<Image>
<X> 178 </X>
<Y> 680 </Y>
<Filename> Var( DirImage + "/text20.png" ) </Filename>
</Image>
;<Image>
;<X> 0 </X>
;<Y> 0 </Y>
;<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
;</Image>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<Text>
<X> 0 </X>
<Y> 873 </Y>
<Width> 1080 </Width>
<Align> Center </Align>
<Size> 62 </Size>
<Font> RobotoBlack </Font>
<Color> 0x513C2F </Color>
<Value> TelephoneNumber </Value>
<Format> Telnum-mask-1 </Format>
</Text>
;
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> IMG_CNT </Filename>
</Image>
;
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
</Popup>

View file

@ -0,0 +1,687 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
;CoffeePoint
;Var CoffeePoint = 30
Var BmiYear = "0/0/0/0/0/0/0/0/0/1"
Var PointCrm = "pdpa1"
Var GetScore = ""
Var TelephoneNumber = TelephoneNumberX
Var Seeker.TNumberTaobinMember = TelephoneNumber
;AddData 4 TelephoneNumber BmiYear PointCrm GetScore
;Add after pay
Var PointMaskState = "Invisible"
Var showRandomBtnState = "Invisible"
Var CoffeePointStr = CoffeePoint
DEBUGVAR TelephoneNumber
DEBUGVAR TelephoneNumberX
Var ThaiTextState = "Invisible"
Var EngTextState = "Invisible"
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/display_point_en"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Var EngTextState = "Enable"
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
Else
Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/display_point"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Var ThaiTextState = "Enable"
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
Var CheckCoupons = 0
Var MakeDrinkState = 0
Var taobinP1 = "Invisible"
Var taobinP2 = "Invisible"
Var taobinP3 = "Invisible"
Var taobinP4 = "Invisible"
Var taobinP5 = "Invisible"
Var taobinP6 = "Invisible"
Var taobinP7 = "Invisible"
Var taobinP8 = "Invisible"
Var taobinP9 = "Invisible"
Var taobinP10 = "Invisible"
Var taobinP11 = "Invisible"
Var taobinP12 = "Invisible"
Var taobinP13 = "Invisible"
Var taobinImgNewPoint = "/point_active_new.png"
Var taobinImgPoint[0] = "/point_active.png"
Var taobinImgPoint[1]= "/point_active.png"
Var taobinImgPoint[2]= "/point_active.png"
Var taobinImgPoint[3]= "/point_active.png"
Var taobinImgPoint[4]= "/point_active.png"
Var taobinImgPoint[5]= "/point_active.png"
Var taobinImgPoint[6]= "/point_active.png"
Var taobinImgPoint[7]= "/point_active.png"
Var taobinImgPoint[8]= "/point_active.png"
;Var taobinTextPointTH[0] = "รวยข้ามคืน ตื่นมารวย"
;Var taobinTextPointTH[1] = "รวยตาค้าง กระพริบตาบ้างก็ได้"
;Var taobinTextPointTH[2] = "รวยจนหน้าชา อาม่ายังงง"
;Var taobinTextPointTH[3] = "รวยจนช็อก! น็อคแล้วไหม"
;Var taobinTextPointTH[4] = "รวยไม่รู้ล้ม เอาผมลงไหมล่ะ"
;Var taobinTextPointTH[5] = "รวยนะคะรู้ยัง ถ้ายังก็รู้ซะ"
;Var taobinTextPointTH[6] = "รวยล้นฟ้า เทวดาซัปพอร์ต"
;Var taobinTextPointTH[7] = "รวยฟ้าผ่า เพราะลืมหลบฝน"
;Var taobinTextPointTH[8] = "แสร้งว่ารวย ค่าหวยไม่จ่าย"
;Var taobinTextPointEN[0] = "Mint Cafe Latte"
;Var taobinTextPointEN[1] = "Mintcano"
;Var taobinTextPointEN[2] = "Matcha Latte Mint"
;Var taobinTextPointEN[3] = "Cocoa Mint"
;Var taobinTextPointEN[4] = "Mint Milk"
;Var taobinTextPointEN[5] = "Strawberry Mint Milk"
;Var taobinTextPointEN[6] = "Mint Oreo Volcano"
;Var taobinTextPointEN[7] = "Mint Lime Soda"
;Var taobinTextPointEN[8] = "Strawberry Mint Soda"
;Var taobinTextColorPoint[0] = "0xFFFFFF"
;Var taobinTextColorPoint[1] = "0xFFFFFF"
;Var taobinTextColorPoint[2] = "0xFFFFFF"
;Var taobinTextColorPoint[3] = "0xFFFFFF"
;Var taobinTextColorPoint[4] = "0xFFFFFF"
;Var taobinTextColorPoint[5] = "0xFFFFFF"
;Var taobinTextColorPoint[6] = "0xFFFFFF"
;Var taobinTextColorPoint[7] = "0xFFFFFF"
;Var taobinTextColorPoint[8] = "0xFFFFFF"
Var PointCount = 0
DEBUGVAR PointState[0]
DEBUGVAR PointState[1]
DEBUGVAR PointState[2]
DEBUGVAR PointState[3]
DEBUGVAR PointState[4]
DEBUGVAR PointState[5]
DEBUGVAR PointState[6]
DEBUGVAR PointState[7]
DEBUGVAR PointState[8]
If PointState[0] = 1 Then
Var PointCount = PointCount + 1
EndIf
If PointState[1] = 1 Then
Var PointCount = PointCount + 1
EndIf
If PointState[2] = 1 Then
Var PointCount = PointCount + 1
EndIf
If PointState[3] = 1 Then
Var PointCount = PointCount + 1
EndIf
If PointState[4] = 1 Then
Var PointCount = PointCount + 1
EndIf
If PointState[5] = 1 Then
Var PointCount = PointCount + 1
EndIf
If PointState[6] = 1 Then
Var PointCount = PointCount + 1
EndIf
If PointState[7] = 1 Then
Var PointCount = PointCount + 1
EndIf
If PointState[8] = 1 Then
Var PointCount = PointCount + 1
EndIf
If newPointIndex = "" Then
; Nothing
Else
If newPointIndex >= 0 Then
Var taobinImgPoint[newPointIndex] = "/point_active_new.png"
;Var taobinTextColorPoint[newPointIndex] = "0x2CDD69"
EndIf
EndIf
Var PointDiff = 9 - PointCount
If show_eng = "true" Then
Var TaobinLevelDesc1 = "You're just " + PointDiff
Var TaobinLevelDesc1 = TaobinLevelDesc1 + " menu item away from Ba(d)nana Valentine Series."
Var TaobinLevelDesc2 = "Collect all 9-heartbreaking menu items."
;Var MemberStatus_Y = 772
;Var MemberName_Y = 795
;Var MemeberPhone_Y = 845
;Var MemberPoint_Y = 920
Var subTitle_Y = 839
;Var TaobinLevelDesc1_X = 236
;Var TaobinLevelDesc1_Y = 990
;Var TaobinLevelDesc2_X = 236
;Var TaobinLevelDesc2_Y = 1020
Var text8_X = 224
Else
Var TaobinLevelDesc1 = "เหลืออีก " + PointDiff
Var TaobinLevelDesc1 = TaobinLevelDesc1 + " เมนูจะครบซีรีส์กล้วยชีช้ำ"
Var TaobinLevelDesc2 = "รีบสะสมให้ครบ 9 เมนูสุดช้ำตอนนี้เลย!"
;Var MemberStatus_Y = 772
;Var MemberName_Y = 795
;Var MemeberPhone_Y = 845
;Var MemberPoint_Y = 920
Var subTitle_Y = 853
;Var TaobinLevelDesc1_X = 236
;Var TaobinLevelDesc1_Y = 990
;Var TaobinLevelDesc2_X = 236
;Var TaobinLevelDesc2_Y = 1020
Var text8_X = 346
EndIf
If PointCount = 9 Then
Var showRandomBtnState = "Enable"
EndIf
Var CurrentPointSlot = newPointIndex + 1
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = BREW_CNT
Var ShowCountDownBrewing = CountDownBrewing
Var Timeout = Timeout + 1
If Timeout > 10 Then
Var CurrentPointCheck = "check"
Var val3 = "X"
AddData 37 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<EventMachine>
If MachineStage = "drink-success" Then
Var MachineState_Result = 1
EndIf
If MachineStage = "drink-failed" Then
Var MachineState_Result = 2
EndIf
</EventMachine>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/display_point/alpha.png" </Filename>
</Image>
;
<Image>
<X> 158 </X>
<Y> 665 </Y>
<Filename> Var( DirImage + "/img_popup1.png" )</Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 665 </Y>
<Filename> Var( DirImage + "/img_popup3.png" )</Filename>
</Image>
<Image>
<X> 243 </X>
<Y> 731 </Y>
<Filename> Var( DirImage + "/text7.png" )</Filename>
</Image>
<Image>
<X> 243 </X>
<Y> subTitle_Y </Y>
<Filename> Var( DirImage + "/sub_title.png" )</Filename>
</Image>
<Image>
<X> 625 </X>
<Y> 732 </Y>
<Filename> Var( DirImage + "/ghost_broken_heart.png" )</Filename>
</Image>
;
<Image>
<X> 220 </X>
<Y> 1126 </Y>
<Filename> Var( DirImage + taobinImgPoint[0]) </Filename>
</Image>
<Image>
<X> 360 </X>
<Y> 1126 </Y>
<Filename> Var( DirImage + taobinImgPoint[1]) </Filename>
</Image>
<Image>
<X> 500 </X>
<Y> 1126 </Y>
<Filename> Var( DirImage + taobinImgPoint[2]) </Filename>
</Image>
<Image>
<X> 640 </X>
<Y> 1126 </Y>
<Filename> Var( DirImage + taobinImgPoint[3]) </Filename>
</Image>
<Image>
<X> 780 </X>
<Y> 1126 </Y>
<Filename> Var( DirImage + taobinImgPoint[4]) </Filename>
</Image>
<Image>
<X> 220 </X>
<Y> 1276 </Y>
<Filename> Var( DirImage + taobinImgPoint[5]) </Filename>
</Image>
<Image>
<X> 360 </X>
<Y> 1276 </Y>
<Filename> Var( DirImage + taobinImgPoint[6]) </Filename>
</Image>
<Image>
<X> 500 </X>
<Y> 1276 </Y>
<Filename> Var( DirImage + taobinImgPoint[7]) </Filename>
</Image>
<Image>
<X> 640 </X>
<Y> 1276 </Y>
<Filename> Var( DirImage + taobinImgPoint[8]) </Filename>
</Image>
<Button>
<X> 423 </X>
<Y> 1660 </Y>
<State> showRandomBtnState </State>
<Filename> Var( DirImage + "/bn_random.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_random.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; goto lid straw
If SELLONLINE = 1 Then
Var CurrentPointCheck = ""
Else
Var CurrentPointCheck = "check"
EndIf
Var val3 = "X"
AddData 37 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
Open "ROOT/taobin_project/xml/event/bad_valentine/page_bad_valentine_random.xml"
</EventClick>
</Button>
<Text>
<X> 243 </X>
<Y> 764 </Y>
<Size> 35 </Size>
<Width> 1000 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x513C2F </Color>
<Value> TaobinName </Value>
</Text>
<Text>
<X> 243 </X>
<Y> 802 </Y>
<Size> 20 </Size>
<Width> 1000 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x746253 </Color>
<Value> TNumberTaobinMemberXXX </Value>
<Format> Telnum-mask-1 </Format>
</Text>
; Header
<Text>
<X> 247 </X>
<Y> 911 </Y>
<Size> 48 </Size>
<Width> 120 </Width>
<Font> RobotoBold </Font>
<Color> 0xDE794E </Color>
<Value> PointCount </Value>
</Text>
<Text>
<X> 247 </X>
<Y> 967 </Y>
<Size> 25 </Size>
<Width> 1000 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0xDE794E </Color>
<Value> TaobinLevelDesc1 </Value>
</Text>
<Text>
<X> 247 </X>
<Y> 998 </Y>
<Size> 20 </Size>
<Width> 1000 </Width>
<Font> KanitRegularTTF </Font>
<Color> 0x746253 </Color>
<Value> TaobinLevelDesc2 </Value>
</Text>
<Image>
<X> text8_X </X>
<Y> 1578 </Y>
<Filename> Var( DirImage + "/text8.png" )</Filename>
</Image>
;<Text>
;<X> 232 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[0] </Color>
;<Value> taobinTextPointTH[0] </Value>
;</Text>
;
;<Text>
;<X> 243 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[0] </Color>
;<Value> taobinTextPointEN[0] </Value>
;</Text>
;
;<Text>
;<X> 343 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[1] </Color>
;<Value> taobinTextPointTH[1] </Value>
;</Text>
;
;<Text>
;<X> 388 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[1] </Color>
;<Value> taobinTextPointEN[1] </Value>
;</Text>
;
;<Text>
;<X> 493 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[2] </Color>
;<Value> taobinTextPointTH[2] </Value>
;</Text>
;
;<Text>
;<X> 497 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[2] </Color>
;<Value> taobinTextPointEN[2] </Value>
;</Text>
;
;<Text>
;<X> 624 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[3] </Color>
;<Value> taobinTextPointTH[3] </Value>
;</Text>
;
;<Text>
;<X> 645 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[3] </Color>
;<Value> taobinTextPointEN[3] </Value>
;</Text>
;
;<Text>
;<X> 747 </X>
;<Y> 1240 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 155 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[4] </Color>
;<Value> taobinTextPointTH[4] </Value>
;</Text>
;
;<Text>
;<X> 782 </X>
;<Y> 1240 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[4] </Color>
;<Value> taobinTextPointEN[4] </Value>
;</Text>
;
;<Text>
;<X> 225 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 120 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[5] </Color>
;<Value> taobinTextPointTH[5] </Value>
;</Text>
;
;<Text>
;<X> 230 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 200 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[5] </Color>
;<Value> taobinTextPointEN[5] </Value>
;</Text>
;
;<Text>
;<X> 353 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[6] </Color>
;<Value> taobinTextPointTH[6] </Value>
;</Text>
;
;<Text>
;<X> 366 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[6] </Color>
;<Value> taobinTextPointEN[6] </Value>
;</Text>
;
;<Text>
;<X> 488 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 150 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[7] </Color>
;<Value> taobinTextPointTH[7] </Value>
;</Text>
;
;<Text>
;<X> 506 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 100 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[7] </Color>
;<Value> taobinTextPointEN[7] </Value>
;</Text>
;
;<Text>
;<X> 622 </X>
;<Y> 1388 </Y>
;<State> ThaiTextState </State>
;<Size> 12 </Size>
;<Width> 200 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[8] </Color>
;<Value> taobinTextPointTH[8] </Value>
;</Text>
;
;<Text>
;<X> 616 </X>
;<Y> 1388 </Y>
;<State> EngTextState </State>
;<Size> 12 </Size>
;<Width> 200 </Width>
;<Font> KanitRegularTTF </Font>
;<Color> taobinTextColorPoint[8] </Color>
;<Value> taobinTextPointEN[8] </Value>
;</Text>
;
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> IMG_CNT </Filename>
</Image>
;
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
<EventUnitTest3>
Var PointState[0] = 1
Var PointState[1] = 1
Var PointState[2] = 1
Var PointState[3] = 1
Var PointState[4] = 1
Var PointState[5] = 1
Var PointState[6] = 1
Var PointState[7] = 1
Var PointState[8] = 1
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_bad_valentine_3.xml"
</EventUnitTest3>
<EventUnitTest4>
If show_eng = "true" Then
Var show_eng = "false"
Else
Var show_eng = "true"
EndIf
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_bad_valentine_3.xml"
</EventUnitTest4>
</Popup>

View file

@ -0,0 +1,250 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
SAVELOG show_eng
DEBUGVAR CollectPointError
If CollectPointError = "collect" Then
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/error_en"
Var Title_X = 135
Var Title_Y = 623
Var Detail_X = 57
Var Detail_Y = 1336
Else
Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/error"
Var Title_X = 250
Var Title_Y = 610
Var Detail_X = 252
Var Detail_Y = 1336
EndIf
Var Img = DirImage + "/img2.png"
Var Img_X = 230
Var Img_Y = 872
Var title_text_fail = DirImage + "/title_text_fail2.png"
Var text_fail = DirImage + "/text_fail2.png"
Var ConfirmBtn_X = 397
Var ConfirmBtn_Y = 1710
EndIf
If CollectPointError = "random" Then
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/error_en"
Var Title_X = 240
Var Title_Y = 646
Var Detail_X = 140
Var Detail_Y = 1546
Else
Var DirImage = "ROOT/taobin_project/image/event/bad_valentine/error"
Var Title_X = 324
Var Title_Y = 630
Var Detail_X = 297
Var Detail_Y = 1541
EndIf
Var Img = DirImage + "/img.png"
Var Img_X = 287
Var Img_Y = 755
Var title_text_fail = DirImage + "/title_text_fail.png"
Var text_fail = DirImage + "/text_fail.png"
Var ConfirmBtn_X = 397
Var ConfirmBtn_Y = 1710
EndIf
Var newPointIndex = 0
; Point 1
If Seeker.selected_a_drink = "12-01-02-0061" Then
Var newPointIndex = 0
EndIf
If Seeker.selected_a_drink = "12-01-03-0061" Then
Var newPointIndex = 0
EndIf
If Seeker.selected_a_drink = "12-21-02-0061" Then
Var newPointIndex = 0
EndIf
If Seeker.selected_a_drink = "12-21-03-0061" Then
Var newPointIndex = 0
EndIf
; Point 2
If Seeker.selected_a_drink = "12-01-02-0062" Then
Var newPointIndex = 1
EndIf
If Seeker.selected_a_drink = "12-21-02-0062" Then
Var newPointIndex = 1
EndIf
; Point 3
If Seeker.selected_a_drink = "12-03-03-0044" Then
Var newPointIndex = 2
EndIf
; Point 4
If Seeker.selected_a_drink = "12-03-03-0045" Then
Var newPointIndex = 3
EndIf
; Point 5
If Seeker.selected_a_drink = "12-03-03-0029" Then
Var newPointIndex = 4
EndIf
; Point 6
If Seeker.selected_a_drink = "12-02-02-0053" Then
Var newPointIndex = 5
EndIf
; Point 7
If Seeker.selected_a_drink = "12-02-02-0054" Then
Var newPointIndex = 6
EndIf
; Point 8
If Seeker.selected_a_drink = "12-02-02-0055" Then
Var newPointIndex = 7
EndIf
; Point 9
If Seeker.selected_a_drink = "12-05-02-0078" Then
Var newPointIndex = 8
EndIf
Var CurrentPointSlot = newPointIndex + 1
Var CurrentPointCheck = "check"
Var val3 = "X"
AddData 37 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var CountDownBrewing = BREW_CNT
Var ShowCountDownBrewing = CountDownBrewing
Var Timeout = Timeout + 1
If Timeout > 5 Then
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventMachine>
If MachineStage = "drink-success" Then
Var MachineState_Result = 1
EndIf
If MachineStage = "drink-failed" Then
Var MachineState_Result = 2
EndIf
</EventMachine>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> Var( DirImage + "/bg.png" ) </Filename>
</Image>
<Image>
<X> Title_X </X>
<Y> Title_Y </Y>
<Filename> title_text_fail </Filename>
</Image>
<Image>
<X> Img_X </X>
<Y> Img_Y </Y>
<Filename> img </Filename>
</Image>
<Image>
<X> Detail_X </X>
<Y> Detail_Y </Y>
<Filename> text_fail </Filename>
</Image>
<Button>
<X> ConfirmBtn_X </X>
<Y> ConfirmBtn_Y </Y>
<Filename> Var( DirImage + "/bn_confirm.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_confirm.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
; goto lid straw
If PromotionIDCurrentOrder > 1 Then
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
EndIf
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
</EventClick>
</Button>
<Video>
<X> 0 </X>
<Y> 0 </Y>
<Width> 1080</Width>
<Height> 380 </Height>
<Loop> "true" </Loop>
<Filename> video_menu_0 </Filename>
</Video>
;
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> IMG_CNT </Filename>
</Image>
;
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
</Page>

View file

@ -1 +1 @@
/event/promotion_15THB.xml
/event/promotion_bad_valentine.xml

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
Open "ROOT/taobin_project/xml/page_catalog_group_pro_15THB.xml"
Var BigButtonEnable = "Invisible"

View file

@ -2,8 +2,9 @@
<Button>
<X> 42 </X>
<Y> 520 </Y>
<State> BigButtonEnable </State>
<Filename>
<State> BigButtonEnable </State>
<Filename>
eval(
If show_eng = "true" Then
Var return = ###normal_eng
@ -15,26 +16,64 @@
<FilenamePress>
eval(
If show_eng = "true" Then
Var return = ###press_eng
Var return = ###normal_eng
Else
Var return = ###press_thai
Var return = ###normal_thai
EndIf
)
</FilenamePress>
<FilenameDisable>
eval(
If show_eng = "true" Then
Var return = ###disable_eng
Var return = ###normal_eng
Else
Var return = ###disable_thai
Var return = ###normal_thai
EndIf
)
</FilenameDisable>
<EventOnClick>
###EventOnClick
Open "ROOT/taobin_project/xml/page_catalog_group_pro_bad_valentine.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/bad_valentine/bad_valentine_th.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/bad_valentine/bad_valentine_en.mp4" </Filename>
</Video>
</Button>
<EventUnitTest1>

View file

@ -16,15 +16,15 @@ Else
; zone promote
If OpenFromPageBoard = 1 Then
If ProPeachEnable = 1 Then
If ProBadValentineEnable = 1 Then
Var BigButtonEnable = "Enable"
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_peach.xml"
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_bad_valentine.xml"
Var OpenFromPageBoard = 0
Else
If RerunProEnable = 1 Then
If ProPeachEnable = 1 Then
Var BigButtonEnable = "Enable"
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_rerun.xml"
OpenInst 2 "ROOT/taobin_project/xml/event/promotion_peach.xml"
Var OpenFromPageBoard = 0
Else
@ -33,14 +33,14 @@ Else
EndIf
EndIf
Else
If ProPeachEnable = 1 Then
If ProBadValentineEnable = 1 Then
Var BigButtonEnable = "Enable"
Open "ROOT/taobin_project/xml/event/promotion_peach.xml"
Open "ROOT/taobin_project/xml/event/promotion_bad_valentine.xml"
Else
If RerunProEnable = 1 Then
If ProPeachEnable = 1 Then
Var BigButtonEnable = "Enable"
Open "ROOT/taobin_project/xml/event/promotion_rerun.xml"
Open "ROOT/taobin_project/xml/event/promotion_peach.xml"
Else
Open "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
EndIf

View file

@ -60,6 +60,9 @@ Var FromRerunPro = 0
; Enable pro Peach, Feb 1 - 13
Var ProPeachEnable = 0
; Enable Bad valentine, Feb 14 - 29
Var ProBadValentineEnable = 0
Var NewCollectPoint = 1
Var NewFlowPaymentCode = 0
@ -116,6 +119,10 @@ If SystemDateMonthInt = 2 Then
EndIf
EndIf
If SystemDateDayInt >= 14 Then
Var ProBadValentineEnable = 1
EndIf
EndIf
@ -136,7 +143,7 @@ If BoxID = 201316 Then
EndIf
If BoxID = 105005 Then
Var ProPeachEnable = 1
Var ProBadValentineEnable = 1
Var NewFlowPaymentCode = 1
EndIf
@ -177,6 +184,7 @@ If InternationalEnable = 1 Then
Var PepweenEnable = 0
Var RerunProEnable = 0
Var ProPeachEnable = 0
Var ProBadValentineEnable = 0
EndIf

View file

@ -107,6 +107,12 @@
menu_white_color_catalog = True
else:
from_my_mint_promotion = False
if current_file_name == "page_catalog_group_pro_bad_valentine.skt":
from_bad_valentine = True
# menu_white_color_catalog = True
else:
from_bad_valentine = False
#print ("######################################################################################################")
idx_of_eng = 2
@ -386,6 +392,9 @@
if from_my_mint_promotion:
out_xml( '\t\tVar FromMyMintPro = 1 \r\n')
if from_bad_valentine:
out_xml( '\t\tVar FromBadValentinePro = 1 \r\n')
out_xml( '\t\t\r\n')
out_xml( '\t\t\r\n')
@ -904,6 +913,9 @@
if from_my_mint_promotion:
out_xml( '\t\tVar FromMyMintPro = 1 \r\n')
if from_bad_valentine:
out_xml( '\t\tVar FromBadValentinePro = 1 \r\n')
out_xml( '\t\t\r\n')
out_xml( '\t\t\r\n')
if "inter" in param:

View file

@ -550,18 +550,18 @@
<State> Flag( 12-01-02-0061.Button,12-01-03-0061.Button,$Sum12010200611201030061) </State>
<Button>
<State> $Sum12010200611201030061 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_peach.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_peach.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_peach.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Mocha_Tokyobanana_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Mocha_Tokyobanana_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Mocha_Tokyobanana_smoothie.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-01-03-0061, "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 = "Bad kid got smacked, good ones get ditched."
Var NameDrinkTH = "เป็นเด็กดื้อโดนตี เป็นเด็กดีโดนทิ้งตลอด"
Var NameDrink = "Bad kids smacked good ones ditched"
Var NameDrinkTH = "เป็นเด็กดื้อโดนตีเป็น เด็กดีโดนทิ้งตลอด"
Var DrinkDescriptionTH = "กาแฟ น้ำ นม โกโก้ และ น้ำเชื่อมกล้วย"
Var DrinkDescription = "Espresso, Banana Syrup, cocoa, Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_peach.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Mocha_Tokyobanana_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-01-02-0061.Price
@ -616,6 +616,7 @@
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 1
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
@ -631,7 +632,8 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "เป็นเด็กดื้อโดนตี เป็นเด็กดีโดนทิ้งตลอด" </Value>
<Value> "เป็นเด็กดื้อโดนตีเป็น
เด็กดีโดนทิ้งตลอด" </Value>
</Text>
<Text>
<X> 16 </X>
@ -652,7 +654,8 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Bad kid got smacked, good ones get ditched." </Value>
<Value> "Bad kids smacked
good ones ditched" </Value>
</Text>
<Text>
<X> 16 </X>
@ -791,7 +794,259 @@ cocoa, Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; - 12-21-02-0061 12-21-03-0061
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-21-02-0061.Button,12-21-03-0061.Button,$Sum12210200611221030061) </State>
<Button>
<State> $Sum12210200611221030061 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Mocha_Tokyobanana_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Mocha_Tokyobanana_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Mocha_Tokyobanana_smoothie.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-03-0061, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Bad kids smacked good ones ditched"
Var NameDrinkTH = "เป็นเด็กดื้อโดนตีเป็น เด็กดีโดนทิ้งตลอด"
Var DrinkDescriptionTH = "กาแฟ น้ำ นม โกโก้ และ น้ำเชื่อมกล้วย"
Var DrinkDescription = "Espresso, Banana Syrup, cocoa, Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Mocha_Tokyobanana_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-21-02-0061.Price
Var PriceD3 = $12-21-03-0061.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-21-02-0061"
Var PD_CODE3 = "12-21-03-0061"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-21-02-0061.Button
Var PD_STAGE_3 = $12-21-03-0061.Button
Var OverlayMenuFilter !assigned xmlpro( 12-21-03-0061, "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" "12-21-02-0061"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-21-03-0061"
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 = $12-21-02-0061.NameE
Var menu_desc_eng_cold = $12-21-02-0061.descriptionE
Var menu_name_thai_cold = $12-21-02-0061.Name
Var menu_desc_thai_cold = $12-21-02-0061.description
Var menu_name_eng_blender = $12-21-03-0061.NameE
Var menu_desc_eng_blender = $12-21-03-0061.descriptionE
Var menu_name_thai_blender = $12-21-03-0061.Name
Var menu_desc_thai_blender = $12-21-03-0061.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 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> "Bad kids smacked
good ones ditched" </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> "Espresso, Banana Syrup,
cocoa, Milk" </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> $12-21-02-0061.Button </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> $12-21-02-0061.Button </State>
<Value> StringFmt( $12-21-02-0061.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-21-03-0061.Button </State>
</Image>
<Text>
<X> 183 </X>
<Y> TextPriceMenuY </Y>
<Size> TextPriceMenuSize </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-21-03-0061.Button </State>
<Value> StringFmt( $12-21-03-0061.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 $Sum12210200611221030061 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-21-02-0061.TAG tag2_is_disable
STRCONTAIN "ERR" $12-21-03-0061.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> $Sum12210200611221030061 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 12
; - 12-01-02-0062 -
<Block>
@ -802,18 +1057,18 @@ cocoa, Milk" </Value>
<State> Flag( 12-01-02-0062.Button,$Sum1201020062) </State>
<Button>
<State> $Sum1201020062 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_peach_latte.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_peach_latte.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_peach_latte.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_matcha_Latte_TokyoBanana.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_matcha_Latte_TokyoBanana.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_matcha_Latte_TokyoBanana.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-01-02-0062, "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 = "Ghosted, sending a "night" means the convo's dead."
Var NameDrink = "Ghosted after night convo's dead"
Var NameDrinkTH = "ตัดบทบอกฝันดี = เขาไม่อยากคุย"
Var DrinkDescriptionTH = "กาแฟ น้ำ นม มัทฉะ และ น้ำเชื่อมกล้วย"
Var DrinkDescription = "Espresso, Banana Syrup, Matcha, Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_peach_latte.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_matcha_Latte_TokyoBanana.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-01-02-0062.Price
@ -868,6 +1123,7 @@ cocoa, Milk" </Value>
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 1
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
@ -883,7 +1139,8 @@ cocoa, Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ตัดบทบอกฝันดี = เขาไม่อยากคุย" </Value>
<Value> "ตัดบทบอกฝันดี
= เขาไม่อยากคุย" </Value>
</Text>
<Text>
<X> 16 </X>
@ -904,7 +1161,8 @@ cocoa, Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Ghosted, sending a "night" means the convo's dead." </Value>
<Value> "Ghosted after night
convo's dead" </Value>
</Text>
<Text>
<X> 16 </X>
@ -1043,7 +1301,259 @@ Matcha, Milk" </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; - 12-21-02-0062 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-21-02-0062.Button,$Sum1221020062) </State>
<Button>
<State> $Sum1221020062 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_matcha_Latte_TokyoBanana.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_matcha_Latte_TokyoBanana.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_matcha_Latte_TokyoBanana.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-21-02-0062, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<EventOnClick>
Var NameDrink = "Ghosted after night convo's dead"
Var NameDrinkTH = "ตัดบทบอกฝันดี = เขาไม่อยากคุย"
Var DrinkDescriptionTH = "กาแฟ น้ำ นม มัทฉะ และ น้ำเชื่อมกล้วย"
Var DrinkDescription = "Espresso, Banana Syrup, Matcha, Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_matcha_Latte_TokyoBanana.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-21-02-0062.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-21-02-0062"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-21-02-0062.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0062, "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" "12-21-02-0062"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
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 = $12-21-02-0062.NameE
Var menu_desc_eng_cold = $12-21-02-0062.descriptionE
Var menu_name_thai_cold = $12-21-02-0062.Name
Var menu_desc_thai_cold = $12-21-02-0062.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 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> "Ghosted after night
convo's dead" </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> "Espresso, Banana Syrup,
Matcha, Milk" </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> $12-21-02-0062.Button </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> $12-21-02-0062.Button </State>
<Value> StringFmt( $12-21-02-0062.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> "Invisible" </State>
</Image>
<Text>
<X> 183 </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>
<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 $Sum1221020062 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-21-02-0062.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.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> $Sum1221020062 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 12
; - - 12-03-03-0044
<Block>
@ -1054,18 +1564,18 @@ Matcha, Milk" </Value>
<State> Flag( 12-03-03-0044.Button,$Sum1203030044) </State>
<Button>
<State> $Sum1203030044 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_peach_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_peach_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_peach_tea.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Choco_straw_banana_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Choco_straw_banana_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Choco_straw_banana_smoothie.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0044, "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 = "He's the kindness fix, zero romance drama."
Var NameDrink = "Kindness fix, zero romance drama."
Var NameDrinkTH = "ที่ทำดีด้วยเขาไม่ได้มีใจ แต่เขามีเมตตา"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย น้ำเชื่อมสตรอเบอร์รี่ นม และโกโก้"
Var DrinkDescription = "banana syrup, Strawberry syrup, Milk, cocoa"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_peach_tea.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Choco_straw_banana_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
@ -1120,6 +1630,7 @@ Matcha, Milk" </Value>
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 1
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
@ -1135,7 +1646,8 @@ Matcha, Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ที่ทำดีด้วยเขาไม่ได้มีใจ แต่เขามีเมตตา" </Value>
<Value> "ที่ทำดีด้วยเขาไม่ได้มีใจ
แต่เขามีเมตตา" </Value>
</Text>
<Text>
<X> 16 </X>
@ -1156,7 +1668,8 @@ Matcha, Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "He's the kindness fix, zero romance drama." </Value>
<Value> "Kindness fix,
zero romance drama." </Value>
</Text>
<Text>
<X> 16 </X>
@ -1306,18 +1819,18 @@ Milk, cocoa" </Value>
<State> Flag( 12-03-03-0045.Button,$Sum1203030045) </State>
<Button>
<State> $Sum1203030045 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_peach_jasmine_tea.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_peach_jasmine_tea.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_peach_jasmine_tea.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_strawberry_Tokyobanana_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_strawberry_Tokyobanana_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_strawberry_Tokyobanana_smoothie.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0045, "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 = "Love's on mute, stuck in suspense."
Var NameDrinkTH = "ตกอยู่ในสถานะสแตนด์บาย"
Var NameDrink = "Love on mute, stuck in suspense."
Var NameDrinkTH = "ตกอยู่ในสถานะ สแตนด์บาย"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย น้ำเชื่อมสตรอเบอร์รี่ และนม "
Var DrinkDescription = "banana syrup, Strawberry syrup, Milk"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_peach_jasmine_tea.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_strawberry_Tokyobanana_smoothie.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
@ -1372,6 +1885,7 @@ Milk, cocoa" </Value>
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 1
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
@ -1387,7 +1901,8 @@ Milk, cocoa" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ตกอยู่ในสถานะสแตนด์บาย" </Value>
<Value> "ตกอยู่ในสถานะ
สแตนด์บาย" </Value>
</Text>
<Text>
<X> 16 </X>
@ -1408,7 +1923,8 @@ Milk, cocoa" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Love's on mute, stuck in suspense." </Value>
<Value> "Love on mute,
stuck in suspense." </Value>
</Text>
<Text>
<X> 16 </X>
@ -1558,18 +2074,18 @@ Milk" </Value>
<State> Flag( 12-03-03-0029.Button,$Sum1203030029) </State>
<Button>
<State> $Sum1203030029 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_peach_Milk.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_peach_Milk.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_peach_Milk.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_BananaOreo_smoothie_bad_valentine.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_BananaOreo_smoothie_bad_valentine.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_BananaOreo_smoothie_bad_valentine.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-03-03-0029, "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 = "Promised a chat, but poof, gone once you say "hey.""
Var NameDrinkTH = "บอกว่าคุยได้พอทักไปก็หาย"
Var NameDrink = "Promised a chat, but poof,gone after HEY."
Var NameDrinkTH = "บอกว่าคุยได้ พอทักไปก็หาย"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย นม น้ำตาล Oreo"
Var DrinkDescription = "Banana Syrup, Milk, Sugar, Oreo"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_peach_Milk.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_BananaOreo_smoothie_bad_valentine.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
@ -1624,6 +2140,7 @@ Milk" </Value>
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 1
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
@ -1639,7 +2156,8 @@ Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "บอกว่าคุยได้พอทักไปก็หาย" </Value>
<Value> "บอกว่าคุยได้
พอทักไปก็หาย" </Value>
</Text>
<Text>
<X> 16 </X>
@ -1660,7 +2178,8 @@ Milk" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Promised a chat, but poof, gone once you say "hey."" </Value>
<Value> "Promised a chat, but
poof,gone after HEY." </Value>
</Text>
<Text>
<X> 16 </X>
@ -1810,18 +2329,18 @@ Sugar, Oreo" </Value>
<State> Flag( 12-02-02-0053.Button,$Sum1202020053) </State>
<Button>
<State> $Sum1202020053 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_peach_Cocoa.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_peach_Cocoa.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_peach_Cocoa.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ginger_TokyoBanana.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ginger_TokyoBanana.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ginger_TokyoBanana.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-02-0053, "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 = "Pops up when the rest bail on you."
Var NameDrinkTH = "เขาจะกลับมาก็ต่อเมื่อไม่เหลือใคร"
Var NameDrinkTH = "เขาจะกลับมาก็ต่อเมื่อ ไม่เหลือใคร"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย ขิง และน้ำแข็ง"
Var DrinkDescription = "Banana Syrup, Ginger and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_peach_Cocoa.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ginger_TokyoBanana.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-02-02-0053.Price
@ -1876,6 +2395,7 @@ Sugar, Oreo" </Value>
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 1
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
@ -1891,7 +2411,8 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "เขาจะกลับมาก็ต่อเมื่อไม่เหลือใคร" </Value>
<Value> "เขาจะกลับมาก็ต่อเมื่อ
ไม่เหลือใคร" </Value>
</Text>
<Text>
<X> 16 </X>
@ -1912,7 +2433,8 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Pops up when the rest bail on you." </Value>
<Value> "Pops up when the
rest bail on you." </Value>
</Text>
<Text>
<X> 16 </X>
@ -2061,18 +2583,18 @@ Sugar, Oreo" </Value>
<State> Flag( 12-02-02-0054.Button,$Sum1202020054) </State>
<Button>
<State> $Sum1202020054 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_peach_Oreo_smoothie.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_peach_Oreo_smoothie.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_peach_Oreo_smoothie.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_ThaiTea_TokyoBanana.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_ThaiTea_TokyoBanana.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_ThaiTea_TokyoBanana.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-02-0054, "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 = "Love deep, broke hard, that's the real deal."
Var NameDrink = "Love deep, broke hardthe real deal."
Var NameDrinkTH = "รักหมดใจ เจ็บหมดตัวมีอยู่จริง"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย ชาไทย นม และน้ำแข็ง"
Var DrinkDescription = "Banana Syrup, Thai tea, milk and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_peach_Oreo_smoothie.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_ThaiTea_TokyoBanana.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-02-02-0054.Price
@ -2127,6 +2649,7 @@ Sugar, Oreo" </Value>
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 1
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
@ -2142,7 +2665,8 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "รักหมดใจ เจ็บหมดตัวมีอยู่จริง" </Value>
<Value> "รักหมดใจ
เจ็บหมดตัวมีอยู่จริง" </Value>
</Text>
<Text>
<X> 16 </X>
@ -2163,7 +2687,8 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Love deep, broke hard, that's the real deal." </Value>
<Value> "Love deep, broke
hardthe real deal." </Value>
</Text>
<Text>
<X> 16 </X>
@ -2312,18 +2837,18 @@ Sugar, Oreo" </Value>
<State> Flag( 12-02-02-0055.Button,$Sum1202020055) </State>
<Button>
<State> $Sum1202020055 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_peach" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_peach" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_peach" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_matcha_TokyoBanana.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_matcha_TokyoBanana.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_matcha_TokyoBanana.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-02-02-0055, "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 = "Forget love before winning, fine, we'll take the L."
Var NameDrink = "Forget love, take the L"
Var NameDrinkTH = "คนลืมก่อนชนะ โอเคเราแพ้"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย มัทฉะ และน้ำแข็ง"
Var DrinkDescription = "Banana Syrup, Matcha and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_peach"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_matcha_TokyoBanana.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-02-02-0055.Price
@ -2378,6 +2903,7 @@ Sugar, Oreo" </Value>
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 1
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
@ -2393,7 +2919,8 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "คนลืมก่อนชนะ โอเคเราแพ้" </Value>
<Value> "คนลืมก่อนชนะ
โอเคเราแพ้" </Value>
</Text>
<Text>
<X> 16 </X>
@ -2414,7 +2941,8 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Forget love before winning, fine, we'll take the L." </Value>
<Value> "Forget love, take
the L" </Value>
</Text>
<Text>
<X> 16 </X>
@ -2563,18 +3091,18 @@ Sugar, Oreo" </Value>
<State> Flag( 12-05-02-0078.Button,$Sum1205020078) </State>
<Button>
<State> $Sum1205020078 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_peach_soda.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_peach_soda.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_peach_soda.png" </FilenameDisable>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_Banana_soda.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_energy_drink_Banana_soda.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_energy_drink_Banana_soda.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-02-0078, "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 = "Chatting's our sport, gold in the "No Reply" event."
Var NameDrinkTH = "ถ้าแชทหนักขวาเป็นกีฬา เราคงได้เหรียญทองไปแล้ว"
Var NameDrink = "Chat's our sport, gold in NO REPLY"
Var NameDrinkTH = "แชมป์โอลิมปิก สาขาชวนคุย"
Var DrinkDescriptionTH = "น้ำเชื่อมกล้วย เต่าทรงพลัง (มีคาเฟอีน) "
Var DrinkDescription = "Banana Syrup, Medicine drink, Soda and Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_peach_soda.png"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_energy_drink_Banana_soda.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0078.Price
@ -2629,6 +3157,7 @@ Sugar, Oreo" </Value>
DEBUGVAR PD_STAGE_2
DEBUGVAR PD_STAGE_3
Var SelectDrinkType = 0
Var FromBadValentinePro = 1
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
@ -2644,7 +3173,8 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ถ้าแชทหนักขวาเป็นกีฬา เราคงได้เหรียญทองไปแล้ว" </Value>
<Value> "แชมป์โอลิมปิก
สาขาชวนคุย" </Value>
</Text>
<Text>
<X> 16 </X>
@ -2666,7 +3196,8 @@ Sugar, Oreo" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "Chatting's our sport, gold in the "No Reply" event." </Value>
<Value> "Chat's our sport,
gold in NO REPLY" </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -109,6 +109,9 @@
EndIf
DEBUGVAR PepweenCollectPoint
DEBUGVAR ProBadValentineEnable
DEBUGVAR FromBadValentinePro
If Seeker.TNumberTaobinCredit = "" Then
@ -160,6 +163,13 @@
EndIf
EndIf
If ProBadValentineEnable = 1 Then
If FromBadValentinePro = 1 Then
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml"
EndIf
EndIf
GETACCEXT Param1 23
Open "ROOT/taobin_project/xml/page_collect_point_2.xml"
@ -198,6 +208,13 @@
EndIf
EndIf
If ProBadValentineEnable = 1 Then
If FromBadValentinePro = 1 Then
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml"
EndIf
EndIf
If PepweenCollectPoint = 0 Then
GETACCEXT TelephoneNumber 31
Open "ROOT/taobin_project/xml/event/pepween/page_collect_point_pro_pepween_2.xml"
@ -681,6 +698,13 @@
EndIf
EndIf
If ProBadValentineEnable = 1 Then
If FromBadValentinePro = 1 Then
GETACCEXT TelephoneNumber 32
Open "ROOT/taobin_project/xml/event/bad_valentine/page_collect_point_pro_bad_valentine_2.xml"
EndIf
EndIf
If PepweenCollectPoint = 0 Then
GETACCEXT TelephoneNumber 31
Open "ROOT/taobin_project/xml/event/pepween/page_collect_point_pro_pepween_2.xml"

View file

@ -143,7 +143,11 @@
Var show_video = 1
Var SaveTheWorldST = "Invisible"
Var video_file_name = "ROOT/taobin_project/video/" + video_name_to_play
If InternationalEnable = 1 Then
Var video_file_name = "ROOT/taobin_project/inter/common/video/" + video_name_to_play
Else
Var video_file_name = "ROOT/taobin_project/video/" + video_name_to_play
EndIf
Var video_file_name = video_file_name + video_id_to_ran
Var video_file_name = video_file_name + ".mp4"