More info when restarting round due to losing cards
This commit is contained in:
parent
b8c6e2ac41
commit
81f618cabc
|
@ -658,12 +658,14 @@ def game(send, notice, voice, devoice, get_event):
|
||||||
# Did we lose our call card?
|
# Did we lose our call card?
|
||||||
if round_call_card is None:
|
if round_call_card is None:
|
||||||
# Yes, restart round
|
# Yes, restart round
|
||||||
|
send('Lost the black card, restarting round')
|
||||||
return setup_round
|
return setup_round
|
||||||
|
|
||||||
# Did it remove a card from someone voting this round?
|
# Did it remove a card from someone voting this round?
|
||||||
for player in choosers:
|
for player in choosers:
|
||||||
if None in player.hand:
|
if None in player.hand:
|
||||||
# Yes, restart round
|
# Yes, restart round
|
||||||
|
send('Lost a card from player\'s hand, restarting round')
|
||||||
return setup_round
|
return setup_round
|
||||||
|
|
||||||
for player in card_choices:
|
for player in card_choices:
|
||||||
|
@ -673,6 +675,7 @@ def game(send, notice, voice, devoice, get_event):
|
||||||
# in which case we might hit a None
|
# in which case we might hit a None
|
||||||
if None in player.hand:
|
if None in player.hand:
|
||||||
# Yes, restart round
|
# Yes, restart round
|
||||||
|
send('Lost a card from player\'s hand, restarting round')
|
||||||
return setup_round
|
return setup_round
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
@ -774,6 +777,7 @@ def game(send, notice, voice, devoice, get_event):
|
||||||
# Did we lose our call card?
|
# Did we lose our call card?
|
||||||
if round_call_card is None:
|
if round_call_card is None:
|
||||||
# Yes, restart round
|
# Yes, restart round
|
||||||
|
send('Lost the black card, restarting round')
|
||||||
return setup_round
|
return setup_round
|
||||||
|
|
||||||
# Did it affect any response cards on this round?
|
# Did it affect any response cards on this round?
|
||||||
|
@ -781,6 +785,7 @@ def game(send, notice, voice, devoice, get_event):
|
||||||
for index in card_choices[player]:
|
for index in card_choices[player]:
|
||||||
if player.hand[index] is None:
|
if player.hand[index] is None:
|
||||||
# Yes, restart round
|
# Yes, restart round
|
||||||
|
send('Lost a card played this round, restarting round')
|
||||||
return setup_round
|
return setup_round
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue