User:DonQuich: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m (testing my bot)
m (testing my bot)
Line 1: Line 1:
''This page is a part of the [[Lua and UI Reference]].''
''This page is a part of the [[Lua and UI Reference]].''


{|
 
<!--
==Syntax==
ADDFEATUREDUMMYMODEL
<pre>'''bool''' Locale.StartsWith('''string''' base_string, '''string''' prefix)</pre>
-->
'''Return Value'''
|-
:Returns true if base_string starts with prefix, false otherwise.
|width="2" |
'''Parameters'''
|<code>Plot:[[Civ5Lua/Plot/AddFeatureDummyModel|AddFeatureDummyModel]]('''string''' dummyTag, '''string''' modelTag)</code>
:''base_string''
|-
::The string to test against.
|
:''prefix''
|''Here is some fancy description. Isn't it nice to get descriptions?''
::The prefix to test with.
<!--
 
AREA
==Examples==
-->
<pre>local test = Locale.StartsWith("Civilization", "Civ");
|-
print(test); -- prints true</pre>
|width="2" |
 
|<code>Plot:[[Civ5Lua/Plot/Area|Area]]()</code>
[[Category:Civ5LuaLocale|StartsWith]]
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
AT
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/At|At]]('''int''' x, '''int''' y)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CALCULATEBESTNATUREYIELD
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/CalculateBestNatureYield|CalculateBestNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CALCULATEIMPROVEMENTYIELDCHANGE
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/CalculateImprovementYieldChange|CalculateImprovementYieldChange]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' optimal, [[Civ5Lua/RouteID|RouteID]] assumeThisRouteID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CALCULATENATUREYIELD
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/CalculateNatureYield|CalculateNatureYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' ignoreFeature)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CALCULATETOTALBESTNATUREYIELD
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/CalculateTotalBestNatureYield|CalculateTotalBestNatureYield]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CALCULATEYIELD
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/CalculateYield|CalculateYield]]([[Civ5Lua/YieldID|YieldID]] yieldID, '''bool''' display)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CANBUILD
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/CanBuild|CanBuild]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' testVisible)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CANHAVEFEATURE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/CanHaveFeature|CanHaveFeature]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CANHAVEIMPROVEMENT
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/CanHaveImprovement|CanHaveImprovement]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' potential)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CANHAVERESOURCE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/CanHaveResource|CanHaveResource]]([[Civ5Lua/ResourceID|ResourceID]] resourceID, '''bool''' ignoreLatitude)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CANSEEPLOT
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/CanSeePlot|CanSeePlot]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CHANGEBUILDPROGRESS
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/ChangeBuildProgress|ChangeBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' change, [[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CHANGEEXTRAMOVEPATHCOST
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/ChangeExtraMovePathCost|ChangeExtraMovePathCost]]('''int''' change)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CHANGEIMPROVEMENTDURATION
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/ChangeImprovementDuration|ChangeImprovementDuration]]('''int''' change)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CHANGEINVISIBLEVISIBILITYCOUNT
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/ChangeInvisibleVisibilityCount|ChangeInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID, '''int''' change)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CHANGENUMRESOURCE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/ChangeNumResource|ChangeNumResource]]('''int''' change)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CHANGEOWNERSHIPDURATION
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/ChangeOwnershipDuration|ChangeOwnershipDuration]]('''int''' change)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CHANGEUPGRADEPROGRESS
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/ChangeUpgradeProgress|ChangeUpgradeProgress]]('''int''' change)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
CHANGEVISIBILITYCOUNT
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/ChangeVisibilityCount|ChangeVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''int''' change, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] seeInvisibleTypeID, '''bool''' informExplorationTracking, '''bool''' alwaysSeeInvisible)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
COUNTNUMAIRUNITS
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/CountNumAirUnits|CountNumAirUnits]]([[Civ5Lua/TeamID|TeamID]] ePlayer)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
DEFENSEMODIFIER
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/DefenseModifier|DefenseModifier]]([[Civ5Lua/TeamID|TeamID]] iDefendTeam, '''bool''' ignoreBuilding, '''bool''' help)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ERASE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/Erase|Erase]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETACTIVEFOGOFWARMODE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetActiveFogOfWarMode|GetActiveFogOfWarMode]](''<unknown>'')</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETAREA
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetArea|GetArea]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETBESTDEFENDER
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetBestDefender|GetBestDefender]]([[Civ5Lua/PlayerID|PlayerID]] eOwner, [[Civ5Lua/PlayerID|PlayerID]] eAttackingPlayer, [[Civ5Lua/Unit|Unit]] attacker, '''bool''' testAtWar, '''bool''' testPotentialEnemy, '''bool''' testCanMove)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETBUILDPROGRESS
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetBuildProgress|GetBuildProgress]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETBUILDTIME
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetBuildTime|GetBuildTime]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETBUILDTURNSLEFT
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsLeft|GetBuildTurnsLeft]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, '''int''' nowExtra, '''int''' thenExtra)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETBUILDTURNSTOTAL
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetBuildTurnsTotal|GetBuildTurnsTotal]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETCITYRADIUSCOUNT
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetCityRadiusCount|GetCityRadiusCount]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETCONTINENTARTTYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetContinentArtType|GetContinentArtType]]()</code>
|-
|
|''''Determines continent for plot type.''''
<!--
GETEXTRAMOVEPATHCOST
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetExtraMovePathCost|GetExtraMovePathCost]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETFEATUREPRODUCTION
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetFeatureProduction|GetFeatureProduction]]([[Civ5Lua/BuildActionID|BuildActionID]] buildID, [[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/City|City]] city)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETFEATURETYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetFeatureType|GetFeatureType]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETFEATUREVARIETY
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetFeatureVariety|GetFeatureVariety]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETFOUNDVALUE
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetFoundValue|GetFoundValue]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETIMPROVEMENTDURATION
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetImprovementDuration|GetImprovementDuration]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETIMPROVEMENTTYPE
-->
|-
|align="right" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetImprovementType|GetImprovementType]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETINLANDCORNER
-->
|-
|align="right" |<code>[[Civ5Lua/Plot|Plot]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetInlandCorner|GetInlandCorner]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETINVISIBLEVISIBILITYCOUNT
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetInvisibleVisibilityCount|GetInvisibleVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETLATITUDE
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetLatitude|GetLatitude]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETNEARESTLANDAREA
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetNearestLandArea|GetNearestLandArea]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETNEARESTLANDPLOT
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetNearestLandPlot|GetNearestLandPlot]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETNONOBSOLETERESOURCETYPE
-->
|-
|align="right" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetNonObsoleteResourceType|GetNonObsoleteResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETNUMDEFENDERS
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetNumDefenders|GetNumDefenders]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETNUMFRIENDLYUNITSOFTYPE
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetNumFriendlyUnitsOfType|GetNumFriendlyUnitsOfType]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETNUMRESOURCE
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetNumResource|GetNumResource]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETNUMUNITS
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetNumUnits|GetNumUnits]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETNUMVISIBLEENEMYDEFENDERS
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetNumVisibleEnemyDefenders|GetNumVisibleEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETNUMVISIBLEPOTENTIALENEMYDEFENDERS
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetNumVisiblePotentialEnemyDefenders|GetNumVisiblePotentialEnemyDefenders]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETOWNER
-->
|-
|align="right" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetOwner|GetOwner]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETOWNERSHIPDURATION
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetOwnershipDuration|GetOwnershipDuration]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETPLAYERCITYRADIUSCOUNT
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetPlayerCityRadiusCount|GetPlayerCityRadiusCount]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETPLOTCITY
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetPlotCity|GetPlotCity]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETPLOTTYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetPlotType|GetPlotType]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETRECONCOUNT
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetReconCount|GetReconCount]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETRESOURCETYPE
-->
|-
|align="right" |<code>[[Civ5Lua/ResourceID|ResourceID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetResourceType|GetResourceType]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETREVEALEDIMPROVEMENTTYPE
-->
|-
|align="right" |<code>[[Civ5Lua/ImprovementID|ImprovementID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetRevealedImprovementType|GetRevealedImprovementType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETREVEALEDOWNER
-->
|-
|align="right" |<code>[[Civ5Lua/PlayerID|PlayerID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetRevealedOwner|GetRevealedOwner]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETREVEALEDROUTETYPE
-->
|-
|align="right" |<code>[[Civ5Lua/RouteID|RouteID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetRevealedRouteType|GetRevealedRouteType]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETREVEALEDTEAM
-->
|-
|align="right" |<code>[[Civ5Lua/TeamID|TeamID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetRevealedTeam|GetRevealedTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETRIVERCROSSINGCOUNT
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetRiverCrossingCount|GetRiverCrossingCount]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETRIVEREFLOWDIRECTION
-->
|-
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetRiverEFlowDirection|GetRiverEFlowDirection]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETRIVERSEFLOWDIRECTION
-->
|-
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetRiverSEFlowDirection|GetRiverSEFlowDirection]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETRIVERSWFLOWDIRECTION
-->
|-
|align="right" |<code>[[Civ5Lua/FlowDirectionID|FlowDirectionID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetRiverSWFlowDirection|GetRiverSWFlowDirection]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETROUTETYPE
-->
|-
|align="right" |<code>[[Civ5Lua/RouteID|RouteID]]</code>
|<code>Plot:[[Civ5Lua/Plot/GetRouteType|GetRouteType]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETSCRIPTDATA
-->
|-
|align="right" |<code>'''string'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetScriptData|GetScriptData]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETSELECTEDUNIT
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetSelectedUnit|GetSelectedUnit]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETTEAM
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetTeam|GetTeam]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETTERRAINTYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetTerrainType|GetTerrainType]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETUNIT
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetUnit|GetUnit]]('''int''' index)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETUNITPOWER
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetUnitPower|GetUnitPower]]([[Civ5Lua/PlayerID|PlayerID]] eOwner)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETUPGRADEPROGRESS
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetUpgradeProgress|GetUpgradeProgress]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETUPGRADETIMELEFT
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetUpgradeTimeLeft|GetUpgradeTimeLeft]]([[Civ5Lua/ImprovementID|ImprovementID]] improvementID, [[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETVISIBILITYCOUNT
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetVisibilityCount|GetVisibilityCount]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETWORKINGCITY
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetWorkingCity|GetWorkingCity]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETWORKINGCITYOVERRIDE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/GetWorkingCityOverride|GetWorkingCityOverride]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETX
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetX|GetX]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETY
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetY|GetY]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETYIELD
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetYield|GetYield]]([[Civ5Lua/YieldID|YieldID]] yieldID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
GETYIELDWITHBUILD
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/GetYieldWithBuild|GetYieldWithBuild]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
HASBARBARIANCAMP
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/HasBarbarianCamp|HasBarbarianCamp]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
HASYIELD
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/HasYield|HasYield]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISACTIVEVISIBLE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsActiveVisible|IsActiveVisible]]('''bool''' debug)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISADJACENTNONREVEALED
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonrevealed|IsAdjacentNonrevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISADJACENTNONVISIBLE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsAdjacentNonvisible|IsAdjacentNonvisible]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISADJACENTOWNED
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsAdjacentOwned|IsAdjacentOwned]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISADJACENTPLAYER
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsAdjacentPlayer|IsAdjacentPlayer]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer, '''bool''' landOnly)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISADJACENTREVEALED
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsAdjacentRevealed|IsAdjacentRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISADJACENTTEAM
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsAdjacentTeam|IsAdjacentTeam]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' landOnly)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISADJACENTTOAREA
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsAdjacentToArea|IsAdjacentToArea]]([[Civ5Lua/Area|Area]] area)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISADJACENTTOLAND
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsAdjacentToLand|IsAdjacentToLand]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISADJACENTTOSHALLOWWATER
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsAdjacentToShallowWater|IsAdjacentToShallowWater]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISADJACENTVISIBLE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsAdjacentVisible|IsAdjacentVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISBARBARIAN
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsBarbarian|IsBarbarian]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISBEINGWORKED
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsBeingWorked|IsBeingWorked]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISBESTADJACENTFOUND
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsBestAdjacentFound|IsBestAdjacentFound]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISBUILDREMOVESFEATURE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/IsBuildRemovesFeature|IsBuildRemovesFeature]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISCITY
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsCity|IsCity]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISCITYRADIUS
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsCityRadius|IsCityRadius]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISCOASTALLAND
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsCoastalLand|IsCoastalLand]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISENEMYCITY
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsEnemyCity|IsEnemyCity]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISFIGHTING
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsFighting|IsFighting]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISFLATLANDS
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsFlatlands|IsFlatlands]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISFRESHWATER
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsFreshWater|IsFreshWater]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISFRIENDLYCITY
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsFriendlyCity|IsFriendlyCity]]([[Civ5Lua/Unit|Unit]] unit, '''bool''' checkImprovement)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISFRIENDLYTERRITORY
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsFriendlyTerritory|IsFriendlyTerritory]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISGOODY
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsGoody|IsGoody]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISHILLS
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsHills|IsHills]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISIMPASSABLE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsImpassable|IsImpassable]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISIMPROVEMENTPILLAGED
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsImprovementPillaged|IsImprovementPillaged]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISINVISIBLEVISIBLE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsInvisibleVisible|IsInvisibleVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/InvisibilityScopeID|InvisibilityScopeID]] invisibleID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISLAKE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsLake|IsLake]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISMOUNTAIN
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsMountain|IsMountain]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISNEOFRIVER
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsNEOfRiver|IsNEOfRiver]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISNONE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsNone|IsNone]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISNWOFRIVER
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsNWOfRiver|IsNWOfRiver]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISOPENGROUND
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsOpenGround|IsOpenGround]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISOWNED
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsOwned|IsOwned]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISOWNERSHIPSCORE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsOwnershipScore|IsOwnershipScore]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISPLAYERCITYRADIUS
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsPlayerCityRadius|IsPlayerCityRadius]]([[Civ5Lua/PlayerID|PlayerID]] eIndex)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISPOTENTIALCITYWORK
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWork|IsPotentialCityWork]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISPOTENTIALCITYWORKFORAREA
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsPotentialCityWorkForArea|IsPotentialCityWorkForArea]]([[Civ5Lua/Area|Area]] area)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISRESOURCECONNECTEDBYIMPROVEMENT
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/IsResourceConnectedByImprovement|IsResourceConnectedByImprovement]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISREVEALED
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsRevealed|IsRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISREVEALEDBARBARIAN
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsRevealedBarbarian|IsRevealedBarbarian]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISREVEALEDGOODY
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsRevealedGoody|IsRevealedGoody]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISRIVER
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/IsRiver|IsRiver]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISRIVERCONNECTION
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsRiverConnection|IsRiverConnection]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISRIVERCROSSING
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsRiverCrossing|IsRiverCrossing]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISRIVERCROSSINGFLOWCLOCKWISE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingFlowClockwise|IsRiverCrossingFlowClockwise]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISRIVERCROSSINGTOPLOT
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsRiverCrossingToPlot|IsRiverCrossingToPlot]]([[Civ5Lua/DirectionID|DirectionID]] directionID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISRIVERSIDE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsRiverSide|IsRiverSide]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISROUGHGROUND
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsRoughGround|IsRoughGround]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISROUTE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsRoute|IsRoute]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISROUTEPILLAGED
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/IsRoutePillaged|IsRoutePillaged]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISSTARTINGPLOT
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsStartingPlot|IsStartingPlot]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISTRADEROUTE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/IsTradeRoute|IsTradeRoute]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISUNIT
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsUnit|IsUnit]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISVALIDDOMAINFORACTION
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsValidDomainForAction|IsValidDomainForAction]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISVALIDDOMAINFORLOCATION
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsValidDomainForLocation|IsValidDomainForLocation]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISVISIBLE
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsVisible|IsVisible]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' debug)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISVISIBLEENEMYDEFENDER
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyDefender|IsVisibleEnemyDefender]]([[Civ5Lua/Unit|Unit]] unit)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISVISIBLEENEMYUNIT
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsVisibleEnemyUnit|IsVisibleEnemyUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISVISIBLEOTHERUNIT
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsVisibleOtherUnit|IsVisibleOtherUnit]]([[Civ5Lua/PlayerID|PlayerID]] ePlayer)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISVISIBLETOWATCHINGHUMAN
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsVisibleToWatchingHuman|IsVisibleToWatchingHuman]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISWATER
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/IsWater|IsWater]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISWITHINTEAMCITYRADIUS
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsWithinTeamCityRadius|IsWithinTeamCityRadius]]([[Civ5Lua/TeamID|TeamID]] eTeam, [[Civ5Lua/PlayerID|PlayerID]] eIgnorePlayer)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
ISWOFRIVER
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/IsWOfRiver|IsWOfRiver]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
MOVEMENTCOST
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/MovementCost|MovementCost]]([[Civ5Lua/Unit|Unit]] unit, [[Civ5Lua/Plot|Plot]] fromPlot)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
NUKEEXPLOSION
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/NukeExplosion|NukeExplosion]]('''int''' range, [[Civ5Lua/Unit|Unit]] nukeUnit)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
PICKFEATUREDUMMYTAG
-->
|-
|align="right" |<code>'''string'''</code>
|<code>Plot:[[Civ5Lua/Plot/PickFeatureDummyTag|PickFeatureDummyTag]]('''int''' mouseX, '''int''' mouseY)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
REMOVEGOODY
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/RemoveGoody|RemoveGoody]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
RESETFEATUREMODEL
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/ResetFeatureModel|ResetFeatureModel]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SEEFROMLEVEL
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/SeeFromLevel|SeeFromLevel]]([[Civ5Lua/TeamID|TeamID]] eTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SEETHROUGHLEVEL
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/SeeThroughLevel|SeeThroughLevel]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETAREA
-->
|-
|align="right" |<code>'''int'''</code>
|<code>Plot:[[Civ5Lua/Plot/SetArea|SetArea]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETCONTINENTARTTYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetContinentArtType|SetContinentArtType]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETFEATUREDUMMYTEXTURE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyTexture|SetFeatureDummyTexture]]('''string''' dummyTag, '''string''' textureTag)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETFEATUREDUMMYVISIBILITY
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetFeatureDummyVisibility|SetFeatureDummyVisibility]]('''string''' dummyTag, '''bool''' show)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETFEATURETYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetFeatureType|SetFeatureType]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETIMPROVEMENTDURATION
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetImprovementDuration|SetImprovementDuration]]('''int''' newValue)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETIMPROVEMENTPILLAGED
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetImprovementPillaged|SetImprovementPillaged]]('''bool''' b)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETIMPROVEMENTTYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetImprovementType|SetImprovementType]]([[Civ5Lua/ImprovementID|ImprovementID]] newValueID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETNEOFRIVER
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetNEOfRiver|SetNEOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETNUMRESOURCE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetNumResource|SetNumResource]]('''int''' num)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETNWOFRIVER
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetNWOfRiver|SetNWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETOWNER
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetOwner|SetOwner]]([[Civ5Lua/PlayerID|PlayerID]] eNewValue, '''int''' acquiringCityID, '''bool''' checkUnits, '''bool''' updateResources)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETOWNERSHIPDURATION
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetOwnershipDuration|SetOwnershipDuration]]('''int''' newValue)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETPLOTTYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetPlotType|SetPlotType]]([[Civ5Lua/PlotTypeID|PlotTypeID]] newValueID, '''bool''' recalculate, '''bool''' rebuildGraphics)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETRESOURCETYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetResourceType|SetResourceType]]([[Civ5Lua/ResourceID|ResourceID]] newValueID, '''int''' numResource)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETREVEALED
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetRevealed|SetRevealed]]([[Civ5Lua/TeamID|TeamID]] eTeam, '''bool''' newValue, '''bool''' terrainOnly, [[Civ5Lua/TeamID|TeamID]] eFromTeam)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETROUTETYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetRouteType|SetRouteType]]([[Civ5Lua/RouteID|RouteID]] newValueID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETSCRIPTDATA
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetScriptData|SetScriptData]]('''string''' szNewValue)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETSTARTINGPLOT
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetStartingPlot|SetStartingPlot]]('''bool''' newValue)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETTERRAINTYPE
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetTerrainType|SetTerrainType]]([[Civ5Lua/TerrainID|TerrainID]] type)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETUPGRADEPROGRESS
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetUpgradeProgress|SetUpgradeProgress]]('''int''' newValue)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SETWOFRIVER
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/SetWOfRiver|SetWOfRiver]]('''bool''' newValue, [[Civ5Lua/FlowDirectionID|FlowDirectionID]] riverDirID)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
SHAREADJACENTAREA
-->
|-
|align="right" |<code>'''bool'''</code>
|<code>Plot:[[Civ5Lua/Plot/ShareAdjacentArea|ShareAdjacentArea]]([[Civ5Lua/Plot|Plot]] plot)</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
UPDATEFOG
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/UpdateFog|UpdateFog]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--  
UPDATEVISIBILITY
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/UpdateVisibility|UpdateVisibility]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
<!--
WATERAREA
-->
|-
|width="2" |
|<code>Plot:[[Civ5Lua/Plot/WaterArea|WaterArea]]()</code>
|-
|
|''Here is some fancy description. Isn't it nice to get descriptions?''
|}
[[Category:Civ5Lua]]

Revision as of 13:57, 9 August 2012

This page is a part of the Lua and UI Reference.


Syntax

'''bool''' Locale.StartsWith('''string''' base_string, '''string''' prefix)

Return Value

Returns true if base_string starts with prefix, false otherwise.

Parameters

base_string
The string to test against.
prefix
The prefix to test with.

Examples

local test = Locale.StartsWith("Civilization", "Civ");
print(test); -- prints true