]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/de/game/merchant/base_merchant.xml
Added to generic directory
[shipsimu.git] / application / ship-simu / templates / de / game / merchant / base_merchant.xml
index 741afa99f9f4a4db1b03dbf38668a562bf7a9c36..dbbf124127844ad3ef49db4125a6c1ba5761aa94 100644 (file)
@@ -22,19 +22,37 @@ 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?}">
-               <merchant-summary>
+       <!-- 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>
                        <![CDATA[{?summary?}]]>
-               </merchant-summary>
-               <merchant-description>
+               </summary>
+               <!-- A full description about this merchant. //-->
+               <description>
                        <![CDATA[{?description?}]]>
-               </merchant-description>
+               </description>
        </general-data>
-       <resource-list>
-               <resource id="{?resource_id?}">
-                       <amount>{?resource_amount?}</amount>
-                       <first-added>{?resource_added?}</first-added>
-                       <last-removed>{?resource_remoed?}</last-removed>
-               </resource>
-       </resource-list>
+       <!-- 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
+            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>
 </merchant>