It is certainly not something to do at once but it is something I could work on when I am finished with the map scripts.
Wouldn't an appearance and terrains set in the feature xml spawn the reefs, kelps and new terrain features fine?
It would pretty much need a collection of all the different tags that are already present for spawning/placement in bonus, feature, spawn info xml and some more.
- in/outside cultural borders
- spawn chance per turn
- extra spawn chance per adjacent terrain of type
- only next to river
- civic required if in cultural borders
- tech required if in cultural borders
- not in player fog of war
- unit type to spawn
- unit type to despawn (needs to be present on the plot if set)
- feature type to spawn
- feature type to despawn (needs to be present on the plot if set)
- terrain type to spawn
- terrain type to despawn (restores original terrain, stored once after map creation)
- bonus type to spawn
- bonus type to despawn
- terrain required on plot
- unit required on plot
- feature required on plot
- bonus required on plot (or for all those a list of alternatives)
- min/max time valid
There are certainly a lot more that are useful.
In which file is the current animal spawning code implemented? Python or C++?