Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
The human-readable name of a cargo type can't be queried by AI/GS. #7869
Version of OpenTTD
You can get the human-readable name of a cargo type by itself, via a method such as
You are unable to get the human-readable name of a cargo type by itself (there is no way to get it except in the form "X units of Y", and even then it's restricted to output displays only.
The reasoning behind this is so you can make log output and other AI/GS-controllable displays more human-readable and go from something like this: