village can't abstain on day one

This commit is contained in:
jacob1 2014-09-25 16:00:06 -04:00
parent 6dc4f4859f
commit 82b53f92d9

View File

@ -2752,6 +2752,9 @@ def no_lynch(cli, nick, chan, rest):
elif var.LIMIT_ABSTAIN and var.ABSTAINED: elif var.LIMIT_ABSTAIN and var.ABSTAINED:
cli.notice(nick, "The village has already abstained once this game and may not do so again.") cli.notice(nick, "The village has already abstained once this game and may not do so again.")
return return
elif var.LIMIT_ABSTAIN and var.FIRST_DAY:
cli.notice(nick, "The village may not abstain on the first day")
return
elif var.PHASE != "day": elif var.PHASE != "day":
cli.notice(nick, "Lynching is only during the day. Please wait patiently for morning.") cli.notice(nick, "Lynching is only during the day. Please wait patiently for morning.")
return return