root/rpgcharacter/transports/transport
Back
Namespace:
Filename:
Content: refid (type: string) , condition (type: int) ?, cost (type: float) ?, name (type: string) ?, note (type: string) ?, unique (type: namevaluelist) ? appdata (type: customdata) *, contains (type: equipmentlist) ?
Description: The transport
tag describes one of the
character's vehciles, mounts, ships or other form of transportation.
refid
references the definition of the basic transport. It is
assumed that a given system will define a fixed set of data decribing the details
of the transports available to that system, and that this tag will reference
those records. This prevents every detail of the transport from being duplicated
within this schema.condition
defines the condition of the transport, usually recorded
in "points" of damage the equipment has sustained, though the exact meaning of
the value will depend on the game system. If this tag is not present, its value
is assumed to be zero.cost
records how much the character paid for the transport, if anything.
This value can vary from the standard cost based on the quality of the equipment
and the circumstances of the purchase. If this tag is not included, the cost of
the equipment is assumed to be the standard cost for transport.name
defines a name the character has given this transport,
if any.note
defines a note about the transport, if any.unique
defines any unique properties the particular tranport contains,
above and beyond the transport's common characteristics. This can also be used to
hold game specific information about the transport.appdata
a section to allow an application to write customized
data about the transport. There can be zero or more of these in an item.contains
defines any other equipment included on, within or inside this
transport. This can be useful to describe the equipment or weapons installed in
a vehilce, for example.Code Fragment
<xs:complexType name="transport">
<xs:sequence>
<xs:element type="xs:string" name="refid"/>
<xs:element type="xs:int" name="condition" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:float" name="cost" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="name" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="note" minOccurs="0" maxOccurs="1"/>
<xs:element type="namevaluelist" name="unique" minOccurs="0" maxOccurs="1"/>
<xs:element type="customdata" name="appdata" minOccurs="0" maxOccurs="unbounded"/>
<xs:element type="equipmentlist" name="contains" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>