Difference between revisions of "Outfit tattoo"

From Kolmafia
Jump to navigation Jump to search
imported>Relyk
(Created page with "{{ #vardefine:name|outfit_tattoo}}{{ #vardefine:return_type|string}}{{ FunctionPage| name={{#var:name}}| function1={{Function| name={{#var:name}}| aggregate={{#var:aggregate...")
 
(No difference)

Latest revision as of 01:36, 24 September 2015

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()