Statics is no longer a technology, cellphone added, several fixes:
[shipsimu.git] / application / ship-simu / templates / de / game / merchant / base_merchant.xml
index 741afa99f9f4a4db1b03dbf38668a562bf7a9c36..d075c00bf8a2f9abf12324e3637f9a8dba6f34d7 100644 (file)
@@ -22,16 +22,26 @@ You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <merchant>
-       <general-data id="{?id?}" type="{?type?}">
+       <!-- General data about this merchant like id, type, summary or description. //-->
+       <general-data>
+               <id>{?id?}</id>
+               <type>{?type?</type>
+               <!-- A summary what this merchant is trading. //-->
                <merchant-summary>
                        <![CDATA[{?summary?}]]>
                </merchant-summary>
+               <!-- A full description about this merchant. //-->
                <merchant-description>
                        <![CDATA[{?description?}]]>
                </merchant-description>
        </general-data>
+       <!-- 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 resource. //-->
        <resource-list>
-               <resource id="{?resource_id?}">
+               <!-- 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>