Added a count attribute to all list XML nodes (unhandled at the moment)
[shipsimu.git] / application / ship-simu / templates / game / technology / plastics.xml
index b5b9048240430b0ad1b8b57347894b032f32c386..94f2720c124347abdf79151d882ec9263d095377 100644 (file)
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             proposals to gain the first level of this technology. //-->
        <dependencies>
                <!-- All technology dependencies for this technology. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A technology dependency for this technology. //-->
                        <technology-dependency>
                                <!-- @TODO Find a chemical name and level for this technology. //-->
@@ -41,7 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        </technology-dependency>
                </technology-dependency-list>
                <!-- All research dependencies for this technology. //-->
-               <research-dependency-list>
+               <research-dependency-list research-dependency-count="{?research_dependency_count?}">
                        <!-- A research dependency for this technology. //-->
                        <research-dependency>
                                <research-name>chemistry</research-name>