Page 1 of 1

[Q] How EXACTLY do Trade Routes work?

Posted: Mon Sep 02, 2019 8:52 pm
by Corbeau
So, Math of Freeciv says:

- there is a revenue per turn with a formula
- there is a one-time bonus with a formula
- there are [trade] factors in game.ruleset

Questions:

1. Do ruleset factors (trade pct) apply to BOTH revenue and bonus?

2. There is an additional point in Math of Freeciv: "Bonus from a caravan, when it enter in a existent trade place". What exactly is an "existent trade place"? Is it a city that already has a maximum of trade routes so it will not generate revenue, but will give a one-time bonus, or is it something else?

3. "The number of trade routes per city is limited to four". Is it possible to change this number?

Re: [Q] How EXACTLY do Trade Routes work?

Posted: Tue Sep 03, 2019 11:37 am
by Wahazar
1. It depend on freeciv version, prior from 2.6 is it possible to remove one-time bonus upon arrival.
for example in my augmented2 ruleset I defined it in game.ruleset:

Code: Select all

settings =
  { "type",       "pct", "cancelling", "bonus"
    "National",   0,     "Cancel",     "None"
    "NationalIC", 25,     "Cancel",    "None"
    "IN",         50,   "Cancel",     "None"
    "INIC",       100,   "Cancel",     "None"
    "Ally",       25,   "Cancel",     "None"
    "AllyIC",     50,   "Cancel",     "None"
    "Enemy",      0,     "Cancel",     "None"
    "EnemyIC",    0,     "Cancel",     "None"
    "Team",       25,   "Cancel",     "None"
    "TeamIC",     50,   "Cancel",     "None"
  }
thus there is no arrival bonus, and trade income is not possible to enemy city or to own city on same continent.
In 2.5 there was not possible to define pct and bonus separately.

2. not sure, but maybe if new route is better than existing, new route would be established while old one cancelled, otherwise rejected?

3. yes, Max_Trade_Routes in effect.ruleset

Re: [Q] How EXACTLY do Trade Routes work?

Posted: Tue Sep 03, 2019 12:00 pm
by Corbeau
1. So in 2.5 the pct is both for bonus and revenue? Just trying to confirm. And I'd rather remove the revenue and keep the bonus. But I guess the next version will be for 2.6 anyway so I'll live with this for now :)

3. Thanks.

Re: [Q] How EXACTLY do Trade Routes work?

Posted: Tue Sep 03, 2019 12:48 pm
by Wahazar
Bonus is calculated using pct turn revenue, in 2. you can set both to zero, in 2.6 you can keep pct revenue while remove one-time bonus.
Not possible to opposite: get bonus and no pct revenue.

Re: [Q] How EXACTLY do Trade Routes work?

Posted: Wed Sep 04, 2019 4:47 am
by Ignatus
But one could set max trade routes to 0, then with nonzero pct you get only bonus but no routes actually formed?

Re: [Q] How EXACTLY do Trade Routes work?

Posted: Wed Sep 04, 2019 8:39 am
by Corbeau
Ignatus wrote:But one could set max trade routes to 0, then with nonzero pct you get only bonus but no routes actually formed?
:o

For years they've been telling me this isn't possible! THANK YOU!

Re: [Q] How EXACTLY do Trade Routes work?

Posted: Wed Sep 04, 2019 5:11 pm
by Wahazar
Sounds good, but does it work?