-
Notifications
You must be signed in to change notification settings - Fork 565
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
Adds all missing lineart images in gun examine #6905
Conversation
Of note the weapons that remain w/o lineart are:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No more debug logs show up for missing lineart now. The debug could be escalated to an error if we wanted to enforce all weapons have lineart now:
cmss13/code/modules/asset_cache/asset_list_items.dm
Lines 393 to 394 in 04b3134
// upgrade this to a stack_trace once all guns have a lineart and we want to lint against that | |
log_debug("[current_gun] does not have a valid lineart icon state, icon=[icon_file], icon_state=[json_encode(icon_state)]") |
That'd be ideal, they are not hard to make, also would be easier to maintain it in newer prs with such reminder |
Then feel free to do what the comment says in the above linked code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code is fine
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> # About the pull request Adds all missing ones mentioned in #5733, i'll handle some others and resprites of old ones in another pr. ![ljaipkGMkF](https://github.com/user-attachments/assets/769d8beb-98e0-4689-852b-96c7f4e9e7ef) All sprites by me. # Explain why it's good for the game Missing icons bad # Testing Photographs and Procedure <!-- Include any screenshots/videos/debugging steps of the modified code functioning successfully, ideally including edge cases. --> <details> <summary>Screenshots & Videos</summary> ![dreammaker_Xvmf2lXvQS](https://github.com/user-attachments/assets/d63275bd-3012-4dc9-909e-541ec11715c8) </details> # Changelog <!-- If your PR modifies aspects of the game that can be concretely observed by players or admins you should add a changelog. If your change does NOT meet this description, remove this section. Be sure to properly label your changes in the changelog. Please note that maintainers freely reserve the right to remove and add tags should they deem it appropriate. You can attempt to finagle the system all you want, but it's best to shoot for clear communication right off the bat. --> <!-- If you add a name after the ':cl', that name will be used in the changelog. You must add your CKEY after the CL if your GitHub name doesn't match. Maintainers freely reserve the right to remove and add tags should they deem it appropriate. --> :cl: imageadd: adds lineart images for almost all guns that didn't have it code: missing lineart error is now a lint /:cl: <!-- Both :cl:'s are required for the changelog to work! -->
About the pull request
Adds all missing ones mentioned in #5733, i'll handle some others and resprites of old ones in another pr.
All sprites by me.
Explain why it's good for the game
Missing icons bad
Testing Photographs and Procedure
Screenshots & Videos
Changelog
🆑
imageadd: adds lineart images for almost all guns that didn't have it
code: missing lineart error is now a lint
/:cl: