application/ship-simu/templates/de/game/company/.htaccess -text
application/ship-simu/templates/de/game/contract/.htaccess -text
application/ship-simu/templates/de/game/contract/base_contract.xml -text
-application/ship-simu/templates/de/game/contract/contract_types.xml -text
-application/ship-simu/templates/de/game/contract/signer_types.xml -text
application/ship-simu/templates/de/game/merchant/.htaccess -text
application/ship-simu/templates/de/game/research/.htaccess -text
+application/ship-simu/templates/de/game/research/base_research.xml -text
application/ship-simu/templates/de/game/resource/.htaccess -text
+application/ship-simu/templates/de/game/types/.htaccess -text
+application/ship-simu/templates/de/game/types/contract_types.xml -text
+application/ship-simu/templates/de/game/types/owner_occupants.xml -text
+application/ship-simu/templates/de/game/types/signer_types.xml -text
application/ship-simu/templates/de/html/.htaccess -text
application/ship-simu/templates/de/html/nav_advert.tpl -text
application/ship-simu/templates/de/html/selector_ship-simu.tpl -text
<![CDATA[{?building_description?}]]>
</description>
<general-data id="{?building_id?}" name="{?building_name?}">
- <owner id="{?owner_id?}" owned-start="{?owner_start_timestamp?}" owned-end="{?owner_end_timestamp?}" />
- <occupant id="{?occupant_id?}" owned-start="{?occupant_start_timestamp?}" owned-end="{?occupant_end_timestamp?}" />
+ <owner id="{?owner_id?}" type="{?owner_type?}" owned-start="{?owner_start_timestamp?}" owned-end="{?owner_end_timestamp?}" />
+ <occupant id="{?occupant_id?}" type="{?occupant_type?}" owned-start="{?occupant_start_timestamp?}" owned-end="{?occupant_end_timestamp?}" />
<constructed>
<construction-started timestamp="{?construction_start_timestamp?}" />
<construction-finished timestamp="{?construction_end_timestamp?}" />
must be understand by construction companies who made contracts with
the shipping company to construct this building. //-->
<depencies>
- <technology id="{?technology_id?}" level="{?technology_level?}" />
- <research id="{?research_id?}" level="{?research_level?}" />
+ <technology-list>
+ <technology id="{?technology_id?}" level="{?technology_level?}" />
+ </technology-list>
+ <research-list>
+ <research id="{?research_id?}" level="{?research_level?}" />
+ </research-list>
</depencies>
</building>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-All valid contract types.
-
-@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/>
-//-->
-<contract-types>
- <!-- A construction contract, possible signers: Construction company, customer, creditor //-->
- <contract-type type="construction_contract" max-signers="3">
- <!-- All valid signer types for this contract //-->
- <signer-types extends="signer_types">
- <signer-type type="gamer" slot="all" max="3" />
- <signer-type type="moneybank" slot="creditor" max="1" />
- <signer-type type="construction_company" slot="construction_company" max="1" />
- </signer-types>
- <!-- And the corresponding slot types //-->
- <slots>
- <slot type="construction_company" must-have="true" />
- <slot type="customer" must-have="true" />
- <slot type="creditor" must-have="false" />
- </slots>
- </contract-type>
-</contract-types>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-All valid signer types and how they should translated into database and table
-names.
-
-@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/>
-//-->
-<signer-types>
- <!-- The type 'gamer' which is in facts the user. //-->
- <signer-type type="gamer" table="user" column="userid" />
- <!-- @TODO Add more types, e.g. company //-->
-</signer-types>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+This is a general research proposal template. A research is the theoretical
+requirement to gain a specific technology or to be able to construct special
+buildings, ships et cetera. A research may not be gainable but conductable e.g.
+in a research lab.
+
+@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/>
+//-->
+<research-proposal>
+ <!-- General data of this research like id, summar or description. //-->
+ <research-data id="{?id?}" type="{?type?}">
+ <!-- @TODO We need to add something that allows the simulation to e.g.
+ @TODO decrease building time or higher efficience of certain
+ @TODO facilities. Currently, a research proposal is only used as a
+ @TODO depency. //-->
+ <!-- A brief summary for this research proposal. //-->
+ <research-summary>
+ <![CDATA[{?summary?}]]>
+ </research-summary>
+ <!-- A full description for this research proposal. //-->
+ <research-description>
+ <![CDATA[{?description?}]]>
+ </research-description>
+ </research-data>
+ <!-- This is somewhat a "research history". //-->
+ <research-level-list>
+ <!-- A research level X has its own brief summary and a full description.
+ It also can have depencies which makes it possible to add different
+ depencies for higher research levels. //-->
+ <research-level level="{?level?}">
+ <!-- When the research of this level has been started ... //-->
+ <research-started timestamp="{?started?}" />
+ <!-- ... and when it has ended so when the research results are
+ available. //-->
+ <research-finished timestamp="{?finished?}" />
+ <!-- A brief summary for this research level. //-->
+ <level-summary>
+ <![CDATA[{?level_summary?}]]>
+ </level-summary>
+ <!-- A full description for this research level. //-->
+ <level-description>
+ <![CDATA[{?level_description?}]]>
+ </level-description>
+ <!-- A research level may depend on none, some or all of these
+ 'depency types'. We are doing this this way to keep this XML
+ simple but still flexible enougth to fit all proposal needs. //-->
+ <technology-depency-list>
+ <technology-depency id="{?technology_id?}" level="{?technology_level?}" />
+ </technology-depency-list>
+ <research-depency-list>
+ <research-depency id="{?research_id?}" level="{?research_level?}" />
+ </research-depency-list>
+ <building-depency-list>
+ <building-depency type="{?building_type?}" />
+ </building-depency-list>
+ </research-level>
+ </research-level-list>
+</research-proposal>
--- /dev/null
+Deny from all
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid contract types.
+
+@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/>
+//-->
+<contract-list>
+ <!-- A construction contract, possible signers: Construction company, customer, creditor //-->
+ <contract-type type="construction_contract" max-signers="3">
+ <!-- All valid signer types for this contract //-->
+ <signer-types extends="signer_types">
+ <signer-type type="gamer" slot="all" max="3" />
+ <signer-type type="moneybank" slot="creditor" max="1" />
+ <signer-type type="construction_company" slot="construction_company" max="1" />
+ </signer-types>
+ <!-- And the corresponding slot types //-->
+ <slots>
+ <slot type="construction_company" must-have="true" />
+ <slot type="customer" must-have="true" />
+ <slot type="creditor" must-have="false" />
+ </slots>
+ </contract-type>
+</contract-type-list>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All types of owners and occupants
+
+@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
+@todo Unfinished definirion
+
+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/>
+//-->
+<owner-occupants>
+</owner-occupants>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+All valid signer types and how they should translated into database and table
+names.
+
+@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/>
+//-->
+<signer-type-list>
+ <!-- The type 'gamer' which is in facts the user. //-->
+ <signer-type type="gamer" table="user" column="userid" />
+ <!-- @TODO Add more types, e.g. company //-->
+</signer-types-list>