Change mcd
boolean change_mcd( int level )
Attempts to change your mind-control device (MCD) to the specified level, returning true if successful. Attempting to change the MCD to an impossible number will generate this abort error: "The dial only goes from 0 to 10." (11 for mysticality signs)
The following function attempts to set your MCD to the maximum, returning true if successful.
boolean mcd_max() {
int maxmcd = 10;
if (in_mysticality_sign()) maxmcd = 11;
if (current_mcd() == maxmcd) return true;
print("Adjusting MCD to "+maxmcd+"...","olive");
return change_mcd(maxmcd);
}
When not logged in, this function returns false.