Add ability to have no wolf (if there's another wolf role)
This commit is contained in:
parent
58eb321d3e
commit
8016628f39
@ -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.")
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user