# Building Filters

Buildings can be filtered by any building property. The available queries are listed on this page, grouped by functionality. For check boxes, valid options are true or false, such as "veteranAir=true". For integer fields, you can use the greater than, less than, or equal to operators, such as "culture>0". For fields that link to other parts of the BIQ, you can use either "None" or the name of the other field as a query, such as "reqGood=Iron" or "reqTech=None". For all queries, you can use != to return the opposite of the = query, such as "gainUnit!=None".

The available building filters are:

Properties

- cost
- maintenance
- culture
- productionBonus
- pollution
- type: Filter by either "Wonder", "Small Wonder", or "Improvement"

Military

- landBombard
- seaBombard
- airAttack
- seaAttack
- defenceBonus: Alias "defenseBonus"
- navalDefence: Alias "navalDefense"
- veteranLand
- veteranSea
- veteranAir
- stealthBarrier
- allowsNukes: Alias "nukes"
- icbmDefence: Alias "icbmDefence"
- doubleVsBarbs
- armiesWithoutLeader
- largerArmies
- moreLeaders
- safeAtSea
- plusOneSea
- plusTwoSea
- halfCostUpgrades
- healInEnemyTerritory
- strongerArmies
- doubleDefences: Alias "doubleDefenses"

Food

- extraFoodInWater
- storeHalfOfFood
- gainTwoPop
- allowCitySize2
- allowCitySize3

Science

- plus50Science
- plus100Science
- twoFreeAdvances
- gainKnownTechs

Gain

- gainInEveryCity: Building reference or "None"
- gainInContinentalCity: Building reference or "None"
- gainUnit: Unit reference or "None"
- gainUnitFrequency: Note that the default is 1

Requirements

- reqBuilding: Building reference or "None"
- reqTech: Tech reference or "None"
- reqGovernment: Government reference or "None"
- reqGood: Good reference or "None". Shows buildings for which any of their required goods match.
- numReqBuildings
- numArmies
- goodsInCityRadius
- nearRiver
- victoriousArmy
- coastal
- byWater
- eliteShip

Trade

- airTrade
- waterTrade
- capitalization
- plusFiftyTax
- increasedWaterTrade
- increasedTrade
- paysTradeMaintenance
- earnsInterest
- reducesCityCorruption
- reducesEmpireCorruption

Happiness

- continentalHappiness
- happyCity
- happyGlobal
- unhappyCity
- unhappyGlobal
- plusFiftyLuxury
- moreLuxTrade
- reducesWarWeariness
- reducesWarWearinessEmpire
- doublesHappiness

Miscellaneous/Other

- madeObsoleteBy: Tech reference or "None"
- charmBarrier
- generalTelepad
- centerOfEmpire
- noPopulationPollution
- canMeltdown
- moreShieldsInWater
- spaceshipPart: Recommended to use as "spaceshipPart!=-1"
- touristAttraction
- allowsDiplomaticVictory
- replacesOthersWithFlag
- doublesSacrifice
- propagandaResistance
- canBuildSpaceship
- allowsSpies

Characteristics

- militaristic
- religious
- commercial
- industrial
- expansionist
- scientific
- agricultural
- seafaring

Flavors

- flavor: Alias "flavour". Flavor reference or "None".