fanren/config/quests.json
2025-12-19 18:15:31 +08:00

66 lines
1.8 KiB
JSON

[
{
"id": "KILL_GOBLIN",
"name": "新手挑战:击败哥布林",
"description": "前往附近的森林,击败一只哥布林来证明你的勇气。",
"type": "kill",
"triggerType": "NPC",
"triggerValue": "VILLAGER_1",
"target": {
"entityId": "GOBLIN",
"count": 1
},
"required_level": 1,
"rewards": {
"xp": 50,
"gold": 20,
"item_id": 1,
"item_quantity": 1
},
"dialogue": {
"root": {
"text": "你好啊,年轻人。村外的哥布林最近越来越猖狂了。",
"options": [
{ "text": "哥布林?我可以帮忙处理。", "next": "accept" },
{ "text": "那真是太可怕了,再见。", "next": "end" }
]
},
"accept": {
"text": "真的吗?那太好了!去森林里消灭一只哥布林,证明你的实力吧。",
"options": [
{ "text": "交给我吧!(接受任务)", "next": null, "action": "accept_quest:KILL_GOBLIN" }
]
},
"end": {
"text": "好吧,路上小心。",
"options": []
}
},
"next_quest_id": "FIND_NPC"
},
{
"id": "FIND_NPC",
"name": "寻找铁匠",
"description": "铁匠似乎有重要的消息要告诉你,去镇中心找他。",
"type": "talk",
"target": {
"npcId": "BLACKSMITH",
"count": 1
},
"triggerType": "SYSTEM",
"triggerValue": "LEVEL_UP",
"required_level": 2,
"rewards": {
"xp": 100
},
"dialogue": {
"root": {
"text": "你的等级提升了!村里的铁匠似乎想见你。",
"options": [
{ "text": "我会去看看的。(接受任务)", "next": null, "action": "accept_quest:FIND_NPC" }
]
}
},
"next_quest_id": null
}
]