<consumable>
<consumableVariation type="string"Description: Name of the consumable type
Type: String
Required: no
price="0"Description: Price per unit
Type: Float
Default: 0
Required: no
capacity="1"Description: Capacity of one unit from this type (to be shown in the UI)
Type: Float
Default: 1
Required: no
title="string"Description: Name of the consumable itself (to be shown in the UI)
Type: String or l10n key
Required: no
unitText="string"Description: Unit text for the UI
Type: String or l10n key
Required: no
name="string"Description: Name of the consumable itself (to be refered on vehicles)
Type: String
Required: no
>
<shaderParameter name="string"Description: Name of the shader parameter to so on the objects
Type: String
Required: no
value="x y z w"Description: Value
Type: Multiple values (x, y, z, w)
Required: no
materialSlotName="string"Description: Material slot name which should receive the shader parameter (if not set, it will be applied to all materials)
Type: String
Required: no
/>
<tensionBeltObject filename="string"Description: Path to i3d file which contains the object (tension belt mesh)
Type: String
Required: no
node="string"Description: Path to the object node inside of the i3d file (tension belt mesh)
Type: String
Required: no
/>
<consumingObject filename="string"Description: Path to i3d file which contains the object (in consuming state)
Type: String
Required: no
node="string"Description: Path to the object node inside of the i3d file (in consuming state)
Type: String
Required: no
/>
<object node="string"Description: Path to the object node inside of the i3d file
Type: String
Required: no
filename="string"Description: Path to i3d file which contains the object
Type: String
Required: no
/>
<metaData>
<value value="string"Description: Value
Type: String
Required: no
name="string"Description: Name of the value
Type: String
Required: no
/>
</metaData>
</consumableVariation>
<parentFile xmlFilename="string"Description: Parent xml filepath used as basis
Type: String
Required: no
>
<attributes>
<set path="string"Description: Path change in parent xml
Type: String
Required: no
value="string"Description: Target value to set in parent file
Type: String
Required: no
/>
<clearList path="string"Description: List to clear but keep one item
Type: String
Required: no
keepIndex="integer"Description: Index of list to keep
Type: Integer
Required: no
/>
<remove path="string"Description: Path to remove from parent xml
Type: String
Required: no
/>
</attributes>
</parentFile>
</consumable>