Cassette Beasts

Cassette Beasts

Not enough ratings
CBPastes Import/Export
   
Award
Favorite
Favorited
Unfavorite
Category: Utility
File Size
Posted
Updated
318.299 KB
22 Nov, 2024 @ 8:12am
7 Apr @ 9:31am
10 Change Notes ( view )

Subscribe to download
CBPastes Import/Export

Description
This mod integrates a paste import/export feature to allow sharing and testing tape builds that are more human-readable. It follows the CBPaste Formatting Specification[gist.github.com]. You can check the source code here[github.com] to see how it can be put into practice.

Attributes are now supported!



Exporting Pastes

Pastes for individual tapes can be exported by previewing the tape. Bulk paste exporting for the current Party or the entire Tape Storage can be done in either the Party Menu or while in Tape Storage, but this option is removed while in battle.

Pastes can also be exported as a file. Export formats include plain text (which is the standard for sharing pastes), Markdown, BBCode (color supported), and HTML (color supported). You can choose to export an individual tape, the current party, or the whole tape storage.

Importing Pastes

To import tapes, first enable Debug Console, then type in
import_paste
to access the import menu. This will only accept pastes formatted with plain text. So long as they are formatted correctly, you can use this to generate multiple tapes at once. By default, paste importing checks for legality, and if importing 6 or less at once, tags them as "Favourite" to make them easier to find in Tape Storage.

If importing 6 or less tapes, you are now prompted if you want to swap some of your current party with the imported tapes, or if they should be sent to storage.

If an error happens during parsing, such as an invalid move, you will be informed that such an error occurred. Check the log files to find out more.

Should be safe to remove.
3 Comments
Prof. JermZ 11 May @ 6:44am 
now we just need a place for people to share pastes, just like pokepaste!
Lerycide  [author] 7 Apr @ 9:00pm 
In the tape or party menu, you can choose to export the tape and make sure to enable attributes to see what the format looks like. You can also look into the specification linked in the description to have a look at the name conventions used.
That Minty Ceuta 7 Apr @ 11:58am 
is there a way to identiffy the sticker atributes to the way i should write them down to import?