Skip to content

Integration of Badge Preset I/O#781

Merged
notdistorted merged 15 commits into
ynoproject:masterfrom
zebraed:fea-badge-preset-io
Jun 8, 2026
Merged

Integration of Badge Preset I/O#781
notdistorted merged 15 commits into
ynoproject:masterfrom
zebraed:fea-badge-preset-io

Conversation

@zebraed

@zebraed zebraed commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Descriptions

Adds native badge preset I/O to forest-orb, replacing my badge-preset-io userscript.

Add new badgepresetio.js module with Export/Import handlers.
Export/Import buttons in the badge preset modal.

Behavior

Export: writes a full badge grid as .badgepreset (.json also accepted on import)
Import: temporarily applies the preset to equipped slots, saves to the selected preset slot, then rolls back equipped slots
Unknown or locked badges are skipped during import (saved as null in the preset)
Import fails if the preset contains badges outside the player’s slot grid.

Tested in my local.

close #728

@zebraed zebraed marked this pull request as ready for review June 8, 2026 04:33
@notdistorted notdistorted merged commit 10878c5 into ynoproject:master Jun 8, 2026
1 check passed
@zebraed zebraed deleted the fea-badge-preset-io branch June 8, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integration of Badge Preset I/O

2 participants