Is your feature request related to a problem? Please describe.
The GUI should have an additional tab to allow the user to disable/enable effects for various games.
Describe the solution you'd like
The ChaosHandler should have an implementation to pull from a list of available, enabled effects. And via the GUI, the user should be able to enable/disable these. Effects may have a default enabled state stored as a boolean, and Game.py could return enabled effects when ChaosHandler accesses them via get_options.
This may require methods to be defined on the Game.py class definitions to handle this. The implementation of ServerGUI.__save_settings and the VotingHandler.load_config() methods could be used as reference, along with the corresponding ConfigHandler methods they make use of.
Open to alternative options though, the current way of saving configurations is a little confusing.
Is your feature request related to a problem? Please describe. The GUI should have an additional tab to allow the user to disable/enable effects for various games.
Describe the solution you'd like The ChaosHandler should have an implementation to pull from a list of available, enabled effects. And via the GUI, the user should be able to enable/disable these. Effects may have a default enabled state stored as a boolean, and Game.py could return enabled effects when ChaosHandler accesses them via get_options.
This may require methods to be defined on the Game.py class definitions to handle this. The implementation of
ServerGUI.__save_settings
and theVotingHandler.load_config()
methods could be used as reference, along with the corresponding ConfigHandler methods they make use of.Open to alternative options though, the current way of saving configurations is a little confusing.