This is perhaps an odd way to go about things, but I am creating several town name generators for my D&D game (so each race/culture has a unique naming style) and I've run into a bit of a problem. I Think I need to be able to combine tables for some of the deck picks. Let me give a bit of a sample of the tables to better illustrate.
Ok so on the following tables, as they are, it's quite simple. What I want is for the first pick to be from either start or middle. I could just have an interim table that chooses from either table, but that's going to throw the odds off, and I am unsure how well that would work with deckpicks. I could just have start repeat the contents of middle but that is bad programming technique (repetition is bad for maintenance) and would mess up the deck picks, giving the possibility of for example pigeon pigeon city. Or I could put them together and just use the combined table twice, but that gives me the possibility of for example one two city.
Is there any way I could, to extend the deck pick concept, put the two decks together, pick a card, then separate out all the cards from the first deck and then just draw from the remaining cards in the second deck?
Or alternatively is their a way to automatically weight a table with the sizes of a subtable? I realize I could do this manually, but it just feels ugly and hackish and bad programming practice.
I could also maybe cobble together some horrible kludge with subtable picks... maybe, it'd be ugly and hackish but at least not have things hardcoded that shouldn't be.
[!start] [!middle] [!end]