Galaktik cures discounted

From Kolmafia
Jump to navigation Jump to search

Function Syntax

boolean galaktik_cures_discounted()

This function returns true if the logged-in character has completed Doc Galaktik's Quest for Herbs this ascension. Otherwise, it returns false.

Code Samples

The example lets you know how much the tap currently costs for you.

int Nos;
int Ton;
if (galaktik_cures_discounted()) {
   Nos = 6;
   Ton = 12;
}
else {
   Nos = 10;
   Ton = 17;   
}

print("The current price for Curative Nostrum is "+Nos+" meat per HP. Fizzy Invigorating Tonic is "+Ton+" meat per MP.", "blue");

Special

When not logged in, this function returns false.