This setup is for an odd number of players. The number of mafia will be n/2, rounded down. No power roles. 48h days.
Every day, players may place a number of votes equal to the number of living mafia. At the end of the day, the top 50% (rounded up) players are nominated for elimination. In the event of a tie, the mafia decides who goes into the pool. If a player has placed fewer than the maximum number of votes, the mafia may assign the remainder after EoD.
If no town were nominated, the town wins.
If no mafia were nominated, the mafia wins.
If a mix of town and mafia were nominated, the mafia must eliminate one of each from the pool of nominees, and the game continues.