How about loading pit layouts from a vault.txt style template file with numbers to indicate monster placement, something like this:
That would allow not just varying size but also round, oval, cross-shaped pits, inner chambers, etc. And since pits and nests are already distinguished from each other by a numerical room type, you could use different templates for the two types, allowing structured rooms for the pits vs more cave-like, irregular-shaped rooms for the nests.
Code:
D:%%%%%%%%%%%%%%%%%%%%%%%%% D:%.......................% D:%.#####################.% D:%.#1111111111111111111#.% D:%.#1222222222222222221#.% D:%.#1222333344433333221#.% D:%.#1222222222222222221#.% D:%.#1111111111111111111#.% D:%.#####################.% D:%.......................% D:%%%%%%%%%%%%%%%%%%%%%%%%%
Comment