1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Enhancements to All in a Row II playability.

This commit is contained in:
Joe R 2023-02-22 20:20:09 -05:00
parent bb06d86a2c
commit d591db1e1c
8 changed files with 29 additions and 3 deletions

View file

@ -2330,6 +2330,9 @@ msgstr "\tDieses Spiel: "
msgid "Reserve. Build down by suit."
msgstr "Reserve. Aufgebaut nach Farbe."
msgid "Reserve. Build up regardless of suit."
msgstr "Reserve. Bauen Sie unabhängig von der Farbe."
#: pysollib/games/yukon.py:108
msgid ""
"Tableau. Build down in any suit but the same, can move any face-up cards "

View file

@ -2370,6 +2370,9 @@ msgstr "\tCe jeu: "
msgid "Reserve. Build down by suit."
msgstr "Réserve. Décroissant par enseigne."
msgid "Reserve. Build up regardless of suit."
msgstr "Reserve. Croissant indépendamment de l'enseigne."
#: pysollib/games/yukon.py:108
msgid ""
"Tableau. Build down in any suit but the same, can move any face-up cards "

View file

@ -2377,6 +2377,9 @@ msgstr "\tQuesto gioco: "
msgid "Reserve. Build down by suit."
msgstr "Riserva. Decrescente per seme."
msgid "Reserve. Build up regardless of suit."
msgstr "Riserva. Crescente indipendentemente dal seme."
#: pysollib/games/yukon.py:108
msgid ""
"Tableau. Build down in any suit but the same, can move any face-up cards "

View file

@ -2396,6 +2396,9 @@ msgstr "\tTa gra: "
msgid "Reserve. Build down by suit."
msgstr "Stos rezerwowy. Układaj w dół wg koloru."
msgid "Reserve. Build up regardless of suit."
msgstr "Stos rezerwowy. Układaj w górę niezależnie od koloru."
#: pysollib/games/yukon.py:108
msgid ""
"Tableau. Build down in any suit but the same, can move any face-up cards "

View file

@ -2393,6 +2393,9 @@ msgstr "\tEste jogo: "
msgid "Reserve. Build down by suit."
msgstr "Reserva. Descrescente por naipe."
msgid "Reserve. Build up regardless of suit."
msgstr "Reserva. Construir acima sem se importar com o naipe."
#: pysollib/games/yukon.py:108
msgid ""
"Tableau. Build down in any suit but the same, can move any face-up cards "

View file

@ -2213,6 +2213,9 @@ msgstr ""
msgid "Reserve. Build down by suit."
msgstr ""
msgid "Reserve. Build up regardless of suit."
msgstr ""
#: pysollib/games/yukon.py:108
msgid ""
"Tableau. Build down in any suit but the same, can move any face-up cards "

View file

@ -2378,6 +2378,9 @@ msgstr " Эта игра: "
msgid "Reserve. Build down by suit."
msgstr "Резерв. Складывать по убыванию в соответствии с мастью."
msgid "Reserve. Build up regardless of suit."
msgstr "Резерв. Складывать по возрастанию не считаясь с мастью."
#: pysollib/games/yukon.py:108
msgid ""
"Tableau. Build down in any suit but the same, can move any face-up cards "

View file

@ -524,11 +524,16 @@ class AllInARow(BlackHole):
# * All in a Row II
# ************************************************************************
class AllInARowII_RowStack(BlackHole_RowStack):
def clickHandler(self, event):
return self.rightclickHandler(event)
class AllInARowII_Reserve(RK_RowStack):
getBottomImage = RK_RowStack._getReserveBottomImage
def getHelp(self):
return _('Reserve. Build down regardless of suit.')
return _('Reserve. Build up regardless of suit.')
class AllInARowII_Foundation(AbstractFoundationStack):
@ -554,11 +559,11 @@ class AllInARowII(Game):
# create stacks
x, y = layout.XM, layout.YM
for i in range(7):
s.rows.append(OpenStack(x, y, self, max_accept=0))
s.rows.append(AllInARowII_RowStack(x, y, self, max_accept=0))
x += layout.XS
x, y = layout.XM, layout.YM+h
for i in range(6):
s.rows.append(OpenStack(x, y, self, max_accept=0))
s.rows.append(AllInARowII_RowStack(x, y, self, max_accept=0))
x += layout.XS
for r in s.rows:
r.CARD_XOFFSET, r.CARD_YOFFSET = 0, layout.YOFFSET