From 4ee974938948c54ed5d4363f854fe6f65b50e001 Mon Sep 17 00:00:00 2001 From: rdmclin2 Date: Wed, 29 May 2024 23:39:59 +0800 Subject: [PATCH] feat: add bronya and klee touch action config --- scripts/schema/agent.ts | 2 +- src/agents/vidol-agent-bronya.json | 32 ++++++++++++++++++++++++++ src/agents/vidol-agent-klee.json | 36 ++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 1 deletion(-) diff --git a/scripts/schema/agent.ts b/scripts/schema/agent.ts index 642f450..73fa96c 100644 --- a/scripts/schema/agent.ts +++ b/scripts/schema/agent.ts @@ -3,7 +3,7 @@ import {CategoryEnum, GenderEnum, EmotionEnum} from "./enum"; export const TouchActionSchema = z.object({ emotion: EmotionEnum.optional(), - motion: z.string().optional(), + // motion: z.string().optional(), text: z.string(), }); diff --git a/src/agents/vidol-agent-bronya.json b/src/agents/vidol-agent-bronya.json index d8eb607..9e4e483 100644 --- a/src/agents/vidol-agent-bronya.json +++ b/src/agents/vidol-agent-bronya.json @@ -12,6 +12,38 @@ "speed": 1, "pitch": 1 }, + "touch": { + "header": [ + { + "emotion": "neutral", + "text": "有什么需要布洛妮娅做的吗,开拓者?" + } + ], + "arm": [ + { + "emotion": "surprised", + "text": "请保持适当的距离,开拓者。" + } + ], + "leg": [ + { + "emotion": "neutral", + "text": "..." + } + ], + "chest": [ + { + "emotion": "angry", + "text": "这是不恰当的行为,开拓者。" + } + ], + "belly": [ + { + "emotion": "surprised", + "text": "布洛妮娅并不习惯这样的接触。" + } + ] + }, "meta": { "name": "布洛妮娅", "category": "Game", diff --git a/src/agents/vidol-agent-klee.json b/src/agents/vidol-agent-klee.json index 1cf6201..f298614 100644 --- a/src/agents/vidol-agent-klee.json +++ b/src/agents/vidol-agent-klee.json @@ -12,6 +12,42 @@ "speed": 1.1, "pitch": 1.25 }, + "touch": { + "header": [ + { + "emotion": "surprised", + "text": "呀,你吓到我了!" + }, + { + "emotion": "happy", + "text": "嘿嘿,旅行者,你来啦!" + } + ], + "arm": [ + { + "emotion": "happy", + "text": "看看我新发明的超级炸弹!" + } + ], + "leg": [ + { + "emotion": "happy", + "text": "我们去探险吧!那边的山看起来很有趣!" + } + ], + "chest": [ + { + "emotion": "sad", + "text": "嗯...这样让我有点不舒服。" + } + ], + "belly": [ + { + "emotion": "happy", + "text": "哈哈,那里好痒!" + } + ] + }, "meta": { "name": "可莉", "category": "Game",