taobin_project/xml/page_main_blank.xml

68 lines
1.4 KiB
XML
Raw Normal View History

2020-09-14 15:09:29 +07:00
<Page>
<Width> 1080 </Width>
<Height> 1312 </Height>
2022-08-23 16:48:41 +07:00
<EventOpen>
DEBUGVAR PaySuccessWithDaemonTask
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
If PaySuccessWithDaemonTask = 1 Then
DEBUGVAR PaidPaymentFromNextStage
DEBUGVAR LastMakeDrinkResult
; from
If LastMakeDrinkResult = "success" Then
If PaidPaymentFromNextStage = 1 Then
Var DelayForMakeDrink = 0
Var PaidPaymentFromNextStage = 2
EndIf
EndIf
If PaidPaymentFromNextStage = 2 Then
DEBUGVAR HaveCup
2022-08-28 21:53:24 +07:00
DEBUGVAR MaybeHaveCup
2022-08-23 16:48:41 +07:00
DEBUGVAR DoorCupPosition
2022-08-28 21:53:24 +07:00
2022-08-23 16:48:41 +07:00
If HaveCup = "false" Then
2022-08-28 21:53:24 +07:00
If MaybeHaveCup = "false" Then
If DoorCupPosition = "bottom" Then
2022-08-23 16:48:41 +07:00
2022-08-28 21:53:24 +07:00
Topping "Select" NextUserSelectDrinkFromPaid
2022-08-23 16:48:41 +07:00
2022-08-28 21:53:24 +07:00
; Set option toppinng and pack
Topping "Select1-ID" NextUserSelecttopping1Paid
Topping "Select2-ID" NextUserSelecttopping2Paid
Topping "Select3-ID" NextUserSelecttopping3Paid
2022-08-23 16:48:41 +07:00
2022-08-28 21:53:24 +07:00
; Pack
Topping "Pack" ExtendDataCurr
2022-08-23 16:48:41 +07:00
2022-08-28 21:53:24 +07:00
Var DelayForMakeDrink = 2
Var PaidPaymentFromNextStage = 3
DEBUGVAR NextUserSelectDrinkFromPaid
EndIf
2022-08-23 16:48:41 +07:00
EndIf
EndIf
EndIf
2022-08-28 21:53:24 +07:00
DEBUGVAR DelayForMakeDrink
2022-08-23 16:48:41 +07:00
EndIf
2022-08-28 21:53:24 +07:00
If DelayForMakeDrink > 0 Then
2022-08-23 16:48:41 +07:00
DEBUGVAR DelayForMakeDrink
Var DelayForMakeDrink = DelayForMakeDrink - 1
If DelayForMakeDrink = 0 Then
2022-08-28 21:53:24 +07:00
Var MakeContinue = 1
MakeDrinkV1 NextUserSelectDrinkFromPaid SelectSugarID
2022-08-23 16:48:41 +07:00
EndIf
EndIf
; hurr
TimerReset
</EventTimeout>
2020-09-14 15:09:29 +07:00
</Page>