Callback: Station availability: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Planetmaker (talk | contribs) create CB station availability |
roadstops |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
== Station availability |
== Station/Rodstop availability (13) == |
||
This sets whether a station can be constructed or not, i.e. whether it can be selected in the station construction window. |
This sets whether a station/roadstop 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]] |
|||
Latest revision as of 11:39, 15 April 2025
Station/Rodstop availability (13)
This sets whether a station/roadstop 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.