This commit is contained in:
Auric Vente 2024-07-27 22:42:07 -06:00
parent 4b88a71d04
commit dfa16b52bd
2 changed files with 7 additions and 26 deletions

View File

@ -57,7 +57,7 @@ class Opts:
hit = Opt(2, Method.hit) hit = Opt(2, Method.hit)
travel = Opt(2, Method.travel) travel = Opt(2, Method.travel)
think = Opt(2, Method.think) think = Opt(2, Method.think)
words = Opt(3, Method.words) words = Opt(4, Method.words)
@staticmethod @staticmethod
def opts_score() -> list[Opt]: def opts_score() -> list[Opt]:
@ -513,30 +513,11 @@ class Game:
return QAction(f"{icon} {text} {word}") return QAction(f"{icon} {text} {word}")
if Settings.merge: merge = make("Merge", Settings.merge)
merge = make("Merge", True) score = make("Score", Settings.score_enabled)
else: travel = make("Travel", Settings.travel_enabled)
merge = make("Merge", False) think = make("Think", Settings.think_enabled)
words = make("Words", Settings.words_enabled)
if Settings.score_enabled:
score = make("Score", True)
else:
score = make("Score", False)
if Settings.travel_enabled:
travel = make("Travel", True)
else:
travel = make("Travel", False)
if Settings.think_enabled:
think = make("Think", True)
else:
think = make("Think", False)
if Settings.words_enabled:
words = make("Words", True)
else:
words = make("Words", False)
update.triggered.connect(Game.force_update) update.triggered.connect(Game.force_update)
restart.triggered.connect(Game.restart) restart.triggered.connect(Game.restart)

View File

@ -1,5 +1,5 @@
{ {
"version": "3.5.0", "version": "3.6.0",
"title": "Cromulant", "title": "Cromulant",
"program": "cromulant", "program": "cromulant",
"author": "madprops", "author": "madprops",