Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Dec 1, 2023

Conversation

PeterN
Copy link
Member

@PeterN PeterN commented Nov 30, 2023

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
Copy link
Contributor

Works for me when tested with patched Horse.

@glx22 glx22 merged commit 52ad81c into OpenTTD:master Dec 1, 2023
21 checks passed
@PeterN PeterN deleted the reverse-build-prb branch December 1, 2023 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants