The International Simutrans Forum

 

Author Topic: Multiple cargo types for a single vehicle  (Read 1052 times)

0 Members and 1 Guest are viewing this topic.

Offline The Hood

  • Devotee
  • *
  • Posts: 2889
  • pak128.Britain developer
Multiple cargo types for a single vehicle
« on: November 24, 2012, 12:17:30 PM »
Mainly driven by the ships I'm drawing for pak128.Britain, but could have other uses too...

Imagine a large ship (particularly in the olden days) which would be equally at home transporting wood (long goods), books (piece goods), meat (cooled goods), livestock (unique) or even possibly bulk goods. In real life, such a vessel could be used to transport one type one way and another on the return journey, or even multiple goods types on each run, owing to the large multi-purpose holds in the vessel.

Unfortunately in simutrans we have to code a separate vehicle for each type of cargo. This is sensible in some cases (e.g. different trailers for trucks or railway wagons), but not in this case. So my request is this: can we have the option to allow the SAME vehicle to load (say) either 100 crates of piece goods OR 100 head of livestock? Possibly harder to do would be to allow 50:50 at the same time, but this would also be desirable.

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: Multiple cargo types for a single vehicle
« Reply #1 on: November 24, 2012, 12:57:14 PM »
The Hood
Your idea like i.
I have often the Problem to get Ship full with freight.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5447
  • Languages: EN, NO
Re: Multiple cargo types for a single vehicle
« Reply #2 on: November 24, 2012, 05:18:14 PM »
Unfortunately my solution for this (hierarchical goods categories again, possibly on steroids this time) screws up a basic underlying concept which a lot of other things are based on.

Offline Bear789

  • *
  • Posts: 129
Re: Multiple cargo types for a single vehicle
« Reply #3 on: November 24, 2012, 08:53:34 PM »
I suggested something on the topic one of the first days on the forums:

http://forum.simutrans.com/index.php?topic=10494.0