taobin_project/inter/mys/xml/event/tricker.ev

120 lines
2 KiB
Text
Raw Normal View History

2024-06-07 14:12:25 +07:00
; malaysia
2023-08-18 22:06:29 +07:00
; e-receipt-flag
Var eReceiptFlag = 1
DEBUGVAR eReceiptFlag
2023-08-18 22:06:29 +07:00
;DEBUGVAR SystemDateMonthInt
;DEBUGVAR SystemDateDayInt
; Reset flag away.
2023-08-19 22:16:27 +07:00
Var Propepsi99Enable = 0
2023-08-18 22:06:29 +07:00
2025-05-26 14:32:46 +07:00
; Pro free oreo topping
Var PromotionOreoToppingFreeEnable = 0
2023-08-18 22:06:29 +07:00
2025-05-26 14:32:46 +07:00
; Pro reduce price
Var SetProReduceByBO = 0
Var ProReducedPriceEnable = 0
2025-05-26 14:32:46 +07:00
Var ProMysteryCup = 0
2024-07-01 16:51:58 +07:00
; new_payment
Var New_PaymentInter = 0
2025-05-26 14:32:46 +07:00
If SystemDateMonthInt = 6 Then
2024-09-16 17:11:48 +07:00
2025-05-26 14:32:46 +07:00
If SystemDateDayInt >= 17 Then
Var ProMysteryCup = 1
EndIf
2025-05-26 14:32:46 +07:00
EndIf
2025-05-26 14:32:46 +07:00
If SystemDateMonthInt = 7 Then
Var ProMysteryCup = 1
EndIf
If XMLProfile = "PromoReduced" Then
Var SetProReduceByBO = 1
EndIf
DEBUGVAR SetProReduceByBO
; Pay later mode
Var EnablePayLaterMode = 0
2024-08-23 15:46:21 +07:00
; Slide show Video
Var UseSlideShowVideo = 0
Var NoTrickPriceProfile = 0
; zone-refresh-once
WRITE_FILE "/mnt/sdcard/coffeevending/need_refresh_file" "0"
READ_FILE "/mnt/sdcard/coffeevending/need_refresh_file" NeedRefreshStr
STRCONTAIN "1" NeedRefreshStr need_refresh
DEBUGVAR need_refresh
2024-05-20 09:58:10 +07:00
If BoxID = 177746 Then
Var ProThaiTeaEnable = 0
Var ProYuzuEnable = 0
Var PromotionOreoToppingFreeEnable = 0
;Var ProMelonEnable = 0
;Var EnablePayLaterMode = 1
;Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
2024-08-23 15:46:21 +07:00
Var UseSlideShowVideo = 0
2024-09-16 17:11:48 +07:00
;Var ProReducedPriceEnable = 0
;Var IgnoreProfileFromRunEV = 1
2025-05-26 14:32:46 +07:00
Var ProMysteryCup = 1
2024-08-23 15:46:21 +07:00
EndIf
If ProMelonEnable = 1 Then
Var IgnoreProfileFromRunEV = 1
EndIf
2024-08-23 15:46:21 +07:00
If BoxID = 210037 Then
Var UseSlideShowVideo = 1
EndIf
2024-09-11 08:36:11 +07:00
If BoxID = 210011 Then
Var UseSlideShowVideo = 1
EndIf
If BoxID = 200002 Then
Var New_PaymentInter = 1
EndIf
If BoxID = 210055 Then
Var New_PaymentInter = 1
EndIf
;If BoxID = Something Then
; Var EnablePayLaterMode = 1
;
2024-09-16 17:11:48 +07:00
;EndIf
2025-05-26 14:32:46 +07:00
If ProMysteryCup = 1 Then
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/mys/xml/event/mystery_cup/random_list.ev"
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/mys/xml/event/mystery_cup/check_menu.ev"
DEBUGVAR "Syncing Pool Done!"
EndIf
DEBUGVAR New_PaymentInter