add villager and cultist to the amnesiac blacklist

This commit is contained in:
jacob1 2014-12-19 10:29:07 -05:00
parent 6a09f77a85
commit a6a87c2dde
2 changed files with 4 additions and 3 deletions

View File

@ -5352,9 +5352,10 @@ def start(cli, nick, chan, forced = False):
var.ORIGINAL_ROLES = copy.deepcopy(var.ROLES) # Make a copy
# Handle amnesiac
amnroles = list(var.ROLE_GUIDE.keys())
amnroles = list(var.ROLE_GUIDE.keys() - [var.DEFAULT_ROLE])
for nope in var.AMNESIAC_BLACKLIST:
amnroles.remove(nope)
if nope in amnroles:
amnroles.remove(nope)
for nope in var.TEMPLATE_RESTRICTIONS.keys():
if nope in amnroles:
amnroles.remove(nope)

View File

@ -179,7 +179,7 @@ WOLFTEAM_ROLES = ["wolf", "werecrow", "wolf cub", "traitor", "hag", "sorcerer",
# These roles never win as a team, only ever individually (either instead of or in addition to the regular winners)
TRUE_NEUTRAL_ROLES = ["crazed shaman", "fool", "jester", "monster", "clone"]
# These are the roles that will NOT be used for when amnesiac turns, everything else is fair game!
AMNESIAC_BLACKLIST = ["monster", "amnesiac", "minion", "matchmaker", "clone"]
AMNESIAC_BLACKLIST = ["monster", "amnesiac", "minion", "matchmaker", "clone", "villager", "cultist"]
# The roles in here are considered templates and will be applied on TOP of other roles. The restrictions are a list of roles that they CANNOT be applied to
# NB: if you want a template to apply to everyone, list it here but make the restrictions an empty list. Templates not listed here are considered full roles instead