Difference between pages "Item" and "In mysticality sign"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>Metraxis
 
imported>Grotfang
 
Line 1: Line 1:
{{Enumerated|Name=item}}
+
{{#vardefine:name|in_mysticality_sign}}
 +
{{#vardefine:return_type|boolean}}
 +
 
 +
{{FunctionPage|
 +
name={{#var:name}}|
 +
function_category=Your Character|
 +
 
 +
function1={{Function|
 +
name={{#var:name}}|
 +
aggregate={{#var:aggregate}}|
 +
return_type={{#var:return_type}}|
 +
return_also={{#var:return_also}}
 +
}}|
 +
 
 +
function_description=Returns true if your ascension sign is a mysticality sign; otherwise, returns false.|
 +
 
 +
code1={{CodeSample|
 +
title=Code Samples|
 +
description=This example farms the logging camp if it's accessible.|
 +
code=
 +
<syntaxhighlight>
 +
if(in_mysticality_sign() && my_adventures() > 0) {
 +
  adventure(my_adventures() , $location[logging camp]);
 +
}
 +
</syntaxhighlight>
 +
}}|
 +
 
 +
see_also={{SeeAlso|in_muscle_sign|in_moxie_sign|my_adventures}}|
 +
special=When not logged in, this function returns false.
 +
}}

Revision as of 13:46, 1 March 2010



Function Syntax

boolean in_mysticality_sign()

Returns true if your ascension sign is a mysticality sign; otherwise, returns false.

Code Samples

This example farms the logging camp if it's accessible.

if(in_mysticality_sign() && my_adventures() > 0) {
   adventure(my_adventures() , $location[logging camp]);
}

See Also

in_muscle_sign() | in_moxie_sign() | my_adventures()

Special

When not logged in, this function returns false.