In muscle sign: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>ZammyWarrior
No edit summary
imported>Eliteofdelete
No edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''boolean in_muscle_sign()'''<br/>
{{
Returns true if your ascension sign is a muscle sign otherwise false.
#vardefine:name|in_muscle_sign}}{{
[[Category:Your Character | In muscle sign()]]
#vardefine:return_type|boolean}}{{
[[Category:Ash Functions |In muscle sign()]]
[[Category:Needs Code Samples | In muscle sign()]]


<pre>#script checks to see if you are in a muscle sign. If true, it will import a script designed to plant mushrooms.
FunctionPage|
#If false, it does nothing.
name={{#var:name}}|


if(in_muscle_sign()){
function1={{Function|
import <Mushroom Script.ash>;
name={{#var:name}}|
}</pre>
aggregate={{#var:aggregate}}|
return_type={{#var:return_type}}|
return_also={{#var:return_also}}
}}|
 
function_description=Returns true if your moon sign gives a bonus to muscle stat gains. Otherwise it returns false.|
 
code1={{CodeSample|
title=Code Samples|
description=|
code=
<syntaxhighlight>
if (in_muscle_sign())  
  print("You currently get +10% muscle sub stats and your current sign is "+my_sign()+".", "blue");
else print("Your sign isn't a muscle sign.", "blue");
</syntaxhighlight>|
 
}}|
 
see_also={{SeeAlso|in_mysticality_sign|in_moxie_sign}}|
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_muscle_sign()

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

Code Samples

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

See Also

in_mysticality_sign() | in_moxie_sign()

Special

When not logged in, this function returns false.