Is there an easy way to get the trade-ability of a resource ? I'd like to add an option to make a map more CivIII like. I don't see where there's a structure reference like:
ptile->resource->trade > 0 It looks to me like resource tradability is part of the ruleset for different resource types. How do I get at the trade field in the ruleset from a ptile ? Reviewing: On a Civ III map the tradable resources are clustered together and there aren't enough to go around. For instance with an eight player map there are only about four to six units of a tradeable resource (50 to 75% of the number of players). Because the resources are clustered access to the resource becomes an issue of contention between the civs. Could resource riches be optionally assigned based on the number of players ? Looking at add_resource() in mapgen.c it just adds the resource willy-nilly. But not right next to each other. To create clustered resources the probability of the resource on a tile is increased if there is a nearby tile with the same resource (this applies to trade item only). I'd like to iterate over the map a small number of times to cluster the trade resources. RTF
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev