From dfa16b52bd85b7631c3243da60a0d11b787027a5 Mon Sep 17 00:00:00 2001 From: Auric Vente Date: Sat, 27 Jul 2024 22:42:07 -0600 Subject: [PATCH] Mods --- cromulant/game.py | 31 ++++++------------------------- cromulant/manifest.json | 2 +- 2 files changed, 7 insertions(+), 26 deletions(-) diff --git a/cromulant/game.py b/cromulant/game.py index eeae396..f4a9f59 100644 --- a/cromulant/game.py +++ b/cromulant/game.py @@ -57,7 +57,7 @@ class Opts: hit = Opt(2, Method.hit) travel = Opt(2, Method.travel) think = Opt(2, Method.think) - words = Opt(3, Method.words) + words = Opt(4, Method.words) @staticmethod def opts_score() -> list[Opt]: @@ -513,30 +513,11 @@ class Game: return QAction(f"{icon} {text} {word}") - if Settings.merge: - merge = make("Merge", True) - else: - merge = make("Merge", False) - - 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) + merge = make("Merge", Settings.merge) + score = make("Score", Settings.score_enabled) + travel = make("Travel", Settings.travel_enabled) + think = make("Think", Settings.think_enabled) + words = make("Words", Settings.words_enabled) update.triggered.connect(Game.force_update) restart.triggered.connect(Game.restart) diff --git a/cromulant/manifest.json b/cromulant/manifest.json index fc0a9ef..9311aa7 100644 --- a/cromulant/manifest.json +++ b/cromulant/manifest.json @@ -1,5 +1,5 @@ { - "version": "3.5.0", + "version": "3.6.0", "title": "Cromulant", "program": "cromulant", "author": "madprops",