Difference between revisions of "Callback: Station availability"
From GRFSpecs
Jump to navigationJump to search (grf version 8) |
(use new grf templates) |
||
Line 3: | Line 3: | ||
This sets whether a station can be constructed or not, i.e. whether it can be selected in the station construction window. Returning 1 as callback return indicates the station can be built, and a return code of 0 removes the station from the selection. |
This sets whether a station can be constructed or not, i.e. whether it can be selected in the station construction window. Returning 1 as callback return indicates the station can be built, and a return code of 0 removes the station from the selection. |
||
− | {{ |
+ | {{grfTill|7}} Note that GRF versions 7 and lower only distinguished zero and non-zero return values. |
[[Category:Callbacks]] |
[[Category:Callbacks]] |
Latest revision as of 13:35, 1 April 2012
Station availability (13)
This sets whether a station can be constructed or not, i.e. whether it can be selected in the station construction window. Returning 1 as callback return indicates the station can be built, and a return code of 0 removes the station from the selection.
GRFv≤7 Note that GRF versions 7 and lower only distinguished zero and non-zero return values.