Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12585) remove effects from buildings.ruleset
Home

[Freeciv-Dev] (PR#12585) remove effects from buildings.ruleset

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12585) remove effects from buildings.ruleset
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Mar 2005 19:40:29 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12585 >

This patch removes the effects data from buildings.ruleset.  This data 
is unused and will never be used again (it's in effects.ruleset now).

I only updated the default ruleset, since this is where people will look 
to see what needs to be changed when making their rulesets.  I don't 
intend to fix the other rulesets myself (but if someone makes a patch 
I'll commit it).

I will commit this patch immediately.

-jason

[effect_airport]
name    = "Air_Veteran"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Airport", "City"
    }

[effect_airport_1]
name    = "Air_Regen"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Airport", "City"
    }

[effect_airport_2]
name    = "Airlift"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Airport", "City"
    }

[effect_aqueduct]
name    = "Size_Adj"
value   = 4
reqs    =
    { "type", "name", "place"
      "Building", "Aqueduct", "City"
    }

[effect_bank]
name    = "Tax_Bonus"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Marketplace", "City"
      "Building", "Bank", "City"
    }

[effect_bank_1]
name    = "Luxury_Bonus"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Marketplace", "City"
      "Building", "Bank", "City"
    }

[effect_barracks]
name    = "Land_Veteran"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Barracks", "City"
    }

[effect_barracks_1]
name    = "Land_Regen"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Barracks", "City"
    }

[effect_barracks_ii]
name    = "Land_Veteran"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Barracks II", "City"
    }

[effect_barracks_ii_1]
name    = "Land_Regen"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Barracks II", "City"
    }

[effect_barracks_iii]
name    = "Land_Veteran"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Barracks III", "City"
    }

[effect_barracks_iii_1]
name    = "Land_Regen"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Barracks III", "City"
    }

[effect_cathedral]
name    = "Make_Content"
value   = 3
reqs    =
    { "type", "name", "place"
      "Building", "Cathedral", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Michelangelo's Chapel", "Player"
    }

[effect_cathedral_1]
name    = "Make_Content"
value   = 1
reqs    =
    { "type", "name", "place"
      "Tech", "Theology", "Player"
      "Building", "Cathedral", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Michelangelo's Chapel", "Player"
    }

[effect_cathedral_2]
name    = "Make_Content"
value   = -1
reqs    =
    { "type", "name", "place"
      "Tech", "Communism", "Player"
      "Building", "Cathedral", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Michelangelo's Chapel", "Player"
    }

[effect_city_walls]
name    = "Land_Defend"
value   = 200
reqs    =
    { "type", "name", "place"
      "Building", "City Walls", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Great Wall", "Player"
    }

[effect_city_walls_1]
name    = "Unit_No_Lose_Pop"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "City Walls", "City"
    }

[effect_coastal_defense]
name    = "Sea_Defend"
value   = 100
reqs    =
    { "type", "name", "place"
      "Building", "Coastal Defense", "City"
    }

[effect_colosseum]
name    = "Make_Content"
value   = 3
reqs    =
    { "type", "name", "place"
      "Building", "Colosseum", "City"
    }

[effect_colosseum_1]
name    = "Make_Content"
value   = 1
reqs    =
    { "type", "name", "place"
      "Tech", "Electricity", "Player"
      "Building", "Colosseum", "City"
    }

[effect_courthouse]
name    = "Corrupt_Pct"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Courthouse", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Palace", "City"
    }

[effect_courthouse_1]
name    = "Waste_Pct"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Courthouse", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Palace", "City"
    }

[effect_courthouse_2]
name    = "Make_Content"
value   = 1
reqs    =
    { "type", "name", "place"
      "Gov", "Democracy", "Player"
      "Building", "Courthouse", "City"
    }

[effect_courthouse_3]
name    = "Incite_Dist_Pct"
value   = 75
reqs    =
    { "type", "name", "place"
      "Building", "Courthouse", "City"
    }

[effect_factory]
name    = "Prod_Bonus"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Factory", "City"
    }

[effect_granary]
name    = "Growth_Food"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Granary", "City"
    }

[effect_harbour]
name    = "Food_Add_Tile"
value   = 1
reqs    =
    { "type", "name", "place"
      "Terrain", "Ocean", "City"
      "Building", "Harbour", "City"
    }

[effect_hydro_plant]
name    = "Prod_Bonus"
value   = 25
reqs    =
    { "type", "name", "place"
      "Building", "Factory", "City"
      "Building", "Hydro Plant", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Hoover Dam", "Player"
      "Building", "Nuclear Plant", "City"
    }

[effect_hydro_plant_1]
name    = "Prod_Bonus"
value   = 25
reqs    =
    { "type", "name", "place"
      "Building", "Mfg. Plant", "City"
      "Building", "Hydro Plant", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Hoover Dam", "Player"
      "Building", "Nuclear Plant", "City"
    }

[effect_hydro_plant_2]
name    = "Pollu_Prod_Pct"
value   = -25
reqs    =
    { "type", "name", "place"
      "Building", "Factory", "City"
      "Building", "Hydro Plant", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Recycling Center", "City"
      "Building", "Hoover Dam", "Player"
      "Building", "Nuclear Plant", "City"
    }

[effect_hydro_plant_3]
name    = "Pollu_Prod_Pct"
value   = -25
reqs    =
    { "type", "name", "place"
      "Building", "Mfg. Plant", "City"
      "Building", "Hydro Plant", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Recycling Center", "City"
      "Building", "Hoover Dam", "Player"
      "Building", "Nuclear Plant", "City"
    }

[effect_library]
name    = "Science_Bonus"
value   = 100
reqs    =
    { "type", "name", "place"
      "Building", "Library", "City"
    }

[effect_marketplace]
name    = "Tax_Bonus"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Marketplace", "City"
    }

[effect_marketplace_1]
name    = "Luxury_Bonus"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Marketplace", "City"
    }

[effect_mass_transit]
name    = "Pollu_Pop_Pct"
value   = -100
reqs    =
    { "type", "name", "place"
      "Building", "Mass Transit", "City"
    }

[effect_mfg_plant]
name    = "Prod_Bonus"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Factory", "City"
      "Building", "Mfg. Plant", "City"
    }

[effect_nuclear_plant]
name    = "Prod_Bonus"
value   = 25
reqs    =
    { "type", "name", "place"
      "Building", "Factory", "City"
      "Building", "Nuclear Plant", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Hoover Dam", "Player"
    }

[effect_nuclear_plant_1]
name    = "Prod_Bonus"
value   = 25
reqs    =
    { "type", "name", "place"
      "Building", "Mfg. Plant", "City"
      "Building", "Nuclear Plant", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Hoover Dam", "Player"
    }

[effect_nuclear_plant_2]
name    = "Pollu_Prod_Pct"
value   = -25
reqs    =
    { "type", "name", "place"
      "Building", "Factory", "City"
      "Building", "Nuclear Plant", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Recycling Center", "City"
      "Building", "Hoover Dam", "Player"
    }

[effect_nuclear_plant_3]
name    = "Pollu_Prod_Pct"
value   = -25
reqs    =
    { "type", "name", "place"
      "Building", "Mfg. Plant", "City"
      "Building", "Nuclear Plant", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Recycling Center", "City"
      "Building", "Hoover Dam", "Player"
    }

[effect_offshore_platform]
name    = "Prod_Add_Tile"
value   = 1
reqs    =
    { "type", "name", "place"
      "Terrain", "Ocean", "City"
      "Building", "Offshore Platform", "City"
    }

[effect_palace]
name    = "Corrupt_Pct"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Palace", "City"
    }

[effect_palace_1]
name    = "Waste_Pct"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Palace", "City"
    }

[effect_palace_2]
name    = "Spy_Resistant"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Palace", "City"
    }

[effect_palace_3]
name    = "No_Incite"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Palace", "City"
    }

[effect_palace_4]
name    = "Capital_City"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Palace", "City"
    }

[effect_police_station]
name    = "Make_Content_Mil"
value   = 1
reqs    =
    { "type", "name", "place"
      "Gov", "Republic", "Player"
      "Building", "Police Station", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Women's Suffrage", "Player"
    }

[effect_police_station_1]
name    = "Make_Content_Mil"
value   = 2
reqs    =
    { "type", "name", "place"
      "Gov", "Democracy", "Player"
      "Building", "Police Station", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Women's Suffrage", "Player"
    }

[effect_port_facility]
name    = "Sea_Veteran"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Port Facility", "City"
    }

[effect_port_facility_1]
name    = "Sea_Regen"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Port Facility", "City"
    }

[effect_power_plant]
name    = "Prod_Bonus"
value   = 25
reqs    =
    { "type", "name", "place"
      "Building", "Factory", "City"
      "Building", "Power Plant", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Hoover Dam", "Player"
      "Building", "Nuclear Plant", "City"
      "Building", "Hydro Plant", "City"
    }

[effect_power_plant_1]
name    = "Prod_Bonus"
value   = 25
reqs    =
    { "type", "name", "place"
      "Building", "Mfg. Plant", "City"
      "Building", "Power Plant", "City"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Hoover Dam", "Player"
      "Building", "Nuclear Plant", "City"
      "Building", "Hydro Plant", "City"
    }

[effect_recycling_center]
name    = "Pollu_Prod_Pct"
value   = -66
reqs    =
    { "type", "name", "place"
      "Building", "Recycling Center", "City"
    }

[effect_research_lab]
name    = "Science_Bonus"
value   = 100
reqs    =
    { "type", "name", "place"
      "Building", "Library", "City"
      "Building", "Research Lab", "City"
    }

[effect_research_lab_1]
name    = "Science_Bonus"
value   = 100
reqs    =
    { "type", "name", "place"
      "Building", "University", "City"
      "Building", "Research Lab", "City"
    }

[effect_sam_battery]
name    = "Air_Defend"
value   = 100
reqs    =
    { "type", "name", "place"
      "Building", "SAM Battery", "City"
    }

[effect_sdi_defense]
name    = "Nuke_Proof"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "SDI Defense", "City"
    }

[effect_sdi_defense_1]
name    = "Missile_Defend"
value   = 100
reqs    =
    { "type", "name", "place"
      "Building", "SDI Defense", "City"
    }

[effect_sewer_system]
name    = "Size_Unlimit"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Aqueduct", "City"
      "Building", "Sewer System", "City"
    }

[effect_space_component]
name    = "SS_Component"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Space Component", "City"
    }

[effect_space_module]
name    = "SS_Module"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Space Module", "City"
    }

[effect_space_structural]
name    = "SS_Structural"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Space Structural", "City"
    }

[effect_stock_exchange]
name    = "Tax_Bonus"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Bank", "City"
      "Building", "Stock Exchange", "City"
    }

[effect_stock_exchange_1]
name    = "Luxury_Bonus"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Bank", "City"
      "Building", "Stock Exchange", "City"
    }

[effect_super_highways]
name    = "Trade_Per_Tile"
value   = 50
reqs    =
    { "type", "name", "place"
      "Special", "Road", "City"
      "Building", "Super Highways", "City"
    }

[effect_supermarket]
name    = "Food_Per_Tile"
value   = 50
reqs    =
    { "type", "name", "place"
      "Special", "Farmland", "City"
      "Building", "Supermarket", "City"
    }

[effect_temple]
name    = "Make_Content"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Temple", "City"
    }

[effect_temple_1]
name    = "Make_Content"
value   = 1
reqs    =
    { "type", "name", "place"
      "Tech", "Mysticism", "Player"
      "Building", "Temple", "City"
    }

[effect_university]
name    = "Science_Bonus"
value   = 150
reqs    =
    { "type", "name", "place"
      "Building", "Library", "City"
      "Building", "University", "City"
    }

[effect_apollo_program]
name    = "Reveal_Map"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Apollo Program", "Player"
    }

[effect_apollo_program_1]
name    = "Enable_Space"
value   = 1
reqs    =
    { "type", "name", "place", "survives"
      "Building", "Apollo Program", "World", 1
    }

[effect_asmiths_trading_co]
name    = "Upkeep_Free"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "A.Smith's Trading Co.", "Player"
    }

[effect_colossus]
name    = "Trade_Inc_Tile"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Colossus", "City"
    }

[effect_copernicus_observatory]
name    = "Science_Bonus"
value   = 100
reqs    =
    { "type", "name", "place"
      "Building", "Copernicus' Observatory", "City"
    }

[effect_cure_for_cancer]
name    = "Force_Content"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Cure For Cancer", "Player"
    }

[effect_darwins_voyage]
name    = "Give_Imm_Tech"
value   = 2
reqs    =
    { "type", "name", "place"
      "Building", "Darwin's Voyage", "Player"
    }

[effect_eiffel_tower]
name    = "Regen_Reputation"
value   = 2
reqs    =
    { "type", "name", "place"
      "Building", "Eiffel Tower", "Player"
    }

[effect_eiffel_tower_1]
name    = "Gain_AI_Love"
value   = 20
reqs    =
    { "type", "name", "place"
      "Building", "Eiffel Tower", "Player"
    }

[effect_great_library]
name    = "Tech_Parasite"
value   = 2
reqs    =
    { "type", "name", "place"
      "Building", "Great Library", "Player"
    }

[effect_great_wall]
name    = "Land_Defend"
value   = 200
reqs    =
    { "type", "name", "place"
      "Building", "Great Wall", "Player"
    }

[effect_great_wall_1]
name    = "Unit_No_Lose_Pop"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Great Wall", "Player"
    }

[effect_hanging_gardens]
name    = "Make_Happy"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Hanging Gardens", "Player"
    }

[effect_hanging_gardens_1]
name    = "Make_Happy"
value   = 2
reqs    =
    { "type", "name", "place"
      "Building", "Hanging Gardens", "City"
    }

[effect_hoover_dam]
name    = "Prod_Bonus"
value   = 25
reqs    =
    { "type", "name", "place"
      "Building", "Factory", "City"
      "Building", "Hoover Dam", "Player"
    }

[effect_hoover_dam_1]
name    = "Prod_Bonus"
value   = 25
reqs    =
    { "type", "name", "place"
      "Building", "Mfg. Plant", "City"
      "Building", "Hoover Dam", "Player"
    }

[effect_hoover_dam_2]
name    = "Pollu_Prod_Pct"
value   = -25
reqs    =
    { "type", "name", "place"
      "Building", "Factory", "City"
      "Building", "Hoover Dam", "Player"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Recycling Center", "City"
    }

[effect_hoover_dam_3]
name    = "Pollu_Prod_Pct"
value   = -25
reqs    =
    { "type", "name", "place"
      "Building", "Mfg. Plant", "City"
      "Building", "Hoover Dam", "Player"
    }
nreqs   =
    { "type", "name", "place"
      "Building", "Recycling Center", "City"
    }

[effect_isaac_newtons_college]
name    = "Science_Bonus"
value   = 100
reqs    =
    { "type", "name", "place"
      "Building", "University", "City"
      "Building", "Isaac Newton's College", "Player"
    }

[effect_js_bachs_cathedral]
name    = "Force_Content"
value   = 2
reqs    =
    { "type", "name", "place"
      "Building", "J.S. Bach's Cathedral", "Player"
    }

[effect_king_richards_crusade]
name    = "Prod_Add_Tile"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "King Richard's Crusade", "City"
    }

[effect_leonardos_workshop]
name    = "Upgrade_Unit"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Leonardo's Workshop", "Player"
    }

[effect_lighthouse]
name    = "Sea_Move"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Lighthouse", "Player"
    }

[effect_lighthouse_1]
name    = "No_Sink_Deep"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Lighthouse", "Player"
    }

[effect_lighthouse_2]
name    = "Sea_Veteran"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Lighthouse", "Player"
    }

[effect_magellans_expedition]
name    = "Sea_Move"
value   = 2
reqs    =
    { "type", "name", "place"
      "Building", "Magellan's Expedition", "Player"
    }

[effect_manhattan_project]
name    = "Enable_Nuke"
value   = 1
reqs    =
    { "type", "name", "place", "survives"
      "Building", "Manhattan Project", "World", 1
    }

[effect_marco_polos_embassy]
name    = "Have_Embassies"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Marco Polo's Embassy", "Player"
    }

[effect_michelangelos_chapel]
name    = "Make_Content"
value   = 3
reqs    =
    { "type", "name", "place"
      "Building", "Michelangelo's Chapel", "Player"
    }

[effect_michelangelos_chapel_1]
name    = "Make_Content"
value   = 1
reqs    =
    { "type", "name", "place"
      "Tech", "Theology", "Player"
      "Building", "Michelangelo's Chapel", "Player"
    }

[effect_michelangelos_chapel_2]
name    = "Make_Content"
value   = -1
reqs    =
    { "type", "name", "place"
      "Tech", "Communism", "Player"
      "Building", "Michelangelo's Chapel", "Player"
    }

[effect_oracle]
name    = "Make_Content"
value   = 2
reqs    =
    { "type", "name", "place"
      "Building", "Temple", "City"
      "Building", "Oracle", "Player"
    }

[effect_pyramids]
name    = "Growth_Food"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Pyramids", "Player"
    }

[effect_seti_program]
name    = "Science_Bonus"
value   = 100
reqs    =
    { "type", "name", "place"
      "Building", "Research Lab", "City"
      "Building", "SETI Program", "Player"
    }

[effect_shakespeares_theatre]
name    = "No_Unhappy"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Shakespeare's Theatre", "City"
    }

[effect_statue_of_liberty]
name    = "Any_Government"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Statue of Liberty", "Player"
    }

[effect_statue_of_liberty_1]
name    = "No_Anarchy"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Statue of Liberty", "Player"
    }

[effect_sun_tzus_war_academy]
name    = "Land_Veteran"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Sun Tzu's War Academy", "Player"
    }

[effect_sun_tzus_war_academy_1]
name    = "Land_Vet_Combat"
value   = 50
reqs    =
    { "type", "name", "place"
      "Building", "Sun Tzu's War Academy", "Player"
    }

[effect_united_nations]
name    = "Unit_Recover"
value   = 2
reqs    =
    { "type", "name", "place"
      "Building", "United Nations", "Player"
    }

[effect_womens_suffrage]
name    = "Make_Content_Mil"
value   = 1
reqs    =
    { "type", "name", "place"
      "Gov", "Republic", "Player"
      "Building", "Women's Suffrage", "Player"
    }

[effect_womens_suffrage_1]
name    = "Make_Content_Mil"
value   = 2
reqs    =
    { "type", "name", "place"
      "Gov", "Democracy", "Player"
      "Building", "Women's Suffrage", "Player"
    }

[effect_coinage]
name    = "Prod_To_Gold"
value   = 1
reqs    =
    { "type", "name", "place"
      "Building", "Coinage", "City"
    }


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12585) remove effects from buildings.ruleset, Jason Short <=