OpenTTD / nml

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

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

Closed PeterN closed 1 year ago

PeterN commented 1 year 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 1 year ago

Works for me when tested with patched Horse.