From 0f93e8831ce1ba38df2331c1b755137b5717c297 Mon Sep 17 00:00:00 2001 From: Amture Date: Wed, 9 Sep 2026 05:20:24 +0800 Subject: [PATCH] Enhance Faction.md with configuration examples Added detailed explanation and examples for Faction configuration in the documentation. --- docs/reference/Faction.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/reference/Faction.md b/docs/reference/Faction.md index 82cbfae..008cb96 100644 --- a/docs/reference/Faction.md +++ b/docs/reference/Faction.md @@ -34,4 +34,32 @@ FactionAction 类似一个特殊的 Condition。 - `ValueRequired`:`int`,Rank > `ValueRequired` 时会执行 Action。默认值为 `10`。 - *`Flags`*?:`string`,描述需要满足的 flags 。多个 flags 之间用逗号 `,` 分隔。 + +Amturester的补充 +## Faction的具体内容 +我们一般统称为阵营,因为确实是阵营 +比如之前的CESC,又或者是Entropy等 +我们使用时可以在先在**ExtensionInfo.xml**中写入 +```xml +... + Factions/xxx.xml +... +``` +具体文件需要调用相对应的Factions文件 +具体文件如下 +```xml + + + + + + ... + + + ... + + +``` + + 参考:[CustomFactionAction.cs](https://github.com/UnHacknet/OpenHacknet/blob/main/Factions/CustomFactionAction.cs)