A Proposal for a Shadowrun XML Standard

augmentation

root/augmentationlist/augmentation
Back

Namespace:
Filename:

Appends: refid (type: string) , location (type: bodylocation) *, quality (type: string) ?, condition (type: int) ?, cost (type: float) ?, impact (type: float) ?, note (type: string) ?, appdata (type: customdata) *, includes (type: augmentationlist) ?, contains (type: equipmentlist) ?

Description: The augmentation tag describes a use of a predefined enhancement installed, grown or engineered into a character's body. The tag details the installation itself, not the full details of the augmentation. The details of the standard augmentation are assumed to be detailed elsewhere (a database, usually) and referenced by this usage tag, via the refid tag.


Code Fragment

<xs:complexType name="augmentation">
  <xs:sequence>
    <xs:element type="xs:string" name="refid"/>
    <xs:element type="bodylocation" name="location" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element type="xs:string" name="quality" minOccurs="0" maxOccurs="1"/>
    <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:float" name="impact" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:float" name="volume" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="note" minOccurs="0" maxOccurs="1"/>
    <xs:element type="customdata" name="appdata" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element type="augmentationlist" name="includes" minOccurs="0" maxOccurs="1"/>
    <xs:element type="equipmentlist" name="contains" minOccurs="0" maxOccurs="1"/>
  </xs:sequence>
</xs:complexType>