-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check that the id in looks_like exists #37758
Comments
Found another example where boxer_briefs was spelled as boxer-briefs. Of course while adding looks_like it should be tested properly but having the game check it for you should help. I'm finding out now becuase my cdda-content-manager only allows me to select valid ids |
look-ups for End users shouldn't be burdened with scary debug messages every time they encounter a spelling mistake in an optional entry in new content. |
Is your feature request related to a problem? Please describe.
Looks_like can have an entry that does not exist. For example I can enter "looks_like": "undefined", and the game does not complain. Right now a couple of items have looks_like 'pouch' but 'pouch' does not exist as an id. See #37759
Describe the solution you'd like
When launching the game it should throw an error (that can be ignored) if it finds a looks_like that points to an id that does not exist.
Describe alternatives you've considered
Removing the looks_like entries that do not point to an existing item
The text was updated successfully, but these errors were encountered: