Closed MotionlessTrain closed 1 week ago
(I haven't looked at the code, just the description) Does it slice the bounding box to give successive 1y-high boxes to the underlying iterator, or does it hand the full box to the underlying iterator and pause whenever it changes y-level? Because the latter wouldn't work for the inwardcircleheightN
iterators.
The latter. The size is apparently only set during construction of the iterator based on the blueprint data in the given IStructureHandler, and it looked undoable to override the size of the inner iterator to only have one Y-level
I did not think about how the inwardcircleheight iterators are supposed to work with this. That is an interesting case
It's possible, but not easy. You'd have to slice the blueprint itself into smaller blueprints and pass that through, as well as offsetting the returned y-value back to the full blueprint for actual use.
Or change the API on the Structurize side first to make it easier.
I shortly looked into it, and it didn't seem easy to change the size on structurize's side in several iterators without breaking things (e.g. Hilbert and Random may break in some cases, it looked like)
I guess I do indeed need to modify the blueprint to solve this. I tried to avoid that, as it looked like a very complicated solution
Yeah, I would disable entities from the resources step for now for the quarry, so that both sides fit.
Depends on https://github.com/ldtteam/Structurize/pull/670 Closes # Closes #
Changes proposed in this pull request:
goToNextStage
. It makes sure the quarrier will do the next stage at the correct layer, and restarts the stages when the quarrier was not at the bottom yetAn oddity I noticed was that the quarrier would request materials to place entities, but doesn't have a spawn entity phase. I don't think there is any quarry with entities in it, but I'm wondering whether that would not need to be addressed (either by adding a fourth stage, or by removing the entities from the requestMaterials step)
[x] Yes I tested this before submitting it. [ ] I also did a multiplayer test.
Review please