-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[ENHANCEMENT] Better mod support for stickers (StickerRegistry) #4003
base: develop
Are you sure you want to change the base?
[ENHANCEMENT] Better mod support for stickers (StickerRegistry) #4003
Conversation
Oh, this is nice! Good work! |
I like how this standardizes the stickers to match how the rest of the game uses data. However, this PR has merge conflicts with v0.6 (it utilizes the previously unused sticker pack system). We can resolve those at that point. |
efaf7c8
to
2f73439
Compare
Oops I fucked up the rebase hold on |
f4855fa
to
3e19d29
Compare
Everything is one neat commit now thank god |
Marking this PR as a draft until v0.6.0 comes out so I can update it accordingly. |
3e19d29
to
29e8c27
Compare
Does this PR close any issues? If so, link them below.
Implements #3969
Briefly describe the issue(s) fixed.
This PR moves sticker sets to its own registry called
StickerRegistry
, and replaces the old(and quite frankly crude)StickerInfo
class with a new class calledStickerSet
. This should hopefully streamline the process of making custom sticker sets, since mods no longer need to directly replacestickers-set-1
or use JSON patching.Notes
data/stickersets
(andStickerInfo
being removed). But that's up to Eric to decide.stickers-set-1
: Movestickers-set-1
todata/stickersets/
funkin.assets#109StickerSprite
now takes a file path instead of sticker set and sticker names to support custom file paths for sticker sets.