From c17e7c7e7a51a720753420156caa6ab4d2a9122e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 25 Sep 2009 21:06:32 +0000 Subject: [PATCH] Statics is no longer a technology, cellphone added, several fixes: - Statics is now a research proposal and therefore no longer a technology - Several rewrites of templates from attributed to nodes (next rewrite-wave) - New electronics 'cellphone' added - New technology 'cellular network' added - Some fixes --- .gitattributes | 4 +- .../de/game/electronic/base_electronic.xml | 6 +- .../de/game/electronic/cellphone.xml | 62 +++++++++++++++ .../de/game/merchant/base_merchant.xml | 38 ++++------ .../de/game/mineral/base_mineral.xml | 14 ++-- .../de/game/research/base_research.xml | 75 ++++++++++++------- .../templates/de/game/research/statics.xml | 51 +++++++++++++ .../de/game/resource/base_resource.xml | 8 +- .../templates/de/game/ship/base_ship.xml | 6 ++ .../de/game/technology/architecture.xml | 10 +-- .../de/game/technology/base_technology.xml | 20 ++--- .../{statics.xml => cellular_network.xml} | 22 ++++-- .../de/game/technology/glass_making.xml | 8 +- .../de/game/technology/naval_architecture.xml | 2 +- .../templates/de/game/technology/plastics.xml | 6 +- .../de/game/types/electronic_types.xml | 8 +- .../de/game/types/technology_types.xml | 2 + 17 files changed, 242 insertions(+), 100 deletions(-) create mode 100644 application/ship-simu/templates/de/game/electronic/cellphone.xml create mode 100644 application/ship-simu/templates/de/game/research/statics.xml rename application/ship-simu/templates/de/game/technology/{statics.xml => cellular_network.xml} (68%) diff --git a/.gitattributes b/.gitattributes index 3beebd7..a94be23 100644 --- a/.gitattributes +++ b/.gitattributes @@ -286,6 +286,7 @@ 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/electronic/.htaccess -text application/ship-simu/templates/de/game/electronic/base_electronic.xml -text +application/ship-simu/templates/de/game/electronic/cellphone.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 @@ -295,6 +296,7 @@ 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/research/mathematics.xml -text +application/ship-simu/templates/de/game/research/statics.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/ship/.htaccess -text @@ -302,12 +304,12 @@ application/ship-simu/templates/de/game/ship/base_ship.xml -text application/ship-simu/templates/de/game/technology/.htaccess -text application/ship-simu/templates/de/game/technology/architecture.xml -text application/ship-simu/templates/de/game/technology/base_technology.xml -text +application/ship-simu/templates/de/game/technology/cellular_network.xml -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 application/ship-simu/templates/de/game/types/building_types.xml -text application/ship-simu/templates/de/game/types/container_types.xml -text diff --git a/application/ship-simu/templates/de/game/electronic/base_electronic.xml b/application/ship-simu/templates/de/game/electronic/base_electronic.xml index 1a45f15..932eca9 100644 --- a/application/ship-simu/templates/de/game/electronic/base_electronic.xml +++ b/application/ship-simu/templates/de/game/electronic/base_electronic.xml @@ -51,16 +51,16 @@ along with this program. If not, see {?technology_id?} {?technology_name?} - {?technology_type?} + {?technology_level?} - + {?research_id?} {?research_name?} - {?research_type?} + {?research_level?} diff --git a/application/ship-simu/templates/de/game/electronic/cellphone.xml b/application/ship-simu/templates/de/game/electronic/cellphone.xml new file mode 100644 index 0000000..0dcbe98 --- /dev/null +++ b/application/ship-simu/templates/de/game/electronic/cellphone.xml @@ -0,0 +1,62 @@ + + + + + + + cellphone + communication + + + 30 + 35 + 30 + + + + + + + + cellular_network + 1 + + + + + + + {?research_id?} + {?research_name?} + {?research_level?} + + + + diff --git a/application/ship-simu/templates/de/game/merchant/base_merchant.xml b/application/ship-simu/templates/de/game/merchant/base_merchant.xml index dbbf124..d075c00 100644 --- a/application/ship-simu/templates/de/game/merchant/base_merchant.xml +++ b/application/ship-simu/templates/de/game/merchant/base_merchant.xml @@ -25,34 +25,26 @@ along with this program. If not, see {?id?} - {?name?} {?type? - + - + - + - + - - - - - - - - - {?goods_id?} - {?goods_name?} - {?goods_type?} - {?goods_amount?} - {?goods_added?} - {?goods_remoed?} - - + with every resource. //--> + + + {?resource_id?} + {?resource_amount?} + {?resource_added?} + {?resource_remoed?} + + diff --git a/application/ship-simu/templates/de/game/mineral/base_mineral.xml b/application/ship-simu/templates/de/game/mineral/base_mineral.xml index e7fa976..e114e4b 100644 --- a/application/ship-simu/templates/de/game/mineral/base_mineral.xml +++ b/application/ship-simu/templates/de/game/mineral/base_mineral.xml @@ -30,22 +30,18 @@ along with this program. If not, see {?id?} {?type?} - + - + - + - + - - {?technology_id?} - {?technology_name?} - {?technology_level?} - + 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 8a99495..de2e7aa 100644 --- a/application/ship-simu/templates/de/game/research/base_research.xml +++ b/application/ship-simu/templates/de/game/research/base_research.xml @@ -45,13 +45,13 @@ along with this program. If not, see - + - + - + - + @@ -76,27 +76,52 @@ along with this program. If not, see - - - {?technology_id? - {?technology_name? - {?technology_level?} - - - - - {?research_id?} - {?research_id?} - {?research_level?} - - - - - {?building_id?} - {?building_name?} - {?building_level?} - - + + + + {?level_technology_id?} + {?level_technology_name?} + {?level_technology_level?} + + + + + {?level_research_id?} + {?level_research_name?} + {?level_research_level?} + + + + + {?level_building_id?} + {?level_building_name?} + {?level_building_level?} + + + + + + + {?technology_id?} + {?technology_name?} + {?technology_level?} + + + + + {?research_id?} + {?research_name?} + {?research_level?} + + + + + {?building_id?} + {?building_name?} + {?building_level?} + + + diff --git a/application/ship-simu/templates/de/game/research/statics.xml b/application/ship-simu/templates/de/game/research/statics.xml new file mode 100644 index 0000000..d82085d --- /dev/null +++ b/application/ship-simu/templates/de/game/research/statics.xml @@ -0,0 +1,51 @@ + + + + + + statics + construction + 20 + + + + + {?technology_name?} + {?technology_level?} + + + + + mathematics + 4 + + + + + {?building_name?} + {?building_level?} + + + + diff --git a/application/ship-simu/templates/de/game/resource/base_resource.xml b/application/ship-simu/templates/de/game/resource/base_resource.xml index 01db9b1..2b5ba5d 100644 --- a/application/ship-simu/templates/de/game/resource/base_resource.xml +++ b/application/ship-simu/templates/de/game/resource/base_resource.xml @@ -30,13 +30,13 @@ along with this program. If not, see {?name?} {?type?} - + - + - + - + diff --git a/application/ship-simu/templates/de/game/ship/base_ship.xml b/application/ship-simu/templates/de/game/ship/base_ship.xml index b5431a0..c531656 100644 --- a/application/ship-simu/templates/de/game/ship/base_ship.xml +++ b/application/ship-simu/templates/de/game/ship/base_ship.xml @@ -114,12 +114,18 @@ along with this program. If not, see + {?technology_id?} + {?technology_name?} + {?technology_level?} + {?research_id?} + {?research_name?} + {?research_level?} diff --git a/application/ship-simu/templates/de/game/technology/architecture.xml b/application/ship-simu/templates/de/game/technology/architecture.xml index ef99147..e58e969 100644 --- a/application/ship-simu/templates/de/game/technology/architecture.xml +++ b/application/ship-simu/templates/de/game/technology/architecture.xml @@ -32,17 +32,17 @@ along with this program. If not, see - - statics - 3 - drawings 5 - + + + statics + 3 + mathematics 6 diff --git a/application/ship-simu/templates/de/game/technology/base_technology.xml b/application/ship-simu/templates/de/game/technology/base_technology.xml index 299e1d4..6e2ae92 100644 --- a/application/ship-simu/templates/de/game/technology/base_technology.xml +++ b/application/ship-simu/templates/de/game/technology/base_technology.xml @@ -30,13 +30,13 @@ along with this program. If not, see - + - + - + - + @@ -50,9 +50,9 @@ along with this program. If not, see - + - + @@ -65,9 +65,9 @@ along with this program. If not, see {?technology_level_level?} - + - + {?research_level_id?} {?research_level_name?} @@ -89,9 +89,9 @@ along with this program. If not, see {?technology_level?} - + - + {?research_id?} {?research_name?} diff --git a/application/ship-simu/templates/de/game/technology/statics.xml b/application/ship-simu/templates/de/game/technology/cellular_network.xml similarity index 68% rename from application/ship-simu/templates/de/game/technology/statics.xml rename to application/ship-simu/templates/de/game/technology/cellular_network.xml index 924b861..06ff0a4 100644 --- a/application/ship-simu/templates/de/game/technology/statics.xml +++ b/application/ship-simu/templates/de/game/technology/cellular_network.xml @@ -1,6 +1,6 @@ - statics - construction + cellular_network + communication + proposals to gain the first level of this technology. //--> - + + + + electronics + 5 + + + + - mathematics - 4 + {?research_name?} + {?research_level?} diff --git a/application/ship-simu/templates/de/game/technology/glass_making.xml b/application/ship-simu/templates/de/game/technology/glass_making.xml index 0dca821..85d63d5 100644 --- a/application/ship-simu/templates/de/game/technology/glass_making.xml +++ b/application/ship-simu/templates/de/game/technology/glass_making.xml @@ -44,9 +44,9 @@ along with this program. If not, see {?technology_level_level?} - + - + {?research_level_name?} {?research_level_level?} @@ -66,9 +66,9 @@ along with this program. If not, see {?technology_level?} - + - + {?research_name?} {?research_level?} diff --git a/application/ship-simu/templates/de/game/technology/naval_architecture.xml b/application/ship-simu/templates/de/game/technology/naval_architecture.xml index 27f5b1b..901e7f4 100644 --- a/application/ship-simu/templates/de/game/technology/naval_architecture.xml +++ b/application/ship-simu/templates/de/game/technology/naval_architecture.xml @@ -45,7 +45,7 @@ along with this program. If not, see 6 - + mathematics diff --git a/application/ship-simu/templates/de/game/technology/plastics.xml b/application/ship-simu/templates/de/game/technology/plastics.xml index 4a84343..f363949 100644 --- a/application/ship-simu/templates/de/game/technology/plastics.xml +++ b/application/ship-simu/templates/de/game/technology/plastics.xml @@ -44,9 +44,9 @@ along with this program. If not, see {?technology_level_level?} - + - + {?research_level_name?} {?research_level_level?} @@ -65,7 +65,7 @@ along with this program. If not, see chemicals - + chemistry diff --git a/application/ship-simu/templates/de/game/types/electronic_types.xml b/application/ship-simu/templates/de/game/types/electronic_types.xml index 13e2063..6ff53e9 100644 --- a/application/ship-simu/templates/de/game/types/electronic_types.xml +++ b/application/ship-simu/templates/de/game/types/electronic_types.xml @@ -23,9 +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 index ed27d29..1d96811 100644 --- a/application/ship-simu/templates/de/game/types/technology_types.xml +++ b/application/ship-simu/templates/de/game/types/technology_types.xml @@ -29,6 +29,8 @@ along with this program. If not, see + + -- 2.39.5