fix alt_text
This commit is contained in:
parent
01039df374
commit
7e8d7dfd6a
@ -128,6 +128,7 @@ class Prigione(Card):
|
||||
self.desc = "Equipaggia questa carta a un altro giocatore, tranne lo Sceriffo. Il giocatore scelto all'inizio del suo turno, prima di pescare dovrà estrarre: se esce Cuori scarta questa carta e gioca normalmente il turno, altrimenti scarta questa carta e salta il turno"
|
||||
self.desc_eng = "Equip this card to another player, except the Sheriff. The player chosen at the beginning of his turn, must flip a card before drawing: if it's Hearts, discard this card and play the turn normally, otherwise discard this card and skip the turn"
|
||||
self.need_target = True
|
||||
self.alt_text = "♥️=🆓"
|
||||
|
||||
def play_card(self, player, against, _with=None):
|
||||
if against != None and not isinstance(player.game.get_player_named(against).role, r.Sheriff):
|
||||
@ -357,7 +358,6 @@ class Panico(Card):
|
||||
super().__init__(suit, 'Panico!', number, range=1)
|
||||
self.icon = '😱'
|
||||
self.need_target = True
|
||||
self.alt_icon = "1🔎"
|
||||
self.desc = "Pesca una carta da un giocatore a distanza 1, scegli a caso dalla mano, oppure fra quelle che ha in gioco"
|
||||
self.desc_eng = "Steal a card from a player at distance 1"
|
||||
|
||||
|
@ -35,7 +35,7 @@ class Schivata(Mancato):
|
||||
self.icon = '🙅♂️'
|
||||
self.desc += " e poi pesca una carta"
|
||||
self.desc_eng += " and then draw a card."
|
||||
self.alt_text = '😅 | ☝️🆓'
|
||||
self.alt_text = "😅 | 🎴"
|
||||
|
||||
def play_card(self, player, against, _with=None):
|
||||
return False
|
||||
@ -166,6 +166,7 @@ class Cappello(Mancato):
|
||||
self.icon = '🧢'
|
||||
self.usable_next_turn = True
|
||||
self.can_be_used_now = False
|
||||
self.alt_text = "😅"
|
||||
|
||||
def play_card(self, player, against, _with=None):
|
||||
if self.can_be_used_now:
|
||||
@ -213,7 +214,7 @@ class Derringer(Pugnale):
|
||||
super().__init__(suit, number)
|
||||
self.name = 'Derringer'
|
||||
self.icon = '🚬'
|
||||
self.alt_text += ' ☝️🆓'
|
||||
self.alt_text += ' 🎴'
|
||||
self.desc += ' e poi pesca una carta'
|
||||
self.desc_eng += ' and then draw a card.'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user