]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/game/farmer/base_farmer.xml
Added to generic directory
[shipsimu.git] / application / ship-simu / templates / game / farmer / base_farmer.xml
diff --git a/application/ship-simu/templates/game/farmer/base_farmer.xml b/application/ship-simu/templates/game/farmer/base_farmer.xml
new file mode 100644 (file)
index 0000000..36f785b
--- /dev/null
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general farmer template
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+@todo          Unfinished template
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<farmer>
+       <!-- General data about this farmer, like name (not the player's nickname)
+            type, birthday. //-->
+       <general-data>
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?}</type>
+               <!-- The productivity may depend on the age of the farmer. //-->
+               <birthday>
+                       <month>{?month?}</month>
+                       <day>{?day?}</day>
+                       <year>{?year?}</year>
+               </birthday>
+               <!-- Productivity, experience and others. //-->
+               <productivity>{?productivity?}</productivity>
+               <experience>{?experience?}</experience>
+       </general-data>
+       <!-- List of all products this farmer is producing. //-->
+       <produce-list>
+               <!-- A single produce this farmer is producing. //-->
+               <produce>
+                       <id>{?produce_id?}</id>
+                       <name>{?produce_name?}</name>
+                       <type>{?produce_type?}</type>
+                       <!-- A list of technology dependency required to create this
+                            produce. //-->
+                       <technology-dependency-list>
+                               <!-- A single technology dependency. //-->
+                               <technology-dependency>
+                                       <id>{?technology_id?}</id>
+                                       <name>{?technology_name?}</name>
+                                       <level>{?technology_level?}</level>
+                               </technology-dependency>
+                       </technology-dependency-list>
+               </produce>
+       </produce-list>
+</farmer>