Hardcode amnesiac to never turn into amnesiac

This commit is contained in:
Vgr E.Barry 2015-03-11 00:00:22 -04:00
parent c9ca3acc7c
commit b21d0608d9
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -188,7 +188,7 @@ WOLFTEAM_ROLES = WOLFCHAT_ROLES + ["minion", "cultist"]
# 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! (var.DEFAULT_ROLE is also appended if not in this list)
AMNESIAC_BLACKLIST = ["monster", "amnesiac", "minion", "matchmaker", "clone", "doctor", "villager", "cultist"]
AMNESIAC_BLACKLIST = ["monster", "minion", "matchmaker", "clone", "doctor", "villager", "cultist"]
# These roles are seen as wolf by the seer/oracle
SEEN_WOLF = WOLF_ROLES + ["monster", "mad scientist"]
# These are seen as the default role (or villager) when seen by seer