Go to the first, previous, next, last section, table of contents.

Type Names

The names of types need not be distinct from each other, but you run the risk of player confusion if they share names.

TypeProperty: name string

This property is the specific name of the type. This name will be displayed to players; the exact format is up to the interface, but will typically depend on the name's length and the space available in the display. If no type names have been defined, the internal type name (see below) will be used. Defaults to "".

TypeProperty: long-name string

This property is a fully spelled-out name for the type. Defaults to "".

TypeProperty: short-name string

This property is an abbreviated name of r Defaults to "".

TypeProperty: generic-name string

This property is like name, but identifies the type less specifically, and several types may have the same generic name. If no generic names are defined, then the regular type names will be used. This is useful when making abbreviated lists, so that related types get counted together. Defaults to ().

As an example of the distinction between type names and generic type name, the names of a automobile type might be "1965 Mustang", "Mustang", and "M", while the generic name is "auto". Then the interface could choose to display a parking lot as containing either "4 auto" or "2 Mustang 1 Edsel 1 Jeep".

Note that names specified as properties are strings only, and are not defined as evaluable symbols.


Go to the first, previous, next, last section, table of contents.