Major rewrite of game logic XMLs
[shipsimu.git] / application / ship-simu / templates / game / building / research_lab.xml
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>