Callback: Station availability

From GRFSpecs
Revision as of 17:00, 16 June 2011 by Planetmaker (talk | contribs) (create CB station availability)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Station availability callback (13)

This sets whether a station can be constructed or not, i.e. whether it can be selected in the station construction window. A non-zero callback return indicates the station can be built, and a return code of zero removes the station from the selection.