zora-sharp
zora-sharp copied to clipboard
Perform validation of values entered
There are various combinations of values that could result in unexpected behavior when a secret is used. Functions to validate a secret should be created to check for these cases.
- [ ] Child values should be constrained to a maximum value for linked secrets. See this analysis.
- [x] Function should also be created to allow users to create a valid value from rules used by the game. (added with 10e1b7d15fafcd4f8bdd6ccc9740b9f04177ea71)
- [ ] The free ring given value should be checked for each secret type.
- [ ] None should not be an allowed animal friend value when creating a secret for Seasons. (See bug #7)
- [ ] Verify that users haven't inserted invalid values into enums
- [ ] Animal friend
- [ ] Memory values
- [ ] Allow loading of rings from mismatched game IDs