OpenTTD

Tasklist

FS#6198 - It is impossible to specify capacity in purchase window for ARV correctly

Attached to Project: OpenTTD
Opened by George (George) - Wednesday, 31 December 2014, 00:54 GMT
Type Bug
Category Vehicles → Articulated
Status New
Assigned To No-one
Operating System All
Severity High
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

R27100

Problem occures in purchase menu only, already build ARVs have correct capacity.

When I specify the ARV that consist of at least two parts with the specified ID, I get the problem to specify capacity, that can not be divided to the amount of the parts.
For example, the ARV consists of two parts with the same ID
I need the capacity ARV capacity 333.
If I cpecify "purchase_cargo_capacity: return 333;" I get 666, If I specify "purchase_cargo_capacity: return 333/2;" I get 332.
If I use cargo_capacity CB, I can't use position_in_articulated_veh, so if it returns 333 I get 666, if it returns 333/2 I get 332.

What to do?
This task depends upon

Comment by George (George) - Wednesday, 31 December 2014, 00:55 GMT
Without position_in_articulated_veh it cant return 333 for first part and 0 for the second part

Loading...