Path id to name
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This function is deprecated in KoLmafia r26713.
Use to_path(id).name
instead.
Function Syntax
string path_id_to_name(int id )
- id is the ID of the path to convert
Returns the name of the specified path id.
Code Samples
Following example shows basic path_id_to_name operations.
int first = 3;
int second = 7;
int third = 24;
print(first+" gives "+path_id_to_name(first)+".");
print(second+" gives "+path_id_to_name(second)+".");
print(third+" gives "+path_id_to_name(third)+".");
Gives the following output.
3 gives Oxygenarian. 7 gives Trendy. 24 gives One Crazy Random Summer.
See Also
Special
Returns "None" when submitting an ID which doesn't have a known path tied to, such as 5 (never released), or 60 (not yet known). Also, the 3 first unknown paths return "Path id", for internal reasons (as of writing this, for example, 40, 41 and 42 return "Path 40", "Path 41" and "Path 42".