In moxie sign: Difference between revisions
Jump to navigation
Jump to search
imported>Grotfang No edit summary |
imported>Eliteofdelete No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:name|in_moxie_sign}} | {{ | ||
{{#vardefine:return_type|boolean}} | #vardefine:name|in_moxie_sign}}{{ | ||
#vardefine:return_type|boolean}}{{ | |||
FunctionPage| | |||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 13: | Line 13: | ||
}}| | }}| | ||
function_description=Returns true if your | function_description=Returns true if your moon sign gives a bonus to moxie stat gains. Otherwise it returns false.| | ||
code1={{CodeSample| | code1={{CodeSample| | ||
title=Code Samples| | title=Code Samples| | ||
description= | description=| | ||
code= | code= | ||
<syntaxhighlight> | <syntaxhighlight> | ||
if(in_moxie_sign() | 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> | </syntaxhighlight>| | ||
</pre> | |||
}}| | }}| | ||
Line 29: | Line 31: | ||
special=When not logged in, this function returns false. | 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
Special
When not logged in, this function returns false.