HollowPS_TV_experiments/extras/zzz-0.1-jsons/ItemUnlock_40000527.json

198 lines
8.9 KiB
JSON

{
//主城道具解锁——提神胶囊 A-解锁对话
"ID": 40000527,
"Specials": {
"Radius": 2000,
"UnlockState": 0
},
"Events": {
"OnInteract": {
"ID": 100,
"Actions": [
{//未满足状态对话
"$type": "Share.CActionPerformCfg",
"ID": 102,
"PerformID": 39604,
"Predicates": [
{//未拥有30个塑化镀剂
"$type": "Share.CConfigEventByItemID",
"Package": "Player",
"ItemID": 102001,
"CompareType": "Less",
"Count": 30
},
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "UnlockState",
"Param":"1",
"CompareType":"Equal"
}
]
},
{//交付状态对话&传递参数
"$type": "Share.CActionPerformCfg",
"ID": 103,
"PerformID": 39542,
"Return":[
"UnlockState"
],
"Predicates": [
{//拥有不止30个塑化镀剂
"$type":"Share.CConfigEventByNot",
"Predicates": [
{
"$type": "Share.CConfigEventByItemID",
"Package": "Player",
"ItemID": 102001,
"CompareType": "Less",
"Count": 30
}
]
},
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "UnlockState",
"Param":"1",
"CompareType":"Equal"
}
]
},
// {//交付状态参数修正——转移到演出文件里传递参数
// "$type": "Share.CConfigSetSpecial",
// "ID": 104,
// "SpecialName": "UnlockState",
// "SpecialValue": 2,
// "Predicates": [
// {//拥有不止1个以太镀剂
// "$type":"Share.CConfigEventByNot",
// "Predicates": [
// {
// "$type": "Share.CConfigEventByItemID",
// "Package": "Player",
// "ItemID": 102003,
// "CompareType": "Less",
// "Count": 1
// }
// ]
// },
// {
// "$type": "Share.CConfigEventBySpecials",
// "ParamName": "UnlockState",
// "Param":"1",
// "CompareType":"Equal"
// }
// ]
// },
{//交付状态道具扣除
"$type":"Share.CConfigAddItem",
"ID": 105,
"ItemID":102001,
"Count":-30,
"Package": "Player",
"Predicates": [
{//拥有不止30个塑化镀剂
"$type":"Share.CConfigEventByNot",
"Predicates": [
{
"$type": "Share.CConfigEventByItemID",
"Package": "Player",
"ItemID": 102001,
"CompareType": "Less",
"Count": 30
}
]
},
{
"$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": 39541,
"Predicates": [
// {//拥有不止1个以太镀剂
// "$type":"Share.CConfigEventByNot",
// "Predicates": [
// {
// "$type": "Share.CConfigEventByItemID",
// "Package": "Player",
// "ItemID": 102003,
// "CompareType": "Less",
// "Count": 1
// }
// ]
// },
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "UnlockState",
"Param":"0",
"CompareType":"Equal"
}
]
},
{//初见修改参数
"$type": "Share.CConfigSetSpecial",
"ID": 108,
"SpecialName": "UnlockState",
"SpecialValue": 1,
"Predicates": [
// {//拥有不止1个以太镀剂
// "$type":"Share.CConfigEventByNot",
// "Predicates": [
// {
// "$type": "Share.CConfigEventByItemID",
// "Package": "Player",
// "ItemID": 102003,
// "CompareType": "Less",
// "Count": 1
// }
// ]
// },
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "UnlockState",
"Param":"0",
"CompareType":"Equal"
}
]
},
{
"$type": "Share.CActionResetEventCfg",
"ID": 110
}
]
},
"OnStart": {
"ID": 200,
"Actions": [
{
"$type": "Share.CActionPerformCfg",
"ID": 201,
"PerformID": 46012
},
{
"$type": "Share.CActionResetEventCfg",
"ID": 202
}
]
}
}
}