Feat/auction (#30)
Add gathering events, in which multiple avatars participate Add auction event Closes #24
This commit is contained in:
@@ -27,6 +27,8 @@ game:
|
||||
npc_awakening_rate_per_month: 0.01
|
||||
fortune_probability: 0.005
|
||||
misfortune_probability: 0.005
|
||||
gathering:
|
||||
auction_trigger_count: 10
|
||||
|
||||
df:
|
||||
ids_separator: ";"
|
||||
|
||||
21
static/templates/auction_need.txt
Normal file
21
static/templates/auction_need.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
你是一个价值评估者,这是一个仙侠世界,你负责来评估一些物品,对于一些NPC的价值。
|
||||
|
||||
你需要进行决策的NPC的dict[AvatarName, info]为:
|
||||
{avatar_infos}
|
||||
需要评价需求的物品为:
|
||||
{items}
|
||||
|
||||
注意,只返回json格式的结果。
|
||||
格式为:
|
||||
{{
|
||||
"{{avatar_name_1}}": {{
|
||||
{{item_id_1}}: int, # 1~5
|
||||
{{item_id_2}}: int,
|
||||
...
|
||||
}}, ...
|
||||
}}
|
||||
|
||||
要求;
|
||||
1. 所有的角色要在这里评估所有的物品,也就是最后返回的是num_avatar * num_item。都必须有一个估计。
|
||||
2. 分析每一个角色的情况,根据其情况返回需求程度。比如快老死的人对延寿丹药就是最需要的
|
||||
3. 需求从1到5,1是完全不需要,5是完全需要。
|
||||
27
static/templates/story_gathering.txt
Normal file
27
static/templates/story_gathering.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
你是一个小说家,这是一个仙侠世界,你需要这个修仙界中某一个集体事件,选取一个有趣的切入点或侧面,创作一段300~800字的小故事。
|
||||
|
||||
世界背景:
|
||||
{world_info}
|
||||
|
||||
事件设定:
|
||||
{gathering_info}
|
||||
|
||||
events:
|
||||
{events}
|
||||
|
||||
事件细节:
|
||||
{details}
|
||||
|
||||
写作风格提示:{style}
|
||||
额外主题提示:{story_prompt}
|
||||
|
||||
注意:
|
||||
1. 不要试图面面俱到地描写所有事件,请**自行筛选**其中最有趣、最有戏剧性的部分进行扩写。
|
||||
2. 侧重描写角色之间的互动、心理博弈、竞争或合作。
|
||||
3. 重点描写竞价过程中的紧张气氛。
|
||||
|
||||
只返回json格式的结果,格式为:
|
||||
{{
|
||||
"thinking": ..., // 简单思考故事剧情
|
||||
"story": "" // 第三人称的故事正文,仙侠语言风格
|
||||
}}
|
||||
Reference in New Issue
Block a user