From 743b298694b0adffc179bdada47a74dad9aaeb1b Mon Sep 17 00:00:00 2001 From: kong Date: Wed, 9 Jun 2021 14:27:45 +0700 Subject: [PATCH] Move release lid and straw to brewing3..xml --- animation01/Menu Description - Sheet1.tsv | 12 +- xml/page_brewing3.xml | 2 - xml/page_catalog_choose_drink6.pml | 3 + xml/page_catalog_choose_drink6.xml | 333 ++++++++++++++++++++-- xml/page_drinkok.xml | 14 + xml/page_lid_straw.xml | 9 +- xml/page_topping_select.xml | 14 + 7 files changed, 346 insertions(+), 41 deletions(-) diff --git a/animation01/Menu Description - Sheet1.tsv b/animation01/Menu Description - Sheet1.tsv index b8ffe531..025aad50 100644 --- a/animation01/Menu Description - Sheet1.tsv +++ b/animation01/Menu Description - Sheet1.tsv @@ -74,14 +74,14 @@ Ice 12-05-02-0017 1 23 24 32 0:32 28 Iced water 12-05-02-0018 1 23 16 24 62 1:02 29 Hot Water 12-05-01-0002 1 16 24 55 0:55 51 Coke 12-05-02-0019 0:00 #DIV/0! -Sprite 12-05-02-0020 0:00 #DIV/0! +Sprite 12-05-02-0020 1 23 18 24 20 0:20 8 7UP 12-05-02-0021 1 23 18 24 20 0:20 8 MATCHA SHAKE 12-04-02-0001 1 25 26 15 6 7 23 24 181 3:01 30 CHOCOLATE SHAKE 12-04-02-0002 1 25 26 6 7 15 23 24 219 3:39 36 STRAWBERRY SHAKE 12-04-02-0003 1 25 26 19 17 23 24 178 2:58 35 ESPRESSO SHAKE 12-04-02-0004 1 25 26 2 3 4 5 17 23 24 230 3:50 28 THAI TEA SHAKE 12-04-02-0005 1 25 26 6 7 10 23 24 223 3:43 37 -KOKUTO SHAKE 12-04-02-0006 1 25 26 27 17 23 24 180 3:00 35 +KOKUTO SHAKE 12-04-02-0006 1 25 26 26 17 23 24 180 3:00 35 BLUEBERRY SHAKE 12-04-02-0007 1 25 26 20 17 23 24 171 2:51 33 TAIWANESE TEA SHAKE 12-04-02-0008 1 25 26 10 17 23 24 197 3:17 39 CARAMEL SHAKE 12-04-02-0009 1 25 26 22 17 23 24 196 3:16 38 @@ -106,7 +106,11 @@ ICED AMERICANO ETHIOPAI GUJI 12-01-02-0011 1 2 3 4 5 23 16 24 133 2:13 32 ESPRESSO ETHIOPAI GUJI 12-01-01-0013 1 2 3 4 5 24 66 1:06 32 ICED MATCHA LIMENADE 12-02-02-0012 1 8 9 12 23 24 1 1 32 HOT MATCHA LIMENADE 12-02-01-0012 1 8 9 12 16 24 1 1 32 - 12-05-02-0023 +Energy drink 12-05-02-0034 1 34 23 24 100 3:40 32 +Energy drink soda 12-05-02-0035 1 34 13 23 24 100 3:40 32 +Mango milk 12-03-02-0007 1 31 7 31 23 24 100 4:40 32 + + Espresso 14-01-01-0001 1 2 3 4 5 24 66 1:06 16 @@ -197,7 +201,7 @@ TAIWANESE TEA SHAKE 14-04-02-0008 1 25 26 10 17 23 24 197 3:17 39 CARAMEL SHAKE 14-04-02-0009 1 25 26 22 17 23 24 196 3:16 38 MILK SHAKE 14-04-02-0010 1 25 26 6 7 23 24 120 2:00 23 PLAIN PROTEIN 14-04-02-0011 1 25 26 23 24 100 1:40 32 -Energy drink 14-05-02-0034 1 34 23 24 100 2:40 32 +Energy drink 14-05-02-0034 1 34 23 24 100 3:40 32 Energy drink soda 14-05-02-0035 1 34 13 23 24 100 3:40 32 Energy drink Pepsi 14-05-02-0036 1 34 14 23 24 100 4:40 32 Energy drink lime soda 14-05-02-0037 1 34 12 13 23 24 100 5:40 32 diff --git a/xml/page_brewing3.xml b/xml/page_brewing3.xml index a9eeb648..2a42d2ef 100644 --- a/xml/page_brewing3.xml +++ b/xml/page_brewing3.xml @@ -7,8 +7,6 @@ ; On open move from page_brewing3.xml - ;Var LidState = "Enable" - Var StarwState = "Enable" Var countClick2 = 0 Var Timeout = 0 diff --git a/xml/page_catalog_choose_drink6.pml b/xml/page_catalog_choose_drink6.pml index 81da1449..998fb8f8 100644 --- a/xml/page_catalog_choose_drink6.pml +++ b/xml/page_catalog_choose_drink6.pml @@ -7,6 +7,7 @@ product_code = [] product_code.append('12-05-02-0007') + product_code.append('12-05-02-0020') product_code.append('12-05-02-0021') product_code.append('12-05-02-0035') product_code.append('12-05-02-0010') @@ -30,6 +31,8 @@ product_code.append('12-05-01-0001') product_code.append('12-05-02-0001') + product_code.append('12-05-02-0034') + product_code.append('12-05-02-0004') product_code.append('12-05-02-0005') diff --git a/xml/page_catalog_choose_drink6.xml b/xml/page_catalog_choose_drink6.xml index f80f8cb9..89b7c798 100644 --- a/xml/page_catalog_choose_drink6.xml +++ b/xml/page_catalog_choose_drink6.xml @@ -356,7 +356,100 @@ $12-05-02-0007.descriptionE - ; button i=2 12-05-02-0021 + ; button i=2 12-05-02-0020 + + 33 + 22 + 225 + 296 + $12-05-02-0020.Button + + + 182 + 12 + ShowPrice + "Hurr" + 150 + 27 + KanitTTF + 0xB78F24 + $12-05-02-0020.Price + + + 164 + 12 + ShowPrice + 20 + 27 + KanitTTF + 0xB78F24 + "฿"" + + + 16 + 190 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + $12-05-02-0020.Name + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + $12-05-02-0020.description + + + 16 + 190 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + $12-05-02-0020.NameE + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + $12-05-02-0020.descriptionE + + + ; button i=3 12-05-02-0021 33 22 @@ -449,7 +542,100 @@ $12-05-02-0021.descriptionE - ; button i=3 12-05-02-0010 + ; button i=4 12-05-02-0035 + + 33 + 22 + 225 + 296 + $12-05-02-0035.Button + + + 182 + 12 + ShowPrice + "Hurr" + 150 + 27 + KanitTTF + 0xB78F24 + $12-05-02-0035.Price + + + 164 + 12 + ShowPrice + 20 + 27 + KanitTTF + 0xB78F24 + "฿"" + + + 16 + 190 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + $12-05-02-0035.Name + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + $12-05-02-0035.description + + + 16 + 190 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + $12-05-02-0035.NameE + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + $12-05-02-0035.descriptionE + + + ; button i=5 12-05-02-0010 33 22 @@ -542,7 +728,7 @@ $12-05-02-0010.descriptionE - ; button i=4 12-05-02-0011 + ; button i=6 12-05-02-0011 33 22 @@ -635,7 +821,7 @@ $12-05-02-0011.descriptionE - ; button i=5 12-05-02-0028 + ; button i=7 12-05-02-0028 33 22 @@ -728,7 +914,7 @@ $12-05-02-0028.descriptionE - ; button i=6 12-05-02-0012 + ; button i=8 12-05-02-0012 33 22 @@ -821,7 +1007,7 @@ $12-05-02-0012.descriptionE - ; button i=7 12-05-02-0013 + ; button i=9 12-05-02-0013 33 22 @@ -914,7 +1100,7 @@ $12-05-02-0013.descriptionE - ; button i=8 12-05-02-0025 + ; button i=10 12-05-02-0025 33 22 @@ -1007,7 +1193,7 @@ $12-05-02-0025.descriptionE - ; button i=9 12-05-02-0031 + ; button i=11 12-05-02-0031 33 22 @@ -1100,7 +1286,7 @@ $12-05-02-0031.descriptionE - ; button i=10 12-05-02-0008 + ; button i=12 12-05-02-0008 33 22 @@ -1193,7 +1379,7 @@ $12-05-02-0008.descriptionE - ; button i=11 12-05-02-0009 + ; button i=13 12-05-02-0009 33 22 @@ -1286,7 +1472,7 @@ $12-05-02-0009.descriptionE - ; button i=12 12-05-02-0024 + ; button i=14 12-05-02-0024 33 22 @@ -1379,7 +1565,7 @@ $12-05-02-0024.descriptionE - ; button i=13 12-05-02-0029 + ; button i=15 12-05-02-0029 33 22 @@ -1472,7 +1658,7 @@ $12-05-02-0029.descriptionE - ; button i=14 12-05-02-0014 + ; button i=16 12-05-02-0014 33 22 @@ -1565,7 +1751,7 @@ $12-05-02-0014.descriptionE - ; button i=15 12-05-02-0015 + ; button i=17 12-05-02-0015 33 22 @@ -1658,7 +1844,7 @@ $12-05-02-0015.descriptionE - ; button i=16 12-05-01-0001 + ; button i=18 12-05-01-0001 33 22 @@ -1751,7 +1937,7 @@ $12-05-01-0001.descriptionE - ; button i=17 12-05-02-0001 + ; button i=19 12-05-02-0001 33 22 @@ -1844,7 +2030,100 @@ $12-05-02-0001.descriptionE - ; button i=18 12-05-02-0004 + ; button i=20 12-05-02-0034 + + 33 + 22 + 225 + 296 + $12-05-02-0034.Button + + + 182 + 12 + ShowPrice + "Hurr" + 150 + 27 + KanitTTF + 0xB78F24 + $12-05-02-0034.Price + + + 164 + 12 + ShowPrice + 20 + 27 + KanitTTF + 0xB78F24 + "฿"" + + + 16 + 190 + 24 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showthaiText + $12-05-02-0034.Name + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showthaiText + $12-05-02-0034.description + + + 16 + 190 + 22 + 220 + "multi2" + KanitMediumTTF + 0x322B26 + showengText + $12-05-02-0034.NameE + + + 16 + 246 + 14 + 220 + KanitMediumTTF + 0x6F5F51 + showengText + $12-05-02-0034.descriptionE + + + ; button i=21 12-05-02-0004 33 22 @@ -1937,7 +2216,7 @@ $12-05-02-0004.descriptionE - ; button i=19 12-05-02-0005 + ; button i=22 12-05-02-0005 33 22 @@ -2030,7 +2309,7 @@ $12-05-02-0005.descriptionE - ; button i=20 12-05-02-0006 + ; button i=23 12-05-02-0006 33 22 @@ -2123,7 +2402,7 @@ $12-05-02-0006.descriptionE - ; button i=21 12-05-02-0026 + ; button i=24 12-05-02-0026 33 22 @@ -2216,7 +2495,7 @@ $12-05-02-0026.descriptionE - ; button i=22 12-05-02-0030 + ; button i=25 12-05-02-0030 33 22 @@ -2309,7 +2588,7 @@ $12-05-02-0030.descriptionE - ; button i=23 12-05-02-0002 + ; button i=26 12-05-02-0002 33 22 @@ -2402,7 +2681,7 @@ $12-05-02-0002.descriptionE - ; button i=24 12-05-02-0003 + ; button i=27 12-05-02-0003 33 22 @@ -2495,7 +2774,7 @@ $12-05-02-0003.descriptionE - ; button i=25 12-05-02-0016 + ; button i=28 12-05-02-0016 33 22 @@ -2588,7 +2867,7 @@ $12-05-02-0016.descriptionE - ; button i=26 12-05-02-0017 + ; button i=29 12-05-02-0017 33 22 @@ -2681,7 +2960,7 @@ $12-05-02-0017.descriptionE - ; button i=27 12-05-02-0018 + ; button i=30 12-05-02-0018 33 22 @@ -2774,7 +3053,7 @@ $12-05-02-0018.descriptionE - ; button i=28 12-05-01-0002 + ; button i=31 12-05-01-0002 33 22 diff --git a/xml/page_drinkok.xml b/xml/page_drinkok.xml index 562c799f..7c633512 100644 --- a/xml/page_drinkok.xml +++ b/xml/page_drinkok.xml @@ -6,6 +6,19 @@ SoundVolume "ROOT/sounds/Ding-dong.wav" + DEBUGVAR StarwState + DEBUGVAR LidState + + + If StarwState = "Press" Then + Machine Straw + LED LedDoorLid Blink 255 255 255 255 + EndIf + If LidState = "Press" Then + Machine Lid + LED LedDoorLid Blink 255 255 255 255 + EndIf + ; On open Var LidState = "Enable" Var StarwState = "Enable" @@ -24,6 +37,7 @@ Var VideoPlayFile = VideoPlayFile + VideoFileEnd Var Timeout = 0 + If TNumberTaobinMember = "" Then Else diff --git a/xml/page_lid_straw.xml b/xml/page_lid_straw.xml index 402545ee..f12ae461 100644 --- a/xml/page_lid_straw.xml +++ b/xml/page_lid_straw.xml @@ -78,14 +78,7 @@ If lidAndStrawOldPageIgnore = "true" Then Var lidAndStrawOldPageIgnore = "false" - If StarwState = "Press" Then - Machine Straw - LED LedDoorLid Blink 255 255 255 255 - EndIf - If LidState = "Press" Then - Machine Lid - LED LedDoorLid Blink 255 255 255 255 - EndIf + Open "ROOT/taobin_project/xml/page_brewing3.xml" EndIf diff --git a/xml/page_topping_select.xml b/xml/page_topping_select.xml index 0821ff68..5348be53 100644 --- a/xml/page_topping_select.xml +++ b/xml/page_topping_select.xml @@ -516,6 +516,20 @@ showdesc +; +; 0 +; 880 +; BGSugar +; 1080 +; Center +; 18 +; KanitTTF +; 0xEE8C62 +; "*ห้ามดื่มเกินวันละ 2 แก้ว เพราะหัวใจสั่น นอนไม่หลับ เด็กและสตรีมีครรภ์ไม่ควรดื่ม ผู้ป่วยควรปรึกษาแพทย์ก่อน" +; + + + ; back