In moxie sign: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>ZammyWarrior
No edit summary
imported>Eliteofdelete
No edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''boolean in_moxie_sign()'''<br/>
{{
#vardefine:name|in_moxie_sign}}{{
#vardefine:return_type|boolean}}{{


Returns true if your ascension sign is a moxie sign otherwise false.
FunctionPage|
name={{#var:name}}|


[[Category:Your Character | In moxie sign()]]
function1={{Function|
[[Category:Ash Functions |In moxie sign()]]
name={{#var:name}}|
[[Category:Needs Code Samples | In moxie sign()]]
aggregate={{#var:aggregate}}|
<pre>#If in moxie sign script will 'farm' the thugnerdome.
return_type={{#var:return_type}}|
return_also={{#var:return_also}}
}}|


if(in_moxie_sign() && my_adventures > 0){
function_description=Returns true if your moon sign gives a bonus to moxie stat gains. Otherwise it returns false.|
adventure(my_adventures(), $location[thugnerdome]);
 
}</pre>
code1={{CodeSample|
title=Code Samples|
description=|
code=
<syntaxhighlight>
if (in_moxie_sign())  
  print("You currently get +10% moxie sub stats and your current sign is "+my_sign()+".", "blue");
else print("Your sign isn't a moxie sign.", "blue");
</syntaxhighlight>|
 
</pre>
}}|
 
see_also={{SeeAlso|in_muscle_sign|in_mysticality_sign|my_adventures}}|
special=When not logged in, this function returns false.
}}
 
[[Category:Your Character]]

Latest revision as of 03:39, 14 January 2015

Function Syntax

boolean in_moxie_sign()

Returns true if your moon sign gives a bonus to moxie stat gains. Otherwise it returns false.

Code Samples

if (in_moxie_sign()) 
   print("You currently get +10% moxie sub stats and your current sign is "+my_sign()+".", "blue");
else print("Your sign isn't a moxie sign.", "blue");

See Also

in_muscle_sign() | in_mysticality_sign() | my_adventures()

Special

When not logged in, this function returns false.