]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/game/ship/base_ship.xml
Added to generic directory
[shipsimu.git] / application / ship-simu / templates / game / ship / base_ship.xml
diff --git a/application/ship-simu/templates/game/ship/base_ship.xml b/application/ship-simu/templates/game/ship/base_ship.xml
new file mode 100644 (file)
index 0000000..5160727
--- /dev/null
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general ship 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
+
+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/>
+//-->
+<ship>
+       <!-- Some general data about this ship. Some may not be required for the
+            simulation at the moment. //-->
+       <general-data>
+               <id>{?id?}</id>
+               <name><![CDATA[{?name?}]]></name>
+               <type>{?type?}</type>
+               <ship-propeller>{?propeller?}</ship-propeller>
+               <total-weight>{?weight?}</total-weight>
+               <total-displacement>{?displacement?}</total-displacement>
+               <!-- Some data about the construction phase, like company, contract. //-->
+               <construction>
+                       <!-- The construction company of this ship. //-->
+                       <construction-company>{?construction_id?}</construction-company>
+                       <!-- The signed construction contract for this ship. //-->
+                       <construction-contract>{?construction_contract_id?}</construction-contract>
+                       <!-- When the construction has started. //-->
+                       <construction-started>{?construction_started?}</construction-started>
+                       <!-- And when the ship was constructed. //-->
+                       <construction-finished>{?construction_finished?</construction-finished>
+               </construction>
+       </general-data>
+       <!-- A list of shipping companies who owned this ship. //-->
+       <shipping-company-list>
+               <!-- A single company who owned this ship for a tme span. //-->
+               <shipping-company>
+                       <id>{?company_id?}</id>
+                       <!-- A time span when the company owned this ship. //-->
+                       <holder-timespan>
+                               <started>{?holder_started?}</started>
+                               <ended>{?holder_ended?}</ended>
+                       </hoolder-timespan>
+                       <!-- A contract signed for changing ownership. //-->
+                       <contract id="{?contract_id?}" />
+               </shipping-company>
+       </shipping-company-list>
+       <!-- A list of structures to build this ship. If you need more than of a
+            structure type just specify the neccessary amount. //-->
+       <ship-structure-list>
+               <!-- A single ship structure. This can be anything from the wheel house
+                    to theatre or little ships, decks and cabins. //-->
+               <ship-structure extends="{?structure_template?}">
+                       <id>{?structure_id?}</id>
+                       <amount>{?structure_amount?}</amount>
+                       <type>{?structure_type?}</type>
+               </ship-structure>
+       </ship-structure-list>
+       <!-- All ships require an engine, even when or 'engine' is a sail, to move
+            around. //-->
+       <engine extends="{?engine_template?}">
+               <id>{?engine_id?{</id>
+               <type>{?engine_type?}</type>
+       </engine>
+       <!-- A list of what this ship transportates. //-->
+       <transportation-list>
+               <!-- @TODO This section is not complete. //-->
+       </transportation-list>
+       <!-- A ship may require one or more of these system to operate. //-->
+       <ship-systems>
+               <!-- The electric system of latest ships has becom the most important
+                    on a ship. It powers all other systems and provides electrical
+                    power to all kind of commercials and cabins including interior and
+                    exterior lights. So you should be adviced to provide emergency
+                    systems and redudancy for this system. //-->
+               <electric-system>
+                       <!-- @TODO This section is not complete. //-->
+               </electric-system>
+               <!-- On latest ships you require to have a hydric system to operate
+                    heavy bulkheads which seperates sections on low-level decks. On
+                    passenger ships the hydraulic system have to operate front and/or
+                    rear doors to let drive vehicles in. //-->
+               <hydraulic-system>
+                       <!-- @TODO This section is not complete. //-->
+               </hydraulic-system>
+               <!-- Nearly all ships will have a navigation system. //-->
+               <navigation-system>
+                       <!-- @TODO This section is not complete. //-->
+               </navigation-system>
+               <!-- A guidance system which every ship should have... //-->
+               <guidance-system>
+                       <!-- @TODO This section is not complete. //-->
+               </guidance-system>
+               <!-- A fire reporting and fighting system. //-->
+               <fire-system>
+                       <!-- @TODO This section is not complete. //-->
+               </fire-system>
+       </ship-systems>
+       <!-- Ships depend on several technologies and maybe research proposals. //-->
+       <dependencies>
+               <!-- A list of technology dependencies for this ship. //-->
+               <technology-dependency-list>
+                       <!-- A single technology dependencies for this ship. //-->
+                       <technology-dependency>
+                               <id>{?technology_id?}</id>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- A list of research proposals dependencies for this ship. //-->
+               <research-dependency-list>
+                       <!-- A single research proposals  dependencies for this ship. //-->
+                       <research-dependency>
+                               <id>{?research_id?}</id>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</ship>