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

222 lines
9.9 KiB
JSON

{
//金币邦布
"ID": 2010809,
"Events": {
"OnPlayerMove":{
"Actions":
[
{
"$type": "Share.CConfigSetHollowVariable",
"Key": "CanModify_2010809",
"Value": 1,
"Predicates":
[
{
"$type":"Share.CConfigEventByOr",
"Predicates":
[
{
"$type":"Share.CConfigEventByNot",
"Predicates":[
{
"$type":"Share.CConfigEventByNot",
"Predicates":[
{
"$type":"Share.CConfigEventByOr",
"Predicates":[
//playerpos(X)-getpos(X,2)
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "X_+offset",
"Param":"playerpos(X)-getpos(X,2)",
"CompareType":"Equal"
},
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "X_-offset",
"Param":"playerpos(X)-getpos(X,2)",
"CompareType":"Equal"
}
]
},
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "zero",
"Param":"playerpos(Y)-getpos(Y,2)",
"CompareType":"Equal"
}
]
}
]
},
{
"$type":"Share.CConfigEventByNot",
"Predicates":[
{
"$type":"Share.CConfigEventByNot",
"Predicates":[
{
"$type":"Share.CConfigEventByOr",
"Predicates":[
//playerpos(Y)-getpos(Y,2)
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "Y_+offset",
"Param":"playerpos(Y)-getpos(Y,2)",
"CompareType":"Equal"
},
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "Y_-offset",
"Param":"playerpos(Y)-getpos(Y,2)",
"CompareType":"Equal"
}
]
},
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "zero",
"Param":"playerpos(X)-getpos(X,2)",
"CompareType":"Equal"
}
]
}
]
}
]
}
]
}
]
},
"OnStart": {
"Actions": [
{
"$type": "Share.CConfigOpenDialog"
},
{
"$type": "Share.CConfigChoiceServer",
"OptionsMode": "Normal",
"Title":"「摇钱布」",
"Description": "前面以骸聚集地里有一只黄金色的邦布...以及它沉甸甸的齿轮硬币袋子。",
"QuestionDescription": "找到了!",
"Choices": [
{
"OptionText": "想办法把那袋金币给搞到手",
"OptionContents": [
{
"Actions":
[
]
}
]
}
]
},
{
"$type":"Share.CConfigDropBattleID",
"Type":[32],
"SpecialName":"BattleID"
},
{
"$type": "Share.CConfigTriggerBattle",
"BattleID": "specials(BattleID)",
"OnSuccess": "OnEnd"
}
]
},
"OnEnd": {
"Actions": [
{
"$type": "Share.CConfigEventModification",
"X": 13,
"Y": 2,
"Position": "Absolute",
"Radius": 3,
"ModificationNum": 3,
"ModificationType": 1,
"TargetEventType": 1,
"TargetEventState":[ "ShowEvent"],
//"TargetVisibleState":[ "Visible"],
"TargetEventID":[ 2010808 ],
"EventID": [ 1003 ],
"EventState": "ShowEvent",
"VisibleState": "Visible"
},
{
"$type": "Share.CConfigPreset",
"PerformKey" : "Chessboard_BattleEnd_None"
},
{
"$type":"Share.CConfigCloseDialog",
"CameraMove":false
},
{
"$type":"Share.CConfigOpenDialog"
},
{
"$type": "Share.CConfigChoiceServer",
"OptionsMode": "Normal",
"Title":"「摇钱布」",
"Description": "金币邦布丢下了所有东西落荒而逃",
"QuestionDescription": "再检查一下还有什么吧",
"Choices": [
{
"OptionText": "一张地图和一个钥匙",
"OptionContents":
[
{
"Actions":
[
]
}
]
}
]
},
{
"$type": "Share.CConfigCloseDialog"
},
{
"$type": "Share.CConfigSetMapState",
"Position": "Absolute",
"NodeType": "All",
"X": 15,
"Y": 2,
"Radius": 0,
"Count": 1,
"FromVisibleState":["VisibleByTriggerEvent"],
"ToVisibleState": ["Visible"]
},
{
"$type": "Share.CConfigFinishEvent"
}
]
}
},
"Specials": {
"Difficulty":31,
"ConstX":5,
"X_+offset":1,
"Y_+offset":1,
"X_-offset":-1,
"Y_-offset":-1,
"zero":0,
"odd":25,
"BattleID": 0,
"MessageID": 1009,
"RandomCard_1": 0,
"RandomCard_2": 0,
"RandomCard_3": 0,
"Gold": 200,
"Stamina": 20,
"Hp": 10,
"ShowGold": 900001,
"ShowStamina": 900002,
"ShowHp": 900003
}
}