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:
- Vehicle: Any vehicle.
- Rover: A pressurized, long-range, all-terrain, ground vehicle that carries a crew.
- EVA Suit: An Extra Vehicular Activity suit.
- Building: This represents any building, regardless of its functions.
- Life Support: A building with the "life-support" function (see buildings.xml).
- Living Accommodations: A building that has the "living-accommodations" function (see buildings.xml).
- Research: A building that has the "research" function (see buildings.xml).
- Communication: A building that has the "communication" function (see buildings.xml).
- EVA: A building that has the "EVA" function (see buildings.xml).
- Recreation: A building that has the "recreation" function (see buildings.xml).
- Dining: A building that has the "dining" function (see buildings.xml).
- Cooking: A building that has the "cooking" function (see buildings.xml).
- Exercise: A building that has the "exercise" function (see buildings.xml).
- Resource Processing: A building that has the "resource-processing" function (see buildings.xml).
- Storage: A building that has the "storage" function (see buildings.xml).
- Power Generation: A building that has the "power-generation" function (see buildings.xml).
- Medical Care: A building that has the "medical-care" function (see buildings.xml).
- Farming: A building that has the "farming" function (see buildings.xml).
- Ground Vehicle Maintenance: A building that has the "ground-vehicle-maintenance" function (see buildings.xml).
- Manufacture: A building that has the "manufacture" function (see buildings.xml).
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.