Slightly less sucky message

This commit is contained in:
skizzerz 2015-10-30 13:17:50 -07:00
parent dd6f50d7eb
commit 9e9e4342f8

View File

@ -4635,11 +4635,11 @@ def transition_day(cli, gameid=0):
elif var.ROLE_REVEAL in ("on", "team"): elif var.ROLE_REVEAL in ("on", "team"):
role = var.get_reveal_role(loser) role = var.get_reveal_role(loser)
an = "n" if role.startswith(("a", "e", "i", "o", "u")) else "" an = "n" if role.startswith(("a", "e", "i", "o", "u")) else ""
message.append(("\u0002{0}\u0002's spiritual powers surpassed the physical endurance of " + message.append(("With their dying breath, \u0002{0}\u0002 calls out the name of " +
"\u0002{1}\u0002, a{2} \u0002{3}\u0002, and were found dead at the scene.").format(victim, loser, an, role)) "\u0002{1}\u0002, a{2} \u0002{3}\u0002, who died shortly thereafter.").format(victim, loser, an, role))
else: else:
message.append(("\u0002{0}\u0002's spiritual powers surpassed the physical endurance of " + message.append(("With their dying breath, \u0002{0}\u0002 calls out the name of " +
"\u0002{1}\u0002, and were found dead at the scene.").format(victim, loser)) "\u0002{1}\u0002, who died shortly thereafter.").format(victim, loser))
if var.ROLE_REVEAL in ("on", "team"): if var.ROLE_REVEAL in ("on", "team"):
role = var.get_reveal_role(victim) role = var.get_reveal_role(victim)
an = "n" if role.startswith(("a", "e", "i", "o", "u")) else "" an = "n" if role.startswith(("a", "e", "i", "o", "u")) else ""