update page_collect_point_pro_pepween
This commit is contained in:
parent
0f7b457578
commit
634b4f7b37
33 changed files with 909 additions and 1252 deletions
328
xml/event/pepween/page_collect_point_pro_pepween_2.xml
Normal file
328
xml/event/pepween/page_collect_point_pro_pepween_2.xml
Normal file
|
|
@ -0,0 +1,328 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
Var Timeout = 0
|
||||
SAVELOG UnitTestType
|
||||
|
||||
If UnitTestType = "1" Then
|
||||
Var CoffeePoint = 10
|
||||
Open "ROOT/taobin_project/xml/page_show_consent.xml"
|
||||
EndIf
|
||||
|
||||
Var TaobinLevel = 0
|
||||
Var Point2X = 0
|
||||
|
||||
Var Seeker.TaobinErrorNetwork = 0
|
||||
|
||||
|
||||
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
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_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
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_error.xml"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
If StepGetPoint = 0 Then
|
||||
If PdpaAsk = 0 Then
|
||||
Open "ROOT/taobin_project/xml/page_show_consent.xml"
|
||||
Else
|
||||
Var StepGetPoint = 1
|
||||
|
||||
Var TelephoneNumber = TelephoneNumberX
|
||||
|
||||
GETACCEXT TelephoneNumber 14
|
||||
Var Ext1a = ""
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_2.xml"
|
||||
EndIf
|
||||
Else
|
||||
|
||||
|
||||
|
||||
|
||||
If Ext1a = "" Then
|
||||
|
||||
Var Seeker.TaobinErrorNetwork = 1
|
||||
Var Seeker.PointTaobinStr = ParamCP
|
||||
Var TelephoneNumber = TelephoneNumberX
|
||||
Var Seeker.TNumberTaobinMember = TelephoneNumber
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_error.xml"
|
||||
|
||||
Else
|
||||
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Var TaobinName = Ext1d
|
||||
Var TaobinCoupons = Ext1g
|
||||
Var TaobinExpire = Ext1f
|
||||
Var TaobinLevel = Ext1e
|
||||
Var TaobinPDPA = Ext1h
|
||||
|
||||
Var TaobinPromoX = Ext1j
|
||||
|
||||
DEBUGVAR TaobinPDPA
|
||||
|
||||
Var PointTaobinTmp = Ext1i
|
||||
|
||||
DEBUGVAR PointTaobinTmp
|
||||
INT PointTaobinTmp
|
||||
|
||||
INT TaobinPDPA
|
||||
|
||||
|
||||
Var TelephoneNumber = TelephoneNumberX
|
||||
Var TNumberTaobinMemberXXX = TelephoneNumber
|
||||
|
||||
;Var PointTaobinTmp = 4
|
||||
|
||||
Var PointTaobin = PointTaobinTmp
|
||||
Var pTaobin = PointTaobin
|
||||
|
||||
DEBUGVAR TaobinLevel
|
||||
|
||||
If TaobinLevel = "1" Then
|
||||
Var pTaobin = PayAmount / 20
|
||||
Else
|
||||
Var pTaobin = PayAmount / 15
|
||||
EndIf
|
||||
|
||||
If pTaobin > 0 Then
|
||||
Var pTaobinX = PointTaobin / pTaobin
|
||||
If pTaobinX >= 2 Then
|
||||
Var Point2X = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var Seeker.PointTaobinStr = ParamCP
|
||||
Var Seeker.TNumberTaobinMember = TelephoneNumberX
|
||||
|
||||
|
||||
Var CoffeePointRank = Ext1b
|
||||
INT CoffeePointRank
|
||||
|
||||
Var CoffeePoint1 = Ext1c
|
||||
INT CoffeePoint1
|
||||
|
||||
Var CoffeePoint = PointTaobin + CoffeePoint1
|
||||
Var CoffeePointOld = CoffeePoint1
|
||||
|
||||
Var PopweenPointState[0] = 1
|
||||
Var PopweenPointState[1] = 0
|
||||
Var PopweenPointState[2] = 1
|
||||
Var PopweenPointState[3] = 0
|
||||
Var PopweenPointState[4] = 0
|
||||
Var PopweenPointState[5] = 0
|
||||
Var PopweenPointState[6] = 1
|
||||
Var PopweenPointState[7] = 0
|
||||
Var PopweenPointState[8] = 0
|
||||
Var PopweenPointState[9] = 1
|
||||
Var PopweenPointState[10] = 0
|
||||
Var PopweenPointState[11] = 1
|
||||
Var PopweenPointState[12] = 0
|
||||
|
||||
Var PopweenPointNewIndex = 11
|
||||
|
||||
If TaobinLevel = 1 Then
|
||||
Var CoffeePointRank = CoffeePointRank + 0
|
||||
Else
|
||||
Var CoffeePointRank = CoffeePointRank + PointTaobin
|
||||
EndIf
|
||||
|
||||
Var CoffeePointRankTmp = CoffeePointRank
|
||||
|
||||
|
||||
DEBUGVAR Seeker.PointTaobinStr
|
||||
DEBUGVAR Seeker.TNumberTaobinMember
|
||||
If TaobinPDPA = 0 Then
|
||||
|
||||
If CountryName = "Malaysia" Then
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_pro_pepween_3.xml"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Indonesia" Then
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_pro_pepween_3.xml"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Australia" Then
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_pro_pepween_3.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_show_consent.xml"
|
||||
EndIf
|
||||
|
||||
If PayAmount >= 20 Then
|
||||
|
||||
If TaobinPromoX = "p2.no_otp" Then
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_extend1.xml"
|
||||
EndIf
|
||||
|
||||
If TaobinPromoX = "p2.unused" Then
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_extend1.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/event/pepween/page_collect_point_pro_pepween_3.xml"
|
||||
|
||||
Else
|
||||
|
||||
Var Seeker.TaobinErrorNetwork = 1
|
||||
|
||||
Var Seeker.PointTaobinStr = ParamCP
|
||||
Var TelephoneNumber = TelephoneNumberX
|
||||
Var Seeker.TNumberTaobinMember = TelephoneNumber
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_error.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
|
||||
|
||||
|
||||
|
||||
Var Seeker.TaobinErrorNetwork = 1
|
||||
|
||||
Var Seeker.PointTaobinStr = ParamCP
|
||||
Var TelephoneNumber = TelephoneNumberX
|
||||
Var Seeker.TNumberTaobinMember= TelephoneNumber
|
||||
Open "ROOT/taobin_project/xml/page_collect_point_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>
|
||||
|
||||
550
xml/event/pepween/page_collect_point_pro_pepween_3.xml
Normal file
550
xml/event/pepween/page_collect_point_pro_pepween_3.xml
Normal file
|
|
@ -0,0 +1,550 @@
|
|||
<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 CoffeePointStr = CoffeePoint
|
||||
|
||||
DEBUGVAR TelephoneNumber
|
||||
DEBUGVAR TelephoneNumberX
|
||||
|
||||
Var EngTextState = "Invisible"
|
||||
Var ThaiTextState = "Invisible"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/event/pepween/display_point_en"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2_eng.png"
|
||||
Var EngTextState = "Enable"
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/event/pepween/display_point"
|
||||
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
|
||||
Var IMG_CNT = "ROOT/taobin_project/image/page_doing/img2.png"
|
||||
Var ThaiTextState = "Enable"
|
||||
EndIf
|
||||
|
||||
Var CoffeePointTmp = CoffeePoint
|
||||
|
||||
;If CoffeePoint > 12 Then
|
||||
; Var Timeout = 18
|
||||
; Var CoffeePointTmp = 13
|
||||
;EndIf
|
||||
|
||||
If CoffeePoint < 17 Then
|
||||
Var CoffeePointTmp = 1
|
||||
Else
|
||||
Var CoffeePointTmp = CoffeePoint - 17
|
||||
EndIf
|
||||
|
||||
Var PointDiff = 13 - CoffeePointTmp
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var TaobinLevelDesc1 = "You're just " + PointDiff
|
||||
Var TaobinLevelDesc1 = TaobinLevelDesc1 + " menu item away from unlocking a Secret graveyard prize."
|
||||
Var TaobinLevelDesc2 = "Collect all 13 horrifying menus now!"
|
||||
Var TaobinLevelDesc3 = TaobinCoupons + " coupons are available for you"
|
||||
Else
|
||||
Var TaobinLevelDesc1 = "เหลืออีก " + PointDiff
|
||||
Var TaobinLevelDesc1 = TaobinLevelDesc1 + " เมนูที่จะเปิดล็อคความน่าสะพรึง"
|
||||
Var TaobinLevelDesc2 = "สะสมให้ครบ 13 เมนูแสนอร่อยปนความสยองตอนนี้เลย!"
|
||||
Var TaobinLevelDesc3 = "ตอนนี้คุณมีคูปองแลกเครื่องดื่มฟรีเหลืออยู่ "
|
||||
Var TaobinLevelDesc3 = TaobinLevelDesc3 + TaobinCoupons
|
||||
Var TaobinLevelDesc3 = TaobinLevelDesc3 + " ใบ"
|
||||
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 taobinImgPoint = "/skull_active_new.png"
|
||||
|
||||
Var taobinImgPoint[0] = "/skull_active.png"
|
||||
Var taobinImgPoint[1]= "/skull_active.png"
|
||||
Var taobinImgPoint[2]= "/skull_active.png"
|
||||
Var taobinImgPoint[3]= "/skull_active.png"
|
||||
Var taobinImgPoint[4]= "/skull_active.png"
|
||||
Var taobinImgPoint[5]= "/skull_active.png"
|
||||
Var taobinImgPoint[6]= "/skull_active.png"
|
||||
Var taobinImgPoint[7]= "/skull_active.png"
|
||||
Var taobinImgPoint[8]= "/skull_active.png"
|
||||
Var taobinImgPoint[9] = "/skull_active.png"
|
||||
Var taobinImgPoint[10] = "/skull_active.png"
|
||||
Var taobinImgPoint[11] = "/skull_active.png"
|
||||
Var taobinImgPoint[12] = "/skull_active.png"
|
||||
|
||||
Var taobinTextPoint[0] = "พระจันทร์สีเลือด"
|
||||
Var taobinTextPoint[1] = "สุภาพสตรีสีขาว"
|
||||
Var taobinTextPoint[2] = "เสียงดนตรีตอนตี 3"
|
||||
Var taobinTextPoint[3] = "พยาบาทชาติที่แล้ว"
|
||||
Var taobinTextPoint[4] = "ท่านเคาท์เขย่าขวัญ"
|
||||
Var taobinTextPoint[5] = "ห้องเชือดหมายเลข 13"
|
||||
Var taobinTextPoint[6] = "ค่ำคืนคอยหลอน"
|
||||
Var taobinTextPoint[7] = "แม่ชีไร้หัว"
|
||||
Var taobinTextPoint[8] = "คุณยายท้ายหมู่บ้าน"
|
||||
Var taobinTextPoint[9] = "อาถรรพ์คืนวันพุธ"
|
||||
Var taobinTextPoint[10] = "ล้า ท้า หลอน"
|
||||
Var taobinTextPoint[11] = "หมอกควันแห่งความมืด"
|
||||
Var taobinTextPoint[12] = "ดิน 7 ป่าช้า"
|
||||
|
||||
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 taobinTextColorPoint[9] = 0xFFFFFF
|
||||
Var taobinTextColorPoint[10] = 0xFFFFFF
|
||||
Var taobinTextColorPoint[11] = 0xFFFFFF
|
||||
Var taobinTextColorPoint[12] = 0xFFFFFF
|
||||
|
||||
|
||||
If PopweenPointState[0] = 1 Then
|
||||
Var taobinP1 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[1] = 1 Then
|
||||
Var taobinP2 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[2] = 1 Then
|
||||
Var taobinP3 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[3] = 1 Then
|
||||
Var taobinP4 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[4] = 1 Then
|
||||
Var taobinP5 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[5] = 1 Then
|
||||
Var taobinP6 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[6] = 1 Then
|
||||
Var taobinP7 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[7] = 1 Then
|
||||
Var taobinP8 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[8] = 1 Then
|
||||
Var taobinP9 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[9] = 1 Then
|
||||
Var taobinP10 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[10] = 1 Then
|
||||
Var taobinP11 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[11] = 1 Then
|
||||
Var taobinP12 = "Enable"
|
||||
EndIf
|
||||
If PopweenPointState[12] = 1 Then
|
||||
Var taobinP13 = "Enable"
|
||||
EndIf
|
||||
|
||||
If PopweenPointNewIndex >= 0 Then
|
||||
Var taobinImgPoint[PopweenPointNewIndex] = "/skull_active_new.png"
|
||||
EndIf
|
||||
|
||||
If Seeker = "curr" Then
|
||||
Var CheckCouponState = "Enable"
|
||||
Else
|
||||
Var CheckCouponState = "Disable"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var CountDownBrewing = BREW_CNT
|
||||
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
|
||||
|
||||
;Var Timeout = Timeout + 1
|
||||
If Timeout > 5 Then
|
||||
|
||||
; goto lid straw
|
||||
If CoffeePoint > 29 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||
Else
|
||||
If Seeker.FromConsent = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||
Else
|
||||
|
||||
If PromotionIDCurrentOrder > 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
<EventActionOk>
|
||||
If CheckCoupons = 1 Then
|
||||
Var MakeDrinkState = 1
|
||||
Var CouponPage = 1
|
||||
Var CouponInfo1 = Ext1a
|
||||
Var CouponInfo2 = Ext1b
|
||||
Var CouponInfo3 = Ext1c
|
||||
Var CouponInfo4 = Ext1d
|
||||
Var CouponInfo5 = Ext1e
|
||||
Var CouponInfo6 = Ext1f
|
||||
Var CouponInfo7 = Ext1g
|
||||
Var CouponInfo8 = Ext1h
|
||||
Var CouponInfo9 = Ext1i
|
||||
Var CouponInfo10 = Ext1j
|
||||
|
||||
Var TelephoneNumber = TelephoneNumberX
|
||||
GETACCEXT TelephoneNumber 13
|
||||
Var CheckCoupons = 2
|
||||
|
||||
Else
|
||||
|
||||
If CheckCoupons = 2 Then
|
||||
|
||||
Var TaobinCredit = Ext1b
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
|
||||
<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>
|
||||
;<Filename> "ROOT/taobin_project/image/event/pepween/display_point/img_popup1.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 158 </X>
|
||||
<Y> 665 </Y>
|
||||
<Filename> Var( DirImage + "/img_popup3.png" )</Filename>
|
||||
;<Filename> "ROOT/taobin_project/image/event/pepween/display_point/img_popup3.png" </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 243 </X>
|
||||
<Y> 722 </Y>
|
||||
<Filename> Var( DirImage + "/text7.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 243 </X>
|
||||
<Y> 850 </Y>
|
||||
<Filename> Var( DirImage + "/text4.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 625 </X>
|
||||
<Y> 734 </Y>
|
||||
<Filename> Var( DirImage + "/ghost.png" )</Filename>
|
||||
</Image>
|
||||
;
|
||||
|
||||
|
||||
<Image>
|
||||
<X> 234 </X>
|
||||
<Y> 1122 </Y>
|
||||
<Filename> Var( DirImage + "/skulls_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 560 </X>
|
||||
<Y> 1680 </Y>
|
||||
<Filename> Var( DirImage + "/bn_close.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_close.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
;Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
If Seeker.FromConsent = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||
Else
|
||||
If CoffeePoint > 29 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_get_free.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
If PromotionIDCurrentOrder > 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_Promo1Get1Free.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Button>
|
||||
<X> 253 </X>
|
||||
<Y> 1680 </Y>
|
||||
;<State>CheckCouponState</State>
|
||||
<Filename> Var( DirImage + "/bn_coupons.png" )</Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_coupons.png" )</FilenamePress>
|
||||
<FilenameDisable> Var( DirImage + "/bp_coupons.png" )</FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
|
||||
|
||||
;Var TelephoneNumber = TelephoneNumberX
|
||||
;GETACCEXT TelephoneNumber 15
|
||||
;Var CheckCoupons = 1
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 745 </Y>
|
||||
<Size> 35 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> TaobinName </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 790 </Y>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> TNumberTaobinMemberXXX </Value>
|
||||
<Format> Telnum-mask-1 </Format>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
; Thai
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 890 </Y>
|
||||
<State> ThaiTextState </State>
|
||||
<Size> 50 </Size>
|
||||
<Width> 120 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> CoffeePointRank </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 990 </Y>
|
||||
<State> ThaiTextState </State>
|
||||
<Size> 25 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> TaobinLevelDesc1 </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 1020 </Y>
|
||||
<State> ThaiTextState </State>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> TaobinLevelDesc2 </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 310 </X>
|
||||
<Y> 1621 </Y>
|
||||
<State> ThaiTextState </State>
|
||||
<Size> 25 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xFFFFFF </Color>
|
||||
<Value> TaobinLevelDesc3 </Value>
|
||||
</Text>
|
||||
|
||||
; Eng
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 920 </Y>
|
||||
<State> EngTextState </State>
|
||||
<Size> 50 </Size>
|
||||
<Width> 120 </Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> CoffeePointRank </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 990 </Y>
|
||||
<State> EngTextState </State>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<Value> TaobinLevelDesc1 </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 250 </X>
|
||||
<Y> 1020 </Y>
|
||||
<State> EngTextState </State>
|
||||
<Size> 20 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0x746253 </Color>
|
||||
<Value> TaobinLevelDesc2 </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 370 </X>
|
||||
<Y> 1621 </Y>
|
||||
<State> EngTextState </State>
|
||||
<Size> 25 </Size>
|
||||
<Width> 1000 </Width>
|
||||
<Font> RobotoRegular </Font>
|
||||
<Color> 0xFFFFFF </Color>
|
||||
<Value> TaobinLevelDesc3 </Value>
|
||||
</Text>
|
||||
|
||||
<Image>
|
||||
<X> 218 </X>
|
||||
<Y> 1578 </Y>
|
||||
<Filename> Var( DirImage + "/text8.png" )</Filename>
|
||||
</Image>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;
|
||||
<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>
|
||||
|
||||
<EventUnitTest4>
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/event/pepween/page_collect_point_pro_pepween_3.xml"
|
||||
</EventUnitTest4>
|
||||
|
||||
|
||||
</Popup>
|
||||
|
||||
|
|
@ -32,6 +32,9 @@ Var MomDayEnable = 0
|
|||
; Enable app game
|
||||
Var GameEnableFromTrickerEv = 0
|
||||
|
||||
; Enable pro Pepween
|
||||
Var PepweenEnable = 0
|
||||
|
||||
; Enable pro Tamatian. 16-30 Sep
|
||||
Var TamatianEnable = 0
|
||||
|
||||
|
|
@ -140,6 +143,9 @@ If BoxID = 200580 Then
|
|||
Var MayDayRunEnable = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 105005 Then
|
||||
Var PepweenEnable = 1
|
||||
EndIf
|
||||
|
||||
Var MayDayRunEnable = 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue