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

NoAI documentation errors in error messages #3037

Closed
DorpsGek opened this issue Jul 17, 2009 · 2 comments
Closed

NoAI documentation errors in error messages #3037

DorpsGek opened this issue Jul 17, 2009 · 2 comments
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Chruker opened the ticket and wrote:

There are a few errors in the errors messages in the NoAI documentation.

A search for the following strings should find them:
- wrong: ERR_STATION_TOO_CLOSE_TO_OTHER_STATION should be: ERR_STATION_TOO_CLOSE_TO_ANOTHER_STATION
- wrong: ERR_ORDER_NO_MORE_SPACE should be: ERR_ORDER_TOO_MANY

In addition the AIRoad::BuildRoadStation and AIRoad::BuildDriveThroughRoadStation has a typo in function documentation where they list their errors. They say:
AIError:ERR_VEHICLE_IN_THE_WAY (note the single colon)

Finally there is a type in the error name AIVehicle::ERR_VEHCILE_NO_POWER it should be AIVehicle::ERR_VEHICLE_NO_POWER
I did a search and none of the AIs available on Bananas are referencing ERR_VEHCILE_NO_POWER

Reported version: 0.7.1
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3037
@DorpsGek
Copy link
Member Author

Chruker wrote:

Attached a virgin attempt at making a .diff file with these changes :-)

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3037#comment6333

@DorpsGek
Copy link
Member Author

Yexo closed the ticket.

Reason for closing: Implemented

In 16865


This comment was imported from FlySpray: https://bugs.openttd.org/task/3037

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant