Added a count attribute to all list XML nodes (unhandled at the moment)
[shipsimu.git] / application / ship-simu / templates / game / building / base_building.xml
index 5a0aafb6de968d1f0ffc6be130a53c0e99da3da0..09496903aa166758253729232ce0557bf090c043 100644 (file)
@@ -150,7 +150,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
             shipping company to construct this building. //-->
        <dependencies>
                <!-- A list of required technology to construct this building. //-->
-               <technology-dependency-list>
+               <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                        <!-- A single required technology to construct this building. //-->
                        <technology-dependency>
                                <technology-id>{?technology_id?}</technology-id>
@@ -161,7 +161,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                </technology-dependency-list>
        </dependencies>
        <!-- A list of floors this building has. //-->
-       <floor-list>
+       <floor-list floor-count="{?floor_count?}">
                <!-- A single floor where we can add rooms to. //-->
                <floor>
                </floor>