koishi-plugin-dew-bot 1.0.267 → 1.0.268

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.
Files changed (43) hide show
  1. package/assets/item-card/list-artwork-placeholder.png +0 -0
  2. package/assets/item-card/list-artwork-placeholder.prompt.txt +3 -0
  3. package/assets/leaderboard/README.md +5 -9
  4. package/assets/pet/chibi-fox-v1.prompt.txt +1 -0
  5. package/assets/pet/chibi-fox-v1.webp +0 -0
  6. package/lib/index.js +1260 -243
  7. package/lib/plugin/companionCardAssets.d.ts +1 -1
  8. package/lib/plugin/formatCombatPower.d.ts +1 -2
  9. package/lib/plugin/formatNumber.d.ts +4 -0
  10. package/lib/plugin/leaderboardTemplate.d.ts +9 -2
  11. package/lib/plugin/paperDollPortrait.d.ts +25 -0
  12. package/lib/plugin/paperDollRenderer.d.ts +74 -0
  13. package/lib/plugin/petCardStyles.d.ts +2 -0
  14. package/lib/plugin/petPortraitAsset.d.ts +2 -0
  15. package/lib/plugin/serverHandel/qqPageMessage.d.ts +3 -2
  16. package/lib/shared/bot/pageNavigation.d.ts +14 -0
  17. package/lib/shared/face/index.d.ts +46 -0
  18. package/package.json +2 -1
  19. package/src/plugin/bloodlineCardTemplate.ts +2 -5
  20. package/src/plugin/characterCardTemplate.ts +2 -1
  21. package/src/plugin/companionCardAssets.ts +2 -8
  22. package/src/plugin/companionCardTemplate.ts +28 -1
  23. package/src/plugin/detailCardTemplate.ts +2 -1
  24. package/src/plugin/formatCombatPower.ts +1 -12
  25. package/src/plugin/formatNumber.ts +27 -0
  26. package/src/plugin/leaderboardTemplate.ts +80 -27
  27. package/src/plugin/paperDollPortrait.ts +167 -0
  28. package/src/plugin/paperDollRenderer.ts +329 -0
  29. package/src/plugin/petCardStyles.ts +39 -0
  30. package/src/plugin/petPortraitAsset.ts +2 -0
  31. package/src/plugin/serverHandel/handel_base.ts +3 -3
  32. package/src/plugin/serverHandel/qqCommandMessage.ts +45 -9
  33. package/src/plugin/serverHandel/qqMessagePreview.ts +2 -1
  34. package/src/plugin/serverHandel/qqPageMessage.ts +35 -41
  35. package/src/plugin/serverHandel/qqStoryMessage.ts +5 -2
  36. package/src/plugin/serverHandel/qqTransactionMessage.ts +3 -3
  37. package/src/plugin/serverHandel/text.ts +29 -30
  38. package/src/plugin/skillCard.ts +43 -19
  39. package/src/shared/bot/analysisMsg.ts +74 -52
  40. package/src/shared/bot/pageNavigation.ts +56 -0
  41. package/src/shared/bot/serviceProto.ts +277 -1
  42. package/src/shared/face/index.ts +300 -262
  43. package/assets/leaderboard/header.svg +0 -1
@@ -0,0 +1,3 @@
1
+ Generated using built-in ImageGen with transparent_background=true.
2
+
3
+ Use case: stylized-concept. Asset type: a single transparent PNG default item icon for a Chinese RPG inventory, displayed as a tiny 24x24 icon and published at 120x120. Primary request: a cosmic black hole on a genuinely transparent background. One centered black circular event horizon, surrounded by a bright elegant swirling accretion ring in warm ivory-gold with subtle violet-blue cosmic glow. Strong clear silhouette, bold simple forms that remain legible at 24 pixels. A slightly tilted elliptical accretion disk with gravitational lensing arc over the black center, occupying roughly 80% of a square canvas. The black center must remain opaque dark black; outside the accretion disk and glow is fully transparent alpha. Isolated icon only, no outer square, no colored backdrop, no starfield background, no frame, no text, no symbols, no watermark, no UI. Polished game inventory icon, restrained luminous detail, clean edges, enough contrast to read on both white and dark chat backgrounds. Do not include any checkerboard drawn into the image. Generate one icon.
@@ -1,9 +1,5 @@
1
- # 排行榜顶部素材
2
-
3
- 默认 `header.svg` 是项目自绘的山景背景,标题由程序实时叠加,不写在图片里。
4
-
5
- 替换方式:在此目录放入 `header.png`、`header.jpg` 或 `header.webp`。优先顺序为 PNG → JPG → WebP → SVG。建议 1000×400 或同等横向比例,使用无标题背景,中心区域留给榜单标题。
6
-
7
- 背景每次生成图片时读取,替换后下一张生效。部署需连同 `assets/` 一起复制。缺少素材时退回深色渐变背景。
8
-
9
- 中文标题使用楷体 KaiTi/STKaiti,正文微软雅黑,数值 Georgia。Linux 部署安装 Noto Serif CJK SC、Noto Sans CJK SC 和 Noto Color Emoji;字体安装完成后重启绘图浏览器。Emoji 的覆盖范围取决于系统字体版本。
1
+ # 排行榜通用模板
2
+
3
+ 排行榜由 `src/plugin/leaderboardTemplate.ts` 绘制统一的冒险主题 UI,草坪领奖台、边框与装饰都来自模板代码,无需背景图片。前三位形象使用纸娃娃渲染结果;旧的排行榜顶部背景素材已移除。
4
+
5
+ 中文使用微软雅黑或 Noto Sans CJK SC,Emoji 使用系统字体。部署时请同时更新机器人和编辑器模板。
@@ -0,0 +1 @@
1
+ Use case: stylized-concept. Asset type: production RPG companion cutout. Create ONE adorable chibi white arctic fox pet, oversized head, large sparkling blue eyes, tiny paws, fluffy curled tail, small pale blue ribbon with a gold bell. Polished hand-painted anime game illustration, clean delicate outlines and soft cel shading, cute friendly expression. Full body, front three-quarter standing pose, all paws on the same ground baseline, centered, generous transparent margin around ears and tail, square canvas. True transparent RGBA background. No scenery, ground, platform, cast shadow, frame, text, logo, checkerboard, or extra characters. Designed to stand on a separately rendered game UI pedestal.
Binary file