turnbasedgamedata/Config/Level/Maze/MazeExtra/InsertionPuzzle/Maze_Prop_InsertionPuzzle_LockToClose.json
2024-10-21 03:16:22 -03:00

193 lines
5.5 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Execute": [
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonIcon": "SpriteOutput/TalkIcon/TriggerProp.png",
"ButtonText": {
"Hash": -2100740014
},
"ButtonCallback": [
{
"$type": "RPG.GameCore.PropInitPuzzle",
"BoardPath": {
"Custom": true,
"Key": "PrefabPath"
},
"LocalPosition": {
"X": 1,
"Y": 1.8,
"Z": -1.3
},
"LocalScale": {
"X": 9,
"Y": 9,
"Z": 1
}
},
{
"$type": "RPG.GameCore.TakenMazePuzzleChallenge",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MazePuzzleChallengeID": {
"Value": "1020"
},
"AutoClosePuzzle": false,
"AutoResetPuzzle": false,
"AutoFinishChallenge": false,
"OnCancel": [
{
"$type": "RPG.GameCore.SetLocalPlayerDitherAlpha",
"DitherAlpha": 1
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "Camera"
},
"IsActive": false,
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Cut"
}
},
{
"$type": "RPG.GameCore.PropClosePuzzle"
}
]
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "Camera"
},
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Cut"
}
},
{
"$type": "RPG.GameCore.SetLocalPlayerDitherAlpha"
},
{
"$type": "RPG.GameCore.PropStartPuzzle",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"InteractAngleRange": 220,
"OverrideTargetTypes": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropPuzzleEventListener",
"FinishCallback": [
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 2
}
}
},
{
"$type": "RPG.GameCore.FinishMazePuzzleChallenge",
"MazePuzzleChallengeID": {
"Value": "1020"
}
},
{
"$type": "RPG.GameCore.SetLocalPlayerDitherAlpha",
"DitherAlpha": 1
},
{
"$type": "RPG.GameCore.PropClosePuzzle"
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "Camera"
},
"IsActive": false,
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Cut"
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "UnlockTarget"
}
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1200
}
}
}
],
"QuitCallback": []
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Key": "PrefabPath"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "Camera"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "UnlockTarget"
}
]
}
}