diff --git a/image/event/image_template4 b/image/event/image_template4 index 0971b7ed..365fbd1f 100644 --- a/image/event/image_template4 +++ b/image/event/image_template4 @@ -1,6 +1,6 @@ -normal_eng=ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png -normal_thai=ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png -press_eng=ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png -press_thai=ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png -disable_eng=ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png -disable_thai=ROOT/taobin_project/image/event/pepsi_second_cup_30/pro_pepsi_second_cup_30.png +normal_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png +normal_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png +press_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png +press_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png +disable_eng=ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png +disable_thai=ROOT/taobin_project/image/event/powerup_free_1/powerup.png diff --git a/image/event/powerup_free_1/powerup.png b/image/event/powerup_free_1/powerup.png index bf4d1b9d..5ae6271d 100644 Binary files a/image/event/powerup_free_1/powerup.png and b/image/event/powerup_free_1/powerup.png differ diff --git a/image/event/powerup_free_1/powerup_en.png b/image/event/powerup_free_1/powerup_en.png new file mode 100644 index 00000000..bfbcc0d9 Binary files /dev/null and b/image/event/powerup_free_1/powerup_en.png differ diff --git a/inter/mys/image/event/mys_promo_fruity_raya.png b/inter/mys/image/event/mys_promo_fruity_raya.png new file mode 100644 index 00000000..dc3adb65 Binary files /dev/null and b/inter/mys/image/event/mys_promo_fruity_raya.png differ diff --git a/xml/event/powerup_free_1/page_powerup_bridge.xml b/xml/event/powerup_free_1/page_powerup_bridge.xml index 5fb2eb6a..26f0f744 100644 --- a/xml/event/powerup_free_1/page_powerup_bridge.xml +++ b/xml/event/powerup_free_1/page_powerup_bridge.xml @@ -1,5 +1,3 @@ -; TODO: like y20, but without age check instead check usage of that id. - "Enable" 1080 diff --git a/xml/event/powerup_free_1/page_powerup_identity.xml b/xml/event/powerup_free_1/page_powerup_identity.xml index e7268d67..2c8687be 100644 --- a/xml/event/powerup_free_1/page_powerup_identity.xml +++ b/xml/event/powerup_free_1/page_powerup_identity.xml @@ -71,6 +71,7 @@ Var FailTrickCount = 0 Var FailState = "Invisible" + Var FullQuotaState = "Invisible" Var StepGetServer = 0 @@ -86,6 +87,25 @@ DEBUGVAR Ext1a + ; example + + If StepGetServer = 1 Then + + If Ext1a = "0" Then + If LegitAge = "true" Then + Var RoadShow = "true" + Open "ROOT/taobin_project/xml/page_payment.xml" + Else + Var load_gif_stage = "Invisible" + Var FailState = "Enable" + EndIf + Refresh + Else + Var FullQuotaState = "Enable" + EndIf + + EndIf + ; If StepGetServer = 1 Then ; If Ext1a = "ok" Then @@ -117,6 +137,11 @@ + + ; handle quota full + ; response smth + Var FullQuotaState = "Enable" + @@ -222,9 +247,12 @@ If AgeNumber >= 18 Then ; TODO: check quota --- AddData; Wait for new add num + + Var LegitAge = "true" + ; Then enable RoadShow - Var RoadShow = "true" - Open "ROOT/taobin_project/xml/page_payment.xml" + ;Var RoadShow = "true" + ;Open "ROOT/taobin_project/xml/page_payment.xml" EndIf @@ -356,6 +384,7 @@ eval( "/mnt/sdcard/coffeevending/wav/click.wav" SoundVolume + Var RoadShow = "" Open "ROOT/taobin_project/xml/page_catalog2.xml" @@ -370,6 +399,7 @@ eval( "/mnt/sdcard/coffeevending/wav/click.wav" SoundVolume + Var RoadShow = "" Open "ROOT/taobin_project/xml/page_catalog2.xml" @@ -424,7 +454,41 @@ eval( +; Full Quota + + 0 + 380 + FullQuotaState + "ROOT/taobin_project/image/page_payment/alpha.png" + + + 249 + 751 + FullQuotaState + eval( + If show_eng = "true" Then + Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup_quota_full_en.png" + Else + Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup_quota_full.png" + EndIf +) + + + 440 @@ -448,7 +512,7 @@ eval( EventEvaluate "EventIDCard" - Var FailState = "Enable" + Var FullQuotaState = "Enable" diff --git a/xml/event/promotion_powerup_free_1.xml b/xml/event/promotion_powerup_free_1.xml index 15bfebfe..2a00539b 100644 --- a/xml/event/promotion_powerup_free_1.xml +++ b/xml/event/promotion_powerup_free_1.xml @@ -11327,7 +11327,7 @@ LIMENADE SODA" eval( If show_eng = "true" Then - Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup.png" + Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png" Else Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup.png" EndIf @@ -11336,7 +11336,7 @@ LIMENADE SODA" eval( If show_eng = "true" Then - Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup.png" + Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png" Else Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup.png" EndIf @@ -11345,7 +11345,7 @@ LIMENADE SODA" eval( If show_eng = "true" Then - Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup.png" + Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup_en.png" Else Var return = "ROOT/taobin_project/image/event/powerup_free_1/powerup.png" EndIf diff --git a/xml/event/promotion_template4.inc b/xml/event/promotion_template4.inc index 2a9669dc..b4c68567 100644 --- a/xml/event/promotion_template4.inc +++ b/xml/event/promotion_template4.inc @@ -1,4 +1,3 @@ -