Difference between revisions of "My path"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(r9307)
 
imported>Fredg1
Line 13: Line 13:
 
}}|
 
}}|
  
function_description=Returns the path your character chose upon ascension.|
+
function_description=Returns the path your character chose upon ascension ("None" when in aftercore).|
  
 
code1={{CodeSample|
 
code1={{CodeSample|

Revision as of 00:21, 23 December 2019

Function Syntax

string my_path()

Returns the path your character chose upon ascension ("None" when in aftercore).

Code Samples

This prints all the affects of your moon sign.

if(my_path() == "Bees Hate You")
   print("I'm doing a Bees Hate You run.");
else print("Bees do not hate me, thank goodness.");

See Also

my_sign() | knoll_available() | canadia_available() | gnomads_available()

Special

This function returns "None" when not logged in.