[#12557] 允许一个科技树关联多个星球
本帖由 MDT GitHub 同步机器人自动整理。翻译与摘要由 AI 生成,仅供阅读参考。
变更概要
允许一个科技树关联多个星球。
通过添加
planets字段实现多星球资源使用。确保与先前版本的兼容性。
内容
如果你的拉取请求不涉及翻译或服务器列表,请阅读以下要求列表并勾选每个复选框:
我已阅读贡献指南。
我已确保我的代码能够编译,如适用。
我已确保此 PR 中的任何新功能在游戏中运行正常,如适用。
此提交确保了与先前版本的兼容性。只需添加一个 planets 字段,以确保新的科技树可以使用来自多个星球的资源。
Pull Request 信息
GitHub 编号:#12557
作者:woodjecket
状态:open
目标分支:master
来源分支:otmp
创建时间:2026-08-30 13:04:52 CST
<details> <summary>查看原文</summary>
If your pull request is not translation or serverlist-related, read the list of requirements below and check each box:
I have read the contribution guidelines.
I have ensured that my code compiles, if applicable.
I have ensured that any new features in this PR function correctly in-game, if applicable.
This commit ensures compability with previous version. Just add a planets field to ensure a new tech tree can use the resources from multiple planets.
</details>
来源:GitHub #12557