Element: Difference between revisions
Jump to navigation
Jump to search
imported>Aventuristo Replaced redirect with element content |
imported>Aventuristo Add to Data Types category |
||
(One intermediate revision by the same user not shown) | |||
Line 25: | Line 25: | ||
==Proxy Record Fields== | ==Proxy Record Fields== | ||
Here are the proxy record fields for elements. Proxy records are discussed in more | |||
detail [[Proxy Records|here]]. | |||
{| cellpadding="3" cellspacing="0" border="1px" class="sortable" | {| cellpadding="3" cellspacing="0" border="1px" class="sortable" | ||
Line 40: | Line 43: | ||
|} | |} | ||
[[Category:Scripting]] | [[Category:Scripting]] [[Category:Data Types]] |
Latest revision as of 00:41, 30 September 2017
This data type represents one of the elements of the KoL universe. Besides
$element[ none ], there are seven possible values for this datatype:
- cold
- hot
- sleaze
- spooky
- stench
- slime
- supercold
Note that "Bad Spelling" is not considered a true element. Also note that these names are case-sensitive (referencing $element[ Spooky ] will generate an error).
Related Functions
element dad_sea_monkee_weakness( int )
float elemental_resistance( element )
float elemental_resistance( [monster] )
element monster_element( [monster] )
element to_element( strict_string )
Proxy Record Fields
Here are the proxy record fields for elements. Proxy records are discussed in more detail here.
Field | Data type | Default value | ASH Accessor Function / Notes |
---|---|---|---|
image | string | "circle.gif" |