Added to generic directory
[shipsimu.git] / application / ship-simu / templates / game / mineral / base_mineral.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 A general mineral template. Some mineral requires technology in a specific
4 level to get mined by the user. For example crystals needs drilling machines
5 and undergroup drilling vehicles. These are all represented as 'technologies' so
6 a mineral may have dependencies on technologies. :-)
7
8 @author         Roland Haeder <webmaster@ship-simu.org>
9 @version        0.0.0
10 @copyright      Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
11 @license        GNU GPL 3.0 or any newer version
12 @link           http://www.ship-simu.org
13
14 This program is free software: you can redistribute it and/or modify
15 it under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 This program is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 GNU General Public License for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with this program. If not, see <http://www.gnu.org/licenses/>
26 //-->
27 <mineral>
28         <!-- General data for this mineral like id, type, summary or description. //-->
29         <general-data>
30                 <id>{?id?}</id>
31                 <type>{?type?}</type>
32                 <!-- A summary for this mineral. //-->
33                 <mineral-summary>
34                         <![CDATA[{?summary?}]]>
35                 </mineral-summary>
36                 <!-- A full description for this mineral. //-->
37                 <mineral-description>
38                         <![CDATA[{?description?}]]>
39                 </mineral-description>
40         </general-data>
41         <!-- To mine some minerals some knowledge in one or two technologies is
42              required. Here you can list each technology with its required level. //-->
43         <technology-dependency-list>
44                 <!-- A single technology required to mine this mineral. //-->
45                 <technology-dependency id="{?technology_id?}" level="{?technology_level?}" />
46         </technology-dependency-list>
47 </mineral>