update topping2 index

This commit is contained in:
kenta-work 2023-09-11 14:12:40 +07:00
parent 2b9b3d8190
commit 2eacf5c311
2 changed files with 10 additions and 8 deletions

View file

@ -48,7 +48,7 @@
Var CHECK_EventOpen_Double = 0
If RecipeTag3 = "CoffeePlay" Then
;Open "ROOT/taobin_project/xml/page_topping_select8.xml"
Open "ROOT/taobin_project/xml/page_topping_select8.xml"
EndIf
If BoxID = 200001 Then

View file

@ -1890,7 +1890,7 @@
If EnableLightRoast = "Enable" Then
Var CustomCoffeeEnable = "True"
Var showCustomCoffee = "Enable"
var showCoffeeLevel = "Enable"
var showCoffeeQuantity = "Enable"
If toppingID2Default = "" Then
Var CustomCoffeeQuantityState[1] = "PressForever"
@ -4975,13 +4975,14 @@
Var topping2 = toppingID2index1
EndIf
If CustomCoffeeQuantityState[1] = "PressForever" Then
Var topping2 = toppingID2index3
Var topping2 = toppingID2index2
EndIf
If CustomCoffeeQuantityState[2] = "PressForever" Then
Var topping2 = toppingID2index4
Var topping2 = toppingID2index3
EndIf
Else
If toppingID2index3 = 1060 Then
If toppingID2index3 = "" Then
Else
Var topping2 = 0
EndIf
EndIf
@ -5014,7 +5015,8 @@
Var topping10 = 0
EndIf
Else
If toppingID2index3 = 1060 Then
If toppingID2index3 = "" Then
Else
Var topping2 = 0
EndIf
Var topping7 = 0
@ -5558,10 +5560,10 @@
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price1
EndIf
If CustomCoffeeQuantityState[1] = "PressForever" Then
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price3
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price2
EndIf
If CustomCoffeeQuantityState[2] = "PressForever" Then
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price4
Var TOPPING_PRICE = TOPPING_PRICE + toppingID2price3
EndIf
If CustomCoffeeLevelState[0] = "PressForever" Then