107 lines
4.0 KiB
JSON
107 lines
4.0 KiB
JSON
{
|
|
"manifest": {
|
|
"id": "example-quest",
|
|
"name": "示例任务包",
|
|
"version": "1.0.0",
|
|
"author": "OES-WEB",
|
|
"description": "添加一个新任务线到游戏中",
|
|
"priority": 200,
|
|
"dependencies": []
|
|
},
|
|
"data": {
|
|
"quests": {
|
|
"lost_sword": {
|
|
"id": "lost_sword",
|
|
"name": "失落的圣剑",
|
|
"type": "side",
|
|
"description": "一位铁匠的祖传圣剑在附近的洞穴中丢失了",
|
|
"objectives": [
|
|
{ "id": "talk_to_blacksmith", "description": "与铁匠对话", "type": "talk", "target": "blacksmith_01" },
|
|
{ "id": "find_cave", "description": "找到洞穴", "type": "explore", "target": "cave_01" },
|
|
{ "id": "kill_bandits", "description": "消灭洞穴中的强盗", "type": "kill", "target": "bandit", "count": 5 },
|
|
{ "id": "find_sword", "description": "找到失落的圣剑", "type": "collect", "target": "legendary_sword", "count": 1 },
|
|
{ "id": "return_sword", "description": "将圣剑归还给铁匠", "type": "talk", "target": "blacksmith_01" }
|
|
],
|
|
"rewards": {
|
|
"gold": 500,
|
|
"items": ["legendary_sword"],
|
|
"xp": 200,
|
|
"faction": "companions",
|
|
"factionRep": 10
|
|
},
|
|
"prerequisites": [],
|
|
"levelRequired": 5
|
|
},
|
|
"mysterious_artifact": {
|
|
"id": "mysterious_artifact",
|
|
"name": "神秘文物",
|
|
"type": "daedric",
|
|
"description": "一件古老的文物在废弃的神殿中被发现",
|
|
"objectives": [
|
|
{ "id": "investigate_rumors", "description": "调查传言", "type": "talk", "target": "innkeeper_01" },
|
|
{ "id": "find_temple", "description": "找到废弃神殿", "type": "explore", "target": "temple_01" },
|
|
{ "id": "solve_puzzle", "description": "解开神殿谜题", "type": "interact", "target": "puzzle_01" },
|
|
{ "id": "defeat_guardian", "description": "击败守护者", "type": "kill", "target": "temple_guardian", "count": 1 },
|
|
{ "id": "take_artifact", "description": "取走文物", "type": "collect", "target": "mysterious_artifact", "count": 1 },
|
|
{ "id": "choose_fate", "description": "决定文物的命运", "type": "choice", "options": ["keep", "destroy", "give_to_mage"] }
|
|
],
|
|
"rewards": {
|
|
"gold": 1000,
|
|
"items": ["mysterious_artifact"],
|
|
"xp": 500
|
|
},
|
|
"prerequisites": ["lost_sword"],
|
|
"levelRequired": 15
|
|
}
|
|
},
|
|
"items": {
|
|
"legendary_sword": {
|
|
"id": "legendary_sword",
|
|
"name": "铁匠的祖传圣剑",
|
|
"type": "weapon",
|
|
"subtype": "one_handed_sword",
|
|
"material": "steel",
|
|
"tier": 2,
|
|
"damage": 15,
|
|
"speed": 1.0,
|
|
"weight": 10,
|
|
"value": 200,
|
|
"enchantmentSlots": 1,
|
|
"enchantment": {
|
|
"type": "smite",
|
|
"magnitude": 5,
|
|
"duration": 0
|
|
},
|
|
"keywords": ["metal", "slashing", "unique"],
|
|
"description": "铁匠家族世代相传的宝剑",
|
|
"questItem": true
|
|
},
|
|
"mysterious_artifact": {
|
|
"id": "mysterious_artifact",
|
|
"name": "神秘文物",
|
|
"type": "misc",
|
|
"subtype": "artifact",
|
|
"weight": 5,
|
|
"value": 0,
|
|
"keywords": ["unique", "quest", "daedric"],
|
|
"description": "一件来自远古的神秘物品,散发着不祥的气息",
|
|
"questItem": true
|
|
}
|
|
},
|
|
"npcs": {
|
|
"blacksmith_01": {
|
|
"id": "blacksmith_01",
|
|
"name": "铁匠哈蒙",
|
|
"race": "nord",
|
|
"level": 10,
|
|
"faction": "blacksmiths",
|
|
"dialogue": {
|
|
"greeting": "欢迎来到我的铁匠铺。你需要什么?",
|
|
"quest_start": "你来得正好!我的祖传圣剑在附近的洞穴被强盗抢走了。如果你能帮我找回来,我一定会重重报答你!",
|
|
"quest_complete": "太感谢了!这把剑对我们家族意义重大。这是你的报酬,还有,请随时回来打造装备。"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|