prigione in chat
This commit is contained in:
parent
3b310751f7
commit
acbcb0b2b0
@ -480,10 +480,12 @@ class Player:
|
|||||||
data=f'_flipped|{self.name}|{picked}')
|
data=f'_flipped|{self.name}|{picked}')
|
||||||
if not picked.check_suit(self.game, [cs.Suit.HEARTS]) and pickable_cards == 0:
|
if not picked.check_suit(self.game, [cs.Suit.HEARTS]) and pickable_cards == 0:
|
||||||
self.game.deck.scrap(self.equipment.pop(i), True)
|
self.game.deck.scrap(self.equipment.pop(i), True)
|
||||||
|
self.sio.emit('chat_message', room=self.game.name, data=f'_prison_turn|{self.name}')
|
||||||
self.end_turn(forced=True)
|
self.end_turn(forced=True)
|
||||||
return
|
return
|
||||||
elif pickable_cards == 0:
|
elif pickable_cards == 0:
|
||||||
self.game.deck.scrap(self.equipment.pop(i), True)
|
self.game.deck.scrap(self.equipment.pop(i), True)
|
||||||
|
self.sio.emit('chat_message', room=self.game.name, data=f'_prison_free|{self.name}')
|
||||||
break
|
break
|
||||||
break
|
break
|
||||||
if any([isinstance(c, cs.Prigione) for c in self.equipment]):
|
if any([isinstance(c, cs.Prigione) for c in self.equipment]):
|
||||||
|
@ -96,7 +96,9 @@
|
|||||||
"doctor_heal": "{0} was healed by the doctor.",
|
"doctor_heal": "{0} was healed by the doctor.",
|
||||||
"respond": "{0} responded with {1}.",
|
"respond": "{0} responded with {1}.",
|
||||||
"change_username": "{0} is now {1}.",
|
"change_username": "{0} is now {1}.",
|
||||||
"lobby_reset": "Going back to lobby in {0} seconds..."
|
"lobby_reset": "Going back to lobby in {0} seconds...",
|
||||||
|
"prison_free": "{0} got out of prison",
|
||||||
|
"prison_turn": "{0} stayed in prison this turn"
|
||||||
},
|
},
|
||||||
"foc": {
|
"foc": {
|
||||||
"leggedelwest": "He must play this card on this turn if possible."
|
"leggedelwest": "He must play this card on this turn if possible."
|
||||||
|
@ -96,7 +96,9 @@
|
|||||||
"doctor_heal": "{0} è stato curato dal dottore.",
|
"doctor_heal": "{0} è stato curato dal dottore.",
|
||||||
"respond": "{0} ha risposto con {1}.",
|
"respond": "{0} ha risposto con {1}.",
|
||||||
"change_username": "{0} ha cambiato nome in {1}.",
|
"change_username": "{0} ha cambiato nome in {1}.",
|
||||||
"lobby_reset": "Si ritorna alla stanza in {0} secondi..."
|
"lobby_reset": "Si ritorna alla stanza in {0} secondi...",
|
||||||
|
"prison_free": "{0} è uscito di prigione",
|
||||||
|
"prison_turn": "{0} rimane in prigione questo turno"
|
||||||
},
|
},
|
||||||
"foc": {
|
"foc": {
|
||||||
"leggedelwest": "Ed è obbligato a usarla nel suo turno, se possibile"
|
"leggedelwest": "Ed è obbligato a usarla nel suo turno, se possibile"
|
||||||
|
Loading…
Reference in New Issue
Block a user