More renamed
[shipsimu.git] / application / ship-simu / templates / game / technology / base_technology.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 A general technology 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 <technology>
25         <!-- General technology data like type, level, summary or description. //-->
26         <technology-data>
27                 <id>{?id?}</id>
28                 <name>{?name?}</name>
29                 <type>{?type?}</type>
30                 <!-- The date/time when this technology was gained, e.g. by research. //-->
31                 <technology-gained timestamp="{?gained?}" />
32                 <!-- A summary of this technology. //-->
33                 <technology-summary>
34                         <![CDATA[{?summary?}]]>
35                 </technology-summary>
36                 <!-- A full description of this technology. //-->
37                 <technology-description>
38                         <![CDATA[{?description?}]]>
39                 </technology-description>
40         </technology-data>
41         <!-- All levels of this technology are held in this tag. //-->
42         <technology-level-list>
43                 <!-- A single technology level with its basic data, own summary and
44                      description. //-->
45                 <technology-level>
46                         <level>{?list_level?}</level>
47                         <gained>{?level_gained?}</gained>
48                         <!-- A summary of this technology level. //-->
49                         <technology-level-summary>
50                                 <![CDATA[{?level_summary?}]]>
51                         </technology-level-summary>
52                         <!--  A full description of this technology level. //-->
53                         <technology-level-description>
54                                 <![CDATA[{?level_description?}]]>
55                         </technology-level-description>
56                         <!-- A specific technology level may depend on some further technologies or research
57                              proposals. //-->
58                         <level-dependencies>
59                                 <!-- All technology dependencies for this technology. //-->
60                                 <technology-level-dependency-list>
61                                         <!-- A technology dependency for this technology. //-->
62                                         <technology-level-dependency>
63                                                 <technology-level-id>{?technology_level_id?}</technology-level-id>
64                                                 <technology-level-name>{?technology_level_name?}</technology-level-name>
65                                                 <technology-level-level>{?technology_level_level?}</technology-level-level>
66                                         </technology-level-dependency>
67                                 </technology-level-dependency-list>
68                                 <!-- All research dependencies for this technology. //-->
69                                 <research-level-dependency-list>
70                                         <!-- A research dependency for this technology. //-->
71                                         <research-level-dependency>
72                                                 <research-level-id>{?research_level_id?}</research-level-id>
73                                                 <research-level-name>{?research_level_name?}</research-level-name>
74                                                 <research-level-level>{?research_level_level?}</research-level-level>
75                                         </research-level-dependency>
76                                 </research-dependency-list>
77                         </level-dependencies>
78                 </technology-level>
79         </technology-level-list>
80         <!-- A technology may depend on some other technologies or research
81              proposals to gain the first level of this technology. //-->
82         <dependencies>
83                 <!-- All technology dependencies for this technology. //-->
84                 <technology-dependency-list>
85                         <!-- A technology dependency for this technology. //-->
86                         <technology-dependency>
87                                 <technology-id>{?technology_id?}</technology-id>
88                                 <technology-name>{?technology_name?}</technology-name>
89                                 <technology-type>{?technology_type?}</technology-type>
90                                 <technology-level>{?technology_level?}</technology-level>
91                         </technology-dependency>
92                 </technology-dependency-list>
93                 <!-- All research dependencies for this technology. //-->
94                 <research-dependency-list>
95                         <!-- A research dependency for this technology. //-->
96                         <research-dependency>
97                                 <research-id>{?research_id?}</research-id>
98                                 <research-name>{?research_name?}</research-name>
99                                 <research-type>{?research_type?}</research-type>
100                                 <research-level>{?research_level?}</research-level>
101                         </research-dependency>
102                 </research-dependency-list>
103         </dependencies>
104 </technology>