add gunner, drunk to the end-of-game stats listing

This commit is contained in:
Jimmy Cao 2011-09-05 22:32:53 -05:00
parent a967d166dd
commit b742839c6f

View File

@ -662,13 +662,12 @@ def stop_game(cli, winner = ""):
roles_msg = []
var.ORIGINAL_ROLES["cursed villager"] = var.CURSED # A hack
var.ORIGINAL_ROLES["gunner"] = list(var.GUNNERS.keys())
lroles = list(var.ORIGINAL_ROLES.keys())
lroles.remove("wolf")
lroles.insert(0, "wolf") # picky, howl consistency
lroles.remove("village drunk")
for role in lroles:
if len(var.ORIGINAL_ROLES[role]) == 0 or role == "villager":
continue