Is there an easy way to get a list of resources available in the game ?

 

The only way I can see to do it, is to iterate through all the tiles in the
game, figure out all the different terrains, and then iterate through all
the different terrains to identify the resources. It's be a lot easier if
there was a resource list somewhere.

 

I'd like to find out how many of each resource is used up, to try and make
sure the map has at least a few resources on it. Gameplay needs at least a
few resources.

 

I think I've got code for clustering resources close to working. Once I
figured out how to limit the number of players, suddenly all the resources
disappeared off the map. Previously the map generator was working for 150
players, so the map was covered with resources. 

 

Clustering breaks the network packet compatibility because the cluster field
is added.

 

Rob F.

 

_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to