Grasscutter
Grasscutter copied to clipboard
Toggle constellation
Description
Allows setConst
command to toggle individual constellations, enabling unofficial combinations of constellations. Further discussion is needed on what coreProudSkillLevel
should be set to when these unintended constellation states are in effect.
Issues fixed by this PR
Fixed manage_languages.py
to read language files as UTF-8
instead of the default encoding
Type of changes
- [x] Bug fix
- [x] New feature
- [x] Enhancement
- [ ] Documentation
Checklist:
- [x] My code follows the style guidelines of this project
- [x] My pull request is unique and no other pull requests have been opened for these changes
- [x] I have read the Contributing note and Code of conduct
- [x] I am responsible for any copyright issues with my code if it occurs in the future.
To ensure that coreProudSkillLevel
is well defined, the function setCoreProudSkillLevel
has been removed and getCoreProudSkillLevel
will calculate the constellation level on the fly instead of retrieving it as a field in the Avatar
class.
setConstCommand
now has a reset
subcommand. I have only tested it in singleplayer.
Recent DMCA compliance push closed active PRs.
This particular PR would need a little bit of changing to match up to recent constellation changes (should be easier to implement the toggle now)