Add BOX_ID to game and profile AllPrice05 AllPrice10

This commit is contained in:
wanlop run 2024-02-05 21:48:02 +07:00
parent 5e71999d0d
commit 39c23f18f0
15 changed files with 76 additions and 67 deletions

View file

@ -221,6 +221,8 @@
STRCONTAIN "1068" MaterialAvailable JasmineTeaEnable
STRCONTAIN "1210" MaterialAvailable MelonSyrupEnable
STRCONTAIN "1212" MaterialAvailable MintSyrupEnable
STRCONTAIN "1213" MaterialAvailable PeachSyrupEnable
Var MenuKidEnable = "false"
@ -763,9 +765,6 @@
Var WebAppShow = "Invisible"
EnableLanguage "ENG"
;EnableLanguage "THAI"
;EnableLanguage "CHINA"
;EnableLanguage "JAPAN"
EnableLanguage "MALAY"
SetLanguage "MALAY"
LanguageControl "UpdateList" "-"
@ -1051,7 +1050,8 @@
</EventOpen>
<EventUnitTest1>
Var NoWaitMachineEnable = 1
Var XMLProfile = "AllPrice05"
Open CurrentXMLFileName0
</EventUnitTest1>
<EventUnitTest2>
@ -1080,17 +1080,13 @@
</EventUnitTest2>
<EventUnitTest3>
Var NoWaitMachineEnable = 0
Var XMLProfile = "AllPrice10"
Open CurrentXMLFileName0
</EventUnitTest3>
<EventUnitTest4>
STRCONTAIN "SugarBreak-y18IDCard" XMLProfile UnitTestProfile
If UnitTestProfile = "true" Then
Var XMLProfile = "standard"
Else
Var XMLProfile = "SugarBreak-y18IDCard"
EndIf
Var XMLProfile = "Discount50"
Open CurrentXMLFileName0
</EventUnitTest4>
<Timeout> 1000 </Timeout>
@ -1108,31 +1104,6 @@
If Discount50 = "true" Then
Var HalfPrice = "true"
If InvokeDiscountCMD = "" Then
__CMD "invoke-discount-50" "-" "-" "-"
Var InvokeDiscountCMD = "true"
Else
; DEBUGVAR InvokeDiscountCMD
EndIf
Else
Var HalfPrice = "false"
If InvokeDiscountCMD = "true" Then
__CMD "invoke-discount-disable" "-" "-" "-"
EndIf
; DEBUGVAR Discount50
EndIf
; DEBUGVAR EnableLiveness
; DEBUGVAR Only18
; DEBUGVAR NoSugarStepRight2
; DEBUGVAR HalfPrice
DEBUGVAR WebAppShow
If IgnoreNetCore = "true" Then
Else
@ -1291,7 +1262,7 @@
DEBUGVAR MachineStage
;DEBUGVAR MachineStage
;SAVELOG CountDownShowButton
;SAVELOG ShowButtonClickFull
@ -1316,13 +1287,7 @@
If CountDownPauseVideo = 1 Then
If InvokeDiscountCMD = "true" Then
If JXMLVersionInt > 451 Then
TapScreen 30 638
EndIf
EndIf
TapScreen 30 638
EndIf
If CountDownPauseVideo = 0 Then