]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/game/container/base_container.xml
Major rewrite of game logic XMLs
[shipsimu.git] / application / ship-simu / templates / game / container / base_container.xml
index 2b229370c62817972cefc8ae4df71e8364f9b8f4..c95f4a51754df4d56bfd656e04f5077ab2cf3604 100644 (file)
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 //-->
 <container>
        <!-- Some general data about this container. //-->
 //-->
 <container>
        <!-- Some general data about this container. //-->
-       <general-data>
+       <container-data>
                <!-- Id and type of this container. //-->
                <id>{?id?}</id>
                <!-- Uni* name, mostly adapted from template name, for this container. //-->
                <!-- Id and type of this container. //-->
                <id>{?id?}</id>
                <!-- Uni* name, mostly adapted from template name, for this container. //-->
@@ -36,7 +36,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <length>{?length?}</length>
                        <height>{?height?}</height>
                </dimensions>
                        <length>{?length?}</length>
                        <height>{?height?}</height>
                </dimensions>
-       </general-data>
+       </container-data>
        <!-- The owner of the container, this should be a company, //-->
        <owner>
                <company id="{?owner_id?}" />
        <!-- The owner of the container, this should be a company, //-->
        <owner>
                <company id="{?owner_id?}" />
@@ -55,9 +55,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <content-list>
                <!-- A single content of the container which should be transportated. //-->
                <content>
        <content-list>
                <!-- A single content of the container which should be transportated. //-->
                <content>
-                       <id>{?content_id?}</id>
-                       <type>{?content_type?}</type>
-                       <amount>{?content_amount?}</amount>
+                       <content-id>{?content_id?}</content-id>
+                       <content-type>{?content_type?}</content-type>
+                       <content-amount>{?content_amount?}</content-amount>
                </content>
        </content-list>
        <!-- A system, freezer or colder or something else, which maintains a
                </content>
        </content-list>
        <!-- A system, freezer or colder or something else, which maintains a
@@ -67,8 +67,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
        <maintenance-system-list>
                <!-- A single maintenance system. //-->
                <maintenance-system>
        <maintenance-system-list>
                <!-- A single maintenance system. //-->
                <maintenance-system>
-                       <id>{?maintenance_id?}</id>
-                       <type>{?maintenance_type?}</type>
+                       <maintenance-id>{?maintenance_id?}</maintenance-id>
+                       <maintenance-name>{?maintenance_name?}</maintenance-name>
+                       <maintenance-type>{?maintenance_type?}</maintenance-type>
                </maintenance-system>
        </maintenance-system-list>
 </container>
                </maintenance-system>
        </maintenance-system-list>
 </container>