From 1f35a740a205fbe0d03418e48ea46215abc778e4 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 4 Jun 2023 09:21:25 +0300 Subject: [PATCH 35/35] Add support for second alt building gfx tag See osdn #48087 Signed-off-by: Marko Lindqvist --- client/gui-qt/repodlgs.cpp | 4 +- client/packhand.c | 1 + client/tilespec.c | 103 +++--- client/tilespec.h | 1 + common/improvement.h | 13 +- common/networking/packets.def | 1 + data/alien/buildings.ruleset | 39 ++- data/civ1/buildings.ruleset | 240 ++++++++------ data/civ2/buildings.ruleset | 345 +++++++++++-------- data/civ2civ3/buildings.ruleset | 358 ++++++++++++-------- data/classic/buildings.ruleset | 346 +++++++++++-------- data/goldkeep/buildings.ruleset | 72 +++- data/granularity/buildings.ruleset | 16 +- data/multiplayer/buildings.ruleset | 346 +++++++++++-------- data/ruledit/comments-3.3.txt | 1 + data/sandbox/buildings.ruleset | 479 ++++++++++++++++----------- data/stub/buildings.ruleset | 14 +- data/webperimental/buildings.ruleset | 346 +++++++++++-------- server/ruleset.c | 4 + tools/ruledit/edit_impr.cpp | 20 ++ tools/ruledit/edit_impr.h | 2 + tools/ruleutil/rulesave.c | 3 + 22 files changed, 1696 insertions(+), 1058 deletions(-) diff --git a/client/gui-qt/repodlgs.cpp b/client/gui-qt/repodlgs.cpp index f89bb64179..d9f452cc20 100644 --- a/client/gui-qt/repodlgs.cpp +++ b/client/gui-qt/repodlgs.cpp @@ -143,7 +143,7 @@ unittype_item::unittype_item(QWidget *parent, hbox_upkeep->addWidget(&shield_upkeep); lab = new QLabel(""); spr = tiles_lookup_sprite_tag_alt(tileset, LOG_VERBOSE, "upkeep.shield", - "citybar.shields", "", "", false); + "citybar.shields", NULL, "", "", false); img = spr->pm->toImage(); crop = zealous_crop_rect(img); cropped_img = img.copy(crop); @@ -164,7 +164,7 @@ unittype_item::unittype_item(QWidget *parent, hbox_upkeep->addWidget(&food_upkeep); lab = new QLabel(""); spr = tiles_lookup_sprite_tag_alt(tileset, LOG_VERBOSE, "citybar.food", - "citybar.food", "", "", false); + "citybar.food", NULL, "", "", false); img = spr->pm->toImage(); crop = zealous_crop_rect(img); cropped_img = img.copy(crop); diff --git a/client/packhand.c b/client/packhand.c index 0a17110f70..c8f8262db7 100644 --- a/client/packhand.c +++ b/client/packhand.c @@ -3877,6 +3877,7 @@ void handle_ruleset_building(const struct packet_ruleset_building *p) names_set(&b->name, NULL, p->name, p->rule_name); sz_strlcpy(b->graphic_str, p->graphic_str); sz_strlcpy(b->graphic_alt, p->graphic_alt); + sz_strlcpy(b->graphic_alt2, p->graphic_alt2); for (i = 0; i < p->reqs_count; i++) { requirement_vector_append(&b->reqs, p->reqs[i]); } diff --git a/client/tilespec.c b/client/tilespec.c index 05ddb22831..c0cf9cf265 100644 --- a/client/tilespec.c +++ b/client/tilespec.c @@ -2876,10 +2876,11 @@ static bool sprite_exists(const struct tileset *t, const char *tag_name) #define SET_SPRITE_OPT(field, tag) \ t->sprites.field = load_sprite(t, tag, TRUE, TRUE, FALSE) -#define SET_SPRITE_ALT_OPT(field, tag, alt) \ - do { \ - t->sprites.field = tiles_lookup_sprite_tag_alt(t, LOG_VERBOSE, tag, alt,\ - "sprite", #field, TRUE); \ +#define SET_SPRITE_ALT_OPT(field, tag, alt) \ + do { \ + t->sprites.field = tiles_lookup_sprite_tag_alt(t, LOG_VERBOSE, tag, alt, \ + NULL, "sprite", #field, \ + TRUE); \ } while (FALSE) /************************************************************************//** @@ -3630,19 +3631,20 @@ void tileset_load_tiles(struct tileset *t) } /************************************************************************//** - Lookup sprite to match tag, or else to match alt if don't find, - or else return NULL, and emit log message. + Lookup sprite to match tag, alt, or alt2, in that order. + If none can be found, return NULL, and emit log message. + alt2 can be NULL. ****************************************************************************/ struct sprite *tiles_lookup_sprite_tag_alt(struct tileset *t, enum log_level level, const char *tag, const char *alt, - const char *what, - const char *name, + const char *alt2, + const char *what, const char *name, bool scale) { struct sprite *sp; - /* (should get sprite_hash before connection) */ + /* (Should get sprite_hash before connection) */ fc_assert_ret_val_msg(NULL != t->sprite_hash, NULL, "attempt to lookup for %s \"%s\" before " "sprite_hash setup", what, name); @@ -3658,6 +3660,16 @@ struct sprite *tiles_lookup_sprite_tag_alt(struct tileset *t, return sp; } + if (alt2 != NULL) { + sp = load_sprite(t, alt2, scale, TRUE, FALSE); + if (sp) { + log_verbose("Using second alternate graphic \"%s\" " + "(instead of \"%s\" or \"%s\") for %s \"%s\".", + alt2, tag, alt, what, name); + return sp; + } + } + tileset_error(level, tileset_name_get(t), _("Don't have graphics tags \"%s\" or \"%s\" for %s \"%s\"."), tag, alt, what, name); @@ -3827,10 +3839,11 @@ void tileset_setup_unit_type(struct tileset *t, struct unit_type *ut) void tileset_setup_impr_type(struct tileset *t, struct impr_type *pimprove) { - t->sprites.building[improvement_index(pimprove)] = - tiles_lookup_sprite_tag_alt(t, LOG_VERBOSE, pimprove->graphic_str, - pimprove->graphic_alt, "improvement", - improvement_rule_name(pimprove), FALSE); + t->sprites.building[improvement_index(pimprove)] + = tiles_lookup_sprite_tag_alt(t, LOG_VERBOSE, pimprove->graphic_str, + pimprove->graphic_alt, pimprove->graphic_alt2, + "improvement", + improvement_rule_name(pimprove), FALSE); /* Should maybe do something if NULL, eg generic default? */ } @@ -3843,10 +3856,10 @@ void tileset_setup_tech_type(struct tileset *t, struct advance *padvance) { if (valid_advance(padvance)) { - t->sprites.tech[advance_index(padvance)] = - tiles_lookup_sprite_tag_alt(t, LOG_VERBOSE, padvance->graphic_str, - padvance->graphic_alt, "technology", - advance_rule_name(padvance), FALSE); + t->sprites.tech[advance_index(padvance)] + = tiles_lookup_sprite_tag_alt(t, LOG_VERBOSE, padvance->graphic_str, + padvance->graphic_alt, NULL, "technology", + advance_rule_name(padvance), FALSE); /* Should maybe do something if NULL, eg generic default? */ } else { @@ -4191,10 +4204,10 @@ void tileset_setup_tile_type(struct tileset *t, for (i = 0; i < t->num_index_cardinal; i++) { fc_snprintf(buffer, sizeof(buffer), "t.l%d.%s_%s", l, draw->name, cardinal_index_str(t, i)); - dlp->match[i] = - tiles_lookup_sprite_tag_alt(t, LOG_FATAL, buffer, "", - "matched terrain", - terrain_rule_name(pterrain), TRUE); + dlp->match[i] + = tiles_lookup_sprite_tag_alt(t, LOG_FATAL, buffer, "", + NULL, "matched terrain", + terrain_rule_name(pterrain), TRUE); } break; case MATCH_PAIR: @@ -4237,19 +4250,19 @@ void tileset_setup_tile_type(struct tileset *t, case MATCH_NONE: fc_snprintf(buffer, sizeof(buffer), "t.l%d.%s_cell_%c", l, draw->name, direction4letters[dir]); - dlp->cells[i] = - tiles_lookup_sprite_tag_alt(t, LOG_FATAL, buffer, "", - "cell terrain", - terrain_rule_name(pterrain), TRUE); + dlp->cells[i] + = tiles_lookup_sprite_tag_alt(t, LOG_FATAL, buffer, "", + NULL, "cell terrain", + terrain_rule_name(pterrain), TRUE); break; case MATCH_SAME: fc_snprintf(buffer, sizeof(buffer), "t.l%d.%s_cell_%c%d%d%d", l, draw->name, direction4letters[dir], (value) & 1, (value >> 1) & 1, (value >> 2) & 1); - dlp->cells[i] = - tiles_lookup_sprite_tag_alt(t, LOG_FATAL, buffer, "", - "same cell terrain", - terrain_rule_name(pterrain), TRUE); + dlp->cells[i] + = tiles_lookup_sprite_tag_alt(t, LOG_FATAL, buffer, "", + NULL, "same cell terrain", + terrain_rule_name(pterrain), TRUE); break; case MATCH_PAIR: fc_snprintf(buffer, sizeof(buffer), "t.l%d.%s_cell_%c_%c_%c_%c", @@ -4257,10 +4270,10 @@ void tileset_setup_tile_type(struct tileset *t, tslp->match_types[dlp->match_index[(value) & 1]][0], tslp->match_types[dlp->match_index[(value >> 1) & 1]][0], tslp->match_types[dlp->match_index[(value >> 2) & 1]][0]); - dlp->cells[i] = - tiles_lookup_sprite_tag_alt(t, LOG_FATAL, buffer, "", - "cell pair terrain", - terrain_rule_name(pterrain), TRUE); + dlp->cells[i] + = tiles_lookup_sprite_tag_alt(t, LOG_FATAL, buffer, "", + NULL, "cell pair terrain", + terrain_rule_name(pterrain), TRUE); break; case MATCH_FULL: { @@ -4347,10 +4360,10 @@ void tileset_setup_tile_type(struct tileset *t, /* Try an optional special name */ fc_snprintf(buffer, sizeof(buffer), "t.blend.%s", draw->name); - draw->blender = - tiles_lookup_sprite_tag_alt(t, LOG_VERBOSE, buffer, "", - "blend terrain", - terrain_rule_name(pterrain), TRUE); + draw->blender + = tiles_lookup_sprite_tag_alt(t, LOG_VERBOSE, buffer, "", + NULL, "blend terrain", + terrain_rule_name(pterrain), TRUE); if (draw->blending > 0) { const int bl = draw->blending - 1; @@ -4369,10 +4382,10 @@ void tileset_setup_tile_type(struct tileset *t, if (NULL == draw->blender) { /* Try an unloaded base name */ fc_snprintf(buffer, sizeof(buffer), "t.l%d.%s1", bl, draw->name); - draw->blender = - tiles_lookup_sprite_tag_alt(t, LOG_FATAL, buffer, "", - "base (blend) terrain", - terrain_rule_name(pterrain), TRUE); + draw->blender + = tiles_lookup_sprite_tag_alt(t, LOG_FATAL, buffer, "", + NULL, "base (blend) terrain", + terrain_rule_name(pterrain), TRUE); } } @@ -4404,10 +4417,10 @@ void tileset_setup_tile_type(struct tileset *t, void tileset_setup_government(struct tileset *t, struct government *gov) { - t->sprites.government[government_index(gov)] = - tiles_lookup_sprite_tag_alt(t, LOG_FATAL, gov->graphic_str, - gov->graphic_alt, "government", - government_rule_name(gov), FALSE); + t->sprites.government[government_index(gov)] + = tiles_lookup_sprite_tag_alt(t, LOG_FATAL, gov->graphic_str, + gov->graphic_alt, NULL, "government", + government_rule_name(gov), FALSE); /* Should probably do something if NULL, eg generic default? */ } diff --git a/client/tilespec.h b/client/tilespec.h index 5b5ebe8053..7962ccc4e5 100644 --- a/client/tilespec.h +++ b/client/tilespec.h @@ -416,6 +416,7 @@ struct sprite *get_event_sprite(const struct tileset *t, enum event_type event); struct sprite *tiles_lookup_sprite_tag_alt(struct tileset *t, enum log_level level, const char *tag, const char *alt, + const char *alt2, const char *what, const char *name, bool scale); diff --git a/common/improvement.h b/common/improvement.h index e56194804e..849d5f2381 100644 --- a/common/improvement.h +++ b/common/improvement.h @@ -50,16 +50,17 @@ BV_DEFINE(bv_imprs, B_LAST); struct impr_type { Impr_type_id item_number; struct name_translation name; - bool ruledit_disabled; /* Does not really exist - hole in improvements array */ + bool ruledit_disabled; /* Doesn't really exist - hole in improvements array */ void *ruledit_dlg; - char graphic_str[MAX_LEN_NAME]; /* city icon of improv. */ - char graphic_alt[MAX_LEN_NAME]; /* city icon of improv. */ + char graphic_str[MAX_LEN_NAME]; /* City icon of improv. */ + char graphic_alt[MAX_LEN_NAME]; /* City icon of improv. */ + char graphic_alt2[MAX_LEN_NAME]; /* City icon of improv. */ struct requirement_vector reqs; struct requirement_vector obsolete_by; - int build_cost; /* Use wrappers to access this. */ + int build_cost; /* Use wrappers to access this. */ int upkeep; - int sabotage; /* Base chance of diplomat sabotage succeeding. */ - enum impr_genus_id genus; /* genus; e.g. GreatWonder */ + int sabotage; /* Base chance of diplomat sabotage succeeding. */ + enum impr_genus_id genus; /* Genus; e.g. GreatWonder */ bv_impr_flags flags; struct strvec *helptext; char soundtag[MAX_LEN_NAME]; diff --git a/common/networking/packets.def b/common/networking/packets.def index e74f2dd6f1..5b9eaf4317 100644 --- a/common/networking/packets.def +++ b/common/networking/packets.def @@ -1666,6 +1666,7 @@ PACKET_RULESET_BUILDING = 150; sc, lsend STRING rule_name[MAX_LEN_NAME]; STRING graphic_str[MAX_LEN_NAME]; STRING graphic_alt[MAX_LEN_NAME]; + STRING graphic_alt2[MAX_LEN_NAME]; UINT8 reqs_count; REQUIREMENT reqs[MAX_NUM_REQS:reqs_count]; UINT8 obs_count; diff --git a/data/alien/buildings.ruleset b/data/alien/buildings.ruleset index 15e6b36a36..34b816b355 100644 --- a/data/alien/buildings.ruleset +++ b/data/alien/buildings.ruleset @@ -50,8 +50,9 @@ format_version = 40 ; or "Convert". ; reqs = requirements to build the building (see effects.ruleset ; and README.effects for help on requirements) -; graphic = icon of improvement (used in city dialog) -; graphic_alt = alternate icon of improvement +; graphic = icon of improvement (used in city dialog) +; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -84,6 +85,7 @@ reqs = } graphic = "b.antigrav_port" graphic_alt = "b.airport" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -106,6 +108,7 @@ reqs = } graphic = "b.archive" graphic_alt = "b.library" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -121,8 +124,12 @@ Increases the science production of a city by 75%.") [building_basic_infrastructure] name = _("Basic Infrastructure") genus = "Improvement" +reqs = + { "type", "name", "range" + } graphic = "b.basic_infra" graphic_alt = "b.super_highways" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -149,6 +156,7 @@ reqs = } graphic = "b.bunker" graphic_alt = "b.sam_battery" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -172,6 +180,7 @@ reqs = } graphic = "b.central_mine" graphic_alt = "b.mfg_plant" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -194,6 +203,7 @@ reqs = } graphic = "b.cyberpart_factory" graphic_alt = "b.marketplace" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -216,6 +226,7 @@ reqs = } graphic = "b.factory" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -238,6 +249,7 @@ reqs = } graphic = "b.filter" graphic_alt = "b.sewer_system" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -260,6 +272,7 @@ reqs = } graphic = "b.force_walls" graphic_alt = "b.city_walls" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -281,6 +294,7 @@ reqs = } graphic = "b.headquarters" graphic_alt = "b.palace" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -303,6 +317,7 @@ reqs = } graphic = "b.hospital" graphic_alt = "b.aqueduct" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -325,6 +340,7 @@ reqs = } graphic = "b.information_distillery" graphic_alt = "b.isaac_newtons_college" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -347,6 +363,7 @@ reqs = } graphic = "b.mood_center" graphic_alt = "b.colosseum" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -369,6 +386,7 @@ reqs = } graphic = "b.training_facility" graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -391,6 +409,7 @@ reqs = } graphic = "b.transportation" graphic_alt = "b.mass_transit" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -416,6 +435,7 @@ reqs = } graphic = "b.radar_tower" graphic_alt = "b.coastal_defense" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -436,6 +456,7 @@ reqs = } graphic = "b.radiation_resistor" graphic_alt = "b.nuclear_plant" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -457,6 +478,7 @@ reqs = } graphic = "b.research_nest" graphic_alt = "b.university" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -478,6 +500,7 @@ reqs = } graphic = "b.secret_police" graphic_alt = "b.police_station" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -500,6 +523,7 @@ reqs = } graphic = "b.skyscraper" graphic_alt = "b.stock_exchange" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -521,6 +545,7 @@ reqs = } graphic = "b.vr_theatre" graphic_alt = "b.temple" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -544,6 +569,7 @@ reqs = } graphic = "b.coinage" graphic_alt = "b.capitalization" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -566,6 +592,7 @@ reqs = } graphic = "b.space_component" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -589,6 +616,7 @@ reqs = } graphic = "b.space_modules" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -621,6 +649,7 @@ reqs = } graphic = "b.space_structural" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -643,6 +672,7 @@ reqs = } graphic = "b.earth_monument" graphic_alt = "b.colossus" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -666,6 +696,7 @@ reqs = } graphic = "b.great_tunnel" graphic_alt = "b.king_richards_crusade" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -689,6 +720,7 @@ reqs = } graphic = "b.antigrav_ctrl_center" graphic_alt = "b.eiffel_tower" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -713,6 +745,7 @@ reqs = } graphic = "b.oceanic_downtown" graphic_alt = "b.asmiths_trading_co" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -734,6 +767,7 @@ reqs = } graphic = "b.monument_co_op" graphic_alt = "b.womens_suffrage" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -757,6 +791,7 @@ reqs = } graphic = "b.protector" graphic_alt = "b.great_wall" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } diff --git a/data/civ1/buildings.ruleset b/data/civ1/buildings.ruleset index 4f2dcf69b0..b9da88fc8c 100644 --- a/data/civ1/buildings.ruleset +++ b/data/civ1/buildings.ruleset @@ -48,8 +48,9 @@ building_flags = ; or "Convert". ; reqs = requirements to build the building (see effects.ruleset ; and README.effects for help on requirements) -; graphic = icon of improvement (used in city dialog) -; graphic_alt = alternate icon of improvement +; graphic = icon of improvement (used in city dialog) +; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -80,8 +81,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -105,8 +107,9 @@ reqs = "Tech", "Banking", "Player" "Building", "Marketplace", "City" } -graphic = "b.bank" -graphic_alt = "-" +graphic = "b.bank" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -128,8 +131,9 @@ reqs = { "type", "name", "range" ; Nothing } -graphic = "b.barracks_i" -graphic_alt = "-" +graphic = "b.barracks_i" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Gunpowder", "Player" @@ -157,8 +161,9 @@ reqs = { "type", "name", "range" "Tech", "Gunpowder", "Player" } -graphic = "b.barracks_ii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_ii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Combustion", "Player" @@ -186,8 +191,9 @@ reqs = { "type", "name", "range" "Tech", "Combustion", "Player" } -graphic = "b.barracks_iii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_iii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -214,8 +220,9 @@ reqs = { "type", "name", "range" "Tech", "Religion", "Player" } -graphic = "b.cathedral" -graphic_alt = "-" +graphic = "b.cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -238,8 +245,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.city_walls" -graphic_alt = "-" +graphic = "b.city_walls" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -266,8 +274,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.colosseum" -graphic_alt = "-" +graphic = "b.colosseum" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -288,8 +297,9 @@ reqs = { "type", "name", "range" "Tech", "Code of Laws", "Player" } -graphic = "b.courthouse" -graphic_alt = "-" +graphic = "b.courthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -311,8 +321,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.factory" -graphic_alt = "-" +graphic = "b.factory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -334,8 +345,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.granary" -graphic_alt = "-" +graphic = "b.granary" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -370,8 +382,9 @@ reqs = "Extra", "River", "Adjacent" "Building", "Factory", "City" } -graphic = "b.hydro_plant" -graphic_alt = "-" +graphic = "b.hydro_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -403,8 +416,9 @@ reqs = { "type", "name", "range" "Tech", "Writing", "Player" } -graphic = "b.library" -graphic_alt = "-" +graphic = "b.library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -425,8 +439,9 @@ reqs = { "type", "name", "range" "Tech", "Currency", "Player" } -graphic = "b.marketplace" -graphic_alt = "-" +graphic = "b.marketplace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -447,8 +462,9 @@ reqs = { "type", "name", "range" "Tech", "Mass Production", "Player" } -graphic = "b.mass_transit" -graphic_alt = "-" +graphic = "b.mass_transit" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -471,8 +487,9 @@ reqs = "Tech", "Robotics", "Player" "Building", "Factory", "City" } -graphic = "b.mfg_plant" -graphic_alt = "-" +graphic = "b.mfg_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -495,8 +512,9 @@ reqs = "Tech", "Nuclear Power", "Player" "Building", "Factory", "City" } -graphic = "b.nuclear_plant" -graphic_alt = "-" +graphic = "b.nuclear_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -529,8 +547,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.palace" -graphic_alt = "-" +graphic = "b.palace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -569,8 +588,9 @@ reqs = "Tech", "Refining", "Player" "Building", "Factory", "City" } -graphic = "b.power_plant" -graphic_alt = "-" +graphic = "b.power_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -598,8 +618,9 @@ reqs = { "type", "name", "range" "Tech", "Recycling", "Player" } -graphic = "b.recycling_center" -graphic_alt = "-" +graphic = "b.recycling_center" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -621,8 +642,9 @@ reqs = { "type", "name", "range" "Tech", "Superconductors", "Player" } -graphic = "b.sdi_defense" -graphic_alt = "-" +graphic = "b.sdi_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -645,8 +667,9 @@ reqs = { "type", "name", "range" "Tech", "Plastics", "Player" } -graphic = "b.space_component" -graphic_alt = "-" +graphic = "b.space_component" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -671,8 +694,9 @@ reqs = { "type", "name", "range" "Tech", "Robotics", "Player" } -graphic = "b.space_modules" -graphic_alt = "-" +graphic = "b.space_modules" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -706,8 +730,9 @@ reqs = { "type", "name", "range" "Tech", "Space Flight", "Player" } -graphic = "b.space_structural" -graphic_alt = "-" +graphic = "b.space_structural" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -732,8 +757,9 @@ reqs = { "type", "name", "range" "Tech", "Ceremonial Burial", "Player" } -graphic = "b.temple" -graphic_alt = "-" +graphic = "b.temple" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -760,8 +786,9 @@ reqs = "Tech", "University", "Player" "Building", "Library", "City" } -graphic = "b.university" -graphic_alt = "-" +graphic = "b.university" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -783,8 +810,9 @@ reqs = { "type", "name", "range" "Tech", "Space Flight", "Player" } -graphic = "b.apollo_program" -graphic_alt = "-" +graphic = "b.apollo_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -806,8 +834,9 @@ reqs = { "type", "name", "range" "Tech", "Bronze Working", "Player" } -graphic = "b.colossus" -graphic_alt = "-" +graphic = "b.colossus" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Electricity", "World", TRUE @@ -829,8 +858,9 @@ reqs = { "type", "name", "range" "Tech", "Astronomy", "Player" } -graphic = "b.copernicus_observatory" -graphic_alt = "-" +graphic = "b.copernicus_observatory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Automobile", "World", TRUE @@ -852,8 +882,9 @@ reqs = { "type", "name", "range" "Tech", "Genetic Engineering", "Player" } -graphic = "b.cure_for_cancer" -graphic_alt = "-" +graphic = "b.cure_for_cancer" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -875,8 +906,9 @@ reqs = { "type", "name", "range" "Tech", "Railroad", "Player" } -graphic = "b.darwins_voyage" -graphic_alt = "-" +graphic = "b.darwins_voyage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -898,8 +930,9 @@ reqs = { "type", "name", "range" "Tech", "Literacy", "Player" } -graphic = "b.great_library" -graphic_alt = "-" +graphic = "b.great_library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Electronics", "World", TRUE @@ -921,8 +954,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.great_wall" -graphic_alt = "-" +graphic = "b.great_wall" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Gunpowder", "World", TRUE @@ -945,8 +979,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.hanging_gardens" -graphic_alt = "-" +graphic = "b.hanging_gardens" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Invention", "World", TRUE @@ -970,8 +1005,9 @@ reqs = { "type", "name", "range" "Tech", "Electronics", "Player" } -graphic = "b.hoover_dam" -graphic_alt = "-" +graphic = "b.hoover_dam" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -994,8 +1030,9 @@ reqs = { "type", "name", "range" "Tech", "Theory of Gravity", "Player" } -graphic = "b.isaac_newtons_college" -graphic_alt = "-" +graphic = "b.isaac_newtons_college" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Nuclear Fission", "World", TRUE @@ -1017,8 +1054,9 @@ reqs = { "type", "name", "range" "Tech", "Religion", "Player" } -graphic = "b.js_bachs_cathedral" -graphic_alt = "-" +graphic = "b.js_bachs_cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1040,8 +1078,9 @@ reqs = { "type", "name", "range" "Tech", "Map Making", "Player" } -graphic = "b.lighthouse" -graphic_alt = "-" +graphic = "b.lighthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Magnetism", "World", TRUE @@ -1062,8 +1101,9 @@ reqs = { "type", "name", "range" "Tech", "Navigation", "Player" } -graphic = "b.magellans_expedition" -graphic_alt = "-" +graphic = "b.magellans_expedition" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1083,8 +1123,9 @@ reqs = { "type", "name", "range" "Tech", "Nuclear Fission", "Player" } -graphic = "b.manhattan_project" -graphic_alt = "-" +graphic = "b.manhattan_project" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1103,8 +1144,9 @@ reqs = { "type", "name", "range" "Tech", "Religion", "Player" } -graphic = "b.michelangelos_chapel" -graphic_alt = "-" +graphic = "b.michelangelos_chapel" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Communism", "World", TRUE @@ -1125,8 +1167,9 @@ reqs = { "type", "name", "range" "Tech", "Mysticism", "Player" } -graphic = "b.oracle" -graphic_alt = "-" +graphic = "b.oracle" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Religion", "World", TRUE @@ -1148,8 +1191,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.pyramids" -graphic_alt = "-" +graphic = "b.pyramids" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Communism", "World", TRUE @@ -1172,8 +1216,9 @@ reqs = { "type", "name", "range" "Tech", "Computers", "Player" } -graphic = "b.seti_program" -graphic_alt = "-" +graphic = "b.seti_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1195,8 +1240,9 @@ reqs = { "type", "name", "range" "Tech", "Medicine", "Player" } -graphic = "b.shakespeares_theatre" -graphic_alt = "-" +graphic = "b.shakespeares_theatre" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Electronics", "World", TRUE @@ -1218,8 +1264,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.united_nations" -graphic_alt = "-" +graphic = "b.united_nations" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1246,8 +1293,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.womens_suffrage" -graphic_alt = "-" +graphic = "b.womens_suffrage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } diff --git a/data/civ2/buildings.ruleset b/data/civ2/buildings.ruleset index dd488f7908..7d0b925f32 100644 --- a/data/civ2/buildings.ruleset +++ b/data/civ2/buildings.ruleset @@ -50,8 +50,9 @@ building_flags = ; or "Convert". ; reqs = requirements to build the building (see effects.ruleset ; and README.effects for help on requirements) -; graphic = icon of improvement (used in city dialog) -; graphic_alt = alternate icon of improvement +; graphic = icon of improvement (used in city dialog) +; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -82,8 +83,9 @@ reqs = { "type", "name", "range" "Tech", "Radio", "Player" } -graphic = "b.airport" -graphic_alt = "-" +graphic = "b.airport" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -111,8 +113,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -134,8 +137,9 @@ reqs = "Tech", "Banking", "Player" "Building", "Marketplace", "City" } -graphic = "b.bank" -graphic_alt = "-" +graphic = "b.bank" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -157,8 +161,9 @@ reqs = { "type", "name", "range" ; Nothing! } -graphic = "b.barracks_i" -graphic_alt = "-" +graphic = "b.barracks_i" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Gunpowder", "Player" @@ -186,8 +191,9 @@ reqs = { "type", "name", "range" "Tech", "Gunpowder", "Player" } -graphic = "b.barracks_ii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_ii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" @@ -215,8 +221,9 @@ reqs = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" } -graphic = "b.barracks_iii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_iii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -243,8 +250,9 @@ reqs = { "type", "name", "range" "Tech", "Monotheism", "Player" } -graphic = "b.cathedral" -graphic_alt = "-" +graphic = "b.cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -271,8 +279,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.city_walls" -graphic_alt = "-" +graphic = "b.city_walls" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -297,8 +306,9 @@ reqs = "Tech", "Metallurgy", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.coastal_defense" -graphic_alt = "-" +graphic = "b.coastal_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -319,8 +329,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.colosseum" -graphic_alt = "-" +graphic = "b.colosseum" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -342,8 +353,9 @@ reqs = { "type", "name", "range" "Tech", "Code of Laws", "Player" } -graphic = "b.courthouse" -graphic_alt = "-" +graphic = "b.courthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -369,8 +381,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.factory" -graphic_alt = "-" +graphic = "b.factory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -392,8 +405,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.granary" -graphic_alt = "-" +graphic = "b.granary" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -420,8 +434,9 @@ reqs = "Tech", "Seafaring", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.harbour" -graphic_alt = "-" +graphic = "b.harbour" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -444,8 +459,9 @@ reqs = "Extra", "River", "Adjacent" "Building", "Factory", "City" } -graphic = "b.hydro_plant" -graphic_alt = "-" +graphic = "b.hydro_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -477,8 +493,9 @@ reqs = { "type", "name", "range" "Tech", "Writing", "Player" } -graphic = "b.library" -graphic_alt = "-" +graphic = "b.library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -499,8 +516,9 @@ reqs = { "type", "name", "range" "Tech", "Currency", "Player" } -graphic = "b.marketplace" -graphic_alt = "-" +graphic = "b.marketplace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -521,8 +539,9 @@ reqs = { "type", "name", "range" "Tech", "Mass Production", "Player" } -graphic = "b.mass_transit" -graphic_alt = "-" +graphic = "b.mass_transit" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -545,8 +564,9 @@ reqs = "Tech", "Robotics", "Player" "Building", "Factory", "City" } -graphic = "b.mfg_plant" -graphic_alt = "-" +graphic = "b.mfg_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -570,8 +590,9 @@ reqs = "Tech", "Nuclear Power", "Player" "Building", "Factory", "City" } -graphic = "b.nuclear_plant" -graphic_alt = "-" +graphic = "b.nuclear_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -604,8 +625,9 @@ reqs = "Tech", "Miniaturization", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.offshore_platform" -graphic_alt = "-" +graphic = "b.offshore_platform" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -627,8 +649,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.palace" -graphic_alt = "-" +graphic = "b.palace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -668,8 +691,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.police_station" -graphic_alt = "-" +graphic = "b.police_station" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -693,8 +717,9 @@ reqs = "Tech", "Amphibious Warfare", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.port_facility" -graphic_alt = "-" +graphic = "b.port_facility" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -717,8 +742,9 @@ reqs = "Tech", "Refining", "Player" "Building", "Factory", "City" } -graphic = "b.power_plant" -graphic_alt = "-" +graphic = "b.power_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -746,8 +772,9 @@ reqs = { "type", "name", "range" "Tech", "Recycling", "Player" } -graphic = "b.recycling_center" -graphic_alt = "-" +graphic = "b.recycling_center" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -770,8 +797,9 @@ reqs = "Tech", "Computers", "Player" "Building", "University", "City" } -graphic = "b.research_lab" -graphic_alt = "-" +graphic = "b.research_lab" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -795,8 +823,9 @@ reqs = { "type", "name", "range" "Tech", "Rocketry", "Player" } -graphic = "b.sam_battery" -graphic_alt = "-" +graphic = "b.sam_battery" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -817,8 +846,9 @@ reqs = { "type", "name", "range" "Tech", "Laser", "Player" } -graphic = "b.sdi_defense" -graphic_alt = "-" +graphic = "b.sdi_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -845,8 +875,9 @@ reqs = "Tech", "Sanitation", "Player" "Building", "Aqueduct", "City" } -graphic = "b.sewer_system" -graphic_alt = "-" +graphic = "b.sewer_system" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -868,8 +899,9 @@ reqs = "Tech", "Environmentalism", "Player" "Building", "Factory", "City" } -graphic = "b.solar_plant" -graphic_alt = "-" +graphic = "b.solar_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -897,8 +929,9 @@ reqs = { "type", "name", "range" "Tech", "Plastics", "Player" } -graphic = "b.space_component" -graphic_alt = "-" +graphic = "b.space_component" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -923,8 +956,9 @@ reqs = { "type", "name", "range" "Tech", "Superconductors", "Player" } -graphic = "b.space_modules" -graphic_alt = "-" +graphic = "b.space_modules" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -958,8 +992,9 @@ reqs = { "type", "name", "range" "Tech", "Space Flight", "Player" } -graphic = "b.space_structural" -graphic_alt = "-" +graphic = "b.space_structural" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -985,8 +1020,9 @@ reqs = "Tech", "Economics", "Player" "Building", "Bank", "City" } -graphic = "b.stock_exchange" -graphic_alt = "-" +graphic = "b.stock_exchange" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1010,8 +1046,9 @@ reqs = { "type", "name", "range" "Tech", "Automobile", "Player" } -graphic = "b.super_highways" -graphic_alt = "-" +graphic = "b.super_highways" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1033,8 +1070,9 @@ reqs = { "type", "name", "range" "Tech", "Refrigeration", "Player" } -graphic = "b.supermarket" -graphic_alt = "-" +graphic = "b.supermarket" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1057,8 +1095,9 @@ reqs = { "type", "name", "range" "Tech", "Ceremonial Burial", "Player" } -graphic = "b.temple" -graphic_alt = "-" +graphic = "b.temple" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1082,8 +1121,9 @@ reqs = "Tech", "University", "Player" "Building", "Library", "City" } -graphic = "b.university" -graphic_alt = "-" +graphic = "b.university" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1105,8 +1145,9 @@ reqs = { "type", "name", "range" "Tech", "Space Flight", "Player" } -graphic = "b.apollo_program" -graphic_alt = "-" +graphic = "b.apollo_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1130,8 +1171,9 @@ reqs = { "type", "name", "range" "Tech", "Economics", "Player" } -graphic = "b.asmiths_trading_co" -graphic_alt = "-" +graphic = "b.asmiths_trading_co" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1152,8 +1194,9 @@ reqs = { "type", "name", "range" "Tech", "Bronze Working", "Player" } -graphic = "b.colossus" -graphic_alt = "-" +graphic = "b.colossus" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Flight", "World", TRUE @@ -1175,8 +1218,9 @@ reqs = { "type", "name", "range" "Tech", "Astronomy", "Player" } -graphic = "b.copernicus_observatory" -graphic_alt = "-" +graphic = "b.copernicus_observatory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1197,8 +1241,9 @@ reqs = { "type", "name", "range" "Tech", "Genetic Engineering", "Player" } -graphic = "b.cure_for_cancer" -graphic_alt = "-" +graphic = "b.cure_for_cancer" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1220,8 +1265,9 @@ reqs = { "type", "name", "range" "Tech", "Railroad", "Player" } -graphic = "b.darwins_voyage" -graphic_alt = "-" +graphic = "b.darwins_voyage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1243,8 +1289,9 @@ reqs = { "type", "name", "range" "Tech", "Steam Engine", "Player" } -graphic = "b.eiffel_tower" -graphic_alt = "-" +graphic = "b.eiffel_tower" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1266,8 +1313,9 @@ reqs = { "type", "name", "range" "Tech", "Literacy", "Player" } -graphic = "b.great_library" -graphic_alt = "-" +graphic = "b.great_library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Electricity", "World", TRUE @@ -1289,8 +1337,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.great_wall" -graphic_alt = "-" +graphic = "b.great_wall" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Metallurgy", "World", TRUE @@ -1313,8 +1362,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.hanging_gardens" -graphic_alt = "-" +graphic = "b.hanging_gardens" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Railroad", "World", TRUE @@ -1340,8 +1390,9 @@ reqs = { "type", "name", "range" "Tech", "Electronics", "Player" } -graphic = "b.hoover_dam" -graphic_alt = "-" +graphic = "b.hoover_dam" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1362,8 +1413,9 @@ reqs = { "type", "name", "range" "Tech", "Theory of Gravity", "Player" } -graphic = "b.isaac_newtons_college" -graphic_alt = "-" +graphic = "b.isaac_newtons_college" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1384,8 +1436,9 @@ reqs = { "type", "name", "range" "Tech", "Theology", "Player" } -graphic = "b.js_bachs_cathedral" -graphic_alt = "-" +graphic = "b.js_bachs_cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1406,8 +1459,9 @@ reqs = { "type", "name", "range" "Tech", "Engineering", "Player" } -graphic = "b.king_richards_crusade" -graphic_alt = "-" +graphic = "b.king_richards_crusade" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Industrialization", "World", TRUE @@ -1429,8 +1483,9 @@ reqs = { "type", "name", "range" "Tech", "Invention", "Player" } -graphic = "b.leonardos_workshop" -graphic_alt = "-" +graphic = "b.leonardos_workshop" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Automobile", "World", TRUE @@ -1451,8 +1506,9 @@ reqs = { "type", "name", "range" "Tech", "Map Making", "Player" } -graphic = "b.lighthouse" -graphic_alt = "-" +graphic = "b.lighthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Magnetism", "World", TRUE @@ -1474,8 +1530,9 @@ reqs = { "type", "name", "range" "Tech", "Navigation", "Player" } -graphic = "b.magellans_expedition" -graphic_alt = "-" +graphic = "b.magellans_expedition" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1495,8 +1552,9 @@ reqs = { "type", "name", "range" "Tech", "Nuclear Fission", "Player" } -graphic = "b.manhattan_project" -graphic_alt = "-" +graphic = "b.manhattan_project" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1515,8 +1573,9 @@ reqs = { "type", "name", "range" "Tech", "Trade", "Player" } -graphic = "b.marco_polos_embassy" -graphic_alt = "-" +graphic = "b.marco_polos_embassy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Communism", "World", TRUE @@ -1537,8 +1596,9 @@ reqs = { "type", "name", "range" "Tech", "Monotheism", "Player" } -graphic = "b.michelangelos_chapel" -graphic_alt = "-" +graphic = "b.michelangelos_chapel" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1564,8 +1624,9 @@ reqs = { "type", "name", "range" "Tech", "Mysticism", "Player" } -graphic = "b.oracle" -graphic_alt = "-" +graphic = "b.oracle" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Theology", "World", TRUE @@ -1587,8 +1648,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.pyramids" -graphic_alt = "-" +graphic = "b.pyramids" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1608,8 +1670,9 @@ reqs = { "type", "name", "range" "Tech", "Computers", "Player" } -graphic = "b.seti_program" -graphic_alt = "-" +graphic = "b.seti_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1632,8 +1695,9 @@ reqs = { "type", "name", "range" "Tech", "Medicine", "Player" } -graphic = "b.shakespeares_theatre" -graphic_alt = "-" +graphic = "b.shakespeares_theatre" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1654,8 +1718,9 @@ reqs = { "type", "name", "range" "Tech", "Democracy", "Player" } -graphic = "b.statue_of_liberty" -graphic_alt = "-" +graphic = "b.statue_of_liberty" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1677,8 +1742,9 @@ reqs = { "type", "name", "range" "Tech", "Feudalism", "Player" } -graphic = "b.sun_tzus_war_academy" -graphic_alt = "-" +graphic = "b.sun_tzus_war_academy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Mobile Warfare", "World", TRUE @@ -1702,8 +1768,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.united_nations" -graphic_alt = "-" +graphic = "b.united_nations" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1731,8 +1798,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.womens_suffrage" -graphic_alt = "-" +graphic = "b.womens_suffrage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1758,8 +1826,9 @@ reqs = { "type", "name", "range" "Tech", "The Corporation", "Player" } -graphic = "b.capitalization" -graphic_alt = "-" +graphic = "b.capitalization" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } diff --git a/data/civ2civ3/buildings.ruleset b/data/civ2civ3/buildings.ruleset index ced944c824..05d1324f23 100644 --- a/data/civ2civ3/buildings.ruleset +++ b/data/civ2civ3/buildings.ruleset @@ -50,8 +50,9 @@ building_flags = ; or "Convert". ; reqs = requirements to build the building (see effects.ruleset ; and README.effects for help on requirements) -; graphic = icon of improvement (used in city dialog) -; graphic_alt = alternate icon of improvement +; graphic = icon of improvement (used in city dialog) +; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -82,8 +83,9 @@ reqs = { "type", "name", "range" "Tech", "Radio", "Player" } -graphic = "b.airport" -graphic_alt = "-" +graphic = "b.airport" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -114,8 +116,9 @@ reqs = "Extra", "River", "Adjacent", FALSE "Terrain", "Lake", "Adjacent", FALSE } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -150,8 +153,9 @@ reqs = { "type", "name", "range" "Terrain", "Lake", "Adjacent" } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -187,8 +191,9 @@ reqs = "Extra", "River", "Adjacent", TRUE "Terrain", "Lake", "Adjacent", FALSE } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -224,8 +229,9 @@ reqs = "Tech", "Banking", "Player" "Building", "Marketplace", "City" } -graphic = "b.bank" -graphic_alt = "-" +graphic = "b.bank" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -245,10 +251,10 @@ name = _("Barracks") genus = "Improvement" reqs = { "type", "name", "range" - } -graphic = "b.barracks_i" -graphic_alt = "-" +graphic = "b.barracks_i" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Gunpowder", "Player" @@ -278,8 +284,9 @@ reqs = { "type", "name", "range" "Tech", "Gunpowder", "Player" } -graphic = "b.barracks_ii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_ii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" @@ -308,8 +315,9 @@ reqs = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" } -graphic = "b.barracks_iii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_iii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -337,8 +345,9 @@ reqs = "Tech", "Monotheism", "Player" "Building", "Temple", "City" } -graphic = "b.cathedral" -graphic_alt = "-" +graphic = "b.cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -363,8 +372,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.city_walls" -graphic_alt = "-" +graphic = "b.city_walls" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -391,8 +401,9 @@ reqs = "Tech", "Navigation", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.coastal_defense" -graphic_alt = "-" +graphic = "b.coastal_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -417,8 +428,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.colosseum" -graphic_alt = "-" +graphic = "b.colosseum" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -440,8 +452,9 @@ reqs = { "type", "name", "range" "Tech", "Code of Laws", "Player" } -graphic = "b.courthouse" -graphic_alt = "-" +graphic = "b.courthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -469,8 +482,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.factory" -graphic_alt = "-" +graphic = "b.factory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -496,8 +510,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.granary" -graphic_alt = "-" +graphic = "b.granary" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -529,8 +544,9 @@ reqs = "Tech", "Seafaring", "Player" "TerrainFlag", "Sea", "Adjacent" } -graphic = "b.harbour" -graphic_alt = "-" +graphic = "b.harbour" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -554,8 +570,9 @@ reqs = "Building", "Factory", "City" "Extra", "River", "Adjacent" } -graphic = "b.hydro_plant" -graphic_alt = "-" +graphic = "b.hydro_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -595,8 +612,9 @@ reqs = { "type", "name", "range" "Tech", "Writing", "Player" } -graphic = "b.library" -graphic_alt = "-" +graphic = "b.library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -618,8 +636,9 @@ reqs = { "type", "name", "range" "Tech", "Currency", "Player" } -graphic = "b.marketplace" -graphic_alt = "-" +graphic = "b.marketplace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -640,8 +659,9 @@ reqs = { "type", "name", "range" "Tech", "Mass Production", "Player" } -graphic = "b.mass_transit" -graphic_alt = "-" +graphic = "b.mass_transit" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -664,8 +684,9 @@ reqs = "Tech", "Plastics", "Player" "Building", "Factory", "City" } -graphic = "b.mfg_plant" -graphic_alt = "-" +graphic = "b.mfg_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -700,8 +721,9 @@ reqs = "Tech", "Nuclear Power", "Player" "Building", "Factory", "City" } -graphic = "b.nuclear_plant" -graphic_alt = "-" +graphic = "b.nuclear_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -742,8 +764,9 @@ reqs = "Tech", "Miniaturization", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.offshore_platform" -graphic_alt = "-" +graphic = "b.offshore_platform" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -765,8 +788,12 @@ of the city.\ name = _("Palace") genus = "SmallWonder" flags = "SaveSmallWonder" -graphic = "b.palace" -graphic_alt = "-" +reqs = + { "type", "name", "range" + } +graphic = "b.palace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -811,8 +838,9 @@ reqs = { "type", "name", "range" "Tech", "Theology", "Player" } -graphic = "b.ecclesiastical_palace" -graphic_alt = "b.palace" +graphic = "b.ecclesiastical_palace" +graphic_alt = "b.palace" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -848,8 +876,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.police_station" -graphic_alt = "-" +graphic = "b.police_station" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -872,8 +901,9 @@ reqs = "Tech", "Amphibious Warfare", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.port_facility" -graphic_alt = "-" +graphic = "b.port_facility" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -898,8 +928,9 @@ reqs = "Tech", "Refining", "Player" "Building", "Factory", "City" } -graphic = "b.power_plant" -graphic_alt = "-" +graphic = "b.power_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -930,8 +961,9 @@ reqs = { "type", "name", "range" "Tech", "Recycling", "Player" } -graphic = "b.recycling_center" -graphic_alt = "-" +graphic = "b.recycling_center" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -956,8 +988,9 @@ reqs = "Tech", "Computers", "Player" "Building", "University", "City" } -graphic = "b.research_lab" -graphic_alt = "-" +graphic = "b.research_lab" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -986,8 +1019,9 @@ reqs = { "type", "name", "range" "Tech", "Rocketry", "Player" } -graphic = "b.sam_battery" -graphic_alt = "-" +graphic = "b.sam_battery" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1008,8 +1042,9 @@ reqs = { "type", "name", "range" "Tech", "Laser", "Player" } -graphic = "b.sdi_defense" -graphic_alt = "-" +graphic = "b.sdi_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1035,8 +1070,9 @@ reqs = "Tech", "Sanitation", "Player" "MinSize", "9", "City" } -graphic = "b.sewer_system" -graphic_alt = "-" +graphic = "b.sewer_system" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1059,8 +1095,9 @@ reqs = "Tech", "Environmentalism", "Player" "Building", "Factory", "City" } -graphic = "b.solar_plant" -graphic_alt = "-" +graphic = "b.solar_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1101,8 +1138,9 @@ reqs = "Building", "University", "City" "Building", "Research Lab", "City" } -graphic = "b.space_component" -graphic_alt = "-" +graphic = "b.space_component" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1131,8 +1169,9 @@ reqs = "Building", "University", "City" "Building", "Research Lab", "City" } -graphic = "b.space_modules" -graphic_alt = "-" +graphic = "b.space_modules" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1170,8 +1209,9 @@ reqs = "Building", "University", "City" "Building", "Research Lab", "City" } -graphic = "b.space_structural" -graphic_alt = "-" +graphic = "b.space_structural" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1197,8 +1237,9 @@ reqs = "Tech", "Economics", "Player" "Building", "Bank", "City" } -graphic = "b.stock_exchange" -graphic_alt = "-" +graphic = "b.stock_exchange" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1222,8 +1263,9 @@ reqs = { "type", "name", "range" "Tech", "Automobile", "Player" } -graphic = "b.super_highways" -graphic_alt = "-" +graphic = "b.super_highways" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1254,8 +1296,9 @@ reqs = { "type", "name", "range" "Tech", "Refrigeration", "Player" } -graphic = "b.supermarket" -graphic_alt = "-" +graphic = "b.supermarket" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1278,8 +1321,9 @@ reqs = { "type", "name", "range" "Tech", "Ceremonial Burial", "Player" } -graphic = "b.temple" -graphic_alt = "-" +graphic = "b.temple" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1303,8 +1347,9 @@ reqs = "Tech", "University", "Player" "Building", "Library", "City" } -graphic = "b.university" -graphic_alt = "-" +graphic = "b.university" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1332,8 +1377,9 @@ reqs = { "type", "name", "range" "Tech", "Space Flight", "Player" } -graphic = "b.apollo_program" -graphic_alt = "-" +graphic = "b.apollo_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1363,8 +1409,9 @@ reqs = "Tech", "Economics", "Player" "Building", "Stock Exchange", "City" } -graphic = "b.asmiths_trading_co" -graphic_alt = "-" +graphic = "b.asmiths_trading_co" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1390,8 +1437,9 @@ reqs = { "type", "name", "range" "Tech", "Bronze Working", "Player" } -graphic = "b.colossus" -graphic_alt = "-" +graphic = "b.colossus" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Automobile", "Player", FALSE @@ -1413,8 +1461,9 @@ reqs = { "type", "name", "range" "Tech", "Astronomy", "Player" } -graphic = "b.copernicus_observatory" -graphic_alt = "-" +graphic = "b.copernicus_observatory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Computers", "Player", FALSE @@ -1436,8 +1485,9 @@ reqs = { "type", "name", "range" "Tech", "Genetic Engineering", "Player" } -graphic = "b.cure_for_cancer" -graphic_alt = "-" +graphic = "b.cure_for_cancer" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1462,8 +1512,9 @@ reqs = { "type", "name", "range" "Tech", "Steam Engine", "Player" } -graphic = "b.darwins_voyage" -graphic_alt = "-" +graphic = "b.darwins_voyage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1488,8 +1539,9 @@ reqs = { "type", "name", "range" "Tech", "Railroad", "Player" } -graphic = "b.eiffel_tower" -graphic_alt = "-" +graphic = "b.eiffel_tower" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1513,8 +1565,9 @@ reqs = "Tech", "Literacy", "Player" "Building", "Library", "City" } -graphic = "b.great_library" -graphic_alt = "-" +graphic = "b.great_library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1538,8 +1591,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.great_wall" -graphic_alt = "-" +graphic = "b.great_wall" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Machine Tools", "Player", FALSE @@ -1564,8 +1618,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.hanging_gardens" -graphic_alt = "-" +graphic = "b.hanging_gardens" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Electricity", "Player", FALSE @@ -1591,8 +1646,9 @@ reqs = "Extra", "River", "Adjacent" "Building", "Factory", "City" } -graphic = "b.hoover_dam" -graphic_alt = "-" +graphic = "b.hoover_dam" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1616,8 +1672,9 @@ reqs = "Tech", "Theory of Gravity", "Player" "Building", "University", "City" } -graphic = "b.isaac_newtons_college" -graphic_alt = "-" +graphic = "b.isaac_newtons_college" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1641,8 +1698,9 @@ reqs = { "type", "name", "range" "Tech", "Theology", "Player" } -graphic = "b.js_bachs_cathedral" -graphic_alt = "-" +graphic = "b.js_bachs_cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1663,8 +1721,9 @@ reqs = { "type", "name", "range" "Tech", "Chivalry", "Player" } -graphic = "b.king_richards_crusade" -graphic_alt = "-" +graphic = "b.king_richards_crusade" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Communism", "Player", FALSE @@ -1690,8 +1749,9 @@ reqs = { "type", "name", "range" "Tech", "Invention", "Player" } -graphic = "b.leonardos_workshop" -graphic_alt = "-" +graphic = "b.leonardos_workshop" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Combustion", "Player", FALSE @@ -1713,8 +1773,9 @@ reqs = "Tech", "Map Making", "Player" "TerrainFlag", "Sea", "Adjacent" } -graphic = "b.lighthouse" -graphic_alt = "-" +graphic = "b.lighthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Engineering", "Player", FALSE @@ -1738,8 +1799,9 @@ reqs = "Tech", "Magnetism", "Player" "TerrainFlag", "Sea", "Adjacent" } -graphic = "b.magellans_expedition" -graphic_alt = "-" +graphic = "b.magellans_expedition" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Nuclear Power", "Player", FALSE @@ -1762,8 +1824,9 @@ reqs = { "type", "name", "range" "Tech", "Nuclear Fission", "Player" } -graphic = "b.manhattan_project" -graphic_alt = "-" +graphic = "b.manhattan_project" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1782,8 +1845,9 @@ reqs = { "type", "name", "range" "Tech", "Trade", "Player" } -graphic = "b.marco_polos_embassy" -graphic_alt = "-" +graphic = "b.marco_polos_embassy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Democracy", "Player", FALSE @@ -1808,8 +1872,9 @@ reqs = "Tech", "Monotheism", "Player" "Building", "Cathedral", "City" } -graphic = "b.michelangelos_chapel" -graphic_alt = "-" +graphic = "b.michelangelos_chapel" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1833,6 +1898,7 @@ reqs = } graphic = "b.mausoleum" graphic_alt = "b.oracle" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Sanitation", "Player", FALSE @@ -1857,6 +1923,7 @@ reqs = } graphic = "b.statue_of_zeus" graphic_alt = "b.oracle" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Conscription", "Player", FALSE @@ -1884,6 +1951,7 @@ reqs = } graphic = "b.temple_of_artemis" graphic_alt = "b.oracle" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Theology", "Player", FALSE @@ -1905,8 +1973,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.pyramids" -graphic_alt = "-" +graphic = "b.pyramids" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Railroad", "Player", FALSE @@ -1934,6 +2003,7 @@ reqs = } graphic = "b.internet" graphic_alt = "b.seti_program" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1959,8 +2029,9 @@ reqs = { "type", "name", "range" "Tech", "Sanitation", "Player" } -graphic = "b.shakespeares_theatre" -graphic_alt = "-" +graphic = "b.shakespeares_theatre" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1984,8 +2055,9 @@ reqs = { "type", "name", "range" "Tech", "Democracy", "Player" } -graphic = "b.statue_of_liberty" -graphic_alt = "-" +graphic = "b.statue_of_liberty" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -2009,8 +2081,9 @@ reqs = { "type", "name", "range" "Tech", "Feudalism", "Player" } -graphic = "b.sun_tzus_war_academy" -graphic_alt = "-" +graphic = "b.sun_tzus_war_academy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Mobile Warfare", "Player", FALSE @@ -2033,8 +2106,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.united_nations" -graphic_alt = "-" +graphic = "b.united_nations" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -2063,8 +2137,9 @@ reqs = { "type", "name", "range" "Tech", "Conscription", "Player" } -graphic = "b.womens_suffrage" -graphic_alt = "-" +graphic = "b.womens_suffrage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -2088,8 +2163,9 @@ reqs = { "type", "name", "range" } -graphic = "b.capitalization" -graphic_alt = "-" +graphic = "b.capitalization" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } diff --git a/data/classic/buildings.ruleset b/data/classic/buildings.ruleset index 71997809cb..73a75c6611 100644 --- a/data/classic/buildings.ruleset +++ b/data/classic/buildings.ruleset @@ -50,8 +50,9 @@ building_flags = ; or "Convert". ; reqs = requirements to build the building (see effects.ruleset ; and README.effects for help on requirements) -; graphic = icon of improvement (used in city dialog) -; graphic_alt = alternate icon of improvement +; graphic = icon of improvement (used in city dialog) +; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -82,8 +83,9 @@ reqs = { "type", "name", "range" "Tech", "Radio", "Player" } -graphic = "b.airport" -graphic_alt = "-" +graphic = "b.airport" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -111,8 +113,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -136,8 +139,9 @@ reqs = "Tech", "Banking", "Player" "Building", "Marketplace", "City" } -graphic = "b.bank" -graphic_alt = "-" +graphic = "b.bank" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -157,10 +161,10 @@ name = _("Barracks") genus = "Improvement" reqs = { "type", "name", "range" - } -graphic = "b.barracks_i" -graphic_alt = "-" +graphic = "b.barracks_i" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Gunpowder", "Player" @@ -190,8 +194,9 @@ reqs = { "type", "name", "range" "Tech", "Gunpowder", "Player" } -graphic = "b.barracks_ii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_ii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" @@ -220,8 +225,9 @@ reqs = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" } -graphic = "b.barracks_iii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_iii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -249,8 +255,9 @@ reqs = "Tech", "Monotheism", "Player" "Building", "Temple", "City" } -graphic = "b.cathedral" -graphic_alt = "-" +graphic = "b.cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -277,8 +284,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.city_walls" -graphic_alt = "-" +graphic = "b.city_walls" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -303,8 +311,9 @@ reqs = "Tech", "Gunpowder", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.coastal_defense" -graphic_alt = "-" +graphic = "b.coastal_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -325,8 +334,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.colosseum" -graphic_alt = "-" +graphic = "b.colosseum" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -350,8 +360,9 @@ reqs = { "type", "name", "range" "Tech", "Code of Laws", "Player" } -graphic = "b.courthouse" -graphic_alt = "-" +graphic = "b.courthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -377,8 +388,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.factory" -graphic_alt = "-" +graphic = "b.factory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -400,8 +412,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.granary" -graphic_alt = "-" +graphic = "b.granary" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -428,8 +441,9 @@ reqs = "Tech", "Seafaring", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.harbour" -graphic_alt = "-" +graphic = "b.harbour" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -452,8 +466,9 @@ reqs = "Building", "Factory", "City" "Extra", "River", "Adjacent" } -graphic = "b.hydro_plant" -graphic_alt = "-" +graphic = "b.hydro_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -488,8 +503,9 @@ reqs = { "type", "name", "range" "Tech", "Writing", "Player" } -graphic = "b.library" -graphic_alt = "-" +graphic = "b.library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -510,8 +526,9 @@ reqs = { "type", "name", "range" "Tech", "Currency", "Player" } -graphic = "b.marketplace" -graphic_alt = "-" +graphic = "b.marketplace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -532,8 +549,9 @@ reqs = { "type", "name", "range" "Tech", "Mass Production", "Player" } -graphic = "b.mass_transit" -graphic_alt = "-" +graphic = "b.mass_transit" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -556,8 +574,9 @@ reqs = "Tech", "Robotics", "Player" "Building", "Factory", "City" } -graphic = "b.mfg_plant" -graphic_alt = "-" +graphic = "b.mfg_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -584,8 +603,9 @@ reqs = "Tech", "Nuclear Power", "Player" "Building", "Factory", "City" } -graphic = "b.nuclear_plant" -graphic_alt = "-" +graphic = "b.nuclear_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -626,8 +646,9 @@ reqs = "Tech", "Miniaturization", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.offshore_platform" -graphic_alt = "-" +graphic = "b.offshore_platform" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -649,8 +670,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.palace" -graphic_alt = "-" +graphic = "b.palace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -694,8 +716,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.police_station" -graphic_alt = "-" +graphic = "b.police_station" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -722,8 +745,9 @@ reqs = "Tech", "Amphibious Warfare", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.port_facility" -graphic_alt = "-" +graphic = "b.port_facility" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -746,8 +770,9 @@ reqs = "Tech", "Refining", "Player" "Building", "Factory", "City" } -graphic = "b.power_plant" -graphic_alt = "-" +graphic = "b.power_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -780,8 +805,9 @@ reqs = { "type", "name", "range" "Tech", "Recycling", "Player" } -graphic = "b.recycling_center" -graphic_alt = "-" +graphic = "b.recycling_center" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -804,8 +830,9 @@ reqs = "Tech", "Computers", "Player" "Building", "University", "City" } -graphic = "b.research_lab" -graphic_alt = "-" +graphic = "b.research_lab" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -829,8 +856,9 @@ reqs = { "type", "name", "range" "Tech", "Rocketry", "Player" } -graphic = "b.sam_battery" -graphic_alt = "-" +graphic = "b.sam_battery" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -851,8 +879,9 @@ reqs = { "type", "name", "range" "Tech", "Laser", "Player" } -graphic = "b.sdi_defense" -graphic_alt = "-" +graphic = "b.sdi_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -879,8 +908,9 @@ reqs = "Tech", "Sanitation", "Player" "Building", "Aqueduct", "City" } -graphic = "b.sewer_system" -graphic_alt = "-" +graphic = "b.sewer_system" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -904,8 +934,9 @@ reqs = "Tech", "Environmentalism", "Player" "Building", "Factory", "City" } -graphic = "b.solar_plant" -graphic_alt = "-" +graphic = "b.solar_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -939,8 +970,9 @@ reqs = "Tech", "Plastics", "Player" "Building", "Factory", "City" } -graphic = "b.space_component" -graphic_alt = "-" +graphic = "b.space_component" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -966,8 +998,9 @@ reqs = "Tech", "Superconductors", "Player" "Building", "Factory", "City" } -graphic = "b.space_modules" -graphic_alt = "-" +graphic = "b.space_modules" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1002,8 +1035,9 @@ reqs = "Tech", "Space Flight", "Player" "Building", "Factory", "City" } -graphic = "b.space_structural" -graphic_alt = "-" +graphic = "b.space_structural" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1029,8 +1063,9 @@ reqs = "Tech", "Economics", "Player" "Building", "Bank", "City" } -graphic = "b.stock_exchange" -graphic_alt = "-" +graphic = "b.stock_exchange" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1054,8 +1089,9 @@ reqs = { "type", "name", "range" "Tech", "Automobile", "Player" } -graphic = "b.super_highways" -graphic_alt = "-" +graphic = "b.super_highways" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1079,8 +1115,9 @@ reqs = { "type", "name", "range" "Tech", "Refrigeration", "Player" } -graphic = "b.supermarket" -graphic_alt = "-" +graphic = "b.supermarket" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1103,8 +1140,9 @@ reqs = { "type", "name", "range" "Tech", "Ceremonial Burial", "Player" } -graphic = "b.temple" -graphic_alt = "-" +graphic = "b.temple" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1128,8 +1166,9 @@ reqs = "Tech", "University", "Player" "Building", "Library", "City" } -graphic = "b.university" -graphic_alt = "-" +graphic = "b.university" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1151,8 +1190,9 @@ reqs = { "type", "name", "range" "Tech", "Space Flight", "Player" } -graphic = "b.apollo_program" -graphic_alt = "-" +graphic = "b.apollo_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1176,8 +1216,9 @@ reqs = { "type", "name", "range" "Tech", "Economics", "Player" } -graphic = "b.asmiths_trading_co" -graphic_alt = "-" +graphic = "b.asmiths_trading_co" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1198,8 +1239,9 @@ reqs = { "type", "name", "range" "Tech", "Bronze Working", "Player" } -graphic = "b.colossus" -graphic_alt = "-" +graphic = "b.colossus" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Flight", "World", TRUE @@ -1221,8 +1263,9 @@ reqs = { "type", "name", "range" "Tech", "Astronomy", "Player" } -graphic = "b.copernicus_observatory" -graphic_alt = "-" +graphic = "b.copernicus_observatory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1243,8 +1286,9 @@ reqs = { "type", "name", "range" "Tech", "Genetic Engineering", "Player" } -graphic = "b.cure_for_cancer" -graphic_alt = "-" +graphic = "b.cure_for_cancer" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1269,8 +1313,9 @@ reqs = { "type", "name", "range" "Tech", "Railroad", "Player" } -graphic = "b.darwins_voyage" -graphic_alt = "-" +graphic = "b.darwins_voyage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1292,8 +1337,9 @@ reqs = { "type", "name", "range" "Tech", "Steam Engine", "Player" } -graphic = "b.eiffel_tower" -graphic_alt = "-" +graphic = "b.eiffel_tower" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1315,8 +1361,9 @@ reqs = { "type", "name", "range" "Tech", "Literacy", "Player" } -graphic = "b.great_library" -graphic_alt = "-" +graphic = "b.great_library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Electricity", "World", TRUE @@ -1338,8 +1385,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.great_wall" -graphic_alt = "-" +graphic = "b.great_wall" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Metallurgy", "World", TRUE @@ -1363,8 +1411,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.hanging_gardens" -graphic_alt = "-" +graphic = "b.hanging_gardens" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Railroad", "World", TRUE @@ -1391,8 +1440,9 @@ reqs = "Tech", "Electronics", "Player" "Extra", "River", "Adjacent" } -graphic = "b.hoover_dam" -graphic_alt = "-" +graphic = "b.hoover_dam" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1413,8 +1463,9 @@ reqs = { "type", "name", "range" "Tech", "Theory of Gravity", "Player" } -graphic = "b.isaac_newtons_college" -graphic_alt = "-" +graphic = "b.isaac_newtons_college" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1436,8 +1487,9 @@ reqs = { "type", "name", "range" "Tech", "Theology", "Player" } -graphic = "b.js_bachs_cathedral" -graphic_alt = "-" +graphic = "b.js_bachs_cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1458,8 +1510,9 @@ reqs = { "type", "name", "range" "Tech", "Engineering", "Player" } -graphic = "b.king_richards_crusade" -graphic_alt = "-" +graphic = "b.king_richards_crusade" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Robotics", "World", TRUE @@ -1481,8 +1534,9 @@ reqs = { "type", "name", "range" "Tech", "Invention", "Player" } -graphic = "b.leonardos_workshop" -graphic_alt = "-" +graphic = "b.leonardos_workshop" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Automobile", "World", TRUE @@ -1504,8 +1558,9 @@ reqs = "Tech", "Map Making", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.lighthouse" -graphic_alt = "-" +graphic = "b.lighthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Magnetism", "World", TRUE @@ -1528,8 +1583,9 @@ reqs = "Tech", "Navigation", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.magellans_expedition" -graphic_alt = "-" +graphic = "b.magellans_expedition" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1549,8 +1605,9 @@ reqs = { "type", "name", "range" "Tech", "Nuclear Fission", "Player" } -graphic = "b.manhattan_project" -graphic_alt = "-" +graphic = "b.manhattan_project" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1569,8 +1626,9 @@ reqs = { "type", "name", "range" "Tech", "Trade", "Player" } -graphic = "b.marco_polos_embassy" -graphic_alt = "-" +graphic = "b.marco_polos_embassy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Communism", "World", TRUE @@ -1591,8 +1649,9 @@ reqs = { "type", "name", "range" "Tech", "Monotheism", "Player" } -graphic = "b.michelangelos_chapel" -graphic_alt = "-" +graphic = "b.michelangelos_chapel" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1618,8 +1677,9 @@ reqs = { "type", "name", "range" "Tech", "Mysticism", "Player" } -graphic = "b.oracle" -graphic_alt = "-" +graphic = "b.oracle" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Theology", "World", TRUE @@ -1642,8 +1702,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.pyramids" -graphic_alt = "-" +graphic = "b.pyramids" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1666,8 +1727,9 @@ reqs = { "type", "name", "range" "Tech", "Computers", "Player" } -graphic = "b.seti_program" -graphic_alt = "-" +graphic = "b.seti_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1689,8 +1751,9 @@ reqs = { "type", "name", "range" "Tech", "Medicine", "Player" } -graphic = "b.shakespeares_theatre" -graphic_alt = "-" +graphic = "b.shakespeares_theatre" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1711,8 +1774,9 @@ reqs = { "type", "name", "range" "Tech", "Democracy", "Player" } -graphic = "b.statue_of_liberty" -graphic_alt = "-" +graphic = "b.statue_of_liberty" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1734,8 +1798,9 @@ reqs = { "type", "name", "range" "Tech", "Feudalism", "Player" } -graphic = "b.sun_tzus_war_academy" -graphic_alt = "-" +graphic = "b.sun_tzus_war_academy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Mobile Warfare", "World", TRUE @@ -1759,8 +1824,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.united_nations" -graphic_alt = "-" +graphic = "b.united_nations" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1780,8 +1846,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.womens_suffrage" -graphic_alt = "-" +graphic = "b.womens_suffrage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1810,8 +1877,9 @@ reqs = { "type", "name", "range" } -graphic = "b.capitalization" -graphic_alt = "-" +graphic = "b.capitalization" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } diff --git a/data/goldkeep/buildings.ruleset b/data/goldkeep/buildings.ruleset index 1c23bd387b..bfa274aba2 100644 --- a/data/goldkeep/buildings.ruleset +++ b/data/goldkeep/buildings.ruleset @@ -54,6 +54,7 @@ building_flags = ; and README.effects for help on requirements) ; graphic = icon of improvement (used in city dialog) ; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -86,6 +87,7 @@ reqs = } graphic = "b.airport" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -115,6 +117,7 @@ reqs = } graphic = "b.aqueduct" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -143,6 +146,7 @@ reqs = } graphic = "b.bank" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -162,10 +166,10 @@ name = _("Barracks") genus = "Improvement" reqs = { "type", "name", "range" - } graphic = "b.barracks_i" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Gunpowder", "Player" @@ -197,6 +201,7 @@ reqs = } graphic = "b.barracks_ii" graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" @@ -227,6 +232,7 @@ reqs = } graphic = "b.barracks_iii" graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -256,6 +262,7 @@ reqs = } graphic = "b.cathedral" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -284,6 +291,7 @@ reqs = } graphic = "b.city_walls" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -310,6 +318,7 @@ reqs = } graphic = "b.coastal_defense" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -332,6 +341,7 @@ reqs = } graphic = "b.colosseum" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -358,6 +368,7 @@ reqs = } graphic = "b.courthouse" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -385,6 +396,7 @@ reqs = } graphic = "b.factory" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -408,6 +420,7 @@ reqs = } graphic = "b.granary" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -436,6 +449,7 @@ reqs = } graphic = "b.harbour" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -458,6 +472,7 @@ reqs = } graphic = "b.hospital" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -482,6 +497,7 @@ reqs = } graphic = "b.hydro_plant" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -518,6 +534,7 @@ reqs = } graphic = "b.genetic_lab" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -544,6 +561,7 @@ reqs = } graphic = "b.library" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -567,6 +585,7 @@ reqs = } graphic = "b.marketplace" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -589,6 +608,7 @@ reqs = } graphic = "b.mass_transit" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -616,6 +636,7 @@ reqs = } graphic = "b.mfg_plant" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -644,6 +665,7 @@ reqs = } graphic = "b.nuclear_plant" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -683,6 +705,7 @@ reqs = } graphic = "b.offshore_platform" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -706,6 +729,7 @@ reqs = } graphic = "b.palace" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -752,6 +776,7 @@ reqs = } graphic = "b.police_station" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -780,6 +805,7 @@ reqs = } graphic = "b.port_facility" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -804,6 +830,7 @@ reqs = } graphic = "b.power_plant" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -838,6 +865,7 @@ reqs = } graphic = "b.recycling_center" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -862,6 +890,7 @@ reqs = } graphic = "b.research_lab" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -887,6 +916,7 @@ reqs = } graphic = "b.sam_battery" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -909,6 +939,7 @@ reqs = } graphic = "b.sdi_defense" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -937,6 +968,7 @@ reqs = } graphic = "b.sewer_system" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -962,6 +994,7 @@ reqs = } graphic = "b.solar_plant" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -997,6 +1030,7 @@ reqs = } graphic = "b.space_component" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1024,6 +1058,7 @@ reqs = } graphic = "b.space_modules" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1060,6 +1095,7 @@ reqs = } graphic = "b.space_structural" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1087,6 +1123,7 @@ reqs = } graphic = "b.stock_exchange" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1112,6 +1149,7 @@ reqs = } graphic = "b.super_highways" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1140,6 +1178,7 @@ reqs = } graphic = "b.supermarket" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1164,6 +1203,7 @@ reqs = } graphic = "b.temple" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1191,6 +1231,7 @@ reqs = } graphic = "b.university" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1215,6 +1256,7 @@ reqs = } graphic = "b.apollo_program" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1240,6 +1282,7 @@ reqs = } graphic = "b.asmiths_trading_co" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1262,6 +1305,7 @@ reqs = } graphic = "b.colossus" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Flight", "World", TRUE @@ -1285,6 +1329,7 @@ reqs = } graphic = "b.copernicus_observatory" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1307,6 +1352,7 @@ reqs = } graphic = "b.cure_for_cancer" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1333,6 +1379,7 @@ reqs = } graphic = "b.darwins_voyage" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1356,6 +1403,7 @@ reqs = } graphic = "b.eiffel_tower" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1379,6 +1427,7 @@ reqs = } graphic = "b.great_library" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Electricity", "World", TRUE @@ -1402,6 +1451,7 @@ reqs = } graphic = "b.great_wall" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Metallurgy", "World", TRUE @@ -1427,6 +1477,7 @@ reqs = } graphic = "b.hanging_gardens" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Railroad", "World", TRUE @@ -1455,6 +1506,7 @@ reqs = } graphic = "b.hoover_dam" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1477,6 +1529,7 @@ reqs = } graphic = "b.isaac_newtons_college" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1500,6 +1553,7 @@ reqs = } graphic = "b.js_bachs_cathedral" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1522,6 +1576,7 @@ reqs = } graphic = "b.king_richards_crusade" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Robotics", "World", TRUE @@ -1545,6 +1600,7 @@ reqs = } graphic = "b.leonardos_workshop" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Automobile", "World", TRUE @@ -1568,6 +1624,7 @@ reqs = } graphic = "b.lighthouse" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Magnetism", "World", TRUE @@ -1592,6 +1649,7 @@ reqs = } graphic = "b.magellans_expedition" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1613,6 +1671,7 @@ reqs = } graphic = "b.manhattan_project" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1633,6 +1692,7 @@ reqs = } graphic = "b.marco_polos_embassy" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Communism", "World", TRUE @@ -1656,6 +1716,7 @@ reqs = } graphic = "b.michelangelos_chapel" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1683,6 +1744,7 @@ reqs = } graphic = "b.oracle" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Theology", "World", TRUE @@ -1707,6 +1769,7 @@ reqs = } graphic = "b.pyramids" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1731,6 +1794,7 @@ reqs = } graphic = "b.seti_program" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1754,6 +1818,7 @@ reqs = } graphic = "b.shakespeares_theatre" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1776,6 +1841,7 @@ reqs = } graphic = "b.statue_of_liberty" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1799,6 +1865,7 @@ reqs = } graphic = "b.sun_tzus_war_academy" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Mobile Warfare", "World", TRUE @@ -1824,6 +1891,7 @@ reqs = } graphic = "b.united_nations" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1845,6 +1913,7 @@ reqs = } graphic = "b.womens_suffrage" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1875,6 +1944,7 @@ reqs = } graphic = "b.capitalization" graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } diff --git a/data/granularity/buildings.ruleset b/data/granularity/buildings.ruleset index b014b7be49..49ab269851 100644 --- a/data/granularity/buildings.ruleset +++ b/data/granularity/buildings.ruleset @@ -49,8 +49,9 @@ format_version = 40 ; or "Convert". ; reqs = requirements to build the building (see effects.ruleset ; and README.effects for help on requirements) -; graphic = icon of improvement (used in city dialog) -; graphic_alt = alternate icon of improvement +; graphic = icon of improvement (used in city dialog) +; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -82,8 +83,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.city_walls" -graphic_alt = "-" +graphic = "b.city_walls" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -104,8 +106,9 @@ reqs = { "type", "name", "range" "Tech", "Spirits", "Player" } -graphic = "b.sacred_grove" -graphic_alt = "b.temple" +graphic = "b.sacred_grove" +graphic_alt = "b.temple" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -128,6 +131,7 @@ reqs = } graphic = "b.throne" graphic_alt = "b.palace" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } diff --git a/data/multiplayer/buildings.ruleset b/data/multiplayer/buildings.ruleset index 55a60e33ea..a99a2d187f 100644 --- a/data/multiplayer/buildings.ruleset +++ b/data/multiplayer/buildings.ruleset @@ -49,8 +49,9 @@ building_flags = ; or "Convert". ; reqs = requirements to build the building (see effects.ruleset ; and README.effects for help on requirements) -; graphic = icon of improvement (used in city dialog) -; graphic_alt = alternate icon of improvement +; graphic = icon of improvement (used in city dialog) +; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -81,8 +82,9 @@ reqs = { "type", "name", "range" "Tech", "Radio", "Player" } -graphic = "b.airport" -graphic_alt = "-" +graphic = "b.airport" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -114,8 +116,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.colosseum" -graphic_alt = "-" +graphic = "b.colosseum" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -137,8 +140,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -162,8 +166,9 @@ reqs = "Tech", "Banking", "Player" "Building", "Marketplace", "City" } -graphic = "b.bank" -graphic_alt = "-" +graphic = "b.bank" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -183,10 +188,10 @@ name = _("Barracks") genus = "Improvement" reqs = { "type", "name", "range" - } -graphic = "b.barracks_i" -graphic_alt = "-" +graphic = "b.barracks_i" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Gunpowder", "Player" @@ -216,8 +221,9 @@ reqs = { "type", "name", "range" "Tech", "Gunpowder", "Player" } -graphic = "b.barracks_ii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_ii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" @@ -246,8 +252,9 @@ reqs = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" } -graphic = "b.barracks_iii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_iii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -275,8 +282,9 @@ reqs = "Tech", "Monotheism", "Player" "Building", "Temple", "City" } -graphic = "b.cathedral" -graphic_alt = "-" +graphic = "b.cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -303,8 +311,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.city_walls" -graphic_alt = "-" +graphic = "b.city_walls" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -329,8 +338,9 @@ reqs = "Tech", "Gunpowder", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.coastal_defense" -graphic_alt = "-" +graphic = "b.coastal_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -351,8 +361,9 @@ reqs = { "type", "name", "range" "Tech", "Code of Laws", "Player" } -graphic = "b.courthouse" -graphic_alt = "-" +graphic = "b.courthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -378,8 +389,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.factory" -graphic_alt = "-" +graphic = "b.factory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -401,8 +413,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.granary" -graphic_alt = "-" +graphic = "b.granary" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -426,8 +439,9 @@ reqs = "Tech", "Seafaring", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.harbour" -graphic_alt = "-" +graphic = "b.harbour" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -450,8 +464,9 @@ reqs = "Building", "Factory", "City" "Extra", "River", "Adjacent" } -graphic = "b.hydro_plant" -graphic_alt = "-" +graphic = "b.hydro_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -483,8 +498,9 @@ reqs = { "type", "name", "range" "Tech", "Writing", "Player" } -graphic = "b.library" -graphic_alt = "-" +graphic = "b.library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -505,8 +521,9 @@ reqs = { "type", "name", "range" "Tech", "Currency", "Player" } -graphic = "b.marketplace" -graphic_alt = "-" +graphic = "b.marketplace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -527,8 +544,9 @@ reqs = { "type", "name", "range" "Tech", "Mass Production", "Player" } -graphic = "b.mass_transit" -graphic_alt = "-" +graphic = "b.mass_transit" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -551,8 +569,9 @@ reqs = "Tech", "Robotics", "Player" "Building", "Factory", "City" } -graphic = "b.mfg_plant" -graphic_alt = "-" +graphic = "b.mfg_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -576,8 +595,9 @@ reqs = "Tech", "Nuclear Power", "Player" "Building", "Factory", "City" } -graphic = "b.nuclear_plant" -graphic_alt = "-" +graphic = "b.nuclear_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -610,8 +630,9 @@ reqs = "Tech", "Miniaturization", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.offshore_platform" -graphic_alt = "-" +graphic = "b.offshore_platform" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -633,8 +654,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.palace" -graphic_alt = "-" +graphic = "b.palace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -679,8 +701,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.police_station" -graphic_alt = "-" +graphic = "b.police_station" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -704,8 +727,9 @@ reqs = "Tech", "Amphibious Warfare", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.port_facility" -graphic_alt = "-" +graphic = "b.port_facility" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -728,8 +752,9 @@ reqs = "Tech", "Refining", "Player" "Building", "Factory", "City" } -graphic = "b.power_plant" -graphic_alt = "-" +graphic = "b.power_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -759,8 +784,9 @@ reqs = { "type", "name", "range" "Tech", "Recycling", "Player" } -graphic = "b.recycling_center" -graphic_alt = "-" +graphic = "b.recycling_center" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -783,8 +809,9 @@ reqs = "Tech", "Computers", "Player" "Building", "University", "City" } -graphic = "b.research_lab" -graphic_alt = "-" +graphic = "b.research_lab" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -808,8 +835,9 @@ reqs = { "type", "name", "range" "Tech", "Rocketry", "Player" } -graphic = "b.sam_battery" -graphic_alt = "-" +graphic = "b.sam_battery" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -830,8 +858,9 @@ reqs = { "type", "name", "range" "Tech", "Laser", "Player" } -graphic = "b.sdi_defense" -graphic_alt = "-" +graphic = "b.sdi_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -856,8 +885,9 @@ reqs = "Tech", "Sanitation", "Player" "Building", "Aqueduct", "City" } -graphic = "b.sewer_system" -graphic_alt = "-" +graphic = "b.sewer_system" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -881,8 +911,9 @@ reqs = "Tech", "Environmentalism", "Player" "Building", "Factory", "City" } -graphic = "b.solar_plant" -graphic_alt = "-" +graphic = "b.solar_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -916,8 +947,9 @@ reqs = "Tech", "Plastics", "Player" "Building", "Factory", "City" } -graphic = "b.space_component" -graphic_alt = "-" +graphic = "b.space_component" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -943,8 +975,9 @@ reqs = "Tech", "Superconductors", "Player" "Building", "Factory", "City" } -graphic = "b.space_modules" -graphic_alt = "-" +graphic = "b.space_modules" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -979,8 +1012,9 @@ reqs = "Tech", "Space Flight", "Player" "Building", "Factory", "City" } -graphic = "b.space_structural" -graphic_alt = "-" +graphic = "b.space_structural" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1006,8 +1040,9 @@ reqs = "Tech", "Economics", "Player" "Building", "Bank", "City" } -graphic = "b.stock_exchange" -graphic_alt = "-" +graphic = "b.stock_exchange" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1031,8 +1066,9 @@ reqs = { "type", "name", "range" "Tech", "Automobile", "Player" } -graphic = "b.super_highways" -graphic_alt = "-" +graphic = "b.super_highways" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1054,8 +1090,9 @@ reqs = { "type", "name", "range" "Tech", "Refrigeration", "Player" } -graphic = "b.supermarket" -graphic_alt = "-" +graphic = "b.supermarket" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1078,8 +1115,9 @@ reqs = { "type", "name", "range" "Tech", "Ceremonial Burial", "Player" } -graphic = "b.temple" -graphic_alt = "-" +graphic = "b.temple" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1103,8 +1141,9 @@ reqs = "Tech", "University", "Player" "Building", "Library", "City" } -graphic = "b.university" -graphic_alt = "-" +graphic = "b.university" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1127,8 +1166,9 @@ reqs = "Tech", "Space Flight", "Player", TRUE, FALSE "Building", "Apollo Program", "Player", FALSE, TRUE } -graphic = "b.apollo_program" -graphic_alt = "-" +graphic = "b.apollo_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1151,8 +1191,9 @@ reqs = "Tech", "Economics", "Player", TRUE, FALSE "Building", "A.Smith's Trading Co.", "Player", FALSE, TRUE } -graphic = "b.asmiths_trading_co" -graphic_alt = "-" +graphic = "b.asmiths_trading_co" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1174,8 +1215,9 @@ reqs = "Tech", "Bronze Working", "Player", TRUE, FALSE "Building", "Colossus", "Player", FALSE, TRUE } -graphic = "b.colossus" -graphic_alt = "-" +graphic = "b.colossus" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Flight", "Player" @@ -1198,8 +1240,9 @@ reqs = "Tech", "Astronomy", "Player", TRUE, FALSE "Building", "Copernicus' Observatory", "Player", FALSE, TRUE } -graphic = "b.copernicus_observatory" -graphic_alt = "-" +graphic = "b.copernicus_observatory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1220,8 +1263,9 @@ reqs = { "type", "name", "range" "Tech", "Genetic Engineering", "Player" } -graphic = "b.cure_for_cancer" -graphic_alt = "-" +graphic = "b.cure_for_cancer" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1247,8 +1291,9 @@ reqs = "Tech", "Railroad", "Player", TRUE, FALSE "Building", "Darwin's Voyage", "Player", FALSE, TRUE } -graphic = "b.darwins_voyage" -graphic_alt = "-" +graphic = "b.darwins_voyage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1270,8 +1315,9 @@ reqs = "Tech", "Steam Engine", "Player", TRUE, FALSE "Building", "Eiffel Tower", "Player", FALSE, TRUE } -graphic = "b.eiffel_tower" -graphic_alt = "-" +graphic = "b.eiffel_tower" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1294,8 +1340,9 @@ reqs = "Tech", "Literacy", "Player", TRUE, FALSE "Building", "Great Library", "Player", FALSE, TRUE } -graphic = "b.great_library" -graphic_alt = "-" +graphic = "b.great_library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1317,8 +1364,9 @@ reqs = "Tech", "Masonry", "Player", TRUE, FALSE "Building", "Great Wall", "Player", FALSE, TRUE } -graphic = "b.great_wall" -graphic_alt = "-" +graphic = "b.great_wall" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Metallurgy", "Player" @@ -1340,8 +1388,9 @@ reqs = "Tech", "Pottery", "Player", TRUE, FALSE "Building", "Hanging Gardens", "Player", FALSE, TRUE } -graphic = "b.hanging_gardens" -graphic_alt = "-" +graphic = "b.hanging_gardens" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Railroad", "Player" @@ -1368,8 +1417,9 @@ reqs = "Extra", "River", "Adjacent", TRUE, FALSE "Building", "Hoover Dam", "Player", FALSE, TRUE } -graphic = "b.hoover_dam" -graphic_alt = "-" +graphic = "b.hoover_dam" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1392,8 +1442,9 @@ reqs = "Tech", "Theory of Gravity", "Player", TRUE, FALSE "Building", "Isaac Newton's College", "Player", FALSE, TRUE } -graphic = "b.isaac_newtons_college" -graphic_alt = "-" +graphic = "b.isaac_newtons_college" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1416,8 +1467,9 @@ reqs = "Tech", "Theology", "Player", TRUE, FALSE "Building", "J.S. Bach's Cathedral", "Player", FALSE, TRUE } -graphic = "b.js_bachs_cathedral" -graphic_alt = "-" +graphic = "b.js_bachs_cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1439,8 +1491,9 @@ reqs = "Tech", "Engineering", "Player", TRUE, FALSE "Building", "King Richard's Crusade", "Player", FALSE, TRUE } -graphic = "b.king_richards_crusade" -graphic_alt = "-" +graphic = "b.king_richards_crusade" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Robotics", "Player" @@ -1463,8 +1516,9 @@ reqs = "Tech", "Invention", "Player", TRUE, FALSE "Building", "Leonardo's Workshop", "Player", FALSE, TRUE } -graphic = "b.leonardos_workshop" -graphic_alt = "-" +graphic = "b.leonardos_workshop" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Automobile", "Player" @@ -1487,8 +1541,9 @@ reqs = "TerrainClass", "Oceanic", "Adjacent", TRUE, FALSE "Building", "Lighthouse", "Player", FALSE, TRUE } -graphic = "b.lighthouse" -graphic_alt = "-" +graphic = "b.lighthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Magnetism", "Player" @@ -1511,8 +1566,9 @@ reqs = "TerrainClass", "Oceanic", "Adjacent", TRUE, FALSE "Building", "Magellan's Expedition", "Player", FALSE, TRUE } -graphic = "b.magellans_expedition" -graphic_alt = "-" +graphic = "b.magellans_expedition" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1534,8 +1590,9 @@ reqs = { "type", "name", "range" "Tech", "Nuclear Fission", "Player" } -graphic = "b.manhattan_project" -graphic_alt = "-" +graphic = "b.manhattan_project" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1555,8 +1612,9 @@ reqs = "Tech", "Trade", "Player", TRUE, FALSE "Building", "Marco Polo's Embassy", "Player", FALSE, TRUE } -graphic = "b.marco_polos_embassy" -graphic_alt = "-" +graphic = "b.marco_polos_embassy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1579,8 +1637,9 @@ reqs = "Tech", "Monotheism", "Player", TRUE, FALSE "Building", "Michelangelo's Chapel", "Player", FALSE, TRUE } -graphic = "b.michelangelos_chapel" -graphic_alt = "-" +graphic = "b.michelangelos_chapel" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1607,8 +1666,9 @@ reqs = "Tech", "Mysticism", "Player", TRUE, FALSE "Building", "Oracle", "Player", FALSE, TRUE } -graphic = "b.oracle" -graphic_alt = "-" +graphic = "b.oracle" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Theology", "Player" @@ -1632,8 +1692,9 @@ reqs = "Tech", "Masonry", "Player", TRUE, FALSE "Building", "Pyramids", "Player", FALSE, TRUE } -graphic = "b.pyramids" -graphic_alt = "-" +graphic = "b.pyramids" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1656,8 +1717,9 @@ genus = "SmallWonder" "Tech", "Computers", "Player", TRUE, FALSE "Building", "The Internet", "Player", FALSE, TRUE } -graphic = "b.internet" -graphic_alt = "b.seti_program" +graphic = "b.internet" +graphic_alt = "b.seti_program" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1681,8 +1743,9 @@ reqs = "Tech", "Medicine", "Player", TRUE, FALSE "Building", "Shakespeare's Theatre", "Player", FALSE, TRUE } -graphic = "b.shakespeares_theatre" -graphic_alt = "-" +graphic = "b.shakespeares_theatre" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1704,8 +1767,9 @@ reqs = "Tech", "Democracy", "Player", TRUE, FALSE "Building", "Statue of Liberty", "Player", FALSE, TRUE } -graphic = "b.statue_of_liberty" -graphic_alt = "-" +graphic = "b.statue_of_liberty" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1728,8 +1792,9 @@ reqs = "Tech", "Feudalism", "Player", TRUE, FALSE "Building", "Sun Tzu's War Academy", "Player", FALSE, TRUE } -graphic = "b.sun_tzus_war_academy" -graphic_alt = "-" +graphic = "b.sun_tzus_war_academy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" @@ -1752,8 +1817,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.united_nations" -graphic_alt = "-" +graphic = "b.united_nations" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1776,8 +1842,9 @@ reqs = "Tech", "Industrialization", "Player", TRUE, FALSE "Building", "Women's Suffrage", "Player", FALSE, TRUE } -graphic = "b.womens_suffrage" -graphic_alt = "-" +graphic = "b.womens_suffrage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1803,8 +1870,9 @@ reqs = { "type", "name", "range" } -graphic = "b.capitalization" -graphic_alt = "-" +graphic = "b.capitalization" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } diff --git a/data/ruledit/comments-3.3.txt b/data/ruledit/comments-3.3.txt index bf9d4195f4..f29c3c1e2f 100644 --- a/data/ruledit/comments-3.3.txt +++ b/data/ruledit/comments-3.3.txt @@ -44,6 +44,7 @@ buildings = "\ ; and README.effects for help on requirements)\n\ ; graphic = icon of improvement (used in city dialog)\n\ ; graphic_alt = alternate icon of improvement\n\ +; graphic_alt2 = second alternative icon.\n\ ; obsolete_by = requirements for the building to become obsolete\n\ ; build_cost = production shields required to build\n\ ; upkeep = monetary upkeep value\n\ diff --git a/data/sandbox/buildings.ruleset b/data/sandbox/buildings.ruleset index 15550b9277..1483def84f 100644 --- a/data/sandbox/buildings.ruleset +++ b/data/sandbox/buildings.ruleset @@ -50,8 +50,9 @@ building_flags = ; or "Convert". ; reqs = requirements to build the building (see effects.ruleset ; and README.effects for help on requirements) -; graphic = icon of improvement (used in city dialog) -; graphic_alt = alternate icon of improvement +; graphic = icon of improvement (used in city dialog) +; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -82,8 +83,9 @@ reqs = { "type", "name", "range" "Tech", "Radio", "Player" } -graphic = "b.airport" -graphic_alt = "-" +graphic = "b.airport" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -117,8 +119,9 @@ reqs = "Extra", "River", "Adjacent", FALSE "Terrain", "Lake", "Adjacent", FALSE } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -153,8 +156,9 @@ reqs = { "type", "name", "range" "Terrain", "Lake", "Adjacent" } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -190,8 +194,9 @@ reqs = "Extra", "River", "Adjacent", TRUE "Terrain", "Lake", "Adjacent", FALSE } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -227,8 +232,9 @@ reqs = "Tech", "Banking", "Player" "Building", "Marketplace", "City" } -graphic = "b.bank" -graphic_alt = "-" +graphic = "b.bank" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -248,10 +254,10 @@ name = _("Barracks") genus = "Improvement" reqs = { "type", "name", "range" - } -graphic = "b.barracks_i" -graphic_alt = "-" +graphic = "b.barracks_i" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Gunpowder", "Player" @@ -281,8 +287,9 @@ reqs = { "type", "name", "range" "Tech", "Gunpowder", "Player" } -graphic = "b.barracks_ii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_ii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" @@ -311,8 +318,9 @@ reqs = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" } -graphic = "b.barracks_iii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_iii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -340,8 +348,9 @@ reqs = "Tech", "Monotheism", "Player" "Building", "Temple", "City" } -graphic = "b.cathedral" -graphic_alt = "-" +graphic = "b.cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -366,8 +375,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.city_walls" -graphic_alt = "-" +graphic = "b.city_walls" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -394,8 +404,9 @@ reqs = "Tech", "Navigation", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.coastal_defense" -graphic_alt = "-" +graphic = "b.coastal_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -420,8 +431,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.colosseum" -graphic_alt = "-" +graphic = "b.colosseum" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -443,8 +455,9 @@ reqs = { "type", "name", "range" "Tech", "Code of Laws", "Player" } -graphic = "b.courthouse" -graphic_alt = "-" +graphic = "b.courthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -472,8 +485,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.factory" -graphic_alt = "-" +graphic = "b.factory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -499,8 +513,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.granary" -graphic_alt = "-" +graphic = "b.granary" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -532,8 +547,9 @@ reqs = "Tech", "Seafaring", "Player" "TerrainFlag", "Sea", "Adjacent" } -graphic = "b.harbour" -graphic_alt = "-" +graphic = "b.harbour" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -557,8 +573,9 @@ reqs = "Building", "Factory", "City" "Extra", "River", "Adjacent" } -graphic = "b.hydro_plant" -graphic_alt = "-" +graphic = "b.hydro_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -598,8 +615,9 @@ reqs = { "type", "name", "range" "Tech", "Writing", "Player" } -graphic = "b.library" -graphic_alt = "-" +graphic = "b.library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -620,8 +638,9 @@ reqs = { "type", "name", "range" "Tech", "Currency", "Player" } -graphic = "b.marketplace" -graphic_alt = "-" +graphic = "b.marketplace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -642,8 +661,9 @@ reqs = { "type", "name", "range" "Tech", "Mass Production", "Player" } -graphic = "b.mass_transit" -graphic_alt = "-" +graphic = "b.mass_transit" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -666,8 +686,9 @@ reqs = "Tech", "Plastics", "Player" "Building", "Factory", "City" } -graphic = "b.mfg_plant" -graphic_alt = "-" +graphic = "b.mfg_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -702,8 +723,9 @@ reqs = "Tech", "Nuclear Power", "Player" "Building", "Factory", "City" } -graphic = "b.nuclear_plant" -graphic_alt = "-" +graphic = "b.nuclear_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -744,8 +766,9 @@ reqs = "Tech", "Miniaturization", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.offshore_platform" -graphic_alt = "-" +graphic = "b.offshore_platform" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -767,8 +790,12 @@ of the city.\ name = _("Palace") genus = "SmallWonder" flags = "SaveSmallWonder" -graphic = "b.palace" -graphic_alt = "-" +reqs = + { "type", "name", "range" + } +graphic = "b.palace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -813,8 +840,9 @@ reqs = { "type", "name", "range" "Tech", "Theology", "Player" } -graphic = "b.ecclesiastical_palace" -graphic_alt = "b.palace" +graphic = "b.ecclesiastical_palace" +graphic_alt = "b.palace" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -855,6 +883,7 @@ reqs = } graphic = "b.mystery_school" graphic_alt = "b.temple" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -877,8 +906,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.police_station" -graphic_alt = "-" +graphic = "b.police_station" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -901,8 +931,9 @@ reqs = "Tech", "Amphibious Warfare", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.port_facility" -graphic_alt = "-" +graphic = "b.port_facility" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -927,8 +958,9 @@ reqs = "Tech", "Refining", "Player" "Building", "Factory", "City" } -graphic = "b.power_plant" -graphic_alt = "-" +graphic = "b.power_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -959,8 +991,9 @@ reqs = { "type", "name", "range" "Tech", "Recycling", "Player" } -graphic = "b.recycling_center" -graphic_alt = "-" +graphic = "b.recycling_center" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -985,8 +1018,9 @@ reqs = "Tech", "Computers", "Player" "Building", "University", "City" } -graphic = "b.research_lab" -graphic_alt = "-" +graphic = "b.research_lab" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1015,8 +1049,9 @@ reqs = { "type", "name", "range" "Tech", "Rocketry", "Player" } -graphic = "b.sam_battery" -graphic_alt = "-" +graphic = "b.sam_battery" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1037,8 +1072,9 @@ reqs = { "type", "name", "range" "Tech", "Laser", "Player" } -graphic = "b.sdi_defense" -graphic_alt = "-" +graphic = "b.sdi_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1064,8 +1100,9 @@ reqs = "Tech", "Sanitation", "Player" "MinSize", "9", "City" } -graphic = "b.sewer_system" -graphic_alt = "-" +graphic = "b.sewer_system" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1088,8 +1125,9 @@ reqs = "Tech", "Environmentalism", "Player" "Building", "Factory", "City" } -graphic = "b.solar_plant" -graphic_alt = "-" +graphic = "b.solar_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1130,8 +1168,9 @@ reqs = "Building", "University", "City" "Building", "Research Lab", "City" } -graphic = "b.space_component" -graphic_alt = "-" +graphic = "b.space_component" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1150,25 +1189,26 @@ Before you can build any spaceship parts, the Apollo Program wonder\ ") [building_space_elevator_tether] -name = _("Space Elevator Tether") -genus = "Improvement" -reqs = +name = _("Space Elevator Tether") +genus = "Improvement" +reqs = { "type", "name", "range", "present" "Tech", "Nanomaterials", "Player", TRUE "Building", "Space Elevator", "Continent", TRUE "Building", "Space Elevator", "City", FALSE } -graphic = "b.space_elevator_tether" -graphic_alt = "b.space_modules" -obsolete_by = +graphic = "b.space_elevator_tether" +graphic_alt = "b.space_modules" +graphic_alt2 = "-" +obsolete_by = { "type", "name", "range" } -build_cost = 400 -upkeep = 4 -sabotage = 100 -sound = "b_space_elevator_tether" -sound_alt = "b_generic" -helptext = _("\ +build_cost = 400 +upkeep = 4 +sabotage = 100 +sound = "b_space_elevator_tether" +sound_alt = "b_generic" +helptext = _("\ Each tile around the city that is already generating some trade, produces \ one extra trade resource.\ "), _("\ @@ -1195,8 +1235,9 @@ reqs = "Building", "University", "City" "Building", "Research Lab", "City" } -graphic = "b.space_modules" -graphic_alt = "-" +graphic = "b.space_modules" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1234,8 +1275,9 @@ reqs = "Building", "University", "City" "Building", "Research Lab", "City" } -graphic = "b.space_structural" -graphic_alt = "-" +graphic = "b.space_structural" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1261,8 +1303,9 @@ reqs = "Tech", "Economics", "Player" "Building", "Bank", "City" } -graphic = "b.stock_exchange" -graphic_alt = "-" +graphic = "b.stock_exchange" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1286,8 +1329,9 @@ reqs = { "type", "name", "range" "Tech", "Automobile", "Player" } -graphic = "b.super_highways" -graphic_alt = "-" +graphic = "b.super_highways" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1318,8 +1362,9 @@ reqs = { "type", "name", "range" "Tech", "Refrigeration", "Player" } -graphic = "b.supermarket" -graphic_alt = "-" +graphic = "b.supermarket" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1342,8 +1387,9 @@ reqs = { "type", "name", "range" "Tech", "Ceremonial Burial", "Player" } -graphic = "b.temple" -graphic_alt = "-" +graphic = "b.temple" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1367,8 +1413,9 @@ reqs = "Tech", "University", "Player" "Building", "Library", "City" } -graphic = "b.university" -graphic_alt = "-" +graphic = "b.university" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1400,18 +1447,19 @@ reqs = { "type", "name", "range" "Tech", "Ruler Apotheosis", "Player" } -graphic = "b.altar" -graphic_alt = "b.oracle" -obsolete_by = +graphic = "b.altar" +graphic_alt = "b.oracle" +graphic_alt2 = "-" +obsolete_by = { "type", "name", "range" "Tech", "Theology", "Player" } -build_cost = 300 -upkeep = 0 -sabotage = 0 -sound = "w_altar" -sound_alt = "w_generic" -helptext = _("\ +build_cost = 300 +upkeep = 0 +sabotage = 0 +sound = "w_altar" +sound_alt = "w_generic" +helptext = _("\ Makes it possible to receive sacrifices from your subjects.\ A Sacrifice of Work makes the unit unhomed and therefore without material\ or happiness upkeep.\ @@ -1424,8 +1472,9 @@ reqs = { "type", "name", "range" "Tech", "Space Flight", "Player" } -graphic = "b.apollo_program" -graphic_alt = "-" +graphic = "b.apollo_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1455,8 +1504,9 @@ reqs = "Tech", "Economics", "Player" "Building", "Stock Exchange", "City" } -graphic = "b.asmiths_trading_co" -graphic_alt = "-" +graphic = "b.asmiths_trading_co" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1484,6 +1534,7 @@ reqs = } graphic = "b.chichen_itza" graphic_alt = "b.pyramids" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Metallurgy", "Player", FALSE @@ -1505,8 +1556,9 @@ reqs = { "type", "name", "range" "Tech", "Bronze Working", "Player" } -graphic = "b.colossus" -graphic_alt = "-" +graphic = "b.colossus" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Automobile", "Player", FALSE @@ -1528,8 +1580,9 @@ reqs = { "type", "name", "range" "Tech", "Astronomy", "Player" } -graphic = "b.copernicus_observatory" -graphic_alt = "-" +graphic = "b.copernicus_observatory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Computers", "Player", FALSE @@ -1551,8 +1604,9 @@ reqs = { "type", "name", "range" "Tech", "Genetic Engineering", "Player" } -graphic = "b.cure_for_cancer" -graphic_alt = "-" +graphic = "b.cure_for_cancer" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1577,8 +1631,9 @@ reqs = { "type", "name", "range" "Tech", "Steam Engine", "Player" } -graphic = "b.darwins_voyage" -graphic_alt = "-" +graphic = "b.darwins_voyage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1603,8 +1658,9 @@ reqs = { "type", "name", "range" "Tech", "Railroad", "Player" } -graphic = "b.eiffel_tower" -graphic_alt = "-" +graphic = "b.eiffel_tower" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1627,23 +1683,24 @@ pollution associated with a single building in each of your cities.\ ; I delayed introducing this rule until 2021 because of COVID-19. ; -- Sveinung [building_georgia_guidestones] -name = _("Guidestones") -genus = "GreatWonder" -reqs = +name = _("Guidestones") +genus = "GreatWonder" +reqs = { "type", "name", "range" "Tech", "Environmentalism", "Player" } -graphic = "b.georgia_guidestones" -graphic_alt = "b.port_facility" -obsolete_by = +graphic = "b.georgia_guidestones" +graphic_alt = "b.port_facility" +graphic_alt2 = "-" +obsolete_by = { "type", "name", "range" } -build_cost = 400 -upkeep = 0 -sabotage = 0 -sound = "w_georgia_guidestones" -sound_alt = "w_generic" -helptext = _("\ +build_cost = 400 +upkeep = 0 +sabotage = 0 +sound = "w_georgia_guidestones" +sound_alt = "w_generic" +helptext = _("\ Allows releasing plague against any city as this helps maintain humanity \ under 500,000,000.\ ") @@ -1656,8 +1713,9 @@ reqs = "Tech", "Literacy", "Player" "Building", "Library", "City" } -graphic = "b.great_library" -graphic_alt = "-" +graphic = "b.great_library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1683,8 +1741,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.great_wall" -graphic_alt = "-" +graphic = "b.great_wall" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Machine Tools", "Player", FALSE @@ -1709,8 +1768,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.hanging_gardens" -graphic_alt = "-" +graphic = "b.hanging_gardens" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Electricity", "Player", FALSE @@ -1736,8 +1796,9 @@ reqs = "Extra", "River", "Adjacent" "Building", "Factory", "City" } -graphic = "b.hoover_dam" -graphic_alt = "-" +graphic = "b.hoover_dam" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1761,8 +1822,9 @@ reqs = "Tech", "Theory of Gravity", "Player" "Building", "University", "City" } -graphic = "b.isaac_newtons_college" -graphic_alt = "-" +graphic = "b.isaac_newtons_college" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1786,8 +1848,9 @@ reqs = { "type", "name", "range" "Tech", "Theology", "Player" } -graphic = "b.js_bachs_cathedral" -graphic_alt = "-" +graphic = "b.js_bachs_cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1808,8 +1871,9 @@ reqs = { "type", "name", "range" "Tech", "Chivalry", "Player" } -graphic = "b.king_richards_crusade" -graphic_alt = "-" +graphic = "b.king_richards_crusade" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Communism", "Player", FALSE @@ -1835,8 +1899,9 @@ reqs = { "type", "name", "range" "Tech", "Invention", "Player" } -graphic = "b.leonardos_workshop" -graphic_alt = "-" +graphic = "b.leonardos_workshop" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Combustion", "Player", FALSE @@ -1858,8 +1923,9 @@ reqs = "Tech", "Map Making", "Player" "TerrainFlag", "Sea", "Adjacent" } -graphic = "b.lighthouse" -graphic_alt = "-" +graphic = "b.lighthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Engineering", "Player", FALSE @@ -1883,8 +1949,9 @@ reqs = "Tech", "Magnetism", "Player" "TerrainFlag", "Sea", "Adjacent" } -graphic = "b.magellans_expedition" -graphic_alt = "-" +graphic = "b.magellans_expedition" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Nuclear Power", "Player", FALSE @@ -1907,8 +1974,9 @@ reqs = { "type", "name", "range" "Tech", "Nuclear Fission", "Player" } -graphic = "b.manhattan_project" -graphic_alt = "-" +graphic = "b.manhattan_project" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1927,8 +1995,9 @@ reqs = { "type", "name", "range" "Tech", "Trade", "Player" } -graphic = "b.marco_polos_embassy" -graphic_alt = "-" +graphic = "b.marco_polos_embassy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Democracy", "Player", FALSE @@ -1953,8 +2022,9 @@ reqs = "Tech", "Monotheism", "Player" "Building", "Cathedral", "City" } -graphic = "b.michelangelos_chapel" -graphic_alt = "-" +graphic = "b.michelangelos_chapel" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1978,6 +2048,7 @@ reqs = } graphic = "b.mausoleum" graphic_alt = "b.oracle" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Sanitation", "Player", FALSE @@ -2002,6 +2073,7 @@ reqs = } graphic = "b.statue_of_zeus" graphic_alt = "b.oracle" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Conscription", "Player", FALSE @@ -2029,6 +2101,7 @@ reqs = } graphic = "b.temple_of_artemis" graphic_alt = "b.oracle" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Theology", "Player", FALSE @@ -2050,8 +2123,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.pyramids" -graphic_alt = "-" +graphic = "b.pyramids" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Railroad", "Player", FALSE @@ -2079,6 +2153,7 @@ reqs = } graphic = "b.internet" graphic_alt = "b.seti_program" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -2104,8 +2179,9 @@ reqs = { "type", "name", "range" "Tech", "Sanitation", "Player" } -graphic = "b.shakespeares_theatre" -graphic_alt = "-" +graphic = "b.shakespeares_theatre" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -2123,9 +2199,9 @@ output increases to 3 permanently for every nation.\ ") [building_space_elevator] -name = _("Space Elevator") -genus = "SmallWonder" -reqs = +name = _("Space Elevator") +genus = "SmallWonder" +reqs = { "type", "name", "range", "present" "Tech", "Nanomaterials", "Player", TRUE "Building", "Apollo Program", "World", TRUE @@ -2134,17 +2210,18 @@ reqs = "MaxLatitude", "150", "Tile", TRUE "MinLatitude", "-150", "Tile", TRUE } -graphic = "b.space_elevator" -graphic_alt = "b.space_structural" -obsolete_by = +graphic = "b.space_elevator" +graphic_alt = "b.space_structural" +graphic_alt2 = "-" +obsolete_by = { "type", "name", "range" } -build_cost = 800 -upkeep = 0 -sabotage = 0 -sound = "w_space_elevator" -sound_alt = "w_generic" -helptext = _("\ +build_cost = 800 +upkeep = 0 +sabotage = 0 +sound = "w_space_elevator" +sound_alt = "w_generic" +helptext = _("\ Each tile around the city that is already generating some trade, produces \ one extra trade resource.\ "), _("\ @@ -2167,8 +2244,9 @@ reqs = { "type", "name", "range" "Tech", "Democracy", "Player" } -graphic = "b.statue_of_liberty" -graphic_alt = "-" +graphic = "b.statue_of_liberty" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -2192,8 +2270,9 @@ reqs = { "type", "name", "range" "Tech", "Feudalism", "Player" } -graphic = "b.sun_tzus_war_academy" -graphic_alt = "-" +graphic = "b.sun_tzus_war_academy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Mobile Warfare", "Player", FALSE @@ -2227,23 +2306,24 @@ are created as Hardened).\ ; you get a Casus Belli for everyone once anyone does anything violent. ; -- Sveinung [building_treuga_dei] -name = _("Treuga Dei") -genus = "GreatWonder" -reqs = +name = _("Treuga Dei") +genus = "GreatWonder" +reqs = { "type", "name", "range" "Tech", "Theology", "Player" } -graphic = "b.treuga_dei" -graphic_alt = "b.michelangelos_chapel" -obsolete_by = +graphic = "b.treuga_dei" +graphic_alt = "b.michelangelos_chapel" +graphic_alt2 = "-" +obsolete_by = { "type", "name", "range" } -build_cost = 600 -upkeep = 0 -sabotage = 0 -sound = "w_treuga_dei" -sound_alt = "w_generic" -helptext = _("\ +build_cost = 600 +upkeep = 0 +sabotage = 0 +sound = "w_treuga_dei" +sound_alt = "w_generic" +helptext = _("\ Historical note: The real Treuga Dei was far less extreme. \ Fighting was allowed around 80 days each year. \ It also both began and ended during the middle ages \ @@ -2260,8 +2340,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.united_nations" -graphic_alt = "-" +graphic = "b.united_nations" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -2290,8 +2371,9 @@ reqs = { "type", "name", "range" "Tech", "Conscription", "Player" } -graphic = "b.womens_suffrage" -graphic_alt = "-" +graphic = "b.womens_suffrage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -2315,8 +2397,9 @@ reqs = { "type", "name", "range" } -graphic = "b.capitalization" -graphic_alt = "-" +graphic = "b.capitalization" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } diff --git a/data/stub/buildings.ruleset b/data/stub/buildings.ruleset index 547a385db3..15d1cef5d0 100644 --- a/data/stub/buildings.ruleset +++ b/data/stub/buildings.ruleset @@ -40,8 +40,9 @@ format_version = 40 ; or "Convert". ; reqs = requirements to build the building (see effects.ruleset ; and README.effects for help on requirements) -; graphic = icon of improvement (used in city dialog) -; graphic_alt = alternate icon of improvement +; graphic = icon of improvement (used in city dialog) +; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -72,16 +73,17 @@ reqs = { "type", "name", "range" ; No requirements } -graphic = "b.barracks" -graphic_alt = "-" +graphic = "b.generic" +graphic_alt = "b.barracks" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } build_cost = 100 upkeep = 0 sabotage = 100 -sound = "b_barracks" -sound_alt = "b_generic" +sound = "b_generic" +sound_alt = "b_barracks" helptext = _("\ This is the only building you can build.\ ") diff --git a/data/webperimental/buildings.ruleset b/data/webperimental/buildings.ruleset index 29258c953a..1bbdf6996c 100644 --- a/data/webperimental/buildings.ruleset +++ b/data/webperimental/buildings.ruleset @@ -50,8 +50,9 @@ building_flags = ; or "Convert". ; reqs = requirements to build the building (see effects.ruleset ; and README.effects for help on requirements) -; graphic = icon of improvement (used in city dialog) -; graphic_alt = alternate icon of improvement +; graphic = icon of improvement (used in city dialog) +; graphic_alt = alternate icon of improvement +; graphic_alt2 = second alternative icon. ; obsolete_by = requirements for the building to become obsolete ; build_cost = production shields required to build ; upkeep = monetary upkeep value @@ -82,8 +83,9 @@ reqs = { "type", "name", "range" "Tech", "Radio", "Player" } -graphic = "b.airport" -graphic_alt = "-" +graphic = "b.airport" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -115,8 +117,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.aqueduct" -graphic_alt = "-" +graphic = "b.aqueduct" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -140,8 +143,9 @@ reqs = "Tech", "Banking", "Player" "Building", "Marketplace", "City" } -graphic = "b.bank" -graphic_alt = "-" +graphic = "b.bank" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -161,10 +165,10 @@ name = _("Barracks") genus = "Improvement" reqs = { "type", "name", "range" - } -graphic = "b.barracks_i" -graphic_alt = "-" +graphic = "b.barracks_i" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Gunpowder", "Player" @@ -195,8 +199,9 @@ reqs = { "type", "name", "range" "Tech", "Gunpowder", "Player" } -graphic = "b.barracks_ii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_ii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" @@ -226,8 +231,9 @@ reqs = { "type", "name", "range" "Tech", "Mobile Warfare", "Player" } -graphic = "b.barracks_iii" -graphic_alt = "b.barracks_i" +graphic = "b.barracks_iii" +graphic_alt = "b.barracks_i" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -256,8 +262,9 @@ reqs = "Tech", "Monotheism", "Player" "Building", "Temple", "City" } -graphic = "b.cathedral" -graphic_alt = "-" +graphic = "b.cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -284,8 +291,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.city_walls" -graphic_alt = "-" +graphic = "b.city_walls" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -310,8 +318,9 @@ reqs = "Tech", "Gunpowder", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.coastal_defense" -graphic_alt = "-" +graphic = "b.coastal_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -332,8 +341,9 @@ reqs = { "type", "name", "range" "Tech", "Construction", "Player" } -graphic = "b.colosseum" -graphic_alt = "-" +graphic = "b.colosseum" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -357,8 +367,9 @@ reqs = { "type", "name", "range" "Tech", "Code of Laws", "Player" } -graphic = "b.courthouse" -graphic_alt = "-" +graphic = "b.courthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -384,8 +395,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.factory" -graphic_alt = "-" +graphic = "b.factory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -407,8 +419,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.granary" -graphic_alt = "-" +graphic = "b.granary" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -435,8 +448,9 @@ reqs = "Tech", "Seafaring", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.harbour" -graphic_alt = "-" +graphic = "b.harbour" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -459,8 +473,9 @@ reqs = "Building", "Factory", "City" "Extra", "River", "Adjacent" } -graphic = "b.hydro_plant" -graphic_alt = "-" +graphic = "b.hydro_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -495,8 +510,9 @@ reqs = { "type", "name", "range" "Tech", "Writing", "Player" } -graphic = "b.library" -graphic_alt = "-" +graphic = "b.library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -517,8 +533,9 @@ reqs = { "type", "name", "range" "Tech", "Currency", "Player" } -graphic = "b.marketplace" -graphic_alt = "-" +graphic = "b.marketplace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -539,8 +556,9 @@ reqs = { "type", "name", "range" "Tech", "Mass Production", "Player" } -graphic = "b.mass_transit" -graphic_alt = "-" +graphic = "b.mass_transit" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -563,8 +581,9 @@ reqs = "Tech", "Robotics", "Player" "Building", "Factory", "City" } -graphic = "b.mfg_plant" -graphic_alt = "-" +graphic = "b.mfg_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -591,8 +610,9 @@ reqs = "Tech", "Nuclear Power", "Player" "Building", "Factory", "City" } -graphic = "b.nuclear_plant" -graphic_alt = "-" +graphic = "b.nuclear_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -633,8 +653,9 @@ reqs = "Tech", "Miniaturization", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.offshore_platform" -graphic_alt = "-" +graphic = "b.offshore_platform" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -656,8 +677,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.palace" -graphic_alt = "-" +graphic = "b.palace" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -701,8 +723,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.police_station" -graphic_alt = "-" +graphic = "b.police_station" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -729,8 +752,9 @@ reqs = "Tech", "Amphibious Warfare", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.port_facility" -graphic_alt = "-" +graphic = "b.port_facility" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -753,8 +777,9 @@ reqs = "Tech", "Refining", "Player" "Building", "Factory", "City" } -graphic = "b.power_plant" -graphic_alt = "-" +graphic = "b.power_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -787,8 +812,9 @@ reqs = { "type", "name", "range" "Tech", "Recycling", "Player" } -graphic = "b.recycling_center" -graphic_alt = "-" +graphic = "b.recycling_center" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -811,8 +837,9 @@ reqs = "Tech", "Computers", "Player" "Building", "University", "City" } -graphic = "b.research_lab" -graphic_alt = "-" +graphic = "b.research_lab" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -836,8 +863,9 @@ reqs = { "type", "name", "range" "Tech", "Rocketry", "Player" } -graphic = "b.sam_battery" -graphic_alt = "-" +graphic = "b.sam_battery" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -858,8 +886,9 @@ reqs = { "type", "name", "range" "Tech", "Laser", "Player" } -graphic = "b.sdi_defense" -graphic_alt = "-" +graphic = "b.sdi_defense" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -886,8 +915,9 @@ reqs = "Tech", "Sanitation", "Player" "Building", "Aqueduct", "City" } -graphic = "b.sewer_system" -graphic_alt = "-" +graphic = "b.sewer_system" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -911,8 +941,9 @@ reqs = "Tech", "Environmentalism", "Player" "Building", "Factory", "City" } -graphic = "b.solar_plant" -graphic_alt = "-" +graphic = "b.solar_plant" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -946,8 +977,9 @@ reqs = "Tech", "Plastics", "Player" "Building", "Factory", "City" } -graphic = "b.space_component" -graphic_alt = "-" +graphic = "b.space_component" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -973,8 +1005,9 @@ reqs = "Tech", "Superconductors", "Player" "Building", "Factory", "City" } -graphic = "b.space_modules" -graphic_alt = "-" +graphic = "b.space_modules" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1009,8 +1042,9 @@ reqs = "Tech", "Space Flight", "Player" "Building", "Factory", "City" } -graphic = "b.space_structural" -graphic_alt = "-" +graphic = "b.space_structural" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1036,8 +1070,9 @@ reqs = "Tech", "Economics", "Player" "Building", "Bank", "City" } -graphic = "b.stock_exchange" -graphic_alt = "-" +graphic = "b.stock_exchange" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1061,8 +1096,9 @@ reqs = { "type", "name", "range" "Tech", "Automobile", "Player" } -graphic = "b.super_highways" -graphic_alt = "-" +graphic = "b.super_highways" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1086,8 +1122,9 @@ reqs = { "type", "name", "range" "Tech", "Refrigeration", "Player" } -graphic = "b.supermarket" -graphic_alt = "-" +graphic = "b.supermarket" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1110,8 +1147,9 @@ reqs = { "type", "name", "range" "Tech", "Ceremonial Burial", "Player" } -graphic = "b.temple" -graphic_alt = "-" +graphic = "b.temple" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1135,8 +1173,9 @@ reqs = "Tech", "University", "Player" "Building", "Library", "City" } -graphic = "b.university" -graphic_alt = "-" +graphic = "b.university" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1158,8 +1197,9 @@ reqs = { "type", "name", "range" "Tech", "Space Flight", "Player" } -graphic = "b.apollo_program" -graphic_alt = "-" +graphic = "b.apollo_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1183,8 +1223,9 @@ reqs = { "type", "name", "range" "Tech", "Economics", "Player" } -graphic = "b.asmiths_trading_co" -graphic_alt = "-" +graphic = "b.asmiths_trading_co" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1205,8 +1246,9 @@ reqs = { "type", "name", "range" "Tech", "Bronze Working", "Player" } -graphic = "b.colossus" -graphic_alt = "-" +graphic = "b.colossus" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Flight", "World", TRUE @@ -1228,8 +1270,9 @@ reqs = { "type", "name", "range" "Tech", "Astronomy", "Player" } -graphic = "b.copernicus_observatory" -graphic_alt = "-" +graphic = "b.copernicus_observatory" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1250,8 +1293,9 @@ reqs = { "type", "name", "range" "Tech", "Genetic Engineering", "Player" } -graphic = "b.cure_for_cancer" -graphic_alt = "-" +graphic = "b.cure_for_cancer" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1276,8 +1320,9 @@ reqs = { "type", "name", "range" "Tech", "Railroad", "Player" } -graphic = "b.darwins_voyage" -graphic_alt = "-" +graphic = "b.darwins_voyage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1299,8 +1344,9 @@ reqs = { "type", "name", "range" "Tech", "Steam Engine", "Player" } -graphic = "b.eiffel_tower" -graphic_alt = "-" +graphic = "b.eiffel_tower" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1322,8 +1368,9 @@ reqs = { "type", "name", "range" "Tech", "Literacy", "Player" } -graphic = "b.great_library" -graphic_alt = "-" +graphic = "b.great_library" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Electricity", "World", TRUE @@ -1345,8 +1392,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.great_wall" -graphic_alt = "-" +graphic = "b.great_wall" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Metallurgy", "World", TRUE @@ -1370,8 +1418,9 @@ reqs = { "type", "name", "range" "Tech", "Pottery", "Player" } -graphic = "b.hanging_gardens" -graphic_alt = "-" +graphic = "b.hanging_gardens" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Railroad", "World", TRUE @@ -1398,8 +1447,9 @@ reqs = "Tech", "Electronics", "Player" "Extra", "River", "Adjacent" } -graphic = "b.hoover_dam" -graphic_alt = "-" +graphic = "b.hoover_dam" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1420,8 +1470,9 @@ reqs = { "type", "name", "range" "Tech", "Theory of Gravity", "Player" } -graphic = "b.isaac_newtons_college" -graphic_alt = "-" +graphic = "b.isaac_newtons_college" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1443,8 +1494,9 @@ reqs = { "type", "name", "range" "Tech", "Theology", "Player" } -graphic = "b.js_bachs_cathedral" -graphic_alt = "-" +graphic = "b.js_bachs_cathedral" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1465,8 +1517,9 @@ reqs = { "type", "name", "range" "Tech", "Engineering", "Player" } -graphic = "b.king_richards_crusade" -graphic_alt = "-" +graphic = "b.king_richards_crusade" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Robotics", "World", TRUE @@ -1488,8 +1541,9 @@ reqs = { "type", "name", "range" "Tech", "Invention", "Player" } -graphic = "b.leonardos_workshop" -graphic_alt = "-" +graphic = "b.leonardos_workshop" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Automobile", "World", TRUE @@ -1511,8 +1565,9 @@ reqs = "Tech", "Map Making", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.lighthouse" -graphic_alt = "-" +graphic = "b.lighthouse" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Magnetism", "World", TRUE @@ -1535,8 +1590,9 @@ reqs = "Tech", "Navigation", "Player" "TerrainClass", "Oceanic", "Adjacent" } -graphic = "b.magellans_expedition" -graphic_alt = "-" +graphic = "b.magellans_expedition" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1556,8 +1612,9 @@ reqs = { "type", "name", "range" "Tech", "Nuclear Fission", "Player" } -graphic = "b.manhattan_project" -graphic_alt = "-" +graphic = "b.manhattan_project" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1576,8 +1633,9 @@ reqs = { "type", "name", "range" "Tech", "Trade", "Player" } -graphic = "b.marco_polos_embassy" -graphic_alt = "-" +graphic = "b.marco_polos_embassy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Communism", "World", TRUE @@ -1598,8 +1656,9 @@ reqs = { "type", "name", "range" "Tech", "Monotheism", "Player" } -graphic = "b.michelangelos_chapel" -graphic_alt = "-" +graphic = "b.michelangelos_chapel" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1625,8 +1684,9 @@ reqs = { "type", "name", "range" "Tech", "Mysticism", "Player" } -graphic = "b.oracle" -graphic_alt = "-" +graphic = "b.oracle" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Theology", "World", TRUE @@ -1649,8 +1709,9 @@ reqs = { "type", "name", "range" "Tech", "Masonry", "Player" } -graphic = "b.pyramids" -graphic_alt = "-" +graphic = "b.pyramids" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1673,8 +1734,9 @@ reqs = { "type", "name", "range" "Tech", "Computers", "Player" } -graphic = "b.seti_program" -graphic_alt = "-" +graphic = "b.seti_program" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1696,8 +1758,9 @@ reqs = { "type", "name", "range" "Tech", "Medicine", "Player" } -graphic = "b.shakespeares_theatre" -graphic_alt = "-" +graphic = "b.shakespeares_theatre" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1718,8 +1781,9 @@ reqs = { "type", "name", "range" "Tech", "Democracy", "Player" } -graphic = "b.statue_of_liberty" -graphic_alt = "-" +graphic = "b.statue_of_liberty" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1741,8 +1805,9 @@ reqs = { "type", "name", "range" "Tech", "Feudalism", "Player" } -graphic = "b.sun_tzus_war_academy" -graphic_alt = "-" +graphic = "b.sun_tzus_war_academy" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range", "survives" "Tech", "Mobile Warfare", "World", TRUE @@ -1767,8 +1832,9 @@ reqs = { "type", "name", "range" "Tech", "Communism", "Player" } -graphic = "b.united_nations" -graphic_alt = "-" +graphic = "b.united_nations" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1788,8 +1854,9 @@ reqs = { "type", "name", "range" "Tech", "Industrialization", "Player" } -graphic = "b.womens_suffrage" -graphic_alt = "-" +graphic = "b.womens_suffrage" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } @@ -1818,8 +1885,9 @@ reqs = { "type", "name", "range" } -graphic = "b.capitalization" -graphic_alt = "-" +graphic = "b.capitalization" +graphic_alt = "-" +graphic_alt2 = "-" obsolete_by = { "type", "name", "range" } diff --git a/server/ruleset.c b/server/ruleset.c index ce0851f7b8..52c8738184 100644 --- a/server/ruleset.c +++ b/server/ruleset.c @@ -2723,6 +2723,9 @@ static bool load_ruleset_buildings(struct section_file *file, sz_strlcpy(b->graphic_alt, secfile_lookup_str_default(file, "-", "%s.graphic_alt", sec_name)); + sz_strlcpy(b->graphic_alt2, + secfile_lookup_str_default(file, "-", + "%s.graphic_alt2", sec_name)); sz_strlcpy(b->soundtag, secfile_lookup_str_default(file, "-", @@ -8231,6 +8234,7 @@ static void send_ruleset_buildings(struct conn_list *dest) sz_strlcpy(packet.rule_name, rule_name_get(&b->name)); sz_strlcpy(packet.graphic_str, b->graphic_str); sz_strlcpy(packet.graphic_alt, b->graphic_alt); + sz_strlcpy(packet.graphic_alt2, b->graphic_alt2); j = 0; requirement_vector_iterate(&b->reqs, preq) { packet.reqs[j++] = *preq; diff --git a/tools/ruledit/edit_impr.cpp b/tools/ruledit/edit_impr.cpp index 9f536137db..06b9ab8d7b 100644 --- a/tools/ruledit/edit_impr.cpp +++ b/tools/ruledit/edit_impr.cpp @@ -105,6 +105,15 @@ edit_impr::edit_impr(ruledit_gui *ui_in, struct impr_type *impr_in) : QDialog() impr_layout->addWidget(label, row, 0); impr_layout->addWidget(gfx_tag_alt, row++, 1); + label = new QLabel(QString::fromUtf8(R__("Second alt gfx tag"))); + label->setParent(this); + + gfx_tag_alt2 = new QLineEdit(this); + connect(gfx_tag_alt2, SIGNAL(returnPressed()), this, SLOT(gfx_tag_alt2_given())); + + impr_layout->addWidget(label, row, 0); + impr_layout->addWidget(gfx_tag_alt2, row++, 1); + refresh(); main_layout->addLayout(impr_layout); @@ -134,6 +143,7 @@ void edit_impr::refresh() genus_button->setText(impr_genus_id_name(impr->genus)); gfx_tag->setText(impr->graphic_str); gfx_tag_alt->setText(impr->graphic_alt); + gfx_tag_alt2->setText(impr->graphic_alt2); } /**********************************************************************//** @@ -191,3 +201,13 @@ void edit_impr::gfx_tag_alt_given() sz_strlcpy(impr->graphic_alt, tag_bytes); } + +/**********************************************************************//** + User entered new secondary alternative graphics tag. +**************************************************************************/ +void edit_impr::gfx_tag_alt2_given() +{ + QByteArray tag_bytes = gfx_tag_alt2->text().toUtf8(); + + sz_strlcpy(impr->graphic_alt2, tag_bytes); +} diff --git a/tools/ruledit/edit_impr.h b/tools/ruledit/edit_impr.h index ab6baf55cb..e49aaf0e9b 100644 --- a/tools/ruledit/edit_impr.h +++ b/tools/ruledit/edit_impr.h @@ -43,6 +43,7 @@ class edit_impr : public QDialog QToolButton *genus_button; QLineEdit *gfx_tag; QLineEdit *gfx_tag_alt; + QLineEdit *gfx_tag_alt2; protected: void closeEvent(QCloseEvent *cevent); @@ -53,6 +54,7 @@ class edit_impr : public QDialog void genus_menu(QAction *action); void gfx_tag_given(); void gfx_tag_alt_given(); + void gfx_tag_alt2_given(); }; diff --git a/tools/ruleutil/rulesave.c b/tools/ruleutil/rulesave.c index f5d8848211..4050f861b1 100644 --- a/tools/ruleutil/rulesave.c +++ b/tools/ruleutil/rulesave.c @@ -438,6 +438,9 @@ static bool save_buildings_ruleset(const char *filename, const char *name) if (strcmp(pb->graphic_alt, "-")) { secfile_insert_str(sfile, pb->graphic_alt, "%s.graphic_alt", path); } + if (strcmp(pb->graphic_alt2, "-")) { + secfile_insert_str(sfile, pb->graphic_alt2, "%s.graphic_alt2", path); + } if (strcmp(pb->soundtag, "-")) { secfile_insert_str(sfile, pb->soundtag, "%s.sound", path); } -- 2.39.2