MAAsConfig/ArknightsMaaConfig/tasks/infrast.toml

22 lines
1.0 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[[tasks]]
name = "基建换班"
type = "Infrast"
[tasks.params]
mode = 10000
facility = ["Trade", "Reception", "Mfg", "Control", "Power", "Office", "Dorm"]
dorm_trust_enabled = true
filename = "normal.json" # 自定义的基建计划的文件名应该位于`$MAA_CONFIG_DIR/infrast`
# 在 18:00:00到第二天的 04:00:00 使用计划 0在 12:00:00 之前使用计划 1之后使用计划 2
[[tasks.variants]]
condition = { type = "Time", start = "22:00:00", end = "08:00:00", timezone = 8 } # 当结束时间小于开始时间时,结束时间被视为第二天的时间
params = { plan_index = 0 }
[[tasks.variants]]
condition = { type = "Time", end = "16:00:00", timezone = 8 } # 如果开始时间被省略,那么只要当前时间小于结束时间时,这个条件就会被匹配
params = { plan_index = 1 }
[[tasks.variants]]
condition = { type = "Time", start = "16:00:00", timezone = 8 } # 如果结束时间被省略,那么只要当前时间大于开始时间时,这个条件就会被匹配
params = { plan_index = 2 }