Mode inter foff
This commit is contained in:
parent
d8b34b8117
commit
f32ee6a538
12 changed files with 2748 additions and 2696 deletions
|
|
@ -113,6 +113,7 @@
|
|||
|
||||
Var topping_shot_price_x = 630
|
||||
Var text_x_add_oreo_price = 510
|
||||
Var text_show_normal_x = 408
|
||||
Else
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/topping2"
|
||||
|
|
@ -126,6 +127,7 @@
|
|||
|
||||
Var topping_shot_price_x = 600
|
||||
Var text_x_add_oreo_price = 490
|
||||
Var text_show_normal_x = 386
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -251,19 +253,19 @@
|
|||
If hot_button_state = "Disable2" Then
|
||||
Var text_price_d1 = ""
|
||||
Else
|
||||
Var text_price_d1 !assigned IntFormat( PriceD1 , DisplayFormat, PreScaleConvert)
|
||||
Var text_price_d1 !assigned StringFmt( PriceD1 , DisplayFormat, PreScaleConvert)
|
||||
EndIf
|
||||
|
||||
If cold_button_state = "Disable2" Then
|
||||
Var text_price_d2 = ""
|
||||
Else
|
||||
Var text_price_d2 !assigned IntFormat( PriceD2 , DisplayFormat, PreScaleConvert)
|
||||
Var text_price_d2 !assigned StringFmt( PriceD2 , DisplayFormat, PreScaleConvert)
|
||||
EndIf
|
||||
|
||||
If blend_button_state = "Disable2" Then
|
||||
Var text_price_d3 = ""
|
||||
Else
|
||||
Var text_price_d3 !assigned IntFormat( PriceD3 , DisplayFormat, PreScaleConvert)
|
||||
Var text_price_d3 !assigned StringFmt( PriceD3 , DisplayFormat, PreScaleConvert)
|
||||
EndIf
|
||||
|
||||
DEBUGVAR PD_CODE1
|
||||
|
|
@ -377,6 +379,7 @@
|
|||
|
||||
Var topping_shot_price_x = 630
|
||||
Var text_x_add_oreo_price = 510
|
||||
Var text_show_normal_x = 408
|
||||
Else
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/topping2"
|
||||
|
|
@ -390,6 +393,7 @@
|
|||
|
||||
Var topping_shot_price_x = 600
|
||||
Var text_x_add_oreo_price = 490
|
||||
Var text_show_normal_x = 386
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -523,8 +527,27 @@
|
|||
|
||||
|
||||
If TOPPING6 = "Topping-Volcano" Then
|
||||
Var text_price_6 = "(+฿" + toppingID6price2
|
||||
Var text_price_6 = text_price_6 + ")"
|
||||
|
||||
If toppingID6price2 > 0 Then
|
||||
DEBUGVAR toppingID6price2
|
||||
DEBUGVAR DisplayFormat
|
||||
|
||||
Var toppingID6price2Conv !assigned StringFmt( toppingID6price2 , DisplayFormat, PreScaleConvert)
|
||||
|
||||
DEBUGVAR toppingID6price2Conv
|
||||
|
||||
Var text_price_6 = ""
|
||||
|
||||
Var text_price_6 = toppingID6price2Conv + ")"
|
||||
Var text_price_6 = "(+" + text_price_6
|
||||
|
||||
|
||||
|
||||
DEBUGVAR text_price_6
|
||||
Else
|
||||
|
||||
Var text_price_6 = ""
|
||||
EndIf
|
||||
|
||||
If blend_button_state = "PressForever" Then
|
||||
|
||||
|
|
@ -1033,6 +1056,12 @@
|
|||
Var ShotCoffeeBG = "Enable"
|
||||
Var showShotEnable = "Enable"
|
||||
Var ExtraTopping = "Enable"
|
||||
|
||||
Var toppingID2price2Conv !assigned StringFmt( toppingID2price2 , DisplayFormat, PreScaleConvert)
|
||||
|
||||
DEBUGVAR toppingID2price2Conv
|
||||
Var text_shot_normal_add = toppingID2price2Conv + ")"
|
||||
Var text_shot_normal_add = "(+" + text_shot_normal_add
|
||||
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1042,7 +1071,7 @@
|
|||
|
||||
Var ShotCoffeeBG = "Enable"
|
||||
Var showShotEnable = "Enable"
|
||||
Var text_price_topping = "(+฿" + toppingID2price2
|
||||
|
||||
Var ExtraTopping = "Enable"
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
|
|
@ -1054,7 +1083,7 @@
|
|||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Var text_price_topping = "(+฿" + toppingID2price2
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1063,7 +1092,7 @@
|
|||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Var text_price_topping = "(+฿" + toppingID2price2
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1072,7 +1101,7 @@
|
|||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Var text_price_topping = "(+฿" + toppingID2price2
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1082,7 +1111,7 @@
|
|||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Var text_price_topping = "(+฿" + toppingID2price2
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1091,7 +1120,7 @@
|
|||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Var text_price_topping = "(+฿" + toppingID2price2
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1101,7 +1130,7 @@
|
|||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Var text_price_topping = "(+฿" + toppingID2price2
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1111,7 +1140,7 @@
|
|||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Var text_price_topping = "(+฿" + toppingID2price2
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1120,7 +1149,7 @@
|
|||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Var text_price_topping = "(+฿" + toppingID2price2
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -1130,11 +1159,19 @@
|
|||
Var ShotCoffeePremium = "Enable"
|
||||
Var showShotEnable = "Invisible"
|
||||
Var ExtraTopping = "Enable"
|
||||
Var text_price_topping = "(+฿" + toppingID2price2
|
||||
|
||||
DEBUGVAR TOPPING2
|
||||
Refresh
|
||||
EndIf
|
||||
Var text_price_topping = text_price_topping + ")"
|
||||
|
||||
If ShotCoffeePremium = "Enable" Then
|
||||
Var toppingID2price2Conv !assigned StringFmt( toppingID2price2 , DisplayFormat, PreScaleConvert)
|
||||
|
||||
DEBUGVAR toppingID2price2Conv
|
||||
Var text_price_topping = toppingID2price2Conv + ")"
|
||||
Var text_price_topping = "(+" + text_price_topping
|
||||
|
||||
EndIf
|
||||
|
||||
;-END
|
||||
If TOPPING3 = "Collagen" Then
|
||||
|
|
@ -2640,7 +2677,7 @@
|
|||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Filename> Var( DirImage + "/bg_top_shot.png") </Filename>
|
||||
<Filename> Var( DirImage + "/bg_top_shot2.png") </Filename>
|
||||
</Image>
|
||||
;
|
||||
<Button>
|
||||
|
|
@ -2712,6 +2749,18 @@
|
|||
<Filename> Var( DirImage + "/text4.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> text_show_normal_x </X>
|
||||
<Y> 4 </Y>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<State> "Enable" </State>
|
||||
<Size> 36 </Size>
|
||||
<Color> 0x84776F </Color>
|
||||
<Value> text_shot_normal_add </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
</Row1>
|
||||
;
|
||||
;
|
||||
|
|
@ -3693,7 +3742,7 @@
|
|||
If SelectDrinkType = 0 Then
|
||||
Var PriceDrinkTmpShow = "---"
|
||||
Else
|
||||
Var PriceDrinkTmpShow !assigned IntFormat( PriceDrinkTmpShow , DisplayFormat, PreScaleConvert)
|
||||
Var PriceDrinkTmpShow !assigned StringFmt( PriceDrinkTmp , DisplayFormat, PreScaleConvert)
|
||||
EndIf
|
||||
SAVELOG PriceDrinkTmp
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue