]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/game/farmer/base_farmer.xml
Added a count attribute to all list XML nodes (unhandled at the moment)
[shipsimu.git] / application / ship-simu / templates / game / farmer / base_farmer.xml
index 8388afb9440be500a0a05e7c53366b2e3b8a00c2..6542df2bdd511d103c6111fa4e69fef55be79705 100644 (file)
@@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                <experience>{?experience?}</experience>
        </farmer-data>
        <!-- List of all products this farmer is producing. //-->
-       <produce-list>
+       <produce-list produce-count="{?produce_count?}">
                <!-- A single produce this farmer is producing. //-->
                <produce>
                        <produce-id>{?produce_id?}</produce-id>
@@ -48,7 +48,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <produce-type>{?produce_type?}</produce-type>
                        <!-- A list of technology dependency required to create this
                             produce. //-->
-                       <technology-dependency-list>
+                       <technology-dependency-list technology-dependency-count="{?technology_dependency_count?}">
                                <!-- A single technology dependency. //-->
                                <technology-dependency>
                                        <technology-id>{?technology_id?}</technology-id>