FS#5766 - (Re)consider subsidies should work under cargo-dist
Attached to Project:
OpenTTD
Opened by Milos (Milsa) - Thursday, 26 September 2013, 18:14 GMT
Last edited by fonsinchen (fonsinchen) - Saturday, 19 October 2013, 11:18 GMT
Opened by Milos (Milsa) - Thursday, 26 September 2013, 18:14 GMT
Last edited by fonsinchen (fonsinchen) - Saturday, 19 October 2013, 11:18 GMT
|
DetailsI have passengers from Rimavska Sobota in train 87. Subsidies list contains "Passengers from Rimavska Sobota to Kremnica". Train 87 is just transfering passengers from Rimavska Sobota to Kremnica. Passengers from Rimavska Sobota in train haven't destination in Kremnica. Any passengers will get off in Kremnnica and they will wait to another train. I will not receive subsidy. I think that it is bug.
|
This task depends upon
Closed by fonsinchen (fonsinchen)
Saturday, 19 October 2013, 11:18 GMT
Reason for closing: Fixed
Additional comments about closing: In r25882
Saturday, 19 October 2013, 11:18 GMT
Reason for closing: Fixed
Additional comments about closing: In r25882
People passing through are not paid for (neither for people that pass through while staying in a train, nor for people that have to switch trains).
The fact that they have to switch trains is basically a property of your train network, not something that the town authorities control or want.
1. Cargo could stay in the vehicle and not be transferred at all. Then it should still be subsidized.
2. Cargo could first be transferred and then delivered to the same town. It would get two subsidies.
Maybe we need a "subsidized" flag in CargoPacket which would be set whenever the packet travels along a subsidized route and which would trigger the extra payment at the final delivery.
On the other hand, maybe we want to scrap subsidies altogether and make people use GameScripts instead. I guess something similar to subsidies can be implemented as GameScript already.
ABC - real way of train for AC
AC - computed way of train for AC
AC2 - computed profit for subsidy AB
AB2 - vector for compute subsidy transfer profit for AC (rotation angle is angle between AB and AC)