To element

From Kolmafia
Revision as of 15:43, 30 April 2010 by imported>StDoodle
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.