be85b81d13
Better Nether Fortresses relies on three parts of YUNG's API the game did not have: - piece_in_range: another piece (of some templates, or any) inside the piece's box grown sideways, below and above. - Modifiers, applied once the layout is done, in piece order and with the assembler's random: a condition, then actions on the piece itself. transform swaps its template for one picked by setFeatureSeed(x, y, x) and moves it by an offset turned with the piece; delay_generation moves it to the end of the piece list. - Dead-end pools: a piece that got no child though it has other jigsaws is taken out (its parent's junction, its room and its count given back) and a piece of its dead-end pool is chosen for the same parent jigsaw. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>