<!-- General data about this merchant like id, type, summary or description. //-->
<general-data>
<id>{?id?}</id>
- <name>{?name?}</name>
<type>{?type?</type>
<!-- A summary what this merchant is trading. //-->
- <summary>
+ <merchant-summary>
<![CDATA[{?summary?}]]>
- </summary>
+ </merchant-summary>
<!-- A full description about this merchant. //-->
- <description>
+ <merchant-description>
<![CDATA[{?description?}]]>
- </description>
+ </merchant-description>
</general-data>
- <!-- The owner of this merchant. If left out the AI of the game will play
- this merchant. //-->
- <owner>
- <company id="{?owner_id?}" />
- </owner>
- <!-- A detailed trading list of goods this merchant is trading. Amount, when
+ <!-- A detailed trading list of resources for this merchant. Amount, when
the first item was added or the last one was removed are being stored
- with every goods. //-->
- <goods-list>
- <!-- A single goods this merchant is trading. //-->
- <goods>
- <id>{?goods_id?}</id>
- <name>{?goods_name?}</name>
- <type>{?goods_type?}</type>
- <amount>{?goods_amount?}</amount>
- <first-added>{?goods_added?}</first-added>
- <last-removed>{?goods_remoed?}</last-removed>
- </goods>
- </goods-list>
+ with every resource. //-->
+ <resource-list>
+ <!-- A single resource this merchant is trading. //-->
+ <resource
+ <id>{?resource_id?}</id>
+ <amount>{?resource_amount?}</amount>
+ <first-added>{?resource_added?}</first-added>
+ <last-removed>{?resource_remoed?}</last-removed>
+ </resource>
+ </resource-list>
</merchant>