Added a count attribute to all list XML nodes (unhandled at the moment)
[shipsimu.git] / application / ship-simu / templates / game / technology / household_devices.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 A generic household device 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 extends="base_technology">
25         <!-- General technology data like type, level, summary or description. //-->
26         <technology-data>
27                 <name>household_devices</name>
28                 <type>electronics</type>
29         </technology-data>
30         <!-- A technology may depend on some other technologies or research
31              proposals to gain the first level of this technology. //-->
32         <dependencies>
33                 <!-- All technology dependencies for this technology. //-->
34                 <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
35                         <technology-dependency>
36                                 <technology-name>plastics</technology-name>
37                                 <technology-type>chemicals</technology-type>
38                                 <technology-level>3</technology-level>
39                         </technology-dependency>
40                 </technology-dependency-list>
41                 <!-- All research proposal dependencies for this research. //-->
42                 <research-dependency-list research-dependency-count="{?research_dependency_count?}">
43                         <!-- @TODO Find a research type //-->
44                         <research-dependency>
45                                 <research-name>electronics</research-name>
46                                 <research-type>{?research_type?}</research-type>
47                                 <research-level>1</research-level>
48                         </research-dependency>
49                 </research-dependency-list>
50         </dependencies>
51 </technology>