跳到主要内容

玩家信息分组

文件:data/<namespace>/saturn/information_group/<path>.json。分组选择哪些信息行进入文档,行本身不声明所属分组。

字段类型必填默认值说明
title可翻译文本组件是—裸字符串按翻译键解释;也可显式 text / translate。
order整数否0分组升序排序,随后按 ID。
rows信息行 ID / #tag 数组是—引用 information_row 注册表。

示例​

data/example/saturn/information_group/status.json
{
"title": {
"text": "宿主状态"
},
"order": 0,
"rows": [
"example:health",
"#example:extra"
]
}
data/example/tags/saturn/information_row/extra.json
{
"replace": false,
"values": [
"example:health"
]
}

标签成员展开后去重。分组的 order 与行的 order 分别排序;系统模块的 order 则是越大越靠前,二者不要混用。自定义标签仅被引用后生效,不会自动加入全部分组。