mike_the_monk superscript, which combines all his scripts[]
Summary[]
Sometimes you get errors if you run multiple scripts at the same time. They can interfere with each other.
You can sidestep that problem entirely – this superscript combines all mike_the_monk scripts into one.
First-Time Setup Instructions[]
- Follow the easy step by step setup guide with pictures
- One difference between setting up this superscript and setting up a smaller script – when you run the function
doOneTimeSetup, it might take up to three minutes to complete setup, depending on how many buttons you want to make. Habitica's servers can only handle so much per minute. This time is longer than setting up a smaller script, but it makes sense, you are doing more with this superscript and therefore setup would take longer.
Code[]
Customizations[]
For each of my scripts, each customization can be enabled if you set its value to 1, or disabled if you set its value to 0. For this superscript, I default every value to 0 because I don't know which scripts or customizations you plan on using.
In the code, customizations follow an outline format – this allows you to skip customizations for scripts you don't plan on using.
The outline is organized as follows:
- First, all the required customizations.
- Within that, the Automated FCV Scripts category is first.
- Then, the Custom Skills scripts.
- Then, the Game Mods scripts.
- Finally, the Just For Fun scripts.
- Second, all the optional customizations.
- Just like before, all the Automated FCV Scripts will be first.
- And so on with the other categories.
If there is a script or category you don't plan on using, you can skip its section and collapse its portion of the code. To do so, click the arrow in the left margin. See example below. If you click the arrow circled in red (left image), it will collapse the Automated FCV Scripts section, Lines 20-34 of code (right image).
For the sake of brevity, I won't copy/paste each script's customizations into this wiki page. You can find details in the separate wiki pages for each of my scripts, linked below.
Automated FCV scripts – these do things you can manually do using Fixed Character Values, all at the click of a button
- Experience Potion and Mana Potion - pay 25 GP for 150 XP or 30 MP.
- Anti-Potions - a crowd of onlookers will pay you 25 GP to drink a concoction that somewhat weakens you (-30 MP, -15 HP, or -150 XP).
- Swap HP or XP for MP - pay 5 HP or 50 XP to gain 10 MP.
- Editable Fix Character Values Buttons - an expansion on the first three scripts, creating custom reward buttons whose text you can edit to change what the reward does.
Custom skills – at the click of a button, do something it's not possible to manually do using Fix Character Values
- Cross-Class Stat Buffs - use stat buffs from other classes to buff yourself (but not your Party).
- Cross-Class Skills - use skills from other classes at a slightly higher mana cost.
Game Modes – these activate a game mode which alters Habitica in a larger, ongoing way for you
- Bad Day Mode - some days, it's better to rest than to do all of your tasks. Pressing the button fully heals you, buffs your CON to 9999, and Stealths all your Dailies so you take no damage if you miss them.
- Partial Healing Mode - normally, you fully heal upon leveling up. Players who want an added challenge can instead only partially heal upon level up.
- Dueling Mode - challenge another player to a duel and the script keeps track of your score. Whoever wins gets the GP that both of you wagered.
Just for Fun – customizations more on the silly side
- Transform Yourself Year-Round - why wait until the next Grand Gala to turn yourself into a snowman, flower, starfish, or ghost? Creates buttons that transform you for 15 GP (5 GP to turn back), including a never-before-seen Random Transformation item that randomly turns you into one of the four options.
Required customizations[]
There are two new customizations for the superscript that don't exist in the individual scripts:
CREATE_BAD_DAY_MODE_BUTTON- If you want to create a button that puts you in Bad Day Mode, change the 0 to a 1. If you don't want that button, you can leave it as a 0.I_WANT_TO_DUEL- If you want to participate in duels using the dueling script, change the 0 to a 1. If you don't want to duel, you can leave it as a 0.
Optional customizations[]
All the optional customizations can be found in the wiki pages for each individual script.
Note:[]
Please wait 30 seconds between clicking any of the buttons in this script or other scripts. We don’t want to overload the Habitica servers, which can affect everyone, even if they’re not using any of the scripts. If you accidentally click it faster, no worries, I’ve built the code such that if you don’t wait 30 seconds, no code will be executed. So, if you click the button and it seemed like nothing happened, that could possibly be the reason why.
Troubleshooting[]
If you're experiencing issues with the script, please go through the steps listed on this page: Scripts Troubleshooting. Section 3 (Event-Driven (Webhook) Scripts) is especially useful.
If you're not able to resolve the issue, you can contact the author of the script at any of the following places:
- Open an issue on GitHub
- Send a private message in Habitica
Update Instructions[]
- If you already had an earlier version of the script set up previously and want to update to a newer version, do all three parts under Applying Updates to Streamlined Scripts

