SGP: WIP member prompt page & change brew time to percent
This commit is contained in:
parent
b6e6011eb0
commit
eaa428b707
23 changed files with 3266 additions and 15 deletions
|
|
@ -12,7 +12,7 @@
|
|||
Var CountUpWhenBREW_CNT = 0
|
||||
DEBUGVAR TxRef1
|
||||
|
||||
SAVELOG "AUS page_brewing3.lxml"
|
||||
SAVELOG "SGP page_brewing3.lxml"
|
||||
DEBUGVAR MachineStage
|
||||
|
||||
Var PictureFileTextDesctionState = "Enable"
|
||||
|
|
@ -426,6 +426,21 @@
|
|||
Var ButtonGameCountDownState = "Invisible"
|
||||
Var ButtonGamePressToPlayState = "Invisible"
|
||||
|
||||
Var ShowPercent = "Invisible"
|
||||
Var ShowCountdown = "Enable"
|
||||
|
||||
If ShowCountDownAsPercent = 1 Then
|
||||
Var ShowPercent = "Enable"
|
||||
Var ShowCountdown = "Invisible"
|
||||
|
||||
Var IMG_CNT = "ROOT/taobin_project/inter/sgp/image/page_doing/img2_percent_eng.png"
|
||||
EndIf
|
||||
|
||||
If XPercent = 0 Then
|
||||
|
||||
Else
|
||||
Var XPercent = 0
|
||||
EndIf
|
||||
|
||||
CashlessReq SUCCESS
|
||||
|
||||
|
|
@ -611,6 +626,23 @@
|
|||
|
||||
Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
; percent
|
||||
If ShowCountDownAsPercent = 1 Then
|
||||
Var XPercent = InitCNT - ShowCountDownBrewing
|
||||
If ShowCountDownBrewing <= 5 Then
|
||||
Var XPercent = 95
|
||||
If SetPercent100 = 1 Then
|
||||
Var XPercent = 100
|
||||
EndIf
|
||||
Else
|
||||
Var XPercent = XPercent * 100
|
||||
DEBUGVAR XPercent
|
||||
Var XPercent = XPercent / InitCNT
|
||||
EndIf
|
||||
|
||||
DEBUGVAR XPercent
|
||||
EndIf
|
||||
|
||||
|
||||
If Timeout > 540 Then
|
||||
SAVELOG "back_to_main from line > 217."
|
||||
|
|
@ -903,6 +935,12 @@
|
|||
|
||||
If AddData = 1 Then
|
||||
Var Cid = 26
|
||||
|
||||
If UseSGPCollectFlag = 1 Then
|
||||
Var Cid = 46
|
||||
Var Seeker.PointTaobinStr = "SG/" + Seeker.PointTaobinStr
|
||||
EndIf
|
||||
|
||||
AddData Cid Seeker.TNumberTaobinMember Seeker.PointTaobinStr PointCrm GetScore
|
||||
EndIf
|
||||
|
||||
|
|
@ -1007,6 +1045,12 @@
|
|||
|
||||
If AddData = 1 Then
|
||||
Var Cid = 26
|
||||
|
||||
If UseSGPCollectFlag = 1 Then
|
||||
Var Cid = 46
|
||||
Var Seeker.PointTaobinStr = "SG/" + Seeker.PointTaobinStr
|
||||
EndIf
|
||||
|
||||
AddData Cid Seeker.TNumberTaobinMember Seeker.PointTaobinStr PointCrm GetScore
|
||||
EndIf
|
||||
|
||||
|
|
@ -1090,6 +1134,7 @@
|
|||
EndIf
|
||||
|
||||
If MachineStage = "drink-success" Then
|
||||
;Var SetPercent100 = 1
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
|
||||
|
|
@ -1429,6 +1474,7 @@
|
|||
|
||||
If MachineStage = "drink-success" Then
|
||||
Var MachineState_Result = 1
|
||||
Var SetPercent100 = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -1517,6 +1563,7 @@
|
|||
<Text>
|
||||
<X> XPosiShowCountDownBrew </X>
|
||||
<Y> 470 </Y>
|
||||
<State> ShowCountdown </State>
|
||||
<Align> End </Align>
|
||||
<Width> 153 </Width>
|
||||
<Size> 88 </Size>
|
||||
|
|
@ -1524,11 +1571,23 @@
|
|||
<Color> 0x513C2F </Color>
|
||||
<Value> ShowCountDownBrewing </Value>
|
||||
</Text>
|
||||
;
|
||||
<Text>
|
||||
<X> XPosiShowCountDownBrew </X>
|
||||
<Y> 470 </Y>
|
||||
<State> ShowPercent </State>
|
||||
<Align> End </Align>
|
||||
<Width> 153 </Width>
|
||||
<Size> 88 </Size>
|
||||
<Font> RobotoBold </Font>
|
||||
<Color> 0x513C2F </Color>
|
||||
<Value> XPercent </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 816 </X>
|
||||
<Y> 429 </Y>
|
||||
<State> LanguageObjectShow </State>
|
||||
<State> ShowCountdown </State>
|
||||
<Language>
|
||||
<ID> 000405 </ID>
|
||||
</Language>
|
||||
|
|
@ -1536,7 +1595,7 @@
|
|||
<Text>
|
||||
<X> 941 </X>
|
||||
<Y> 518 </Y>
|
||||
<State> LanguageObjectShow </State>
|
||||
<State> ShowCountdown </State>
|
||||
<Language>
|
||||
<ID> 000406 </ID>
|
||||
</Language>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue