-
Notifications
You must be signed in to change notification settings - Fork 51
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
Upstream species fix #1022
Upstream species fix #1022
Conversation
Reviewer's Guide by SourceryThis pull request fixes an issue where Vulpkanin body markings were not being colored correctly. It also adds a new proc to update body markings. Sequence diagram for Vulpkanin body marking update processsequenceDiagram
participant S as Species
participant BO as BodypartOverlay
participant SA as SpriteAccessory
S->>S: update_body_markings(hooman)
Note over S: Check if update needed
alt needs update
S->>S: remove_body_markings(hooman)
S->>S: add_body_markings(hooman)
S->>BO: set_appearance(name, color, bodypart)
BO->>SA: get_accessory(name)
SA-->>BO: return accessory
Note over BO: Update colors and icons
end
Class diagram for updated Vulpkanin body marking classesclassDiagram
class BodypartOverlaySimpleBodyMarkingVulpkanin {
+set_appearance(name, set_color, bodypart)
+generate_icon_cache()
+can_draw_on_bodypart(human)
+aux_color_paw
+draw_color
}
class SpriteAccessoryVulpkaninBodyMarkings {
+icon
+name
+colored_paws
+color_src
+gender_specific
}
class Species {
+update_body_markings(hooman)
+remove_body_markings(hooman)
+add_body_markings(hooman)
}
BodypartOverlaySimpleBodyMarkingVulpkanin --> SpriteAccessoryVulpkaninBodyMarkings
Species --> BodypartOverlaySimpleBodyMarkingVulpkanin : uses
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
ТМ запрошен? |
This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself |
Что этот PR делает
Исправления под расы (сломали раскраску тела на апстриме)
Changelog
🆑
fix: Исправление закрашивания аксессуаров раскраски тела
/:cl:
Summary by Sourcery
Bug Fixes: