c95f4a51754df4d56bfd656e04f5077ab2cf3604
[shipsimu.git] / application / ship-simu / templates / game / container / base_container.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 A general container template.
4
5 @author         Roland Haeder <webmaster@ship-simu.org>
6 @version        0.0.0
7 @copyright      Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
8 @license        GNU GPL 3.0 or any newer version
9 @link           http://www.ship-simu.org
10
11 This program is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program. If not, see <http://www.gnu.org/licenses/>
23 //-->
24 <container>
25         <!-- Some general data about this container. //-->
26         <container-data>
27                 <!-- Id and type of this container. //-->
28                 <id>{?id?}</id>
29                 <!-- Uni* name, mostly adapted from template name, for this container. //-->
30                 <name>{?name?}</name>
31                 <!-- Look at container_types.xml for details. //-->
32                 <type>{?type?}</type>
33                 <!-- Dimension of the container. //-->
34                 <dimensions>
35                         <width>{?width?}</width>
36                         <length>{?length?}</length>
37                         <height>{?height?}</height>
38                 </dimensions>
39         </container-data>
40         <!-- The owner of the container, this should be a company, //-->
41         <owner>
42                 <company id="{?owner_id?}" />
43         </owner>
44         <!-- The sender of the container, this should be a company and must not be
45              the owner. //-->
46         <sender>
47                 <company id="{?sender_id?}" />
48         </sender>
49         <!-- The recipient of the container, this should be a company and can be the
50              owner. //-->
51         <recipient>
52                 <company id="{?recipient_id?}" />
53         </recipient>
54         <!-- The transported content inside of the container. This can be more than one item. //-->
55         <content-list>
56                 <!-- A single content of the container which should be transportated. //-->
57                 <content>
58                         <content-id>{?content_id?}</content-id>
59                         <content-type>{?content_type?}</content-type>
60                         <content-amount>{?content_amount?}</content-amount>
61                 </content>
62         </content-list>
63         <!-- A system, freezer or colder or something else, which maintains a
64              constant temperature. This is useful for biological content like
65              fruits. But it is optional. You can currently specify multiple systems,
66              e.g. ventilation and maybe cooling aggregate or so. //-->
67         <maintenance-system-list>
68                 <!-- A single maintenance system. //-->
69                 <maintenance-system>
70                         <maintenance-id>{?maintenance_id?}</maintenance-id>
71                         <maintenance-name>{?maintenance_name?}</maintenance-name>
72                         <maintenance-type>{?maintenance_type?}</maintenance-type>
73                 </maintenance-system>
74         </maintenance-system-list>
75 </container>