construction.xml
The construction.xml configuration file contains configuration for building construction stages. Construction stages
can be added, edited, or deleted.
The "foundation-list" element contains multiple "foundation" elements that represent a foundation construction stage.
A "foundation" element contains the following attributes: "name", "constructable", "salvagable", "work-time", and
"skill-required". The "name" attribute has to be a unique name for the stage. The "constructable" attribute is true if
the foundation can be constructed and false if not. The "salvagable" attribute is true if the foundation can be salvaged
and false if not. The "work-time" attribute is the total amount of effective work time (millisols)
(See Time) required to complete the foundation construction. The "skill-required" attribute
is the minimum construction skill required for an architect to start the foundation construction mission.
The "foundation" element contains the following child elements:
- resource: Each "resource" element represents a type of resource needed to construct the foundation. The "resource"
element has a "name" attribute for a supported type of resource (See resources.xml). The
"amount" attribute is a decimal value of the amount of the resource (kilograms) needed.
- part: Each "part" element represents a type of part needed to construct the foundation. The "part" element has a
"name" attribute that must match up to a part listed in the conf/parts.xml file (See parts.xml).
The "number" attribute is the number of parts required.
- vehicle: Each "vehicle" element represents a construction vehicle needed to construct the foundation. The "vehicle"
element has a "type" attribute that must match up to a vehicle type listed in the conf/vehicles.xml file (See
vehicles.xml).
The "vehicle" element can contain a list of "attachment-part" child elements that represents attachment parts needed by
the vehicle. Each "attachment-part" element as a "name" attribute that must match up to a part listed in the conf/parts.xml
file (See parts.xml).
The "frame-list" element contains multiple "frame" elements that represent a frame construction stage.
A "frame" element contains the following attributes: "name", "constructable", "salvagable", "work-time", and "skill-required".
The "name" attribute has to be a unique name for the stage. The "constructable" attribute is true if
the frame can be constructed and false if not. The "salvagable" attribute is true if the frame can be salvaged
and false if not. The "work-time" attribute is the total amount of effective work time (millisols)
(See Time) required to complete the frame construction. The "skill-required"
attribute is the minimum construction skill required for an architect to start the frame construction mission.
The "frame" element contains the following child elements:
- resource: Each "resource" element represents a type of resource needed to construct the frame. The "resource"
element has a "name" attribute for a supported type of resource (See resources.xml). The
"amount" attribute is a decimal value of the amount of the resource (kilograms) needed.
- part: Each "part" element represents a type of part needed to construct the frame. The "part" element has a
"name" attribute that must match up to a part listed in the conf/parts.xml file (See parts.xml).
The "number" attribute is the number of parts required.
- vehicle: Each "vehicle" element represents a construction vehicle needed to construct the frame. The "vehicle"
element has a "type" attribute that must match up to a vehicle type listed in the conf/vehicles.xml file (See
vehicles.xml).
The "vehicle" element can contain a list of "attachment-part" child elements that represents attachment parts needed by
the vehicle. Each "attachment-part" element as a "name" attribute that must match up to a part listed in the conf/parts.xml
file (See parts.xml).
The "building-list" element contains multiple "building" elements that represent a building construction stage.
A "building" element contains the following attributes: "name", "constructable", "salvagable", "work-time", and "skill-required".
The "name" attribute has to be a unique name for the stage. The "constructable" attribute is true if
the building can be constructed and false if not. The "salvagable" attribute is true if the building can be salvaged
and false if not. The "work-time" attribute is the total amount of effective work time (millisols)
(See "conf/time.txt") required to complete the building construction. The "skill-required"
attribute is the minimum construction skill required for an architect to start the building construction mission.
The "building" element contains the following child elements:
- resource: Each "resource" element represents a type of resource needed to construct the building. The "resource"
element has a "name" attribute for a supported type of resource (See resources.xml). The
"amount" attribute is a decimal value of the amount of the resource (kilograms) needed.
- part: Each "part" element represents a type of part needed to construct the building. The "part" element has a
"name" attribute that must match up to a part listed in the conf/parts.xml file (See parts.xml).
The "number" attribute is the number of parts required.
- vehicle: Each "vehicle" element represents a construction vehicle needed to construct the building. The "vehicle"
element has a "type" attribute that must match up to a vehicle type listed in the conf/vehicles.xml file (See
vehicles.xml).
The "vehicle" element can contain a list of "attachment-part" child elements that represents attachment parts needed by
the vehicle. Each "attachment-part" element as a "name" attribute that must match up to a part listed in the conf/parts.xml
file (See parts.xml).