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

253 lines
7.7 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.SelectorConfig",
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "EventClose",
"Execute": [
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Enable": true
},
{
"$type": "RPG.GameCore.PropSetVisibility",
"Visible": true,
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"Enabled": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonText": {
"Hash": 278713935
},
"ButtonCallback": [
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "EventClose",
"Execute": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 118191
}
}
}
]
}
],
"OverrideTargetTypes": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "EventOpen",
"Execute": [
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "EventClose",
"ToState": "EventOpen",
"OnChange": [
{
"$type": "RPG.GameCore.EnableBillboard",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 2
}
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "NotHiddenAfterUse",
"Value": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareGraphDynamicFloat",
"Name": "NotHiddenAfterUse",
"Value": {
"IsDynamic": false,
"FixedValue": {
"Value": 1
}
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"Visible": true,
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropSetupTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TargetGroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"TargetID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
},
"TargetTypes": [],
"ColliderRelativePath": "CustomTrigger_Hint",
"OnTriggerEnter": [
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "IsCloseEnough",
"ParameterType": "Bool",
"Value": 1
}
],
"OnTriggerExit": [
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "IsCloseEnough",
"ParameterType": "Bool"
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedFloat",
"Key": "NotHiddenAfterUse"
}
]
},
"Type": "Entity"
}