To element

From Kolmafia
Revision as of 05:21, 22 May 2010 by imported>Bale
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

element to_element(string name )

  • name is the element name to convert

Returns the specified element name as an element.

Special

Note that this function is case-sensitive, as with direct casting. Anything besides the following list will return $element[ none ], including strings with extra or missing characters: cold, hot, sleaze, spooky, stench, slime.