Merge branch 'master' of ssh://192.168.10.159:/1TBHDD/ikong/taobin_project

This commit is contained in:
Pakin 2023-10-02 11:19:17 +07:00
commit 882ba64435
4 changed files with 637 additions and 554 deletions

View file

@ -159,55 +159,116 @@
Var PopweenPointNewIndex = 0 Var PopweenPointNewIndex = 0
If Seeker.selected_a_drink = "12-99-05-0053" Then If Seeker.selected_a_drink = "12-99-05-0053" Then
Var PopweenPointNewIndex = 0 If PopweenPointState[0] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 0
EndIf
Var PopweenPointState[0] = 1 Var PopweenPointState[0] = 1
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0054" Then If Seeker.selected_a_drink = "12-99-05-0054" Then
Var PopweenPointNewIndex = 1 If PopweenPointState[1] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 1
EndIf
Var PopweenPointState[1] = 1 Var PopweenPointState[1] = 1
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0055" Then If Seeker.selected_a_drink = "12-99-05-0055" Then
Var PopweenPointNewIndex = 2 If PopweenPointState[2] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 2
EndIf
Var PopweenPointState[2] = 1 Var PopweenPointState[2] = 1
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0057" Then If Seeker.selected_a_drink = "12-99-05-0057" Then
Var PopweenPointNewIndex = 3 If PopweenPointState[3] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 3
EndIf
Var PopweenPointState[3] = 1 Var PopweenPointState[3] = 1
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0058" Then If Seeker.selected_a_drink = "12-99-05-0058" Then
Var PopweenPointNewIndex = 4 If PopweenPointState[4] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 4
EndIf
Var PopweenPointState[4] = 1 Var PopweenPointState[4] = 1
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0059" Then If Seeker.selected_a_drink = "12-99-05-0059" Then
Var PopweenPointNewIndex = 5 If PopweenPointState[5] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 5
EndIf
Var PopweenPointState[5] = 1 Var PopweenPointState[5] = 1
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0060" Then If Seeker.selected_a_drink = "12-99-05-0060" Then
Var PopweenPointNewIndex = 6 If PopweenPointState[6] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 6
EndIf
Var PopweenPointState[6] = 1 Var PopweenPointState[6] = 1
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0061" Then If Seeker.selected_a_drink = "12-99-05-0061" Then
Var PopweenPointNewIndex = 7 If PopweenPointState[7] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 7
EndIf
Var PopweenPointState[7] = 1 Var PopweenPointState[7] = 1
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0062" Then If Seeker.selected_a_drink = "12-99-05-0062" Then
Var PopweenPointNewIndex = 8 Var PopweenPointNewIndex = 8
Var PopweenPointState[8] = 1 Var PopweenPointState[8] = 1
If PopweenPointState[8] = 1 Then
Var PopweenPointNewIndex = ""
EndIf
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0064" Then If Seeker.selected_a_drink = "12-99-05-0064" Then
Var PopweenPointNewIndex = 9 If PopweenPointState[9] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 9
EndIf
Var PopweenPointState[9] = 1 Var PopweenPointState[9] = 1
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0065" Then If Seeker.selected_a_drink = "12-99-05-0065" Then
Var PopweenPointNewIndex = 10 If PopweenPointState[10] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 10
EndIf
Var PopweenPointState[10] = 1 Var PopweenPointState[10] = 1
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0056" Then If Seeker.selected_a_drink = "12-99-05-0056" Then
Var PopweenPointNewIndex = 11 Var PopweenPointNewIndex = 11
Var PopweenPointState[11] = 1 Var PopweenPointState[11] = 1
If PopweenPointState[11] = 1 Then
Var PopweenPointNewIndex = ""
EndIf
EndIf EndIf
If Seeker.selected_a_drink = "12-99-05-0066" Then If Seeker.selected_a_drink = "12-99-05-0066" Then
Var PopweenPointNewIndex = 12 If PopweenPointState[12] = 1 Then
Var PopweenPointNewIndex = ""
Else
Var PopweenPointNewIndex = 12
EndIf
Var PopweenPointState[12] = 1 Var PopweenPointState[12] = 1
EndIf EndIf

View file

@ -174,12 +174,15 @@
Var PepweenPoint = PepweenPoint + 1 Var PepweenPoint = PepweenPoint + 1
EndIf EndIf
If PopweenPointNewIndex >= 0 Then If PopweenPointNewIndex = "" Then
Var taobinImgPoint[PopweenPointNewIndex] = "/skull_active_new.png" ; Nothing
Var taobinTextColorPoint[PopweenPointNewIndex] = "0xE97A13" Else
If PopweenPointNewIndex >= 0 Then
Var taobinImgPoint[PopweenPointNewIndex] = "/skull_active_new.png"
Var taobinTextColorPoint[PopweenPointNewIndex] = "0xE97A13"
EndIf
EndIf EndIf
Var PointDiff = 13 - PepweenPoint Var PointDiff = 13 - PepweenPoint
If show_eng = "true" Then If show_eng = "true" Then

View file

@ -14,6 +14,16 @@
#include=menu_catalog_default_init.py #include=menu_catalog_default_init.py
?> ?>
DEBUGVAR SystemTimeHourInt
If SystemTimeHourInt >= 19 Then
Var Haunted7price = 30
Else
If SystemTimeHourInt < 5 Then
Var Haunted7price = 30
Else
Var Haunted7price = $12-99-03-0066.Price
EndIf
EndIf
Var Timeout = 0 Var Timeout = 0

View file

@ -115,7 +115,16 @@
DEBUGVAR SystemTimeHourInt
If SystemTimeHourInt >= 19 Then
Var Haunted7price = 30
Else
If SystemTimeHourInt < 5 Then
Var Haunted7price = 30
Else
Var Haunted7price = $12-99-03-0066.Price
EndIf
EndIf
Var Timeout = 0 Var Timeout = 0
@ -3540,7 +3549,7 @@ Hag of village" </Value>
Var OpenFromXML = CurrentXMLFileName2 Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price Var PriceD1 = $-.Price
Var PriceD2 = $-.Price Var PriceD2 = $-.Price
Var PriceD3 = $12-99-03-0066.Price Var PriceD3 = Haunted7price
Var PD_CODE1 = "##-##-##-####" Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####" Var PD_CODE2 = "##-##-##-####"
Var PD_CODE3 = "12-99-03-0066" Var PD_CODE3 = "12-99-03-0066"
@ -3694,7 +3703,7 @@ Hag of village" </Value>
<Color> 0x6F5F51 </Color> <Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable> <ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-99-03-0066.Button </State> <State> $12-99-03-0066.Button </State>
<Value> StringFmt( $12-99-03-0066.Price , DisplayFormat, PreScaleConvertShow) </Value>; test <Value> StringFmt( Haunted7price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text> </Text>
<Image> <Image>
<X> 81 </X> <X> 81 </X>