mirror of
https://gitlab.com/Dimbreath/turnbasedgamedata.git
synced 2025-05-07 20:46:00 +08:00
817 lines
23 KiB
JSON
817 lines
23 KiB
JSON
{
|
|
"OnInitSequece": [],
|
|
"OnStartSequece": [
|
|
{
|
|
"IsLoop": true,
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvOnButtonPressed",
|
|
"ButtonName": "Interact",
|
|
"OnPressedCallback": [
|
|
{
|
|
"$type": "RPG.GameCore.GenericSwitchCase",
|
|
"SwitchRef": {
|
|
"$type": "RPG.GameCore.SwitchRefPropState"
|
|
},
|
|
"Cases": [
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Locked",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.ToastPile",
|
|
"DescTextID": {
|
|
"Hash": 16994266227765503259
|
|
},
|
|
"DescTextKey": {
|
|
"Custom": true,
|
|
"Key": "LockedText"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Default": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "Self_Use"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"IsLoop": true,
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitEntityEvent",
|
|
"EventName": {
|
|
"Value": "Self_Use"
|
|
},
|
|
"OnEvent": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_OnUseStart"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.StartPropInteractMode",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"Mode": "UsePose02"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.WaitSecond",
|
|
"WaitTime": {
|
|
"FixedValue": {
|
|
"Value": 0.2
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_OnUseFinish"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "Self_OnUseFinish"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.WaitSecond",
|
|
"WaitTime": {
|
|
"FixedValue": {
|
|
"Value": 0.5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.EndPropInteract"
|
|
}
|
|
],
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerOpen"
|
|
},
|
|
"OnEvent": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareEntityAuthoritySide"
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.GenericSwitchCase",
|
|
"SwitchRef": {
|
|
"$type": "RPG.GameCore.SwitchRefPropState"
|
|
},
|
|
"Cases": [
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvClientChangePropState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"ToState": "Open"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Locked",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvClientChangePropState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"FromState": "Locked",
|
|
"ToState": "Open"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.GenericSwitchCase",
|
|
"SwitchRef": {
|
|
"$type": "RPG.GameCore.SwitchRefPropState"
|
|
},
|
|
"Cases": [
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.PropReqInteract",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"InteractID": {
|
|
"FixedValue": {
|
|
"Value": 1010
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Locked",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.PropReqInteract",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"InteractID": {
|
|
"FixedValue": {
|
|
"Value": 1210
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerClose"
|
|
},
|
|
"OnEvent": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareEntityAuthoritySide"
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.GenericSwitchCase",
|
|
"SwitchRef": {
|
|
"$type": "RPG.GameCore.SwitchRefPropState"
|
|
},
|
|
"Cases": [
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Open",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvClientChangePropState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"FromState": "Open"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Locked",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvClientChangePropState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"FromState": "Locked"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.GenericSwitchCase",
|
|
"SwitchRef": {
|
|
"$type": "RPG.GameCore.SwitchRefPropState"
|
|
},
|
|
"Cases": [
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Open",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.PropReqInteract",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"InteractID": {
|
|
"FixedValue": {
|
|
"Value": 1100
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Locked",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.PropReqInteract",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"InteractID": {
|
|
"FixedValue": {
|
|
"Value": 1200
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerLock"
|
|
},
|
|
"OnEvent": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareEntityAuthoritySide"
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.GenericSwitchCase",
|
|
"SwitchRef": {
|
|
"$type": "RPG.GameCore.SwitchRefPropState"
|
|
},
|
|
"Cases": [
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Open",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvClientChangePropState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"FromState": "Open",
|
|
"ToState": "Locked"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvClientChangePropState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"ToState": "Locked"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.GenericSwitchCase",
|
|
"SwitchRef": {
|
|
"$type": "RPG.GameCore.SwitchRefPropState"
|
|
},
|
|
"Cases": [
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Open",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.PropReqInteract",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"InteractID": {
|
|
"FixedValue": {
|
|
"Value": 1120
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.PropReqInteract",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"InteractID": {
|
|
"FixedValue": {
|
|
"Value": 1020
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitEntityEvent",
|
|
"EventName": {
|
|
"Value": "Self_OnUseFinish"
|
|
},
|
|
"OnEvent": [
|
|
{
|
|
"$type": "RPG.GameCore.GenericSwitchCase",
|
|
"SwitchRef": {
|
|
"$type": "RPG.GameCore.SwitchRefPropState"
|
|
},
|
|
"Cases": [
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerOpen"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Open",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerClose"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.LoopWaitServerPropStateChange"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.LoopWaitServerPropStateChange"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.LoopWaitServerPropStateChange"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_EnableInteract"
|
|
},
|
|
"OnEvent": [
|
|
{
|
|
"$type": "RPG.GameCore.SetGraphDynamicFloat",
|
|
"Name": "Loc_CanInteract",
|
|
"TargetIDs": [],
|
|
"Value": {
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_DisableInteract"
|
|
},
|
|
"OnEvent": [
|
|
{
|
|
"$type": "RPG.GameCore.SetGraphDynamicFloat",
|
|
"Name": "Loc_CanInteract",
|
|
"TargetIDs": [],
|
|
"Value": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvSetupButtonListTrigger",
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"Interact"
|
|
],
|
|
"ButtonConfigs": [],
|
|
"IsOverrideValidGuestConfig": true,
|
|
"OverridedValidGuestConfig": {}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
|
|
"Name": "Loc_CanInteract",
|
|
"Value": {
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
},
|
|
"CompareType": "Equal"
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvEnableButtons",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"Interact"
|
|
],
|
|
"IsEnable": true
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvEnableButtons",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"Interact"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitPropStateChange",
|
|
"FromAnyState": true,
|
|
"ToAnyState": true,
|
|
"OnChange": [
|
|
{
|
|
"$type": "RPG.GameCore.AnimSetParameter",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"ParameterName": "TriggerAnim",
|
|
"ParameterType": "Trigger"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.GenericSwitchCase",
|
|
"SwitchRef": {
|
|
"$type": "RPG.GameCore.SwitchRefPropState"
|
|
},
|
|
"Cases": [
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_OnClosed"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Open",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_OnOpened"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PropStateCaseContainer",
|
|
"Case": "Locked",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEvent",
|
|
"EventName": {
|
|
"Value": "Clt_OnLocked"
|
|
},
|
|
"InstanceID": {
|
|
"FixedValue": {
|
|
"Value": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitGraphDynamicValueChange",
|
|
"Name": "Loc_CanInteract",
|
|
"OnChange": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
|
|
"Name": "Loc_CanInteract",
|
|
"Value": {
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
},
|
|
"CompareType": "Equal"
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvEnableButtons",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"Interact"
|
|
],
|
|
"IsEnable": true
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvEnableButtons",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
|
|
},
|
|
"TriggerName": "InteractTrigger",
|
|
"ButtonsByName": [
|
|
"Interact"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ValueSource": {
|
|
"Values": [
|
|
{
|
|
"$type": "RPG.GameCore.SharedInt",
|
|
"Value": 1,
|
|
"Key": "Loc_CanInteract"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SharedString",
|
|
"Value": "PropInteractTitle_317",
|
|
"Key": "LockedText"
|
|
}
|
|
]
|
|
},
|
|
"Type": "Entity",
|
|
"EntityEventList": [
|
|
{
|
|
"Name": "Self_Use",
|
|
"IsPrivate": true
|
|
},
|
|
{
|
|
"Name": "Clt_OnUseStart"
|
|
},
|
|
{
|
|
"Name": "Clt_OnUseFinish"
|
|
},
|
|
{
|
|
"Name": "Self_OnUseFinish",
|
|
"IsPrivate": true
|
|
},
|
|
{
|
|
"Name": "Clt_TriggerOpen"
|
|
},
|
|
{
|
|
"Name": "Clt_TriggerClose"
|
|
},
|
|
{
|
|
"Name": "Clt_TriggerLock"
|
|
},
|
|
{
|
|
"Name": "Srv_TriggerOpen",
|
|
"IsClient": false
|
|
},
|
|
{
|
|
"Name": "Srv_TriggerClose",
|
|
"IsClient": false
|
|
},
|
|
{
|
|
"Name": "Srv_TriggerLock",
|
|
"IsClient": false
|
|
},
|
|
{
|
|
"Name": "Srv_OnClosed",
|
|
"IsClient": false
|
|
},
|
|
{
|
|
"Name": "Srv_OnOpened",
|
|
"IsClient": false
|
|
},
|
|
{
|
|
"Name": "Srv_OnLocked",
|
|
"IsClient": false
|
|
},
|
|
{
|
|
"Name": "Clt_EnableInteract"
|
|
},
|
|
{
|
|
"Name": "Clt_DisableInteract"
|
|
},
|
|
{
|
|
"Name": "Clt_OnClosed"
|
|
},
|
|
{
|
|
"Name": "Clt_OnOpened"
|
|
},
|
|
{
|
|
"Name": "Clt_OnLocked"
|
|
}
|
|
]
|
|
} |