Difference between revisions of "Element"
Jump to navigation
Jump to search
imported>StDoodle m (Redirected page to Data Types#element) |
imported>Aventuristo (Replaced redirect with element content) |
||
Line 1: | Line 1: | ||
− | # | + | {{DISPLAYTITLE:element}} |
+ | |||
+ | 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== | ||
+ | |||
+ | {{Flink|element|dad_sea_monkee_weakness|int}} | ||
+ | {{Flink|float|elemental_resistance|element}} | ||
+ | {{Flink|float|elemental_resistance|{{opt|monster}}}} | ||
+ | {{Flink|element|monster_element|{{opt|monster}}}} | ||
+ | {{Flink|element|to_element|strict_string}} | ||
+ | |||
+ | ==Proxy Record Fields== | ||
+ | |||
+ | {| cellpadding="3" cellspacing="0" border="1px" class="sortable" | ||
+ | |- | style="background-color: #F2F2F2" | ||
+ | |- | ||
+ | ! Field | ||
+ | ! Data type | ||
+ | ! Default value | ||
+ | ! ASH Accessor Function / Notes | ||
+ | |- | ||
+ | | image | ||
+ | | string | ||
+ | | "circle.gif" | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | [[Category:Scripting]] |
Revision as of 23:56, 29 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
Field | Data type | Default value | ASH Accessor Function / Notes |
---|---|---|---|
image | string | "circle.gif" |