]> git.mxchange.org Git - shipsimu.git/commitdiff
Major rewrite of game logic XMLs
authorRoland Häder <roland@mxchange.org>
Wed, 2 Dec 2009 13:23:12 +0000 (13:23 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 2 Dec 2009 13:23:12 +0000 (13:23 +0000)
40 files changed:
application/ship-simu/templates/de/menu/generic_menu_entries.xml
application/ship-simu/templates/game/building/advanced_research_lab.xml
application/ship-simu/templates/game/building/base_building.xml
application/ship-simu/templates/game/building/research_lab.xml
application/ship-simu/templates/game/container/base_container.xml
application/ship-simu/templates/game/electronic/base_electronic.xml
application/ship-simu/templates/game/electronic/cellphone.xml
application/ship-simu/templates/game/electronic/hifi_system.xml
application/ship-simu/templates/game/electronic/radio_receiver.xml
application/ship-simu/templates/game/electronic/surround_system.xml
application/ship-simu/templates/game/electronic/television.xml
application/ship-simu/templates/game/engine/base_engine.xml
application/ship-simu/templates/game/farmer/base_farmer.xml
application/ship-simu/templates/game/fuel/base_fuel.xml
application/ship-simu/templates/game/merchant/base_merchant.xml
application/ship-simu/templates/game/mineral/base_mineral.xml
application/ship-simu/templates/game/research/base_research.xml
application/ship-simu/templates/game/research/electronics.xml
application/ship-simu/templates/game/research/radio_receiving.xml
application/ship-simu/templates/game/research/statics.xml
application/ship-simu/templates/game/resource/base_resource.xml
application/ship-simu/templates/game/ship/base_ship.xml
application/ship-simu/templates/game/tank/base_tank.xml
application/ship-simu/templates/game/technology/architecture.xml
application/ship-simu/templates/game/technology/base_technology.xml
application/ship-simu/templates/game/technology/cellular_network.xml
application/ship-simu/templates/game/technology/drawings.xml
application/ship-simu/templates/game/technology/glass_making.xml
application/ship-simu/templates/game/technology/household_devices.xml
application/ship-simu/templates/game/technology/intergrated_currents.xml
application/ship-simu/templates/game/technology/laboratory_equipment.xml
application/ship-simu/templates/game/technology/naval_architecture.xml
application/ship-simu/templates/game/technology/plastics.xml
application/ship-simu/templates/game/technology/signal_amplifying.xml
application/ship-simu/templates/game/technology/signal_modulation.xml
application/ship-simu/templates/game/technology/sound_equalizer.xml
application/ship-simu/templates/game/technology/sound_processor.xml
application/ship-simu/templates/game/technology/surround_mixing.xml
application/ship-simu/templates/game/technology/transistor.xml
application/ship-simu/templates/game/technology/video_receiving.xml

index be74a9d7e22c4459fd9d42698ba9713b880d58a1..211312471c6fe76d6cff00f5d095d780a1d4e4d5 100644 (file)
@@ -33,7 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </block-header>
                        <entry-list>
                                <entry>
-                                       <entry-id><![CDATA[home]]></entry-id>
+                                       <entry-id><![CDATA[home_entry]]></entry-id>
                                        <anchor>
                                                <anchor-id><![CDATA[menu_home]]></anchor-id>
                                                <anchor-text><![CDATA[Home]]></anchor-text>
@@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                        </anchor>
                                </entry>
                                <entry>
-                                       <entry-id><![CDATA[login]]></entry-id>
+                                       <entry-id><![CDATA[login_entry]]></entry-id>
                                        <anchor>
                                                <anchor-id><![CDATA[menu_login]]></anchor-id>
                                                <anchor-text><![CDATA[Einloggen]]></anchor-text>
@@ -51,7 +51,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                        </anchor>
                                </entry>
                                <entry>
-                                       <entry-id><![CDATA[register]]></entry-id>
+                                       <entry-id><![CDATA[register_entry]]></entry-id>
                                        <anchor>
                                                <anchor-id><![CDATA[menu_register]]></anchor-id>
                                                <anchor-text><![CDATA[Anmeldung]]></anchor-text>
@@ -60,7 +60,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                        </anchor>
                                </entry>
                                <entry>
-                                       <entry-id><![CDATA[pillory]]></entry-id>
+                                       <entry-id><![CDATA[pillory_entry]]></entry-id>
                                        <anchor>
                                                <anchor-id><![CDATA[menu_pillory]]></anchor-id>
                                                <anchor-text><![CDATA[Pranger]]></anchor-text>
@@ -85,7 +85,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </block-header>
                        <entry-list>
                                <entry>
-                                       <entry-id><![CDATA[imprint]]></entry-id>
+                                       <entry-id><![CDATA[imprint_entry]]></entry-id>
                                        <anchor>
                                                <anchor-id><![CDATA[menu_imprint]]></anchor-id>
                                                <anchor-text><![CDATA[Impressum]]></anchor-text>
@@ -94,7 +94,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                        </anchor>
                                </entry>
                                <entry>
-                                       <entry-id><![CDATA[terms]]></entry-id>
+                                       <entry-id><![CDATA[terms_entry]]></entry-id>
                                        <anchor>
                                                <anchor-id><![CDATA[menu_terms]]></anchor-id>
                                                <anchor-text><![CDATA[ANBs]]></anchor-text>
index ef8aebedd9be18ce2fd33d7a66a9ba282bef738e..2556eaad268c165bcbebea183aa283f5f2ead7b2 100644 (file)
@@ -25,26 +25,29 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- General building data //-->
        <building-data>
                <!-- General data, like short name, type, level and many more. //-->
-               <general-data>
+               <building-data>
                        <name>advanced_research_lab</name>
                        <type>research</type>
-               </general-data>
+               </building-data>
        </building-data>
        <!-- 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. //-->
        <dependencies>
                <!-- A list of required technology to construct this building. //-->
+               <!-- @TODO Find technology types //-->
                <technology-dependency-list>
                        <!-- Arcgictecture is required. //-->
                        <technology-dependency>
-                               <type>architecture</type>
-                               <level>10</level>
+                               <technology-name>architecture</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>10</technology-level>
                        </technology-dependency>
                        <!-- Labory equipment is required. //-->
                        <technology-dependency>
-                               <type>laboratory_equipment</type>
-                               <level>8</level>
+                               <technology-name>laboratory_equipment</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>8</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
        </dependencies>
index ab7743905c74d22fb7e143ab4f0338b2637b79b4..5a0aafb6de968d1f0ffc6be130a53c0e99da3da0 100644 (file)
@@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <![CDATA[{?description?}]]>
                </description>
                <!-- General data, like short name, type, level and many more. //-->
-               <general-data>
+               <building-data>
                        <id>{?id?}</id>
                        <name>{?name?}</name>
                        <type>{?type?}</type>
@@ -71,7 +71,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                        <![CDATA[{?destruction_reason?}]]>
                                </destruction-reason>
                        </deconstructed>
-               </general-data>
+               </building-data>
        </building-data>
        <!-- All sorts of costs for a building. //-->
        <costs>
@@ -84,7 +84,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <construction-company extends="{?construction_template?}">
                                <!-- The construction company. //-->
                                <company>
-                                       <id>{?construct_id?}</id>
+                                       <company-id>{?construct_id?}</company-id>
                                        <!-- A construction of a building requires personel. We
                                             summary their salery here for simplicy. //-->
                                        <personel-costs currency="{?personel_currency?}" />
@@ -95,7 +95,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                                <!-- A single resource and its amount to construct this
                                                     building. //-->
                                                <resource>
-                                                       <id>{?resource_id?}</id>
+                                                       <resource-id>{?resource_id?}</resource-id>
                                                        <amount>{?resource_amount?}</amount>
                                                        <!-- The merchant dealing with this resource. //-->
                                                        <resource-merchant extends="{?merchant_template?}">
@@ -153,9 +153,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A single required technology to construct this building. //-->
                        <technology-dependency>
-                               <id>{?technology_id?}</id>
-                               <type>{?technology_type?}</type>
-                               <level>{?technology_level?}</level>
+                               <technology-id>{?technology_id?}</technology-id>
+                               <technology-name>{?technology_name?}</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>{?technology_level?}</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
        </dependencies>
index e54b77c3299b618edb0e5e62678eba34a125f504..d9c413f478a96f44f7df3c2ef1777062ca32f413 100644 (file)
@@ -25,10 +25,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <!-- General building data //-->
        <building-data>
                <!-- General data, like short name, type, level and many more. //-->
-               <general-data>
+               <building-data>
                        <name>research_lab</name>
                        <type>research</type>
-               </general-data>
+               </building-data>
        </building-data>
        <!-- We also have technology denpencies for a building. These must be
             understand by construction companies who made contracts with the
@@ -38,13 +38,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- Arcgictecture is required. //-->
                        <technology-dependency>
-                               <type>architecture</type>
-                               <level>5</level>
+                               <technology-name>architecture</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>5</technology-level>
                        </technology-dependency>
                        <!-- Labory equipment is required. //-->
                        <technology-dependency>
-                               <type>laboratory_equipment</type>
-                               <level>1</level>
+                               <technology-name>laboratory_equipment</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>1</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
        </dependencies>
index 2b229370c62817972cefc8ae4df71e8364f9b8f4..c95f4a51754df4d56bfd656e04f5077ab2cf3604 100644 (file)
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <container>
        <!-- Some general data about this container. //-->
-       <general-data>
+       <container-data>
                <!-- Id and type of this container. //-->
                <id>{?id?}</id>
                <!-- Uni* name, mostly adapted from template name, for this container. //-->
@@ -36,7 +36,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <length>{?length?}</length>
                        <height>{?height?}</height>
                </dimensions>
-       </general-data>
+       </container-data>
        <!-- The owner of the container, this should be a company, //-->
        <owner>
                <company id="{?owner_id?}" />
@@ -55,9 +55,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <content-list>
                <!-- A single content of the container which should be transportated. //-->
                <content>
-                       <id>{?content_id?}</id>
-                       <type>{?content_type?}</type>
-                       <amount>{?content_amount?}</amount>
+                       <content-id>{?content_id?}</content-id>
+                       <content-type>{?content_type?}</content-type>
+                       <content-amount>{?content_amount?}</content-amount>
                </content>
        </content-list>
        <!-- A system, freezer or colder or something else, which maintains a
@@ -67,8 +67,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <maintenance-system-list>
                <!-- A single maintenance system. //-->
                <maintenance-system>
-                       <id>{?maintenance_id?}</id>
-                       <type>{?maintenance_type?}</type>
+                       <maintenance-id>{?maintenance_id?}</maintenance-id>
+                       <maintenance-name>{?maintenance_name?}</maintenance-name>
+                       <maintenance-type>{?maintenance_type?}</maintenance-type>
                </maintenance-system>
        </maintenance-system-list>
 </container>
index f29a410c34cedea85183e5e944cd4ac14b158c5a..e47a110c254302754838ee2e63cc560679917cb6 100644 (file)
@@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <electronic>
        <!-- General data of the electronics. //-->
-       <general-data>
+       <electronic-data>
                <!-- Id and type for this electronic. //-->
                <id>{?id?}</id>
                <name>{?name?}</name>
@@ -41,7 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <height>{?height?}</height>
                        <length>{?length?}</length>
                </dimensions>
-       </general-data>
+       </electronic-data>
        <!-- An electronical device may depend on one or more technologies, at least
             'electronics'. //-->
        <dependencies>
@@ -49,18 +49,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A single technollogical dependency. //-->
                        <technology-dependency>
-                               <id>{?technology_id?}</id>
-                               <name>{?technology_name?}</name>
-                               <level>{?technology_level?}</level>
+                               <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>
                        <!-- A single technollogical dependency. //-->
                        <research-dependency>
-                               <id>{?research_id?}</id>
-                               <name>{?research_name?}</name>
-                               <level>{?research_level?}</level>
+                               <research-id>{?research_id?}</research-id>
+                               <research-name>{?research_name?}</research-name>
+                               <research-level>{?research_level?}</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 2184f02c7f470cef804e6c6842edfde4ad2e9395..e2ce154b25399dd5696b5890b2827adc79387a50 100644 (file)
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <electronic extends="base_electronic}">
        <!-- General data of the electronics. //-->
-       <general-data>
+       <electronic-data>
                <!-- Id and type for this electronic. //-->
                <name>cellphone</name>
                <type>communication</type>
@@ -38,7 +38,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <height>35</height>
                        <length>30</length>
                </dimensions>
-       </general-data>
+       </electronic-data>
        <!-- An electronical device may depend on one or more technologies, at least
             'electronics'. //-->
        <dependencies>
index 9ac243942630f0f0d2b02fec816c6767ffc997fe..dc1f63f3978c35f4f12d1328b4854f0c88d9c4f6 100644 (file)
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <electronic extends="{?base_electronic?}">
        <!-- General data of the electronics. //-->
-       <general-data>
+       <electronic-data>
                <name>hifi_system</name>
                <type>entertainment</type>
                <!-- Simplified dimensions of the electronics because it will be placed
@@ -37,7 +37,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <height>70</height>
                        <length>80</length>
                </dimensions>
-       </general-data>
+       </electronic-data>
        <!-- An electronical device may depend on one or more technologies, at least
             'electronics'. //-->
        <dependencies>
index 53ff764548c4bd2e1dd4b9a5f341ee927e390e8e..7396eb010cc3d634b417e15605c63c9fca3ab9f5 100644 (file)
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <electronic extends="{?base_electronic?}">
        <!-- General data of the electronics. //-->
-       <general-data>
+       <electronic-data>
                <name>radio_receiver</name>
                <type>entertainment</type>
                <!-- Simplified dimensions of the electronics because it will be placed
@@ -37,7 +37,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <height>40</height>
                        <length>20</length>
                </dimensions>
-       </general-data>
+       </electronic-data>
        <!-- An electronical device may depend on one or more technologies, at least
             'electronics'. //-->
        <dependencies>
index 35980dc9b70d49c2c85de09e54d534ba32fa8ded..86a7e17243ef0b4ff82d43786401de4bc47114e2 100644 (file)
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <electronic extends="base_electronic">
        <!-- General data of the electronics. //-->
-       <general-data>
+       <electronic-data>
                <!-- Id and type for this electronic. //-->
                <name>surround_system</name>
                <type>entertainment</type>
@@ -38,7 +38,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <height>140</height>
                        <length>120</length>
                </dimensions>
-       </general-data>
+       </electronic-data>
        <!-- An electronical device may depend on one or more technologies, at least
             'electronics'. //-->
        <dependencies>
index 12121a8bb22a2a80d75dacfd8e7f10bdec37853b..1c73803aa739fe092149b257f9595b415ba91e51 100644 (file)
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <electronic extends="base_electronic">
        <!-- General data of the electronics. //-->
-       <general-data>
+       <electronic-data>
                <!-- Id and type for this electronic. //-->
                <name>television</name>
                <type>entertainment</type>
@@ -38,7 +38,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <height>110</height>
                        <length>90</length>
                </dimensions>
-       </general-data>
+       </electronic-data>
        <!-- An electronical device may depend on one or more technologies, at least
             'electronics'. //-->
        <dependencies>
index e6bdf635add75f84a30bdc2d41b7dd70193ffe99..47085911ab2c651e836992130921523d3070a61e 100644 (file)
@@ -23,17 +23,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <engine>
        <!-- General data about this engine. //-->
-       <general-data>
+       <engine-data>
                <id>{?id?}</id>
                <name>{?name?}</name>
                <type>{?type?}</type>
                <horse-power>{?horse_power?}</horse-power>
-       </general-data>
+       </engine-data>
        <!-- Type of fuel we need. May be left out if this "engine" is e.g. a sail. //-->
        <fuel>
-               <id>{?fuel_id?}</id>
-               <name>{?fuel_name?}</name>
-               <type>{?fuel_type?}</type>
+               <fuel-id>{?fuel_id?}</fuel-id>
+               <fuel-name>{?fuel_name?}</fuel-name>
+               <fuel-type>{?fuel_type?}</fuel-type>
        </fuel>
        <!-- Simplified dimensions of this engine. Can be left out for sails. //-->
        <dimensions>
@@ -49,9 +49,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A single technology dependency. //-->
                        <technology-dependency>
-                               <id>{[?technology_id?}</id>
-                               <name>{[?technology_name?}</name>
-                               <level>{[?technology_level?}</level>
+                               <technology-id>{[?technology_id?}</technology-id>
+                               <technology-name>{[?technology_name?}</technology-name>
+                               <technology-level>{[?technology_level?}</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
        </depenndencies>
index 36f785b5bfcfbb3490d6e9869008e4bac2b2e01d..8388afb9440be500a0a05e7c53366b2e3b8a00c2 100644 (file)
@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 <farmer>
        <!-- General data about this farmer, like name (not the player's nickname)
             type, birthday. //-->
-       <general-data>
+       <farmer-data>
                <id>{?id?}</id>
                <name>{?name?}</name>
                <type>{?type?}</type>
@@ -38,22 +38,22 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <!-- Productivity, experience and others. //-->
                <productivity>{?productivity?}</productivity>
                <experience>{?experience?}</experience>
-       </general-data>
+       </farmer-data>
        <!-- List of all products this farmer is producing. //-->
        <produce-list>
                <!-- A single produce this farmer is producing. //-->
                <produce>
-                       <id>{?produce_id?}</id>
-                       <name>{?produce_name?}</name>
-                       <type>{?produce_type?}</type>
+                       <produce-id>{?produce_id?}</produce-id>
+                       <produce-name>{?produce_name?}</produce-name>
+                       <produce-type>{?produce_type?}</produce-type>
                        <!-- A list of technology dependency required to create this
                             produce. //-->
                        <technology-dependency-list>
                                <!-- A single technology dependency. //-->
                                <technology-dependency>
-                                       <id>{?technology_id?}</id>
-                                       <name>{?technology_name?}</name>
-                                       <level>{?technology_level?}</level>
+                                       <technology-id>{?technology_id?}</technology-id>
+                                       <technology-name>{?technology_name?}</technology-name>
+                                       <technology-level>{?technology_level?}</technology-level>
                                </technology-dependency>
                        </technology-dependency-list>
                </produce>
index 38bc7711ec1ee0da49ecb5061e584c2ea3d1577b..0f023fbcd9ab89a85ff16131bd5528d358e66240 100644 (file)
@@ -22,9 +22,9 @@ You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <fuel>
-       <general-data>
+       <fuel-data>
                <id>{?id?}</id>
                <name>{?name?}</name>
                <type>{?type?}</type>
-       </general-data>
+       </fuel-data>
 </fuel>
index dbbf124127844ad3ef49db4125a6c1ba5761aa94..a4a7c85f2bde22419038f7d27d132e924b12d8a0 100644 (file)
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <merchant>
        <!-- General data about this merchant like id, type, summary or description. //-->
-       <general-data>
+       <merchant-data>
                <id>{?id?}</id>
                <name>{?name?}</name>
                <type>{?type?</type>
@@ -35,7 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <description>
                        <![CDATA[{?description?}]]>
                </description>
-       </general-data>
+       </merchant-data>
        <!-- The owner of this merchant. If left out the AI of the game will play
             this merchant. //-->
        <owner>
@@ -47,12 +47,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <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-id>{?goods_id?}</goods-id>
+                       <goods-name>{?goods_name?}</goods-name>
+                       <goods-type>{?goods_type?}</goods-type>
+                       <goods-amount>{?goods_amount?}</goods-amount>
+                       <goods-first-added>{?goods_added?}</goods-first-added>
+                       <goods-last-removed>{?goods_remoed?}</goods-last-removed>
                </goods>
        </goods-list>
 </merchant>
index e114e4bfa186e3d867e9034704f1f03f1dbdb44f..108492640b3e00703bd89483e8c469657eabe732 100644 (file)
@@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <mineral>
        <!-- General data for this mineral like id, type, summary or description. //-->
-       <general-data>
+       <mineral-data>
                <id>{?id?}</id>
                <type>{?type?}</type>
                <!-- A summary for this mineral. //-->
@@ -37,7 +37,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <mineral-description>
                        <![CDATA[{?description?}]]>
                </mineral-description>
-       </general-data>
+       </mineral-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>
index de2e7aab0bf335c1a679892816ec1820a0366cc1..e2b96c1c5f0e219a0b09d29dfb23c631c8a7d93c 100644 (file)
@@ -79,23 +79,26 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <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-id>{?level_technology_id?}</level-technology-id>
+                                               <level-technology-name>{?level_technology_name?}</level-technology-name>
+                                               <level-technology-type>{?level_technology_type?}</level-technology-type>
+                                               <level-technology-level>{?level_technology_level?}</level-technology-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-id>{?level_research_id?}</level-research-id>
+                                               <level-research-name>{?level_research_name?}</level-research-name>
+                                               <level-research-type>{?level_research_type?}</level-research-type>
+                                               <level-research-level>{?level_research_level?}</level-research-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-id>{?level_building_id?}</level-building-id>
+                                               <level-building-name>{?level_building_name?}</level-building-name>
+                                               <level-building-type>{?level_building_type?}</level-building-type>
+                                               <level-building-level>{?level_building_level?}</level-building-level>
                                        </level-building-dependency>
                                </level-building-dependency-list>
                        </level-dependencies>
@@ -104,23 +107,26 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <dependencies>
                <technology-dependency-list>
                        <technology-dependency>
-                               <id>{?technology_id?}</id>
-                               <name>{?technology_name?}</name>
-                               <level>{?technology_level?}</level>
+                               <technology-id>{?technology_id?}</technology-id>
+                               <technology-name>{?technology_name?}</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>{?technology_level?}</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <research-dependency-list>
                        <research-dependency>
-                               <id>{?research_id?}</id>
-                               <name>{?research_name?}</name>
-                               <level>{?research_level?}</level>
+                               <research-id>{?research_id?}</research-id>
+                               <research-name>{?research_name?}</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>{?research_level?}</research-level>
                        </research-dependency>
                </research-dependency-list>
                <building-dependency-list>
                        <building-dependency>
-                               <id>{?building_id?}</id>
-                               <name>{?building_name?}</name>
-                               <level>{?building_level?}</level>
+                               <building-id>{?building_id?}</building-id>
+                               <building-name>{?building_name?}</building-name>
+                               <building-type>{?building_type?}</building-type>
+                               <building-level>{?building_level?}</building-level>
                        </building-dependency>
                </building-dependency-list>
        </dependencies>
index 1bd2df2b7a14f183c957b09eaccb584e4022ef59..96fafc42120a9556bd724b320e1abdc8798ffce5 100644 (file)
@@ -31,14 +31,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <dependencies>
                <technology-dependency-list>
                        <technology-dependency>
-                               <name>plastics</name>
-                               <level>2</level>
+                               <technology-name>plastics</technology-name>
+                               <technology-type>chemicals</technology-type>
+                               <technology-level>2</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <research-dependency-list>
                        <research-dependency>
-                               <name>electricity</name>
-                               <level>4</level>
+                               <research-name>electricity</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>4</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 44513dd8092392963f17cdd6f95c54ed2755b291..5d957016e91f78eb3805a133abe0e396545e97d0 100644 (file)
@@ -33,8 +33,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A research proposal dependency for this research proposal. //-->
                        <technology-dependency>
-                               <name>signal_modulation</name>
-                               <level>1</level>
+                               <technology-name>signal_modulation</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>1</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
        </dependencies>
index d82085db4ace9e8ed492ec71f989a8beff0965f7..44146e56b8fd36da4d12c77f183c4e99bc18faa2 100644 (file)
@@ -31,20 +31,23 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <dependencies>
                <technology-dependency-list>
                        <technology-dependency>
-                               <name>{?technology_name?}</name>
-                               <level>{?technology_level?}</level>
+                               <technology-name>{?technology_name?}</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>{?technology_level?}</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <research-dependency-list>
                        <research-dependency>
-                               <name>mathematics</name>
-                               <level>4</level>
+                               <technology-name>mathematics</technology-name>
+                               <technology-type>{?research_type?}</technology-type>
+                               <technology-level>4</technology-level>
                        </research-dependency>
                </research-dependency-list>
                <building-dependency-list>
                        <building-dependency>
-                               <name>{?building_name?}</name>
-                               <level>{?building_level?}</level>
+                               <building-name>{?building_name?}</building-name>
+                               <building-type>{?building_type?}</building-type>
+                               <building-level>{?building_level?}</building-level>
                        </building-dependency>
                </building-dependency-list>
        </dependencies>
index 2b5ba5d1fad36234b8c9e879750d9019cda9dc7b..d6b160cba4449eafaa82bd0badf8b8d24cf27361 100644 (file)
@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <resource>
        <!-- General data for this resource like id, type, summary or description. //-->
-       <general-data>
+       <resource-data>
                <id>{?id?}</id>
                <name>{?name?}</name>
                <type>{?type?}</type>
@@ -37,15 +37,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <resource-description>
                        <![CDATA[{?description?}]]>
                </resource-description>
-       </general-data>
+       </resource-data>
        <!-- To harvest some resource 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 dependency to harvest this resource. //-->
                <technology-dependency>
-                       <id>{?technology_id?}</id>
-                       <name>{?technology_name?}</name>
-                       <level>{?technology_level?}</level>
+                       <technology-id>{?technology_id?}</technology-id>
+                       <technology-name>{?technology_name?}</technology-name>
+                       <technology-type>{?technology_type?}</technology-type>
+                       <technology-level>{?technology_level?}</technology-level>
                </technology-dependency>
        </technology-dependency-list>
 </resource>
index 5160727e4d53c77471c450abfc1245cca7c439bb..a33efe88f0c669422ba9b4ae28a900a64fc9ce53 100644 (file)
@@ -24,7 +24,7 @@ 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>
+       <ship-data>
                <id>{?id?}</id>
                <name><![CDATA[{?name?}]]></name>
                <type>{?type?}</type>
@@ -42,12 +42,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <!-- And when the ship was constructed. //-->
                        <construction-finished>{?construction_finished?</construction-finished>
                </construction>
-       </general-data>
+       </ship-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>
+                       <company-id>{?company_id?}</company-id>
                        <!-- A time span when the company owned this ship. //-->
                        <holder-timespan>
                                <started>{?holder_started?}</started>
@@ -63,16 +63,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <!-- 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>
+                       <structure-id>{?structure_id?}</structure-id>
+                       <structure-amount>{?structure_amount?}</structure-amount>
+                       <structure-type>{?structure_type?}</structure-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-id>{?engine_id?{</engine-id>
+               <engine-type>{?engine_type?}</engine-type>
        </engine>
        <!-- A list of what this ship transportates. //-->
        <transportation-list>
@@ -114,18 +114,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <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-id>{?technology_id?}</technology-id>
+                               <technology-name>{?technology_name?}</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>{?technology_level?}</technology-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-id>{?research_id?}</research-id>
+                               <research-name>{?research_name?}</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>{?research_level?}</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 7761160fd466f6f118a7d1ee8f72dd5a9d9047fe..dc331f28b13f55ad5beb9ae7314f2e17493b8c02 100644 (file)
@@ -22,22 +22,23 @@ You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <tank>
-       <general-data>
+       <tank-data>
                <id>{?id?}</id>
                <name>{?name?}</name>
                <type>{?type?}</type>
-       </general-data>
+       </tank-data>
        <content>
-               <id>{?content_id?}</id>
-               <name>{?content_name?}</name>
-               <type>{?content_type?}</type>
+               <content-id>{?content_id?}</content-id>
+               <content-name>{?content_name?}</content-name>
+               <content-type>{?content_type?}</content-type>
        </content>
        <dependencies>
                <technology-dependency-list>
                        <technology-dependency>
-                               <id>{?technology_id?}</id>
-                               <name>{?technology_name?}</name>
-                               <level>{?technology_level?}</level>
+                               <technology-id>{?technology_id?}</technology-id>
+                               <technology-name>{?technology_name?}</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>{?technology_level?}</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
        </dependencies>
index e58e96942699c6f04f946cfe2412ca91d98332bb..c6c521ea7a09715244bede7ba31ca6bbd50bc8df 100644 (file)
@@ -23,29 +23,34 @@ 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>
+       <technology-data>
                <name>architecture</name>
                <type>construction</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
                <technology-dependency-list>
                        <technology-dependency>
-                               <name>drawings</name>
-                               <level>5</level>
+                               <!-- @TODO Find a technology type //-->
+                               <technology-name>drawings</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>5</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
+               <!-- @TODO Find research types //-->
                <research-dependency-list>
                        <research-dependency>
-                               <name>statics</name>
-                               <level>3</level>
+                               <research-name>statics</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>3</research-level>
                        </research-dependency>
                        <research-dependency>
-                               <name>mathematics</name>
-                               <level>6</level>
+                               <research-name>mathematics</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>6</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 6e2ae92d10f407e78b7d992215c36fe0d45d9e77..846a215b24682d4b3edb10cb780547335ca384e7 100644 (file)
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <technology>
        <!-- General technology data like type, level, summary or description. //-->
-       <general-data>
+       <technology-data>
                <id>{?id?}</id>
                <name>{?name?}</name>
                <type>{?type?}</type>
@@ -37,7 +37,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-description>
                        <![CDATA[{?description?}]]>
                </technology-description>
-       </general-data>
+       </technology-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
@@ -60,18 +60,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <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-id>{?technology_level_id?}</technology-level-id>
+                                               <technology-level-name>{?technology_level_name?}</technology-level-name>
+                                               <technology-level-level>{?technology_level_level?}</technology-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-id>{?research_level_id?}</research-level-id>
+                                               <research-level-name>{?research_level_name?}</research-level-name>
+                                               <research-level-level>{?research_level_level?}</research-level-level>
                                        </research-level-dependency>
                                </research-dependency-list>
                        </level-dependencies>
@@ -84,18 +84,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <id>{?technology_id?}</id>
-                               <name>{?technology_name?}</name>
-                               <level>{?technology_level?}</level>
+                               <technology-id>{?technology_id?}</technology-id>
+                               <technology-name>{?technology_name?}</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>{?technology_level?}</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
-                               <id>{?research_id?}</id>
-                               <name>{?research_name?}</name>
-                               <level>{?research_level?}</level>
+                               <research-id>{?research_id?}</research-id>
+                               <research-name>{?research_name?}</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>{?research_level?}</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 3be2b2472625e1f10040ac7f182e735ba07a24ae..0e34905d55af721ea875dd624d0e33186131b79a 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>cellular_network</name>
                <type>communication</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals to gain the first level of this technology. //-->
        <dependencies>
@@ -34,16 +34,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- @TODO Find some technology dependencies. //-->
                        <technology-dependency>
-                               <name></name>
-                               <level></level>
+                               <technology-name></technology-name>
+                               <technology-type></technology-type>
+                               <technology-level></technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
+                       <!-- @TODO Find a research type //-->
                        <research-dependency>
-                               <name>electronics</name>
-                               <level>5</level>
+                               <technology-name>electronics</technology-name>
+                               <technology-type>{?research_type?}</technology-type>
+                               <technology-level>5</technology-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index ef38631ad60a9e9a0e92166add4899bd3cbb74a9..43dbf5001bf99f3aa1c49b9cf856dd72838233ea 100644 (file)
@@ -23,8 +23,8 @@ 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>
+       <technology-data>
                <name>drawings</name>
                <type>base</type>
-       </general-data>
+       </technology-data>
 </technology>
index 85d63d59d4820a54f95fa56e953b2a451747a65f..5050fab4136d30e73508450a4803508ac557f8be 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>glass_making</name>
                <type>production</type>
-       </general-data>
+       </technology-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
@@ -40,16 +40,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <technology-level-dependency-list>
                                        <!-- A technology dependency for this technology. //-->
                                        <technology-level-dependency>
-                                               <name>{?technology_level_name?}</name>
-                                               <level>{?technology_level_level?}</level>
+                                               <technology-name>{?technology_level_name?}</technology-name>
+                                               <technology-type>{?technology_level_type?}</technology-type>
+                                               <technology-level>{?technology_level_level?}</technology-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-name>{?research_level_name?}</research-name>
+                                               <research-type>{?research_level_type?}</research-type>
+                                               <research-level>{?research_level_level?}</research-level>
                                        </research-level-dependency>
                                </research-dependency-list>
                        </level-dependencies>
@@ -62,16 +64,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <name>{?technology_name?}</name>
-                               <level>{?technology_level?}</level>
+                               <technology-name>{?technology_name?}</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>{?technology_level?}</technology-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-name>{?research_name?}</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>{?research_level?}</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index e67cbd7a241849ff90e0fc7e7e95279be4e806b4..0e21326342c88f8835ad9a611140067b482f6040 100644 (file)
@@ -23,25 +23,28 @@ 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>
+       <technology-data>
                <name>household_devices</name>
                <type>electronics</type>
-       </general-data>
+       </technology-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>plastics</name>
-                               <level>3</level>
+                               <technology-name>plastics</technology-name>
+                               <technology-type>chemicals</technology-type>
+                               <technology-level>3</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research proposal dependencies for this research. //-->
                <research-dependency-list>
+                       <!-- @TODO Find a research type //-->
                        <research-dependency>
-                               <name>electronics</name>
-                               <level>1</level>
+                               <research-name>electronics</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>1</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 247d8f2142ad967bc1e0157f24e2783fcea6ddd0..1e5471a14a56528aae96a97b31fcc2ef972e9242 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>intergrated_currents</name>
                <type>eletronics</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals to gain the first level of this technology. //-->
        <dependencies>
@@ -34,16 +34,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <name>transistor</name>
-                               <level>10</level>
+                               <technology-name>transistor</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>10</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
-                               <name>silicium_mining</name>
-                               <level>1</level>
+                               <research-name>silicium_mining</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>1</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 98c1fb4915cecab619dcfa3cd0a92ce79b4c2518..05bf5a195be1d48b1d342513bb6e1a13a3b12cc7 100644 (file)
@@ -23,21 +23,23 @@ 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>
+       <technology-data>
                <name>laboratory_equipment</name>
                <type>equipment</type>
-       </general-data>
+       </technology-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-name>plastics</technology-name>
+                               <technology-type>chemicals</technology-type>
+                               <technology-level>3</technology-level>
                        </technology-dependency>
                        <technology-dependency>
-                               <name>glass_making</name>
-                               <level>5</level>
+                               <technology-name>glass_making</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>5</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
        </dependencies>
index 901e7f465a9194b041589684e3f55749f679c7c6..4cc6656a87a0892458d32b71920552e979c69427 100644 (file)
@@ -23,33 +23,37 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <technology extends="architecture">
        <!-- General technology data like type, level, summary or description. //-->
-       <general-data>
+       <technology-data>
                <name>naval_architecture</name>
                <type>ship_construction</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
                <technology-dependency-list>
                        <technology-dependency>
-                               <name>architecture</name>
-                               <level>3</level>
+                               <technology-name>architecture</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>3</technology-level>
                        </technology-dependency>
                        <technology-dependency>
-                               <name>statics</name>
-                               <level>5</level>
+                               <technology-name>statics</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>5</technology-level>
                        </technology-dependency>
                        <technology-dependency>
-                               <name>drawings</name>
-                               <level>6</level>
+                               <technology-name>drawings</technology-name>
+                               <technology-type>{?technology_type?}</technology-type>
+                               <technology-level>6</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <research-dependency>
-                               <name>mathematics</name>
-                               <level>8</level>
+                               <research-name>mathematics</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>8</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 6eb2fac7894f63a7139022fae1dd4ff5d974d10b..b5b9048240430b0ad1b8b57347894b032f32c386 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>plastics</name>
                <type>production</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals to gain the first level of this technology. //-->
        <dependencies>
@@ -34,17 +34,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <!-- @TODO Find a chemical name for this technology. //-->
-                               <name>{?technology_name?}</name>
-                               <level>chemicals</level>
+                               <!-- @TODO Find a chemical name and level for this technology. //-->
+                               <technology-name>{?technology_name?}</technology-name>
+                               <technology-type>chemicals</technology-type>
+                               <technology-level>{?technology_name?}</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
-                               <name>chemistry</name>
-                               <level>3</level>
+                               <research-name>chemistry</research-name>
+                               <research-type>chemicals</research-type>
+                               <research-level>3</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 9603064b56b753fdb5fbb1faa8a7d22b62b6d321..e553156ec235312103f7eaad33bac183783996de 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>signal_amplifying</name>
                <type>electronics</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals to gain the first level of this technology. //-->
        <dependencies>
@@ -34,16 +34,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <name>transistor</name>
-                               <level>3</level>
+                               <technology-name>transistor</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>3</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
-                               <name>modulation</name>
-                               <level>1</level>
+                               <research-name>modulation</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>1</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index fa220cb2566ca2afa74357f1b1c9b0442bd36063..df1acde4fbb1a9a0fc3200b289cbd91076d7f709 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>signal_modulation</name>
                <type>electronics</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals to gain the first level of this technology. //-->
        <dependencies>
@@ -34,16 +34,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <name>transistor</name>
-                               <level>3</level>
+                               <technology-name>transistor</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>3</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
-                               <name>modulation</name>
-                               <level>1</level>
+                               <research-name>modulation</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>1</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 2f52c5e7cdf554155f5d9b7f131e37f829362d77..d434381484cd09215fde4c7c1f88968aed2af8f2 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>sound_equalizer</name>
                <type>electronic</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals to gain the first level of this technology. //-->
        <dependencies>
@@ -34,8 +34,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <name>transistor</name>
-                               <level>5</level>
+                               <technology-name>transistor</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>5</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
@@ -43,8 +44,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
-                               <name>{?research_name?}</name>
-                               <level>{?research_level?}</level>
+                               <research-name>{?research_name?}</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>{?research_level?}</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 436ccd7b5ba82147227fa62d06d0c451726bc53b..4adc30bdfd535365ac3668194e0a2dac350342c9 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>sound_processor</name>
                <type>electronic</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals to gain the first level of this technology. //-->
        <dependencies>
@@ -34,12 +34,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <name>intergrated_current</name>
-                               <level>7</level>
+                               <technology-name>intergrated_current</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>7</technology-level>
                        </technology-dependency>
                        <technology-dependency>
-                               <name>surround_mixing</name>
-                               <level>1</level>
+                               <technology-name>surround_mixing</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>1</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
@@ -47,8 +49,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
-                               <name>{?research_name?}</name>
-                               <level>{?research_level?}</level>
+                               <research-name>{?research_name?}</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>{?research_level?}</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 996a714b4d84cea8f0d44a48f357bac4f8253526..baa8ea2f00e9dd770f52487b215ac45e56cadb8c 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>surround_mixing</name>
                <type>electronic</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals to gain the first level of this technology. //-->
        <dependencies>
@@ -34,8 +34,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <name>intergrated_current</name>
-                               <level>6</level>
+                               <technology-name>intergrated_current</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>6</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
@@ -43,8 +44,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
-                               <name>{?research_name?}</name>
-                               <level>{?research_level?}</level>
+                               <research-name>{?research_name?}</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>{?research_level?}</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 4253aa2346770d48629f5e0705db9d42e8fe21de..6f32091264fa442f66ac744c5443bd46ec17c3eb 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>transistor</name>
                <type>eletronics</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals to gain the first level of this technology. //-->
        <dependencies>
@@ -34,20 +34,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <name>semiconductor</name>
-                               <level>1</level>
+                               <technology-name>semiconductor</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>1</technology-level>
                        </technology-dependency>
                        <technology-dependency>
-                               <name>plastics</name>
-                               <level>5</level>
+                               <technology-name>plastics</technology-name>
+                               <technology-type>chemicals</technology-type>
+                               <technology-level>5</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
                <research-dependency-list>
                        <!-- A research dependency for this technology. //-->
+                       <!-- @TODO Find a research type //-->
                        <research-dependency>
-                               <name>silicium_mining</name>
-                               <level>1</level>
+                               <research-name>silicium_mining</research-name>
+                               <research-type>{?research_type?}</research-type>
+                               <research-level>1</research-level>
                        </research-dependency>
                </research-dependency-list>
        </dependencies>
index 9d4d10c8ce4925f53c1cc27b809c1f6c70772251..c640d1f819dad16c40db0dd3eca4cb8c65d190fc 100644 (file)
@@ -23,10 +23,10 @@ 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>
+       <technology-data>
                <name>video_receiving</name>
                <type>eletronics</type>
-       </general-data>
+       </technology-data>
        <!-- A technology may depend on some other technologies or research
             proposals to gain the first level of this technology. //-->
        <dependencies>
@@ -34,16 +34,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <technology-dependency-list>
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
-                               <name>signal_amplifying</name>
-                               <level>1</level>
+                               <technology-name>signal_amplifying</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>1</technology-level>
                        </technology-dependency>
                        <technology-dependency>
-                               <name>signal_modulation</name>
-                               <level>1</level>
+                               <technology-name>signal_modulation</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>1</technology-level>
                        </technology-dependency>
                        <technology-dependency>
-                               <name>transistor</name>
-                               <level>1</level>
+                               <technology-name>transistor</technology-name>
+                               <technology-type>electronics</technology-type>
+                               <technology-level>1</technology-level>
                        </technology-dependency>
                </technology-dependency-list>
        </dependencies>