From 587d93f7ea693e1618c9030bea9226ef2951d6e8 Mon Sep 17 00:00:00 2001 From: oclaim Date: Tue, 8 Jul 2025 09:41:26 -0400 Subject: [PATCH] Removed the punish method --- src/NoPELib/player_settings.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/NoPELib/player_settings.py b/src/NoPELib/player_settings.py index eaa877f..cc0cdc7 100644 --- a/src/NoPELib/player_settings.py +++ b/src/NoPELib/player_settings.py @@ -227,20 +227,6 @@ class Player: "games": self._gamesSave } - def punish(self, value, preferedExpansion: str=None): - do_something = lambda value, preferedExpansion: value - additionalInfos = { - "expansionID": "challengeDB", - "balancedValue": 0.2, - "showOnScreen": "Do 100 push-up", - "error": None, - "done": False - } - # NOTE Make a result class instead and an error class - # TODO Implement a way to choose between the available expansions - additionalInfos = do_something(value, preferedExpansion) - return additionalInfos - class ExpansionsManager: """