mirror of
https://gitlab.com/Dimbreath/turnbasedgamedata.git
synced 2025-05-12 06:56:01 +08:00
229 lines
5.9 KiB
JSON
229 lines
5.9 KiB
JSON
{
|
|
"OnInitSequece": [],
|
|
"OnStartSequece": [
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitFloorSavedValueChangeV2",
|
|
"Name": {
|
|
"Value": "CurtainRightUnlock"
|
|
},
|
|
"Condition": {
|
|
"$type": "RPG.GameCore.ByCompareFloorSavedValue",
|
|
"Name": "CurtainRightUnlock",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 1
|
|
},
|
|
"OnChange": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitSecond",
|
|
"WaitTime": {
|
|
"FixedValue": {
|
|
"Value": 0.5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEventV2",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerOpen"
|
|
},
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.GroupFetchLocalTarget",
|
|
"TargetType": "Prop",
|
|
"Targets": [
|
|
300001,
|
|
300003
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitFloorSavedValueChangeV2",
|
|
"Name": {
|
|
"Value": "CurtainLeftUnlock"
|
|
},
|
|
"Condition": {
|
|
"$type": "RPG.GameCore.ByCompareFloorSavedValue",
|
|
"Name": "CurtainLeftUnlock",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 1
|
|
},
|
|
"OnChange": [
|
|
{
|
|
"$type": "RPG.GameCore.WaitSecond",
|
|
"WaitTime": {
|
|
"FixedValue": {
|
|
"Value": 0.5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEventV2",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerOpen"
|
|
},
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.GroupFetchLocalTarget",
|
|
"TargetType": "Prop",
|
|
"Targets": [
|
|
300018,
|
|
300019
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEventV2",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerOpen"
|
|
},
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.GroupFetchLocalTarget",
|
|
"TargetType": "Prop",
|
|
"Targets": [
|
|
300004,
|
|
300005
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareFloorSavedValue",
|
|
"Name": "CurtainLeftUnlock",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 1
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEventV2",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerOpen"
|
|
},
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.GroupFetchLocalTarget",
|
|
"TargetType": "Prop",
|
|
"Targets": [
|
|
300018,
|
|
300019
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEventV2",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerOpen"
|
|
},
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.GroupFetchLocalTarget",
|
|
"TargetType": "Prop",
|
|
"Targets": [
|
|
300004,
|
|
300005
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareFloorSavedValue",
|
|
"Name": "CurtainRightUnlock",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 1
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEventV2",
|
|
"EventName": {
|
|
"Value": "Clt_TriggerOpen"
|
|
},
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.GroupFetchLocalTarget",
|
|
"TargetType": "Prop",
|
|
"Targets": [
|
|
300001,
|
|
300003
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.AdvDistrictSetupTrigger",
|
|
"DistrictID": {
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
},
|
|
"TickInterval": 0.1,
|
|
"OnEnter": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEventV2",
|
|
"EventName": {
|
|
"Value": "Self_TriggerOpen"
|
|
},
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.GroupFetchLocalTarget",
|
|
"TargetType": "Prop",
|
|
"Targets": [
|
|
300015,
|
|
300002
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"OnExit": [
|
|
{
|
|
"$type": "RPG.GameCore.TriggerEntityEventV2",
|
|
"EventName": {
|
|
"Value": "Self_TriggerClose"
|
|
},
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.GroupFetchLocalTarget",
|
|
"TargetType": "Prop",
|
|
"Targets": [
|
|
300015,
|
|
300002
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ValueSource": {
|
|
"Values": [
|
|
{
|
|
"$type": "RPG.GameCore.SharedFloat",
|
|
"Key": "HasUpdatedCurtainLeftUnlock"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SharedFloat",
|
|
"Key": "HasUpdatedCurtainRightUnlock"
|
|
}
|
|
]
|
|
},
|
|
"Type": "Group"
|
|
} |