Setting Properties

Syntax

As part of an item definition, it is possible to set properties. The basic syntax is as follows.

item(<feature>) {
    property {
        <name> : <value> ;
        <name> : <value> ;
        //etc..ad infinitum
    }
}

feature

The feature to use. For more information, see the Features page.

name

The name of the property. Valid property names are feature-dependant. Links to per-feature property lists are supplied below.

value

The value of to set the property to. This can be any (parametrized) expression, string or array. Valid values depend on which property is being set. The property lists below provide detailed information.

Property lists

Vehicle Properties, valid for trains, road vehicles, ships and aircraft.
Train Properties
Road Vehicle Properties
Ship Properties
Aircraft Properties
..more to be added..