shapez.io icon indicating copy to clipboard operation
shapez.io copied to clipboard

Factor out windmill check in shape patch generation

Open ExE-Boss opened this issue 3 years ago • 0 comments
trafficstars

Since https://github.com/tobspr/shapez.io/issues/1444 (PR https://github.com/tobspr/shapez.io/pull/1445) was rejected, this moves that code into a method to allow mods to change how many windmill sub‑shapes are allowed to spawn, and also limit any custom mod sub‑shapes that are allowed to spawn in the world, without replacing the entire internalGenerateShapePatch(rng, shapePatchSize, distanceToOriginInChunks) method.

ExE-Boss avatar Jun 20 '22 08:06 ExE-Boss