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

289 lines
8.1 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Locked",
"Execute": [
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonIcon": "SpriteOutput/TalkIcon/TriggerProp.png",
"ButtonText": {
"Hash": -2100740014
},
"ButtonCallback": [
{
"$type": "RPG.GameCore.StartPropInteractMode",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Mode": "UseInteractiveProp",
"UseOverrideData": true,
"OverrideData01": {
"AreasPath": "Level/Common_Adventure/UseCompassPuzzle.prefab",
"AreaName": "UseCompassPuzzle",
"AnchorName": "PuzzleCompassCam"
}
},
{
"$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
},
"AutoPlayFinishSound": false
},
{
"$type": "RPG.GameCore.TakenMazePuzzleChallenge",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MazePuzzleChallengeID": {
"Value": "1020"
},
"AutoClosePuzzle": false,
"AutoResetPuzzle": false,
"AutoFinishChallenge": false,
"OnReset": [],
"OnCancel": [
{
"$type": "RPG.GameCore.SetLocalPlayerDitherAlpha",
"DitherAlpha": 1
},
{
"$type": "RPG.GameCore.PropClosePuzzle"
},
{
"$type": "RPG.GameCore.EndPropInteract"
}
]
},
{
"$type": "RPG.GameCore.SetLocalPlayerDitherAlpha"
},
{
"$type": "RPG.GameCore.PropStartPuzzle",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.TutorialTaskUnlock",
"TriggerParam": {
"Value": "5021"
}
}
],
"InteractAngleRange": 220,
"OverrideTargetTypes": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropPuzzleEventListener",
"FinishCallback": [
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"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.EndPropInteract"
},
{
"$type": "RPG.GameCore.ToastPage",
"MessageOne": {
"Hash": 362442128
},
"MessageTwo": {
"Hash": -485011076
}
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "Insertion_ClosedToOpen"
}
},
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"SinglePropKey": {
"Custom": true,
"Key": "UnlockTarget"
}
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1210
}
}
}
],
"ResetCallback": [
{
"$type": "RPG.GameCore.PlayScreenTransfer",
"Mode": "SwitchOut",
"CustomTime": 0.25,
"KeepDisplay": true,
"TextEnabled": true,
"TalkSentenceID": 100000004
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.5
}
}
},
{
"$type": "RPG.GameCore.PropResetPuzzle"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.5
}
}
},
{
"$type": "RPG.GameCore.PlayScreenTransfer",
"CustomTime": 0.25,
"KeepDisplay": true,
"TextEnabled": true,
"TalkSentenceID": 100000004
}
],
"QuitCallback": []
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "Insertion_ClosedToOpen"
},
"WaitOwnerOnly": true
},
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "UnlockTarget01"
}
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1010
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "Insertion_ClosedToOpen"
},
"WaitOwnerOnly": true
},
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "UnlockTarget02"
}
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1010
}
}
}
]
},
{
"TaskList": []
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Key": "PrefabPath"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "UnlockTarget01"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "UnlockTarget02"
}
]
}
}