Outfit tattoo

From Kolmafia
Jump to navigation Jump to search

Function Syntax

string outfit_tattoo(string name )

  • name is an outfit to check

This function returns image file name of outfit tattoo. If the outfit doesn't exist, returns an empty string.

Code Sample

The following code will check if you have the tattoo for Knob Goblin Harem Girl Disguise.

string result = visit_url("account_tattoos.php");
string tattoo = outfit_tattoo("Knob Goblin Harem Girl Disguise");
if( contains_text(result, tattoo) )
   print("You have the tattoo");

See Also

have_outfit()