Home › Requirements › Requirements: PLOTS

Available out of the box. Usable from Lua in the unmodified game.

Requirements: PLOTS

59 entries. Subject class "PLOTS" is the community list's grouping (what the modifier applies to).

Requirement Arguments Engine functions called Availability Addresses (symbol→current)
REQUIREMENT_ATTACKER_PLOT_HAS_ANY_DISTRICT — — Base game+ —
REQUIREMENT_ATTACKER_PLOT_IMPROVEMENT_DEFENSE_STRENGTH Amount (Integer) Definitions::GetImprovementDefinitions GS, BlackDeath, WarMachine TestPlot 0x85a700→0x8722e0
REQUIREMENT_ATTACKER_PLOT_IMPROVEMENT_TYPE_MATCHES ImprovementType (String) — Base game+ TestPlot 0x8bc3f0→0x8d5b60
REQUIREMENT_PLOT_ADJACENT_BUILDING_TYPE_MATCHES BuildingType (String), MaxRange (Integer), MinRange (Integer) City::CManager::EditCity
City::Buildings::IsPillaged
City::Buildings::GetBuildingLocation
Map::Plot::Instance::GetIndex
Base game+ TestAdjacentPlot 0x829ab0→0x842490
REQUIREMENT_PLOT_ADJACENT_DISTRICT_TYPE_MATCHES DistrictType (String), MaxRange (Integer), MinRange (Integer), MustBeFunctioning (Boolean) Map::Plot::CityAttributes::GetDistrictType
Rules::Districts::Get
Rules::Districts::Shared::Instance::AreSameOrReplacement
Map::Plot::CityAttributes::IsDistrictComplete
Map::Plot::CityAttributes::IsDistrictPillaged
Base game+ TestAdjacentPlot 0x84e290→0x867820
REQUIREMENT_PLOT_ADJACENT_FEATURE_TYPE_MATCHES FeatureType (String), MaxRange (Integer), MinRange (Integer) — Base game+ TestAdjacentPlot 0x823570→0x83c100
REQUIREMENT_PLOT_ADJACENT_FRIENDLY_TERRITORY MaxRange (Integer), MinRange (Integer) Rules::Movement::Get
Rules::Movement::Instance::GetDiplomaticTerritory
R&F, GS, BlackDeath, WarMachine TestAdjacentPlot 0x833a90→0x84d8c0
REQUIREMENT_PLOT_ADJACENT_FRIENDLY_UNIT_TAG_MATCHES MaxRange (Integer), MinRange (Integer), Tag (String) Cache::City::Growth::GetAmenitiesLostFromBankruptcy
Map::UnitContainer::GetUnitsByIndex
Unit::CManager::GetUnit
GameEffects::Requirements::PlotAdjacentFriendlyUnitTagMatches::IsFriendlyUnit
Map::IInstance::GetAdjacentPlot
Player::Influence::GetSuzerain
Player::Diplomacy::HasAllied
Tag::Repository::GetTagLookupId
Definitions::GetUnitDefinitions
Tag::Repository::HasTag
Base game+ Test 0x8ae120→0x8c7dd0
OnInitialize 0x8ad990→0x8c7760
REQUIREMENT_PLOT_ADJACENT_FRIENDLY_UNIT_TYPE_MATCHES IncludeCenter (Boolean), MaxRange (Integer), MinRange (Integer), UnitType (String) GameEffects::Requirements::SimpleRequirement::CascadeQueryInterface
Cache::City::Growth::GetAmenitiesLostFromBankruptcy
Map::UnitContainer::GetUnitsByIndex
Unit::CManager::GetUnit
GameEffects::Requirements::PlotAdjacentFriendlyUnitTypeMatches::TestUnit
Map::IInstance::GetAdjacentPlot
Definitions::GetUnitDefinitions
Base game+ Test 0x8eef90→0x7f4c10
OnInitialize 0x8eeb30→0x7f4400
REQUIREMENT_PLOT_ADJACENT_IMPROVEMENT_TYPE_MATCHES ImprovementType (String), MaxRange (Integer), MinRange (Integer) — Base game+ TestAdjacentPlot 0x883b70→0x89d7f0
REQUIREMENT_PLOT_ADJACENT_RESOURCE_CLASS_TYPE_MATCHES MaxRange (Integer), MinRange (Integer), ResourceClassType (String) Definitions::GetResourceDefinitions Base game+ TestAdjacentPlot 0x8e9f20→0x7efb40
REQUIREMENT_PLOT_ADJACENT_TERRAIN_TYPE_MATCHES TerrainType (String), MinRange (Integer), MaxRange (Integer) — GS, BlackDeath, WarMachine TestAdjacentPlot 0x7eef00→0x806e50
REQUIREMENT_PLOT_ADJACENT_TO_COAST MaxRange (Integer), MinRange (Integer) Map::Plot::Instance::IsShallowWater Base game+ TestAdjacentPlot 0x8756d0→0x88cf80
REQUIREMENT_PLOT_ADJACENT_TO_LAKE MaxDistance (Integer), MinDistance (Integer) Map::Plot::Instance::IsLake Base game+ TestAdjacentPlot 0x881600→0x89b810
REQUIREMENT_PLOT_ADJACENT_TO_MOUNTAIN MaxDistance (Integer), MinDistance (Integer) — NFP TestAdjacentPlot 0x8927f0→0x8aab30
REQUIREMENT_PLOT_ADJACENT_TO_NATURAL_WONDER MaxDistance (Integer), MinDistance (Integer) Map::Plot::Instance::IsNaturalWonder NFP TestAdjacentPlot 0x8a1300→0x8b9740
REQUIREMENT_PLOT_ADJACENT_TO_OWNER MaxDistance (Integer), MinDistance (Integer) Map::IInstance::GetPlotDistance
GameEffects::ArgumentFunction::GetFunctions
GameEffects::GameEventHandler::WhenUnitMoves
Base game+ Test 0x8aff20→0x8c9c20
OnInitialize 0x8af770→0x8c90d0
REQUIREMENT_PLOT_ADJACENT_TO_OWNER_AT_WAR MaxDistance (Integer), MinDistance (Integer) Map::IInstance::GetPlotDistance
Player::Instance::IsAtWarWith
GameEffects::ArgumentFunction::GetFunctions
GameEffects::IModifierObject::TryQueryInterface
Base game+ Test 0x8c7620→0x8e1200
OnInitialize 0x8c6f70→0x8e0bc0
REQUIREMENT_PLOT_ADJACENT_TO_RIVER MaxDistance (Integer), MinDistance (Integer) — Base game+ TestPlot 0x832880→0x84b010
REQUIREMENT_PLOT_ADJACENT_TO_WONDER MaxRange (Integer), MinRange (Integer) City::CManager::GetAttributes
Map::Plot::CityAttributes::IsDistrictPillaged
Map::Plot::CityAttributes::IsWonderComplete
Base game+ TestAdjacentPlot 0x8439e0→0x85d050
REQUIREMENT_PLOT_ADJACENT_UNIT_TYPE_MATCHES MaxRange (Integer), MinRange (Integer), UnitType (String) Map::IInstance::GetAdjacentPlot
Map::UnitContainer::GetUnits
Unit::CManager::GetUnit
Definitions::GetUnitDefinitions
Base game+ Test 0x8b7160→0x8d0ea0
OnInitialize 0x8b6c00→0x8d07a0
REQUIREMENT_PLOT_ANY_ADJACENT_RESOURCE — Player::Resources::IsResourceVisible GS, BlackDeath, WarMachine TestAdjacentPlot 0x82f160→0x848690
REQUIREMENT_PLOT_DISTRICT_IS_DEFENDED — City::CManager::GetDistrict
District::Instance::IsDefensible
Base game+ TestPlot 0x83a870→0x8532a0
REQUIREMENT_PLOT_DISTRICT_IS_FUNCTIONING (untested in the community list) Tag (String) City::CManager::EditDistrictAt
Rules::Districts::Get
Rules::Districts::Instance::IsFunctioning
Definitions::GetDistrictDefinitions
— TestPlot 0x8eeeb0→0x7f4f30
REQUIREMENT_PLOT_DISTRICT_TAG_MATCHES Tag (String) City::CManager::EditDistrictAt
Rules::Districts::Get
Rules::Districts::Instance::IsActive
Rules::Districts::Instance::IsFunctioning
District::Instance::GetTypeHash
Tag::Repository::HasTag
Base game+ TestPlot 0x8dba70→0x8f4230
REQUIREMENT_PLOT_DISTRICT_TYPE_MATCHES DistrictType (String) City::CManager::EditDistrictAt
Rules::Districts::Get
Rules::Districts::Instance::IsActive
Rules::Districts::Shared::Instance::DistrictsMatch
Rules::Districts::Instance::IsFunctioning
Base game+ TestPlot 0x8cc6f0→0x8e5ce0
REQUIREMENT_PLOT_FEATURE_TAG_MATCHES Tag (String) Definitions::GetFeatureDefinitions
Tag::Repository::HasTag
Base game+ TestPlot 0x84d210→0x865f40
REQUIREMENT_PLOT_FEATURE_TYPE_MATCHES FeatureType (String) — Base game+ TestPlot 0x8d9dc0→0x8f1970
REQUIREMENT_PLOT_HAS_ANY_DISTRICT — City::CManager::EditDistrictAt
Rules::Districts::Get
Rules::Districts::Instance::IsActive
Definitions::GetDistrictDefinitions
Rules::Districts::Instance::IsFunctioning
Base game+ TestPlot 0x8ca820→0x8e3f40
REQUIREMENT_PLOT_HAS_ANY_FEATURE — — GS, NFP, BlackDeath, WarMachine TestPlot 0x8b8f40→0x8d31a0
REQUIREMENT_PLOT_HAS_ANY_IMPROVEMENT — — Base game+ TestPlot 0x853880→0x86c080
REQUIREMENT_PLOT_HAS_ANY_RESOURCE — Player::Resources::IsResourceVisible GS, NFP, BlackDeath, WarMachine TestPlot 0x7e3960→0x7fbeb0
REQUIREMENT_PLOT_HAS_FALLOUT (untested in the community list) — Game::Fallout::Manager::GetInstance
Game::Fallout::Manager::HasFallout
— Test 0x814120→0x82cdb0
OnInitialize 0x813b50→0x82c070
REQUIREMENT_PLOT_IMPROVED_RESOURCE_CLASS_TYPE_MATCHES ResourceClassType (String) Player::Resources::GetVisibleResource
Definitions::GetResourceDefinitions
Definitions::GetImprovementDefinitions
— TestPlot 0x6258e0→0x6261a0
REQUIREMENT_PLOT_IMPROVEMENT_TAG_MATCHES Tag (String) Definitions::GetImprovementDefinitions
Tag::Repository::HasTag
Base game+ TestPlot 0x8948d0→0x8ad400
REQUIREMENT_PLOT_IMPROVEMENT_TYPE_MATCHES ImprovementType (String) Map::Instance::GetImprovementBuilder
Map::Improvement::Builder::CanEverHave
Definitions::GetImprovementDefinitions
GameEffects::GameEventHandler::WhenUnitMoves
Base game+ Test 0x8862f0→0x89f350
OnInitialize 0x8850d0→0x89eae0
REQUIREMENT_PLOT_IS_APPEAL_BETWEEN MaximumAppeal (Integer), MinimumAppeal (Integer) — Base game+ TestPlot 0x878f20→0x8917f0
REQUIREMENT_PLOT_IS_COAST — Map::Plot::Instance::IsShallowWater Base game+ TestPlot 0x7f14f0→0x809180
REQUIREMENT_PLOT_IS_COASTAL_LAND — Map::Plot::Instance::IsCoastalLand Base game+ TestPlot 0x800230→0x8173d0
REQUIREMENT_PLOT_IS_FRESH_WATER — Map::Plot::Instance::IsFreshWater GS, NFP, BlackDeath, WarMachine TestPlot 0x80e3f0→0x827b00
REQUIREMENT_PLOT_IS_HILLS — Map::Plot::Instance::IsHills Base game+ TestPlot 0x81cab0→0x834f10
REQUIREMENT_PLOT_IS_IMPASSABLE — — GS, NFP, BlackDeath, WarMachine TestPlot 0x89deb0→0x8b7040
REQUIREMENT_PLOT_IS_LAKE — Map::Plot::Instance::IsLake Base game+ TestPlot 0x82ab40→0x844340
REQUIREMENT_PLOT_IS_MOUNTAIN — — GS, NFP, BlackDeath, WarMachine TestPlot 0x8aab20→0x8c4950
REQUIREMENT_PLOT_IS_OWNER_CAPITAL_CONTINENT — Player::Cities::GetCapitalCity
Player::Instance::GetCapitalContinent
Base game+ TestPlot 0x839450→0x852770
REQUIREMENT_PLOT_NEARBY_UNIT_TAG_MATCHES MaxDistance (Integer), MinDistance (Integer), Tag (String) Definitions::GetUnitDefinitions
Tag::Repository::HasTag
Map::IInstance::GetPlotDistance
GS, BlackDeath, WarMachine Test 0x8bb360→0x8d4a30
OnInitialize 0x8ba850→0x8d4370
REQUIREMENT_PLOT_NEAR_CAPITAL MaxDistance (Integer), MinDistance (Integer) Player::Cities::GetCapitalCity
City::IInstance::GetPlot
Map::Plot::Instance::GetIndex
Map::IInstance::GetPlotDistance
NFP TestPlot 0x84c110→?
REQUIREMENT_PLOT_PROPERTY_MATCHES PropertyName (String), PropertyMinimum (Integer) — — Test 0x8dc840→0x8f5060
OnInitialize 0x8dc160→0x8f4a30
REQUIREMENT_PLOT_RESOURCE_CLASS_TYPE_MATCHES ResourceClassType (String) Definitions::GetResourceDefinitions Base game+ TestPlot 0x846210→0x860140
REQUIREMENT_PLOT_RESOURCE_TAG_MATCHES Tag (String) Definitions::GetResourceDefinitions
Tag::Repository::HasTag
Base game+ TestPlot 0x808660→0x821520
REQUIREMENT_PLOT_RESOURCE_TYPE_MATCHES ResourceType (String) — Base game+ TestPlot 0x81ca70→0x835560
REQUIREMENT_PLOT_RESOURCE_VISIBLE — Map::Plot::Instance::GetIndex
Map::Instance::EditPlayerVisibility
Map::Player::Visibility::Manager::GetRevealedResourceType
Base game+ TestPlot 0x821580→0x83a7c0
REQUIREMENT_PLOT_TERRAIN_CLASS_MATCHES TerrainClass (String) Definitions::GetTerrainDefinitions GS, BlackDeath, WarMachine TestPlot 0x8ab6e0→0x8c5620
REQUIREMENT_PLOT_TERRAIN_TYPE_MATCHES TerrainType (String) — Base game+ TestPlot 0x7ee790→0x806750
REQUIREMENT_PLOT_UNIT_CITY_HAS_ANY_DISTRICT — City::CManager::EditDistrictAt
Rules::Districts::Get
Rules::Districts::Instance::IsActive
Rules::Districts::Instance::IsFunctioning
Definitions::GetDistrictDefinitions
GS, NFP, BlackDeath, WarMachine Test 0x844b90→0x85eac0
OnInitialize 0x844260→0x85e070
REQUIREMENT_PLOT_UNIT_CITY_HAS_DISTRICT_SAME_OWNER DistrictType (String) City::CManager::EditCity
City::Districts::HasDistrict
GS, BlackDeath, WarMachine TestPlot 0x8b0280→0x8ca6a0
REQUIREMENT_PLOT_UNIT_EMBARKED — Map::UnitContainer::GetUnits
Types::Vector
Unit::CManager::GetUnit
Unit::CInstance::IsEmbarked
GS, NFP, BlackDeath, WarMachine TestPlot 0x8a3410→0x8bc200
REQUIREMENT_PLOT_UNIT_FLANKED — Map::UnitContainer::GetUnits
Types::Vector
Unit::CManager::GetUnit
Unit::Instance::GetCombat
Unit::Instance::GetRangedCombat
Unit::Instance::GetBombardCombat
NFP TestPlot 0x7ff010→?
REQUIREMENT_PLOT_UNIT_TYPE_MATCHES LayerIndex (Integer), UnitType (String) Map::UnitContainer::GetUnits
Unit::CManager::GetUnit
Definitions::GetUnitDefinitions
GameEffects::ArgumentFunction::GetFunctions
Base game+ Test 0x899060→0x8b1f30
OnInitialize 0x8988c0→0x8b1860