It should be possible to define that an element of a template pool must be used atleast and/or at most x times during the jigsaw generation process.
While this admittedly increases the complexity of the algorithm used (possibly requiring backtracking to be able to place required structures), it would allow for some of the current "hardcoded" structures to be moved to jigsaw, such as the stronghold and ocean monument.
e.g. The portal and library can be defined as requiring atleast one, portal also defining atmost one, and the various corridors, rooms and other trappings being picked at random.
Please sign in to leave a comment.
1 Comments