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

451 lines
13 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "TargetProp"
},
"SinglePropID": {
"ID": {
"IsDynamic": false,
"FixedValue": {
"Value": 300001
}
}
}
},
"State": "Hidden",
"Execute": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "ShowWaypointOnJigsawSir",
"Value": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.5
}
},
"CompareType": "Greater"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByComparePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "GameplayProp"
},
"SinglePropID": {
"ID": {
"IsDynamic": false,
"FixedValue": {
"Value": 300001
}
}
}
},
"State": "Open"
},
"SuccessTaskList": [],
"FailedTaskList": [
{
"$type": "RPG.GameCore.ShowWaypointByProp",
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"PropKey": {
"Custom": true,
"Key": "GameplayProp"
},
"MaxRange": 15,
"IconPath": "SpriteOutput/MapPics/NaviIcons/IconMapPlay6.png",
"OnNameBoard": true
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "TargetProp"
},
"SinglePropID": {
"ID": {
"IsDynamic": false,
"FixedValue": {
"Value": 300001
}
}
}
},
"State": "ChestClosed",
"Execute": [
{
"$type": "RPG.GameCore.ShowWaypointByProp",
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"PropKey": {
"Custom": true,
"Key": "TargetProp"
},
"MaxRange": 15,
"IconPath": "SpriteOutput/MapPics/Billboard/IconBillboardBox.png",
"OnNameBoard": true
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "Hidden",
"ToState": "ChestClosed",
"OnChange": [
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": true,
"PostfixExpr": {
"OpCodes": "AQAK",
"FixedValues": [],
"DynamicHashes": [
1642502823
]
}
}
},
{
"$type": "RPG.GameCore.TriggerEntityEvent",
"EventName": {
"Value": "jigsawcompleted"
}
},
{
"$type": "RPG.GameCore.HideWaypointByProp",
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"PropKey": {
"Custom": true,
"Key": "GameplayProp"
},
"OnNameBoard": true
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_jigsaw_object_appear"
},
"EmitterType": "TargetEvaluator",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "TargetProp"
}
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "UseHighlight",
"Value": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.5
}
},
"CompareType": "Greater"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "TargetProp"
}
},
"IsAttachToTargetEntity": true,
"Flags": [],
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Prop_NormalCube_01_RimHighlight_Lod0.prefab",
"SubObjectModifyDataList": []
},
{
"$type": "RPG.GameCore.ShowWaypointByProp",
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"PropKey": {
"Custom": true,
"Key": "TargetProp"
},
"MaxRange": 15,
"IconPath": "SpriteOutput/MapPics/Billboard/IconBillboardBox.png",
"OnNameBoard": true
}
]
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "TargetProp"
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "ChestClosed",
"ToState": "ChestUsed",
"OnChange": [
{
"$type": "RPG.GameCore.HideWaypointByProp",
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"PropKey": {
"Custom": true,
"Key": "TargetProp"
},
"OnNameBoard": true
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "TargetProp"
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"ToState": "Open",
"FromAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.HideWaypointByProp",
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"PropKey": {
"Custom": true,
"Key": "GameplayProp"
},
"OnNameBoard": true
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "GameplayProp"
},
"SinglePropID": {
"ID": {
"IsDynamic": false,
"FixedValue": {
"Value": 300001
}
}
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "Open",
"ToState": "TriggerEnable",
"OnChange": [
{
"$type": "RPG.GameCore.ShowWaypointByProp",
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"PropKey": {
"Custom": true,
"Key": "GameplayProp"
},
"MaxRange": 15,
"IconPath": "SpriteOutput/MapPics/NaviIcons/IconMapPlay6.png",
"OnNameBoard": true
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "GameplayProp"
},
"SinglePropID": {
"ID": {
"IsDynamic": false,
"FixedValue": {
"Value": 300001
}
}
}
}
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Key": "TargetProp"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Value": 1,
"Key": "HandleTrigger"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Value": 2,
"Key": "HighlightDelay"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Value": 1,
"Key": "BroadcastDelay"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "Jigsaw_Fake_BroadcastCustomString",
"Key": "BroadcastCustomString"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "GameplayProp"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Value": 1,
"Key": "UseHighlight"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Value": 1,
"Key": "ShowWaypointOnJigsawSir"
},
{
"$type": "RPG.GameCore.SharedFloat",
"Key": "DelayAppearTime"
}
]
},
"Type": "Entity"
}