This property sets the engine rank for the AI. The AI always selects the highest-rank engine of those it can buy. An optional second parameter may be set to "PASS" if this engine is 'optimized' for passenger service, i.e., in this case the AI won't use it for other cargo. This property takes as its parameter a list of callbacks to use with this engine. The following callbacks may be enabled by this function:Ĭallbacks CB_ARVS (Autoreplace vehicle selection), CB_ATAC (can wagon be attached?), CB_PROP (change vehicle properties), CB_RCOST (change refitting cost), CB_STOP (start/stop check),ĬB_TEXT (additional text in purchase screen) and CB_32DAY (32-day callback), do not need to be activated in this property function, because they are always active and will be used automatically if needed. Note that CB_LOAD and CB_WLEN have been removed in GRF version 8. Their functionality being substituted by CB_PROP and usage of property functions loadamount() and vehlen().
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |