A quick JS bookmarklet converter to change Homebrewery Monster blocks from Legacy code to V3.
-
Create a new bookmark in your browser. Chrome is strongly recommended, as it is the only browser Homebrewery officially supports. It is likely that you will get unexpected results with other browsers.
-
Give the bookmark whatever name you like - "HB Monster Converter", for example.
-
Copy the contents of
src/bookmarklet.js
into the URL field. -
Click "Save".
-
Navigate to https://homebrewery.naturalcrit.com and open the editor page.
-
Click the bookmark created during the installation process.
-
Paste the legacy monster block source text into the prompt window that appears. Click OK to start the conversion process.
-
On completion, a window will appear, informing you that the modified text has been copied to the clipboard, and showing the output text.
-
Paste the clipboard content into your Homebrew editor in the desired location.
If you have any issues or have suggestions for improvements, please raise an Issue on this GitHub project.
The converter can currently only handle ONE (1) Legacy Monster Block at a time. Attempting to enter the text for more than one Legacy Monster Block will return unexpected results.
Good luck!
- G