]> git.mxchange.org Git - shipsimu.git/commitdiff
Attributes converted, more technology/research added:
authorRoland Häder <roland@mxchange.org>
Wed, 23 Sep 2009 23:23:47 +0000 (23:23 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 23 Sep 2009 23:23:47 +0000 (23:23 +0000)
- A lot XMLs rewritten from attributes to nodes
- Technologies added: plastics, laborary equipment, statics, drawings, glass
  making, many are not finished or maybe should be converted to research?
- Chemicals prepared (used e.g. for plastics)

19 files changed:
.gitattributes
application/ship-simu/templates/de/game/!MISSING
application/ship-simu/templates/de/game/building/base_building.xml
application/ship-simu/templates/de/game/building/research_lab.xml
application/ship-simu/templates/de/game/chemicals/.htaccess [new file with mode: 0644]
application/ship-simu/templates/de/game/container/base_container.xml
application/ship-simu/templates/de/game/mineral/base_mineral.xml
application/ship-simu/templates/de/game/research/base_research.xml
application/ship-simu/templates/de/game/research/mathematics.xml [new file with mode: 0644]
application/ship-simu/templates/de/game/resource/base_resource.xml
application/ship-simu/templates/de/game/technology/architecture.xml
application/ship-simu/templates/de/game/technology/base_technology.xml
application/ship-simu/templates/de/game/technology/drawings.xml [new file with mode: 0644]
application/ship-simu/templates/de/game/technology/glass_making.xml [new file with mode: 0644]
application/ship-simu/templates/de/game/technology/laboratory_equipment.xml [new file with mode: 0644]
application/ship-simu/templates/de/game/technology/plastics.xml [new file with mode: 0644]
application/ship-simu/templates/de/game/technology/statics.xml [new file with mode: 0644]
application/ship-simu/templates/de/game/types/research_types.xml [new file with mode: 0644]
application/ship-simu/templates/de/game/types/technology_types.xml

index ec0ee660cfffab6a700da573325731cdd84f40b3..ac0557850e30dcf7414a9af6389d34b5b299c72b 100644 (file)
@@ -278,6 +278,7 @@ application/ship-simu/templates/de/game/.htaccess -text
 application/ship-simu/templates/de/game/building/.htaccess -text
 application/ship-simu/templates/de/game/building/base_building.xml -text
 application/ship-simu/templates/de/game/building/research_lab.xml -text
+application/ship-simu/templates/de/game/chemicals/.htaccess -text
 application/ship-simu/templates/de/game/company/.htaccess -text
 application/ship-simu/templates/de/game/container/.htaccess -text
 application/ship-simu/templates/de/game/container/base_container.xml -text
@@ -291,6 +292,7 @@ application/ship-simu/templates/de/game/mineral/.htaccess -text
 application/ship-simu/templates/de/game/mineral/base_mineral.xml -text
 application/ship-simu/templates/de/game/research/.htaccess -text
 application/ship-simu/templates/de/game/research/base_research.xml -text
+application/ship-simu/templates/de/game/research/mathematics.xml -text
 application/ship-simu/templates/de/game/resource/.htaccess -text
 application/ship-simu/templates/de/game/resource/base_resource.xml -text
 application/ship-simu/templates/de/game/ship/.htaccess -text
@@ -298,6 +300,11 @@ application/ship-simu/templates/de/game/ship/base_ship.xml -text
 application/ship-simu/templates/de/game/technology/.htaccess -text
 application/ship-simu/templates/de/game/technology/architecture.xml -text
 application/ship-simu/templates/de/game/technology/base_technology.xml -text
+application/ship-simu/templates/de/game/technology/drawings.xml -text
+application/ship-simu/templates/de/game/technology/glass_making.xml -text
+application/ship-simu/templates/de/game/technology/laboratory_equipment.xml -text
+application/ship-simu/templates/de/game/technology/plastics.xml -text
+application/ship-simu/templates/de/game/technology/statics.xml -text
 application/ship-simu/templates/de/game/types/.htaccess -text
 application/ship-simu/templates/de/game/types/building_types.xml -text
 application/ship-simu/templates/de/game/types/container_types.xml -text
@@ -306,6 +313,7 @@ application/ship-simu/templates/de/game/types/contract_types.xml -text
 application/ship-simu/templates/de/game/types/electronic_types.xml -text
 application/ship-simu/templates/de/game/types/merchant_types.xml -text
 application/ship-simu/templates/de/game/types/owner_occupants.xml -text
+application/ship-simu/templates/de/game/types/research_types.xml -text
 application/ship-simu/templates/de/game/types/ship_types.xml -text
 application/ship-simu/templates/de/game/types/signer_types.xml -text
 application/ship-simu/templates/de/game/types/technology_types.xml -text
index 888fc4170692a70593e058e789f702e0ad996ae9..57cf1de734973d41e8a61f05e4f1f2693aadc6e7 100644 (file)
@@ -1,2 +1,2 @@
-<construction-company extends="{?construction_template?}">
-<construction-contract extends="{?contract_template?}">
+<construction-company extends="{?construction_template?}" />
+<construction-contract extends="{?contract_template?}" />
index ce4331c7ac7a48edde98cc9a27e7bcf81c7bc7fd..7a8fb0d1a854d82a73e16f824eff8e7231621434 100644 (file)
@@ -147,7 +147,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- We also have technology denpencies for a building. These must be
             understand by construction companies who made contracts with the
             shipping company to construct this building. //-->
-       <depencies>
+       <dependencies>
                <!-- A list of required technology to construct this building. //-->
                <technology-dependency-list>
                        <!-- A single required technology to construct this building. //-->
@@ -157,5 +157,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <level>{?technology_level?}</level>
                        </technology-dependency>
                </technology-dependency-list>
-       </depencies>
+       </dependencies>
 </building>
index 1aee0d3c7f5dd46ae9140e01636ad616eae43c4d..e54b77c3299b618edb0e5e62678eba34a125f504 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!--
-A general research lab for conducting simple experiments.
+A general research laboratory for conducting simple experiments.
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
@@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- We also have technology denpencies for a building. These must be
             understand by construction companies who made contracts with the
             shipping company to construct this building. //-->
-       <depencies>
+       <dependencies>
                <!-- A list of required technology to construct this building. //-->
                <technology-dependency-list>
                        <!-- Arcgictecture is required. //-->
@@ -43,9 +43,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                        <!-- Labory equipment is required. //-->
                        <technology-dependency>
-                               <type>labory_equpment</type>
+                               <type>laboratory_equipment</type>
                                <level>1</level>
                        </technology-dependency>
                </technology-dependency-list>
-       </depencies>
+       </dependencies>
 </building>
diff --git a/application/ship-simu/templates/de/game/chemicals/.htaccess b/application/ship-simu/templates/de/game/chemicals/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
index c91f20a004289c92c53629fa41969d9a8c729243..fc9c7f47a04da832c7fcf27a66964834f0bef383 100644 (file)
@@ -22,10 +22,12 @@ You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <container>
-       <!-- Som general data about this container. //-->
+       <!-- Some general data about this container. //-->
        <general-data>
                <!-- Id and type of this container. //-->
                <id>{?id?}</id>
+               <!-- Uni* name, mostly adapted from template name, for this container. //-->
+               <name>{?name?}</name>
                <!-- Look at container_types.xml for details. //-->
                <type>{?type?}</type>
                <!-- Dimension of the container. //-->
index 19e3464b45bfb9f1a721263500a3886fc1765516..e114e4bfa186e3d867e9034704f1f03f1dbdb44f 100644 (file)
@@ -3,7 +3,7 @@
 A general mineral template. Some mineral requires technology in a specific
 level to get mined by the user. For example crystals needs drilling machines
 and undergroup drilling vehicles. These are all represented as 'technologies' so
-a mineral may have depencies on technologies. :-)
+a mineral may have dependencies on technologies. :-)
 
 @author                Roland Haeder <webmaster@ship-simu.org>
 @version       0.0.0
index ee1ac56bfec2715136f0da5f9f95412d5ecb02c2..c067967104c022960201719b9be17253957f2777 100644 (file)
@@ -28,7 +28,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- General data of this research like id, summar or description. //-->
        <research-data>
                <id>{?id?}</id>
+               <name>{?name?}</name>
                <type>{?type?}</type>
+               <max-level>{?max_level?}</max-level>
                <!-- All researches end up with results which can be improvements to
                     to existing technology or how research is conducted. Some research
                     may have multiple results and they all might not be good. //-->
@@ -54,8 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- This is somewhat a "research history". //-->
        <research-level-list>
                <!-- A research level X has its own summary and a full description.
-                    It also can have depencies which makes it possible to add different
-                    depencies for higher research levels. //-->
+                    It also can have dependencies which makes it possible to add different
+                    dependencies for higher research levels. //-->
                <research-level>
                        <level>{?level?}</level>
                        <!-- When the research of this level has been started ... //-->
diff --git a/application/ship-simu/templates/de/game/research/mathematics.xml b/application/ship-simu/templates/de/game/research/mathematics.xml
new file mode 100644 (file)
index 0000000..843c44e
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Mathematics research purpose
+
+@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/>
+//-->
+<research-proposal>
+       <!-- General data of this research like id, summar or description. //-->
+       <research-data>
+               <name>mathematics</name>
+               <type>base</type>
+               <max-level>10</max-level>
+       </research-data>
+</research-proposal>
index 3f8779568ed8d50873300820f7b7a2be43eb0a43..2b5ba5d1fad36234b8c9e879750d9019cda9dc7b 100644 (file)
@@ -27,6 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- General data for this resource like id, type, summary or description. //-->
        <general-data>
                <id>{?id?}</id>
+               <name>{?name?}</name>
                <type>{?type?}</type>
                <!-- A summary for this resource. //-->
                <resource-summary>
@@ -41,6 +42,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             required. Here you can list each technology with its required level. //-->
        <technology-dependency-list>
                <!-- A single technology dependency to harvest this resource. //-->
-               <technology-dependency id="{?technology_id?}" level="{?technology_level?}" />
+               <technology-dependency>
+                       <id>{?technology_id?}</id>
+                       <name>{?technology_name?}</name>
+                       <level>{?technology_level?}</level>
+               </technology-dependency>
        </technology-dependency-list>
 </resource>
index 9d4dfe663949ab3447c7d9c5e9b7080657e02dd0..2c075fd84d551fb603aded92f4493ef837fe4a94 100644 (file)
@@ -25,26 +25,28 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- General technology data like type, level, summary or description. //-->
        <general-data>
                <name>architecture</name>
-               <type>building</type>
+               <type>construction</type>
        </general-data>
        <!-- A technology may depend on some other technologies or research
             proposals. //-->
-       <depencies>
-               <!-- All technology depencies for this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
                <technology-dependency-list>
-                       <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <name>{?technology_name?}</name>
-                               <level>{?technology_level?}</level>
+                               <name>statics</name>
+                               <level>3</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>drawings</name>
+                               <level>5</level>
                        </technology-dependency>
                </technology-dependency-list>
-               <!-- All research depencies for this technology. //-->
+               <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
-                       <!-- A research dependency for this technology. //-->
                        <research-dependency>
-                               <name>{?research_name?}</name>
-                               <level>{?research_level?}</level>
+                               <name>mathematics</name>
+                               <level>6</level>
                        </research-dependency>
                </research-dependency-list>
-       </depencies>
+       </dependencies>
 </technology>
index a93ff5cb739cedb163cfdd558fa184d9d65c2140..6e2ae92d10f407e78b7d992215c36fe0d45d9e77 100644 (file)
@@ -42,7 +42,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <technology-level-list>
                <!-- A single technology level with its basic data, own summary and
                     description. //-->
-               <technology-level level="{?list_level?}" gained="{?level_gained?}">
+               <technology-level>
+                       <level>{?list_level?}</level>
+                       <gained>{?level_gained?}</gained>
                        <!-- A summary of this technology level. //-->
                        <technology-level-summary>
                                <![CDATA[{?level_summary?}]]>
@@ -51,12 +53,34 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <technology-level-description>
                                <![CDATA[{?level_description?}]]>
                        </technology-level-description>
+                       <!-- A specific technology level may depend on some further technologies or research
+                            proposals. //-->
+                       <level-dependencies>
+                               <!-- All technology dependencies for this technology. //-->
+                               <technology-level-dependency-list>
+                                       <!-- A technology dependency for this technology. //-->
+                                       <technology-level-dependency>
+                                               <id>{?technology_level_id?}</id>
+                                               <name>{?technology_level_name?}</name>
+                                               <level>{?technology_level_level?}</level>
+                                       </technology-level-dependency>
+                               </technology-level-dependency-list>
+                               <!-- All research dependencies for this technology. //-->
+                               <research-level-dependency-list>
+                                       <!-- A research dependency for this technology. //-->
+                                       <research-level-dependency>
+                                               <id>{?research_level_id?}</id>
+                                               <name>{?research_level_name?}</name>
+                                               <level>{?research_level_level?}</level>
+                                       </research-level-dependency>
+                               </research-dependency-list>
+                       </level-dependencies>
                </technology-level>
        </technology-level-list>
        <!-- A technology may depend on some other technologies or research
-            proposals. //-->
-       <depencies>
-               <!-- All technology depencies for this technology. //-->
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
@@ -65,7 +89,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <level>{?technology_level?}</level>
                        </technology-dependency>
                </technology-dependency-list>
-               <!-- All research depencies for this technology. //-->
+               <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
@@ -74,5 +98,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <level>{?research_level?}</level>
                        </research-dependency>
                </research-dependency-list>
-       </depencies>
+       </dependencies>
 </technology>
diff --git a/application/ship-simu/templates/de/game/technology/drawings.xml b/application/ship-simu/templates/de/game/technology/drawings.xml
new file mode 100644 (file)
index 0000000..ef38631
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A drawings technology 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/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>drawings</name>
+               <type>base</type>
+       </general-data>
+</technology>
diff --git a/application/ship-simu/templates/de/game/technology/glass_making.xml b/application/ship-simu/templates/de/game/technology/glass_making.xml
new file mode 100644 (file)
index 0000000..85d63d5
--- /dev/null
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A glass-making technology 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/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>glass_making</name>
+               <type>production</type>
+       </general-data>
+       <!-- All levels of this technology are held in this tag. //-->
+       <technology-level-list>
+               <!-- A single technology level with its basic data, own summary and
+                    description. //-->
+               <technology-level>
+                       <level>{?list_level?}</level>
+                       <!-- A specific technology level may depend on some further technologies or research
+                            proposals. //-->
+                       <level-dependencies>
+                               <!-- All technology dependencies for this technology. //-->
+                               <technology-level-dependency-list>
+                                       <!-- A technology dependency for this technology. //-->
+                                       <technology-level-dependency>
+                                               <name>{?technology_level_name?}</name>
+                                               <level>{?technology_level_level?}</level>
+                                       </technology-level-dependency>
+                               </technology-level-dependency-list>
+                               <!-- All research dependencies for this technology. //-->
+                               <research-level-dependency-list>
+                                       <!-- A research dependency for this technology. //-->
+                                       <research-level-dependency>
+                                               <name>{?research_level_name?}</name>
+                                               <level>{?research_level_level?}</level>
+                                       </research-level-dependency>
+                               </research-dependency-list>
+                       </level-dependencies>
+               </technology-level>
+       </technology-level-list>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <!-- A technology dependency for this technology. //-->
+                       <technology-dependency>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/de/game/technology/laboratory_equipment.xml b/application/ship-simu/templates/de/game/technology/laboratory_equipment.xml
new file mode 100644 (file)
index 0000000..98c1fb4
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A laboratory-equipment technology 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/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>laboratory_equipment</name>
+               <type>equipment</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals. //-->
+       <dependencies>
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <name>plastics</name>
+                               <level>3</level>
+                       </technology-dependency>
+                       <technology-dependency>
+                               <name>glass_making</name>
+                               <level>5</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/de/game/technology/plastics.xml b/application/ship-simu/templates/de/game/technology/plastics.xml
new file mode 100644 (file)
index 0000000..5556915
--- /dev/null
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A plastics technology 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/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>plastics</name>
+               <type>production</type>
+       </general-data>
+       <!-- All levels of this technology are held in this tag. //-->
+       <technology-level-list>
+               <!-- A single technology level with its basic data, own summary and
+                    description. //-->
+               <technology-level>
+                       <level>{?list_level?}</level>
+                       <!-- A specific technology level may depend on some further technologies or research
+                            proposals. //-->
+                       <level-dependencies>
+                               <!-- All technology dependencies for this technology. //-->
+                               <technology-level-dependency-list>
+                                       <!-- A technology dependency for this technology. //-->
+                                       <technology-level-dependency>
+                                               <name>{?technology_level_name?}</name>
+                                               <level>{?technology_level_level?}</level>
+                                       </technology-level-dependency>
+                               </technology-level-dependency-list>
+                               <!-- All research dependencies for this technology. //-->
+                               <research-level-dependency-list>
+                                       <!-- A research dependency for this technology. //-->
+                                       <research-level-dependency>
+                                               <name>{?research_level_name?}</name>
+                                               <level>{?research_level_level?}</level>
+                                       </research-level-dependency>
+                               </research-dependency-list>
+                       </level-dependencies>
+               </technology-level>
+       </technology-level-list>
+       <!-- A technology may depend on some other technologies or research
+            proposals to gain the first level of this technology. //-->
+       <dependencies>
+               <!-- All technology dependencies for this technology. //-->
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <name>{?technology_name?}</name>
+                               <level>chemicals</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <!-- A research dependency for this technology. //-->
+                       <research-dependency>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/de/game/technology/statics.xml b/application/ship-simu/templates/de/game/technology/statics.xml
new file mode 100644 (file)
index 0000000..2a0148e
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A statics technology 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/>
+//-->
+<technology extends="base_technology">
+       <!-- General technology data like type, level, summary or description. //-->
+       <general-data>
+               <name>statics</name>
+               <type>construction</type>
+       </general-data>
+       <!-- A technology may depend on some other technologies or research
+            proposals. //-->
+       <dependencies>
+               <!-- All research dependencies for this technology. //-->
+               <research-dependency-list>
+                       <research-dependency>
+                               <name>mathematics</name>
+                               <level>4</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</technology>
diff --git a/application/ship-simu/templates/de/game/types/research_types.xml b/application/ship-simu/templates/de/game/types/research_types.xml
new file mode 100644 (file)
index 0000000..7f7c247
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid research proposal types
+
+@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/>
+//-->
+<technology-type-list>
+       <!-- A base research proposal which all others depend on. //-->
+       <technology-type type="base" />
+</technology-type-list>
index d07d2abb1c75b1210753bac78e27cc8cb0e69a15..68bf5f8d66a547578e490043b3888bb39a451251 100644 (file)
@@ -23,6 +23,16 @@ You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <technology-type-list>
-       <!-- Technology required for construction of buildings. ///-->
+       <!-- A base technology which all others depend on. //-->
+       <technology-type type="base" />
+       <!-- Technology required for construction of buildings. //-->
        <technology-type type="building" />
+       <!-- Technologies for different constructions. //-->
+       <technology-type type="construction" />
+       <!-- Different equipment technologies. //-->
+       <technology-type type="equipment" />
+       <!-- Different production technologies. //-->
+       <technology-type type="production" />
+       <!-- Different chemicals. //-->
+       <technology-type type="chemicals" />
 </technology-type-list>