-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional dmi testing for duplicates and quantity (#3867)
# About the pull request This PR adds additional lints for dmi files: duplicate state names and a check if the count of states exceeds 512. (My first attempt at this was to modify the missing_icons unit test, but the icon_states proc ignores duplicate states.) Let me know if you would like the items_left/righthand files balanced more or if theres anything I may have missed. We don't currently have unit testing for on_mob icons due to how many just simply don't have icons. # Explain why it's good for the game Helps prevent accidental errors in DMI files that might otherwise get overlooked, and finishes the work that was started in #3895 . # Testing Photographs and Procedure <details> <summary>Screenshots & Videos</summary> ![image](https://github.com/cmss13-devs/cmss13/assets/76988376/f8623d3e-37b4-4a10-84e5-1b58eb492823) ![image](https://github.com/cmss13-devs/cmss13/assets/76988376/c95ea11f-e188-424b-b330-b27bec294cc9) </details> # Changelog :cl: Drathek code: Added additional lints to dmi/test.py to test for duplicate state names and excessive quantity and added another type path to the missing_icons unit_test. imageadd: Renamed and moved some icons around to comply with new testing. /:cl:
- Loading branch information
Showing
13 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters