Files
turnbasedgamedata/Config/Level/Props/Chap04/InitLevelGraph_Prop_Chap04_ConsoleFanCtrl_01.json
2025-05-20 21:34:22 -03:00

581 lines
16 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"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.LoopWaitServerPropStateChange"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitServerPropStateChange"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitServerPropStateChange"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitPropStateChange",
"FromAnyState": true,
"ToAnyState": true,
"OnChange": [
{
"$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.AddTimelineEntityEventListener",
"Target": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"OnStartControlEntity": [
{
"$type": "RPG.GameCore.TriggerEntityEventV2",
"EventName": {
"Value": "Clt_OnTimelineControl"
}
}
],
"OnEndControlEntity": [
{
"$type": "RPG.GameCore.TriggerEntityEventV2",
"EventName": {
"Value": "Clt_OnFinishControl"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByComparePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Open"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.SetTimelineEntityState",
"Target": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"StateName": {
"Value": "L0_Idle"
}
},
{
"$type": "RPG.GameCore.TriggerEntityEventV2",
"EventName": {
"Value": "Clt_OnFinishControl"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.AdvAttachEntityToPropEX",
"AttachedTarget": {
"Custom": true,
"Key": "AttachProp"
},
"AttachPointName": {
"Custom": true,
"Key": "AttachPoint"
},
"AttachedPointName": {
"Custom": true,
"Key": "AttachedPoint"
}
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedInt",
"Value": 1,
"Key": "Loc_CanInteract"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "PropInteractTitle_317",
"Key": "LockedText"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "AttachProp"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "AttachPoint"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "AttachedPoint"
}
]
},
"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"
},
{
"Name": "Clt_OnTimelineControl"
},
{
"Name": "Clt_OnFinishControl"
}
]
}