{ //主城道具解锁——拉面解锁——黑丸红椒鸡汤面-解锁交互 "ID": 40000502, "Specials": { "Radius": 2000, "UnlockState": 0 }, "Events": { "OnInteract": { "ID": 100, "Actions": [ // {//完成状态对话 // "$type": "Share.CActionPerformCfg", // "ID": 101, // "PerformID": 39509, // "Predicates": [ // { // "$type": "Share.CConfigEventBySpecials", // "ParamName": "UnlockState", // "Param":"2", // "CompareType":"Equal" // } // ] // }, // {//完成态标记交互完成 // "$type": "Share.CActionInteractFinishCfg", // "ID": 110, // "Predicates": [ // { // "$type": "Share.CConfigEventBySpecials", // "ParamName": "UnlockState", // "Param":"2", // "CompareType":"Equal" // } // ] // }, {//未满足状态对话 "$type": "Share.CActionPerformCfg", "ID": 102, "PerformID": 39608, "Predicates": [ {//少于4000丁尼 "$type": "Share.CConfigEventByItemID", "Package": "Player", "ItemID": 10, "CompareType": "Less", "Count": 4000 }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"1", "CompareType":"Equal" } ] }, {//交付状态对话 "$type": "Share.CActionPerformCfg", "ID": 103, "PerformID": 39508, "Return":[ "UnlockState" ], "Predicates": [ {//不止4000丁尼 "$type":"Share.CConfigEventByNot", "Predicates": [ { "$type": "Share.CConfigEventByItemID", "Package": "Player", "ItemID": 10, "CompareType": "Less", "Count": 4000 } ] }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"1", "CompareType":"Equal" } ] }, {//交付状态道具发放 "$type":"Share.CConfigAddItem", "ID": 104, "ItemID":103002, "Count":1, "Package": "Player", "Predicates": [ {//不止4000丁尼 "$type":"Share.CConfigEventByNot", "Predicates": [ { "$type": "Share.CConfigEventByItemID", "Package": "Player", "ItemID": 10, "CompareType": "Less", "Count": 4000 } ] }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"2", "CompareType":"Equal" } ] }, {//大将增加完成演出 "$type": "Share.CActionChangeInteractCfg", "ID": 105, "InteractID": 40000515, "TagIDs": [ 2019 ], "Participators": { "2019": "A" }, "InteractShape": "Sector", "InteractScale": { "X": 0, "Y": 2.4, "Z": 2, "W": 150, "R": 10 } , "Predicates": [ {//不止4000丁尼 "$type":"Share.CConfigEventByNot", "Predicates": [ { "$type": "Share.CConfigEventByItemID", "Package": "Player", "ItemID": 10, "CompareType": "Less", "Count": 4000 } ] }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"2", "CompareType":"Equal" } ] }, {//交付状态道具扣除 "$type":"Share.CConfigAddItem", "ID": 106, "ItemID":10, "Count":-4000, "Package": "Player", "Predicates": [ {//不止4000丁尼 "$type":"Share.CConfigEventByNot", "Predicates": [ { "$type": "Share.CConfigEventByItemID", "Package": "Player", "ItemID": 10, "CompareType": "Less", "Count": 4000 } ] }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"2", "CompareType":"Equal" } ] }, // {//交付状态参数修正 // "$type": "Share.CConfigSetSpecial", // "ID": 107, // "SpecialName": "UnlockState", // "SpecialValue": 2, // "Predicates": [ // { //有对应道具 // "$type": "Share.CConfigEventByItemID", // "Package": "Player", // "ItemID": 103002, // "CompareType": "Equal", // "Count": 1 // } // ] // }, {//交付态标记交互完成 "$type": "Share.CActionInteractFinishCfg", "ID": 107, "Predicates": [ { //有对应道具 "$type": "Share.CConfigEventByItemID", "Package": "Player", "ItemID": 103002, "CompareType": "Equal", "Count": 1 } ] }, {//初见状态对话 "$type": "Share.CActionPerformCfg", "ID": 108, "PerformID": 39507, "Predicates": [ // {//不止100丁尼 // "$type":"Share.CConfigEventByNot", // "Predicates": [ // { // "$type": "Share.CConfigEventByItemID", // "Package": "Player", // "ItemID": 10, // "CompareType": "Less", // "Count": 100 // } // ] // }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"0", "CompareType":"Equal" } ] }, {//满足修改参数 "$type": "Share.CConfigSetSpecial", "ID": 109, "SpecialName": "UnlockState", "SpecialValue": 1, "Predicates": [ // {//不止100丁尼 // "$type":"Share.CConfigEventByNot", // "Predicates": [ // { // "$type": "Share.CConfigEventByItemID", // "Package": "Player", // "ItemID": 10, // "CompareType": "Less", // "Count": 100 // } // ] // }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"0", "CompareType":"Equal" } ] }, { "$type": "Share.CActionResetEventCfg", "ID": 111 } ] }, "OnStart": { "ID": 200, "Actions": [ {//气泡演出 "$type": "Share.CActionPerformCfg", "ID": 201, "PerformID": 46001 }, { "$type": "Share.CActionResetEventCfg", "ID": 202 } ] } } }