THA: Added Americano promotion & extend Taiwanese promotion

This commit is contained in:
Kenta420 2025-06-17 18:09:03 +07:00
parent 3215a5d61f
commit 6a2a3c9158
124 changed files with 48313 additions and 840 deletions

View file

@ -10,7 +10,7 @@ if "v3" in param and "promotion" in param and "other_catalog" in param:
all_active_pro = ""
files = os.listdir(directory_to_process + "/event/event_v3/catalog_other")
files = [f for f in files if f.endswith(".json")]
files = [f for f in files if f.endswith(".json")].reverse()
for filename in files:
pro_json_file = open(directory_to_process + "/event/event_v3/catalog_other/"+ filename)
pro_json = json.load(pro_json_file)

View file

@ -0,0 +1,9 @@
{
"start": "2025-07-01T00:00:00",
"end": "2025-07-31T00:00:00",
"state": "AmericanoProState",
"type": "IMAGE",
"media_thai": "ROOT/taobin_project/image/event/americano/americano_banner.png",
"media_eng": "ROOT/taobin_project/image/event/americano/americano_banner.png",
"event_click": "TabMenuVisibleInst 99\r\nOpenInst 2 \"ROOT/taobin_project/inter/tha/xml/multi/v3/page_catalog_group_pro_americano.lxml\""
}

View file

@ -0,0 +1,42 @@
<?hurr
#include=menu_head.py
?>
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
;<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_default_init.lxml"
Var Timeout = 0
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new_menu.lxml"
SetInstanceIgnoreTouch
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/ForProGroup.inc"
TimerReset
</EventTimeout>
;include="ROOT/taobin_project/inter/tha/xml/multi/menu_catalog_new.lxml"
<?hurr
#include=menu_new_layout_gen_v3.py
?>
</Popup>