Renamed 'ship-simu' to 'shipsimu' + added 'core' and symlink to core/inc
[shipsimu.git] / application / shipsimu / templates / game / engine / base_engine.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 A general engine 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 <engine>
25         <!-- General data about this engine. //-->
26         <engine-data>
27                 <id>{?id?}</id>
28                 <name>{?name?}</name>
29                 <type>{?type?}</type>
30                 <horse-power>{?horse_power?}</horse-power>
31         </engine-data>
32         <!-- Type of fuel we need. May be left out if this "engine" is e.g. a sail. //-->
33         <fuel>
34                 <fuel-id>{?fuel_id?}</fuel-id>
35                 <fuel-name>{?fuel_name?}</fuel-name>
36                 <fuel-type>{?fuel_type?}</fuel-type>
37         </fuel>
38         <!-- Simplified dimensions of this engine. Can be left out for sails. //-->
39         <dimensions>
40                 <width>{?width?}</width>
41                 <height>{?height?}</height>
42                 <length>{?length?}</length>
43         </dimensions>
44         <!-- Some engine require knowledge in specific technologies. //-->
45         <depenndencies>
46                 <!-- A list of required technology to build this engine. A better level
47                      may increase the horse power of this engine. Some ships require
48                      higher horse power or else it won't move. //-->
49                 <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
50                         <!-- A single technology dependency. //-->
51                         <technology-dependency>
52                                 <technology-id>{[?technology_id?}</technology-id>
53                                 <technology-name>{[?technology_name?}</technology-name>
54                                 <technology-level>{[?technology_level?}</technology-level>
55                         </technology-dependency>
56                 </technology-dependency-list>
57         </depenndencies>
58 </engine>