Add just
This commit is contained in:
parent
33b361ca2e
commit
e25a3c1fed
30 changed files with 896 additions and 44 deletions
|
|
@ -375,9 +375,9 @@
|
|||
;DEBUGVAR "FlushTxRef1"
|
||||
;FlushTxRef1
|
||||
|
||||
If JXMLVersionInt > 428 Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/ui/lang.tsv"
|
||||
EndIf
|
||||
;If JXMLVersionInt > 428 Then
|
||||
; LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/ui/lang.tsv"
|
||||
;EndIf
|
||||
|
||||
Var SoundThaiIndex = 0
|
||||
EndIf
|
||||
|
|
@ -755,6 +755,10 @@
|
|||
|
||||
Var XButtonMember = 384
|
||||
Var YButtonMember = 1695
|
||||
|
||||
If Not#LanguageLoaded = "" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/mys/menu/lang.tsv"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CountryName = "Indonesia" Then
|
||||
|
|
@ -764,6 +768,10 @@
|
|||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/ids/"
|
||||
Var CountDownShowButton = 35
|
||||
|
||||
If Not#LanguageLoaded = "" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/ids/menu/lang.tsv"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CountryName = "Australia" Then
|
||||
|
|
@ -793,6 +801,10 @@
|
|||
|
||||
Var CountDownShowButton = 35
|
||||
|
||||
If Not#LanguageLoaded = "" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/aus/menu/lang.tsv"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -804,7 +816,7 @@
|
|||
Var LanguageObjectShow = "Enable"
|
||||
Var NoLangObjectShow = "Invisible"
|
||||
|
||||
If Not#LanguageLoaded = "" Then
|
||||
If Not#LanguageResult = "false" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/ui/lang.tsv"
|
||||
EndIf
|
||||
|
||||
|
|
@ -1069,7 +1081,11 @@
|
|||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.lxml"
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
;OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.lxml"
|
||||
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
|
|
@ -1423,7 +1439,10 @@
|
|||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.lxml"
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
|
||||
;OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_recommend.lxml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -598,7 +598,7 @@
|
|||
If CountryName = "Thailand" Then
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_other.lxml"
|
||||
Else
|
||||
TRY OpenFileXML
|
||||
Open OpenFileXML
|
||||
EndIf
|
||||
</EventClick>
|
||||
<Language>
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@
|
|||
EndIf
|
||||
Else
|
||||
|
||||
|
||||
; echo 1 > /mnt/sdcard/game_enable
|
||||
READ_FILE "/mnt/sdcard/game_enable" game_mode_str
|
||||
STRCONTAIN "1" game_mode_str game_mode_enable
|
||||
DEBUGVAR game_mode_enable
|
||||
|
|
@ -167,9 +167,9 @@
|
|||
DEBUGVAR ACCString
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var LangString = "LANG: "TH"\r\n"
|
||||
Else
|
||||
Var LangString = "LANG: "EN"\r\n"
|
||||
Else
|
||||
Var LangString = "LANG: "TH"\r\n"
|
||||
EndIf
|
||||
|
||||
; reset
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@
|
|||
Var RemainAmountKeep = 0
|
||||
|
||||
Var showRemaining = charOfBaht + RemainAmountStr
|
||||
Var showRemaining !assigned StringFmt( RemainAmount, DisplayFormat, PreScaleConvertShow )
|
||||
Var showRemaining !assigned StringFmt( RemainAmount, DisplayFormatFull, PreScaleConvertShow )
|
||||
|
||||
Var VendingREFID = ""
|
||||
|
||||
|
|
@ -220,7 +220,7 @@
|
|||
Var showRemaining = RemainAmountStr + " บาท"
|
||||
EndIf
|
||||
|
||||
Var showRemaining !assigned StringFmt( RemainAmount, DisplayFormat, PreScaleConvertShow )
|
||||
Var showRemaining !assigned StringFmt( RemainAmount, DisplayFormatFull, PreScaleConvertShow )
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -294,13 +294,13 @@
|
|||
Var Canout = SumCoinAmount - PayAmount
|
||||
If Canout = 0 Then
|
||||
Var RemainAmountStr = 0
|
||||
Var RemainAmountStr !assigned StringFmt( Canout, DisplayFormat, PreScaleConvertShow )
|
||||
Var RemainAmountStr !assigned StringFmt( Canout, DisplayFormatFull, PreScaleConvertShow )
|
||||
Else
|
||||
|
||||
If show_eng = "true" Then
|
||||
;Var RemainAmountStr = "Change " + Canout
|
||||
;Var RemainAmountStr = RemainAmountStr + "###size=90"
|
||||
Var RemainAmountStr !assigned StringFmt( Canout, DisplayFormat, PreScaleConvertShow )
|
||||
Var RemainAmountStr !assigned StringFmt( Canout, DisplayFormatFull, PreScaleConvertShow )
|
||||
Var RemainAmountStr = "Change " + RemainAmountStr
|
||||
Var RemainAmountStr = RemainAmountStr + "###size=90"
|
||||
Else
|
||||
|
|
@ -317,7 +317,7 @@
|
|||
|
||||
Else
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
Var RemainAmountStr !assigned StringFmt( RemainAmount, DisplayFormat, PreScaleConvertShow )
|
||||
Var RemainAmountStr !assigned StringFmt( RemainAmount, DisplayFormatFull, PreScaleConvertShow )
|
||||
EndIf
|
||||
|
||||
;Var RemainAmount = 0
|
||||
|
|
@ -327,7 +327,7 @@
|
|||
Var showRemaining = "Free"
|
||||
EndIf
|
||||
|
||||
Var showRemaining !assigned StringFmt( RemainAmount, DisplayFormat, PreScaleConvertShow )
|
||||
Var showRemaining !assigned StringFmt( RemainAmount, DisplayFormatFull, PreScaleConvertShow )
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1218,8 +1218,8 @@
|
|||
Var RemainAmountStr = "" + RemainAmount
|
||||
Var showRemaining = charOfBaht + RemainAmountStr
|
||||
|
||||
Var RemainAmountStr !assigned StringFmt( RemainAmount, DisplayFormat, PreScaleConvertShow )
|
||||
Var showRemaining !assigned StringFmt( RemainAmount, DisplayFormat, PreScaleConvertShow )
|
||||
Var RemainAmountStr !assigned StringFmt( RemainAmount, DisplayFormatFull, PreScaleConvertShow )
|
||||
Var showRemaining !assigned StringFmt( RemainAmount, DisplayFormatFull, PreScaleConvertShow )
|
||||
|
||||
|
||||
|
||||
|
|
@ -1259,12 +1259,12 @@
|
|||
Var Canout = SumCoinAmount - PayAmount
|
||||
If Canout = 0 Then
|
||||
Var RemainAmountStr = 0
|
||||
Var RemainAmountStr !assigned StringFmt( Canout, DisplayFormat, PreScaleConvertShow )
|
||||
Var RemainAmountStr !assigned StringFmt( Canout, DisplayFormatFull, PreScaleConvertShow )
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
;Var RemainAmountStr = "Change " + Canout
|
||||
;Var RemainAmountStr = RemainAmountStr + "###size=90"
|
||||
Var RemainAmountStr !assigned StringFmt( Canout, DisplayFormat, PreScaleConvertShow )
|
||||
Var RemainAmountStr !assigned StringFmt( Canout, DisplayFormatFull, PreScaleConvertShow )
|
||||
Var RemainAmountStr = "Change " + RemainAmountStr
|
||||
Var RemainAmountStr = RemainAmountStr + "###size=90"
|
||||
Else
|
||||
|
|
@ -1281,14 +1281,14 @@
|
|||
|
||||
Else
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
Var RemainAmountStr !assigned StringFmt( RemainAmount, DisplayFormat, PreScaleConvertShow )
|
||||
Var RemainAmountStr !assigned StringFmt( RemainAmount, DisplayFormatFull, PreScaleConvertShow )
|
||||
EndIf
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
;Var RemainAmount = 0
|
||||
Var showRemaining = charOfBaht + RemainAmountStr
|
||||
Var showRemaining !assigned StringFmt( RemainAmount, DisplayFormat, PreScaleConvertShow )
|
||||
Var showRemaining !assigned StringFmt( RemainAmount, DisplayFormatFull, PreScaleConvertShow )
|
||||
Var alphaState2 = "Enable"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
Var UserSeletedSugar = 0
|
||||
|
||||
SAVELOG "Event Open Select 6"
|
||||
SAVELOG "Event Open Select 6 inter"
|
||||
|
||||
Var y_topping_bg = 912
|
||||
|
||||
|
|
@ -238,20 +238,20 @@
|
|||
If hot_button_state = "Disable2" Then
|
||||
Var text_price_d1 = ""
|
||||
Else
|
||||
Var text_price_d1 !assigned StringFmt( PriceD1 , DisplayFormat, PreScaleConvertShow)
|
||||
Var text_price_d1 !assigned StringFmt( PriceD1 , DisplayFormatFull, PreScaleConvertShow)
|
||||
EndIf
|
||||
|
||||
If cold_button_state = "Disable2" Then
|
||||
Var text_price_d2 = ""
|
||||
Else
|
||||
Var text_price_d2 !assigned StringFmt( PriceD2 , DisplayFormat, PreScaleConvertShow)
|
||||
Var text_price_d2 !assigned StringFmt( PriceD2 , DisplayFormatFull, PreScaleConvertShow)
|
||||
EndIf
|
||||
|
||||
|
||||
If blend_button_state = "Disable2" Then
|
||||
Var text_price_d3 = ""
|
||||
Else
|
||||
Var text_price_d3 !assigned StringFmt( PriceD3 , DisplayFormat, PreScaleConvertShow)
|
||||
Var text_price_d3 !assigned StringFmt( PriceD3 , DisplayFormatFull, PreScaleConvertShow)
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -1405,7 +1405,7 @@
|
|||
|
||||
|
||||
<Button>
|
||||
<X> 456 </X>
|
||||
<X> 416 </X>
|
||||
<Y> 72 </Y>
|
||||
<State> hot_button_state </State>
|
||||
<Mode> "No" </Mode>
|
||||
|
|
@ -1470,7 +1470,7 @@
|
|||
|
||||
|
||||
<Button>
|
||||
<X> 614 </X>
|
||||
<X> 594 </X>
|
||||
<Y> 72 </Y>
|
||||
<State> cold_button_state </State>
|
||||
<Mode> "No" </Mode>
|
||||
|
|
@ -1583,15 +1583,16 @@
|
|||
|
||||
|
||||
<Text>
|
||||
<X> 552 </X>
|
||||
<X> 510 </X>
|
||||
<Y> 85 </Y>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Size> 23 </Size>
|
||||
<Color> text_hot_color </Color>
|
||||
<Value> text_price_d1 </Value>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 710 </X>
|
||||
<X> 690 </X>
|
||||
<Y> 85 </Y>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Size> 23 </Size>
|
||||
|
|
@ -3736,7 +3737,7 @@
|
|||
If SelectDrinkType = 0 Then
|
||||
Var PriceDrinkTmpShow = "---"
|
||||
Else
|
||||
Var PriceDrinkTmpShow !assigned StringFmt( PriceDrinkTmp , DisplayFormat, PreScaleConvertShow)
|
||||
Var PriceDrinkTmpShow !assigned StringFmt( PriceDrinkTmp , DisplayFormatFull, PreScaleConvertShow)
|
||||
EndIf
|
||||
SAVELOG PriceDrinkTmp
|
||||
|
||||
|
|
|
|||
|
|
@ -670,10 +670,9 @@
|
|||
DEBUGVAR ACCString
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var LangString = "LANG: "TH"\r\n"
|
||||
Else
|
||||
Var LangString = "LANG: "EN"\r\n"
|
||||
EndIf
|
||||
Else
|
||||
Var LangString = "LANG: "TH"\r\n"
|
||||
|
||||
; reset
|
||||
WRITE_FILE "/mnt/sdcard/taobingame_acc.yaml" ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue