moopoo
King
I'm attempting a (hopefully) small modcomp and am looking for advice/a couple of suggestion
I'm looking to script in python the idea of a port: Workers can build a port on any coastal square (as in, the land square next to the water) that isn't in a city radius. Cities that are surrounded by land can then build boats, which would appear at a port. possibly at a cost increase dependant on the distance from the port.
does anyone have any suggestions as to how to go about this? Advice i am especially looking for is which functions, in the API or otherwise (just incase there's something else), would be most useful. Please keep in mind that while I have read and attempted several python tutorial's and have a basic understanding, this is my first attempt at programming/scripting (i'm so new to this i don't know which word applies here
), and i'm new to all of this.

I'm looking to script in python the idea of a port: Workers can build a port on any coastal square (as in, the land square next to the water) that isn't in a city radius. Cities that are surrounded by land can then build boats, which would appear at a port. possibly at a cost increase dependant on the distance from the port.
does anyone have any suggestions as to how to go about this? Advice i am especially looking for is which functions, in the API or otherwise (just incase there's something else), would be most useful. Please keep in mind that while I have read and attempted several python tutorial's and have a basic understanding, this is my first attempt at programming/scripting (i'm so new to this i don't know which word applies here
