Added a count attribute to all list XML nodes (unhandled at the moment)
[shipsimu.git] / application / ship-simu / templates / game / electronic / radio_receiver.xml
index 7396eb010cc3d634b417e15605c63c9fca3ab9f5..ce5eb0d43b92f84d30c33086407c62633b06435b 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>
@@ -54,7 +54,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 technollogy dependency. //-->
                        <research-dependency>
                                <name>electronics</name>