Change Equipment

== Description ==
Based on the Change Costume, Background, Pet, and Mount script by @EugeneG
== Features ==
* Creates buttons on the user’s Rewards column to save (remember) the current equipment set
**Does not affect costume/background/pet/mount
*Creates buttons to load (wear) a remembered equipment set
**Four equipment sets by default (STR, CON, INT, PER). The user can manually add Rewards buttons for more.
*Notifies the user via private message when an equipment set has been saved or completely loaded
**Notifications can be disabled
*Rate limit checking (sends "retry after X seconds" message)
== First-Time Setup Instructions ==
*Follow the easy step-by-step setup guide with pictures
== Code ==
*https://raw.githubusercontent.com/boringhexi/Habitica-Change-Equipment/main/Code.gs
== Optional Customizations ==
*ENABLE_NOTIFICATION can be set to 0 to disable notifications
== Usage Tips ==
*How to give your equipment set a name, or add a picture of the equipment set on the buttons
== Known Issues ==
* If you lose an item by dying or resetting your account, loading an equipment set with a missing item will fail
== Update Instructions ==
*If you already had an earlier version of the script set up previously and want to update to a newer version, simply do Part 2. Update External Script
*No need to do Part 1 and Part 3
*Note that on the first time you load an equipment set after updating, it might take a bit longer than usual to take effect (around 15 seconds). On the second time and onwards, this delay will no longer be present.
== Credits and Acknowledgments ==
*@EugeneG for the original Change Costume, Background, Pet, and Mount script, plus all other credits and acknowledgments of that script:
**@jpazniokas for the cool idea of using custom rewards as triggers
**@rhitakorrr for the API URL/endpoint that can clear the background
**@Linsanity for the script request, support, and encouragement
**@alys for the awesome idea of using pictures of the costumes on the reward buttons
**@Nakonana for the steps to give the outfit a name, or add a picture of the costume on the buttons
Category:Streamlined Event-Driven Scripts