root/geardeflist/vehicledef/fuelsource
Back
Namespace:
Filename:
Content: type (Type: fueltype) , capacity (Type: byte) , units (Type: string) , economy (Type: float)
Description: The fuelsource tag defines a single fuel source
inside a specific vehicle.
type defines the type of fuel being used.capacity defines the amount of fuel/power stored in the source.units defines an optional descriptor for items that are sold in specific
sets, increments or measures (e.g. "liter", "PF", etc.).economy defines number of kilometers per unit of fuel this vehicle
that owns this fuel source acheives.Code Fragment
<xs:elementtype name="fuelsource">
<xs:model>
<xs:sequence>
<xs:element type="fueltype" name="type"/>
<xs:element type="xs:byte" name="capacity"/>
<xs:element type="xs:string" name="units"/>
<xs:element type="xs:float" name="economy"/>
</xs:sequence>
</xs:model>
</xs:elementtype>