{ //主城道具解锁——玻璃弹珠 B-解锁对话 "ID": 40000549, "Specials": { "Radius": 2000, "UnlockState": 0 }, "Events": { "OnInteract": { "ID": 100, "Actions": [ {//未满足状态对话 "$type": "Share.CActionPerformCfg", "ID": 102, "PerformID": 39606, "Predicates": [ {//少于2000丁尼 "$type": "Share.CConfigEventByItemID", "Package": "Player", "ItemID": 10, "CompareType": "Less", "Count": 2000 }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"1", "CompareType":"Equal" } ] }, {//交付状态对话&参数传递 "$type": "Share.CActionPerformCfg", "ID": 103, "PerformID": 39569, "Return":[ "UnlockState" ], "Predicates": [ {//不止2000丁尼 "$type":"Share.CConfigEventByNot", "Predicates": [ { "$type": "Share.CConfigEventByItemID", "Package": "Player", "ItemID": 10, "CompareType": "Less", "Count": 2000 } ] }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"1", "CompareType":"Equal" } ] }, // {//交付状态参数修正——转移至演出资源内传递 // "$type": "Share.CConfigSetSpecial", // "ID": 104, // "SpecialName": "UnlockState", // "SpecialValue": 2, // "Predicates": [ // {//不止50丁尼 // "$type":"Share.CConfigEventByNot", // "Predicates": [ // { // "$type": "Share.CConfigEventByItemID", // "Package": "Player", // "ItemID": 10, // "CompareType": "Less", // "Count": 50 // } // ] // }, // { // "$type": "Share.CConfigEventBySpecials", // "ParamName": "UnlockState", // "Param":"1", // "CompareType":"Equal" // } // ] // }, {//交付状态道具扣除 "$type":"Share.CConfigAddItem", "ID": 105, "ItemID":10, "Count":-2000, "Package": "Player", "Predicates": [ {//不止2000丁尼 "$type":"Share.CConfigEventByNot", "Predicates": [ { "$type": "Share.CConfigEventByItemID", "Package": "Player", "ItemID": 10, "CompareType": "Less", "Count": 2000 } ] }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"2", "CompareType":"Equal" } ] }, {//交付状态-结束交互 "$type": "Share.CActionInteractFinishCfg", "ID": 106, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"2", "CompareType":"Equal" } ] }, {//初见状态对话 "$type": "Share.CActionPerformCfg", "ID": 107, "PerformID": 39568, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"0", "CompareType":"Equal" } ] }, {//初见状态修改参数 "$type": "Share.CConfigSetSpecial", "ID": 108, "SpecialName": "UnlockState", "SpecialValue": 1, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "UnlockState", "Param":"0", "CompareType":"Equal" } ] }, { "$type": "Share.CActionResetEventCfg", "ID": 110 } ] }, "OnStart": { "ID": 200, "Actions": [ { "$type": "Share.CActionPerformCfg", "ID": 201, "PerformID": 46023 }, { "$type": "Share.CActionResetEventCfg", "ID": 202 } ] } } }