Hi all,
Quick question. Is the result of AICargo.GetCargoIncome() calulated per unit of cargo? So to estimate the amount of income from a single trip of one bus can I do AICargo.GetCargoIncome() * AIEngine.GetCapacity()?
I'm doing this anyway, but I want to check that its valid.
Thanks very much.
Is AICargo.GetCargoIncome() per unit of cargo?
Moderator: OpenTTD Developers
Is AICargo.GetCargoIncome() per unit of cargo?
PathZilla - A networking AI - Now with tram support.
Re: Is AICargo.GetCargoIncome() per unit of cargo?
Yes, it is. The documentation is correct (a piece) but not clear enough I guess.
Re: Is AICargo.GetCargoIncome() per unit of cargo?
Given that 'a piece' might be 'a ton', 'a passenger', 'a bag' or '10000 litres' I guess that 'a unit' would be better.
Re: Is AICargo.GetCargoIncome() per unit of cargo?
Thanks guys. It was just a tad unclear to me.
PathZilla - A networking AI - Now with tram support.
Who is online
Users browsing this forum: No registered users and 20 guests