Renamed 'ship-simu' to 'shipsimu' + added 'core' and symlink to core/inc
[shipsimu.git] / application / shipsimu / templates / game / electronic / base_electronic.xml
diff --git a/application/shipsimu/templates/game/electronic/base_electronic.xml b/application/shipsimu/templates/game/electronic/base_electronic.xml
new file mode 100644 (file)
index 0000000..06945a5
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general electronic template. These electronics can be transported by different
+types of transportation companies. Is can be anything from cellphones over other
+communication electronics to commercial computers (default) or medical devices.
+
+For simplification we have only width, length, height and total weight. This is
+in reality mostly the case because the electronics will be placed into a small
+box for transportation.
+
+@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
+
+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/>
+//-->
+<electronic>
+       <!-- General data of the electronics. //-->
+       <electronic-data>
+               <!-- Id and type for this electronic. //-->
+               <id>{?id?}</id>
+               <name>{?name?}</name>
+               <type>{?type?}</type>
+               <!-- Simplified dimensions of the electronics because it will be placed
+                    into a small box for transportation. //-->
+               <dimensions>
+                       <width>{?width?}</width>
+                       <height>{?height?}</height>
+                       <length>{?length?}</length>
+               </dimensions>
+       </electronic-data>
+       <!-- An electronical device may depend on one or more technologies, at least
+            'electronics'. //-->
+       <dependencies>
+               <!-- A list technology dependencies for this electronical device. //-->
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
+                       <!-- A single technollogical dependency. //-->
+                       <technology-dependency>
+                               <technology-id>{?technology_id?}</technology-id>
+                               <technology-name>{?technology_name?}</technology-name>
+                               <technology-level>{?technology_level?}</technology-level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- A list research dependencies for this electronical device. //-->
+               <research-dependency-list dependency-count="{?research_dependency_count?}">
+                       <!-- A single technollogical dependency. //-->
+                       <research-dependency>
+                               <research-id>{?research_id?}</research-id>
+                               <research-name>{?research_name?}</research-name>
+                               <research-level>{?research_level?}</research-level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</electronic>