Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory data

22 bytes removed, 14:02, 20 June 2017
Attributes
The '''accessory_data''' unit class is the superclass for all ''accessory_*_data'' classes and defines basic UI attributes and compatibility/interactions between accessories. It is generally not used ''directly'' because it doesn't affect the vehicle visually or physically. Instead, more specialized [[#Subclasses|subclasses]] have been derived from it to define specific accessory types. Basically, think of '''accessory_data''' as a template from which all ''accessory_*_data'' classes have been derived.
== Attributes ==
|name
|string
|""
|Full name of the accessory for UI display.
|-
|short_name
|string
|""
|Condensed name of the accessory for UI display in contexts with limited space or where full names are otherwise ill-suited.
|-
|icon
|string
|""
|Path relative to <code>/material/ui/accessory/</code> to the icon for the accessory, omitting the file extension. For example, <code>icon: "truck_name/fancy_doodad"</code> would point to <code>/material/ui/accessory/truck_name/fancy_doodad.mat</code>.
|-

Navigation menu