parts.xml

The parts.xml configuration file contains configuration for all the parts used in the simulation.

A "part" element has a unique "name" attribute. It has a required "mass" attribute that shows the mass of the individual part in kilograms. It also has the following child element:

maintenance-entity-list: This is an optional element that is a list of all entities that may require this part for periodic maintenance.

entity: This is an entity that requires this part for periodic maintenance. The "probability" attribute is required and is the percentage (0 - 100) probability that this part will be needed during a given maintenance. The "max-number" attribute is required and is the maximum number of this part needed for a given maintenance.

The following entities types are supported for maintenance:

Basically any building function is supported as a malfunctionable entity, only replace the hyphens in the function name with spaces. As we add more vehicles, equipment and building functions, they well be supported malfunctionable entities as well.