]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/de/game/building/base_building.xml
Minerals template added, some rewritten, comments added:
[shipsimu.git] / application / ship-simu / templates / de / game / building / base_building.xml
index c95b581cf21291740bdec58e914b57016822ad00..5abfa67e0d0e774ff89b591099519d90bdd74959 100644 (file)
@@ -24,20 +24,40 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
 <building>
        <!-- General building data //-->
        <building-data>
-               <dimension width="{?width?}" length="{?length?}" height="{?height?}" />
+               <!-- Estimated dimensions of the building. //-->
+               <dimension>
+                       <!-- Width of the building. //-->
+                       <width>{?width?}</width>
+                       <!-- Height of the building. //-->
+                       <height>{?height?}</height>
+                       <!-- Length of the building. //-->
+                       <length>{?length?}</length>
+               </dimension>
+               <!-- A full description of this building. //-->
                <description>
                        <![CDATA[{?description?}]]>
                </description>
-               <general-data id="{?id?}" name="{?name?}">
+               <!-- General data, like short name, type, level and many more. //-->
+               <general-data id="{?id?}" name="{?name?}" type="{?type?}" level="{?level?}">
+                       <!-- The owner of this building. //-->
                        <owner id="{?owner_id?}" type="{?owner_type?}" owned-start="{?owner_start_timestamp?}" owned-end="{?owner_end_timestamp?}" />
+                       <!-- The occupant of this building. //-->
                        <occupant id="{?occupant_id?}" type="{?occupant_type?}" owned-start="{?occupant_start_timestamp?}" owned-end="{?occupant_end_timestamp?}" />
+                       <!-- When this building was constructed. //-->
                        <constructed>
+                               <!-- When construction has started. //-->
                                <construction-started timestamp="{?construction_start_timestamp?}" />
+                               <!-- And when it was finished. //-->
                                <construction-finished timestamp="{?construction_end_timestamp?}" />
                        </constructed>
+                       <!-- When this building was destructed. //-->
                        <destructed>
+                               <!-- When destruction has started. //-->
                                <destruction-started timestamp="{?destruction_start_timestamp?}" />
+                               <!-- And when it was finished. //-->
                                <destruction-finished timestamp="{?destruction_end_timestamp?}" />
+                               <!-- A short reason why this building must be destructed or
+                                    demolished. //-->
                                <destruction-reason>
                                        <![CDATA[{?destruction_reason?}]]>
                                </destruction-reason>
@@ -89,15 +109,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
                        <agreement id="{?mortage_id?}">
                </mortgage>
        </costs>
-       <!-- We also have technology and research denpencies for a building. These
-            must be understand by construction companies who made contracts with
-            the shipping company to construct this building. //-->
+       <!-- We also have technology denpencies for a building. These must be
+            understand by construction companies who made contracts with the
+            shipping company to construct this building. //-->
        <depencies>
-               <technology-list>
-                       <technology id="{?technology_id?}" level="{?technology_level?}" />
-               </technology-list>
-               <research-list>
-                       <research id="{?research_id?}" level="{?research_level?}" />
-               </research-list>
+               <!-- A list of required technology to construct this building. //-->
+               <technology-depency-list>
+                       <!-- A single required technology to construct this building. //-->
+                       <technology-depency id="{?technology_id?}" level="{?technology_level?}" />
+               </technology-depency-list>
        </depencies>
 </building>