This is a little wack but what the hey, I think it fits the challenge
Errata/FAQ (subject to correction):
- You can't trash an empty pile.
- If no appropriate Kingdom card exists, the first pile gets trashed with no replacement.
- Regardless of how many cards were in the trashed pile, the new pile comes with all 8/10/12 cards.
- A split pile can replace a trashed pile that costs the same as the top card of the split. (For example, Swindler can turn into Gladiator/Fortune.)
- A split pile is replaced by a card that costs the same as the topmost trashed card. (For example, Gladiator can turn into Swindler, but Fortune can turn into Peddler.)
- This totally ignores potions and debt. University can turn into Embargo and vice versa; same with Vineyard and Overlord.
- This takes cost adjustments into account. However, global adjustments like those from Bridge are usually moot. (For example, Laboratory with your Ferry token on it can turn into Village, but not Market.)