From 75d55ab4618935018331a0f4f52aba329938cceb Mon Sep 17 00:00:00 2001 From: skizzerz Date: Wed, 15 Jul 2015 21:00:15 -0500 Subject: [PATCH] Make non-simple message to turncoats more clear if they don't have a side --- src/wolfgame.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 2263c56..6d12cb4 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -5868,10 +5868,13 @@ def transition_night(cli): var.TURNCOATS[turncoat] = ("none", -1) if turncoat in var.PLAYERS and not is_user_simple(turncoat): - pm(cli, turncoat, ('You are a \u0002turncoat\u0002. You can change which ' + - 'team you\'re siding with every other night. Use ' + - '"side villagers" or "side wolves" to select your team. ' + - 'You are currently siding with \u0002{0}\u0002.').format(var.TURNCOATS[turncoat][0])) + message = ('You are a \u0002turncoat\u0002. You can change which team you\'re siding with every other night. ' + + 'Use "side villagers" or "side wolves" to select your team. ') + if var.TURNCOATS[turncoat][0] != "none": + message += 'You are currently siding with \u0002{0}\u0002.'.format(var.TURNCOATS[turncoat][0]) + else: + message += 'If you die before selecting a side, you will not win.' + pm(cli, turncoat, message) else: pm(cli, turncoat, 'You are a \u0002turncoat\u0002. Current side: \u0002{0}\u0002.'.format(var.TURNCOATS[turncoat][0]))