Added a count attribute to all list XML nodes (unhandled at the moment)
[shipsimu.git] / application / ship-simu / templates / game / electronic / hifi_system.xml
index dc1f63f3978c35f4f12d1328b4854f0c88d9c4f6..76a1a8e018a349f462f81003439275d47eb7f34c 100644 (file)
@@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             'electronics'. //-->
        <dependencies>
                <!-- A list technology dependencies for this electronical device. //-->
-               <technology-dependency-list>
+               <technology-dependency-list dependency-count="{?technology_dependency_count?}">
                        <!-- A single technollogical dependency. //-->
                        <technology-dependency>
                                <name>intergrated_currents</name>
@@ -58,7 +58,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- A list research dependencies for this electronical device. //-->
-               <research-dependency-list>
+               <research-dependency-list dependency-count="{?research_dependency_count?}">
                        <!-- A single research dependency. //-->
                        <research-dependency>
                                <name>electronics</name>