The International Simutrans Forum

 

Author Topic: Accomodating major changes to industry in the code  (Read 1475 times)

0 Members and 1 Guest are viewing this topic.

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18587
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Accomodating major changes to industry in the code
« on: May 28, 2011, 11:39:37 PM »
In April, the Standard code introduced major changes in the way in which industries work: see here for details. Some discussion, I think, is merited of how this ought be implemented in Pak128.Britain, in particular, the requirement to specify absolute numbers of mail and passengers for each industry type rather than the existing "level" system. We also need to consider for which factories to enable this and for which factories to disable this feature, as not all industries should be able to expand on the basis of passenger/mail inputs (primary industries in particular - as Prissi asked, why should a forest grow faster because it gets mail?).  

Edit: It will also be necessary to add parameters for factory electricity consumption: a newsagent will use far less electricity (even per unit of production/consumption) than a steel mill. These were previously handled in Experimental by the "electricity proportion" setting, but the new "electricity_amount" setting from Standard means that this needs to be done in Standard, too.
« Last Edit: May 29, 2011, 11:08:16 AM by jamespetts »