Configurable sub-level assembly height (#938) - #980
Conversation
Adds 2 config values, implementing suggestions 2 & 3 from ryanhcode#938: - SUB_LEVEL_START_POS: Determines the approach to use for determining the height (Y value) of the first block in a newly assembled sub-level (FIXED, DYNAMIC, MIDPOINT) - FIXED: Uses the height specified by SUB_LEVEL_FIXED_START_HEIGHT (Essentially the current approach) - DYNAMIC: Uses the world height of the position the block is in (Spawn a sub-level at Y=73, the block is placed at Y=73 in the sub-level) - MIDPOINT: Calculates the midpoint between the min and max build limits, then uses that as the height - SUB_LEVEL_FIXED_START_HEIGHT - If SUB_LEVEL_START_POS is set to FIXED, then this is the height (Default value of 128 matches the current approach)
|
|
|
Implemented suggestion 1 from #938, but it kinda sucks, so not including in this PR (https://github.com/tatoyoda600/sable/tree/automatic-height-adjustment) It does help with the issue I was having in #938 though, as soon as the Rope Pulley reaches -64 in the sub-level, the sub-level's contents are shifted up to give it more downwards space to expand, letting my Rope Pulley reach real deep. |


Adds 2 config values, implementing suggestions 2 & 3 from #938:
Defaults are 128 and FIXED, to match the current approach exactly, with all the customization being exclusively opt-in.
With dynamic assembly height, a 1-block sub-level created at Y=87 has its sole block located at Y=87 within the sub-level
