Files
turnbasedgamedata/Config/Level/Maze/MazeExtra/DeployPuzzle/DeployPuzzle_Base.json
2025-02-24 07:50:34 -03:00

672 lines
20 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.PropPuzzleCustomEventListener",
"Event": "DeployPuzzleBasePointPlaced",
"Callback": [
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "OnBasePlace"
}
}
]
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "OnBasePlace"
},
"WaitOwnerOnly": true
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 1
}
}
},
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonText": {
"Hash": 9703342033115994668
},
"ButtonCallback": [
{
"$type": "RPG.GameCore.DeployPuzzleBasePointAction",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_xianzhou_deploypuzzle_stone_picking"
}
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "OnRemoveBaseEffect"
}
}
],
"OverrideTargetTypes": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"Enabled": true,
"TriggerSelect": "PropInteractionTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropPuzzleCustomEventListener",
"Event": "DeployPuzzleBasePointWait",
"Callback": [
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "OnBaseWait"
}
}
]
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "OnBaseWait"
},
"WaitOwnerOnly": true
},
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonText": {
"Hash": 5221529053020334065
},
"ButtonCallback": [
{
"$type": "RPG.GameCore.DeployPuzzleBasePointAction",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TargetAction": "Place"
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "OnBasePlaceTriggerEffect"
}
}
],
"OverrideTargetTypes": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"Enabled": true,
"TriggerSelect": "PropInteractionTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropPuzzleCustomEventListener",
"Event": "DeployPuzzleBasePointSwap",
"Callback": [
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "OnBaseSwap"
}
}
]
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "OnBaseSwap"
},
"WaitOwnerOnly": true
},
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonText": {
"Hash": 4217491391533914691
},
"ButtonCallback": [
{
"$type": "RPG.GameCore.DeployPuzzleBasePointAction",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"TargetAction": "Swap"
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "OnBasePlaceTriggerEffect"
}
}
],
"OverrideTargetTypes": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"Enabled": true,
"TriggerSelect": "PropInteractionTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "OnBasePlaceTriggerEffect"
},
"WaitOwnerOnly": true
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"FixedValue": {
"Value": 0.5
}
}
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "OnTriggerBaseEffect"
}
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "OnTriggerBaseEffect"
},
"WaitOwnerOnly": true,
"GoNextImmediately": true
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByDeployPuzzleBasePointIsAnswer",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_xianzhou_deploypuzzle_stone_deploying_correct"
}
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Green"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_02a_GlowUp.prefab",
"AttachPoint": "StoneAttach"
}
]
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Blue"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_01a_GlowUp.prefab",
"AttachPoint": "StoneAttach"
}
]
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Purple"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_03a_GlowUp.prefab",
"AttachPoint": "StoneAttach"
}
]
}
]
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_xianzhou_deploypuzzle_stone_deploying_error"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropPuzzleCustomEventListener",
"Event": "DeployPuzzleBasePointActivate",
"Callback": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Green"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_GrowUp_G.prefab",
"AttachPoint": "EffectAttach"
}
]
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Blue"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_GrowUp_B.prefab",
"AttachPoint": "EffectAttach"
}
]
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Purple"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_GrowUp_P.prefab",
"AttachPoint": "EffectAttach"
}
]
}
]
}
]
}
]
},
{
"IsLoop": true,
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Value": "OnRemoveBaseEffect"
},
"WaitOwnerOnly": true,
"GoNextImmediately": true
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Green"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_GrowUp_G.prefab"
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Blue"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_GrowUp_B.prefab"
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Purple"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_GrowUp_P.prefab"
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.PropPuzzleCustomEventListener",
"Event": "DeployPuzzleBasePointDisabled",
"Callback": [
{
"$type": "RPG.GameCore.PropEnableCollider",
"OPType": "TriggerOnly",
"TriggerSelect": "PropInteractionTrigger",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.TriggerCustomString",
"CustomString": {
"Value": "OnRemoveBaseEffect"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitCustomString",
"CustomString": {
"Custom": true,
"Key": "CustomString_TriggerEffect"
},
"ResetWhenTaskBegin": true
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByDeployPuzzleBasePointIsAnswer",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Green"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_02a_GlowUp.prefab",
"AttachPoint": "StoneAttach"
}
]
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Blue"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_01a_GlowUp.prefab",
"AttachPoint": "StoneAttach"
}
]
}
]
},
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareCustomString",
"LeftValue": {
"Custom": true,
"Key": "CustomString_EffectType"
},
"RightValue": {
"Value": "Purple"
},
"CompareType": "Equal"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/Interactive Object/Eff_Chap02_MAZ_Prop_DeployPuzzle_Stone_03a_GlowUp.prefab",
"AttachPoint": "StoneAttach"
}
]
}
]
}
],
"FailedTaskList": []
}
]
}
],
"ValueSource": {
"Values": [
{
"$type": "RPG.GameCore.SharedString",
"Key": "CustomString_TriggerEffect"
},
{
"$type": "RPG.GameCore.SharedString",
"Key": "CustomString_EffectType"
}
]
}
}