map_test = { "start": "-1", // 剧情初始id "userName": "", // 新建bot的用户名 "botAccount":"", "botId": "", // bot id "POS":"", "speechcraft":{ name:value, } "map":{ "locations": [ { "id": 1, "name": "地点A", "nickname":[], "neighbours": [2], // 能够去的地方的地点id列表 "description": "" // 介绍 }, ], } "plots": [ { "id": "", // 剧情编号 "condition_name":"", // 传第一个condition名字 "location":"", "branch": [ { "curPremise": [ { "conditionName": "cmpType": "operator": "keyword": "isIndependent" } "conditionName::cmpType-operator=keyword", "conditionName::cmpType-operator=keyword", ], "hisPremise":[ "qqq2::match-Keyword=bbb2" ], "updateKnowledge":{ "attrName":"", // 物品_急救箱_急救箱1_液体名 "unknownText":"", }, "reply":"【npc名称】npc回复的话语【npc名称】npc回复的话语", // 回答 "nextPlotId": "1" } ] }, ] "goods":[ { "name":"", "attr":{ "intro":"", "class":"", "location":"", "owner":"" } } ], "npc": [ { "name": "", "offline":true&&false "attr": { // 自定义属性 "attrName": "", "intro": "", "location": "" } } ], "globalVariable": [ { "category": "start", "variables": { "attrName":"attrValue" } } ] }