turnbasedgamedata/Config/Level/Props/Common/InitLevelGraph_Prop_Common_Photo_FuncBtn.json
2024-10-21 03:16:22 -03:00

142 lines
3.7 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.PropSetupTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"SinglePropID": {}
},
"TargetGroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"TargetID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"TargetTypes": [],
"OnTriggerEnter": [
{
"$type": "RPG.GameCore.ShowFuncBtn",
"PuzzleFunc": "Identify",
"CDDuration": 1,
"CustomString": {
"Value": "Prop_EnterPhotoMode"
},
"MissionID": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAK",
"FixedValues": [],
"DynamicHashes": [
833656080
]
}
}
}
],
"OnTriggerExit": [
{
"$type": "RPG.GameCore.ShowFuncBtn",
"Show": false,
"PuzzleFunc": "Identify",
"CDDuration": 1,
"ShowBtnFucHint": false,
"CustomString": {
"Value": "Prop_EnterPhotoMode"
},
"MissionID": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAK",
"FixedValues": [],
"DynamicHashes": [
833656080
]
}
}
}
]
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "Prop_EnterPhotoMode"
},
"WaitOwnerOnly": true,
"GoNextImmediately": true
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareDynamicValue",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"SinglePropKey": {
"Custom": true
}
},
"DynamicKey": "Is_Photo_SkipPreviewDialog",
"ContextScope": "TargetEntity",
"CompareType": "Equal",
"CompareValue": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SwitchPhotoGraphMode",
"PhotoGraphMode": "Identify",
"IdentifyRadiusOverride": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.SwitchPhotoGraphMode",
"PhotoGraphMode": "Identify",
"SkipPhotoPreviewDialog": true,
"IdentifyRadiusOverride": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedFloat",
"Key": "Is_Photo_SkipPreviewDialog"
},
{
"$type": "RPG.GameCore.SharedInt",
"Key": "MissionID_FuncBtn"
}
]
}
}