Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
SlopeSafePaving
Keep paved roads off steep terrain. Checks local terrain triangles to pave closer to cliff edges, with an adjustable slope limit and an optional wider protective margin.
By Misaweb
CHANGELOG
Changelog
1.0.4
- Update the Thunderstore icon with a simpler bare-cliff design and irregular grey cobblestones inspired by the in-game paved road.
- Include an in-game comparison showing paved terrain with and without the mod.
- Bump the plugin and package version to 1.0.4; terrain filtering and configuration are unchanged from 1.0.3.
1.0.3
- Remove the temporary height array from the default local filter and sample only the seven vertices used by its terrain triangles.
- Calculate the slope limit once per paint point.
- Reject invalid slope and scale values consistently in both modes.
- Validate the patched method signature and reject unsupported control flow or exception boundaries without modifying the input instructions.
- Preserve the local edge behavior from 1.0.2.
1.0.2
- Check the six actual terrain triangles touching the paint point instead of a wider surrounding area.
- Allow paving closer to walls and drops while preserving steep-triangle rejection.
- Add
UseWideEdgeProtection, disabled by default, to retain the wider 1.0.1 filter as an option.
1.0.1
- Check diagonal surroundings and add a protective margin around steep edges.
- Skip points whose required neighboring terrain samples are unavailable.
1.0.0
- Initial paved-road slope filter with a configurable slope limit.