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

254 lines
6.9 KiB
JSON

{
"OnInitSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "IsReady",
"ParameterType": "Bool",
"Value": {
"FixedValue": {
"Value": 1
}
}
}
]
}
],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerOpen"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareEntityAuthoritySide"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ToState": "Open"
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1010
}
}
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerClose"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareEntityAuthoritySide"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Open"
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"FixedValue": {
"Value": 1100
}
}
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitPropStateChangeV2",
"FromAnyState": true,
"ToAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "NeedSound",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_amphoreus_wire_damaged_loop"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_amphoreus_wire_damaged_loop_stop"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_amphoreus_wire_repair"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "NeedSound",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_amphoreus_wire_damaged_loop"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedInt",
"Value": 1,
"Key": "NeedSound"
}
]
},
"Type": "Entity",
"EntityEventList": [
{
"Name": "Clt_TriggerOpen"
},
{
"Name": "Clt_TriggerClose"
},
{
"Name": "Srv_TriggerOpen",
"IsClient": false
},
{
"Name": "Srv_TriggerClose",
"IsClient": false
}
]
}