{ "OnInitSequece": [ { "TaskList": [ { "$type": "RPG.GameCore.AdvSetupButtonListTrigger", "TriggerName": "InteractTrigger", "ButtonsByName": [ "Interact" ], "ButtonConfigs": [], "OverridedValidGuestConfig": { "FakePlayer": true } }, { "$type": "RPG.GameCore.SelectorConfig", "TaskList": [ { "$type": "RPG.GameCore.PropStateExecute", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "State": "ChestLocked", "Execute": [ { "$type": "RPG.GameCore.AdvEnableButtons", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "TriggerName": "InteractTrigger", "ButtonsByName": [ "Interact" ], "IsEnable": true }, { "$type": "RPG.GameCore.EnableBillboard", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "Enable": true }, { "$type": "RPG.GameCore.PropSetVisibility", "Visible": true, "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.PropEnableCollider", "OPType": "ColliderOnly", "Enabled": true, "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.SetNavMeshState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "Name": { "Value": "Default" } } ] }, { "$type": "RPG.GameCore.PropStateExecute", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "State": "ChestClosed", "Execute": [ { "$type": "RPG.GameCore.AdvEnableButtons", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "TriggerName": "InteractTrigger", "ButtonsByName": [ "Interact" ], "IsEnable": true }, { "$type": "RPG.GameCore.EnableBillboard", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "Enable": true }, { "$type": "RPG.GameCore.PropSetVisibility", "Visible": true, "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.PropEnableCollider", "OPType": "ColliderOnly", "Enabled": true, "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.SetNavMeshState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "Name": { "Value": "Default" } } ] }, { "$type": "RPG.GameCore.PropStateExecute", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "State": "ChestUsed", "Execute": [ { "$type": "RPG.GameCore.AdvEnableButtons", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "TriggerName": "InteractTrigger", "ButtonsByName": [ "Interact" ] }, { "$type": "RPG.GameCore.EnableBillboard", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.PropSetVisibility", "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.PropEnableCollider", "OPType": "ColliderOnly", "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.RemoveNavMeshState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } } ] }, { "$type": "RPG.GameCore.PropStateExecute", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "State": "Hidden", "Execute": [ { "$type": "RPG.GameCore.AdvEnableButtons", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "TriggerName": "InteractTrigger", "ButtonsByName": [ "Interact" ] }, { "$type": "RPG.GameCore.EnableBillboard", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.PropSetVisibility", "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.PropEnableCollider", "OPType": "ColliderOnly", "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.RemoveNavMeshState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } } ] } ] } ] } ], "OnStartSequece": [ { "TaskList": [ { "$type": "RPG.GameCore.AdvOnButtonPressed", "ButtonName": "Interact", "OnPressedCallback": [ { "$type": "RPG.GameCore.TriggerEntityEvent", "EventName": { "Value": "Clt_OnInteract" }, "InstanceID": { "IsDynamic": false, "FixedValue": { "Value": 0 } } }, { "$type": "RPG.GameCore.SelectorConfig", "TaskList": [ { "$type": "RPG.GameCore.PropStateExecute", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "State": "ChestLocked", "Execute": [ { "$type": "RPG.GameCore.ToastPile", "DescTextKey": { "Custom": true, "Key": "MDString_HintTextmap" } }, { "$type": "RPG.GameCore.RemoveEffect", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Common_PropBlockade_Idle_Locked_Lod0.prefab", "Flags": [], "ForceImmediateFadeOut": false }, { "$type": "RPG.GameCore.TriggerEffectList", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "EffectList": [ { "EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Common_PropBlockade_Trigger.prefab", "AttachPoint": "Root", "PositionOffset": { "X": 0, "Y": -0.5, "Z": 0 }, "ForceSimulateImmediately": false } ] }, { "$type": "RPG.GameCore.WaitSecond", "WaitTime": { "IsDynamic": false, "FixedValue": { "Value": 0.2 } } }, { "$type": "RPG.GameCore.TriggerEffectList", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "EffectList": [ { "EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Common_PropBlockade_Idle_Locked_Lod0.prefab", "AttachPoint": "Root", "PositionOffset": { "X": 0, "Y": -0.5, "Z": 0 }, "ForceSimulateImmediately": false } ] } ] }, { "$type": "RPG.GameCore.PropStateExecute", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "State": "ChestClosed", "Execute": [ { "$type": "RPG.GameCore.PredicateTaskList", "Predicate": { "$type": "RPG.GameCore.ByCompareEntityAuthoritySide", "CompareValue": "Server" }, "SuccessTaskList": [ { "$type": "RPG.GameCore.PropReqInteract", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "InteractID": { "IsDynamic": false, "FixedValue": { "Value": 112131 } } } ], "FailedTaskList": [ { "$type": "RPG.GameCore.AdvClientChangePropState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "FromState": "ChestClosed", "ToState": "ChestUsed" } ] } ] } ] } ] } ] }, { "TaskList": [ { "$type": "RPG.GameCore.PropStateChangeListenerConfig", "ToState": "ChestLocked", "FromAnyState": true, "OnChange": [ { "$type": "RPG.GameCore.AdvEnableButtons", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "TriggerName": "InteractTrigger", "ButtonsByName": [ "Interact" ], "IsEnable": true }, { "$type": "RPG.GameCore.WaitSecond", "WaitTime": { "IsDynamic": false, "FixedValue": { "Value": 0.5 } } }, { "$type": "RPG.GameCore.EnableBillboard", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "Enable": true }, { "$type": "RPG.GameCore.PropSetVisibility", "Visible": true, "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.PropEnableCollider", "OPType": "ColliderOnly", "Enabled": true, "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.SetNavMeshState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "Name": { "Value": "Default" } } ], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } } ] }, { "TaskList": [ { "$type": "RPG.GameCore.PropStateChangeListenerConfig", "ToState": "ChestClosed", "FromAnyState": true, "OnChange": [ { "$type": "RPG.GameCore.WaitSecond", "WaitTime": { "IsDynamic": false, "FixedValue": { "Value": 0.5 } } }, { "$type": "RPG.GameCore.AdvEnableButtons", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "TriggerName": "InteractTrigger", "ButtonsByName": [ "Interact" ], "IsEnable": true }, { "$type": "RPG.GameCore.EnableBillboard", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "Enable": true }, { "$type": "RPG.GameCore.PropSetVisibility", "Visible": true, "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.PropEnableCollider", "OPType": "ColliderOnly", "Enabled": true, "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.SetNavMeshState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "Name": { "Value": "Default" } } ], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } } ] }, { "TaskList": [ { "$type": "RPG.GameCore.PropStateChangeListenerConfig", "ToState": "ChestUsed", "FromAnyState": true, "OnChange": [ { "$type": "RPG.GameCore.AdvEnableButtons", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "TriggerName": "InteractTrigger", "ButtonsByName": [ "Interact" ] }, { "$type": "RPG.GameCore.EnableBillboard", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.WaitSecond", "WaitTime": { "IsDynamic": false, "FixedValue": { "Value": 1 } } }, { "$type": "RPG.GameCore.AnimSetParameter", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "ParameterName": "TriggerDissolve", "ParameterType": "Bool", "Value": { "IsDynamic": false, "FixedValue": { "Value": 1 } } }, { "$type": "RPG.GameCore.PropEnableCollider", "OPType": "ColliderOnly", "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.RemoveNavMeshState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } } ], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } } ] }, { "TaskList": [ { "$type": "RPG.GameCore.PropStateChangeListenerConfig", "ToState": "Hidden", "FromAnyState": true, "OnChange": [ { "$type": "RPG.GameCore.AdvEnableButtons", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "TriggerName": "InteractTrigger", "ButtonsByName": [ "Interact" ] }, { "$type": "RPG.GameCore.PropSetVisibility", "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.PropEnableCollider", "OPType": "ColliderOnly", "SpecifiedRelativePaths": [], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.EnableBillboard", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } }, { "$type": "RPG.GameCore.RemoveNavMeshState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } } ], "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" } } ] }, { "TaskList": [ { "$type": "RPG.GameCore.WaitEntityEvent", "EventName": { "Value": "Clt_DebugShow01" }, "OnEvent": [ { "$type": "RPG.GameCore.GenericSwitchCase", "SwitchRef": { "$type": "RPG.GameCore.SwitchRefPropState" }, "Cases": [ { "$type": "RPG.GameCore.PropStateCaseContainer", "Case": "Hidden", "OnSuccess": [ { "$type": "RPG.GameCore.AdvClientChangePropState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "FromState": "Hidden", "ToState": "ChestClosed" } ] }, { "$type": "RPG.GameCore.PropStateCaseContainer", "Case": "ChestClosed", "OnSuccess": [ { "$type": "RPG.GameCore.AdvClientChangePropState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "FromState": "ChestClosed", "ToState": "Hidden" } ] } ] } ], "InstanceID": { "IsDynamic": false, "FixedValue": { "Value": 0 } } } ] }, { "TaskList": [ { "$type": "RPG.GameCore.WaitEntityEvent", "EventName": { "Value": "Clt_DebugShow02" }, "OnEvent": [ { "$type": "RPG.GameCore.GenericSwitchCase", "SwitchRef": { "$type": "RPG.GameCore.SwitchRefPropState" }, "Cases": [ { "$type": "RPG.GameCore.PropStateCaseContainer", "Case": "ChestLocked", "OnSuccess": [ { "$type": "RPG.GameCore.AdvClientChangePropState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "FromState": "ChestLocked", "ToState": "ChestClosed" } ] }, { "$type": "RPG.GameCore.PropStateCaseContainer", "Case": "ChestClosed", "OnSuccess": [ { "$type": "RPG.GameCore.AdvClientChangePropState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "FromState": "ChestClosed", "ToState": "ChestLocked" } ] } ] } ], "InstanceID": { "IsDynamic": false, "FixedValue": { "Value": 0 } } } ] } ], "ValueSource": { "Values": [ { "$type": "RPG.GameCore.SharedString", "Value": "MazeText_MazeCommon_ChestLockedHint", "Key": "MDString_HintTextmap" } ] }, "Type": "Entity", "EntityEventList": [ { "Name": "Clt_OnInteract" }, { "Name": "Clt_DebugShow01" }, { "Name": "Clt_DebugShow02" } ] }