From OpenTTD
Jump to: navigation, search

Here is a list of suggestions to extend/change the AI API. Please only add something to this list after it has been discussed in the NoAI subforum. Please note that not everything on this list is guaranteed to get in, it only means that the idea hasn't been directly rejected after the initial discussion. Also, some of these suggestions are good but might need a different name. In all cases this is open to implementation.

  • ChangeServicingInterval
  • Check vehicles/stations belonging to other companies
  • AIEventVehicleHasVoidOrder (not sure if this is really needed)
  • Get the annual maintenance cost of having transport mode at a station.
  • Get the build cost of stations/depots/waypoints
  • Get figures from the economy window for estimating how quickly the company will earn X amount of money
  • I just got to the point in my AI where it started to transport goods to a town. At some point a message popped up that said the station no longer accepts goods and my trucks would run around without unloading. It would be very useful to get an Event for this that the AI can detect. (several posts discussing this)
Personal tools