fix bicchierino bug and add birra missing text

This commit is contained in:
Alberto Xamin 2021-06-24 18:02:17 +02:00
parent 8bc8c025b5
commit 4db85b0980
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2
3 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Bicchierino(ShopCard):
def play_card(self, player, against=None, _with=None):
player.available_cards = [{
'name': p.name,
'icon': p.role.icon if(player.game.initial_players == 3) else '⭐️' if p['is_sheriff'] else '🤠',
'icon': p.role.icon if(player.game.initial_players == 3) else '⭐️' if isinstance(p.role, r.Sheriff) else '🤠',
'alt_text': ''.join(['❤️']*p.lives)+''.join(['💀']*(p.max_lives-p.lives)),
'noDesc': True
} for p in player.game.get_alive_players()]

View File

@ -59,6 +59,7 @@
"choose_bottiglia": "Choose how you will play Bottle!",
"choose_complice": "Choose how you will play Pardner!",
"choose_ricercato": "Choose who you will play Wanted against.",
"choose_birra_function": "Choose between getting 1 gold nugget by discarding beer or if you want to play the beer.",
"emporio_others": "{0} is choosing which card to get from the General Store",
"you_died": "YOU DIED",
"spectate": "SPECTATE",

View File

@ -59,6 +59,7 @@
"choose_bottiglia": "Scegli come giocare Bottiglia!",
"choose_complice": "Scegli come giocare Complice!",
"choose_ricercato": "Scegli il giocatore su cui vuoi giocare Ricercato",
"choose_birra_function": "Scegli tra ottenere 1 pepita scartando la birra oppure giocare la birra.",
"emporio_others": "{0} sta scegliendo che carta prendere dall'emporio",
"you_died": "SEI MORTO",
"spectate": "SPETTATORE",