Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Required skills: Python
Difficulty: Easy
openage currently stores information about a game edition or expansion inside an
Enum, e.g. media paths, support status, etc. We should store this information in an auxiliary file instead, similar to #1312. That would make updating and correcting game information easier as we no longer have to replace chunks of code.The recommended approach is to transfer the information from the existing implementation into a simple data definition file format. TOML is prefered because we already use that elsewhere in the converter.
Example:
Since we cannot use Enums when we read the game versions from file, we would have to replace identity checks of the game version
Enumvalue with an ID check. These checks happen when reading the.datformat or in the service that acquires nyan object names. They should be easy to replace.Further Reading