turnbasedgamedata/Config/Level/Props/Chap03/InitLevelGraph_Prop_Chap03_Arcade_01.json
2024-10-21 03:16:22 -03:00

414 lines
12 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitGraphDynamicValueChange",
"Name": "MenuID01",
"OnChange": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetSceneTVMenu",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MenuID": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAK",
"FixedValues": [],
"DynamicHashes": [
370844383
]
}
},
"TVKey": {
"Value": "Screen01"
}
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitGraphDynamicValueChange",
"Name": "MenuID02",
"OnChange": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetSceneTVMenu",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MenuID": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAK",
"FixedValues": [],
"DynamicHashes": [
774128910
]
}
},
"TVKey": {
"Value": "Screen02"
}
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetSceneTVMenu",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MenuID": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAK",
"FixedValues": [],
"DynamicHashes": [
370844383
]
}
},
"TVKey": {
"Value": "Screen01"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetSceneTVMenu",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MenuID": {
"IsDynamic": false,
"FixedValue": {
"Value": 100
}
},
"TVKey": {
"Value": "Screen01"
}
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetSceneTVMenu",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MenuID": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAK",
"FixedValues": [],
"DynamicHashes": [
774128910
]
}
},
"TVKey": {
"Value": "Screen02"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetSceneTVMenu",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MenuID": {
"IsDynamic": false,
"FixedValue": {
"Value": 100
}
},
"TVKey": {
"Value": "Screen02"
}
}
]
}
]
}
]
},
{
"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": {
"IsDynamic": false,
"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"
},
"ToState": "Open"
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1100
}
}
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitPropStateChange",
"FromAnyState": true,
"ToAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetSceneTVMenu",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MenuID": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAK",
"FixedValues": [],
"DynamicHashes": [
370844383
]
}
},
"TVKey": {
"Value": "Screen01"
}
},
{
"$type": "RPG.GameCore.PropSetSceneTVMenu",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MenuID": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAK",
"FixedValues": [],
"DynamicHashes": [
774128910
]
}
},
"TVKey": {
"Value": "Screen02"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetSceneTVMenu",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MenuID": {
"IsDynamic": false,
"FixedValue": {
"Value": 100
}
},
"TVKey": {
"Value": "Screen01"
}
},
{
"$type": "RPG.GameCore.PropSetSceneTVMenu",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"MenuID": {
"IsDynamic": false,
"FixedValue": {
"Value": 100
}
},
"TVKey": {
"Value": "Screen02"
}
}
]
}
]
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedInt",
"Value": 401,
"Key": "MenuID01"
},
{
"$type": "RPG.GameCore.SharedInt",
"Value": 402,
"Key": "MenuID02"
}
]
},
"Type": "Entity"
}