Skip to main content
Topic: P****enger and Mail Generation (Read 8275 times) previous topic - next topic

P****enger and Mail Generation

Just wondering if anyone in the know could tell me what the p****enger and mail generation rates are?  E.g. mail is generated at the same rate as p****engers? Or half the rate?  Thanks

Re: P****enger and Mail Generation

Reply #1
Hi

V102 Pak64. Isnt the p****enger and mail generated by buildings shown?  It varies per building type.

Im my game my 5 biggest cities generate five times as many p****engers as mail.  Although not all travel. Ten times as many p****engers travel than mail ...because my mail network has less coverage. (figures from the city list P****engers, travel, mail, sent)
Regards
Sev.

Re: P****enger and Mail Generation

Reply #2
P****enger : mail generation is like 3:1, ie. everytime a city decides to generate p****enger/mail it chooses in 75% of all cases p****engers. The amount of mail/p****enger generated depends on the buildings and their level.
Parsley, sage, rosemary, and maggikraut.

Re: P****enger and Mail Generation

Reply #3
Thanks, that's helpful!

Re: P****enger and Mail Generation

Reply #4
Well, the mail generation versus p****enger generation also depend on buidling type. COMmercial buildings generate as much mail as p****engers, RESidential twice p****engers tahn mail and INDustrial buildings generate twice more mail than p****engers. At least that is the intended behaviour.

Re: P****enger and Mail Generation

Reply #5
OK, as long as p****enger generation is approximately equal to mail generation over the size of a map, within an order of magnitude, then that means my balancing spreadsheet works OK.

Re: P****enger and Mail Generation

Reply #6
I'm not sure that that's right: this is the code for determining the quantity of p****engers to mail. As is borne out in use of the game, more p****engers are created than mail by several times. This code is the same in Simutrans-Standard as Simutrans-Experimental:

Code: [Select]
// post oder pax erzeugen ?
// "post or generate pax"
const ware_besch_t* wtyp;
if (simrand(400) < 300)
{
wtyp = warenbauer_t::p****agiere;
}
else
{
wtyp = warenbauer_t::post;
}
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Re: P****enger and Mail Generation

Reply #7
@James: no, this code determines only whether p****engers or mail is created.
Parsley, sage, rosemary, and maggikraut.

Re: P****enger and Mail Generation

Reply #8
There should be some code for the level, which is different for mail or p****engers. It is in haus_besch_t:

Code: [Select]
/**
 * Mail generation level
 * @author Hj. Malthaner
 */
uint16 haus_besch_t::get_post_level() const
{
switch (gtyp) {
default:
case gebaeude_t::wohnung:   return level;
case gebaeude_t::gewerbe:   return level * 2;
case gebaeude_t::industrie: return level / 2;
}
}