Habitica Wiki
Habitica Wiki



Transform Yourself Year-Round[]

by @mike_the_monk

Summary[]

Why wait until the next Grand Gala to transform yourself into a snowman, flower, starfish, or ghost?

This script creates buttons that let you transform yourself, just like the Transformation Items, though they can only affect you. Clicking the button once costs 15 GP and transforms you for the day, and clicking it again changes you back to normal at a cost of 5 GP. You will have to sync Habitica before you transform and the gold gets subtracted.

You also can get a never-before-seen Transformation Item! Furthermore, you can pick Random Transformation as one of your button choices, which randomly transforms you into one of the four options.


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.



First-Time Setup Instructions[]

Code[]

Required Customizations[]

Which Transformation Items do you want? By default, you'll only get Random and not the others, but that can be changed.

  • CREATE_RANDOM  will create the Random Transformation (self only) item if the value is set to 1 (which is the default). If you don't want this item, change the value to a 0.
  • CREATE_SNOWBALL  will create the Snowball (self only) item if you change the value to 1. If you don't want it, keep the value at 0.
  • CREATE_SHINY_SEED  will create the Shiny Seed (self only) item if you change the value to 1. If you don't want it, keep the value at 0.
  • CREATE_SEAFOAM  will create the Seafoam (self only) item if you change the value to 1. If you don't want it, keep the value at 0.
  • CREATE_SPOOKY_SPARKLES  will create the Spooky Sparkles (self only) item if you change the value to 1. If you don't want it, keep the value at 0.

Optional Customizations[]

  • NOTIFICATIONS_ON can be changed to a 0 if you don't want a private message notification every time you have insufficient gold. If you leave it as a 1, you will get such notifications.
  • AUTOMATIC_TRANSFORM_RANDOM - Do you want to randomly transform for free each day at Cron? If yes, change the 0 to a 1.

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:



Update Instructions[]



Scripts by the same author[]

Below are scripts that let you customize Habitica. If you plan on using more than one of them, I recommend installing the superscript, which combines all of my scripts into one.

Automated FCV scripts – these do things you can manually do using Fixed Character Values, all at the click of a button

Custom skills – at the click of a button, do something it's not possible to manually do using Fix Character Values

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.