]> git.mxchange.org Git - shipsimu.git/commitdiff
Statics is no longer a technology, cellphone added, several fixes:
authorRoland Häder <roland@mxchange.org>
Fri, 25 Sep 2009 21:06:32 +0000 (21:06 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 25 Sep 2009 21:06:32 +0000 (21:06 +0000)
- Statics is now a research proposal and therefore no longer a technology
- Several rewrites of templates from attributed to nodes (next rewrite-wave)
- New electronics 'cellphone' added
- New technology 'cellular network' added
- Some fixes

18 files changed:
.gitattributes
application/ship-simu/templates/de/game/electronic/base_electronic.xml
application/ship-simu/templates/de/game/electronic/cellphone.xml [new file with mode: 0644]
application/ship-simu/templates/de/game/merchant/base_merchant.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/statics.xml [new file with mode: 0644]
application/ship-simu/templates/de/game/resource/base_resource.xml
application/ship-simu/templates/de/game/ship/base_ship.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/cellular_network.xml [new file with mode: 0644]
application/ship-simu/templates/de/game/technology/glass_making.xml
application/ship-simu/templates/de/game/technology/naval_architecture.xml
application/ship-simu/templates/de/game/technology/plastics.xml
application/ship-simu/templates/de/game/technology/statics.xml [deleted file]
application/ship-simu/templates/de/game/types/electronic_types.xml
application/ship-simu/templates/de/game/types/technology_types.xml

index 3beebd7b0253041edcb52a00ffab79d4a37ab748..a94be23f18e1f9f8389726642fcb84bd925f7547 100644 (file)
@@ -286,6 +286,7 @@ application/ship-simu/templates/de/game/contract/.htaccess -text
 application/ship-simu/templates/de/game/contract/base_contract.xml -text
 application/ship-simu/templates/de/game/electronic/.htaccess -text
 application/ship-simu/templates/de/game/electronic/base_electronic.xml -text
 application/ship-simu/templates/de/game/contract/base_contract.xml -text
 application/ship-simu/templates/de/game/electronic/.htaccess -text
 application/ship-simu/templates/de/game/electronic/base_electronic.xml -text
+application/ship-simu/templates/de/game/electronic/cellphone.xml -text
 application/ship-simu/templates/de/game/engine/.htaccess -text
 application/ship-simu/templates/de/game/engine/base_engine.xml -text
 application/ship-simu/templates/de/game/merchant/.htaccess -text
 application/ship-simu/templates/de/game/engine/.htaccess -text
 application/ship-simu/templates/de/game/engine/base_engine.xml -text
 application/ship-simu/templates/de/game/merchant/.htaccess -text
@@ -295,6 +296,7 @@ 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/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/research/statics.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
 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
@@ -302,12 +304,12 @@ 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/.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/cellular_network.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/naval_architecture.xml -text
 application/ship-simu/templates/de/game/technology/plastics.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/naval_architecture.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
 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
index 1a45f15c851574f6b8f66d89e7541f68b2e5fd9f..932eca9499821fc21ac1c5173ac8fee87b2b55a6 100644 (file)
@@ -51,16 +51,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <technology-dependency>
                                <id>{?technology_id?}</id>
                                <name>{?technology_name?}</name>
                        <technology-dependency>
                                <id>{?technology_id?}</id>
                                <name>{?technology_name?}</name>
-                               <type>{?technology_type?}</type>
+                               <level>{?technology_level?}</level>
                        </technology-dependency>
                </technology-dependency-list>
                        </technology-dependency>
                </technology-dependency-list>
-               <!-- A list research proposal dependencies for this electronical device. //-->
+               <!-- A list research dependencies for this electronical device. //-->
                <research-dependency-list>
                        <!-- A single technollogical dependency. //-->
                        <research-dependency>
                                <id>{?research_id?}</id>
                                <name>{?research_name?}</name>
                <research-dependency-list>
                        <!-- A single technollogical dependency. //-->
                        <research-dependency>
                                <id>{?research_id?}</id>
                                <name>{?research_name?}</name>
-                               <type>{?research_type?}</type>
+                               <level>{?research_level?}</level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
diff --git a/application/ship-simu/templates/de/game/electronic/cellphone.xml b/application/ship-simu/templates/de/game/electronic/cellphone.xml
new file mode 100644 (file)
index 0000000..0dcbe98
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A common cellular phone.
+
+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 extends="base_electronic}">
+       <!-- General data of the electronics. //-->
+       <general-data>
+               <!-- Id and type for this electronic. //-->
+               <name>cellphone</name>
+               <type>communication</type>
+               <!-- Simplified dimension of the electronics because it will be placed
+                    into a small box for transportation. //-->
+               <dimension>
+                       <width>30</width>
+                       <height>35</height>
+                       <length>30</length>
+               </dimension>
+       </general-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>
+                       <technology-dependency>
+                               <name>cellular_network</name>
+                               <level>1</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <!-- A list research dependencies for this electronical device. //-->
+               <research-dependency-list>
+                       <!-- A single technollogical dependency. //-->
+                       <research-dependency>
+                               <id>{?research_id?}</id>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+       </dependencies>
+</electronic>
index dbbf124127844ad3ef49db4125a6c1ba5761aa94..d075c00bf8a2f9abf12324e3637f9a8dba6f34d7 100644 (file)
@@ -25,34 +25,26 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- General data about this merchant like id, type, summary or description. //-->
        <general-data>
                <id>{?id?}</id>
        <!-- General data about this merchant like id, type, summary or description. //-->
        <general-data>
                <id>{?id?}</id>
-               <name>{?name?}</name>
                <type>{?type?</type>
                <!-- A summary what this merchant is trading. //-->
                <type>{?type?</type>
                <!-- A summary what this merchant is trading. //-->
-               <summary>
+               <merchant-summary>
                        <![CDATA[{?summary?}]]>
                        <![CDATA[{?summary?}]]>
-               </summary>
+               </merchant-summary>
                <!-- A full description about this merchant. //-->
                <!-- A full description about this merchant. //-->
-               <description>
+               <merchant-description>
                        <![CDATA[{?description?}]]>
                        <![CDATA[{?description?}]]>
-               </description>
+               </merchant-description>
        </general-data>
        </general-data>
-       <!-- The owner of this merchant. If left out the AI of the game will play
-            this merchant. //-->
-       <owner>
-               <company id="{?owner_id?}" />
-       </owner>
-       <!-- A detailed trading list of goods this merchant is trading. Amount, when
+       <!-- A detailed trading list of resources for this merchant. Amount, when
             the first item was added or the last one was removed are being stored
             the first item was added or the last one was removed are being stored
-            with every goods. //-->
-       <goods-list>
-               <!-- A single goods this merchant is trading. //-->
-               <goods>
-                       <id>{?goods_id?}</id>
-                       <name>{?goods_name?}</name>
-                       <type>{?goods_type?}</type>
-                       <amount>{?goods_amount?}</amount>
-                       <first-added>{?goods_added?}</first-added>
-                       <last-removed>{?goods_remoed?}</last-removed>
-               </goods>
-       </goods-list>
+            with every resource. //-->
+       <resource-list>
+               <!-- A single resource this merchant is trading. //-->
+               <resource
+                       <id>{?resource_id?}</id>
+                       <amount>{?resource_amount?}</amount>
+                       <first-added>{?resource_added?}</first-added>
+                       <last-removed>{?resource_remoed?}</last-removed>
+               </resource>
+       </resource-list>
 </merchant>
 </merchant>
index e7fa9764958290883f7db81ecea70fe9942b7d7f..e114e4bfa186e3d867e9034704f1f03f1dbdb44f 100644 (file)
@@ -30,22 +30,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <id>{?id?}</id>
                <type>{?type?}</type>
                <!-- A summary for this mineral. //-->
                <id>{?id?}</id>
                <type>{?type?}</type>
                <!-- A summary for this mineral. //-->
-               <summary>
+               <mineral-summary>
                        <![CDATA[{?summary?}]]>
                        <![CDATA[{?summary?}]]>
-               </summary>
+               </mineral-summary>
                <!-- A full description for this mineral. //-->
                <!-- A full description for this mineral. //-->
-               <description>
+               <mineral-description>
                        <![CDATA[{?description?}]]>
                        <![CDATA[{?description?}]]>
-               </description>
+               </mineral-description>
        </general-data>
        <!-- To mine some minerals some knowledge in one or two technologies is
             required. Here you can list each technology with its required level. //-->
        <technology-dependency-list>
                <!-- A single technology required to mine this mineral. //-->
        </general-data>
        <!-- To mine some minerals some knowledge in one or two technologies is
             required. Here you can list each technology with its required level. //-->
        <technology-dependency-list>
                <!-- A single technology required to mine this mineral. //-->
-               <technology-dependency>
-                       <id>{?technology_id?}</id>
-                       <name>{?technology_name?}</name>
-                       <level>{?technology_level?}</level>
-               </technology-dependency>
+               <technology-dependency id="{?technology_id?}" level="{?technology_level?}" />
        </technology-dependency-list>
 </mineral>
        </technology-dependency-list>
 </mineral>
index 8a994954e522aef2e6332ae501e9cb50ce6eaf1f..de2e7aab0bf335c1a679892816ec1820a0366cc1 100644 (file)
@@ -45,13 +45,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </research-result>
                </research-result-list>
                <!-- A summary for this research proposal. //-->
                        </research-result>
                </research-result-list>
                <!-- A summary for this research proposal. //-->
-               <summary>
+               <research-summary>
                        <![CDATA[{?summary?}]]>
                        <![CDATA[{?summary?}]]>
-               </summary>
+               </research-summary>
                <!-- A full description for this research proposal. //-->
                <!-- A full description for this research proposal. //-->
-               <description>
+               <research-description>
                        <![CDATA[{?description?}]]>
                        <![CDATA[{?description?}]]>
-               </description>
+               </research-description>
        </research-data>
        <!-- This is somewhat a "research history". //-->
        <research-level-list>
        </research-data>
        <!-- This is somewhat a "research history". //-->
        <research-level-list>
@@ -76,27 +76,52 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <!-- A research level may depend on none, some or all of these
                             'dependency types'. We are doing this this way to keep this XML
                             simple but still flexible enougth to fit all proposal needs. //-->
                        <!-- A research level may depend on none, some or all of these
                             'dependency types'. We are doing this this way to keep this XML
                             simple but still flexible enougth to fit all proposal needs. //-->
-                       <technology-dependency-list>
-                               <technology-dependency>
-                                       <id>{?technology_id?</id>
-                                       <name>{?technology_name?</name>
-                                       <level>{?technology_level?}</level>
-                               </technology-dependency>
-                       </technology-dependency-list>
-                       <research-dependency-list>
-                               <research-dependency>
-                                       <id>{?research_id?}</id>
-                                       <name>{?research_id?}</name>
-                                       <level>{?research_level?}</level>
-                               </research-dependency>
-                       </research-dependency-list>
-                       <building-dependency-list>
-                               <building-dependency>
-                                       <id>{?building_id?}</id>
-                                       <name>{?building_name?}</name>
-                                       <level>{?building_level?}</level>
-                               </building-dependency>
-                       </building-dependency-list>
+                       <level-dependencies>
+                               <level-technology-dependency-list>
+                                       <level-technology-dependency>
+                                               <id>{?level_technology_id?}</id>
+                                               <name>{?level_technology_name?}</name>
+                                               <level>{?level_technology_level?}</level>
+                                       </level-technology-dependency>
+                               </level-technology-dependency-list>
+                               <level-research-dependency-list>
+                                       <level-research-dependency>
+                                               <id>{?level_research_id?}</id>
+                                               <name>{?level_research_name?}</name>
+                                               <level>{?level_research_level?}</level>
+                                       </level-research-dependency>
+                               </level-research-dependency-list>
+                               <level-building-dependency-list>
+                                       <level-buildimng-dependency>
+                                               <id>{?level_building_id?}</id>
+                                               <name>{?level_building_name?}</name>
+                                               <level>{?level_building_level?}</level>
+                                       </level-building-dependency>
+                               </level-building-dependency-list>
+                       </level-dependencies>
                </research-level>
        </research-level-list>
                </research-level>
        </research-level-list>
+       <dependencies>
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <id>{?technology_id?}</id>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <research-dependency-list>
+                       <research-dependency>
+                               <id>{?research_id?}</id>
+                               <name>{?research_name?}</name>
+                               <level>{?research_level?}</level>
+                       </research-dependency>
+               </research-dependency-list>
+               <building-dependency-list>
+                       <building-dependency>
+                               <id>{?building_id?}</id>
+                               <name>{?building_name?}</name>
+                               <level>{?building_level?}</level>
+                       </building-dependency>
+               </building-dependency-list>
+       </dependencies>
 </research-proposal>
 </research-proposal>
diff --git a/application/ship-simu/templates/de/game/research/statics.xml b/application/ship-simu/templates/de/game/research/statics.xml
new file mode 100644 (file)
index 0000000..d82085d
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Statistics 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>statics</name>
+               <type>construction</type>
+               <max-level>20</max-level>
+       </research-data>
+       <dependencies>
+               <technology-dependency-list>
+                       <technology-dependency>
+                               <name>{?technology_name?}</name>
+                               <level>{?technology_level?}</level>
+                       </technology-dependency>
+               </technology-dependency-list>
+               <research-dependency-list>
+                       <research-dependency>
+                               <name>mathematics</name>
+                               <level>4</level>
+                       </research-dependency>
+               </research-dependency-list>
+               <building-dependency-list>
+                       <building-dependency>
+                               <name>{?building_name?}</name>
+                               <level>{?building_level?}</level>
+                       </building-dependency>
+               </building-dependency-list>
+       </dependencies>
+</research-proposal>
index 01db9b10ec584d219889f505a1ac89f3f36bcebd..2b5ba5d1fad36234b8c9e879750d9019cda9dc7b 100644 (file)
@@ -30,13 +30,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <name>{?name?}</name>
                <type>{?type?}</type>
                <!-- A summary for this resource. //-->
                <name>{?name?}</name>
                <type>{?type?}</type>
                <!-- A summary for this resource. //-->
-               <summary>
+               <resource-summary>
                        <![CDATA[{?summary?}]]>
                        <![CDATA[{?summary?}]]>
-               </summary>
+               </resource-summary>
                <!-- A full description for this resource. //-->
                <!-- A full description for this resource. //-->
-               <description>
+               <resource-description>
                        <![CDATA[{?description?}]]>
                        <![CDATA[{?description?}]]>
-               </description>
+               </resource-description>
        </general-data>
        <!-- To harvest some resource some knowledge in one or two technologies is
             required. Here you can list each technology with its required level. //-->
        </general-data>
        <!-- To harvest some resource some knowledge in one or two technologies is
             required. Here you can list each technology with its required level. //-->
index b5431a010132806726d9c01b9c656f552817bc39..c5316563eb7db2e53a382283830c13335c1926d3 100644 (file)
@@ -114,12 +114,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A single technology dependencies for this ship. //-->
                        <technology-dependency>
                <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>
                        </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>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index ef99147b7b7bb5d1860ca206d936d84819ad40b1..e58e96942699c6f04f946cfe2412ca91d98332bb 100644 (file)
@@ -32,17 +32,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
                <technology-dependency-list>
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
                <technology-dependency-list>
-                       <technology-dependency>
-                               <name>statics</name>
-                               <level>3</level>
-                       </technology-dependency>
                        <technology-dependency>
                                <name>drawings</name>
                                <level>5</level>
                        </technology-dependency>
                </technology-dependency-list>
                        <technology-dependency>
                                <name>drawings</name>
                                <level>5</level>
                        </technology-dependency>
                </technology-dependency-list>
-               <!-- All research proposal dependencies for this technology. //-->
+               <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                <research-dependency-list>
+                       <research-dependency>
+                               <name>statics</name>
+                               <level>3</level>
+                       </research-dependency>
                        <research-dependency>
                                <name>mathematics</name>
                                <level>6</level>
                        <research-dependency>
                                <name>mathematics</name>
                                <level>6</level>
index 299e1d4ca7eabfe5f5359d6d0307549066d065f8..6e2ae92d10f407e78b7d992215c36fe0d45d9e77 100644 (file)
@@ -30,13 +30,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <!-- The date/time when this technology was gained, e.g. by research. //-->
                <technology-gained timestamp="{?gained?}" />
                <!-- A summary of this technology. //-->
                <!-- The date/time when this technology was gained, e.g. by research. //-->
                <technology-gained timestamp="{?gained?}" />
                <!-- A summary of this technology. //-->
-               <summary>
+               <technology-summary>
                        <![CDATA[{?summary?}]]>
                        <![CDATA[{?summary?}]]>
-               </summary>
+               </technology-summary>
                <!-- A full description of this technology. //-->
                <!-- A full description of this technology. //-->
-               <description>
+               <technology-description>
                        <![CDATA[{?description?}]]>
                        <![CDATA[{?description?}]]>
-               </description>
+               </technology-description>
        </general-data>
        <!-- All levels of this technology are held in this tag. //-->
        <technology-level-list>
        </general-data>
        <!-- All levels of this technology are held in this tag. //-->
        <technology-level-list>
@@ -50,9 +50,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <![CDATA[{?level_summary?}]]>
                        </technology-level-summary>
                        <!--  A full description of this technology level. //-->
                                <![CDATA[{?level_summary?}]]>
                        </technology-level-summary>
                        <!--  A full description of this technology level. //-->
-                       <level-description>
+                       <technology-level-description>
                                <![CDATA[{?level_description?}]]>
                                <![CDATA[{?level_description?}]]>
-                       </level-description>
+                       </technology-level-description>
                        <!-- A specific technology level may depend on some further technologies or research
                             proposals. //-->
                        <level-dependencies>
                        <!-- A specific technology level may depend on some further technologies or research
                             proposals. //-->
                        <level-dependencies>
@@ -65,9 +65,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                                <level>{?technology_level_level?}</level>
                                        </technology-level-dependency>
                                </technology-level-dependency-list>
                                                <level>{?technology_level_level?}</level>
                                        </technology-level-dependency>
                                </technology-level-dependency-list>
-                               <!-- All research proposal dependencies for this technology. //-->
+                               <!-- All research dependencies for this technology. //-->
                                <research-level-dependency-list>
                                <research-level-dependency-list>
-                                       <!-- A research proposal dependency for this technology. //-->
+                                       <!-- A research dependency for this technology. //-->
                                        <research-level-dependency>
                                                <id>{?research_level_id?}</id>
                                                <name>{?research_level_name?}</name>
                                        <research-level-dependency>
                                                <id>{?research_level_id?}</id>
                                                <name>{?research_level_name?}</name>
@@ -89,9 +89,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <level>{?technology_level?}</level>
                        </technology-dependency>
                </technology-dependency-list>
                                <level>{?technology_level?}</level>
                        </technology-dependency>
                </technology-dependency-list>
-               <!-- All research proposal dependencies for this technology. //-->
+               <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                <research-dependency-list>
-                       <!-- A research proposal dependency for this technology. //-->
+                       <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <id>{?research_id?}</id>
                                <name>{?research_name?}</name>
                        <research-dependency>
                                <id>{?research_id?}</id>
                                <name>{?research_name?}</name>
diff --git a/application/ship-simu/templates/de/game/technology/cellular_network.xml b/application/ship-simu/templates/de/game/technology/cellular_network.xml
new file mode 100644 (file)
index 0000000..06ff0a4
--- /dev/null
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A cellular network 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>cellular_network</name>
+               <type>communication</type>
+       </general-data>
+       <!-- 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>electronics</name>
+                               <level>5</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>
index 0dca8217a32c512b8325b15760edce3d6384a387..85d63d59d4820a54f95fa56e953b2a451747a65f 100644 (file)
@@ -44,9 +44,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                                <level>{?technology_level_level?}</level>
                                        </technology-level-dependency>
                                </technology-level-dependency-list>
                                                <level>{?technology_level_level?}</level>
                                        </technology-level-dependency>
                                </technology-level-dependency-list>
-                               <!-- All research proposal dependencies for this technology. //-->
+                               <!-- All research dependencies for this technology. //-->
                                <research-level-dependency-list>
                                <research-level-dependency-list>
-                                       <!-- A research proposal dependency for this technology. //-->
+                                       <!-- A research dependency for this technology. //-->
                                        <research-level-dependency>
                                                <name>{?research_level_name?}</name>
                                                <level>{?research_level_level?}</level>
                                        <research-level-dependency>
                                                <name>{?research_level_name?}</name>
                                                <level>{?research_level_level?}</level>
@@ -66,9 +66,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <level>{?technology_level?}</level>
                        </technology-dependency>
                </technology-dependency-list>
                                <level>{?technology_level?}</level>
                        </technology-dependency>
                </technology-dependency-list>
-               <!-- All research proposal dependencies for this technology. //-->
+               <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                <research-dependency-list>
-                       <!-- A research proposal dependency for this technology. //-->
+                       <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <name>{?research_name?}</name>
                                <level>{?research_level?}</level>
                        <research-dependency>
                                <name>{?research_name?}</name>
                                <level>{?research_level?}</level>
index 27f5b1bbd43583468e25a905692bd52320e8911f..901e7f465a9194b041589684e3f55749f679c7c6 100644 (file)
@@ -45,7 +45,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <level>6</level>
                        </technology-dependency>
                </technology-dependency-list>
                                <level>6</level>
                        </technology-dependency>
                </technology-dependency-list>
-               <!-- All research proposal dependencies for this technology. //-->
+               <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <research-dependency>
                                <name>mathematics</name>
                <research-dependency-list>
                        <research-dependency>
                                <name>mathematics</name>
index 4a843437500b096597c4f1d7daa56a47a3b3abc3..f363949e47a2d24d25122eceaf17a4fc36f240b2 100644 (file)
@@ -44,9 +44,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                                <level>{?technology_level_level?}</level>
                                        </technology-level-dependency>
                                </technology-level-dependency-list>
                                                <level>{?technology_level_level?}</level>
                                        </technology-level-dependency>
                                </technology-level-dependency-list>
-                               <!-- All research proposal dependencies for this technology. //-->
+                               <!-- All research dependencies for this technology. //-->
                                <research-level-dependency-list>
                                <research-level-dependency-list>
-                                       <!-- A research proposal dependency for this technology. //-->
+                                       <!-- A research dependency for this technology. //-->
                                        <research-level-dependency>
                                                <name>{?research_level_name?}</name>
                                                <level>{?research_level_level?}</level>
                                        <research-level-dependency>
                                                <name>{?research_level_name?}</name>
                                                <level>{?research_level_level?}</level>
@@ -65,7 +65,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <level>chemicals</level>
                        </technology-dependency>
                </technology-dependency-list>
                                <level>chemicals</level>
                        </technology-dependency>
                </technology-dependency-list>
-               <!-- All research proposal dependencies for this technology. //-->
+               <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <research-dependency>
                                <name>chemistry</name>
                <research-dependency-list>
                        <research-dependency>
                                <name>chemistry</name>
diff --git a/application/ship-simu/templates/de/game/technology/statics.xml b/application/ship-simu/templates/de/game/technology/statics.xml
deleted file mode 100644 (file)
index 924b861..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?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 proposal dependencies for this technology. //-->
-               <research-dependency-list>
-                       <research-dependency>
-                               <name>mathematics</name>
-                               <level>4</level>
-                       </research-dependency>
-               </research-dependency-list>
-       </dependencies>
-</technology>
index 13e2063b947856363f25a5214d7cc313f8c1954a..6ff53e9e77230565b4e6c1285b5e339223059e01 100644 (file)
@@ -23,9 +23,7 @@ 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-type-list>
 along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <electronic-type-list>
-       <!-- A common cellphone, no matter which network provider... ;-) //-->
-       <electronic-type type="cellphone" />
-       <!-- A common land line phone and it's equipment (we simplify again). //-->
-       <electronic-type type="phone" />
-       <!-- @TODO Add more commercial electronic devices. //-->
+       <!-- All common communication devices. //-->
+       <electronic-type type="communication" />
+       <!-- @TODO Add more types. //-->
 </electronic-type-list>
 </electronic-type-list>
index ed27d2994fcfd53292d2d33c775e14535dccbff8..1d968111d1f6229e22efe2734462adc3b24d1627 100644 (file)
@@ -29,6 +29,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <technology-type type="building" />
        <!-- Different chemicals. //-->
        <technology-type type="chemicals" />
        <technology-type type="building" />
        <!-- Different chemicals. //-->
        <technology-type type="chemicals" />
+       <!-- Technologies for common communication devices. //-->
+       <technology-type type="communication" />
        <!-- Technologies for different constructions. //-->
        <technology-type type="construction" />
        <!-- Different equipment technologies. //-->
        <!-- Technologies for different constructions. //-->
        <technology-type type="construction" />
        <!-- Different equipment technologies. //-->