From 6c54330ebfea5dafe99065ee2bc8ca971db079cd Mon Sep 17 00:00:00 2001 From: xris Date: Sat, 7 Sep 2024 14:45:15 +0800 Subject: [PATCH] :sparkles: Support natlan daily material --- plugins/genshin/daily/material.py | 8 ++++---- resources/genshin/daily_material/bg/area/5.png | Bin 0 -> 8700 bytes resources/genshin/daily_material/style.css | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 resources/genshin/daily_material/bg/area/5.png diff --git a/plugins/genshin/daily/material.py b/plugins/genshin/daily/material.py index cba0efd9..aba3706d 100644 --- a/plugins/genshin/daily/material.py +++ b/plugins/genshin/daily/material.py @@ -50,7 +50,7 @@ DOMAINS = [ "菫色之庭", # 稻妻精通秘境 "昏识塔", # 须弥精通秘境 "苍白的遗荣", # 枫丹精通秘境 - "", # 纳塔精通秘境 + "蕴火的幽墟", # 纳塔精通秘境 "", # 至东精通秘境 "", # 坎瑞亚精通秘境 "塞西莉亚苗圃", # 蒙德炼武秘境 @@ -58,7 +58,7 @@ DOMAINS = [ "砂流之庭", # 稻妻炼武秘境 "有顶塔", # 须弥炼武秘境 "深潮的余响", # 枫丹炼武秘境 - "", # 纳塔炼武秘境 + "深古瞭望所", # 纳塔炼武秘境 "", # 至东炼武秘境 "", # 坎瑞亚炼武秘境 ] @@ -444,14 +444,14 @@ class DailyMaterial(Plugin): self.template_service.render( # 渲染角色素材页 "genshin/daily_material/character.jinja2", {"data": render_data}, - {"width": 1338, "height": 500}, + {"width": 2060, "height": 500}, file_type=file_type, ttl=30 * 24 * 60 * 60, ), self.template_service.render( # 渲染武器素材页 "genshin/daily_material/weapon.jinja2", {"data": render_data}, - {"width": 1338, "height": 500}, + {"width": 2060, "height": 500}, file_type=file_type, ttl=30 * 24 * 60 * 60, ), diff --git a/resources/genshin/daily_material/bg/area/5.png b/resources/genshin/daily_material/bg/area/5.png new file mode 100644 index 0000000000000000000000000000000000000000..a6e360f5a741770b868c7ef2d1cee2abf84c3d6b GIT binary patch literal 8700 zcmV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