nml
nml copied to clipboard
NewGRF Meta Language
Also bumped version to 0.7.5, with packaging being the only change. The old setup.py method is deprecated and will be removed in future python3 versions. The rationale behind this is...
When second argument of a BinOp is `LOAD_TEMP()`, it is first copied into a temporary register instead of being accessed directly. Skip the useless copy.
By default, trains flip over on turns. If there was a `misc_flags` function to prevent overturning when the train turns, it would be of great help when making trains.
A named parameter cannot be used for a house ID, instead throwing a `Unrecognised identifier` for the parameter name, for example: ``` house_id_1=5; item(FEAT_HOUSES, item_house_1, house_id_1) { ... } ```...
There is a topic on the forum that the cargotype function does not work: [https://www.tt-forums.net/viewtopic.php?t=90428](https://www.tt-forums.net/viewtopic.php?t=90428) I did some test and looks like that in `functioncall.py` the global constant tables are...
Hi, I've tried compiling [MinchinWeb's Random Town Name Generator](https://www.tt-forums.net/viewtopic.php?t=53579) from source and while it seemed like the "not enough random bits for town name generation" issue had been fixed in...
#244 added station support in nml. We need docs for stations. As very few like writing docs alone, we're trialling collaborative doc editing, then converting to wiki later: https://docs.google.com/document/d/1NHXIqofmgeXbqRZhFhJN52dNV-zMYaZEAUFevDvp1qs/edit I...
Procedures were added in https://github.com/OpenTTD/nml/pull/66 NML docs need updated to cover procedures. Maybe directly in these pages? https://newgrf-specs.tt-wiki.net/wiki/NML:Switch https://newgrf-specs.tt-wiki.net/wiki/NML:Random_switch
Industries and industrytiles currently have no way of knowing their location on the map, unlike houses which have `x_coordinate` and `y_coordinate` variables. I would like to request similar variables for...
## Version of NML 0.6.1 ## Expected result Attempting to produce a non-whole number quantity of cargo with the Produce block, as in the example below, produces an NMLC error...