|
@ -139,12 +139,14 @@ def banan(_: Doba, tym: Tym) -> None: |
|
|
tym.save() |
|
|
tym.save() |
|
|
if tym.pocet_bananu == 1: |
|
|
if tym.pocet_bananu == 1: |
|
|
print("ALERT: BANÁN!!!") |
|
|
print("ALERT: BANÁN!!!") |
|
|
|
|
|
return (True,) |
|
|
elif tym.pocet_bananu == 1: |
|
|
elif tym.pocet_bananu == 1: |
|
|
tym.vi_o_mase = True |
|
|
tym.vi_o_mase = True |
|
|
tym.save() |
|
|
tym.save() |
|
|
elif tym.pocet_bananu == 0: |
|
|
elif tym.pocet_bananu == 0: |
|
|
tym.ovesna_kase += 1 |
|
|
tym.ovesna_kase += 1 |
|
|
tym.save() |
|
|
tym.save() |
|
|
|
|
|
return (True,) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_posible_choices: list[Callable[[Doba, Tym], list[str]]] = [ |
|
|
get_posible_choices: list[Callable[[Doba, Tym], list[str]]] = [ |
|
|