Plot.IsCoastalLand (Civ5 API)

From Civilization Modding Wiki
Jump to: navigation, search

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


Function.png This function is a member of Plot.

This is an instance method, invoke it with a colon.


Usage

bool Plot:IsCoastalLand()


Returned Value

No description available.


Source code samples

Redundant occurences have been removed.

Amazon_XP.lua (G&K)

DLC/Expansion/Maps/Amazon_XP.lua
0343
if plot:IsCoastalLand() then
0817
return (not plot:IsCoastalLand()) and (Map.Rand(8, "MapGenerator AddRivers") == 0);


MapGenerator.lua (G&K)

DLC/Expansion/Gameplay/Lua/MapGenerator.lua
0562
if not plot:IsCoastalLand() then


West_vs_East.lua

Maps/West_vs_East.lua
0202
return (not plot:IsCoastalLand()) and (Map.Rand(8, "AddRivers Lua") == 0);



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.