Gaming
 

Talk:Freight

From Freeciv

I am currently wondering why a city can only have 4 Traderoutes. I was searching the internal help-system as well as this Wiki, but couldn't find anything about a Tradelimit. --Trublu 03:51, 2 Nov 2005 (PST)

The 4 routes is currently softcoded into freeciv (2.0 at least), can't be changed without editing the source and recompiling (might crash if you try playing on pubserver though). In file ./common/city.h around line 73
#define NUM_TRADEROUTES 4
It's set to 4 because thats how it was in payciv, and also because trade revenue (gold+sci bonus) uses trade route trade in it's calculation, and would spiral out of control. The caravan gold+sci revenue from creating the 4th trade route will usually always be the biggest because of this. --Yautja 22:31, 3 Nov 2005 (PST)
thanks! --Trublu 02:03, 4 Nov 2005 (PST)

Additionaly: When a Traderoute is overwritten by another, can I choose which one will be deleted? Or how will be dicided which Traderoute vanishes? --Trublu 04:12, 2 Nov 2005 (PST)
The one that gets deleted is the one that gives the smallest amount of trade, you can turn the city you want deleted into entertainers/tax/sci or no trade tiles when you create it, that should be enough to make it the one deleted.
Trade routes are also worth 2x to other continents and another 2x to opposing nation's cities. So to remove one on an enemy island you would have to blockade all it's trade tiles with units and get rid of the trade in your city (which would diminish your caravan gold+sci revenue). --Yautja 22:31, 3 Nov 2005 (PST)
There really ought to be a page describing how the value of trade routes is calculated exactly. 85.64.228.215 06:08, 16 October 2007 (UTC)
The mathematical formulas used are explained in MathInFreeCiv. --Hima 06:31, 16 October 2007 (UTC)