diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 9cd5cc7..2d02745 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -5869,7 +5869,7 @@ def start(cli, nick, chan, forced = False, restart = ""): if len(villagers) < (sum(addroles.values()) - sum([addroles[r] for r in var.TEMPLATE_RESTRICTIONS.keys()])): cli.msg(chan, "There are too few players in the "+ "game to use the custom roles.") - elif not wvs: + elif not wvs and not var.IGNORE_NO_WOLF: cli.msg(chan, "There has to be at least one wolf!") elif wvs > (len(villagers) / 2): cli.msg(chan, "Too many wolves.") diff --git a/settings/wolfgame.py b/settings/wolfgame.py index 5ba62e8..fcc1948 100644 --- a/settings/wolfgame.py +++ b/settings/wolfgame.py @@ -72,6 +72,8 @@ ROLE_REVEAL = True LOVER_WINS_WITH_FOOL = False # if fool is lynched, does their lover win with them? DEFAULT_SEEN_AS_VILL = True # non-wolves are seen as villager regardless of the default role +IGNORE_NO_WOLF = False # set to True only when randomizing roles + # Minimum number of players needed for mad scientist to skip over dead people when determining who is next to them # Set to 0 to always skip over dead players. Note this is number of players that !joined, NOT number of players currently alive MAD_SCIENTIST_SKIPS_DEAD_PLAYERS = 16