Sid Meier's Civilization V

Sid Meier's Civilization V

[GameCore] Alpha's DLL
 This topic has been pinned, so it's probably important
Triton Supreme  [developer] 15 Aug, 2022 @ 5:37am
DOCUMENTATION
pCity
SetCoastal
Name/Function
Type
Description
Function
pCity:SetCoastal(bool bCoastal, bool bReset)
void
Turn the city into coastal or not
And if true allows coastal building to be built
Parameter
bCoastal
bool
If True turn the city into coastal | if false not coastal. How to use : pCity:SetCoastal(true)
Parameter
bReset
bool
Reset the city into is default value if true, How to use : pCity:SetCoastal(false, true)

IsAllowsWaterProduction
Name/Function
Type
Description
Function
pCity:IsAllowsWaterProduction()
bool
Returns true if the city is forced to allow you to train naval unit

SetAllowsWaterProduction
Name/Function
Type
Description
Function
pCity:SetAllowsWaterProduction(bool AllowsWaterProduction)
void
Force the city to allow you to train naval units
Parameter
AllowsWaterProduction
bool
If true the city can train naval unit |If false, it reset to default


pPlot
IsAllowsSailLand
Name/Function
Type
Description
Function
pPlot:IsAllowsSailLand()
bool
Returns true it the plot is AllowsSailLand

SetAllowsWaterProduction
Name/Function
Type
Description
Function
pPlot:SetAllowsSailLand(bool AllowsSailLand)
void
Forcing the plot to be AllowsSailLand and letting naval units pass through it (like cities) also exists as a tag for Improvements
Parameter
AllowsSailLand
bool
If true the plot is AllowsSailLand and letting naval units pass through it | If false reset to default.

Last edited by Triton Supreme; 15 Aug, 2022 @ 6:12am