Mindustry icon indicating copy to clipboard operation
Mindustry copied to clipboard

Un-static vent offsets

Open MEEPofFaith opened this issue 9 months ago • 4 comments

Allow for setting custom offsets for vents so that custom-shaped vents can be made. Todo: Actually test this.


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.
  • [ ] 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.

MEEPofFaith avatar Mar 15 '25 00:03 MEEPofFaith

theoretically should work as long as there is an offset pointing to the center tile

MEEPofFaith avatar Mar 15 '25 00:03 MEEPofFaith

Testing is for people who code in bugs, your code is perfect the first time and always works trust in the koder gods

JasonP01 avatar Mar 15 '25 02:03 JasonP01

Users shouldn't need to define offsets manually; they should ideally be generated based on a ventSize parameter (unless someone wants irregularly-shaped vents...?)

Anuken avatar Mar 17 '25 16:03 Anuken

Custom shaped blocks is a recent trend appearing in modding thanks to that one lib

JasonP01 avatar Mar 17 '25 16:03 JasonP01