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