OpenTTD / nml

NewGRF Meta Language
GNU General Public License v2.0
42 stars 36 forks source link

Add: Support for build probability action CB 162 var10 0 (reverse rail vehicle) #313

Closed PeterN closed 9 months ago

PeterN commented 9 months ago

Implement support for OpenTTD's "vehicle build probability" callback 162.

This was intended to be a generic probability action, with the action provided in var 10. This is handled by nmlc.

The callback is implemented as 'reverse_build_probability`.

andythenorth commented 9 months ago

Works for me when tested with patched Horse.