koishi-plugin-dew-bot 1.0.243 → 1.0.245
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/character-card/README.md +8 -8
- package/assets/equipment-card/unknown.webp +0 -0
- package/assets/leaderboard/README.md +8 -8
- package/assets/skill-card/LICENSE.yugioh-card +21 -21
- package/assets/skill-card/README.md +4 -4
- package/lib/index.js +680 -40
- package/lib/plugin/equipmentCardTemplate.d.ts +3 -0
- package/lib/plugin/serverHandel/handel_base.d.ts +11 -0
- package/lib/plugin/serverHandel/qqPageMessage.d.ts +10 -0
- package/lib/plugin/sessions.d.ts +2 -2
- package/lib/plugin/skillArtwork.d.ts +2 -0
- package/lib/plugin/skillCard.d.ts +2 -1
- package/lib/shared/face/index.d.ts +34 -0
- package/package.json +31 -31
- package/src/index.ts +2 -2
- package/src/plugin/appearanceCardTemplate.ts +16 -16
- package/src/plugin/cardLayout.ts +2 -2
- package/src/plugin/characterCardTemplate.ts +64 -64
- package/src/plugin/equipmentCardTemplate.ts +40 -0
- package/src/plugin/messageQueue.ts +42 -22
- package/src/plugin/server.ts +1 -1
- package/src/plugin/serverHandel/handel_base.ts +24 -2
- package/src/plugin/serverHandel/image.ts +7 -2
- package/src/plugin/serverHandel/qqPageMessage.ts +188 -0
- package/src/plugin/serverHandel/text.ts +31 -0
- package/src/plugin/sessions.ts +3 -3
- package/src/plugin/skillArtwork.ts +62 -2
- package/src/plugin/skillCard.ts +120 -22
- package/src/plugin/skillCardTemplate.ts +20 -20
- package/src/shared/bot/serviceProto.ts +244 -1
- package/src/shared/face/index.ts +26 -0
- package/lib/skill-card-preview.cjs +0 -133
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# 角色卡素材
|
|
2
|
-
|
|
3
|
-
- `paper.webp`:水墨宣纸背景。
|
|
4
|
-
- `default-female.webp`:默认女性角色,600×1000,展示区域 300×500。没有专属角色形象或专属图不可用时使用;专属形象优先。素材随机器人安装包分发,后台预览也使用同一张图片。
|
|
5
|
-
|
|
6
|
-
默认女性形象通过内置 ImageGen 生成,再压缩为 WebP。生成提示词:
|
|
7
|
-
|
|
8
|
-
> Generate a standalone default female character portrait asset for a Chinese ink-wash fantasy RPG game character panel. Exact portrait aspect ratio WIDTH:HEIGHT 3:5, intended display 300x500 pixels, ideally source 600x1000 or larger same ratio. One clearly adult female adventurer in her mid twenties, elegant composed expression, long black hair partly tied with an understated pale jade hair ornament, dark charcoal and ivory layered wuxia traveling robes, fitted practical leather belt and subtle antique brass fastenings, fully clothed. Three-quarter to full body composition, head fully within frame with comfortable margin, show body down to boots if possible. Natural relaxed standing pose, both hands anatomically natural. A high quality detailed Chinese fantasy game illustration with delicate ink brush edges, restrained watercolor shading, beautiful expressive face, refined fabric detail. Background warm pale rice paper, soft ink wash mountains and mist, very subtle desaturated jade accents. Character is the clear focus. Suitable as a neutral starter character, understated equipment, not a royal or legendary figure. No text, no lettering, no watermark, no UI, no borders or frame, no additional characters. Entire rectangular image includes its background, not a cutout.
|
|
1
|
+
# 角色卡素材
|
|
2
|
+
|
|
3
|
+
- `paper.webp`:水墨宣纸背景。
|
|
4
|
+
- `default-female.webp`:默认女性角色,600×1000,展示区域 300×500。没有专属角色形象或专属图不可用时使用;专属形象优先。素材随机器人安装包分发,后台预览也使用同一张图片。
|
|
5
|
+
|
|
6
|
+
默认女性形象通过内置 ImageGen 生成,再压缩为 WebP。生成提示词:
|
|
7
|
+
|
|
8
|
+
> Generate a standalone default female character portrait asset for a Chinese ink-wash fantasy RPG game character panel. Exact portrait aspect ratio WIDTH:HEIGHT 3:5, intended display 300x500 pixels, ideally source 600x1000 or larger same ratio. One clearly adult female adventurer in her mid twenties, elegant composed expression, long black hair partly tied with an understated pale jade hair ornament, dark charcoal and ivory layered wuxia traveling robes, fitted practical leather belt and subtle antique brass fastenings, fully clothed. Three-quarter to full body composition, head fully within frame with comfortable margin, show body down to boots if possible. Natural relaxed standing pose, both hands anatomically natural. A high quality detailed Chinese fantasy game illustration with delicate ink brush edges, restrained watercolor shading, beautiful expressive face, refined fabric detail. Background warm pale rice paper, soft ink wash mountains and mist, very subtle desaturated jade accents. Character is the clear focus. Suitable as a neutral starter character, understated equipment, not a royal or legendary figure. No text, no lettering, no watermark, no UI, no borders or frame, no additional characters. Entire rectangular image includes its background, not a cutout.
|
|
Binary file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# 排行榜顶部素材
|
|
2
|
-
|
|
3
|
-
默认 `header.svg` 是项目自绘的山景背景,标题由程序实时叠加,不写在图片里。
|
|
4
|
-
|
|
5
|
-
替换方式:在此目录放入 `header.png`、`header.jpg` 或 `header.webp`。优先顺序为 PNG → JPG → WebP → SVG。建议 1000×400 或同等横向比例,使用无标题背景,中心区域留给榜单标题。
|
|
6
|
-
|
|
7
|
-
背景每次生成图片时读取,替换后下一张生效。部署需连同 `assets/` 一起复制。缺少素材时退回深色渐变背景。
|
|
8
|
-
|
|
1
|
+
# 排行榜顶部素材
|
|
2
|
+
|
|
3
|
+
默认 `header.svg` 是项目自绘的山景背景,标题由程序实时叠加,不写在图片里。
|
|
4
|
+
|
|
5
|
+
替换方式:在此目录放入 `header.png`、`header.jpg` 或 `header.webp`。优先顺序为 PNG → JPG → WebP → SVG。建议 1000×400 或同等横向比例,使用无标题背景,中心区域留给榜单标题。
|
|
6
|
+
|
|
7
|
+
背景每次生成图片时读取,替换后下一张生效。部署需连同 `assets/` 一起复制。缺少素材时退回深色渐变背景。
|
|
8
|
+
|
|
9
9
|
中文标题使用楷体 KaiTi/STKaiti,正文微软雅黑,数值 Georgia。Linux 部署安装 Noto Serif CJK SC、Noto Sans CJK SC 和 Noto Color Emoji;字体安装完成后重启绘图浏览器。Emoji 的覆盖范围取决于系统字体版本。
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023-present kooriookami
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-present kooriookami
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
卡框素材来源:https://github.com/kooriookami/yugioh-card
|
|
2
|
-
固定版本:92462bbd2aa3aa0075ebcc9b633bdc05137fd7ac
|
|
3
|
-
仅使用 card-spell.png / card-trap.png,许可见 LICENSE.yugioh-card。
|
|
4
|
-
技能文字、品质徽标、技能图案由本项目实时绘制。
|
|
1
|
+
卡框素材来源:https://github.com/kooriookami/yugioh-card
|
|
2
|
+
固定版本:92462bbd2aa3aa0075ebcc9b633bdc05137fd7ac
|
|
3
|
+
仅使用 card-spell.png / card-trap.png,许可见 LICENSE.yugioh-card。
|
|
4
|
+
技能文字、品质徽标、技能图案由本项目实时绘制。
|