ClaimPlot????

Syrkres

Chieftain
Joined
Mar 3, 2016
Messages
95
Location
Mass
I was/am trying to work on a new improvement, which can be built outside of city boundries, I was hoping to have it claim the plot it sat on with "ClaimPlot" entry in Improvements table, but when I add it, it seems to break.

Any thoughts insight into how I can get this to work?


<Column name="ClaimPlot" type="boolean" default="false"/>
<ClaimPlot>true</ClaimPlot>

Thanks
 
My guess is if that entry isn't working that its been put there from old games but doesn't actually have any functionality. If that's the case, you'd have to write an lua script, which is possible.
 
Ended up writing an LUA script which assigns the plot under the closest city.

Was an interesting challenge not knowing Lua too well and poor documentation on CIV:BE, though the Civ:5 documentation helped a lot there.

Also not having a proper debug environment, basically having to play game and look at log statements was a pain versus normal coding development I've done.
 
Top Bottom