Renamed 'ship-simu' to 'shipsimu' + added 'core' and symlink to core/inc
[shipsimu.git] / application / shipsimu / templates / game / container / base_container.xml
diff --git a/application/shipsimu/templates/game/container/base_container.xml b/application/shipsimu/templates/game/container/base_container.xml
new file mode 100644 (file)
index 0000000..be79f56
--- /dev/null
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general container template.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<container>
+       <!-- Some general data about this container. //-->
+       <container-data>
+               <!-- Id and type of this container. //-->
+               <id>{?id?}</id>
+               <!-- Uni* name, mostly adapted from template name, for this container. //-->
+               <name>{?name?}</name>
+               <!-- Look at container_types.xml for details. //-->
+               <type>{?type?}</type>
+               <!-- Dimension of the container. //-->
+               <dimensions>
+                       <width>{?width?}</width>
+                       <length>{?length?}</length>
+                       <height>{?height?}</height>
+               </dimensions>
+       </container-data>
+       <!-- The owner of the container, this should be a company, //-->
+       <owner>
+               <company id="{?owner_id?}" />
+       </owner>
+       <!-- The sender of the container, this should be a company and must not be
+            the owner. //-->
+       <sender>
+               <company id="{?sender_id?}" />
+       </sender>
+       <!-- The recipient of the container, this should be a company and can be the
+            owner. //-->
+       <recipient>
+               <company id="{?recipient_id?}" />
+       </recipient>
+       <!-- The transported content inside of the container. This can be more than one item. //-->
+       <content-list content-count="{?content_count?}">
+               <!-- A single content of the container which should be transportated. //-->
+               <content>
+                       <content-id>{?content_id?}</content-id>
+                       <content-type>{?content_type?}</content-type>
+                       <content-amount>{?content_amount?}</content-amount>
+               </content>
+       </content-list>
+       <!-- A system, freezer or colder or something else, which maintains a
+            constant temperature. This is useful for biological content like
+            fruits. But it is optional. You can currently specify multiple systems,
+            e.g. ventilation and maybe cooling aggregate or so. //-->
+       <maintenance-system-list maintenance-system-count="{?maintenance_system_count?}">
+               <!-- A single maintenance system. //-->
+               <maintenance-system>
+                       <maintenance-id>{?maintenance_id?}</maintenance-id>
+                       <maintenance-name>{?maintenance_name?}</maintenance-name>
+                       <maintenance-type>{?maintenance_type?}</maintenance-type>
+               </maintenance-system>
+       </maintenance-system-list>
+</container>