代码初始化

This commit is contained in:
Giao committed 2026-10-09 18:23:57 +08:00
1 parent c2f5cd98ff
commit e3efeb74ad
2439 files changed
+305661 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# -*- coding: utf-8 -*-
import zipfile, json, io, sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
z = zipfile.ZipFile(r'e:\MCStudioDownload\work\3027246179@qq.com\Cpp\AddOn\0aaaa4f2f16c46e8964025a5ab0ecc02\_sa_hanhua_out\sa_essentials-forge-1.20.1-1.0.0.jar')
zh = json.loads(z.read('assets/sa_combat/lang/zh_cn.json').decode('utf-8-sig'))
en = json.loads(z.read('assets/sa_combat/lang/en_us.json').decode('utf-8-sig'))
for k in sorted(zh):
if 'herb' in k.lower():
print(k, '|', zh.get(k), '|', en.get(k))