[#12568] 导管盖
变更摘要
此 PR 通过复制镀层/加固导管的代码,允许模组或数据修补后的物品导管拥有类似盖子。作者已在模组中测试通过,并表示若合并可为传送带实现相同功能。
状态 Open · 目标分支 master ← patch-1
主要变更
允许模组或数据修补后的物品导管拥有类似镀层/加固导管的盖子。
通过复制粘贴镀层/加固导管的代码至导管中实现。
作者说明
通过将镀层/加固导管的代码复制粘贴到导管中,允许模组/数据修补后的物品导管拥有类似的盖子。
模组导管的示例:
<img width="477" height="267" alt="image" src="https://github.com/user-attachments/assets/bb4f4a3c-d1f1-449a-aae5-5e86ee863ae8" />
我只在我的模组中测试过,它确实可以编译和运行,所以它应该能在原版中工作。
如果真的被合并,我可以尝试对传送带做同样的事。
如果你的 Pull Request 不涉及翻译或服务器列表,请阅读以下要求列表并勾选每个方框:
我已阅读 贡献指南。
我已确保我的代码可以编译(如适用)。
我已确保此 PR 中的任何新功能在游戏中运行正常(如适用)。
GitHub 原文
Allows modded/datapatched item ducts to have caps similar to plated/reinforced conduits by copy-pasting their code in ducts
Example of modded duct:
<img width="477" height="267" alt="image" src="https://github.com/user-attachments/assets/bb4f4a3c-d1f1-449a-aae5-5e86ee863ae8" />
I only tested it in my mod, and it does compile and work, so it should work in vanilla
And in case it's to be actually merged, I can try doing the same with conveyors
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.
由 MDT GitHub 同步机器人自动同步,中文翻译与摘要由 AI 辅助生成,仅供阅读参考。