Hi,
Does anyone use the cargo_profit callback within NML? There is a calculation bug that prevents negative values from working correctly, however the additional adjustment that NML does seems nonsensical.
https://github.com/OpenTTD/nml/pull/212
Thanks!
NML cargo_profit callback
Moderator: Graphics Moderators
NML cargo_profit callback
He's like, some kind of OpenTTD developer.
- 2TallTyler
- Route Supervisor
- Posts: 507
- Joined: 11 Aug 2019 18:15
- Contact:
Re: NML cargo_profit callback
For anybody finding this later, this bug has been fixed: https://github.com/OpenTTD/nml/pull/220
I plan to use the cargo_profit callback in Industries of the Caribbean to make payment static no matter the distance traveled.
I plan to use the cargo_profit callback in Industries of the Caribbean to make payment static no matter the distance traveled.
Who is online
Users browsing this forum: No registered users and 22 guests