turnbasedgamedata/Config/Level/Props/Chap04/InitLevelGraph_Prop_Chap04_Hand_CoinChestController.json
2025-02-24 07:50:34 -03:00

176 lines
4.5 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitGroupStateChange",
"OnChange": [
{
"$type": "RPG.GameCore.LockPlayerControl"
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.7
}
}
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "ChestCam"
},
"WaitBlendFinish": true,
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Custom",
"CustomCurveName": "BlendCut01",
"BlendTime": 1
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.5
}
}
},
{
"$type": "RPG.GameCore.ToastPile",
"DescTextID": {
"Hash": 4464443107226243129
}
},
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "ChestID"
}
},
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap04_Prop_SwitchHand_01_Catchable01_Lod0.prefab",
"AttachPoint": "Root",
"SubObjectModifyDataList": [],
"SyncPropState": true
},
{
"$type": "RPG.GameCore.TriggerEntityEventV2",
"EventName": {
"Value": "Self_ShowChest"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"FromStates": [
0
],
"FromAnyState": false,
"ToStates": [
1
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEventV2",
"EventName": {
"Value": "Self_ShowChest"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "ChestID"
}
},
"InteractID": {
"FixedValue": {
"Value": 120120
}
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEventV2",
"EventName": {
"Value": "Self_ShowChest"
},
"OnEvent": [
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 1.5
}
}
},
{
"$type": "RPG.GameCore.ActiveVirtualCamera",
"LevelAreaCameraKey": {
"Custom": true,
"Key": "ChestCam"
},
"IsActive": false,
"WaitBlendFinish": true,
"BlendConfig": {
"ExportToJson": true,
"BlendType": "Custom",
"CustomCurveName": "BlendCut01",
"BlendTime": 1
}
},
{
"$type": "RPG.GameCore.UnLockPlayerControl"
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Key": "ChestID"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "ChestCam"
}
]
},
"Type": "Entity",
"EntityEventList": [
{
"Name": "Self_ShowChest",
"IsPrivate": true
}
]
}