8a994954e522aef2e6332ae501e9cb50ce6eaf1f
[shipsimu.git] / application / ship-simu / templates / de / game / research / base_research.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 This is a general research proposal template. A research is the theoretical
4 requirement to gain a specific technology or to be able to construct special
5 buildings, ships et cetera. A research may not be gainable but conductable e.g.
6 in a research lab.
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 <research-proposal>
28         <!-- General data of this research like id, summar or description. //-->
29         <research-data>
30                 <id>{?id?}</id>
31                 <name>{?name?}</name>
32                 <type>{?type?}</type>
33                 <max-level>{?max_level?}</max-level>
34                 <!-- All researches end up with results which can be improvements to
35                      to existing technology or how research is conducted. Some research
36                      may have multiple results and they all might not be good. //-->
37                 <research-result-list>
38                         <!-- A single research result. //-->
39                         <research-result>
40                                 <!-- A list of modified technology when this research is completed. //-->
41                                 <modify-technology-list>
42                                         <!-- A single technology modification. //-->
43                                         <modify-technology id="{?modify_technology_id?}" amount="{?modify_technology_amount?}" />
44                                 </modify-technology-list>
45                         </research-result>
46                 </research-result-list>
47                 <!-- A summary for this research proposal. //-->
48                 <summary>
49                         <![CDATA[{?summary?}]]>
50                 </summary>
51                 <!-- A full description for this research proposal. //-->
52                 <description>
53                         <![CDATA[{?description?}]]>
54                 </description>
55         </research-data>
56         <!-- This is somewhat a "research history". //-->
57         <research-level-list>
58                 <!-- A research level X has its own summary and a full description.
59                      It also can have dependencies which makes it possible to add different
60                      dependencies for higher research levels. //-->
61                 <research-level>
62                         <level>{?level?}</level>
63                         <!-- When the research of this level has been started ... //-->
64                         <research-started timestamp="{?started?}" />
65                         <!-- ... and when it has ended so when the research results are
66                              available. //-->
67                         <research-finished timestamp="{?finished?}" />
68                         <!-- A summary for this research level. //-->
69                         <level-summary>
70                                 <![CDATA[{?level_summary?}]]>
71                         </level-summary>
72                         <!-- A full description for this research level. //-->
73                         <level-description>
74                                 <![CDATA[{?level_description?}]]>
75                         </level-description>
76                         <!-- A research level may depend on none, some or all of these
77                              'dependency types'. We are doing this this way to keep this XML
78                              simple but still flexible enougth to fit all proposal needs. //-->
79                         <technology-dependency-list>
80                                 <technology-dependency>
81                                         <id>{?technology_id?</id>
82                                         <name>{?technology_name?</name>
83                                         <level>{?technology_level?}</level>
84                                 </technology-dependency>
85                         </technology-dependency-list>
86                         <research-dependency-list>
87                                 <research-dependency>
88                                         <id>{?research_id?}</id>
89                                         <name>{?research_id?}</name>
90                                         <level>{?research_level?}</level>
91                                 </research-dependency>
92                         </research-dependency-list>
93                         <building-dependency-list>
94                                 <building-dependency>
95                                         <id>{?building_id?}</id>
96                                         <name>{?building_name?}</name>
97                                         <level>{?building_level?}</level>
98                                 </building-dependency>
99                         </building-dependency-list>
100                 </research-level>
101         </research-level-list>
102 </research-proposal>