-
Notifications
You must be signed in to change notification settings - Fork 580
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
Missing icons unit test expansion #7659
Merged
harryob
merged 35 commits into
cmss13-devs:master
from
Drulikar:missing_icons_expansion
Nov 29, 2024
Merged
Missing icons unit test expansion #7659
harryob
merged 35 commits into
cmss13-devs:master
from
Drulikar:missing_icons_expansion
Nov 29, 2024
Conversation
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
…es ignore list with c&d Initial fixes (icons & hard refs) Refactor giant lizards to use weakrefs
cmss13-ci
bot
added
Sprites
Remove the soul from the game.
Mapping
did you remember to save in tgm format?
Code Improvement
Make the code longer
Fix
Fix one bug, make ten more
Refactor
Make the code harder to read
labels
Nov 23, 2024
Nanu308
approved these changes
Nov 23, 2024
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.
mapping is fine
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.
mapping is fine
Blundir
approved these changes
Nov 26, 2024
set various kit box overlays to ones that exist
harryob
approved these changes
Nov 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Admin
Make things harder for admins
Code Improvement
Make the code longer
Fix
Fix one bug, make ten more
Mapping Approved
adds 500 new dict keys
Mapping
did you remember to save in tgm format?
Refactor
Make the code harder to read
Sprites
Remove the soul from the game.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About the pull request
This PR is an experimental change to the missing icons unit test where it now instantiates all items to check their items (meaning they will do whatever they do to their icon_state in Initialize). This ended up causing several new hard deletes that I had to fix too. The create and destroy unit test shares exclusions now with missing icons. I originally started this because #7021 is likely going to need help sorting out lots of missing icons at runtime that weren't caught with the old unit test.
No actual pixel changes in sprites: Just renames, removals, or addition of blank states.Added unlocked overlay to
/obj/item/storage/backpack/satchel/lockable
Restored the spike overlays to
/obj/item/weapon/gun/launcher/spike
removed some reason in #7361Tweaked transparency and edges on old alien samples:
Currently there are 847 warnings for missing mob icons (could be more if blanket testing slots that allow equipping the item), but these are only mentioned in the warnings section (nor annotated currently though I would like warnings to eventually be annotated once there isn't so much noise).
Explain why it's good for the game
More robust testing for hard deletes and missing icons.
Testing Photographs and Procedure
Screenshots & Videos
https://youtu.be/uB8Z4yNjfDA
Changelog
🆑 Drathek
code: Missing Icons unit test now instantiates items and generally tests more icon_states
code: Unit tests can now log warnings that appear as a separate collapsed list but do not fail checks
fix: Fixed various hardrefs and missing icons
fix: Pipes retain their dir when picked up, no longer go invisible when re-anchored, and reconnect when re-anchored.
fix: Disabled various admin only pistols from being equipped in pistol belts since they only honk their underlay
refactor: Giant lizards and parent types now use weakrefs
refactor: Removed has_gamemode_skin and renamed NO_SNOW_TYPE to NO_GAMEMODE_SKIN
refactor: Removed uses_skin_color in favor of the existing flag HAS_SKIN_COLOR
maptweak: Fixed droppod floors on trijent elevator, lifeboats, corsat, and bigred
imageadd: Added missing unlocked overlay to lockable satchel
imageadd: Restored the missing overlays to spike launcher
imageadd: Tweaked the old sample jars and samples
admin: Admin spawned predators now have random skin color
/:cl: