Added a count attribute to all list XML nodes (unhandled at the moment)
[shipsimu.git] / application / ship-simu / templates / game / building / advanced_research_lab.xml
index 2556eaad268c165bcbebea183aa283f5f2ead7b2..48d3e5ec8c50dffe58c569f0bfeace61164da068 100644 (file)
@@ -36,7 +36,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <dependencies>
                <!-- A list of required technology to construct this building. //-->
                <!-- @TODO Find technology types //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- Arcgictecture is required. //-->
                        <technology-dependency>
                                <technology-name>architecture</technology-name>
@@ -44,7 +44,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                                <technology-level>10</technology-level>
                        </technology-dependency>
                        <!-- Labory equipment is required. //-->
-                       <technology-dependency>
+                       <technology-dependency research-dependency-count="{?research_dependency_count?}">
                                <technology-name>laboratory_equipment</technology-name>
                                <technology-type>{?technology_type?}</technology-type>
                                <technology-level>8</technology-level>