[#12624] Bugfix: status display in HeatCrafter and Constructor
自动翻译暂时不可用
本帖暂时展示 GitHub 原始内容。
Implements:
https://github.com/Anuken/Mindustry/commit/9cc687efcac628aea7d45a2e7e1ab973eae0b418 while it worked for patching the issue
build consumes power when normal consumers (item, liquid) are satisfied but not heat
; it also broke status display (buildingcomp status() !shouldconsume = noOutput).
My fix to this is rather ugly, but aside from overriding status() (bad scalability) or touching/refactoring buildingcomp itself (oh god please no), I m too stupid to see a better option
Current (shouldConsume override)
<img width="1213" height="548" alt="image" src="https://github.com/user-attachments/assets/e0f2f33c-aec3-4f2f-bc67-5e20060c23d9" />
No shouldConsume
<img width="1168" height="559" alt="image" src="https://github.com/user-attachments/assets/162cb41a-967a-4d5f-9bca-89e27f6798a7" />
My "fix"
<img width="1002" height="450" alt="image" src="https://github.com/user-attachments/assets/2d12e5d6-c291-4899-be2a-b674deff5910" /> <img width="843" height="612" alt="Captura de pantalla 2026-09-10 215913" src="https://github.com/user-attachments/assets/31ea8fee-5f79-40ff-b1e7-557bbe1a9620" />
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 同步机器人自动同步。