attributes.inc Functions
 
 
Includes
The following inc files are included in attributes.inc
":attributes:regen"
":attributes:settings"
":attributes:skills"
":attributes:stats"
":attributes:vitals"
":attributes:attributeConstants"
":attributes:skillCheck"
":attributes:advanceCheck"
":datafile:datafile"
 

AP_GetAttributesCfgFile

Parameters
()
Explanation
Loads attributes.cfg.
Return Values
Config file
 

AP_GetAttributeCfgElem

Parameters
(attribute_name, byref cfg_file:=0)
Name Type
attribute_name Name of the attribute to get the elem of.
cfg_file Optional parameter - reference to a config already read in
Explanation
Retrieves a config elem for an attribute in attributes.cfg.
Return Values
Returns a config file elem
 

AP_GetAttributesDataFile

Parameters
()
Explanation
Loads the attributes datafile. (see attributecache.src)
Return Values
Config file
 

AP_GetAttributeDataElem

Parameters
(elem_name)
Name Type
elem_name Name of the attribute to get the elem of.
Explanation
Retrieves a datafile elem from the attributes package.
Return Values
Returns a datafile elem.
 

AP_ListAttributesByType

Parameters
(type:="")
Name Type
type String containing the type of attributes to list.
Explanation
Gets the name of all attributes of a certain type. Can be "Stat" or "Skill". "" retrieves all together
Return Values
Returns an array