In muscle sign: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
Valhalla revamp in r9307
imported>Eliteofdelete
No edit summary
 
Line 15: Line 15:
function_description=Returns true if your moon sign gives a bonus to muscle stat gains. Otherwise it returns false.|
function_description=Returns true if your moon sign gives a bonus to muscle stat gains. Otherwise it returns false.|


needscode=yes|
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}}|
see_also={{SeeAlso|in_mysticality_sign|in_moxie_sign}}|

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.