nml icon indicating copy to clipboard operation
nml copied to clipboard

NewGRF Meta Language

Results 40 nml issues
Sort by recently updated
recently updated
newest added

This was a joint variable for random_bits_tile and random_bits_station, it is not required, and not in the list of documented variables.

The unreachable range for default only switches should target the CB_FAILED group, instead of returning a success value of 0. This is because the current success value of 0 interacts...

Add: Constants and varact2 variable associated with road waypoints See: https://github.com/OpenTTD/OpenTTD/pull/12572

`replace()` can only be used for TTD sprites (0-4895), or with return value of `reserve_sprites()`.

Each spriteset gets its own unique ID. Removes the "all spritesets in a single sprite group/layout must have the same size" limitation. Not really tested beside checking NFO output.

https://github.com/OpenTTD/OpenTTD/pull/10953 added station variable 6B to get extended station id of nearby tiles. Since roadstop feature exists only in OpenTTD 14+, I just replaced var68 with var6B. But for stations...

Spritelayouts can consume a huge amount of registers, especially with stations as all the spritelayouts are merged into a single action 0. https://gist.github.com/glx22/19446d63c287f050719c54cb099c4f8f is a station using 40 spritelayouts and...

It's possible to use named parameters as constants, but it doesn't always work and it's not very efficient in the resulting GRF when it does work. Introduce the `const` keyword...

For station ground sprite, OpenTTD always adds a railtype offset, unless a special trick is used to prevent it (like in example station before this PR). With this PR, it...

Fixes #238, which refers to the error message in Action2 parser not containing `produce-block` as a relevant block. This is my first commit to this repository, I hope someone will...