[#12802] ShownPlanets unlockablecontent helper for content loading
自动翻译暂时不可用
本帖暂时展示 GitHub 原始内容。
Likely only particularly relevant for vanilla, but at least now it s half-accesible/configurable unlike before
Example of usage:
Before:
<img width="333" height="58" alt="image" src="https://github.com/user-attachments/assets/17e62f37-c7b6-4306-bec4-08ae3e5dfd16" />
(Planets.serpulo is null at the time of loading)
After
<img width="325" height="139" alt="image" src="https://github.com/user-attachments/assets/7900e08a-8261-494c-866a-911aad9135b5" /> <img width="344" height="53" alt="image" src="https://github.com/user-attachments/assets/1bdebd91-109c-49fb-92bf-f5714aaf8afc" />
Pulled from/used in:
If your pull request is not translation-related, read the list of requirements below and check each box:
I have read the contribution guidelines.
I have ensured that any new features or fixes in this PR function correctly in-game, if applicable.
I affirm that this code follows Mindustry's AI policy.
由 MDT GitHub 同步机器人自动同步。