turnbasedgamedata/Config/Level/Maze/MazeExtra/Puzzle/Maze_Prop_ElementSwitch_Ice.json
2024-10-21 03:16:22 -03:00

224 lines
6.3 KiB
JSON

{
"OnInitSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "Locked",
"Execute": [
{
"$type": "RPG.GameCore.PropTriggerAnimState",
"AnimStateName": "Dissolved",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropSetupHitBox",
"OnBeHit": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Common_MAZ_ElementStone_Ice_OnHit.prefab",
"AttachPoint": "Body_02_JNT"
}
]
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
],
"OnStartSequece": [
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "OrderPillar_Skip"
},
"WaitOwnerOnly": true
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Custom": true,
"Key": "Skip_to_Controller"
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "OrderPillar_Watch"
},
"WaitOwnerOnly": true
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Custom": true,
"Key": "Message_to_Controller"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "WaitActive",
"Execute": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByComparePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "Controller"
}
},
"State": "Open"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.PropSetupOptionsTrigger",
"OptionList": [
{
"OptionTextmapID": {
"Hash": 459250549
},
"ButtonIcon": "SpriteOutput/TalkIcon/TriggerProp.png",
"TriggerCustomString": "OrderPillar_Watch"
},
{
"OptionTextmapID": {
"Hash": 776562050
},
"ButtonIcon": "SpriteOutput/TalkIcon/TriggerProp.png",
"TriggerCustomString": "OrderPillar_Skip"
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.PropSetupOptionsTrigger",
"OptionList": [
{
"OptionTextmapID": {
"Hash": 459250549
},
"ButtonIcon": "SpriteOutput/TalkIcon/TriggerProp.png",
"TriggerCustomString": "OrderPillar_Watch"
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropStateExecute",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"State": "WaitActive",
"Execute": [
{
"$type": "RPG.GameCore.PropStateChangeListenerConfig",
"ToState": "Open",
"OnChange": [
{
"$type": "RPG.GameCore.PropSetupOptionsTrigger",
"OptionList": [
{
"OptionTextmapID": {
"Hash": 459250549
},
"ButtonIcon": "SpriteOutput/TalkIcon/TriggerProp.png",
"TriggerCustomString": "OrderPillar_Watch"
},
{
"OptionTextmapID": {
"Hash": 776562050
},
"ButtonIcon": "SpriteOutput/TalkIcon/TriggerProp.png",
"TriggerCustomString": "OrderPillar_Skip"
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx",
"FetchType": "SinglePropByPropKey",
"SinglePropKey": {
"Custom": true,
"Key": "Controller"
}
}
}
]
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Value": "Element_Switch_Watch",
"Key": "Message_to_Controller"
},
{
"$type": "RPG.GameCore.SharedString",
"Value": "Element_Switch_Skip",
"Key": "Skip_to_Controller"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "Controller"
}
]
}
}