News:

SimuTranslator
Make Simutrans speak your language.

Radical idea for internal implementation of catering revenue, etc....

Started by neroden, June 26, 2013, 03:01:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

neroden

....currently these are implemented as simuconf.tab options

( and (to some extent) hardcoded )

Simuconf.tab options have to be passed around between save games.

I propose that catering revenue numbers (and catering comfort bonuses) should be considered a characteristic of the passengers in the pak.  As such, I propose that they be listed in the .dat file for the "passenger" good in the pakset and loaded there.

By being in the pakset, it is (a) adjustable by anyone editing the pak (unlike hardcoded stuff) but (b) not part of the save game (so it updates correctly when the pak maintainer updates it).

This appears to me to be correct behavior.

Similarly, I propose that the various comfort tolerances should be considered a characteristic of the passengers and put into the .dat file for the "passenger" good.

Similarly, the TPO revenue structure should be in the .dat file for the "mail" good.

I realize this is a fairly substantial structural change but I think it would substantially improve things for experimental version  12.

What do you think?

jamespetts

This is an interesting idea, but I worry that it might make the .dat files for the goods unreadable and somewhat internally inconsistent, and might unnecessarily break compatibility with older Experimental paksets. Further, currently, it is possible to adjust these settings in the advanced settings GUI (key "i" in Pak128.Britain-Ex), whereas this would not be possible if these were fixed in a pakset. Being able to adjust them graphically is very helpful for balancing, and also helpful for players who want to customise their game without having to resort to re-compiling a pakset.
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.