From e65764ec1e4c0faef5a147920fa68c37597d914f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 13 Sep 2009 13:48:07 +0000 Subject: [PATCH] Minerals template added, some rewritten, comments added: - New template base_mineral.xml added which can be used for custom minerals to fit into the Ship-Simu engine. - A lot list tags in many templates rewritten. We now use -list as a tag suffix for any lists. - A lot more comments added to make the XMLs more clear. - Research depency removed from building because the technology is the physical representation of the research results... :) --- .gitattributes | 6 +++ .../ship-simu/templates/de/game/!MISSING | 1 - .../de/game/building/base_building.xml | 41 ++++++++++++----- .../de/game/contract/base_contract.xml | 9 ++-- .../de/game/merchant/base_merchant.xml | 40 +++++++++++++++++ .../templates/de/game/mineral/.htaccess | 1 + .../de/game/mineral/base_mineral.xml | 45 +++++++++++++++++++ .../de/game/research/base_research.xml | 13 +++--- .../de/game/resource/base_resource.xml | 44 ++++++++++++++++++ .../de/game/types/contract_types.xml | 2 +- .../de/game/types/merchant_types.xml | 25 +++++++++++ .../templates/de/game/types/signer_types.xml | 4 +- .../de/game/types/technology_types.xml | 25 +++++++++++ 13 files changed, 232 insertions(+), 24 deletions(-) create mode 100644 application/ship-simu/templates/de/game/merchant/base_merchant.xml create mode 100644 application/ship-simu/templates/de/game/mineral/.htaccess create mode 100644 application/ship-simu/templates/de/game/mineral/base_mineral.xml create mode 100644 application/ship-simu/templates/de/game/resource/base_resource.xml create mode 100644 application/ship-simu/templates/de/game/types/merchant_types.xml create mode 100644 application/ship-simu/templates/de/game/types/technology_types.xml diff --git a/.gitattributes b/.gitattributes index ab6dbf2..1146872 100644 --- a/.gitattributes +++ b/.gitattributes @@ -281,15 +281,21 @@ 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/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/mineral/base_mineral.xml -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/resource/base_resource.xml -text application/ship-simu/templates/de/game/technology/.htaccess -text application/ship-simu/templates/de/game/technology/base_technology.xml -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/merchant_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/game/types/technology_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 diff --git a/application/ship-simu/templates/de/game/!MISSING b/application/ship-simu/templates/de/game/!MISSING index b2730b9..6c8b968 100644 --- a/application/ship-simu/templates/de/game/!MISSING +++ b/application/ship-simu/templates/de/game/!MISSING @@ -1,4 +1,3 @@ - diff --git a/application/ship-simu/templates/de/game/building/base_building.xml b/application/ship-simu/templates/de/game/building/base_building.xml index c95b581..5abfa67 100644 --- a/application/ship-simu/templates/de/game/building/base_building.xml +++ b/application/ship-simu/templates/de/game/building/base_building.xml @@ -24,20 +24,40 @@ along with this program. If not, see - + + + + {?width?} + + {?height?} + + {?length?} + + - + + + + + + + + + + + @@ -89,15 +109,14 @@ along with this program. If not, see - + - - - - - - + + + + + diff --git a/application/ship-simu/templates/de/game/contract/base_contract.xml b/application/ship-simu/templates/de/game/contract/base_contract.xml index d8e73d1..06a9d7c 100644 --- a/application/ship-simu/templates/de/game/contract/base_contract.xml +++ b/application/ship-simu/templates/de/game/contract/base_contract.xml @@ -23,21 +23,24 @@ along with this program. If not, see //--> - + - + + + + - + diff --git a/application/ship-simu/templates/de/game/merchant/base_merchant.xml b/application/ship-simu/templates/de/game/merchant/base_merchant.xml new file mode 100644 index 0000000..741afa9 --- /dev/null +++ b/application/ship-simu/templates/de/game/merchant/base_merchant.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + {?resource_amount?} + {?resource_added?} + {?resource_remoed?} + + + diff --git a/application/ship-simu/templates/de/game/mineral/.htaccess b/application/ship-simu/templates/de/game/mineral/.htaccess new file mode 100644 index 0000000..3a42882 --- /dev/null +++ b/application/ship-simu/templates/de/game/mineral/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/application/ship-simu/templates/de/game/mineral/base_mineral.xml b/application/ship-simu/templates/de/game/mineral/base_mineral.xml new file mode 100644 index 0000000..0d61e0a --- /dev/null +++ b/application/ship-simu/templates/de/game/mineral/base_mineral.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/application/ship-simu/templates/de/game/research/base_research.xml b/application/ship-simu/templates/de/game/research/base_research.xml index 33fe084..43e1154 100644 --- a/application/ship-simu/templates/de/game/research/base_research.xml +++ b/application/ship-simu/templates/de/game/research/base_research.xml @@ -31,12 +31,13 @@ along with this program. If not, see to existing technology or how research is conducted. Some research may have multiple results and they all might not be good. //--> - + - - + + + + + @@ -77,7 +78,7 @@ along with this program. If not, see - + diff --git a/application/ship-simu/templates/de/game/resource/base_resource.xml b/application/ship-simu/templates/de/game/resource/base_resource.xml new file mode 100644 index 0000000..386a4c4 --- /dev/null +++ b/application/ship-simu/templates/de/game/resource/base_resource.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/application/ship-simu/templates/de/game/types/contract_types.xml b/application/ship-simu/templates/de/game/types/contract_types.xml index 50a23be..5d383ac 100644 --- a/application/ship-simu/templates/de/game/types/contract_types.xml +++ b/application/ship-simu/templates/de/game/types/contract_types.xml @@ -26,7 +26,7 @@ along with this program. If not, see - + diff --git a/application/ship-simu/templates/de/game/types/merchant_types.xml b/application/ship-simu/templates/de/game/types/merchant_types.xml new file mode 100644 index 0000000..d4ec91b --- /dev/null +++ b/application/ship-simu/templates/de/game/types/merchant_types.xml @@ -0,0 +1,25 @@ + + + + diff --git a/application/ship-simu/templates/de/game/types/signer_types.xml b/application/ship-simu/templates/de/game/types/signer_types.xml index 8b9ff18..7a5df3b 100644 --- a/application/ship-simu/templates/de/game/types/signer_types.xml +++ b/application/ship-simu/templates/de/game/types/signer_types.xml @@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see //--> - - + + diff --git a/application/ship-simu/templates/de/game/types/technology_types.xml b/application/ship-simu/templates/de/game/types/technology_types.xml new file mode 100644 index 0000000..f80f8f6 --- /dev/null +++ b/application/ship-simu/templates/de/game/types/technology_types.xml @@ -0,0 +1,25 @@ + + + + -- 2.30.2