Cubyz icon indicating copy to clipboard operation
Cubyz copied to clipboard

Add SBB rotation parameter

Open Argmaster opened this issue 6 months ago • 1 comments

Description

This pull request adds rotation parameter to cubyz:sbb simple structure with default value .random which allows specifying fixed or randomized rotation for structures generated. Rotation for structure is only propagate through the strcuture children only for vertical child blocks. Additionally, a rotation parameter was added to structure building block children definition to allow overriding / re-enabling random rotation for children of strcuture. Default value for that parameter is inherit which takes the rotation of parent (only for vertical child blocks until interrupted). Valid values for rotation are 0, 90, 180, 270, random, inherit, all accepted as a string, numeric values also accepted as floats and integers.

Links

Resolves: #1529

Argmaster avatar May 26 '25 22:05 Argmaster

Adapted to changes from #1500, ready for review @IntegratedQuantum

Argmaster avatar Jun 01 '25 13:06 Argmaster