add mystery cup
This commit is contained in:
parent
454d4ab292
commit
287e0b5325
17 changed files with 4966 additions and 10 deletions
|
|
@ -299,6 +299,8 @@
|
|||
Var img_smth_dis2 = "/bt_smoothie_disable2_no.png"
|
||||
|
||||
|
||||
Var CerealMilkEnable = "Enable"
|
||||
|
||||
Var topping_price_refresh = 1
|
||||
|
||||
Var StrawState = "Enable"
|
||||
|
|
@ -344,12 +346,18 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var CerealMilkX = 400
|
||||
Else
|
||||
Var CerealMilkX = 270
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
DEBUGVAR Timeout
|
||||
|
||||
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 40 Then
|
||||
|
|
@ -528,6 +536,12 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var CerealMilkX = 400
|
||||
Else
|
||||
Var CerealMilkX = 270
|
||||
EndIf
|
||||
|
||||
Function 2
|
||||
|
||||
|
||||
|
|
@ -1266,7 +1280,7 @@
|
|||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
If TOPPING2 = "shot coffee 1007" Then
|
||||
If TOPPING2 = "shot coffee 1007" Then
|
||||
|
||||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
|
|
@ -1382,7 +1396,7 @@
|
|||
|
||||
EndIf
|
||||
|
||||
;-END
|
||||
;-END
|
||||
If TOPPING3 = "Collagen" Then
|
||||
Var CollagenState = "Enable"
|
||||
Else
|
||||
|
|
@ -1395,6 +1409,9 @@
|
|||
|
||||
If MenuCodeName1 = "Cereal-Milk" Then
|
||||
Var CerealMilkToppingEnable = "Enable"
|
||||
Var CerealMilkPrice = SubMenuPrice1
|
||||
Var ExtraTopping = "Enable"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -2938,19 +2955,38 @@
|
|||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> topping_shot_price_x </X>
|
||||
<X> CerealMilkX </X>
|
||||
<Y> 2 </Y>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<State> "ShotCoffeePremium"</State>
|
||||
<State> CerealMilkEnable</State>
|
||||
<Size> 36 </Size>
|
||||
<Color> 0x84776F </Color>
|
||||
<Value> text_price_topping </Value>
|
||||
<Value> CerealMilkPrice </Value>
|
||||
</Text>
|
||||
|
||||
</Row1>
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
|
||||
<Row1>
|
||||
<Width> 986 </Width>
|
||||
<Height> "auto" </Height>
|
||||
|
|
@ -4029,7 +4065,20 @@
|
|||
Machine PreparCup
|
||||
EndIf
|
||||
|
||||
Var CerealMilkAddAmount = SubMenuPrice1 - PriceDrinkNoTop
|
||||
|
||||
If CerealMilkAddAmount = 0 Then
|
||||
Var CerealMilkPrice = "(+฿10)"
|
||||
|
||||
Else
|
||||
Var CerealMilkPrice = "(+฿" + CerealMilkAddAmount
|
||||
Var CerealMilkPrice = CerealMilkPrice + ")"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR CerealMilkAddAmount
|
||||
|
||||
|
||||
|
||||
DEBUGVAR PriceDrinkNoTop
|
||||
DEBUGVAR PriceDiff
|
||||
DEBUGVAR showShotEnable
|
||||
|
|
@ -4108,6 +4157,13 @@
|
|||
Var DisableUsingCode = "false"
|
||||
|
||||
EndIf
|
||||
|
||||
If CerealMilkEnable = "Press" Then
|
||||
Var TOPPING_PRICE = TOPPING_PRICE + CerealMilkAddAmount
|
||||
Var DisableUsingCode = "true"
|
||||
Else
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR SelectDrinkType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue