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 MR moves boots into an overlay under the uniform and touches up boot on mob sprites to look like actual boots, since they now don't have to be cut off for the uniforms.
The only visible effect on CM of this change is that the CL and Synth can now wear boots with their black skirt suit, see pictures.
The more significant effect is that this properly layers socks/boots/shoes under uniforms, meaning that should someone downstream say add uniforms with skirts, boots/stockings will not overlay on top of them.
This also fixes the RMC Boots and makes the item icon properly update to reflect whether they have a knife or not (as they were missing a proc that did that)
Finally it also removes a garbage var and and an empty check using it.
Due to how the global part of update_icon() handles item_state paths, removing the -1 onmob icons breaks onmob icons that appear on spawned-in npcs. I'm sure fixing that will break it in 100 other places, so I opted for the -1 icons instead.
Explain why it's good for the game
Proper, clear layering that does not require dmi shenanigans is good for both spriters and coders.
Onmob icons now properly represent what the boots actually are, which makes the icons universal which is also good.
Happy downstream that does not have to implement this as a separate fix :)
Testing Photographs and Procedure
Screenshots & Videos
Skirt and boots:
RMC Boot icon:
Changelog
🆑silencer_pl
fix: Boots now properly render under skirts/shorts/uniforms etc without icon edits
fix: RMC Boot icons now properly reflect if an object is holstered in them
/:cl: