THAI: fix topping show that invisible
This commit is contained in:
parent
c060ada9a1
commit
dfaf71c2ab
2 changed files with 399 additions and 162 deletions
|
|
@ -340,27 +340,47 @@ If CART_COUNT = 0 Then
|
|||
If blend_button_state = "PressForever" Then
|
||||
Var toppingSelectState = "Enable"
|
||||
If toppingSelectState = "Enable" Then
|
||||
Var CustomOreoState = "Enable"
|
||||
Var CustomOvaltineState = "Enable"
|
||||
Var CustomCocoaState = "Enable"
|
||||
|
||||
|
||||
|
||||
|
||||
Var PopupToppingSelect = "Enable"
|
||||
|
||||
|
||||
If toppingID6index2 = 321 Then
|
||||
Var CustomOreoCheckState = "Enable"
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var CustomOreoCheckState = "Enable"
|
||||
Var CustomOreoState = "Enable"
|
||||
Else
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
Var CustomOreoState = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
Var CustomOreoCheckState = "Invisible"
|
||||
EndIf
|
||||
|
||||
If toppingID6index3 = 322 Then
|
||||
Var CustomCocoaCheckState = "Enable"
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var CustomCocoaCheckState = "Enable"
|
||||
Var CustomCocoaState = "Enable"
|
||||
Else
|
||||
Var CustomCocoaCheckState = "Disable"
|
||||
Var CustomCocoaState = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var CustomCocoaCheckState = "Disable"
|
||||
Var CustomCocoaCheckState = "Invisible"
|
||||
EndIf
|
||||
|
||||
If toppingID6index4 = 323 Then
|
||||
Var CustomOvaltineCheckState = "Enable"
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var CustomOvaltineCheckState = "Enable"
|
||||
Var CustomOvaltineState = "Enable"
|
||||
Else
|
||||
Var CustomOvaltineCheckState = "Disable"
|
||||
Var CustomOvaltineState = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var CustomOvaltineCheckState = "Disable"
|
||||
Var CustomOvaltineCheckState = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -1030,22 +1030,7 @@
|
|||
EndIf
|
||||
|
||||
|
||||
Var oreo_y = 1060
|
||||
Var oreo_button_y = 1070
|
||||
Var oreo_text_y = 1085
|
||||
|
||||
Var ovaltine_y = 1060
|
||||
Var ovaltine_button_y = 1070
|
||||
Var ovaltine_text_y = 1085
|
||||
|
||||
Var cocoa_y = 1060
|
||||
Var cocoa_button_y = 1070
|
||||
Var cocoa_text_y = 1085
|
||||
|
||||
Var bottom_y = 1060
|
||||
Var accept_y = 1075
|
||||
|
||||
Var offset = 0
|
||||
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If MenuReason = "arm-not-ready" Then
|
||||
|
|
@ -1086,26 +1071,53 @@
|
|||
Var MenuReasonStage = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
Var oreo_y = 1060
|
||||
Var oreo_button_y = 1070
|
||||
Var oreo_text_y = 1085
|
||||
|
||||
Var ovaltine_y = 1060
|
||||
Var ovaltine_button_y = 1070
|
||||
Var ovaltine_text_y = 1085
|
||||
|
||||
Var cocoa_y = 1060
|
||||
Var cocoa_button_y = 1070
|
||||
Var cocoa_text_y = 1085
|
||||
|
||||
Var bottom_y = 1060
|
||||
Var accept_y = 1075
|
||||
|
||||
Var offset_total = 0
|
||||
|
||||
If CustomOreoState = "Enable" Then
|
||||
Var offset = offset + 72
|
||||
Var ovaltine_y = 1060 + offset
|
||||
Var ovaltine_button_y = 1070 + offset
|
||||
Var ovaltine_text_y = 1085 + offset
|
||||
Var offset_total = 72
|
||||
EndIf
|
||||
|
||||
|
||||
Var ovaltine_offset = offset_total
|
||||
|
||||
If CustomOvaltineState = "Enable" Then
|
||||
Var offset = offset + 72
|
||||
Var cocoa_y = 1060 + offset
|
||||
Var cocoa_button_y = 1070 + offset
|
||||
Var cocoa_text_y = 1085 + offset
|
||||
Var offset_total = offset_total + 72
|
||||
EndIf
|
||||
|
||||
|
||||
Var cocoa_offset = offset_total
|
||||
|
||||
If CustomCocoaState = "Enable" Then
|
||||
Var offset = offset + 72
|
||||
Var bottom_y = 1060 + offset
|
||||
Var accept_y = 1075 + offset
|
||||
Var offset_total = offset_total + 72
|
||||
EndIf
|
||||
|
||||
Var bottom_offset = offset_total
|
||||
|
||||
Var ovaltine_y = 1060 + ovaltine_offset
|
||||
Var ovaltine_button_y = 1070 + ovaltine_offset
|
||||
Var ovaltine_text_y = 1085 + ovaltine_offset
|
||||
|
||||
Var cocoa_y = 1060 + cocoa_offset
|
||||
Var cocoa_button_y = 1070 + cocoa_offset
|
||||
Var cocoa_text_y = 1085 + cocoa_offset
|
||||
|
||||
Var bottom_y = 1060 + bottom_offset
|
||||
Var accept_y = 1075 + bottom_offset
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
|
@ -1460,7 +1472,7 @@
|
|||
DEBUGVAR toppingID6index4
|
||||
DEBUGVAR toppingID6index5
|
||||
DEBUGVAR toppingID6index6
|
||||
|
||||
|
||||
DEBUGVAR toppingID6index1Status
|
||||
DEBUGVAR toppingID6index2Status
|
||||
DEBUGVAR toppingID6index3Status
|
||||
|
|
@ -1665,6 +1677,8 @@
|
|||
Var SpecialMix = "Enable"
|
||||
Var CustomSyrup = "Enable"
|
||||
|
||||
|
||||
|
||||
Var showOreoAddEnable = "Disable"
|
||||
Var showOvaltineEnable = "Disable"
|
||||
Var showCocoaEnable = "Disable"
|
||||
|
|
@ -1726,7 +1740,7 @@
|
|||
Var showOreoAddEnable = "Disable"
|
||||
Var showOvaltineEnable = "Disable"
|
||||
Var showCocoaEnable = "Disable"
|
||||
|
||||
|
||||
If toppingSelectState = "Enable" Then
|
||||
Var CustomCocoaCheckState = "Disable"
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
|
|
@ -1745,8 +1759,45 @@
|
|||
; Var showCoffeeTamping = "Invisible"
|
||||
EndIf
|
||||
|
||||
If toppingID6index2Status = "" Then
|
||||
Var showOreoAddEnable = "Invisible"
|
||||
EndIf
|
||||
|
||||
If toppingID6index3Status = "" Then
|
||||
Var showCocoaEnable = "Invisible"
|
||||
EndIf
|
||||
|
||||
If toppingID6index4Status = "" Then
|
||||
Var showOvaltineEnable = "Invisible"
|
||||
EndIf
|
||||
|
||||
If toppingID6index5Status = "" Then
|
||||
Var showStrawberryEnable = "Invisible"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6Status = "" Then
|
||||
Var showYuzuEnable = "Invisible"
|
||||
EndIf
|
||||
|
||||
If toppingID6index2Status = "Disable" Then
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index3Status = "Disable" Then
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index4Status = "Disable" Then
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index5Status = "Disable" Then
|
||||
Var showStrawberryEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6Status = "Disable" Then
|
||||
Var showYuzuEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
Var ExtraTopping = "Enable"
|
||||
|
||||
|
|
@ -8731,28 +8782,42 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If SelectedToppingCount >= 2 Then
|
||||
If SelectedToppingCount >= 2 Then
|
||||
If showCocoaEnable = "Press" Then
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "" Then
|
||||
Var showCocoaEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
If showOreoAddEnable = "Press" Then
|
||||
Else
|
||||
Var showOreoAddEnable = "Disable"
|
||||
If toppingID6index2Status = "" Then
|
||||
Var showOreoAddEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If showCocoaEnable = "Disable" Then
|
||||
If toppingID6index3 = 322 Then
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
If showOreoAddEnable = "Disable" Then
|
||||
If toppingID6index2 = 321 Then
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var showOreoAddEnable = "Disible"
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var showOreoAddEnable = "Disible"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -8791,28 +8856,42 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If SelectedToppingCount >= 2 Then
|
||||
If SelectedToppingCount >= 2 Then
|
||||
If showCocoaEnable = "Press" Then
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "" Then
|
||||
Var showCocoaEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
If showOreoAddEnable = "Press" Then
|
||||
Else
|
||||
Var showOreoAddEnable = "Disable"
|
||||
If toppingID6index2Status = "" Then
|
||||
Var showOreoAddEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If showCocoaEnable = "Disable" Then
|
||||
If toppingID6index3 = 322 Then
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
If showOreoAddEnable = "Disable" Then
|
||||
If toppingID6index2 = 321 Then
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var showOreoAddEnable = "Disible"
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var showOreoAddEnable = "Disible"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -8907,25 +8986,39 @@
|
|||
If SelectedToppingCount >= 2 Then
|
||||
If showCocoaEnable = "Press" Then
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "" Then
|
||||
Var showCocoaEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
If showOvaltineEnable = "Press" Then
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "" Then
|
||||
Var showOvaltineEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If showCocoaEnable = "Disable" Then
|
||||
If toppingID6index3 = 322 Then
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
If showOvaltineEnable = "Disable" Then
|
||||
If toppingID6index4 = 323 Then
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -8971,25 +9064,39 @@
|
|||
If SelectedToppingCount >= 2 Then
|
||||
If showCocoaEnable = "Press" Then
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "" Then
|
||||
Var showCocoaEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
If showOvaltineEnable = "Press" Then
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "" Then
|
||||
Var showOvaltineEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If showCocoaEnable = "Disable" Then
|
||||
If showCocoaEnable = "Disable" Then
|
||||
If toppingID6index3 = 322 Then
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
If showOvaltineEnable = "Disable" Then
|
||||
If toppingID6index4 = 323 Then
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -9064,25 +9171,39 @@
|
|||
If SelectedToppingCount >= 2 Then
|
||||
If showOreoAddEnable = "Press" Then
|
||||
Else
|
||||
Var showOreoAddEnable = "Disable"
|
||||
If toppingID6index2Status = "" Then
|
||||
Var showOreoAddEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
If showOvaltineEnable = "Press" Then
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "" Then
|
||||
Var showOvaltineEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If showOreoAddEnable = "Disable" Then
|
||||
If toppingID6index2 = 321 Then
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var showOreoAddEnable = "Disable"
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
If showOvaltineEnable = "Disable" Then
|
||||
If toppingID6index4 = 323 Then
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -9140,25 +9261,39 @@
|
|||
If SelectedToppingCount >= 2 Then
|
||||
If showOreoAddEnable = "Press" Then
|
||||
Else
|
||||
Var showOreoAddEnable = "Disable"
|
||||
If toppingID6index2Status = "" Then
|
||||
Var showOreoAddEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
If showOvaltineEnable = "Press" Then
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "" Then
|
||||
Var showOvaltineEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If showOreoAddEnable = "Disable" Then
|
||||
If toppingID6index2 = 321 Then
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var showOreoAddEnable = "Disable"
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
If showOvaltineEnable = "Disable" Then
|
||||
If toppingID6index4 = 323 Then
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -9372,21 +9507,31 @@
|
|||
If showStrawberryEnable = "Press" Then
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
If toppingID6index5Status = "Enable" Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
Else
|
||||
Var showStrawberryEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
If toppingID6index6Status = "Enable" Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
Else
|
||||
Var showYuzuEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Else
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Press"
|
||||
If toppingID6index5Status = "Enable" Then
|
||||
Var showStrawberryEnable = "Press"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Disable"
|
||||
Var showYuzuEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -9413,37 +9558,46 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
SAVELOG " Press add Strawberry "
|
||||
|
||||
|
||||
|
||||
If showStrawberryEnable = "Press" Then
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
If toppingID6index5Status = "Enable" Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
Else
|
||||
Var showStrawberryEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
If toppingID6index6Status = "Enable" Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
Else
|
||||
Var showYuzuEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Else
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Press"
|
||||
If toppingID6index5Status = "Enable" Then
|
||||
Var showStrawberryEnable = "Press"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Disable"
|
||||
Var showYuzuEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var SelectSyrupType = 1
|
||||
|
||||
|
||||
Function 2
|
||||
|
||||
Refresh
|
||||
|
||||
|
||||
</EventClick>
|
||||
<Animation>
|
||||
<Style> "shake-text" </Style>
|
||||
|
|
@ -9497,20 +9651,30 @@
|
|||
|
||||
If showYuzuEnable = "Press" Then
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
If toppingID6index5Status = "Enable" Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
Else
|
||||
Var showStrawberryEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
If toppingID6index6Status = "Enable" Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
Else
|
||||
Var showYuzuEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Disable"
|
||||
Var showStrawberryEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Press"
|
||||
If toppingID6index6Status = "Enable" Then
|
||||
Var showYuzuEnable = "Press"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -9542,36 +9706,44 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
SAVELOG "Press add Yuzu"
|
||||
|
||||
|
||||
If showYuzuEnable = "Press" Then
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
If toppingID6index5Status = "Enable" Then
|
||||
Var showStrawberryEnable = "Enable"
|
||||
Else
|
||||
Var showStrawberryEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
If toppingID6index6Status = "Enable" Then
|
||||
Var showYuzuEnable = "Enable"
|
||||
Else
|
||||
Var showYuzuEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
|
||||
If toppingID6index5 = 324 Then
|
||||
Var showStrawberryEnable = "Disable"
|
||||
Var showStrawberryEnable = "Disable"
|
||||
EndIf
|
||||
|
||||
If toppingID6index6 = 325 Then
|
||||
Var showYuzuEnable = "Press"
|
||||
If toppingID6index6Status = "Enable" Then
|
||||
Var showYuzuEnable = "Press"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
Var SelectSyrupType = 1
|
||||
|
||||
Function 2
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
|
||||
</EventClick>
|
||||
|
|
@ -10064,14 +10236,11 @@
|
|||
DEBUGVAR TOPPING_PRICE
|
||||
|
||||
; Oreo
|
||||
Var strMulti6_1 = ""
|
||||
Var strMulti6_1 = "TPID:321+multiply:0"
|
||||
; Ovaltine
|
||||
Var strMulti6_2 = ""
|
||||
Var strMulti6_2 = "TPID:323+multiply:0"
|
||||
; Coaco
|
||||
Var strMulti6_3 = ""
|
||||
Var strMulti6_4 = ""
|
||||
Var strMulti6_5 = ""
|
||||
Var strMulti6_6 = ""
|
||||
Var strMulti6_3 = "TPID:322+multiply:0"
|
||||
|
||||
|
||||
If showOreoAddEnable = "Press" Then
|
||||
|
|
@ -10510,32 +10679,48 @@
|
|||
If SelectedToppingCount >= 2 Then
|
||||
If CustomOvaltineCheckState = "Press" Then
|
||||
Else
|
||||
Var CustomOvaltineCheckState = "Disable"
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "" Then
|
||||
Var CustomOvaltineCheckState = "Invisible"
|
||||
Var showOvaltineEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var CustomOvaltineCheckState = "Disable"
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
If CustomCocoaCheckState = "Press" Then
|
||||
Else
|
||||
Var CustomCocoaCheckState = "Disable"
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "" Then
|
||||
Var CustomCocoaCheckState = "Invisible"
|
||||
Var showCocoaEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var CustomCocoaCheckState = "Disable"
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If CustomOvaltineCheckState = "Disable" Then
|
||||
If toppingID6index4 = 323 Then
|
||||
Var CustomOvaltineCheckState = "Enable"
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var CustomOvaltineCheckState = "Disable"
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var CustomOvaltineCheckState = "Enable"
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var CustomOvaltineCheckState = "Disable"
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
If CustomCocoaCheckState = "Disable" Then
|
||||
If toppingID6index3 = 322 Then
|
||||
Var CustomCocoaCheckState = "Enable"
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var CustomCocoaCheckState = "Enable"
|
||||
Var showCocoaEnable = "Enable"
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var CustomCocoaCheckState = "Enable"
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var CustomCocoaCheckState = "Disable"
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -10590,31 +10775,47 @@
|
|||
If SelectedToppingCount >= 2 Then
|
||||
If CustomOreoCheckState = "Press" Then
|
||||
Else
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
Var showOreoAddEnable = "Disable"
|
||||
If toppingID6index2Status = "" Then
|
||||
Var CustomOreoCheckState = "Invisible"
|
||||
Var showOreoAddEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
If CustomCocoaCheckState = "Press" Then
|
||||
Else
|
||||
Var CustomCocoaCheckState = "Disable"
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "" Then
|
||||
Var CustomCocoaCheckState = "Invisible"
|
||||
Var showCocoaEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var CustomCocoaCheckState = "Disable"
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If CustomOreoCheckState = "Disable" Then
|
||||
If toppingID6index2 = 321 Then
|
||||
Var CustomOreoCheckState = "Enable"
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
Var showOreoAddEnable = "Disable"
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var CustomOreoCheckState = "Enable"
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
If CustomCocoaCheckState = "Disable" Then
|
||||
If toppingID6index3 = 322 Then
|
||||
Var CustomCocoaCheckState = "Enable"
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var CustomCocoaCheckState = "Disable"
|
||||
Var showCocoaEnable = "Disable"
|
||||
If toppingID6index3Status = "Enable" Then
|
||||
Var CustomCocoaCheckState = "Enable"
|
||||
Var showCocoaEnable = "Enable"
|
||||
Else
|
||||
Var CustomCocoaCheckState = "Disable"
|
||||
Var showCocoaEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -10670,31 +10871,47 @@
|
|||
If SelectedToppingCount >= 2 Then
|
||||
If CustomOvaltineCheckState = "Press" Then
|
||||
Else
|
||||
Var CustomOvaltineCheckState = "Disable"
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "" Then
|
||||
Var CustomOvaltineCheckState = "Invisible"
|
||||
Var showOvaltineEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var CustomOvaltineCheckState = "Disable"
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
If CustomOreoCheckState = "Press" Then
|
||||
Else
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
Var showOreoAddEnable = "Disable"
|
||||
If toppingID6index2Status = "" Then
|
||||
Var CustomOreoCheckState = "Invisible"
|
||||
Var showOreoAddEnable = "Invisible"
|
||||
EndIf
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If CustomOvaltineCheckState = "Disable" Then
|
||||
If toppingID6index4 = 323 Then
|
||||
Var CustomOvaltineCheckState = "Enable"
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var CustomOvaltineCheckState = "Disable"
|
||||
Var showOvaltineEnable = "Disable"
|
||||
If toppingID6index4Status = "Enable" Then
|
||||
Var CustomOvaltineCheckState = "Enable"
|
||||
Var showOvaltineEnable = "Enable"
|
||||
Else
|
||||
Var CustomOvaltineCheckState = "Disable"
|
||||
Var showOvaltineEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
If CustomOreoCheckState = "Disable" Then
|
||||
If toppingID6index2 = 321 Then
|
||||
Var CustomOreoCheckState = "Enable"
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
Var showOreoAddEnable = "Disable"
|
||||
If toppingID6index2Status = "Enable" Then
|
||||
Var CustomOreoCheckState = "Enable"
|
||||
Var showOreoAddEnable = "Enable"
|
||||
Else
|
||||
Var CustomOreoCheckState = "Disable"
|
||||
Var showOreoAddEnable = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue