turnbasedgamedata/Config/Level/Maze/MazeExtra/CommandRobotPuzzle/CommandRobotPuzzle_HideChestWaypointControl.json
2025-02-24 07:50:34 -03:00

100 lines
2.5 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "Hidden",
"ToState": "ChestClosed",
"OnChange": [
{
"$type": "RPG.GameCore.ShowWaypointByProp",
"PropKey": {
"Custom": true,
"Key": "Chest"
},
"MaxRange": 10,
"IconPath": "SpriteOutput/MapPics/Billboard/IconBillboardBox.png",
"Offset": {
"Y": 1.6
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "Chest"
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"FromState": "ChestClosed",
"ToState": "ChestUsed",
"OnChange": [
{
"$type": "RPG.GameCore.HideWaypointByProp",
"PropKey": {
"Custom": true,
"Key": "Chest"
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "Chest"
}
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "Chest"
}
},
"State": "ChestClosed",
"Execute": [
{
"$type": "RPG.GameCore.ShowWaypointByProp",
"PropKey": {
"Custom": true,
"Key": "Chest"
},
"MaxRange": 10,
"IconPath": "SpriteOutput/MapPics/Billboard/IconBillboardBox.png",
"Offset": {
"Y": 1.6
}
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Key": "Chest"
}
]
}
}