Don't advertise how many people turned

This commit is contained in:
skizzerz 2015-10-31 23:38:24 -05:00
parent d8f1a5d946
commit 950c11e0a0

View File

@ -1043,33 +1043,30 @@ class SleepyMode(GameMode):
seers = [p for p in var.ROLES["seer"] if p in pl and random.random() < turn_chance] seers = [p for p in var.ROLES["seer"] if p in pl and random.random() < turn_chance]
harlots = [p for p in var.ROLES["harlot"] if p in pl and random.random() < turn_chance] harlots = [p for p in var.ROLES["harlot"] if p in pl and random.random() < turn_chance]
cultists = [p for p in var.ROLES["cultist"] if p in pl and random.random() < turn_chance] cultists = [p for p in var.ROLES["cultist"] if p in pl and random.random() < turn_chance]
total = sum(map(len, (seers, harlots, cultists))) cli.msg(botconfig.CHANNEL, ("The sky suddenly darkens as a thunderstorm appears from nowhere. The bell on the newly-abandoned church starts ringing " +
if total > 0: "in sinister tones before the building is struck repeatedly by lightning, setting it alight in a raging inferno...").format(total, var.plural("toll", total)))
cli.msg(botconfig.CHANNEL, ("The sky suddenly darkens as a thunderstorm appears from nowhere. The bell on the newly-abandoned church starts ringing " + for seer in seers:
"in sinister tones, managing to perform \u0002{0}\u0002 {1} before the building is struck repeatedly by lightning, " + var.ROLES["seer"].remove(seer)
"setting it alight in a raging inferno...").format(total, var.plural("toll", total))) var.ROLES["doomsayer"].add(seer)
for seer in seers: var.FINAL_ROLES[seer] = "doomsayer"
var.ROLES["seer"].remove(seer) pm(cli, seer, ("You feel something rushing into you and taking control over your mind and body. It causes you to rapidly " +
var.ROLES["doomsayer"].add(seer) "start transforming into a werewolf, and you realize your vision powers can now be used to inflict malady " +
var.FINAL_ROLES[seer] = "doomsayer" "on the unwary. You are now a \u0002doomsayer\u0002."))
pm(cli, seer, ("You feel something rushing into you and taking control over your mind and body. It causes you to rapidly " + relay_wolfchat_command(cli, seer, "\u0002{0}\u0002 is now a \u0002doomsayer\u0002.".format(seer), var.WOLF_ROLES, is_wolf_command=True, is_kill_command=True)
"start transforming into a werewolf, and you realize your vision powers can now be used to inflict malady " + for harlot in harlots:
"on the unwary. You are now a \u0002doomsayer\u0002.")) var.ROLES["harlot"].remove(harlot)
relay_wolfchat_command(cli, seer, "\u0002{0}\u0002 is now a \u0002doomsayer\u0002.".format(seer), var.WOLF_ROLES, is_wolf_command=True, is_kill_command=True) var.ROLES["succubus"].add(harlot)
for harlot in harlots: var.FINAL_ROLES[harlot] = "succubus"
var.ROLES["harlot"].remove(harlot) pm(cli, harlot, ("You feel something rushing into you and taking control over your mind and body. You are now a " +
var.ROLES["succubus"].add(harlot) "\u0002succubus\u0002. Your job is to entrance the village, bringing them all under your absolute " +
var.FINAL_ROLES[harlot] = "succubus" "control."))
pm(cli, harlot, ("You feel something rushing into you and taking control over your mind and body. You are now a " + for cultist in cultists:
"\u0002succubus\u0002. Your job is to entrance the village, bringing them all under your absolute " + var.ROLES["cultist"].remove(cultist)
"control.")) var.ROLES["demoniac"].add(cultist)
for cultist in cultists: var.FINAL_ROLES[cultist] = "demoniac"
var.ROLES["cultist"].remove(cultist) pm(cli, cultist, ("You feel something rushing into you and taking control over your mind and body, showing you your new purpose in life. " +
var.ROLES["demoniac"].add(cultist) "There are far greater evils than the wolves lurking in the shadows, and by sacrificing all of the wolves, you can " +
var.FINAL_ROLES[cultist] = "demoniac" "unleash those evils upon the world. You are now a \u0002demoniac\u0002."))
pm(cli, cultist, ("You feel something rushing into you and taking control over your mind and body, showing you your new purpose in life. " + # NOTE: chk_win is called by del_player, don't need to call it here even though this has a chance of ending game
"There are far greater evils than the wolves lurking in the shadows, and by sacrificing all of the wolves, you can " +
"unleash those evils upon the world. You are now a \u0002demoniac\u0002."))
# NOTE: chk_win is called by del_player, don't need to call it here even though this has a chance of ending game
# vim: set expandtab:sw=4:ts=4: # vim: set expandtab:sw=4:ts=4: