Fixed product to produce in farmer, added a lot more XML templates:
[shipsimu.git] / application / ship-simu / templates / de / game / farmer / base_farmer.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 A general farmer 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 @todo           Unfinished template
11
12 This program is free software: you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation, either version 3 of the License, or
15 (at your option) any later version.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program. If not, see <http://www.gnu.org/licenses/>
24 //-->
25 <farmer>
26         <!-- General data about this farmer, like name (not the player's nickname)
27              type, birthday. //-->
28         <general-data>
29                 <id>{?id?}</id>
30                 <name>{?name?}</name>
31                 <type>{?type?}</type>
32                 <!-- The productivity may depend on the age of the farmer. //-->
33                 <birthday>
34                         <month>{?month?}</month>
35                         <day>{?day?}</day>
36                         <year>{?year?}</year>
37                 </birthyear>
38                 <!-- Productivity, experience and others. //-->
39                 <productivity>{?productivity?}</productivity>
40                 <experience>{?experience?}</experience>
41         </general-data>
42         <!-- List of all products this farmer is producing. //-->
43         <produce-list>
44                 <!-- A single produce this farmer is producing. //-->
45                 <produce>
46                         <id>{?produce_id?}</id>
47                         <name>{?produce_name?}</name>
48                         <type>{?produce_type?}</type>
49                         <!-- A list of technology dependency required to create this
50                              produce. //-->
51                         <technology-dependency-list>
52                                 <!-- A single technology dependency. //-->
53                                 <technology-dependency>
54                                         <id>{?technology_id?}</id>
55                                         <name>{?technology_name?}</name>
56                                         <level>{?technology_level?}</level>
57                                 </technology-dependency>
58                         </technology-dependency-list>
59                 </produce>
60         </produce-list>
61 </farmer>