turnbasedgamedata/Config/Level/Maze/Chapter00/Train/Train_Chapter00_Workbench.json
2025-02-24 07:50:34 -03:00

132 lines
4.5 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_chaptrain_craftingtable_idle"
}
},
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"IconType": "Synthesis",
"ButtonCallback": [
{
"$type": "RPG.GameCore.VerifyInteractingEntity",
"IsOwnerEntity": true
},
{
"$type": "RPG.GameCore.SelectorConfig",
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Locked",
"Execute": [
{
"$type": "RPG.GameCore.ToastLockFunction",
"UnlockID": 4100
}
]
},
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Execute": [
{
"$type": "RPG.GameCore.StartPropInteractMode",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"Mode": "OpenUI"
},
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "IsOpen",
"ParameterType": "Bool",
"Value": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_chaptrain_craftingtable_idle_stop"
}
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_chaptrain_craftingtable_open"
}
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.ShowUI",
"Name": "Ui.ItemCompose.ItemComposePage",
"WaitForExit": true,
"OnUIExitImmediately": [
{
"$type": "RPG.GameCore.AnimSetParameter",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ParameterName": "IsOpen",
"ParameterType": "Bool"
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_chaptrain_craftingtable_open_stop"
}
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_chaptrain_craftingtable_close"
}
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_chaptrain_craftingtable_idle"
}
}
]
},
{
"$type": "RPG.GameCore.EndPropInteract"
}
]
}
]
}
],
"InteractAngleRange": 240,
"OverrideTargetTypes": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}