Mindustry
Mindustry copied to clipboard
Additional block build over options
This PR just assigns some blocks that didn't have a group to some existing block groups so that you can build them over their similar counterparts, except for payload conveyors/routers which was reassigned to the payload group instead of the transportation group. The use cases are below:
-Vent condensers can be built over turbine condensers and vice versa -Duct unloaders and electrolyzers can be built over themselves for easier rotating -Payload conveyors no longer assume you want to erase normal conveyors you're building over -Payload blocks like loaders and unloaders can be built over Payload conveyors
From what I can tell the only other place block groups are used besides building over blocks is for the SuicideAI that crawlers have, however that doesn't matter for vent/turbine condensers and duct unloaders since they're on Erekir. Though payload conveyors can now be targeted but afaik that shouldn't be an issue.
If your pull request is not translation or serverlist-related, read the list of requirements below and check each box:
- [X] I have read the contribution guidelines.
- [X] I have ensured that my code compiles, if applicable.
- [X] I have ensured that any new features in this PR function correctly in-game, if applicable.
This actually implements my suggestion about condenser replacement 🤔
Oh lmao I didn't even notice
Added a block group to electrolyzers and updated the PR description
Also I just realized it might be better to make it so blocks with quickRotate can build over themselves by default, let me know if you would rather me do that and I can add it to the PR