2024-10-21 03:16:22 -03:00

101 lines
2.4 KiB
JSON

{
"OnInitSequece": [
{
"TaskList": []
}
],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitFloorCustomValueChange",
"Name": {
"Value": "TriggerOpen"
},
"OnChange": [
{
"$type": "RPG.GameCore.TriggerEntityEventV2",
"EventName": {
"Value": "Clt_TriggerOpen"
},
"TargetType": {
"$type": "RPG.GameCore.GroupFetchLocalTarget",
"TargetType": "Prop",
"Targets": [
300001
]
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitPropStateChange",
"InstanceID": 300001,
"ToState": "Open",
"OnChange": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.GroupFetchLocalTarget",
"TargetType": "Prop",
"Targets": [
300001
]
},
"FromState": "Open",
"ToState": "Locked"
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByComparePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvProp",
"MultiGroupFetch": [
{
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 20
}
},
"ID": {
"IsDynamic": false,
"FixedValue": {
"Value": 300003
}
}
}
]
},
"State": "Open"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.GroupFetchLocalTarget",
"TargetType": "Prop",
"Targets": [
300001
]
},
"ToState": "Locked"
}
]
}
]
}
],
"Type": "Group"
}