Files
turnbasedgamedata/Config/Level/TestLevel/DayNightController.json
2025-02-24 07:50:34 -03:00

127 lines
3.4 KiB
JSON

{
"OnInitSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.BlockSetVisibility",
"BlockTags": [],
"BlockHoyoTags": {
"List": [
{
"Tag": "Stage.Block.DayTime.Night",
"TagHash": 1600116382
}
]
}
},
{
"$type": "RPG.GameCore.BlockSetVisibility",
"BlockTags": [],
"BlockHoyoTags": {
"List": [
{
"Tag": "Stage.Block.DayTime.Day",
"TagHash": 2045149662
}
]
},
"Visible": true
}
]
}
],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.PropSetupUITrigger",
"ButtonCallback": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCheckFloorCustomBool",
"Name": {
"Value": "IsDayEra"
}
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.BlockSetVisibility",
"BlockTags": [],
"BlockHoyoTags": {
"List": [
{
"Tag": "Stage.Block.DayTime.Night",
"TagHash": 1600116382
}
]
},
"Visible": true
},
{
"$type": "RPG.GameCore.BlockSetVisibility",
"BlockTags": [],
"BlockHoyoTags": {
"List": [
{
"Tag": "Stage.Block.DayTime.Day",
"TagHash": 2045149662
}
]
}
},
{
"$type": "RPG.GameCore.SetFloorCustomBool",
"Name": {
"Value": "IsDayEra"
},
"Value": {}
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.BlockSetVisibility",
"BlockTags": [],
"BlockHoyoTags": {
"List": [
{
"Tag": "Stage.Block.DayTime.Night",
"TagHash": 1600116382
}
]
}
},
{
"$type": "RPG.GameCore.BlockSetVisibility",
"BlockTags": [],
"BlockHoyoTags": {
"List": [
{
"Tag": "Stage.Block.DayTime.Day",
"TagHash": 2045149662
}
]
},
"Visible": true
},
{
"$type": "RPG.GameCore.SetFloorCustomBool",
"Name": {
"Value": "IsDayEra"
},
"Value": {
"Value": true
}
}
]
}
],
"OverrideTargetTypes": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}