Files
turnbasedgamedata/Config/Level/Props/Chap02/InitLevelGraph_Prop_Chap02_ContaminateSubControlLock.json
2025-07-03 10:50:43 +02:00

227 lines
6.6 KiB
JSON

{
"OnInitSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.SyncSubPropState"
}
]
}
],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Custom": true,
"Key": "Chap02_ContaminateTree_EffFadeout"
}
},
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "FadeOutTrigger",
"ParameterType": "Trigger"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonIcon": "SpriteOutput/TalkIcon/ChatIcon.png",
"ButtonText": {
"Hash": 6030448364283700884
},
"ButtonCallback": [
{
"$type": "RPG.GameCore.ToastPile",
"DescTextID": {
"Hash": 6672110800028066618
}
}
],
"InteractAngleRange": 240,
"OverrideTargetTypes": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.SelectorConfig",
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Execute": [
{
"$type": "RPG.GameCore.PropEnableCollider",
"Enabled": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Open",
"Execute": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "Chap02_ContaminateTree_LockedObj"
},
"SinglePropID": {
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 34
}
},
"ID": {
"IsDynamic": false,
"FixedValue": {
"Value": 300001
}
}
}
},
"State": "Locked",
"Execute": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "Chap02_ContaminateTree_LockedObj"
},
"SinglePropID": {
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 34
}
},
"ID": {
"IsDynamic": false,
"FixedValue": {
"Value": 300001
}
}
}
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1200
}
}
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"ToState": "Open",
"OnChange": [
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "Chap02_ContaminateTree_LockedObj"
},
"SinglePropID": {
"GroupID": {
"IsDynamic": false,
"FixedValue": {
"Value": 34
}
},
"ID": {
"IsDynamic": false,
"FixedValue": {
"Value": 300001
}
}
}
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1200
}
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Key": "Chap02_ContaminateTree_LockedObj"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "Chap02_ContaminateTree_Main"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "Chap02_ContaminateTree_EffFadeout"
}
]
}
}