application/ship-simu/templates/de/game/contract/base_contract.xml -text
application/ship-simu/templates/de/game/electronic/.htaccess -text
application/ship-simu/templates/de/game/electronic/base_electronic.xml -text
+application/ship-simu/templates/de/game/engine/.htaccess -text
+application/ship-simu/templates/de/game/engine/base_engine.xml -text
application/ship-simu/templates/de/game/merchant/.htaccess -text
application/ship-simu/templates/de/game/merchant/base_merchant.xml -text
application/ship-simu/templates/de/game/mineral/.htaccess -text
application/ship-simu/templates/de/game/technology/drawings.xml -text
application/ship-simu/templates/de/game/technology/glass_making.xml -text
application/ship-simu/templates/de/game/technology/laboratory_equipment.xml -text
+application/ship-simu/templates/de/game/technology/naval_architecture.xml -text
application/ship-simu/templates/de/game/technology/plastics.xml -text
application/ship-simu/templates/de/game/technology/statics.xml -text
application/ship-simu/templates/de/game/types/.htaccess -text
<general-data>
<!-- Id and type for this electronic. //-->
<id>{?id?}</id>
+ <name>{?name?}</name>
<type>{?type?}</type>
<!-- Simplified dimension of the electronics because it will be placed
into a small box for transportation. //-->
<length>{?length?}</length>
</dimension>
</general-data>
+ <!-- An electronical device may depend on one or more technologies, at least
+ 'electronics'. //-->
+ <dependencies>
+ <!-- A list technology dependencies for this electronical device. //-->
+ <technology-dependency-list>
+ <!-- A single technollogical dependency. //-->
+ <technology-dependency>
+ <id>{?technology_id?}</id>
+ <name>{?technology_name?}</name>
+ <type>{?technology_type?}</type>
+ </technology-dependency>
+ </technology-dependency-list>
+ <!-- A list research proposal dependencies for this electronical device. //-->
+ <research-dependency-list>
+ <!-- A single technollogical dependency. //-->
+ <research-dependency>
+ <id>{?research_id?}</id>
+ <name>{?research_name?}</name>
+ <type>{?research_type?}</type>
+ </research-dependency>
+ </research-dependency-list>
+ </dependencies>
</electronic>
--- /dev/null
+Deny from all
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general engine template.
+
+@author Roland Haeder <webmaster@ship-simu.org>
+@version 0.0.0
+@copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license GNU GPL 3.0 or any newer version
+@link http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<engine>
+</engine>
<!-- General data about this merchant like id, type, summary or description. //-->
<general-data>
<id>{?id?}</id>
+ <name>{?name?}</name>
<type>{?type?</type>
<!-- A summary what this merchant is trading. //-->
- <merchant-summary>
+ <summary>
<![CDATA[{?summary?}]]>
- </merchant-summary>
+ </summary>
<!-- A full description about this merchant. //-->
- <merchant-description>
+ <description>
<![CDATA[{?description?}]]>
- </merchant-description>
+ </description>
</general-data>
- <!-- A detailed trading list of resources for this merchant. Amount, when
+ <!-- The owner of this merchant. If left out the AI of the game will play
+ this merchant. //-->
+ <owner>
+ <company id="{?owner_id?}" />
+ </owner>
+ <!-- A detailed trading list of goods this merchant is trading. Amount, when
the first item was added or the last one was removed are being stored
- with every resource. //-->
- <resource-list>
- <!-- A single resource this merchant is trading. //-->
- <resource
- <id>{?resource_id?}</id>
- <amount>{?resource_amount?}</amount>
- <first-added>{?resource_added?}</first-added>
- <last-removed>{?resource_remoed?}</last-removed>
- </resource>
- </resource-list>
+ with every goods. //-->
+ <goods-list>
+ <!-- A single goods this merchant is trading. //-->
+ <goods>
+ <id>{?goods_id?}</id>
+ <name>{?goods_name?}</name>
+ <type>{?goods_type?}</type>
+ <amount>{?goods_amount?}</amount>
+ <first-added>{?goods_added?}</first-added>
+ <last-removed>{?goods_remoed?}</last-removed>
+ </goods>
+ </goods-list>
</merchant>
<id>{?id?}</id>
<type>{?type?}</type>
<!-- A summary for this mineral. //-->
- <mineral-summary>
+ <summary>
<![CDATA[{?summary?}]]>
- </mineral-summary>
+ </summary>
<!-- A full description for this mineral. //-->
- <mineral-description>
+ <description>
<![CDATA[{?description?}]]>
- </mineral-description>
+ </description>
</general-data>
<!-- To mine some minerals some knowledge in one or two technologies is
required. Here you can list each technology with its required level. //-->
<technology-dependency-list>
<!-- A single technology required to mine this mineral. //-->
- <technology-dependency id="{?technology_id?}" level="{?technology_level?}" />
+ <technology-dependency>
+ <id>{?technology_id?}</id>
+ <name>{?technology_name?}</name>
+ <level>{?technology_level?}</level>
+ </technology-dependency>
</technology-dependency-list>
</mineral>
</research-result>
</research-result-list>
<!-- A summary for this research proposal. //-->
- <research-summary>
+ <summary>
<![CDATA[{?summary?}]]>
- </research-summary>
+ </summary>
<!-- A full description for this research proposal. //-->
- <research-description>
+ <description>
<![CDATA[{?description?}]]>
- </research-description>
+ </description>
</research-data>
<!-- This is somewhat a "research history". //-->
<research-level-list>
'dependency types'. We are doing this this way to keep this XML
simple but still flexible enougth to fit all proposal needs. //-->
<technology-dependency-list>
- <technology-dependency id="{?technology_id?}" level="{?technology_level?}" />
+ <technology-dependency>
+ <id>{?technology_id?</id>
+ <name>{?technology_name?</name>
+ <level>{?technology_level?}</level>
+ </technology-dependency>
</technology-dependency-list>
<research-dependency-list>
- <research-dependency id="{?research_id?}" level="{?research_level?}" />
+ <research-dependency>
+ <id>{?research_id?}</id>
+ <name>{?research_id?}</name>
+ <level>{?research_level?}</level>
+ </research-dependency>
</research-dependency-list>
<building-dependency-list>
- <building-dependency id="{?building_id?}" level="{?building_level?}" />
+ <building-dependency>
+ <id>{?building_id?}</id>
+ <name>{?building_name?}</name>
+ <level>{?building_level?}</level>
+ </building-dependency>
</building-dependency-list>
</research-level>
</research-level-list>
<name>{?name?}</name>
<type>{?type?}</type>
<!-- A summary for this resource. //-->
- <resource-summary>
+ <summary>
<![CDATA[{?summary?}]]>
- </resource-summary>
+ </summary>
<!-- A full description for this resource. //-->
- <resource-description>
+ <description>
<![CDATA[{?description?}]]>
- </resource-description>
+ </description>
</general-data>
<!-- To harvest some resource some knowledge in one or two technologies is
required. Here you can list each technology with its required level. //-->
<!-- @TODO This section is not complete. //-->
</fire-system>
</ship-systems>
+ <!-- Ships depend on several technologies and maybe research proposals. //-->
+ <dependencies>
+ <!-- A list of technology dependencies for this ship. //-->
+ <technology-dependency-list>
+ <!-- A single technology dependencies for this ship. //-->
+ <technology-dependency>
+ </technology-dependency>
+ </technology-dependency-list>
+ <!-- A list of research proposals dependencies for this ship. //-->
+ <research-dependency-list>
+ <!-- A single research proposals dependencies for this ship. //-->
+ <research-dependency>
+ </research-dependency>
+ </research-dependency-list>
+ </dependencies>
</ship>
<level>5</level>
</technology-dependency>
</technology-dependency-list>
- <!-- All research dependencies for this technology. //-->
+ <!-- All research proposal dependencies for this technology. //-->
<research-dependency-list>
<research-dependency>
<name>mathematics</name>
<!-- The date/time when this technology was gained, e.g. by research. //-->
<technology-gained timestamp="{?gained?}" />
<!-- A summary of this technology. //-->
- <technology-summary>
+ <summary>
<![CDATA[{?summary?}]]>
- </technology-summary>
+ </summary>
<!-- A full description of this technology. //-->
- <technology-description>
+ <description>
<![CDATA[{?description?}]]>
- </technology-description>
+ </description>
</general-data>
<!-- All levels of this technology are held in this tag. //-->
<technology-level-list>
<![CDATA[{?level_summary?}]]>
</technology-level-summary>
<!-- A full description of this technology level. //-->
- <technology-level-description>
+ <level-description>
<![CDATA[{?level_description?}]]>
- </technology-level-description>
+ </level-description>
<!-- A specific technology level may depend on some further technologies or research
proposals. //-->
<level-dependencies>
<level>{?technology_level_level?}</level>
</technology-level-dependency>
</technology-level-dependency-list>
- <!-- All research dependencies for this technology. //-->
+ <!-- All research proposal dependencies for this technology. //-->
<research-level-dependency-list>
- <!-- A research dependency for this technology. //-->
+ <!-- A research proposal dependency for this technology. //-->
<research-level-dependency>
<id>{?research_level_id?}</id>
<name>{?research_level_name?}</name>
<level>{?technology_level?}</level>
</technology-dependency>
</technology-dependency-list>
- <!-- All research dependencies for this technology. //-->
+ <!-- All research proposal dependencies for this technology. //-->
<research-dependency-list>
- <!-- A research dependency for this technology. //-->
+ <!-- A research proposal dependency for this technology. //-->
<research-dependency>
<id>{?research_id?}</id>
<name>{?research_name?}</name>
<level>{?technology_level_level?}</level>
</technology-level-dependency>
</technology-level-dependency-list>
- <!-- All research dependencies for this technology. //-->
+ <!-- All research proposal dependencies for this technology. //-->
<research-level-dependency-list>
- <!-- A research dependency for this technology. //-->
+ <!-- A research proposal dependency for this technology. //-->
<research-level-dependency>
<name>{?research_level_name?}</name>
<level>{?research_level_level?}</level>
<level>{?technology_level?}</level>
</technology-dependency>
</technology-dependency-list>
- <!-- All research dependencies for this technology. //-->
+ <!-- All research proposal dependencies for this technology. //-->
<research-dependency-list>
- <!-- A research dependency for this technology. //-->
+ <!-- A research proposal dependency for this technology. //-->
<research-dependency>
<name>{?research_name?}</name>
<level>{?research_level?}</level>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A naval architecture technology template.
+
+@author Roland Haeder <webmaster@ship-simu.org>
+@version 0.0.0
+@copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license GNU GPL 3.0 or any newer version
+@link http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<technology extends="architecture">
+ <!-- General technology data like type, level, summary or description. //-->
+ <general-data>
+ <name>naval_architecture</name>
+ <type>ship_construction</type>
+ </general-data>
+ <!-- A technology may depend on some other technologies or research
+ proposals. //-->
+ <dependencies>
+ <!-- All technology dependencies for this technology. //-->
+ <technology-dependency-list>
+ <technology-dependency>
+ <name>architecture</name>
+ <level>3</level>
+ </technology-dependency>
+ <technology-dependency>
+ <name>statics</name>
+ <level>5</level>
+ </technology-dependency>
+ <technology-dependency>
+ <name>drawings</name>
+ <level>6</level>
+ </technology-dependency>
+ </technology-dependency-list>
+ <!-- All research proposal dependencies for this technology. //-->
+ <research-dependency-list>
+ <research-dependency>
+ <name>mathematics</name>
+ <level>8</level>
+ </research-dependency>
+ </research-dependency-list>
+ </dependencies>
+</technology>
<level>{?technology_level_level?}</level>
</technology-level-dependency>
</technology-level-dependency-list>
- <!-- All research dependencies for this technology. //-->
+ <!-- All research proposal dependencies for this technology. //-->
<research-level-dependency-list>
- <!-- A research dependency for this technology. //-->
+ <!-- A research proposal dependency for this technology. //-->
<research-level-dependency>
<name>{?research_level_name?}</name>
<level>{?research_level_level?}</level>
<level>chemicals</level>
</technology-dependency>
</technology-dependency-list>
- <!-- All research dependencies for this technology. //-->
+ <!-- All research proposal dependencies for this technology. //-->
<research-dependency-list>
- <!-- A research dependency for this technology. //-->
<research-dependency>
- <name>{?research_name?}</name>
- <level>{?research_level?}</level>
+ <name>chemistry</name>
+ <level>3</level>
</research-dependency>
</research-dependency-list>
</dependencies>
<!-- A technology may depend on some other technologies or research
proposals. //-->
<dependencies>
- <!-- All research dependencies for this technology. //-->
+ <!-- All research proposal dependencies for this technology. //-->
<research-dependency-list>
<research-dependency>
<name>mathematics</name>
<technology-type type="base" />
<!-- Technology required for construction of buildings. //-->
<technology-type type="building" />
+ <!-- Different chemicals. //-->
+ <technology-type type="chemicals" />
<!-- Technologies for different constructions. //-->
<technology-type type="construction" />
<!-- Different equipment technologies. //-->
<technology-type type="equipment" />
<!-- Different production technologies. //-->
<technology-type type="production" />
- <!-- Different chemicals. //-->
- <technology-type type="chemicals" />
+ <!-- Technologies for different ship constructions. //-->
+ <technology-type type="ship_construction" />
</technology-type-list>