|
|
@ -137,16 +137,17 @@ def banan(_: Doba, tym: Tym) -> None: |
|
|
|
if (tym.pocet_bananu == 0 and tym.ma_platnou_zadost(Zadost.TYP_BANAN)) or tym.ma_platnou_zadost(Zadost.TYP_VEGE): |
|
|
|
tym.pocet_bananu += 1 |
|
|
|
tym.save() |
|
|
|
if tym.pocet_bananu == 1: |
|
|
|
print("ALERT: BANÁN!!!") |
|
|
|
print("ALERT: BANÁN!!!") |
|
|
|
return (True,) |
|
|
|
elif tym.pocet_bananu == 1: |
|
|
|
tym.vi_o_mase = True |
|
|
|
tym.save() |
|
|
|
return [] |
|
|
|
elif tym.pocet_bananu == 0: |
|
|
|
tym.ovesna_kase += 1 |
|
|
|
tym.save() |
|
|
|
return (True,) |
|
|
|
return [] |
|
|
|
return [] |
|
|
|
|
|
|
|
|
|
|
|
get_posible_choices: list[Callable[[Doba, Tym], list[str]]] = [ |
|
|
|